Commit Graph

700 Commits

Author SHA1 Message Date
Nicolas Peugnet 9fe2888017 Fix line breaks with URLs in plaintext only messages
By making sure that there is always only one container and no empty text
Entities.
2022-11-01 18:29:32 +01:00
Tulir Asokan 99a5c7caed Merge pull request #387 from n-peugnet/mangled-lines
Fix mangled newlines in some code blocks
2022-10-21 23:15:25 +03:00
n-peugnet 1cff17a857 Fix codeblocks doubled newlines in plaintext mode 2022-10-19 13:53:22 +02:00
n-peugnet 58c20698d6 Fix mangled newlines in some code blocks
Because some tokens can contain newlines and not only comment tokens, I
removed the comments specific code to handle newlines in a more generic
way.
2022-10-19 13:53:21 +02:00
Tulir Asokan 71f16b797f Merge pull request #388 from n-peugnet/newlines-nohtml
Preserve newlines in plain text messages
2022-10-19 14:33:22 +03:00
n-peugnet 77b3fffba1 s/Html/HTML/g 2022-10-19 13:30:16 +02:00
Tulir Asokan 1b097337df Merge pull request #391 from n-peugnet/fix-add-reaction-increment
Fix redraw of incremented reaction counts
2022-10-18 14:06:52 +03:00
Tulir Asokan ae10e8ebd7 Merge pull request #386 from n-peugnet/lexer-fallback
Fallback to "plaintext" lexer in codeblock parser
2022-10-18 13:56:23 +03:00
n-peugnet 8c3c4d31f1 Fix redraw of incremented reaction counts 2022-10-16 19:29:33 +02:00
n-peugnet bfc7dd5196 Preserve newlines in plain text message 2022-10-10 20:30:13 +02:00
n-peugnet 82cf2ee816 Fallback to "plaintext" lexer in codeblock parser
This avoids "malformed message" in the timeline when the lexer for a
given language is not found.
2022-10-10 12:36:51 +02:00
Tulir Asokan 75471c3242 Add missing flags 2022-06-01 20:45:06 +03:00
Tulir Asokan 6479ff2e34 Add option to disable clearing screen
Somewhat hacky and might cause other issues, but should fix #365
2022-04-25 00:25:49 +03:00
Tulir Asokan b4101f5518 Use runewidth fork to override variation selector width 2022-04-24 23:55:09 +03:00
Tulir Asokan f00d61c7f0 Adjust unknown command message 2022-04-19 12:02:03 +03:00
Tulir Asokan 030c0c6ec5 Fix rendering empty/malformed messages 2022-04-19 12:01:56 +03:00
Tulir Asokan 1e6174f828 Add test panic command 2022-04-17 23:55:23 +03:00
Tulir Asokan fa79dc0ca1 Update mauview
Fixes #367
2022-04-17 23:55:18 +03:00
Tulir Asokan c45a66bbf9 Add more details to --version 2022-04-17 21:21:10 +03:00
Tulir Asokan b755302b93 Update mautrix-go to switch to /v3 paths 2022-04-17 13:16:47 +03:00
Tulir Asokan ebd0e2dabb Enable inline URLs by default on some other terminals 2022-04-16 20:14:10 +03:00
Tulir Asokan b6fba5230a Enable inline URLs by default on VTE terminals 2022-04-16 19:59:34 +03:00
Tulir Asokan f1d720e2dc Add /cs and /ssss to help 2022-04-16 19:37:24 +03:00
Tulir Asokan b3e989ee0f Use xurls instead of custom regex for finding links 2022-04-16 19:26:24 +03:00
Tulir Asokan a8660c7137 Merge remote-tracking branch 'n-peugnet/display-inline-code' 2022-04-16 19:26:08 +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 f0d78798f3 Update README.md 2022-04-16 00:49:02 +03: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 0fb06067ae Update changelog again 2022-04-15 22:58:48 +03:00
Tulir Asokan 0e033edce1 Update changelog 2022-04-15 22:58: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 404a617670 Update mauview 2022-04-15 22:29:58 +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 98fe235f22 Update mauview to unbreak plaintext mode 2022-04-15 21:17:43 +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 4136d6c6b0 Update mauview 2022-04-15 14:03:40 +03:00
Tulir Asokan 1b4aa60114 Add slightly hacky workaround to fix #316 2022-04-15 14:03:08 +03:00
Tulir Asokan 1ea20b6df7 Don't panic if a non-critical file disappears. Fixes #315 2022-04-15 13:34:31 +03:00
Tulir Asokan a1ddad24c4 Add full changelog in a file 2022-04-15 13:28:24 +03:00
Tulir Asokan 7425bc25d9 Add lint to CI and pre-commit 2022-04-15 13:13:50 +03:00