Commit graph

673 commits

Author SHA1 Message Date
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
fade917c2d
Merge pull request #14 from rexroni/master
added a preliminary README
2018-04-16 09:06:37 +02:00
Rex Roni
12cd0d0d9e added a preliminary README 2018-04-15 22:50:40 -05: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ć)
35c610d2cf Merge branch 'tylerjw-macos-install' 2018-04-02 20:58:32 +02:00
Tyler Weaver
d249e40687 Makefile: Fix make install for mac os and add uninstall. 2018-04-02 20:57:15 +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
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
poljar
508a80e981
Merge pull request #11 from dkasak/master
Fix charrefs.
2018-03-24 20:18:11 +01:00
Denis Kasak
fbec1c9f96 Remove stray print. 2018-03-24 14:40:03 +01:00
Denis Kasak
6e9275da7f Fix charrefs.
Forgot to include # when reconstructing charrefs from their "name".
2018-03-24 14:38:00 +01:00
poljar
6eec395254
Merge pull request #10 from dkasak/master
Handle combination of strikethrough and other attributes.
2018-03-23 11:59:59 +01:00
Denis Kasak
629eba1335 Use wrapped weechat module instead of using it directly. 2018-03-23 10:21:22 +01:00
Denis Kasak
42f34f749b Handle combination of strikethrough and other attributes.
Strikethrough has to be done first, before handling any other attribute,
because otherwise it doesn't render correctly.

The following changes were made:

1. When striking due to redaction, we simply strip all the other
   attributes and then do the strikethrough, because this is the only
   practical option.
2. When rendering rich text received from the server, we ensure we
   handle strikethrough first, before any other attribute.
2018-03-23 09:51:58 +01:00
poljar
13bfb33b73
Merge pull request #9 from dkasak/master
HTML ref parsing fix.
2018-03-22 21:10:52 +01:00