Commit Graph

368 Commits

Author SHA1 Message Date
Tulir Asokan
d8dba100e0 Move cache to ~/.cache/gomuks by default. Fixes #39 2018-04-30 12:06:22 +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
e48ff5bea4 Update dependencies 2018-04-30 10:55:37 +03:00
Tulir Asokan
576bab9e2e Fix People tag 2018-04-25 00:42:05 +03:00
Tulir Asokan
3de07ad550 Add tests for syncer and fix some bugs 2018-04-24 23:52:31 +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
fcd9a932cb Initial move to initial sync. Everything broke :( 2018-04-24 02:14:00 +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
ee4b0be953 Possibly fix firstMemberCache being invalid 2018-04-23 00:13:41 +03:00
Tulir Asokan
ea965766b4 Gofmt and enable a test 2018-04-23 00:04:10 +03:00
Tulir Asokan
fafc7f55be Remove impossible check and improve things for testing 2018-04-22 23:59:46 +03:00
Tulir Asokan
ad540e268d Add tests for Room 2018-04-22 23:23:36 +03:00
Tulir Asokan
1085ddc390 Make room name from aliases calculation consistent 2018-04-22 23:23:30 +03:00
Tulir Asokan
64fa922ec0 Switch to dep 2018-04-22 21:25:51 +03:00
Tulir Asokan
bfb5f0dd45 Add room alias autocompletion 2018-04-22 21:05:42 +03:00
Tulir Asokan
9c4788f6e2 Update README 2018-04-22 20:23:33 +03:00
Tulir Asokan
7e946a0703 Fix golint warnings 2018-04-22 20:14:40 +03:00
Tulir Asokan
adee1ffcc4 Add doc.go to lib/util/ 2018-04-21 22:19:00 +03:00
Tulir Asokan
76af9d3345 Update README 2018-04-21 22:03:07 +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
f62b27f332 Add .codeclimate.yml 2018-04-19 11:33:59 +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
670d369c92 Remove debug prints 2018-04-18 14:48:25 +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
127c896291 Fix panic handling 2018-04-18 13:38:07 +03:00
Tulir Asokan
55a2fb7803 Add tests for config handling 2018-04-17 18:13:38 +03:00
Tulir Asokan
96ce95cf14 Update preview 2018-04-17 17:29:12 +03:00
Tulir Asokan
215086dfac Add test file stubs to include them in coverage percentage 2018-04-17 15:42:43 +03:00
Tulir Asokan
36ed196454 Remove unnecessary InitViews() from GomuksUI interface 2018-04-17 01:06:22 +03:00
Tulir Asokan
e9141f6577 Recover panics in ANSImage.Render() 2018-04-16 23:01:59 +03:00
Tulir Asokan
b728678f0c Add tests for pushrule actions 2018-04-16 21:47:55 +03:00
Tulir Asokan
b0caa48db1 Set initial device name to "gomuks" 2018-04-16 21:30:34 +03:00