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 |
|
poljar (Damir Jelić)
|
f247daf51d
|
Print out certificate info.
|
2018-02-28 14:38:02 +01:00 |
|
poljar (Damir Jelić)
|
6822084d59
|
Add ability to send emote messages using the /me command.
|
2018-02-26 23:31:53 +01:00 |
|
poljar (Damir Jelić)
|
bf0bffc879
|
Remove the message type enum.
|
2018-02-25 18:09:05 +01:00 |
|
poljar (Damir Jelić)
|
efa663133b
|
Move message handling function into the server class.
|
2018-02-25 18:01:14 +01:00 |
|
poljar (Damir Jelić)
|
f1ddbc841f
|
Add buffer_modes bar item, used for backlog and encryption status.
|
2018-02-22 15:02:42 +01:00 |
|
poljar (Damir Jelić)
|
2f4137933f
|
Reformat the source tree using yapf.
|
2018-02-21 17:04:03 +01:00 |
|
poljar (Damir Jelić)
|
afd595b780
|
Clear the send queue when disconnected as well.
|
2018-02-15 15:28:01 +01:00 |
|
poljar (Damir Jelić)
|
773085b515
|
Disconnect if there is a failure in the connect callback.
|
2018-02-14 11:09:33 +01:00 |
|
poljar (Damir Jelić)
|
390d08b229
|
Move the sync and login functions into the server class.
|
2018-02-12 14:53:19 +01:00 |
|
poljar (Damir Jelić)
|
49b356f510
|
Remove MatrixMessage class.
|
2018-02-12 14:17:36 +01:00 |
|
poljar (Damir Jelić)
|
b22deceb00
|
Mypy fixes.
|
2018-02-12 10:56:28 +01:00 |
|
poljar (Damir Jelić)
|
7ab59ec636
|
Start separating messages into their own subclasses.
|
2018-02-12 10:55:27 +01:00 |
|
poljar (Damir Jelić)
|
6b87994a94
|
Rework of the color handling, add a Formatted class.
|
2018-02-10 15:34:40 +01:00 |
|
poljar (Damir Jelić)
|
4c9069a8b1
|
Make the room_id part of the kwargs in the MatrixMessage class.
|
2018-02-08 15:49:20 +01:00 |
|
poljar (Damir Jelić)
|
39c8591926
|
Refactor the SEND message type.
|
2018-02-08 14:19:09 +01:00 |
|
poljar (Damir Jelić)
|
5c2c5a655c
|
Improve lag handling.
|
2018-02-08 10:58:33 +01:00 |
|
poljar (Damir Jelić)
|
ce718a9259
|
Style fixes.
|
2018-02-07 12:42:33 +01:00 |
|
poljar (Damir Jelić)
|
e02a731809
|
Fix global config handling.
|
2018-02-05 12:47:40 +01:00 |
|
poljar (Damir Jelić)
|
ebd12e6b3e
|
Clarify why we need to mark the socket as non blocking.
|
2018-02-02 11:11:04 +01:00 |
|
poljar (Damir Jelić)
|
f9df032667
|
Move the connection functions to the server class.
|
2018-02-02 10:29:59 +01:00 |
|
poljar (Damir Jelić)
|
c63551d37e
|
Make the send functions methods of the server class.
|
2018-02-02 10:29:16 +01:00 |
|
poljar (Damir Jelić)
|
02c79e6adb
|
Better error message for a room input while being disconnected.
|
2018-02-02 09:50:35 +01:00 |
|
poljar (Damir Jelić)
|
f4c8f1ee29
|
Better error messages for socket errors.
|
2018-02-02 09:50:08 +01:00 |
|
poljar (Damir Jelić)
|
b32baa65b1
|
Fix some style issues.
|
2018-02-01 18:02:58 +01:00 |
|
poljar (Damir Jelić)
|
6920b463e2
|
Don't reset the reconnect variables when connected.
They are reset when disconnecting, no need to do it here as well.
|
2018-02-01 13:28:10 +01:00 |
|
poljar (Damir Jelić)
|
59feac395f
|
Fix reconnection handling and refactor the server commands.
|
2018-02-01 13:20:52 +01:00 |
|
poljar (Damir Jelić)
|
361ded2ea5
|
Always login on a connect.
|
2018-02-01 13:20:27 +01:00 |
|
poljar (Damir Jelić)
|
576096a70e
|
Fix server command completion.
|
2018-02-01 13:19:59 +01:00 |
|