Commit Graph

  • e9d0f52a5c pantalaimon: Isort the tree. Damir Jelić 2019-05-14 21:50:30 +02:00
  • 22fcbff44b pantalaimon: Formatting fixes. Damir Jelić 2019-05-14 21:29:59 +02:00
  • 69d14f3c68 daemon: Import/export key functions are now coroutines. Damir Jelić 2019-05-14 16:11:50 +02:00
  • 90d887e2fa client: Mypy fixes. Damir Jelić 2019-05-14 16:11:39 +02:00
  • 6749a0bfd2 daemon: Remove unused import. Damir Jelić 2019-05-14 14:14:38 +02:00
  • 2151f55337 daemon: Simplify the room send logic. Damir Jelić 2019-05-14 13:52:55 +02:00
  • bfd7144b4f daemon: Fetch joined members correctly while trying to send messages. Damir Jelić 2019-05-14 12:58:16 +02:00
  • d5e447ce3d setup.py: Depend on pydbus instead of python-dbus. Damir Jelić 2019-05-13 16:31:27 +02:00
  • 42450b51c7 ui: Rework the way the dbus thread and main thread communicate. Damir Jelić 2019-05-13 16:29:59 +02:00
  • 1cbe5b8a6d ui: Rewrite the dbus code using pydbus. Damir Jelić 2019-05-10 15:25:41 +02:00
  • c60e554fc2 store: Change the name of the device key fields in the dict. Damir Jelić 2019-05-10 12:09:10 +02:00
  • 671fe9dbd0 pantalaimon: Version the dbus API. Damir Jelić 2019-05-10 11:27:45 +02:00
  • 840e568eac client: Don't accept a SAS automatically. Damir Jelić 2019-05-10 11:21:54 +02:00
  • cb04e962f1 panctl: Add a list devices command. Damir Jelić 2019-05-10 09:52:52 +02:00
  • bf25a35b31 daemon: Expand the user for the import/export path. Damir Jelić 2019-05-09 16:49:44 +02:00
  • ba4ed34941 client: Add a missing await. Damir Jelić 2019-05-09 16:49:16 +02:00
  • a560462da7 pacntl: Switch to argparse and add more functionality. Damir Jelić 2019-05-09 16:48:29 +02:00
  • 6adedbaa0b panctl: Improve the completions. Damir Jelić 2019-05-09 13:47:29 +02:00
  • 10bb16b210 panctl: Handle an empty command string properly. Damir Jelić 2019-05-09 10:54:42 +02:00
  • 1d2d0d6bba daemon: Use the right queue to send messages. Damir Jelić 2019-05-09 10:54:22 +02:00
  • 1f548f3a7e client: Handle client errors while confirming the auth string. Damir Jelić 2019-05-09 10:54:01 +02:00
  • de29df75b9 pantalaimon: Refactor out the thread messages. Damir Jelić 2019-05-09 10:53:20 +02:00
  • 0e421b86a7 man: Fix a typo in the man page for the config file. Damir Jelić 2019-05-08 17:47:04 +02:00
  • fbf2b91db2 man: Add a man page for the configuration file. Damir Jelić 2019-05-08 17:41:50 +02:00
  • 1a8e5ca65d config: Fix a whitespace issue. Damir Jelić 2019-05-08 17:40:16 +02:00
  • 8a15ba79e6 contrib: Add example config file. Damir Jelić 2019-05-08 16:29:25 +02:00
  • 394b25ed5c contrib: Add systemd service file. Damir Jelić 2019-05-08 16:28:52 +02:00
  • 61a87075e4 setup.py: Fix the entry point for the daemon. Damir Jelić 2019-05-08 16:27:29 +02:00
  • b687f503d4 main: Add a SIGTERM signal handler. Damir Jelić 2019-05-08 16:11:07 +02:00
  • cc7b257345 main: Route ui messages to the correct daemon. Damir Jelić 2019-05-08 15:47:16 +02:00
  • 2946acbd6c main: Enable ssl configuration again. Damir Jelić 2019-05-08 15:00:50 +02:00
  • 2127a7cba5 main: Start all the configured servers. Damir Jelić 2019-05-08 14:21:38 +02:00
  • 0d89987ec1 config: Add the section name to the config class. Damir Jelić 2019-05-08 14:20:47 +02:00
  • 3d34a26dac config: Handle some invalid configurations. Damir Jelić 2019-05-08 12:43:21 +02:00
  • 2987589854 pantalaimon: Add a configuration file for the daemon. Damir Jelić 2019-05-08 12:33:42 +02:00
  • 65d1401b76 main: Remove unused function. Damir Jelić 2019-05-08 10:27:55 +02:00
  • 31ab200763 client: Only try to decrypt m.room.encrypted messages in the sync decryption. Damir Jelić 2019-05-07 18:38:08 +02:00
  • 7318690e2c daemon: Buffer the messages endpoint if there are undecryptable messages. Damir Jelić 2019-05-07 18:37:32 +02:00
  • 400c299187 daemon: Add Bearer to the auth header if we're overriding the token. Damir Jelić 2019-05-07 18:36:05 +02:00
  • 29a49ba120 Makefile: Fix the run-local target. Damir Jelić 2019-05-07 18:35:24 +02:00
  • 6b8758f2cb main: Remove cli commands for key export/import. Damir Jelić 2019-05-07 15:34:29 +02:00
  • cd5565b4b3 client: Remove unused encrypt function. Damir Jelić 2019-05-07 15:00:51 +02:00
  • aa1143328f client: Remove unused asyncio events. Damir Jelić 2019-05-07 14:57:53 +02:00
  • 6988a1de95 daemon: The filter query parameter in a sync needs to be a str. Damir Jelić 2019-05-07 14:52:01 +02:00
  • cf07cfdc16 client: Use the new AsyncClient functionality from nio for syncing. Damir Jelić 2019-05-07 14:44:29 +02:00
  • c96bdea1d3 pantalaimon: Refactor out the daemon start logic into a separate file. Damir Jelić 2019-05-07 10:42:40 +02:00
  • e961ff6035 ui: Create a glib class and simplify the shutdown logic. Damir Jelić 2019-05-07 10:26:13 +02:00
  • 57f3a00a78 client: Switch to the new confirm auth string function. Damir Jelić 2019-05-07 09:33:12 +02:00
  • 5ef5551977 client: Use the nio provided method to find a SAS object. Damir Jelić 2019-05-03 16:09:06 +02:00
  • 46ff19ea3c panctl: Remove unneeded DbusT class. Damir Jelić 2019-05-03 14:12:33 +02:00
  • 6dd47e7a53 pantalaimon: Rename accept_sas to confirm sas. Damir Jelić 2019-05-03 14:01:01 +02:00
  • 90ec4e2e96 daemon: Send some messages to the ui thread. Damir Jelić 2019-05-03 13:48:28 +02:00
  • 103a17998a panctl: Allow the user to confirm the short auth string. Damir Jelić 2019-05-03 13:46:19 +02:00
  • 1e04346bcd travis: Add dbus source headers to the build environment. Damir Jelić 2019-05-02 16:33:12 +02:00
  • 7f8d18d857 daemon: Handle json errors in the sync and messages methods. Damir Jelić 2019-05-02 14:49:24 +02:00
  • a996d4acd3 daemon: Don't use the text method to get the content. Damir Jelić 2019-05-02 14:46:53 +02:00
  • d90eebf1e0 daemon: Remove redundant or clause. Damir Jelić 2019-05-02 14:44:25 +02:00
  • e84bcea389 pantalaimon: Catch all aiohttp client connection errors. Damir Jelić 2019-05-02 13:49:48 +02:00
  • f1fefb952c daemon: Buffer the sync response if there are decryption failures. Damir Jelić 2019-05-02 13:30:31 +02:00
  • 46aa303654 client: Clear the synced event when we start the loop. Damir Jelić 2019-05-02 13:28:41 +02:00
  • ba28580aca client: Replace undecryptable megolm events with an error message. Damir Jelić 2019-05-02 13:27:50 +02:00
  • db43c3efbd client: Request room keys if we're unable to decrypt a megolm event. Damir Jelić 2019-05-02 12:09:49 +02:00
  • 7d58da93f9 client: No need to mark to-device messages as sent anymore. Damir Jelić 2019-04-30 18:15:39 +02:00
  • 0972be29c1 client: Allow other event types to be decrypted. Damir Jelić 2019-04-30 14:47:21 +02:00
  • 7bb47092ff ui: Disable device updates for now. Damir Jelić 2019-04-30 13:08:22 +02:00
  • da552973ff daemon: Overide the filter API endpoint. Damir Jelić 2019-04-30 13:07:11 +02:00
  • 90a87460e8 client: Use user lazy loading. Damir Jelić 2019-04-29 16:56:50 +02:00
  • 94e6058ef4 daemon: Handle connection errors when doing requests. Damir Jelić 2019-04-29 16:53:31 +02:00
  • 253424b8c3 daemon: Make the query parameters always editable in forward_request(). Damir Jelić 2019-04-29 13:15:21 +02:00
  • 3671660e64 daemon: Send out non-encrypted messages as well using pan's token. Damir Jelić 2019-04-29 13:13:00 +02:00
  • 17a20195c0 daemon: Use pan's token to perform client syncs. Damir Jelić 2019-04-29 12:58:59 +02:00
  • 7a2ee980ff client: Handle key verification exceptions. Damir Jelić 2019-04-29 09:49:42 +02:00
  • 776f6e37d8 travis: Switch to the new olm lib location. Damir Jelić 2019-04-28 21:21:57 +02:00
  • 7aa7014431 client: Handle SAS key verification. Damir Jelić 2019-04-28 21:17:10 +02:00
  • 3e67010278 client: Don't check for the room id until we know it's a valid event. Damir Jelić 2019-04-28 21:16:14 +02:00
  • 0a1008a127 client: Send out outgoing to-device messages. Damir Jelić 2019-04-28 21:15:14 +02:00
  • 2c218bfd04 client: Handle server disconnect exceptions. Damir Jelić 2019-04-28 21:13:19 +02:00
  • 5f124806d8 pantalaimon: Add a Cli dbus based client. Damir Jelić 2019-04-22 21:28:15 +02:00
  • e43b8c750c ui: Expose key imports from the dbus API. Damir Jelić 2019-04-18 16:56:53 +02:00
  • 2bb6ac7196 daemon: Change the working dir to our homedir. Damir Jelić 2019-04-18 15:53:25 +02:00
  • 3c09dbc80a ui: Expose key exports on the dbus API. Damir Jelić 2019-04-18 15:52:21 +02:00
  • 8f57e42c2c ui: Change the name of the Users dbus class. Damir Jelić 2019-04-18 14:12:31 +02:00
  • daacd340f9 ui: Allow devices to be unverified over the dbus API. Damir Jelić 2019-04-18 14:01:57 +02:00
  • 2ae5e181bc setup: Add janus to the dependencies. Damir Jelić 2019-04-18 13:11:07 +02:00
  • 09bd6ddbde ui: Change the log message to not mention dbus. Damir Jelić 2019-04-18 13:10:51 +02:00
  • e32a73a011 daemon: Allow device verification over the dbus API. Damir Jelić 2019-04-18 13:01:10 +02:00
  • 1613a2fa5a pan: Move the dbus code into a separate file. Damir Jelić 2019-04-18 11:43:07 +02:00
  • 7038462e01 daemon: Expose daemon users and user devices over a dbus interface. Damir Jelić 2019-04-17 13:32:32 +02:00
  • 42fc14ee35 client: Only wait for the task to be canceled if it's started. Damir Jelić 2019-04-17 13:31:55 +02:00
  • 827549ab7c client: Handle connection errors in the client. Damir Jelić 2019-04-17 13:31:37 +02:00
  • 444cf64fb5 daemon: Use the system keyring to store access tokens. Damir Jelić 2019-04-17 13:30:54 +02:00
  • ea33359daa store: The daemon clients need to be per homeserver. Damir Jelić 2019-04-12 17:59:30 +02:00
  • d1090a714a daemon: Add key export/import commands. Damir Jelić 2019-04-12 16:18:26 +02:00
  • f2907b1811 daemon: Handle the room/messages endpoint. Damir Jelić 2019-04-12 14:19:37 +02:00
  • 1bbf38e240 daemon: Store and restore client info of our children. Damir Jelić 2019-04-11 16:59:37 +02:00
  • 700510aa36 travis: Bump the version of the Olm C lib. Damir Jelić 2019-04-11 14:30:46 +02:00
  • 88757965cd client: Small docfix. Damir Jelić 2019-04-11 14:23:48 +02:00
  • c57b4c1210 daemon: Catch content type errors. Damir Jelić 2019-04-11 14:23:32 +02:00
  • b1444568d4 daemon: Save and restore daemon clients. Damir Jelić 2019-04-11 14:22:55 +02:00
  • 25f30f2e36 client: Use a sqlitestore for our client. Damir Jelić 2019-04-11 14:21:39 +02:00