Commit graph

353 commits

Author SHA1 Message Date
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
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ć
3993ce830d rooms: Don't use finally to catch generated events. 2018-07-14 10:51:40 +02:00
Damir Jelić
6fc4b0b12c buffer: Expose the error method from the RoomBuffer. 2018-07-14 10:51:15 +02:00
Damir Jelić
9a3dae6aab rooms: Return true on membership changes and encryption change in handle_events. 2018-07-13 16:32:09 +02:00
Damir Jelić
dec12a898e rooms: Return an error event instead of None upon decryption failure. 2018-07-13 16:05:18 +02:00
Damir Jelić
4323931309 encryption: Return a tuple as well if no decryption session is found. 2018-07-13 15:46:21 +02:00
Damir Jelić
7e1fc69cbf encryption: Return a tuple even if group decryption failed. 2018-07-13 15:39:18 +02:00
Damir Jelić
901b18ac06 rooms: Fix BadEvent creation. 2018-07-13 15:31:45 +02:00
Damir Jelić
783f2d59e8 encryption: Fix for API change in the olm bindings. 2018-07-13 14:48:53 +02:00
Damir Jelić
2a8cf83f64 matrix: Remove unused execute() methods. 2018-07-13 14:26:08 +02:00
Damir Jelić
9622ccc9d9 buffer: Add backlog functionality back. 2018-07-13 13:21:51 +02:00
Damir Jelić
c64af4d953 events: Fix encrypted message sending. 2018-07-11 12:58:43 +02:00
poljar (Damir Jelić)
810607dc08 rooms: Add BadEvent class.
This way if one event in a room is not per spec, we don't end up in a
broken state.
2018-07-06 21:34:27 +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ć)
e6485c73bb buffer: Add support for multiple users with the same base name. 2018-07-06 18:39:43 +02:00
poljar (Damir Jelić)
bc1ad45918 buffer: Fix handling of unknown message types. 2018-07-06 18:28:41 +02:00
poljar (Damir Jelić)
eb8a83010d buffer: Handle power level events. 2018-07-06 18:16:13 +02:00
poljar (Damir Jelić)
b665cc4f0e buffer: Add support for more message types. 2018-07-06 17:05:50 +02:00
poljar (Damir Jelić)
c7a8bc177f encryption: Update group decryption to unpack the message index. 2018-07-06 15:39:52 +02:00
poljar (Damir Jelić)
1e3e66e350 buffer: Remember which name we display in the buffer. 2018-07-06 15:39:37 +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ć)
e7208ded62 matrix: Add weechat buffer abstractions. 2018-07-05 10:07:20 +02:00
poljar (Damir Jelić)
e6e996997f rooms: Encrypted events can be redacted as well. 2018-06-18 20:41:46 +02:00
poljar (Damir Jelić)
90a9e607b1 encryption: Switch to the new olm API. 2018-06-18 20:41:18 +02:00
poljar (Damir Jelić)
5c6389fc47 encryption: Fix account loading for python3. 2018-06-07 14:43:38 +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ć)
87a8c1a5c0 encryption: Add completion for device verification. 2018-05-17 16:33:58 +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ć)
bb06293031 encryption: Initial device verification support. 2018-05-17 12:59:07 +02:00
poljar (Damir Jelić)
d5b768e7e0 encryption: Port the olm command parser to argparse. 2018-05-16 22:46:22 +02:00
poljar (Damir Jelić)
dedff37a60 encryption: Add a device store class for the trust database. 2018-05-16 18:18:02 +02:00
poljar (Damir Jelić)
c8a7b4815d encryption: Initial key claiming support. 2018-05-16 11:21:59 +02:00
poljar (Damir Jelić)
47fae308e0 encryption: Send to device messages to every device of a user. 2018-05-15 23:24:14 +02:00