Commit Graph

103 Commits

Author SHA1 Message Date
Tulir Asokan
1e6b599649 Don't parse room ID 2018-05-10 20:07:24 +03:00
Tulir Asokan
151141f288 Add command to log out 2018-05-10 15:47:24 +03:00
Tulir Asokan
2a02f518b2 Highlight whole room list row even if room name is short 2018-05-04 01:09:55 +03:00
Tulir Asokan
122b2441c9 Add support for explicit ordering and limiting rooms shown under a tag
Fixes #41
2018-05-04 00:55:30 +03:00
Tulir Asokan
85cbd64c5e Fix panic adding new room views from MainView.GetRoom() 2018-05-02 14:17:16 +03:00
Tulir Asokan
b49416ed80 Refactoring 2018-05-01 19:17:57 +03:00
Tulir Asokan
986c84b768 Update ui AddRoom and RemoveRoom parameters 2018-04-30 23:12:43 +03:00
Tulir Asokan
c600ce68a2 Fix room list updating when joining/leaving 2018-04-30 23:09:14 +03:00
Tulir Asokan
9ad3a95ba6 Re-render UI after printing message send error 2018-04-30 22:37:08 +03:00
Tulir Asokan
b3543e9090 Stop showing rooms the user has left in the room list. Fixes #35 2018-04-30 22:28:29 +03:00
Tulir Asokan
8346f65e3d Fix autoscrolling in room list when using keyboard. Fixes #34 2018-04-30 12:50:12 +03:00
Tulir Asokan
c5ec94a78f Add mouse scrolling support to room list (ref #34) 2018-04-30 12:40:28 +03:00
Tulir Asokan
cc929ba899 Fix splitting long messages without spaces. Fixes #38 2018-04-30 12:01:43 +03:00
Tulir Asokan
74119ee242 Move defer and add a debug print 2018-04-30 12:01:24 +03:00
Tulir Asokan
d1b62b854c Fix native terminal paste and custom form widgets 2018-04-30 11:03:13 +03:00
Tulir Asokan
576bab9e2e Fix People tag 2018-04-25 00:42:05 +03:00
Tulir Asokan
7026ed99a3
Merge pull request #33 from tulir/initial-sync
Use initial sync data instead of fetching room list, state, history, etc manually
2018-04-24 22:58:30 +03:00
Tulir Asokan
d7d654e2ec Flatten calculateBufferWithText() and gofmt 2018-04-24 22:50:04 +03:00
Tulir Asokan
6aceb4f8d2 Fix First(), Last(), Next() and Previous() of RoomList 2018-04-24 22:46:16 +03:00
Tulir Asokan
49cd74c548 Replace tabs with spaces so that they get rendered 2018-04-24 22:09:04 +03:00
Tulir Asokan
9ccceb48b9 Disable initial history fetch (comes with initial sync) 2018-04-24 22:08:09 +03:00
Tulir Asokan
28c6527544 Fix/break/change things 2018-04-24 17:12:08 +03:00
Tulir Asokan
e64df67ec3 Everything is no longer broken 2018-04-24 16:51:40 +03:00
Tulir Asokan
2a0145db88 Handle tag events 2018-04-24 02:13:43 +03:00
Tulir Asokan
135fcbf284 Make time-based room list sorting persistent (ref #11) 2018-04-24 02:13:43 +03:00
Tulir Asokan
1e8705319a Organize room list by last received message (ref #11) 2018-04-24 02:13:43 +03:00
Tulir Asokan
16406d6c91 Fix panic if replaceBuffer() is called with message not in buffer. Fixes #32 2018-04-24 02:13:43 +03:00
Tulir Asokan
9308f4cb47 Show errors in login view. Fixes #14 2018-04-23 12:55:38 +03:00
Tulir Asokan
ea965766b4 Gofmt and enable a test 2018-04-23 00:04:10 +03:00
Tulir Asokan
bfb5f0dd45 Add room alias autocompletion 2018-04-22 21:05:42 +03:00
Tulir Asokan
7e946a0703 Fix golint warnings 2018-04-22 20:14:40 +03:00
Tulir Asokan
7abfd97cda Allow clicking on room list entries to switch room. Fixes #30 2018-04-21 21:53:52 +03:00
Tulir Asokan
7da1555c84 Improve Markdown rendering
* Remove paragraphs from output HTML
* Remove mention link wrapper from text (leaving only mention name)
2018-04-21 21:24:07 +03:00
Tulir Asokan
d147fc7579 Improve tab completion system 2018-04-21 19:41:19 +03:00
Tulir Asokan
c3386ba118 Fix golint issues 2018-04-19 11:35:52 +03:00
Tulir Asokan
b1dc965a4a Gofmt 2018-04-19 11:10:34 +03:00
Tulir Asokan
b17ff318c2 Disconnect UI from main Gomuks struct. Fixes #21 2018-04-18 18:35:54 +03:00
Tulir Asokan
3b2d5fa034 Fix nick coloring 2018-04-18 17:33:59 +03:00
Tulir Asokan
bb36996194 Add support for sending Markdown messages 2018-04-18 14:46:03 +03:00
Tulir Asokan
3750d5007f Create pills when tab-completing or clicking nicks 2018-04-18 13:38:33 +03:00
Tulir Asokan
4f4e78ae0c Fix another nil pointer panic in the HTML parser (ref #20) 2018-04-16 12:04:00 +03:00
Tulir Asokan
0d4d597909 Fix panic in HTML parser (#20) 2018-04-15 17:54:11 +03:00
Tulir Asokan
bb9ed4558b Refactor things 2018-04-15 14:03:05 +03:00
Tulir Asokan
28e5f9d4b0 Add package docs 2018-04-15 13:34:39 +03:00
Tulir Asokan
d060d10615 Allow clicking names to mention them 2018-04-14 15:33:20 +03:00
Tulir Asokan
85757c387e Fix typo in newline stripping 2018-04-14 11:50:57 +03:00
Tulir Asokan
f5530ff99c Move message parsing to parser subpackage 2018-04-14 11:50:18 +03:00
Tulir Asokan
782ba0657a Make HTML rendering more advanced
Also add Python-like HTML parser thing in lib/htmlparser
2018-04-14 11:44:09 +03:00
Tulir Asokan
e7bf5bd59f Add basic HTML rendering (ref #16) 2018-04-14 00:34:25 +03:00
Tulir Asokan
69c163cfe9 Unknown changes that possibly fix and/or break things 2018-04-13 21:25:45 +03:00