Commit Graph

408 Commits

Author SHA1 Message Date
Damir Jelić
6c4fb03744 README: Link to the man pages from the readme. 2020-03-16 09:50:03 +01:00
Damir Jelić
0be0b5301b client: Log the decrypted sender, room id and event id at the info level. 2020-03-02 16:20:33 +01:00
Damir Jelić
0a5e8a7865 pantalaimon: Bump version. 2020-02-27 18:00:42 +01:00
Damir Jelić
e1fad6c7bd client: Don't skip rooms for which we don't know the encryption state. 2020-02-26 13:33:45 +01:00
Damir Jelić
3014038ce5 client: Only log the decrypted events on the debug log level. 2020-02-26 13:33:23 +01:00
Damir Jelić
606efff925 pantalaimon: Bump the version. 2020-02-21 16:39:17 +01:00
Damir Jelić
99ff3eaf02 client: Add thumbnail media info to the store as well. 2020-02-20 16:32:50 +01:00
Damir Jelić
85dc80bfa7 setup.py: Remove the e2e_search feature.
The e2e_search feature depends on tantivy. The tantivy package got a
release on pypi in the meantime but the API changed in incompatible
ways.

Remove support for it so someone doesn't shoot himself in the foot.
2020-02-20 13:20:51 +01:00
Damir Jelić
9746a28368 ui: Format the ui file with black. 2020-02-20 13:17:20 +01:00
Damir Jelić
4dac44cfd7 daemon: Override the download endpoint and decrypt the files if necessary. 2020-02-20 13:16:54 +01:00
Damir Jelić
a8ba24339f client: Catch encrypted media events and store the decryption keys. 2020-02-20 13:16:17 +01:00
Damir Jelić
af3b62dd7e daemon: Load the media info when we start the daemon. 2020-02-20 13:15:43 +01:00
Damir Jelić
d25989cfd7 store: Add methods to store media info in the store. 2020-02-20 13:14:47 +01:00
Damir Jelić
99a1bccbc8 panctl: Format panctl with black. 2020-02-20 13:12:22 +01:00
Damir Jelić
de29bc68af Makefile: Remove isort. 2020-02-20 13:10:22 +01:00
Damir Jelić
01dd31eec2 proxy_test: Remove the deprecated encoding argument. 2020-02-20 13:08:55 +01:00
Damir Jelić
45b823eac6 daemon: Intercept well-known requests.
Some clients might try to use homeserver discovery despite being
provided with a homeserver and only the local part of a MXID. To hinder
them from going around pantalaimon intercept well-known requests and
return a 404.
2020-02-14 12:55:35 +01:00
NotAFile
f3107e2d6b string fixups 2020-01-31 23:05:47 +01:00
Alexander Eisele
c8f4f4a151 Remove dbus dev dependencies from Dockerfile build stage 2019-12-28 00:29:54 +01:00
Alexander Eisele
85bfadf2f3 Add builder stage to Dockerfile 2019-12-28 00:00:13 +01:00
Damir Jelić
4e29caf8b2 pantalaimon: Bump version. 2019-12-19 16:55:51 +01:00
Damir Jelić
d9ed67e9bf client: Use a loop sleep time. 2019-12-19 16:35:32 +01:00
Damir Jelić
2853e789d3 client: Use the AsyncClientConfig. 2019-12-19 16:35:11 +01:00
Damir Jelić
1053bafafd setup: Allow the usage of prompt toolkit 3. 2019-12-19 16:10:36 +01:00
Damir Jelić
1a4a104007 Merge branch 'patch-1' 2019-12-19 16:10:15 +01:00
Damir Jelić
a4b826a92c tests: Test the to-device event handling on the client sync stream. 2019-12-19 16:02:31 +01:00
Damir Jelić
c8b31fce2f tests: Format the pan client test. 2019-12-19 16:02:18 +01:00
Damir Jelić
e115c6f690 client: Handle more to-device event types from the client sync stream. 2019-12-19 16:01:37 +01:00
Damir Jelić
f3014ec649 client: Refactor out the to device event handling. 2019-12-19 16:00:38 +01:00
Damir Jelić
d38825704d client: Decrypt to-device events from the client sync stream. 2019-12-09 10:43:16 +01:00
Damir Jelić
e2497bca38 Merge branch 'patch-2' 2019-12-09 09:54:53 +01:00
Arthur Lutz
d05ea7d7fe
[Dockerfile] buster is the new stable 2019-12-07 15:43:40 +01:00
Arthur Lutz
728c9e6609
[setup.py] prompt_toolkit depency requires version 2.x 2019-12-07 15:20:15 +01:00
Denis Kasak
57e08221de Prepare for prompt-toolkit 3.0 2019-12-05 20:18:13 +01:00
Damir Jelić
3a77e107fc contrib: Update the default localhost homeserver port. 2019-11-19 16:55:11 +01:00
Damir Jelić
a51e93a868 config: Add a DebugEncryption setting to enable the nio crytpo logs. 2019-11-19 16:54:07 +01:00
Damir Jelić
b5ca82976c pantalaimon: Bump the version. 2019-10-18 13:57:48 +02:00
Damir Jelić
3a4dc0b739 man: Rebuild the mardown man page for pantalaimon.8. 2019-10-18 13:34:02 +02:00
Damir Jelić
3b94354f3c man: Document the data-path command.
This fixes #27.
2019-10-18 13:30:30 +02:00
Adam Beckmeyer
ce5372bbfa
Make ui dependencies actually optional 2019-10-14 11:54:37 -04:00
Travis Ralston
6b4f958d53
Merge pull request #22 from matrix-org/travis-docker
Add a simple dockerfile (and other stuff for early bot support)
2019-10-09 12:53:36 +01:00
Travis Ralston
5d43113a26
Merge pull request #24 from matrix-org/travis-fix-alias-lookups
Encode hashes correctly in proxied requests
2019-10-09 12:48:51 +01:00
Travis Ralston
d030863245 Use urllib instead of magic replace 2019-10-09 12:41:03 +01:00
Travis Ralston
a9c7d7f04b Remove irrelevant dependencies 2019-10-09 12:35:46 +01:00
Travis Ralston
cd34b813df Revert "When not using a UI, assume it is safe to send to unverified devices"
This reverts commit 4e993eae59.
2019-10-09 12:29:50 +01:00
Travis Ralston
62b562e112
Merge pull request #25 from matrix-org/travis-fix-reactions
Don't encrypt reaction events for now
2019-10-09 12:27:04 +01:00
Travis Ralston
6fe1f068ac Recommend UseKeyring:False and IgnoreVerification:True for bots 2019-10-09 12:26:23 +01:00
Travis Ralston
ba76623433 Revert "Always persist/read the access token when a keyring isn't available"
This reverts commit 48c7f7a17e.
2019-10-09 12:26:23 +01:00
Travis Ralston
a11c9274ef Don't encrypt reaction events for now
Fixes https://github.com/matrix-org/pantalaimon/issues/23
2019-10-09 11:24:07 +01:00
Travis Ralston
fa7255e091 Encode hashes correctly in proxied requests
This is a very disgusting fix, but it works. Fixes https://github.com/matrix-org/pantalaimon/issues/21
2019-10-09 10:42:23 +01:00