Tulir Asokan
95b8a958fd
Add password modal and file path autocompletion
2020-08-31 01:08:07 +03:00
Tulir Asokan
c47252979c
Use []byte directly for ImportKeys and ExportKeys
2020-08-26 15:18:23 +03:00
Tulir Asokan
0a9612bf14
Add initial support for key file exporting and importing
...
Warning: the passphrase is currently hardcoded to "gomuks"
2020-08-25 21:09:46 +03:00
Tulir Asokan
a800072893
Fall back to HTML and plaintext autocompletion if markdown is disabled. Fixes #190
2020-08-21 20:20:20 +03:00
Tulir Asokan
15ed2a75b5
Fix minor code style details
2020-08-18 18:01:19 +03:00
ReK2
3439b94e0e
fix changes requested
2020-08-17 21:03:28 +02:00
ReK2
0f77c17e9c
enable to show html as plain text if enabled and the url and text is not the same or nor contains data-mautrix-no-link
2020-08-17 20:51:20 +02:00
ReK2
2a1329d981
first changes to show urls
2020-08-15 06:59:02 +02:00
Tulir Asokan
2f5f0674b6
Update mautrix-go and make it build without crypto
2020-07-30 14:32:59 +03:00
Tulir Asokan
aac9db09d6
Clear verification modal input bar placeholder after accepting
2020-07-25 20:59:54 +03:00
Tulir Asokan
ee3594db46
Add toggle to only send to verified devices
2020-07-25 20:54:32 +03:00
Tulir Asokan
ead7e0bf1d
Make verification modal wait for confirmation
2020-07-25 18:40:31 +03:00
Tulir Asokan
341f8829d6
Add very crude interactive verification support
2020-07-24 23:44:04 +03:00
Tulir Asokan
77a1514c90
Add device list and legacy verification commands
2020-07-24 21:47:22 +03:00
Tulir Asokan
ecdd4f08cb
Support edits without m.new_content
2020-07-05 17:54:05 +03:00
Tulir Asokan
ceedeb7a41
Fix rendering displayname change events
2020-06-24 22:59:47 +03:00
Tulir Asokan
68956c4c63
Check if PrevContent is nil before using. Fixes #181
2020-06-24 22:54:41 +03:00
Tulir Asokan
48537f98ce
Fix shift+tab on first item in fuzzy search dialog. Fixes #182
2020-06-24 22:47:42 +03:00
Tulir Asokan
646a8637ff
Show decryption errors more accurately. Fixes #174
2020-06-23 22:28:28 +03:00
Tulir Asokan
376a2e5d84
Update mautrix-go
2020-06-23 21:43:25 +03:00
Tulir Asokan
38d5ef5603
Add alias management command and alt_aliases rendering
...
* /alias command can be used to create and remove local aliases
* Changes to the alt_aliases are now rendered properly
2020-06-17 14:15:22 +03:00
Tulir Asokan
0688ed1dba
Fix /reject command output
2020-06-08 00:19:50 +03:00
Tulir Asokan
2cebe3b5dc
Move loaded history pointer to message view
...
When it was in the history manager, it wouldn't get unloaded when the room was unloaded.
Hopefully fixes #136
2020-05-10 02:28:34 +03:00
Tulir Asokan
4e2cbf1e4f
Merge remote-tracking branch 'julianuu/master'
2020-05-10 01:39:59 +03:00
Tulir Asokan
e1b38bb202
Add command to get e2ee fingerprint
2020-05-07 11:56:21 +03:00
Tulir Asokan
03826346d9
Random changes
2020-05-06 23:30:16 +03:00
Tulir Asokan
0988b0590c
Make e2ee optional
2020-05-05 20:38:58 +03:00
Tulir Asokan
22681875f3
Update mautrix-go and give crypto module access to state store
2020-05-05 18:39:28 +03:00
Tulir Asokan
a9dff6da73
Add support for encrypted files
2020-04-29 02:45:54 +03:00
Julian Weigt
12fb6c9076
remove unnecessary returns
2020-04-26 22:36:33 +03:00
Julian Weigt
b0983a47c9
Use github.com/zyedidia/clipboard for clipboard.
...
Now one can choose as register clipboard and primary.
2020-04-26 22:19:41 +03:00
Julian Weigt
0f85fcc3fa
Implement copying to clipboard
...
"github.com/atotto/clipboard"
2020-04-26 20:02:35 +03:00
Tulir Asokan
96bb87e8ac
Add missing pointer
2020-04-23 17:56:09 +03:00
Tulir Asokan
3f22fe4157
Fix messages sometimes overflowing until rerendering
2020-04-19 22:53:26 +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
5ee6aa72db
Update mautrix-go content stuff
2020-04-19 15:01:16 +03:00
Tulir Asokan
bb5f9156c9
Add better help for /toggle
2020-04-19 15:01:16 +03:00
Tulir Asokan
bc80ff3a56
Add toggle for desktop 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
Midov
8b02b30e58
hjkl keybinds for selection
2020-04-09 14:47:40 +02: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
Simon Magnin-Feysot
41e7b018c1
command toggle downloads
2020-04-07 19:06:10 +02:00
Simon Magnin-Feysot
8b68140dc9
refactor to allow every file message to be downloaded
2020-04-07 18:20:06 +02:00
smagnin
f0e5e0022f
add text for video message
2020-04-07 01:26:02 +02:00
Tulir Asokan
842aab1324
Add toggles for disabling markdown and HTML
2020-04-04 01:03:17 +03:00
Tulir Asokan
0a493d643c
Move room switcher to ctrl+k and newline to alt+enter. Fixes #132
2020-04-03 23:46:56 +03:00
Tulir Asokan
bce30e32a0
Update mautrix-go to ignore 404 errors in .well-known resolution
2020-03-20 16:00:30 +02:00
Tulir Asokan
ae3e7e2ad9
Fix bug in number of spaces in rainbows
2020-03-20 14:41:10 +02:00
Tulir Asokan
87b394abec
Support formatting in rainbows
...
Fixes #119
2020-03-20 14:32:30 +02:00
Tulir Asokan
5a2c74514d
Fix selecting other users' messages
2020-03-06 10:53:23 +02:00
Tulir Asokan
1eab5526e3
Update redact command help
2020-03-03 22:22:31 +02:00
Tulir Asokan
e25674ca5f
Remove debug print
2020-03-03 21:59:34 +02:00
Tulir Asokan
fbe387f912
Don't send typing stop event if not necessary
2020-03-03 21:15:25 +02:00
Tulir Asokan
27ecb48e23
More small changes to room list
2020-03-03 20:58:33 +02:00
Tulir Asokan
43212996e9
Add another nil check in room list
2020-03-03 14:01:27 +02:00
Tulir Asokan
c829e436e4
Implement sending redactions
2020-03-01 22:35:25 +02:00
Tulir Asokan
9aa33d9b48
Fix room list ordering
2020-03-01 22:00:42 +02:00
Tulir Asokan
3c21281ada
Implement selecting message to reply/react to with keyboard
2020-03-01 17:11:56 +02:00
Tulir Asokan
da4a2c670d
Merge pull request #111 from Evidlo/master
...
add notify_sound config option
2020-03-01 16:17:28 +02:00
evan
8deeec6f8d
add notify_sound config option
2020-03-01 05:05:37 -06:00
Tulir Asokan
6b29d90fb4
Fix minor issues
2020-03-01 01:05:00 +02:00
Tulir Asokan
9d132d328b
Add support for replying and reacting to messages
2020-03-01 00:33:37 +02:00
Tulir Asokan
699d0ea4e0
Update readme and /help
2020-02-25 20:46:24 +02:00
Tulir Asokan
a79de7ba76
Fix unexpected results when clicking some message senders
2020-02-22 03:04:44 +02:00
Tulir Asokan
58fff45d69
Add separate messages for invite reject/accept
2020-02-22 02:59:28 +02:00
Tulir Asokan
452b3d9cf9
Disable selecting service messages
2020-02-22 02:46:16 +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
ecdb1166e1
Fix invite parentheses in member list
2020-02-22 00:10:08 +02:00
Tulir Asokan
442fdac4d5
Enable lazy loading of members
2020-02-22 00:03:57 +02:00
Tulir Asokan
032a83d70b
Add initial message selecting stuff
2020-02-21 00:29:29 +02:00
Tulir Asokan
98dd1bcdc9
Redraw UI when starting to load more messages
2020-02-20 23:08:37 +02:00
Tulir Asokan
852023c611
Fix compilation error
2020-02-20 22:42:53 +02:00
Tulir Asokan
fa8147f07a
Add background color for reactions
2020-02-20 22:11:09 +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
b6e20af056
Always set cursor to end when switching edit message
2020-02-19 23:48:47 +02:00
Tulir Asokan
55f58f2875
Fix some issues when logging out
2020-02-19 23:48:34 +02:00
Tulir Asokan
78f7a7aadc
Hardcode name colors so individual colors can be removed
2020-02-19 23:42:26 +02:00
Tulir Asokan
56b9f22781
Add custom name for m.server_notice tag
2020-02-19 22:19:59 +02:00
Tulir Asokan
417bf25373
Show multiline errors in login view
2020-02-19 22:13:02 +02:00
Tulir Asokan
8e33beeee7
Don't ignore history init errors
2020-02-19 22:12:12 +02:00
Tulir Asokan
15e1d3f87c
Fix rendering formatted m.emotes
2020-02-19 21:54:53 +02:00
Tulir Asokan
af99c76d46
Add support for editing /me
2020-02-19 21:32:13 +02:00
Tulir Asokan
0b0a40f735
Remove duplicate code for finding message to edit
2020-02-19 21:27:37 +02:00
Tulir Asokan
8b02183ab1
Ignore mouse motion events inside MessageView
2020-02-19 15:07:10 +02:00
Tulir Asokan
d02abd079f
Add support for editing messages
2020-02-19 01:14:02 +02:00
Tulir Asokan
b4e27723d7
Fix mouse motion not being passed to input areas
2020-02-19 00:05:05 +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
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
d1d129f6cf
Add support for redactions. Fixes #19
2019-06-16 20:42:36 +03:00
Tulir Asokan
691708a76e
Improve emoji autocompletion when the same emoji has many names
2019-06-16 19:54:54 +03:00
Tulir Asokan
7f917f0271
Add support for editing room tags
2019-06-16 19:32:57 +03:00
Tulir Asokan
967db30762
Fix message text color. Fixes #82
2019-06-16 17:14:17 +03:00
Tulir Asokan
eb2726e8df
Somewhat hackily force focus to room view. Fixes #95
2019-06-16 16:52:19 +03:00
Tulir Asokan
859fd6092b
Add/change commands
2019-06-16 16:32:56 +03:00
Tulir Asokan
242d3a00d9
Merge remote-tracking branch 'jrswab/imageResize'
2019-06-16 15:21:01 +03:00
Tulir Asokan
b019266062
Re-enable downloading images
2019-06-16 15:19:42 +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
Jaron Swab
3ebfb87da2
Scale image message based on the user's text area.
...
Using the "image" package from the standard library the images loaded by
gomuks now scale to one third the size of the text area. The image data
contains both hight and width while the scaling uses only width the
option to scale by hight is possible if passed into `CalculateBuffer()`.
`ansimage.NewScaledFromReader()` now takes the new variable based off
the size of the buffers' width.
This may resolve issue #92
2019-06-15 11:01:05 -04: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
Tulir Asokan
ae3bb9c7a3
Add pm command
2019-06-14 21:01:24 +03:00
Tulir Asokan
7c39729ada
Remove room alias argument and switch to room after creating
2019-06-14 20:56:41 +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
4bcdcd1ccd
Fix go 1.11 and go get compatibility
2019-05-12 17:34:47 +03:00
Tulir Asokan
08d99d776d
Fix potential deadlock in room switching
2019-04-27 15:11:38 +03: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
60e3fe3927
Stop replacing text of event links
2019-04-15 00:34:48 +03:00
Tulir Asokan
98a8b52862
Minor UI changes
2019-04-13 17:04:52 +03:00
Tulir Asokan
e5264a242d
Fix user list
2019-04-13 14:27:50 +03:00
Tulir Asokan
43a7bdab72
Add better stringification for UI message types for debugging
2019-04-13 00:51:58 +03:00
Tulir Asokan
abd21affc4
Fix code block rendering
2019-04-10 22:59:37 +03:00
Tulir Asokan
a9199dd9f2
Split container/text HTML entities and add support for <hr>
2019-04-10 22:49:33 +03:00
Tulir Asokan
db0e24ccc2
Use already parsed events for replies if possible
2019-04-10 21:06:19 +03:00
Tulir Asokan
7e0278c571
Fix m.emote rendering
2019-04-10 17:08:39 +03:00
Tulir Asokan
45a68c7fb5
Fix tests
2019-04-10 02:47:47 +03:00
Tulir Asokan
099eebfa67
Misc changes
2019-04-10 02:28:24 +03:00
Tulir Asokan
005c51c3b5
Re-add reply rendering
2019-04-10 02:19:38 +03:00
Tulir Asokan
20d3f8232d
Remove commented code
2019-04-10 01:44:45 +03:00
Tulir Asokan
06c306bee9
Fix date change messages and input submit handling
2019-04-10 01:42:27 +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
2b6c435e50
Refactor message parsing things
2019-04-09 18:42:49 +03:00
Tulir Asokan
927be9bdcd
Move stripLinebreak to a struct field in the HTML parser
2019-04-09 01:03:17 +03:00
Tulir Asokan
887e2e232a
Fix non-syntax-highlighted code block newline rendering
2019-04-09 00:59:56 +03:00
Tulir Asokan
5d7c1a4caa
Improve handling of multiple linebreaks
2019-04-07 22:54:55 +03:00
Tulir Asokan
e6180c9b6f
Move special list/blockquote prefixing to renderer
2019-04-07 22:25:53 +03:00
Tulir Asokan
cf93671ecd
Add syntax highlighting. Fixes #28
2019-04-07 20:13:23 +03:00
Tulir Asokan
083ae8bd44
Remove commented code
2019-04-07 18:25:13 +03:00
Tulir Asokan
b0c4ef81e9
More changes to do #91
2019-04-07 18:21:38 +03:00
Tulir Asokan
21b81ccb27
Initial changes to do #91
2019-04-07 03:22:51 +03:00
Tulir Asokan
e9cf38a866
Focus username field in login view automatically
2019-04-06 18:03:37 +03:00
Tulir Asokan
7ad2103f8f
Move history storage to matrix package. Fixes #90
2019-04-05 23:44:17 +03:00
Tulir Asokan
535fbbb4f7
Change even more things
2019-03-30 18:51:32 +02:00
Tulir Asokan
1b1cabb360
Even more changes
2019-03-28 23:28:27 +02:00
Tulir Asokan
6a3017888f
Merge remote-tracking branch 'nepugia/nep' into mauview
2019-03-27 01:21:25 +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
8aa134b8b2
Start moving to mauview
2019-03-26 00:37:35 +02:00
Pascal Abresch
cefa840c28
adds kick, ban, unban and invite command
2019-03-19 16:06:40 +01:00
Pascal Abresch
c5bf3f894c
fixed send and setstate to allow spaces
2019-03-19 16:06:18 +01:00