Commit Graph

720 Commits

Author SHA1 Message Date
Tulir Asokan
d6c08dc134 Update mautrix-go and remove duplicate function 2023-01-15 15:48:12 +02:00
Tulir Asokan
c0036f391b Build arm64 binaries natively 2022-11-30 12:31:49 +02:00
Tulir Asokan
68e9d6e981 Fix showing some types of errors in login screen
Double fixes #402
2022-11-21 22:45:28 +02:00
Tulir Asokan
6aaeb8c244 Check spec versions supported by homeserver. Fixes #402 2022-11-21 22:42:42 +02:00
Tulir Asokan
5aa494dc5e Bump version to 0.3.0 2022-11-19 17:24:57 +02:00
Tulir Asokan
c871a0c4b5 Update mauview and changelog 2022-11-19 17:21:07 +02:00
Tulir Asokan
14b9d30380 Merge remote-tracking branch 'n-peugnet/black-on-white-colors' 2022-11-19 17:15:04 +02:00
Tulir Asokan
a5b5468238 Log right before exiting process 2022-11-19 17:14:31 +02:00
Nicolas Peugnet
8450651a03 Better colors with black on white themes
Added ColorDefault to more places by default and override some other
specific places with white for better contrast.

This should not affect White on black themes.
2022-11-15 20:14:36 +01:00
Tulir Asokan
5db151d90f Update more dependencies 2022-11-13 17:59:11 +02:00
Tulir Asokan
d8f229c102 Update changelog 2022-11-13 15:45:46 +02:00
Tulir Asokan
f1528143aa Run gofmt 2022-11-13 15:40:10 +02:00
Tulir Asokan
0c1fc00f97 Fix another Hyperlink call 2022-11-13 15:34:21 +02:00
Tulir Asokan
886690f98f Update dependencies and Go version 2022-11-13 15:28:04 +02:00
Tulir Asokan
26b3c51053
Merge pull request #397 from n-peugnet/fix-message-redraw-first-reaction
Do not recalculate the buffer on first reaction
2022-11-09 18:00:59 +02:00
Tulir Asokan
94c483a0e1
Merge pull request #396 from n-peugnet/fix-baremessage-command-message
Fix baremessages command inverted message
2022-11-09 17:59:57 +02:00
Tulir Asokan
69e2dbd51c
Merge pull request #399 from n-peugnet/fix-breaks-plaintext-messages-with-url
Fix line breaks with URLs in plaintext only messages
2022-11-09 17:59:21 +02:00
Tulir Asokan
c741634733 Add hint for using SSO 2022-11-07 18:39:06 +02:00
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
Nicolas Peugnet
83da1df256 Do not recalculate the buffer on new reaction
Only the replacement is needed as the height is already correclty
calculated when drawn.

Fixes #283
2022-11-01 16:06:30 +01:00
Nicolas Peugnet
57fd8ed97c Fix baremessages command inverted message 2022-11-01 15:07:18 +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