Commit graph

30 commits

Author SHA1 Message Date
poljar (Damir Jelić)
a59d72cd15 Move buffer message sorting to the backlog event class. 2018-02-25 17:00:52 +01:00
poljar (Damir Jelić)
0aa773ef2f Remove unused code. 2018-02-25 16:52:39 +01:00
poljar (Damir Jelić)
5791a48b3f Handle room redaction events. 2018-02-25 14:53:48 +01:00
poljar (Damir Jelić)
add8df517c Add power level handling back. 2018-02-23 20:17:01 +01:00
poljar (Damir Jelić)
e1723c528c Add membership handling to the room events. 2018-02-23 15:18:06 +01:00
poljar (Damir Jelić)
2ac8bef499 Add initial sync event implementation. 2018-02-22 13:40:35 +01:00
poljar (Damir Jelić)
3b77689c7d Add initial backlog event.
The backlog event currently only supports non redacted messages.
2018-02-16 15:15:56 +01:00
poljar (Damir Jelić)
272e82aa76 Add invite event class. 2018-02-14 14:52:21 +01:00
poljar (Damir Jelić)
a4a8e448a7 Change the join API to allow joins using aliases. 2018-02-14 14:21:56 +01:00
poljar (Damir Jelić)
8c23028c8b Execute the send and join events on an 403 error. 2018-02-14 13:50:54 +01:00
poljar (Damir Jelić)
9577472ad2 Add join event class. 2018-02-14 13:48:00 +01:00
poljar (Damir Jelić)
2a0cccc191 Add redaction event class. 2018-02-14 13:00:18 +01:00
poljar (Damir Jelić)
4537635db3 Add topic event class. 2018-02-14 11:51:57 +01:00
poljar (Damir Jelić)
6b23dee045 Add SendEvent class. 2018-02-13 15:50:30 +01:00
poljar (Damir Jelić)
d045bc4368 Construct the login event while parsing the json. 2018-02-13 13:06:30 +01:00
poljar (Damir Jelić)
e9c388ca4d Add event classes. 2018-02-13 11:38:49 +01:00
poljar (Damir Jelić)
f78bd95d3f Move the json decoding into the MatrixMessage class. 2018-02-13 10:13:40 +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ć)
6b87994a94 Rework of the color handling, add a Formatted class. 2018-02-10 15:34:40 +01:00
poljar (Damir Jelić)
ef99a13806 Get rid of extra_data in the MatrixMessage class. 2018-02-08 14:40:20 +01:00
poljar (Damir Jelić)
90c63c197c Split out state messages, for now only topic messages are implemented. 2018-02-07 12:42:56 +01:00
poljar (Damir Jelić)
ad208cbb3a Refactor of join/leave/invite API. 2018-02-07 12:41:55 +01:00
poljar (Damir Jelić)
4514cc43f6 Fix the hdata tags updating code for redactions. 2018-02-06 12:07:43 +01:00
poljar (Damir Jelić)
475feaa93a Start some refactoring work on the api.
Only login and sync are so far done.
2018-02-02 15:03:52 +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ć)
59feac395f Fix reconnection handling and refactor the server commands. 2018-02-01 13:20:52 +01:00
poljar (Damir Jelić)
0fbecf6bdb Add missing str import. 2018-01-30 14:21:59 +01:00
poljar (Damir Jelić)
44fb7a1913 More split work for the config. 2018-01-29 17:50:59 +01:00
poljar (Damir Jelić)
3b1c95dea8 More split work. 2018-01-29 13:24:52 +01:00