Commit graph

85 commits

Author SHA1 Message Date
Damir Jelić
9644ae5b65 matrix: Don't send out read markers with an empty event id. 2019-01-16 21:21:50 +01:00
Damir Jelić
4eb1d52d81 matrix: Add initial upload support. 2019-01-13 12:33:25 +01:00
Damir Jelić
cf178a32c4 server: Send read markers after sending a message. 2018-12-10 20:10:36 +01:00
Damir Jelić
9d3b624733 server: Add support for sending out read markers. 2018-12-03 22:28:49 +01:00
Damir Jelić
199e6de2a7 commands: Add initial room command. 2018-11-29 17:10:42 +01:00
Damir Jelić
1298a2c910 server: Initial typing notice sending support. 2018-11-29 15:54:13 +01:00
Damir Jelić
ec995e6c8f main: Use the server error method for hook connect errors. 2018-11-01 12:47:18 +01:00
Damir Jelić
64bea928ef bar_items: Add a typing notice bar item. 2018-11-01 11:56:43 +01:00
Damir Jelić
74efe8ef9b server: Add a maximum value for the number of nicklist users. 2018-10-30 21:12:41 +01:00
Damir Jelić
d896962b19 matrix: Add option to fetch members only when we switch to the buffer. 2018-10-30 17:20:44 +01:00
Damir Jelić
fbf56d3491 main: Close the file descriptor we get from hook_connect().
We create a python socket object with fromfd() which duplicates the file
descriptor we get from hook_connect(). Close the unneeded file descriptor
instead of leaking it.
2018-10-19 18:03:08 +02:00
Damir Jelić
8f1c79e640 main: Catch the CertificateError exception when doing the ssl handshake. 2018-10-15 22:14:43 +02:00
Damir Jelić
35f47547d2 commands: Add initial device manipulation command. 2018-10-14 11:47:11 +02:00
Damir Jelić
a8b62577d7 server: Utilize partial sync responses. 2018-10-12 13:52:48 +02:00
Damir Jelić
1208c9d4a2 commands: Add initial olm command. 2018-10-02 18:17:34 +02:00
Damir Jelić
583926560a matrix: Add a server buffer callback. 2018-10-02 18:16:09 +02:00
Damir Jelić
ac5d1b823e buffer: Lazily add users to the nicklist. 2018-09-19 12:47:53 +02:00
Damir Jelić
bb510e453a main: Convert some certinfo fields to native strings. 2018-09-12 20:13:58 +02:00
Damir Jelić
dc8df67f55 commands: Add backlog fetching back. 2018-09-03 20:39:16 +02:00
Damir Jelić
8edbb1bfa9 server: Fix reconnect delay. 2018-09-03 19:20:58 +02:00
Damir Jelić
05a413f7cb matrix: Style fixes and cleanup. 2018-08-29 19:42:44 +02:00
Damir Jelić
19eeec4f3b config: Big config refactor. 2018-08-29 15:35:36 +02:00
Damir Jelić
b05c016fbd server: Use a property factory for the server config. 2018-08-28 17:22:56 +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ć
173e345060 commands: Big command cleanup. 2018-08-07 16:48:18 +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ć
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ć
3785cd0bee matrix: Enable nio logger. 2018-07-21 19:54:36 +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
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ć)
87a8c1a5c0 encryption: Add completion for device verification. 2018-05-17 16:33:58 +02:00
poljar (Damir Jelić)
8a3bda9797 encryption: Stub functions for encrypted messages. 2018-05-09 14:00:32 +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ć)
c52b7866c8 Add olm account loading/creation and a initial olm command. 2018-03-24 20:30:07 +01:00
poljar (Damir Jelić)
c967731c0f events: Make sync event execution batched. 2018-03-19 14:55:48 +01:00
Denis Kasak
b0872922ec Implement /kick. 2018-03-06 09:36:22 +01:00
poljar (Damir Jelić)
d1869cd5d6 server: Store the device id.
The device id now gets saved and reused for logins.
2018-03-01 13:58:33 +01:00
poljar (Damir Jelić)
8e43fe1533 Fix cert digest calculation under python3.
Openssl's digest function takes a byte string on python2 and a unicode
string on python3. Use bytes_to_native_str for this conversion.
2018-02-28 15:53:33 +01:00