Commit graph

332 commits

Author SHA1 Message Date
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
poljar (Damir Jelić)
2bf9766276 encryption: Send the group session key before ratcheting it. 2018-05-12 11:46:05 +02:00
poljar (Damir Jelić)
5f3842e4fa encryption: Style changes. 2018-05-12 10:41:47 +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ć)
8f7dac4a0d encryption: Change the way olm sessions are stored. 2018-05-06 15:03:50 +02:00
poljar (Damir Jelić)
658ec67ff4 encryption: Add a error message for the olm command. 2018-05-06 13:37:34 +02:00
poljar (Damir Jelić)
9e86ccc3f7 encryption: Add key printing support for queried keys. 2018-05-06 13:00:07 +02:00
poljar (Damir Jelić)
18bd62cb90 encryption: Add key query functionality. 2018-04-12 14:19:32 +02:00
poljar (Damir Jelić)
49eb6548d1 encryption: Fix olm decryption if we already have a session. 2018-04-11 20:56:11 +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ć)
1fd5bd637d encryption: Decrypt incomming messages. 2018-04-03 21:51:03 +02:00
poljar (Damir Jelić)
ec2995fe52 encryption: Add inbound session creation. 2018-03-29 11:41:01 +02:00
poljar (Damir Jelić)
f8c1f564ae olm: Mark one time keys as published and store the account. 2018-03-26 15:22:23 +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ć)
b309be8a98 olm: Don't store the server in the olm class. 2018-03-24 20:30:07 +01:00