Commit Graph

385 Commits

Author SHA1 Message Date
Tulir Asokan
b3e989ee0f Use xurls instead of custom regex for finding links 2022-04-16 19:26:24 +03:00
n-peugnet
0da7d78138 Display inline code in messages
The Textcolor is also set to make sure it is readable
with black on white themes
2022-04-16 17:53:47 +02:00
Tulir Asokan
e08f23ba65 Only linkify text if inline URLs are enabled 2022-04-15 23:44:59 +03:00
Tulir Asokan
ebe3fcc33c Re-add function for service messages 2022-04-15 23:31:48 +03:00
Tulir Asokan
66233721a2 Get rid of special-cased plaintext rendering. Fixes #273 2022-04-15 23:28:23 +03:00
Tulir Asokan
7bf6785689 Linkify links in HTML messages too 2022-04-15 23:25:12 +03:00
Tulir Asokan
8752b3e848 Linkify links in plaintext messages 2022-04-15 22:51:07 +03:00
Tulir Asokan
fa7a4d8320 Fix BaseEntity.String() 2022-04-15 22:36:06 +03:00
Tulir Asokan
6414b8bd13 Use inline link for file download URL 2022-04-15 22:30:07 +03:00
Tulir Asokan
b9bcfb24ef Open graphical file picker if no path is provided for /upload 2022-04-15 22:14:57 +03:00
Tulir Asokan
97491eb6c0 Add support for inline URLs
Fixes #71
Fixes #168
2022-04-15 22:09:15 +03:00
Tulir Asokan
c2a3940e41 Allow copying any type of message. Fixes #276 2022-04-15 20:44:14 +03:00
Tulir Asokan
e46694a33f Ignore newlines in HTML completely again 2022-04-15 20:29:23 +03:00
Tulir Asokan
5674f076be Add support for sending spoilers 2022-04-15 20:28:58 +03:00
Tulir Asokan
a5bdba204e Add support for rendering spoilers. Fixes #331 2022-04-15 15:14:22 +03:00
Tulir Asokan
751a158fbf Parse HTML when editing messages. Fixes #301 2022-04-15 14:12:01 +03:00
Tulir Asokan
1b4aa60114 Add slightly hacky workaround to fix #316 2022-04-15 14:03:08 +03:00
Tulir Asokan
7425bc25d9 Add lint to CI and pre-commit 2022-04-15 13:13:50 +03:00
Tulir Asokan
89d5b0aa7b Merge remote-tracking branch 'n-peugnet/toggle-autocompletions' 2022-04-15 13:10:14 +03:00
Tulir Asokan
18aeb8ba9d Improve removing unnecessary whitespace in HTML 2022-04-15 12:58:27 +03:00
Tulir Asokan
899bdbc705 Update tcell 2022-04-15 12:53:09 +03:00
n-peugnet
edaed2bf65 Add command autocompletion for toggle 2022-04-11 00:05:37 +02:00
Tulir Asokan
a7562a068a Add variation selectors and trim spaces in reactions 2022-03-30 15:27:05 +03:00
tleb
31e87b584f
Allow sending emoji using plaintext shortcodes in /react (#354) 2022-03-30 15:21:26 +03:00
Tulir Asokan
2a07ff6781 Maybe fix date change messages. Fixes #277 2022-03-07 17:53:01 +02:00
Tulir Asokan
b5543736f6 Mention /toggle without arguments in help page
Closes #347
Fixes #341
2022-03-06 22:44:32 +02:00
Tulir Asokan
daf0067d53 Remove ctrl+a from default keybindings and fix esc 2022-03-06 22:44:02 +02:00
Tulir Asokan
686f7025cb Add room name to topic bar if room list is hidden. Closes #317 2022-03-06 22:34:24 +02:00
Tulir Asokan
f652501fa2 Merge remote-tracking branch '3nprob/keyconfig'
Closes #325
2022-03-06 22:30:35 +02:00
Tulir Asokan
b2ca5ed37e Add support for editing message in external editor
Closes #313
Fixes #311
2022-03-06 22:13:57 +02:00
Tulir Asokan
6525f9ec66 Add rainbownotice command 2022-02-16 19:38:10 +02:00
3nprob
5e3ccb8c53 Configurable keybindings 2021-12-08 01:26:56 +09:00
Tulir Asokan
98db812df1 Add config flags for backspace behavior. Fixes #322 2021-11-11 00:26:53 +02:00
Tulir Asokan
2cff2cdc22 Adjust things in timestamp toggle 2021-09-19 20:59:59 -04:00
Alex McGrath
cd82d4d7fd Add toggle for timestamps 2021-08-17 10:50:24 +01:00
Tulir Asokan
3510d223b2 Revert fuzzy search input bar color to white 2021-08-02 22:35:15 +03:00
Tulir Asokan
6d8b34db09 Merge remote-tracking branch 'zavok/master' 2021-08-02 21:48:27 +03:00
Tulir Asokan
f6326f69df Don't show links with data-mautrix-exclude-plaintext attribute 2021-08-02 21:46:21 +03:00
Tulir Asokan
e17822e2f7 Remove unused logPath method 2021-08-02 21:46:00 +03:00
prenev
f97ddba86e ui: use ColorDefault where appropriate 2021-04-04 01:09:27 +03:00
Tulir Asokan
3964b6fd89 Fix some formatting and enable pretty panics in non-debug mode. Closes #265 2021-03-11 22:53:13 +02:00
Tulir Asokan
8e6f89a59a Fix newline keybind toggle 2021-03-11 22:42:53 +02:00
roger
69bbdd0a1b Add NewLineByDefault toggle 2021-03-11 22:28:11 +02:00
Georg Sauthoff
b7966b5d4e Mark private chat as direct
That means direct as in direct messaging.

See also:

- https://matrix.org/docs/spec/client_server/latest#post-matrix-client-r0-createroom
- https://matrix.org/docs/spec/client_server/latest#module-dm
- https://godoc.org/maunium.net/go/mautrix#ReqCreateRoom

fixes #259
2021-03-11 22:26:16 +02:00
evan
4338c5a6ef fix index error in fuzzy search 2021-03-11 22:26:09 +02:00
Tulir Asokan
5498cbf30b Fix /verify in the help modal 2021-02-24 12:12:21 +02:00
Tulir Asokan
853c148dd5 Fix no-cgo build 2021-02-08 22:51:17 +02:00
Tulir Asokan
f3854524bc Fix text selection panic caused by clipboard 2020-11-21 16:26:02 +02:00
Tulir Asokan
9b42f5df8e Merge branch 'cross-signing' 2020-11-21 14:43:27 +02:00
Tulir Asokan
661a7cf17a Merge branch 'master' into cross-signing 2020-11-12 00:21:11 +02:00