Commit graph

815 commits

Author SHA1 Message Date
Gustaf Hallberg
989708d1fa buffer: Add signal to display name workarounds. 2022-09-08 17:22:23 +02:00
Damir Jelić
c2d2a52283
Merge pull request #323 from diabonas/pyproject-future
pyproject.toml: only require 'future' for python <3.2
2022-05-04 20:03:45 +02:00
Denis Kasak
9d8d7c4eef
feat(readme): Add Alpine installation instructions. 2022-04-17 17:24:33 +00:00
Denis Kasak
e6ba414418
fix(README): Add --user to pip invocation. 2022-04-17 13:39:52 +00:00
Denis Kasak
adfaa01763
readme: Update Arch installation instructions. 2022-04-17 13:14:55 +00:00
Jonas Witschel
0cef432d12 pyproject.toml: only require 'future' for python <3.2
Commit 69cbba8839 ("Only require 'future' for
python <3.2") should be reflected by pyproject.toml as well.
2022-04-05 16:11:47 +02:00
nyuszika7h
0f4d83078a Prefer XDG directory for WeeChat if it exists
Closes #306.
2022-01-26 12:06:45 +01:00
Jochen Sprickerhof
b88614e557 Document how to use matrix_upload 2021-12-22 14:29:21 +01:00
Jonas Witschel
4e585d5f46 server: remove set_npn_protocols()
This function is deprecated in favour of set_alpn_protocols(), which is already
called, and is currently broken in Python 3.10, so remove it altogether.
2021-12-11 19:47:16 +01:00
Damir Jelić
450bfe4082 Merge branch 'fix_upload_display' 2021-11-23 20:38:00 +01:00
Damir Jelić
a510a026b3 Merge branch 'drop_python2' 2021-11-23 20:36:27 +01:00
Alexander Bocken
16e7ff70f8
fix upload render issue (#304) 2021-11-23 15:53:39 +01:00
Damir Jelić
7a6a53b116 Bump the required nio version 2021-11-21 12:13:50 +01:00
Jochen Sprickerhof
1b305fa3f0 test: drop testing with Python 2 2021-11-16 10:17:49 +01:00
Damir Jelić
4848ab348f readme: Don't use plugin when we mean script 2021-11-08 17:38:12 +01:00
Damir Jelić
abe85ed63b Merge branch 'readme_decryptapp' 2021-09-27 20:04:04 +02:00
Antoine Pietri
8d957d4c4e README: mention decryptapp as an alternative to open emxc:// URLs 2021-07-20 21:15:49 +02:00
Antoine Pietri
82d25e88ae Add media mimetype to emxc:// urls 2021-07-20 21:03:43 +02:00
Damir Jelić
79805d02c4 weechat-matrix: Bump our version 2021-07-03 13:24:48 +02:00
Damir Jelić
d67821ae50 Merge branch 'bodqhrohro/master' 2021-06-06 21:08:43 +02:00
Bohdan Horbeshko
8461ad80f7 Fix misleading notices in keys import/export commands 2021-06-06 05:21:10 +03:00
Bohdan Horbeshko
6081b7eded Merge branch 'master' of https://github.com/poljar/weechat-matrix 2021-06-06 05:10:24 +03:00
Bohdan Horbeshko
f05a55a0af Support quoting for command arguments
I've encountered a problem when trying to use a passphrase with spaces in `/olm import`.
The arguments were just broken by spaces. shlex has more advanced splitting which allows
taking multi-word arguments in quotes.
2021-06-06 05:05:10 +03:00
Yuri D'Elia
a4efd87e50 Use the full path when reading in EncryptedUpload
Calling ``matrix_upload.py --encrypt`` with a filename outside of the
current directory fails due to a typo in EncryptedUpload which uses the
basename of the file instead of the original/full path.
2021-06-02 11:51:17 +02:00
James E. Blair
04be5a8764 Support short names for OFTC bridge 2021-05-25 20:11:37 -07:00
Filip Stedronsky
0d491bd3a6 Fix shortnames for Discord & Slack puppetting bridges 2021-05-01 15:59:47 +02:00
Toni Spets
b7e502526b Support Heisenbridge short names 2021-04-25 13:57:22 +03:00
Mateusz Piotrowski
2b668080bd
Add FreeBSD installation instructions for libolm 2021-04-21 22:36:33 +02:00
Matthijs Kooijman
d24e6ce6a9 colors: Do not use [] indexing on re.match objects
This indexing (i.e. __getitem__) introduced in Python 3.5 as an alias of
the group method, so using it breaks this plugin on older Python
versions. In particular, messages containing urls cannot be sent and
result in an exception:

	File "matrix/colors.py", line 106, in <lambda>
	    lambda m: "a" * len(m[0]),
	TypeError: '_sre.SRE_Match' object has no attribute '__getitem__'

This commit replaces the use of the index operation / __getitem__ with
the group method, which is equivalent but supported on all python
versions.
2021-04-03 22:20:57 +02:00
Antoni Boucher
ef09292005 Fix condition to not force the user through the SSO process
Fix #260
2021-02-18 08:08:58 -05:00
root
69cbba8839 Only require 'future' for python <3.2 2021-01-25 09:37:16 +01:00
Damir Jelić
e0cae8b418 buffer: The encryption warning sign is in the look section. 2020-12-15 22:41:34 +01:00
Yuri D'Elia
7239d48b95 Use the configured warning sign in the buffer prefix 2020-11-20 18:04:19 +01:00
Damir Jelić
81be90c7c9 Merge branch 'clear_backlog_pending_on_error' 2020-11-11 14:56:09 +01:00
user202729
8ee1a77d16 Only clear backlog_pending flag if the error is an instance of RoomMessagesError 2020-11-11 20:41:17 +07:00
user202729
a09aa4d4fc Set backlog_pending to false on error 2020-11-07 22:00:20 +07:00
Yuri D'Elia
96da8485d9 Remove pointless format 2020-10-12 02:00:11 +02:00
Yuri D'Elia
e06a4dced4 Use xdg-open instead of rifle as the default plumber 2020-10-12 01:43:27 +02:00
Yuri D'Elia
fc69f77923 Allow saving attachment without running a plumber
Add a second (optional) positional argument to specify the destination
file. If a file has been specified, just save without running the
default plumber.

Specifying a custom plumber allows to both save and run the plumber.
2020-10-12 01:41:05 +02:00
Damir Jelić
e43edbcbc9 Merge branch 'python36' into master 2020-10-11 10:40:06 +02:00
Damir Jelić
0a62f28ac1 Merge branch 'expose_canonical_alias' into master 2020-10-11 10:39:22 +02:00
kraem
704fdc2f70
buffer: Expose canonical_alias as localvar in buffer 2020-10-03 22:50:49 +02:00
Sandro Santilli
e695e6ef09 Fine-tune Deque dependency in python3 2020-09-24 22:07:01 +02:00
Sandro Santilli
0f80ac2821 Document that python 3.6.0 is needed, for python3 (for Deque)... 2020-09-24 21:47:44 +02:00
Antonin Delpeuch
639bdfb3bc
Fix leading whitespace in "/python version" command 2020-09-24 16:27:42 +02:00
Tom Smeding
2a79d9c38b Another fix to the a hypothesis precondition
Addition to 91b42e8 since I messed up
2020-08-30 20:02:20 +02:00
Tom Smeding
91b42e8671 Fix test hypothesis precondition 2020-08-29 20:19:01 +02:00
Tom Smeding
73e9d1d9d3 Use True as default value for markdown_input in tests 2020-08-29 20:18:56 +02:00
Tom Smeding
e74a5a2041 Toggle markdown parsing with matrix.look.markdown_input 2020-08-25 22:31:57 +02:00
Damir Jelić
2b21c0cb5c Merge branch 'cursor-reply' 2020-07-06 20:50:31 +02:00