Commit graph

711 commits

Author SHA1 Message Date
Damir Jelić
e80dee57e8 weechat-matrix: Add a poetry file so we can create a release tarball. 2020-03-20 22:06:49 +01:00
Tulir Asokan
21eba25633
Specify what "new enough" debian/ubuntu means 2020-02-24 01:54:36 +02:00
Dimitrios Semitsoglou-Tsiapos
f1bbed552a
readme: upload/download clarifications/formatting 2020-02-16 17:13:28 +01:00
Dimitrios Semitsoglou-Tsiapos
1b6dd33faa
readme: download instructions 2020-02-16 15:22:55 +01:00
poljar
46640df3e0
Merge pull request #152 from MRAAGH/placeholder-room-name
Fix the room name if nio gives us None.
2020-01-21 21:38:56 +01:00
Maze
a5bed102e5 placeholder is now "Empty room (?)" 2020-01-21 21:36:31 +01:00
Maze
959a2fc77d placeholder room name 2020-01-21 21:08:45 +01:00
Maze
64611b66e7 fix matrix_upload description 2020-01-19 13:09:06 +01:00
Spencer Krum
73ada3e3b9 Upgrade Dockerfile to python3
This fixes #124

This moves to installing dependencies from pip instead of system
packages, it moves the base docker image forward a release, and sets
weechat to run as a user instead of root.
2020-01-12 14:13:57 -06:00
Damir Jelić
c1b8fe97c3 buffer: Unknown events nowadays have a source. 2019-12-04 22:44:49 +01:00
Marco Sirabella
6d58ff0695
Get the tests passing 2019-11-22 18:44:07 -05:00
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