Commit Graph

115 Commits

Author SHA1 Message Date
Tulir Asokan
7ad2103f8f Move history storage to matrix package. Fixes #90 2019-04-05 23:44:17 +03:00
Tulir Asokan
1b1cabb360 Even more changes 2019-03-28 23:28:27 +02:00
Tulir Asokan
c3c7cc9b35 Change things 2019-03-26 19:57:44 +02:00
Tulir Asokan
bf2a5e9b34 Update license and sort imports 2019-01-23 00:26:51 +02:00
Tulir Asokan
331597b9f8 Switch to Go modules and make other changes 2019-01-11 23:28:47 +02:00
Tulir Asokan
a0815a6f3d Fix named colors and remove HTML from plaintext body when sending 2018-11-14 00:28:53 +02:00
Tulir Asokan
ba387764ca Fix things 2018-11-14 00:00:35 +02:00
Tulir Asokan
cfb2cc057c Update to latest gomatrix. Things are broken 2018-09-05 10:55:48 +03:00
Vishnunarayan K I
68db26bcac Emojify message (#65) 2018-07-02 10:00:42 +03:00
Tulir Asokan
b9079e22d2 Gofmt 2018-06-02 00:44:21 +03:00
Tulir Asokan
b76c8d0147 Add UI preferences and simplify config save/load (ref #43) 2018-05-24 23:27:12 +03:00
Tulir Asokan
55e36ad06a Change name of environment variable to disable TLS verification to match the nheko style 2018-05-23 01:16:14 +03:00
Tulir Asokan
f4066e72c3 Add environment variable to disable TLS verification 2018-05-23 01:05:56 +03:00
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
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
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
2d64209572 Update state event handling 2018-05-15 17:55:08 +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
151141f288 Add command to log out 2018-05-10 15:47:24 +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
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
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
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
b0caa48db1 Set initial device name to "gomuks" 2018-04-16 21:30:34 +03:00
Tulir Asokan
bb9ed4558b Refactor things 2018-04-15 14:03:05 +03:00
Tulir Asokan
92a2428865 Allow clicking images and load images from cache 2018-04-11 19:20:40 +03:00
Tulir Asokan
ff7ee333a1 Rename UIString to TString, move ansimage to lib/ and switch to tcell fork 2018-04-11 17:57:15 +03:00
Tulir Asokan
8270bc0322 Move event parsing to ui/messages and add image displaying 2018-04-10 19:31:28 +03:00
Tulir Asokan
eda2b575f0 Refactor UI to use interfaces everywhere 2018-04-09 23:45:54 +03:00
Tulir Asokan
c6e9f498a4 Stop sending notifications from first sync 2018-04-02 13:47:20 +03:00
Tulir Asokan
e0298521c6 Add sounds to notifications 2018-03-26 18:04:10 +03:00
Tulir Asokan
b31d968814 Show notifications and highlights in room list. Fixes #8 2018-03-26 17:22:47 +03:00
Tulir Asokan
ef326eae82 Try to receive tags 2018-03-25 20:30:34 +03:00
Tulir Asokan
c128666109 Refactor things and add proper wheel scroll support 2018-03-25 12:35:50 +03:00
Tulir Asokan
03e9a0d5ac Documentation and refactoring 2018-03-23 14:44:36 +02:00
Tulir Asokan
16635dcde7 Refactor PushRuleset#GetActions() and ViewMain event processing 2018-03-23 01:00:13 +02:00
Tulir Asokan
373b25c01c Rename matrix/room/ to matrix/rooms/ 2018-03-22 23:46:43 +02:00
Tulir Asokan
152b89ed5e Add support for m.emote. Fixes #6 2018-03-22 21:45:02 +02:00
Tulir Asokan
9fd67102ad Refactoring and godocs 2018-03-21 23:29:58 +02:00
Tulir Asokan
b4902d4edb Clear push rules when clearing cache and listen to push rule updates 2018-03-21 20:01:52 +02:00
Tulir Asokan
efbce4c363 Finish push rule parser and use it. Fixes #7 2018-03-21 19:47:35 +02:00
Tulir Asokan
35b6c7bd27 Add external debug file, refactoring and push rule parser 2018-03-21 18:46:25 +02:00
Tulir Asokan
9111073132 Improve notification data format 2018-03-20 23:38:48 +02:00
Tulir Asokan
bb58954f75 Add initial notification support that just spams about everything, prepare for push rules (ref #7) 2018-03-20 23:36:09 +02:00
Tulir Asokan
095b982603 Show messages in message view while sending 2018-03-20 19:55:42 +02:00
Tulir Asokan
3897f23bc4 Add support for loading more history 2018-03-20 12:16:32 +02:00
Tulir Asokan
7a4b108b37 Avoid showing panics directly if debug mode is not enabled 2018-03-19 01:21:53 +02:00
Tulir Asokan
72945c9a28 Organize files 2018-03-18 21:24:03 +02:00