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
Damir Jelić
ba4ed34941
client: Add a missing await.
2019-05-09 16:49:16 +02:00
Damir Jelić
a560462da7
pacntl: Switch to argparse and add more functionality.
2019-05-09 16:48:29 +02:00
Damir Jelić
6adedbaa0b
panctl: Improve the completions.
2019-05-09 13:47:29 +02:00
Damir Jelić
10bb16b210
panctl: Handle an empty command string properly.
2019-05-09 10:54:42 +02:00
Damir Jelić
1d2d0d6bba
daemon: Use the right queue to send messages.
2019-05-09 10:54:22 +02:00
Damir Jelić
1f548f3a7e
client: Handle client errors while confirming the auth string.
2019-05-09 10:54:01 +02:00
Damir Jelić
de29df75b9
pantalaimon: Refactor out the thread messages.
2019-05-09 10:53:20 +02:00
Damir Jelić
0e421b86a7
man: Fix a typo in the man page for the config file.
2019-05-08 17:47:04 +02:00
Damir Jelić
fbf2b91db2
man: Add a man page for the configuration file.
2019-05-08 17:41:50 +02:00
Damir Jelić
1a8e5ca65d
config: Fix a whitespace issue.
2019-05-08 17:40:16 +02:00
Damir Jelić
8a15ba79e6
contrib: Add example config file.
2019-05-08 16:29:25 +02:00
Damir Jelić
394b25ed5c
contrib: Add systemd service file.
2019-05-08 16:28:52 +02:00
Damir Jelić
61a87075e4
setup.py: Fix the entry point for the daemon.
2019-05-08 16:27:29 +02:00
Damir Jelić
b687f503d4
main: Add a SIGTERM signal handler.
2019-05-08 16:11:07 +02:00
Damir Jelić
cc7b257345
main: Route ui messages to the correct daemon.
2019-05-08 15:47:16 +02:00
Damir Jelić
2946acbd6c
main: Enable ssl configuration again.
2019-05-08 15:00:50 +02:00
Damir Jelić
2127a7cba5
main: Start all the configured servers.
2019-05-08 14:21:38 +02:00
Damir Jelić
0d89987ec1
config: Add the section name to the config class.
2019-05-08 14:20:47 +02:00
Damir Jelić
3d34a26dac
config: Handle some invalid configurations.
2019-05-08 12:43:21 +02:00
Damir Jelić
2987589854
pantalaimon: Add a configuration file for the daemon.
2019-05-08 12:33:42 +02:00
Damir Jelić
65d1401b76
main: Remove unused function.
2019-05-08 10:27:55 +02:00
Damir Jelić
31ab200763
client: Only try to decrypt m.room.encrypted messages in the sync decryption.
2019-05-07 18:38:08 +02:00
Damir Jelić
7318690e2c
daemon: Buffer the messages endpoint if there are undecryptable messages.
2019-05-07 18:37:32 +02:00
Damir Jelić
400c299187
daemon: Add Bearer to the auth header if we're overriding the token.
2019-05-07 18:36:05 +02:00
Damir Jelić
29a49ba120
Makefile: Fix the run-local target.
2019-05-07 18:35:24 +02:00
Damir Jelić
6b8758f2cb
main: Remove cli commands for key export/import.
...
The functionality is now available over dbus.
2019-05-07 15:34:29 +02:00
Damir Jelić
cd5565b4b3
client: Remove unused encrypt function.
2019-05-07 15:00:51 +02:00
Damir Jelić
aa1143328f
client: Remove unused asyncio events.
2019-05-07 14:57:53 +02:00
Damir Jelić
6988a1de95
daemon: The filter query parameter in a sync needs to be a str.
2019-05-07 14:52:01 +02:00
Damir Jelić
cf07cfdc16
client: Use the new AsyncClient functionality from nio for syncing.
2019-05-07 14:44:29 +02:00
Damir Jelić
c96bdea1d3
pantalaimon: Refactor out the daemon start logic into a separate file.
2019-05-07 10:42:40 +02:00
Damir Jelić
e961ff6035
ui: Create a glib class and simplify the shutdown logic.
2019-05-07 10:26:13 +02:00
Damir Jelić
57f3a00a78
client: Switch to the new confirm auth string function.
2019-05-07 09:33:12 +02:00
Damir Jelić
5ef5551977
client: Use the nio provided method to find a SAS object.
2019-05-03 16:09:06 +02:00
Damir Jelić
46ff19ea3c
panctl: Remove unneeded DbusT class.
2019-05-03 14:12:33 +02:00
Damir Jelić
6dd47e7a53
pantalaimon: Rename accept_sas to confirm sas.
2019-05-03 14:01:01 +02:00
Damir Jelić
90ec4e2e96
daemon: Send some messages to the ui thread.
2019-05-03 13:48:28 +02:00
Damir Jelić
103a17998a
panctl: Allow the user to confirm the short auth string.
2019-05-03 13:46:19 +02:00
Damir Jelić
1e04346bcd
travis: Add dbus source headers to the build environment.
2019-05-02 16:33:12 +02:00
Damir Jelić
7f8d18d857
daemon: Handle json errors in the sync and messages methods.
...
A valid 200 response from the server doesn't necessarily mean that the
content will be valid json.
Handle decode errors and return the raw body if we're unable to decode.
2019-05-02 14:49:24 +02:00