Commit graph

197 commits

Author SHA1 Message Date
Damir Jelić
607aad655b commands: Add redaction support back. 2018-08-22 11:37:33 +02:00
Damir Jelić
c9ef4ac086 server: Reconnect if there was an error during login. 2018-08-09 17:52:51 +02:00
Damir Jelić
0e66455cce matrix: Mypy fixes. 2018-08-09 17:51:32 +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ć
8d4415f873 buffer: Handle encrypted rooms in the state dict as well. 2018-08-08 15:05:15 +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ć
99ca1b50ce server: Use a sync timeout only on HTTP2. 2018-08-07 11:26:31 +02:00
Damir Jelić
a513b82418 server: Introduce a server config class. 2018-08-03 17:43:34 +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ć
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ć
6cb9be5578 server: Add the ability to send messages. 2018-07-31 12:02:48 +02:00
Damir Jelić
9e6bd0c246 server: Handle http error responses. 2018-07-26 11:33:05 +02:00
Damir Jelić
32df9230ea server: Handle malformed server responses. 2018-07-24 11:05:29 +02:00
Damir Jelić
7a12f047f7 server: Add http2 support. 2018-07-21 15:20:10 +02:00
Damir Jelić
1ff0818d46 matrix: Switch to the nio http client. 2018-07-21 15:20:10 +02:00
Damir Jelić
fc4c879e0d matrix: Switch to the nio http client. 2018-07-20 19:14:32 +02:00
Damir Jelić
45be743c07 server: Continue nio migration. 2018-07-20 17:51:48 +02:00
Damir Jelić
91eec1ad85 server: Start the nio migration. 2018-07-20 15:53:47 +02:00
Damir Jelić
783f2d59e8 encryption: Fix for API change in the olm bindings. 2018-07-13 14:48:53 +02:00
Damir Jelić
9622ccc9d9 buffer: Add backlog functionality back. 2018-07-13 13:21:51 +02:00
poljar (Damir Jelić)
d70e651d3e rooms: Remove membership events, just leave the original one. 2018-07-06 21:12:21 +02:00
poljar (Damir Jelić)
66507b23ce buffer: Add a matrix specific buffer class. 2018-07-06 14:56:06 +02:00
poljar (Damir Jelić)
ae5f97ce1d server: Don't print out invites if they are from the state. 2018-07-05 19:23:36 +02:00
poljar (Damir Jelić)
e4d83b5cf4 server: Fix invite message printing. 2018-07-05 19:22:29 +02:00
poljar (Damir Jelić)
3c4888c1fb rooms: Handle invites. 2018-07-05 18:32:24 +02:00
poljar (Damir Jelić)
ca9b60cd34 server: More refactoring of the event handling (join/leave). 2018-07-05 17:02:01 +02:00
poljar (Damir Jelić)
24b412d73c matrix: Change the way the topic is changed. 2018-07-05 15:46:45 +02:00
poljar (Damir Jelić)
38d6a14a33 matrix: Change the way responses and events are executed. 2018-07-05 15:13:19 +02:00
poljar (Damir Jelić)
86ae77c38c encryption: Update for some olm lib API changes. 2018-06-04 22:34:18 +02:00
poljar (Damir Jelić)
c8fb416f88 encryption: Disallow sending messages until the devices are verified. 2018-05-17 14:34:34 +02:00
poljar (Damir Jelić)
c8a7b4815d encryption: Initial key claiming support. 2018-05-16 11:21:59 +02:00
poljar (Damir Jelić)
2bf9766276 encryption: Send the group session key before ratcheting it. 2018-05-12 11:46:05 +02:00
poljar (Damir Jelić)
642e518464 encryption: Initial encrypted message sending support. 2018-05-11 13:03:42 +02:00
poljar (Damir Jelić)
8a3bda9797 encryption: Stub functions for encrypted messages. 2018-05-09 14:00:32 +02:00
poljar (Damir Jelić)
320f490273 encryption: Only try to store the olm info if the olm object exists. 2018-05-06 15:04:19 +02:00
poljar (Damir Jelić)
18bd62cb90 encryption: Add key query functionality. 2018-04-12 14:19:32 +02:00
poljar (Damir Jelić)
0bd20cc333 encryption: Store the account and sessions in a sqlite db. 2018-04-11 14:00:37 +02:00
poljar (Damir Jelić)
8a162a7a80 encryption: Don't pass the server to the Olm class. 2018-04-11 13:45:12 +02:00
poljar (Damir Jelić)
d28e6eb598 encryption: Add encrypt_enabled decorator to some functions. 2018-03-24 20:30:07 +01:00
poljar (Damir Jelić)
36cd12225b olm: One time key creation/uploading. 2018-03-24 20:30:07 +01:00
poljar (Damir Jelić)
27b376e1f5 olm: Upload the identity keys. 2018-03-24 20:30:07 +01:00
poljar (Damir Jelić)
823cc1bf28 olm: Save and restore the olm account keys. 2018-03-24 20:30:07 +01:00
poljar (Damir Jelić)
357c76edcc olm: Create a new olm account only after login.
That way we can be sure to have a valid device ID.
2018-03-24 20:30:07 +01:00
poljar (Damir Jelić)
c52b7866c8 Add olm account loading/creation and a initial olm command. 2018-03-24 20:30:07 +01:00
poljar (Damir Jelić)
45e6f742ec Fix device id loading. 2018-03-24 20:30:07 +01:00