Commit Graph

84 Commits

Author SHA1 Message Date
Tulir Asokan
14903e0cdc Add bare mode and fix terminal resize bug. Fixes #48 2018-05-22 22:06:49 +03:00
Tulir Asokan
cc28c7b65f Gofmt 2018-05-22 17:24:47 +03:00
Tulir Asokan
cce79ab7d8 Clean up code 2018-05-22 17:23:54 +03:00
Tulir Asokan
09703c6b9c Fix tests 2018-05-22 16:54:35 +03:00
Tulir Asokan
76cff95540 Move all cache to ~/.cache/gomuks
Now `rm -rf ~/.cache/gomuks` has the same effect as `/clearcache`
2018-05-17 16:29:18 +03:00
Tulir Asokan
d6396bc02a Fix tests 2018-05-16 21:50:58 +03:00
Tulir Asokan
8a3fbc24ab Handle m.direct and m.receipt events
Fixes #12
Fixes #45
2018-05-16 20:51:43 +03:00
Tulir Asokan
cb3a6e764e Fix room ordering after initial sync (ref #36) 2018-05-15 18:47:34 +03:00
Tulir Asokan
fdbb168e2b Display ban/unban events 2018-05-15 18:02:36 +03:00
Tulir Asokan
2d64209572 Update state event handling 2018-05-15 17:55:08 +03:00
Tulir Asokan
b416d7d8b0 Add tests for downloading invalid URLs and getting history 2018-05-11 08:12:11 +03:00
Tulir Asokan
66b17967eb Update dependencies 2018-05-10 21:22:01 +03:00
Tulir Asokan
706f4c4404 Add tests for JoinRoom, LeaveRoom and Download 2018-05-10 20:31:19 +03:00
Tulir Asokan
1e6b599649 Don't parse room ID 2018-05-10 20:07:24 +03:00
Tulir Asokan
248db71c76 Add tests for sending stuff to Matrix 2018-05-10 20:03:19 +03:00
Tulir Asokan
151141f288 Add command to log out 2018-05-10 15:47:24 +03:00
Tulir Asokan
e42ce27e0a Fix room tag tests 2018-05-04 12:13:23 +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
b796c2e209 Fix go vet warnings 2018-05-02 23:55:02 +03:00
Tulir Asokan
a9390d3b5c Add more session and config tests 2018-05-02 23:52:38 +03:00
Tulir Asokan
c5ea283777 Add PushRuleCollection tests 2018-05-02 23:05:37 +03:00
Tulir Asokan
aec3b8d204 Add tests for PushRule.Match and fork glob to make it compatible with the spec 2018-05-02 22:30:57 +03:00
Tulir Asokan
06e8f14c8a Re-add function that was accidentally removed 2018-05-01 21:04:25 +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
b3543e9090 Stop showing rooms the user has left in the room list. Fixes #35 2018-04-30 22:28:29 +03:00
Tulir Asokan
3de07ad550 Add tests for syncer and fix some bugs 2018-04-24 23:52:31 +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
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
bfb5f0dd45 Add room alias autocompletion 2018-04-22 21:05:42 +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
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
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
215086dfac Add test file stubs to include them in coverage percentage 2018-04-17 15:42:43 +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
Tulir Asokan
0cdde557a3 Add tests for pushrule conditions and fix bugs found when making tests 2018-04-15 15:36:01 +03:00