Damir Jelić
1a54cc467f
main: Remove a spurious print.
2019-09-10 22:16: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
Matthijs Kooijman
f79b4bd324
main: Support running from virtualenv
...
This fixes #105
2019-09-03 14:05:49 +02:00
Damir Jelić
e9b82a56f5
commands: Add a send-anyways command.
2019-06-27 11:48:28 +02:00
Damir Jelić
75b2b85626
completion: Add a room name completion.
...
This is meant to be used as another default_template for the global
weechat completion.
2019-03-07 10:06:46 +01:00
Damir Jelić
01b5d5c1c5
matrix: Allow buffers to be switched by short names.
...
This patch overrides the /buffer command and modifies it so we can
switch to matrix buffers by their short name.
2019-02-26 16:08:39 +01:00
Trygve Aaberge
cdf48490ac
Fallback to HTTP1 when HTTP2 is not negotiated
...
If the server doesn't support ALPN or NPN, negotiated_protocol will be
None. That meant that transport_type wouldn't be set, in which case nio
will raise a NotImplementedError. Instead, set transport_type to HTTP if
nothing is negotiated.
2019-02-21 22:48:55 +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ć
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