Commit graph

35 commits

Author SHA1 Message Date
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
poljar (Damir Jelić)
484d91b166 Make the message sending non blocking. 2018-01-31 13:55:55 +01:00
poljar (Damir Jelić)
d83c25e709 Make the ssl handshake non blocking. 2018-01-31 09:57:13 +01:00
poljar (Damir Jelić)
41c694032a Connection messages. 2018-01-30 14:16:25 +01:00
poljar (Damir Jelić)
594706e0af Don't hook the timer hook before we're connected. 2018-01-30 14:08:50 +01:00
poljar (Damir Jelić)
a4d4e56919 Add lag bar item. 2018-01-30 12:58:16 +01:00
poljar (Damir Jelić)
bb5b90691e Move connection handling to server.py. 2018-01-30 11:46:29 +01:00
poljar (Damir Jelić)
51308d4af0 Rename matrix.py to main.py.
Pylint can't handle packages and modules with the same name.
2018-01-30 09:34:06 +01:00
Renamed from matrix.py (Browse further)