Commit graph

15 commits

Author SHA1 Message Date
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
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ć
e80dee57e8 weechat-matrix: Add a poetry file so we can create a release tarball. 2020-03-20 22:06:49 +01:00
Maze
64611b66e7 fix matrix_upload description 2020-01-19 13:09:06 +01: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ć
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
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ć
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ć
01a23e8221 uploads: Add support for encrypted uploads. 2019-02-17 22:45:49 +01:00
Damir Jelić
955aa7e2d2 contrib: Add the matrix_decrypt helper.
This helper decrypts uploaded files and passes the file to a plumber
(rifle from ranger by default).
2019-01-24 15:33:34 +01:00
Damir Jelić
660344b5b0 upload: Allow matrix_upload to use multiple magic modules. 2019-01-24 15:24:33 +01:00
Damir Jelić
4eb1d52d81 matrix: Add initial upload support. 2019-01-13 12:33:25 +01:00