Commit Graph

388 Commits

Author SHA1 Message Date
Damir Jelić
4fe5e7d584 pantalaimon: Isort fixes. 2019-05-23 14:46:29 +02:00
Damir Jelić
ce89b1e407 pantalaimon: Abort the daemon gracefully on keyring errors. 2019-05-23 13:50:02 +02:00
Damir Jelić
e597969a21 config: Make the OS keyring optional. 2019-05-23 13:34:59 +02:00
Damir Jelić
32c17421e2 man: Document the OS notifications setting. 2019-05-23 12:29:32 +02:00
Damir Jelić
a25ab95f62 config: Allow notifications to be disabled in the config. 2019-05-23 12:00:39 +02:00
Damir Jelić
bfcfdd61ea ui: Add OS notifications. 2019-05-22 16:40:15 +02:00
Damir Jelić
186560dd4f daemon: Connect the queue for unverified devices messages while sending. 2019-05-22 11:51:49 +02:00
Damir Jelić
212baad49e store: Remove unused client info storing functionality. 2019-05-21 16:55:07 +02:00
Damir Jelić
a823d85cd8 pantalaimon: Isort the repo. 2019-05-21 16:48:46 +02:00
Damir Jelić
c85f82423d main: Remove spurious print. 2019-05-21 16:47:56 +02:00
Damir Jelić
d0d0e80931 daemon: Fix a typo in a variable name. 2019-05-21 16:47:31 +02:00
Damir Jelić
42a4391597 pantalaimon: Remove an unused variable and fix a whitespace issue. 2019-05-21 16:46:50 +02:00
Damir Jelić
d5b1ef27a9 pantalaimon: Add license headers. 2019-05-21 16:46:22 +02:00
Damir Jelić
3d87b468b2 daemon: Ask the homeserver about unknown access tokens.
This patch changes the way clients register to pantalaimon. If there is
already a pan client running for a given user ID clients can now avoid
logging in.

Pantalaimon checks with the homeserver if the access token
is valid and for a user that we already have a pan client running.

This also removes the need to remember access tokens that don't belong
to a pan client.

This partially fixes #14.
2019-05-21 16:25:23 +02:00
Damir Jelić
a6bc5de523 client: Don't verify devices automatically anymore. 2019-05-21 13:43:05 +02:00
Damir Jelić
cb38112160 tests: Fix the dbus test. 2019-05-21 13:42:48 +02:00
Damir Jelić
48da1b6b14 config: Add the ability to disable device verification. 2019-05-21 13:23:07 +02:00
Damir Jelić
1ad5cf6e66 daemon: Keep the proxy config in the daemon class around. 2019-05-21 12:35:55 +02:00
Damir Jelić
90e803900d panctl: Add send-anyways and cancel-send commands. 2019-05-21 12:33:10 +02:00
Damir Jelić
ae85ec22bb ui: Send the room display name in the UnverifiedDevices signal. 2019-05-21 12:31:58 +02:00
Damir Jelić
ff2fc7e448 daemon: Handle the case where we try to send to unverified devices. 2019-05-21 10:25:59 +02:00
Damir Jelić
c40af38b33 panctl: Print out if a device is ignored. 2019-05-20 16:50:27 +02:00
Damir Jelić
ff0f6c50f9 daemon: Return the proper content type if we are using json responses. 2019-05-20 15:30:58 +02:00
Damir Jelić
4f90e578ef store: Use the server name to store info.
This way multiple proxy servers that point to the same homeserver are
allowed.
2019-05-17 16:49:02 +02:00
Damir Jelić
e0b5d3e2b6 panctl: List the trust state of devices. 2019-05-17 14:57:57 +02:00
Damir Jelić
48f94851d2 ui: Allow devices to be blackliksted and unblacklisted. 2019-05-17 14:57:36 +02:00
Damir Jelić
694903e8bd pantalaimon: Allow pan users to be dynamically updated in the ui thread. 2019-05-17 14:56:40 +02:00
Damir Jelić
ed13f78383 panctl: Fix a typo in the command parser. 2019-05-17 14:35:52 +02:00
Damir Jelić
2d487c55f5 ui: Update the device list in the ui thread dynamically.
This updates the copy of the device list in the ui thread every time the
device list or the verification of devices changes in the ui thread.
2019-05-17 14:33:48 +02:00
Damir Jelić
2ca850bf72 client: Connection error messages need to be strings. 2019-05-17 14:27:43 +02:00
Damir Jelić
617025f69b setup.py: Require E2E support for nio. 2019-05-16 17:06:32 +02:00
Damir Jelić
00f2b51fa9 store: Change the way device keys are loaded. 2019-05-16 10:10:27 +02:00
Damir Jelić
a114b7b1a9 ui: Add support for starting/canceling key verifications. 2019-05-15 11:51:33 +02:00
Damir Jelić
6dc126d03c tests: Add initial dbus tests. 2019-05-14 21:51:03 +02:00
Damir Jelić
25283129a9 Makefile: Add isort target. 2019-05-14 21:50:48 +02:00
Damir Jelić
e9d0f52a5c pantalaimon: Isort the tree. 2019-05-14 21:50:30 +02:00
Damir Jelić
22fcbff44b pantalaimon: Formatting fixes. 2019-05-14 21:29:59 +02:00
Damir Jelić
69d14f3c68 daemon: Import/export key functions are now coroutines. 2019-05-14 16:11:50 +02:00
Damir Jelić
90d887e2fa client: Mypy fixes. 2019-05-14 16:11:39 +02:00
Damir Jelić
6749a0bfd2 daemon: Remove unused import. 2019-05-14 14:14:38 +02:00
Damir Jelić
2151f55337 daemon: Simplify the room send logic. 2019-05-14 13:52:55 +02:00
Damir Jelić
bfd7144b4f daemon: Fetch joined members correctly while trying to send messages. 2019-05-14 12:58:16 +02:00
Damir Jelić
d5e447ce3d setup.py: Depend on pydbus instead of python-dbus. 2019-05-13 16:32:12 +02:00
Damir Jelić
42450b51c7 ui: Rework the way the dbus thread and main thread communicate. 2019-05-13 16:32:12 +02:00
Damir Jelić
1cbe5b8a6d ui: Rewrite the dbus code using pydbus. 2019-05-13 16:32:12 +02:00
Damir Jelić
c60e554fc2 store: Change the name of the device key fields in the dict. 2019-05-13 16:32:12 +02:00
Damir Jelić
671fe9dbd0 pantalaimon: Version the dbus API. 2019-05-13 16:32:12 +02:00
Damir Jelić
840e568eac client: Don't accept a SAS automatically. 2019-05-13 16:32:12 +02:00
Damir Jelić
cb04e962f1 panctl: Add a list devices command. 2019-05-13 16:32:12 +02:00
Damir Jelić
bf25a35b31 daemon: Expand the user for the import/export path. 2019-05-09 16:49:44 +02:00