Damir Jelić
89a3fa6e88
travis: Change the libolm location to the new gitlab repo.
2019-05-25 11:43:39 +02:00
Damir Jelić
c16dc70768
Merge branch 'sas'
2019-05-25 11:40:13 +02:00
Damir Jelić
f9ebd61f93
requirements: Depend on the released nio version.
2019-05-25 11:39:03 +02:00
Sandro Santilli
4797cf7eb4
Document libolm required version is 3.1+
2019-05-22 23:02:21 +02:00
Sandro Santilli
bb44ce83b5
Update instructions about libolm install
...
Closes #82
2019-05-22 08:29:05 +02:00
Damir Jelić
fa5dca12de
commands: Print out device display names.
2019-05-15 21:50:48 +02:00
Trygve Aaberge
b136153d34
Use nicklist_visible_count for buffer_nicklist_count bar item
...
This is the value which is used by default as per
https://github.com/weechat/weechat/blob/v2.4/src/gui/gui-bar-item.c#L1262
2019-05-15 00:48:09 +02:00
Trygve Aaberge
b5cf65dfd2
Set correct color for buffer_nicklist_count bar item
2019-05-15 00:39:40 +02:00
Trygve Aaberge
aef9a2e028
Only use buffer name for buffer_name bar item
...
The logic that was here is only relevant for the irc plugin, and should
not be included. The default value for the buffers from other plugins
just contains the color and name, as seen at
https://github.com/weechat/weechat/blob/v2.4/src/gui/gui-bar-item.c#L1112-L1141
Fixes a part of #54
2019-05-15 00:39:27 +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ć
f294ae5e68
commands: Allow key verifications to be cancelled.
2019-05-07 22:23:16 +02:00
Damir Jelić
810a95edf0
server: Change the Sas confirmation function.
2019-05-07 22:22:45 +02:00
Damir Jelić
88a2de637d
commands: Fix an error message.
2019-05-07 22:18:21 +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
Florian Bruhin
5431c8a310
Fix /matrix server delete example
2019-04-16 08:35:57 +02:00
Brady Trainor
62b19cc70d
Update README
2019-04-11 17:22:26 -07:00
Damir Jelić
a30482a88c
Merge branch 'user-id-special-case'
2019-04-05 21:34:29 +02:00
Thomas
db8bc325b4
Add shortname for twilio, telegram, messenger bridge
2019-04-06 00:57:47 +05:30
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
tamwile
5062c4cbd6
README: Clarify the Install section.
...
1. Install libolm
2. Add the possibility to install dependencies via requirements.txt
3. Not modified
2019-03-22 14:31:05 +01:00
Damir Jelić
32f4448141
README: remove spurious test from the script load example.
2019-03-16 12:14:15 +01:00
Damir Jelić
c02fa75d4f
buffer: Handle bad events better.
2019-03-13 15:25:22 +01:00
Damir Jelić
1b54b67154
buffer: Add more bridged username workarounds.
2019-03-11 16:26:29 +01:00
Damir Jelić
e9e61b04da
buffer: Add user name hacks for ircnet and whatsapp users.
...
This closes #59 .
2019-03-08 19:31:12 +01:00
Paul Tötterman
c9b14c8ed1
Add Dockerfile
2019-03-08 16:29:09 +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ć
6ddf63093a
config: Improve the help for the humman_buffer_names option.
2019-03-06 17:40:01 +01:00
Damir Jelić
ef51c95a08
buffer: Allow the buffer name to be human readable.
2019-03-06 16:25:21 +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
Damir Jelić
15b2d99047
Merge branch 'fallback-to-http1'
2019-02-22 09:31:28 +01:00
Damir Jelić
12bf9c85c4
bar_items: Return sane defaults if we're not on our own buffer.
2019-02-22 09:29:42 +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
John Johnstone
2ab1885b5f
Fix Configuration instructions in readme
...
The default matrix server is named matrix_org instead of matrix.org
2019-02-19 13:04:45 +00: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ć
71ffee9036
commands: Pass the whole address to the upload helper.
2019-02-04 11:03:50 +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ć
54ad615431
commands: Catch an OSErrors for key imports/exports as well.
2019-02-01 21:08:46 +01:00