Commit Graph

216 Commits

Author SHA1 Message Date
Tulir Asokan
19fe067439 Use mautrix-go methods for downloading media 2020-04-22 12:31:54 +03:00
Tulir Asokan
2d1b3bd7f0 Fix media download endpoint version 2020-04-22 12:24:14 +03:00
Tulir Asokan
6b4adccce2 Fix loading member events 2020-04-20 22:46:41 +03:00
Tulir Asokan
c4175bfa70 Only show syncing modal for initial syncs 2020-04-19 18:57:11 +03:00
Tulir Asokan
0943374892 Update copyright year 2020-04-19 18:10:14 +03:00
Tulir Asokan
a66b02ae8b Add progress bar for first sync 2020-04-19 18:06:49 +03:00
Tulir Asokan
6a907354e2 Strip event content Raw fields before storing 2020-04-19 16:23:32 +03:00
Tulir Asokan
f668faa894 Process different rooms in sync responses in goroutines 2020-04-19 15:57:49 +03:00
Tulir Asokan
5ee6aa72db Update mautrix-go content stuff 2020-04-19 15:01:16 +03:00
Tulir Asokan
ac1b0540a2 Update Encrypted boolean when receiving m.room.encryption event 2020-04-19 15:01:16 +03:00
Tulir Asokan
ae770a97e2 Make sure own messages don't cause notifications 2020-04-19 15:01:16 +03:00
Tulir Asokan
815190be14 Update stuff and move pushrules to mautrix-go 2020-04-19 15:01:16 +03:00
Tulir Asokan
a6f6fb3ef2 Display thumbnail for all files and add commands to download and open files 2020-04-08 15:30:29 +03:00
Tulir Asokan
3ddf85763d Move room away from invites list when invite is accepted from other client
May not actually work, I didn't test it
2020-04-04 01:23:08 +03:00
Tulir Asokan
842aab1324 Add toggles for disabling markdown and HTML 2020-04-04 01:03:17 +03:00
Tulir Asokan
87b394abec Support formatting in rainbows
Fixes #119
2020-03-20 14:32:30 +02:00
Tulir Asokan
5db5cd550d Properly ignore presence in sync filter 2020-03-03 22:53:46 +02:00
Tulir Asokan
fbe387f912 Don't send typing stop event if not necessary 2020-03-03 21:15:25 +02:00
Tulir Asokan
c829e436e4 Implement sending redactions 2020-03-01 22:35:25 +02:00
Tulir Asokan
3658e60d89 Update mautrix-go 2020-03-01 01:24:27 +02:00
Tulir Asokan
9d132d328b Add support for replying and reacting to messages 2020-03-01 00:33:37 +02:00
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