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
Damir Jelić
bb9cda8902
setup.py: Bump the nio version requirement.
2019-07-13 13:58:34 +02:00
Damir Jelić
ea0d35e3e4
ui: Don't disable the UI code unconditionally.
2019-07-12 22:34:42 +02:00
Damir Jelić
d358532c43
pantalaimon: Add the manifest file.
2019-07-12 16:29:29 +02:00
Damir Jelić
488d2b5179
pantalaimon: Update the gitignore.
2019-07-12 16:08:53 +02:00
Damir Jelić
9dd3e79bac
daemon: Catch a RuntimeError for the keyring.
...
If the keyring doesn't manage to find a sensible and secure keyring backend it
will raise a RuntimeError.
Catch this error and log the error message. The keyring can be disabled
in the config if the system cannot provide a sensible keyring backend.
2019-07-12 16:00:18 +02:00
Damir Jelić
1a8f28b90a
tests: Skip test that require tantivy.
2019-07-12 15:38:04 +02:00
Damir Jelić
b7cc1d60f3
tests: Fix a typo in the fixtures.
2019-07-12 15:37:35 +02:00
Damir Jelić
120355982b
tests: Add aioresponses and friends to the test requirements.
2019-07-12 15:35:54 +02:00
Damir Jelić
c12b624b9a
travis: Install aioresponses before running the tests.
2019-07-12 14:54:20 +02:00
Damir Jelić
b9d518fad8
pantalaimon: Only send UI messages if there is a queue.
2019-07-12 14:47:51 +02:00
Damir Jelić
ad65fbf1a7
pantalaimon: Make the dbus UI optional.
2019-07-12 14:47:20 +02:00
Damir Jelić
dfa5501a6c
daemon: Create a method to send messages to the UI thread.
2019-07-12 14:17:22 +02:00
Damir Jelić
ed71fdedb2
client: Don't use the queue attribute directly.
2019-07-12 14:16:14 +02:00
Damir Jelić
8c831cee1e
tests: Rename a test with a duplicate name.
2019-07-12 10:55:20 +02:00
Damir Jelić
48b4baf79c
pantalaimon: Update to nio 0.4.
2019-07-12 10:55:20 +02:00
Damir Jelić
a9b00dfa37
tests: Test fetcher task creation and handling.
2019-07-04 14:58:30 +02:00
Damir Jelić
25f284f8de
tests: Improve the pan client test.
2019-07-04 14:58:15 +02:00