1
0
Fork 0
forked from Mirrors/gomuks
Commit graph

438 commits

Author SHA1 Message Date
FIGBERT
9cecf0bd02
Move utility functions above mauview interfaces 2023-05-03 09:32:57 -07:00
FIGBERT
0af8d507e1
Forward roster key events to room when focused 2023-05-03 09:32:57 -07:00
FIGBERT
dc5632e946
Move chat view username and timestamp inline 2023-05-03 09:32:56 -07:00
FIGBERT
bd2c06e417
Add comment about title styling bug 2023-05-03 09:32:56 -07:00
FIGBERT
3f01535cdf
Render topic view in modern style 2023-05-03 09:32:56 -07:00
FIGBERT
80638d4a5b
Make topic bar two high in modern display mode 2023-05-03 09:32:56 -07:00
FIGBERT
6d4d6b7d20
Display title in topic bar in modern room view UI 2023-05-03 09:32:56 -07:00
FIGBERT
7fffa994af
Hide user list in modern room view UI 2023-05-03 09:32:55 -07:00
FIGBERT
1eb132a589
Add RoomView previews to roster view 2023-05-03 09:32:55 -07:00
FIGBERT
f6b722f523
Add quit keybind to roster view 2023-05-03 09:32:55 -07:00
FIGBERT
a5ac5ec86e
Add keybindings to roster view 2023-05-03 09:32:55 -07:00
FIGBERT
167b4a497b
Use border utilities to draw horizontal rule 2023-05-03 09:32:55 -07:00
FIGBERT
572bc357cb
Constrain width of messages in roster view 2023-05-03 09:32:54 -07:00
FIGBERT
78cda42654
Retrieve the most recent message accurately 2023-05-03 09:32:54 -07:00
FIGBERT
43b939f567
Add initial message preview to roster view 2023-05-03 09:32:54 -07:00
FIGBERT
24c0e66944
Fix timestamp rounding 2023-05-03 09:32:54 -07:00
FIGBERT
2a01fdb559
Add pretty timestamp to rooms in RosterView 2023-05-03 09:32:54 -07:00
FIGBERT
32665a2e5a
Sort rooms in RosterView by most recent message 2023-05-03 09:32:53 -07:00
FIGBERT
1a18a7e89b
Add header to RosterView 2023-05-03 09:32:53 -07:00
FIGBERT
5fae3fedb9
Add rudimentary RosterView 2023-05-03 09:32:53 -07:00
FIGBERT
1f62926e0e
Update DisplayMode toggle message 2023-05-03 09:32:53 -07:00
FIGBERT
a2432d031f
Add DisplayMode to UserPreferences 2023-05-03 09:32:53 -07:00
Tulir Asokan
22900d8f8a Add command to manage power levels 2023-04-04 22:25:37 +03:00
Tulir Asokan
7e738485ee Don't sprintf with no arguments in Command.Reply 2023-04-04 22:09:29 +03:00
Tulir Asokan
099006c9c3 Don't read NotifySpecified in push rules 2023-04-04 22:09:25 +03:00
Tulir Asokan
2751b186fa Add safety for negative indexes in HTML renderer 2023-01-15 15:57:34 +02:00
Tulir Asokan
d6c08dc134 Update mautrix-go and remove duplicate function 2023-01-15 15:48:12 +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
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
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
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
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
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
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
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