Commit graph

800 commits

Author SHA1 Message Date
Damir Jelić
7c7612bdcd buffer: Pass the input data through string_input_for_buffer(). 2018-08-28 11:32:15 +02:00
Damir Jelić
cb5a4ad1d7 colors: Remove additional newlines from code segments. 2018-08-28 10:53:29 +02:00
Damir Jelić
57c392a643 server: Handle invites. 2018-08-27 20:48:20 +02:00
Damir Jelić
cca6464cc7 buffer: Don't print out our leave event if we're rejoining. 2018-08-26 20:56:40 +02:00
Damir Jelić
084cb1985e buffer: Fix buffer name format. 2018-08-26 20:44:25 +02:00
Damir Jelić
ebcbf454d9 commands: Add join/part. 2018-08-26 20:44:06 +02:00
Damir Jelić
53d2152a21 commands: Add invite support. 2018-08-22 17:13:25 +02:00
Damir Jelić
c3ab43b02e commands: Add back kick support. 2018-08-22 15:54:48 +02:00
Damir Jelić
607aad655b commands: Add redaction support back. 2018-08-22 11:37:33 +02:00
Damir Jelić
166ff3b2e3 colors: Replace multiple newlines with a single one. 2018-08-21 12:33:08 +02:00
Damir Jelić
6d299219b0 buffer: Add initial smart filter functionality. 2018-08-21 12:32:52 +02:00
Damir Jelić
44e065d818 colors: Strip whitespace from both ends of the formatted string. 2018-08-20 13:06:56 +02:00
Damir Jelić
1e016ad495 colors: Colorize code snippets. 2018-08-20 11:12:28 +02:00
Damir Jelić
7f71bf47a1 colors: Colorize matrix block quotes. 2018-08-20 11:11:54 +02:00
Damir Jelić
c9ef4ac086 server: Reconnect if there was an error during login. 2018-08-09 17:52:51 +02:00
Damir Jelić
8fca7d19c7 colors: Rework newline adding for blockquotes and <p> tags. 2018-08-09 17:52:24 +02:00
Damir Jelić
0e66455cce matrix: Mypy fixes. 2018-08-09 17:51:32 +02:00
Damir Jelić
1475572c06 buffer: Fix incorrect number of arguments for notices. 2018-08-09 13:58:55 +02:00
Damir Jelić
94330922eb colors: Handle the <p> tag. 2018-08-08 20:42:16 +02:00
Damir Jelić
8597dbbf52 buffer: Allow extra tags for notices. 2018-08-08 20:42:04 +02:00
Damir Jelić
67b44a51a3 server: Don't login every time we have a reconnect. 2018-08-08 17:37:08 +02:00
Damir Jelić
cea4b7846d server: Reuse the stored device id. 2018-08-08 17:07:29 +02:00
Damir Jelić
20b903ec52 buffer: Change the way buffer names are created.
This mimics how the irc plugin creates buffer names.
2018-08-08 16:27:49 +02:00
Damir Jelić
995d9215df buffer: Add support for notices. 2018-08-08 15:43:00 +02:00
Damir Jelić
8d4415f873 buffer: Handle encrypted rooms in the state dict as well. 2018-08-08 15:05:15 +02:00
Damir Jelić
458f6580fb buffer: Enable support for media messages. 2018-08-08 15:04:19 +02:00
Damir Jelić
f1e87fe9b0 server: Add topic setting. 2018-08-07 19:07:54 +02:00
Damir Jelić
173e345060 commands: Big command cleanup. 2018-08-07 16:48:18 +02:00
Damir Jelić
47b303e975 server: Add sync filters on initial sync and subsequents syncs. 2018-08-07 11:44:30 +02:00
Damir Jelić
4d299b19eb buffer: Unknown messages don't contain a message attribute anymore. 2018-08-07 11:26:45 +02:00
Damir Jelić
99ca1b50ce server: Use a sync timeout only on HTTP2. 2018-08-07 11:26:31 +02:00
Damir Jelić
fb5a889cca main: Break from the receive loop if there was a transport exception. 2018-08-07 11:25:48 +02:00
Damir Jelić
a513b82418 server: Introduce a server config class. 2018-08-03 17:43:34 +02:00
Damir Jelić
5e676f168f buffer: Fix printing of unknown messages. 2018-08-03 15:27:11 +02:00
Damir Jelić
4b4d02b620 buffer: Add the event id to the tags for our own messages. 2018-08-03 15:09:15 +02:00
Damir Jelić
3bd4be2258 buffer: Reenable redaction event handling. 2018-08-03 14:50:23 +02:00
Damir Jelić
2a4ec66742 buffer: Enable handling of unknown events. 2018-08-03 14:06:27 +02:00
Damir Jelić
3b01483cc4 server: Use a timeout for syncs. 2018-08-03 12:25:17 +02:00
Damir Jelić
2e28e03e0c server: Enable lag functionality again. 2018-07-31 17:12:16 +02:00
Damir Jelić
7a8ce17d8a server: Change the way syncs are scheduled. 2018-07-31 12:03:23 +02:00
Damir Jelić
0c8e732ad0 buffer: Fix room join event handling. 2018-07-31 12:03:05 +02:00
Damir Jelić
6cb9be5578 server: Add the ability to send messages. 2018-07-31 12:02:48 +02:00
Damir Jelić
35e6978622 main: Handle socket errors during the SSL handshake. 2018-07-31 11:57:27 +02:00
Damir Jelić
9e6bd0c246 server: Handle http error responses. 2018-07-26 11:33:05 +02:00
Damir Jelić
df61dba644 matrix: Add option to log into a separate debug buffer. 2018-07-24 11:39:05 +02:00
Damir Jelić
32df9230ea server: Handle malformed server responses. 2018-07-24 11:05:29 +02:00
Damir Jelić
4b67dc015b matrix: Make logging configurable. 2018-07-24 11:05:03 +02:00
Damir Jelić
59b034737e buffer: Handle an empty user part of an user id. 2018-07-21 19:55:03 +02:00
Damir Jelić
3785cd0bee matrix: Enable nio logger. 2018-07-21 19:54:36 +02:00
Damir Jelić
5990704c0d buffer: Handle the case where a user left the room in the timeline. 2018-07-21 15:20:10 +02:00