Commit graph

800 commits

Author SHA1 Message Date
Marco Sirabella
d3f37d059c
Transition to buffer.number setter 2019-11-22 18:35:20 -05:00
Marco Sirabella
a6b955f4c7
Implement NEAR_SERVER for new_channel_position 2019-11-22 18:33:04 -05:00
Marco Sirabella
56aa9992a9
Implement none and next functionality for new_channel_position 2019-11-19 20:59:57 -05:00
Marco Sirabella
56e6781abe
Add new_channel_position option (with no functionality) 2019-11-19 20:53:05 -05:00
Joel Lehtonen
1fe0215e44 Some Telegram bridges use "_telegram" prefix instead of plain "telegram" 2019-11-11 14:40:18 +02:00
Julius Michaelis
69ad2a9c03 Add options for controlling reconnect delay growth 2019-11-10 23:35:44 +09:00
Rex Roni
a1abfdc3d6 Restore mypy support.
Fix errors with `make typecheck` and fix some typos.
2019-11-03 17:02:48 -07:00
Rex Roni
368f5cfc3b Fix bug when requeueing messages for encryption.
This probably fixes #79.
2019-11-03 16:59:44 -07:00
Damir Jelić
4a3f5217bc requirements: Add requests and python-magic. 2019-10-20 14:03:06 +02:00
Damir Jelić
a9d6864f3a uploads: Fix a typo. 2019-10-20 13:31:52 +02:00
Damir Jelić
b26dc838ef README: Document how to use the sso hsignal. 2019-09-22 12:26:55 +02:00
Damir Jelić
da46c06c01 weechat-matrix: Send out a hsignal when we launch the SSO helper. 2019-09-22 12:25:20 +02:00
Damir Jelić
c34158b553 README: Explain how to do SSO logins using ssh forwarding. 2019-09-17 20:37:18 +02:00
Damir Jelić
3866858d18 weechat-matrix: Handle errors from the sso helper. 2019-09-17 20:26:26 +02:00
Damir Jelić
355fa95533 server: Add a config option to set the SSO helper listening port. 2019-09-17 19:37:22 +02:00
Damir Jelić
f5f08cba6f main: Fix a typo. 2019-09-11 22:49:57 +02:00
Damir Jelić
ba943ec58f commans: Fix the page up command on an empty buffer. 2019-09-11 21:05:59 +02:00
Damir Jelić
64712a9e74 weechat-matrix: Use unicode literals in the message renderer. 2019-09-11 20:30:58 +02:00
Damir Jelić
6cc6da45ec main: JsonDecodeError isn't available on python2. 2019-09-11 20:28:27 +02:00
Damir Jelić
c69f859da4 requirements: Only require aiohttp on python3. 2019-09-11 19:15:52 +02:00
Damir Jelić
1a846d61ae README: Document the single sign-on setup. 2019-09-11 14:02:00 +02:00
Damir Jelić
e5f6b597af weechat-matrix: Fetch from the backlog if the buffer has < 10 lines at startup. 2019-09-11 13:48:10 +02:00
Damir Jelić
f48a69a6b6 buffer: Check for already printed events while fetching the backlog. 2019-09-11 13:26:59 +02:00
Damir Jelić
5924264139 commands: Change the way the redact command parses it's arguments.
This fixes #104.
2019-09-11 12:24:12 +02:00
Damir Jelić
a58d21710b server: Add a missing return in the case of an already logged in server. 2019-09-11 08:54:47 +02:00
Damir Jelić
674d5e56b5 server: Use a flag to remember if it's our first sync. 2019-09-11 08:54:23 +02:00
Damir Jelić
aec7023e25 buffer: Force member loading if we're printing from the backlog as well. 2019-09-10 23:23:57 +02:00
Damir Jelić
0acd3d7dc9 buffer: Fix the formatting of room encryption events. 2019-09-10 23:04:48 +02:00
Damir Jelić
3e24e0e999 buffer: The redact_line method doesn't take tags as an argument. 2019-09-10 22:42:32 +02:00
Damir Jelić
488fa29232 buffer: Add the ability to print more message types from the backlog. 2019-09-10 22:16:51 +02:00
Damir Jelić
1a54cc467f main: Remove a spurious print. 2019-09-10 22:16:11 +02:00
Damir Jelić
27c81afcb7 buffer: Start to refactor out the message formatting. 2019-09-10 22:12:23 +02:00
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ć
58ef479f8e requirements: Add aiohttp and bump the nio version for SSO to work. 2019-09-10 15:33:35 +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ć
cc0ccd6dba commands: Allow servers to be added using the full URL. 2019-09-10 15:27:34 +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ć
2aa70c7ead commands: Fix the server delete command. 2019-09-10 14:57:50 +02:00
Damir Jelić
75133c1d03 Merge branch 'venv' 2019-09-04 18:37:46 +02:00
Damir Jelić
a37ca2f4b7 buffer: Move the room name logic from nio into weechat-matrix. 2019-09-04 18:33:07 +02:00
Matthijs Kooijman
6534ae2b7c README: Document runing from git directly 2019-09-03 14:05:56 +02:00
Matthijs Kooijman
904d656752 README: Document when make install does 2019-09-03 14:05:56 +02:00
Matthijs Kooijman
f79b4bd324 main: Support running from virtualenv
This fixes #105
2019-09-03 14:05:49 +02:00
Matthew Barry
dc97101d47
Use full path instead of basename when reading file for upload
This might address #83.
2019-07-16 12:24:33 -05:00
Damir Jelić
42f0ac0284 requirements: Bump the required nio version again. 2019-07-13 14:16:42 +02:00
Damir Jelić
f1d3bd5890 contrib: Use env for the matrix_upload hashbang.
This allows users to run the matrix_upload script to run inside virtual
environments.

This closes #102.
2019-07-13 12:45:34 +02:00
Damir Jelić
1fd4f80ab6 requirements: Bump the required nio version. 2019-07-13 12:16:58 +02:00
Damir Jelić
8bc4c7114c Merge branch 'dev' 2019-07-12 17:00:47 +02:00
Adam B
dc3d2303da
Remove list of dependencies from README
The list of dependencies in the README was out of sync with the list in requirements.txt since weechat-matrix now requires e2ee support in matrix-nio. Opening requirements.txt and installing dependencies manually is either trivial to those who know python packaging or provides no benefit to those who do not. Removing this list reduces maintenance effort and does not make installation harder to understand.
2019-07-08 11:08:49 -04:00