Damir Jelić
23509301a3
server: Evaluate all the server string options.
...
This fixes #115 .
2019-09-10 20:36:11 +02:00
Damir Jelić
eee63decb1
weechat-matrix: Store/restore sync tokens.
2019-09-10 18:51:58 +02:00
Damir Jelić
3080538549
weechat-matrix: Add support for single sign-on.
...
This patch adds support for the single sign-on login flow. If no
user/password is set Weechat will do a SSO login attempt.
2019-09-10 15:28:55 +02:00
Damir Jelić
dc34a5bef9
weechat-matrix: Handle the case where our clients gets soft-logged out.
2019-09-10 15:26:54 +02:00
Damir Jelić
4c04f6319b
buffer: Store the homeserver inside room buffers.
2019-07-02 18:10:12 +02:00
Damir Jelić
4c8ee2848b
server: Change the way the homeserver url is passed to nio.
2019-07-02 18:09:36 +02:00
Damir Jelić
f05d2f0a2b
server: Enable sending state events to encrypted rooms.
...
State events are not encrypted so sending them is done as usually.
2019-06-27 17:32:39 +02:00
Damir Jelić
563cf9926c
buffer: Allow to ignore devices by sending the same message twice.
2019-06-26 17:53:26 +02:00
Damir Jelić
53f1edf63a
server: Highlight room invitation messages.
2019-05-07 22:32:45 +02:00
Damir Jelić
c3b3567e61
server: Show KeyVerificationCancel events.
2019-05-07 22:32:22 +02:00
Damir Jelić
9d6fbe14cd
server: Don't try to show a short auth string if the SAS object is canceled.
2019-05-07 22:31:56 +02:00
Damir Jelić
810a95edf0
server: Change the Sas confirmation function.
2019-05-07 22:22:45 +02:00
Damir Jelić
9f01a05617
commands: Add a command for interactive key verification.
2019-05-05 23:23:14 +02:00
Damir Jelić
38fa6d4063
server: Change the way to-device messages are sent.
2019-04-30 18:15:07 +02:00
Denis Kasak
31d9052b88
Fixup.
2019-04-30 17:26:10 +02:00
Denis Kasak
31c38bc01d
sas: Center emojis above their description properly.
2019-04-30 17:26:10 +02:00
Damir Jelić
c32a9e34e6
server: More SAS work.
2019-04-30 17:26:10 +02:00
Damir Jelić
ed1b16a4e2
[WIP]: SAS support.
2019-04-30 17:26:10 +02:00
Damir Jelić
c1cfc4a8e4
server: Clear request flags when we disconnect.
...
The server class has a bunch of request flags that remember if a request
of a certain type is in flight, this prevents making the same request
multiple times. The flags are cleared when we get a response but not
when we disconnect.
If we disconnect from the server while waiting on a response the
response will be lost and the flag won't be cleared, this will prevent
us from making any request of that type.
Most notably key queries can end up being disabled so new devices won't
be recognized anymore.
2019-04-25 17:54:48 +02:00
Damir Jelić
85ee2eec52
server: Handle room send errors.
2019-03-26 18:11:42 +01:00
Damir Jelić
c400404e3d
server: Unstuck the group session shared flag.
...
The group session shared flag could be stuck in a permanent True state
if we try to share a group session comming from a key claim response in
the case that we have unverified devices.
2019-03-26 18:09:54 +01:00
Damir Jelić
01a23e8221
uploads: Add support for encrypted uploads.
2019-02-17 22:45:49 +01:00
Damir Jelić
6a1901c0ac
server: Fix encryption queue emptying.
2019-02-12 11:59:53 +01:00
Damir Jelić
e4a2e2df88
server: Mark that we have sent out a key share request after a KeyClaimResponse.
2019-02-12 11:59:19 +01:00
Damir Jelić
c680939005
server: Use the extra_path functionality from nio.
2019-02-04 10:42:03 +01:00
Damir Jelić
b884536e7e
server: Don't use the address in the config for connection establishment.
...
The address in the config can contain subpaths and it doesn't make sense
for a socket to connect to this address. The net location without the
subpath is now contained in server.address.
2019-02-03 22:56:10 +01:00
Damir Jelić
107a7a606e
server: Allow a server address with a subpath.
2019-02-03 10:21:59 +01:00
Damir Jelić
3a17c5ae96
server: Handle case of updating the lag if we don't have a client.
2019-01-29 15:16:34 +01:00
Damir Jelić
fa0d870deb
server: Only set the lag from the response if it's less than the current lag.
2019-01-24 11:56:08 +01:00
Damir Jelić
92ff15943c
server: Turn the connected flag into a property.
...
This way we update the necessary bar items automatically, when we change
the flag.
2019-01-24 11:54:22 +01:00
Damir Jelić
25f4f43b3f
server: Only fetch the joined member list for rooms that are missing members.
2019-01-24 11:09:57 +01:00
Damir Jelić
5228e50e2e
server: Use atomic_write for the device id file.
2019-01-23 16:37:26 +01:00
Damir Jelić
f56279b29d
Merge branch 'configurable-reconnect-delay' into olm-command
2019-01-23 14:59:09 +01:00
Denis Kasak
fffb43fda0
Make reconnect delay configurable, per server.
2019-01-23 14:57:57 +01:00
Damir Jelić
58705661f8
server: Don't do full key queries anymore.
2019-01-21 16:05:44 +01:00
Damir Jelić
a34d1e68b0
server: Handle case where we receive a sent message first in a sync.
2019-01-21 00:27:04 +01:00
Damir Jelić
c9ddcf7e78
matrix: Room display name calculation method is now a property.
2019-01-19 12:37:05 +01:00
Denis Kasak
d6a415e54a
Update copyright notices.
2019-01-16 16:37:53 +01:00
Damir Jelić
11b960e22c
server: Fix device printing if some fields are None.
2019-01-14 17:12:49 +01:00
Damir Jelić
062a736217
Merge branch 'coloring' into olm-command
2019-01-13 13:46:13 +01:00
Denis Kasak
141814bb84
Support full color pair (fg/bg) for each color.
2019-01-13 13:45:25 +01:00
Damir Jelić
4eb1d52d81
matrix: Add initial upload support.
2019-01-13 12:33:25 +01:00
Damir Jelić
7e0215702c
server: Refactor message sending.
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ć
624ecc4d77
config: Add typing notice conditions.
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ć
b392989a5e
server: Remove unused imports.
2018-11-23 18:36:43 +01:00
Damir Jelić
a0199109be
buffer: Store undecrytped events so we can try to decrypt them later.
2018-11-22 13:52:09 +01:00
Damir Jelić
d802aa30ae
server: Send a hsignal when a new room key is received.
2018-11-21 19:17:57 +01:00