Commit Graph

195 Commits

Author SHA1 Message Date
Tulir Asokan
0122986323 Fix duplicate locking case 2020-02-22 02:21:20 +02:00
Tulir Asokan
806f0f1bf0 Make invites mostly work 2020-02-22 01:30:43 +02:00
Tulir Asokan
455d9fc4c5 Improve tags and add initial invite handling 2020-02-22 01:17:52 +02:00
Tulir Asokan
442fdac4d5 Enable lazy loading of members 2020-02-22 00:03:57 +02:00
Tulir Asokan
db1424a06d Add support for displaying reactions 2020-02-20 21:56:03 +02:00
Tulir Asokan
db7d2da50c Hide tombstoned rooms from room list 2020-02-20 01:10:26 +02:00
Tulir Asokan
8a0a3a6487 Improve login view and add .well-known resolution 2020-02-20 00:40:59 +02:00
Tulir Asokan
55f58f2875 Fix some issues when logging out 2020-02-19 23:48:34 +02:00
Tulir Asokan
257eaa077a Only initialize history manager if not initialized 2020-02-19 22:12:38 +02:00
Tulir Asokan
702592bf89 Update mautrix-go to separate unmarshaling sync response and event content 2020-02-19 01:25:11 +02:00
Tulir Asokan
d02abd079f Add support for editing messages 2020-02-19 01:14:02 +02:00
Tulir Asokan
2a4755b712 Fix panic when joining new room 2020-02-18 21:41:49 +02:00
Tulir Asokan
2610c2bf9f Update readme a bit and add SSO support 2020-02-18 21:31:28 +02:00
Tulir Asokan
18fa85f4c4 Update deps 2020-02-18 20:38:35 +02:00
Tulir Asokan
f8a8905872 Possibly fix displaying displaynames of left users 2019-06-21 23:52:51 +03:00
Tulir Asokan
772f30b2d6 Fix or break some history related things 2019-06-21 23:52:51 +03:00
Tulir Asokan
439d8371db Cache canonical alias in room list so tab completing wouldn't load state from disk 2019-06-18 17:31:55 +03:00
Tulir Asokan
b76c301145 Add initial support for rendering replies 2019-06-17 13:46:02 +03:00
Tulir Asokan
fe439f076a Wrap events in custom struct to add gomuks-specific fields 2019-06-17 12:27:31 +03:00
Tulir Asokan
754f8e493d Only ping if displayname has spaces/punctuation characters around it. Fixes #96 2019-06-16 21:25:41 +03:00
Tulir Asokan
c6ca343cd1 Fix panic in redaction handling 2019-06-16 21:24:51 +03:00
Tulir Asokan
d1d129f6cf Add support for redactions. Fixes #19 2019-06-16 20:42:36 +03:00
Tulir Asokan
7f917f0271 Add support for editing room tags 2019-06-16 19:32:57 +03:00
Tulir Asokan
6eaee84465 Use https by default if scheme is not provided 2019-06-16 17:14:51 +03:00
Tulir Asokan
859fd6092b Add/change commands 2019-06-16 16:32:56 +03:00
Tulir Asokan
b019266062 Re-enable downloading images 2019-06-16 15:19:42 +03:00
Tulir Asokan
1ea6ba026a Make displayname pushrule check possible without loading room state 2019-06-16 15:15:30 +03:00
Tulir Asokan
2b7d5d5401 Fix reply rendering infinite loop bug 2019-06-16 14:54:12 +03:00
Tulir Asokan
6bb932212c Add call trace command 2019-06-15 19:10:18 +03:00
Tulir Asokan
ef509eb308 Fix infinite recursion 2019-06-15 18:03:28 +03:00
Tulir Asokan
0f08c49df4 Fix bumping unloaded rooms in room list when receiving messages 2019-06-15 17:51:36 +03:00
Tulir Asokan
160b035c4d Unbreak more things 2019-06-15 17:04:08 +03:00
Tulir Asokan
a55ea42d7f Unbreak things 2019-06-15 01:11:54 +03:00
Jaron Swab
fcd44fe63f Users can now create a new room directly in Gomuks
Added the ability to create a room from within gomuks using the now
`/create` command. This comman takes the room name followed by the
alias. Room name may contain spaces but the alias may not as per the
Matrix alias conventions.

Also update `/help` to include the new command.
2019-06-13 21:14:32 -04:00
Tulir Asokan
6f54066c43 Add partial deadlock detection in debug mode 2019-04-27 15:02:52 +03:00
Tulir Asokan
bc7e2d9a1c Add locks and other sync stuff 2019-04-27 15:02:21 +03:00
Tulir Asokan
e5264a242d Fix user list 2019-04-13 14:27:50 +03:00
Tulir Asokan
45a68c7fb5 Fix tests 2019-04-10 02:47:47 +03:00
Tulir Asokan
b668c2cdc7 Fix last cached message not showing up when loading history 2019-04-10 02:25:22 +03:00
Tulir Asokan
bbde121947 It compiles. Ship it! 2019-04-10 01:04:39 +03:00
Tulir Asokan
dbee49476d Start refactoring various things in message rendering and sending 2019-04-09 18:45:41 +03:00
Tulir Asokan
d0c0af811e Fix syncing preferences from account data 2019-04-07 23:21:48 +03:00
Tulir Asokan
b81ba7b631 Add timeout to opening history db 2019-04-07 03:21:46 +03:00
Tulir Asokan
d0f55f4a6f Don't add events from state stream to timeline 2019-04-06 18:03:00 +03:00
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
01f456781c Minor changes 2019-03-26 23:26:00 +02:00
Tulir Asokan
cc63a197c6 Change more things 2019-03-26 22:09:10 +02:00
Tulir Asokan
c3c7cc9b35 Change things 2019-03-26 19:57:44 +02:00
Tulir Asokan
ded4767729 Fix normal events being handled as state events 2019-03-26 16:59:38 +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
912bf309d1 Fix tests 2018-11-14 01:11:40 +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
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