Commit Graph

334 Commits

Author SHA1 Message Date
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
Travis Ralston
4e993eae59 When not using a UI, assume it is safe to send to unverified devices
This is also for bot/docker usage. It's arguable that this should be behind a config flag somewhere.
2019-10-02 22:12:35 -06:00
Travis Ralston
48c7f7a17e Always persist/read the access token when a keyring isn't available
Otherwise things just silently fail on restart: the users won't be able to sync, and it'll complain about unknown tokens for devices.
2019-10-02 22:11:57 -06:00
Travis Ralston
70969d43ec Support a data path for Docker usage
Storing somewhere in the Docker container doesn't help anyone - we should use the volume
2019-10-02 22:10:59 -06:00
Travis Ralston
176735eeb8 Add a simple dockerfile
Tested well enough on Windows, but minimal confidence in it continuing to work. 

Fixes https://github.com/matrix-org/pantalaimon/issues/13

The patch mentioned in the issue doesn't seem to be needed anymore.
2019-10-01 19:30:32 -06:00
Jonas Schürmann
8021c49d34
README: Fix typo 2019-10-01 19:54:39 +02:00
Damir Jelić
87b37e366e pantalaimon: Fix the formatting. 2019-08-07 13:02:15 +02:00
Damir Jelić
c0cd6a3b98 panctl: Add support to continue or cancel key requests. 2019-08-07 13:01:01 +02:00
Damir Jelić
ddce830d8c daemon: Add support for key request handling. 2019-08-07 13:00:19 +02:00
Damir Jelić
20bfdce167 pacntl: Smyle style fixes. 2019-08-07 12:59:19 +02:00
Damir Jelić
422856b78a ui: Remove the store completely now since it's not used anymore. 2019-08-06 10:06:14 +02:00
Damir Jelić
555c2b5f9e
pantalaimon: Bump version. 2019-07-26 15:10:25 +02:00
Damir Jelić
83f749d486 setup.py: Explicitly set the file encoding of the readme. 2019-07-26 15:09:25 +02:00
Damir Jelić
94fa30a56e daemon: Really disable the experimental db backend. 2019-07-26 13:57:51 +02:00
Damir Jelić
0af9369e02 README: Clarify that the dbus UI is optional. 2019-07-26 13:42:29 +02:00
Damir Jelić
d6827e524c ui: Don't add deleted devices to the devices dict. 2019-07-26 13:16:00 +02:00
Damir Jelić
a339f7be1d client: Catch a KeyboardInterrupt exception in the fetcher loop. 2019-07-26 12:47:20 +02:00
Damir Jelić
87c4958e15 client: Add the room id and token to the fetcher task log line. 2019-07-26 12:46:27 +02:00
Damir Jelić
f570a74b52 client: Disable the SqliteQueue database for now. 2019-07-26 12:46:05 +02:00
Damir Jelić
5c3753a6e1 client: Add support for the Sqlite Queue database from peewee. 2019-07-22 16:21:54 +02:00
Damir Jelić
8cf1968f53 pantalaimon: Formatting fixes. 2019-07-22 12:24:15 +02:00
Damir Jelić
8c0b1f53df tests: Add a test for history fetching resumption. 2019-07-22 11:31:52 +02:00
Damir Jelić
a1c206b8a6 ui: Whitespace fix. 2019-07-22 11:31:38 +02:00
Damir Jelić
1582d7ebf5 client: Log an error if we fail to fetch the room history. 2019-07-22 11:20:29 +02:00
Damir Jelić
872267073b ui: Simplify the ui support detection logic. 2019-07-17 22:53:29 +02:00