Commit graph

91 commits

Author SHA1 Message Date
Damir Jelić
3efd866052 buffer: Limit the number of lines we search when replacing lines. 2019-01-15 13:51:20 +01:00
Damir Jelić
062a736217 Merge branch 'coloring' into olm-command 2019-01-13 13:46:13 +01:00
Denis Kasak
141814bb84 Support full color pair (fg/bg) for each color. 2019-01-13 13:45:25 +01:00
Damir Jelić
a75ce9c636 buffer: Fix buffer lines updating if the new string is an empty string.
This should fix the buffer sorting bug where the prefix isn't properly
updated.
2019-01-13 13:42:34 +01:00
Damir Jelić
7e0215702c server: Refactor message sending. 2019-01-13 12:33:25 +01:00
Damir Jelić
2a68120d09 buffer: Don't move the unread marker for the current buffer. 2018-12-10 20:10:58 +01:00
Damir Jelić
eabaee6a1b buffer: Handle fully read account data events. 2018-12-10 18:55:01 +01:00
Damir Jelić
1fe0484b96 buffer: Ignore unknown events. 2018-12-03 22:39:50 +01:00
Damir Jelić
9d3b624733 server: Add support for sending out read markers. 2018-12-03 22:28:49 +01:00
Damir Jelić
33a96485ee buffer: Limit the display name to 50 characters. 2018-11-30 12:53:01 +01:00
Damir Jelić
be0aae605f buffer: Use the display name for slack users as well. 2018-11-30 12:50:39 +01:00
Damir Jelić
66765f96d8 buffer: Small documentation fix. 2018-11-29 17:10:42 +01:00
Damir Jelić
624ecc4d77 config: Add typing notice conditions. 2018-11-29 17:10:42 +01:00
Damir Jelić
1298a2c910 server: Initial typing notice sending support. 2018-11-29 15:54:13 +01:00
Damir Jelić
a0199109be buffer: Store undecrytped events so we can try to decrypt them later. 2018-11-22 13:52:09 +01:00
Damir Jelić
bdb7f4509e buffer: Remove dead code. 2018-11-21 19:18:20 +01:00
Damir Jelić
47e71ce925 buffer: Add the session id to the line tags. 2018-11-21 19:17:34 +01:00
Damir Jelić
58bf197913 buffer: Fix the editing of actions for already printed lines. 2018-11-15 17:18:49 +01:00
Damir Jelić
a08400c975 buffer: Don't put a space in the matrix_id tag. 2018-11-09 17:57:26 +01:00
Damir Jelić
aae5732018 buffer: Update the buffer name after a room name event in the state. 2018-11-06 22:09:10 +01:00
Damir Jelić
6422381ae5 buffer: Add the room_id to a buffer localvar. 2018-11-06 22:08:33 +01:00
Damir Jelić
3f3c5f9fba buffer: Add a localvar containing the room domain. 2018-11-06 13:59:03 +01:00
Damir Jelić
59b318bdce buffer: Handle messages containing a transaction id. 2018-11-05 21:59:25 +01:00
Damir Jelić
fd9053eacd server: Support printing out sent messages before finishing the request. 2018-11-03 16:44:40 +01:00
Damir Jelić
34b884b892 buffer: Fix the printing of our own action messages. 2018-11-02 13:53:20 +01:00
Damir Jelić
74efe8ef9b server: Add a maximum value for the number of nicklist users. 2018-10-30 21:12:41 +01:00
Damir Jelić
d896962b19 matrix: Add option to fetch members only when we switch to the buffer. 2018-10-30 17:20:44 +01:00
Damir Jelić
0710b7f77d buffer: Don't add already added users to the RoomBuffer. 2018-10-30 16:15:57 +01:00
Damir Jelić
60282b4eec buffer: Support encrypted attachments.
Note, the printed url should be passed to a helper program that will
download the file and decrypt it.
2018-10-21 19:01:52 +02:00
Damir Jelić
45d83cc1b1 buffer: Post the encryption error message in the current buffer. 2018-10-21 13:36:01 +02:00
Damir Jelić
167bf0c07a buffer: Don't mark encryption as unsupported anymore. 2018-10-14 13:13:18 +02:00
Damir Jelić
d66621578b buffer: Remove the buffer from the server buffer list if it has been closed. 2018-10-14 11:56:47 +02:00
Damir Jelić
08ad527a1f buffer: Remove uneeded print inside a comment. 2018-10-12 14:07:56 +02:00
Damir Jelić
701085f8ff buffer: Always add users with a higher power level. 2018-10-12 14:07:24 +02:00
Damir Jelić
4ebcfe59a2 buffer: Change the deferred user loading logic.
Now that we get partial sync responses the difference between added
users and total room users won't ever be a large number. Just deffer
user adding based on the number of already added users.
2018-10-12 14:05:32 +02:00
Damir Jelić
a8b62577d7 server: Utilize partial sync responses. 2018-10-12 13:52:48 +02:00
Damir Jelić
4860ffee11 server: Handle group session sharing responses. 2018-10-01 17:11:09 +02:00
Damir Jelić
6cf275e871 buffer: Print out a warning prefix if the event was encrypted but not verified. 2018-09-24 15:27:39 +02:00
Damir Jelić
0872948e9e buffer: Reorder the short_name property to make mypy happy. 2018-09-20 20:38:05 +02:00
Damir Jelić
ac5d1b823e buffer: Lazily add users to the nicklist. 2018-09-19 12:47:53 +02:00
Damir Jelić
97d3a59e33 server: Enable Olm support. 2018-09-19 11:40:08 +02:00
Damir Jelić
70d577b89e buffer: Fix off by one error for freenode display names. 2018-09-15 23:26:36 +02:00
Damir Jelić
e72014859d buffer: Change the notify tag for private messages. 2018-09-13 00:04:29 +02:00
Damir Jelić
933764bf8e buffer: Fix redaction type config change. 2018-09-12 20:16:17 +02:00
Damir Jelić
c9ce402c2c buffer: Set the buffer type to private if there are only 2 users. 2018-09-12 20:15:07 +02:00
Damir Jelić
eab12eed08 buffer: Use a property to update bar items. 2018-09-03 20:39:44 +02:00
Damir Jelić
dc8df67f55 commands: Add backlog fetching back. 2018-09-03 20:39:16 +02:00
Damir Jelić
08c2d0e113 buffer: Don't use the user id for discord and freenode users. 2018-09-03 15:32:18 +02:00
Damir Jelić
bbfc0d2e7d buffer: Fix output format for notices. 2018-09-03 15:31:49 +02:00
Damir Jelić
d97655d68c matrix: Style fixes. 2018-08-30 16:35:05 +02:00