Damir Jelić
3671660e64
daemon: Send out non-encrypted messages as well using pan's token.
2019-04-29 13:13:00 +02:00
Damir Jelić
17a20195c0
daemon: Use pan's token to perform client syncs.
...
The clients need to use pan's sync token so the transaction ids in the
sync response don't get lost since sending happens using pan's device
and token.
2019-04-29 12:58:59 +02:00
Damir Jelić
7a2ee980ff
client: Handle key verification exceptions.
2019-04-29 09:49:42 +02:00
Damir Jelić
776f6e37d8
travis: Switch to the new olm lib location.
2019-04-28 21:21:57 +02:00
Damir Jelić
7aa7014431
client: Handle SAS key verification.
...
This adds the ability to receive and accept SAS key verification.
The verification process is accepted automatically for now.
2019-04-28 21:17:10 +02:00
Damir Jelić
3e67010278
client: Don't check for the room id until we know it's a valid event.
2019-04-28 21:16:14 +02:00
Damir Jelić
0a1008a127
client: Send out outgoing to-device messages.
2019-04-28 21:15:14 +02:00
Damir Jelić
2c218bfd04
client: Handle server disconnect exceptions.
2019-04-28 21:14:57 +02:00
Damir Jelić
5f124806d8
pantalaimon: Add a Cli dbus based client.
2019-04-22 21:28:15 +02:00
Damir Jelić
e43b8c750c
ui: Expose key imports from the dbus API.
2019-04-18 16:56:53 +02:00
Damir Jelić
2bb6ac7196
daemon: Change the working dir to our homedir.
2019-04-18 15:53:25 +02:00
Damir Jelić
3c09dbc80a
ui: Expose key exports on the dbus API.
2019-04-18 15:52:21 +02:00
Damir Jelić
8f57e42c2c
ui: Change the name of the Users dbus class.
2019-04-18 14:12:31 +02:00
Damir Jelić
daacd340f9
ui: Allow devices to be unverified over the dbus API.
2019-04-18 14:01:57 +02:00
Damir Jelić
2ae5e181bc
setup: Add janus to the dependencies.
2019-04-18 13:11:07 +02:00
Damir Jelić
09bd6ddbde
ui: Change the log message to not mention dbus.
2019-04-18 13:10:51 +02:00
Damir Jelić
e32a73a011
daemon: Allow device verification over the dbus API.
2019-04-18 13:01:10 +02:00
Damir Jelić
1613a2fa5a
pan: Move the dbus code into a separate file.
2019-04-18 11:43:07 +02:00
Damir Jelić
7038462e01
daemon: Expose daemon users and user devices over a dbus interface.
2019-04-17 14:20:54 +02:00
Damir Jelić
42fc14ee35
client: Only wait for the task to be canceled if it's started.
2019-04-17 14:20:54 +02:00
Damir Jelić
827549ab7c
client: Handle connection errors in the client.
2019-04-17 14:20:54 +02:00
Damir Jelić
444cf64fb5
daemon: Use the system keyring to store access tokens.
2019-04-17 14:20:54 +02:00
Damir Jelić
ea33359daa
store: The daemon clients need to be per homeserver.
2019-04-12 17:59:30 +02:00
Damir Jelić
d1090a714a
daemon: Add key export/import commands.
2019-04-12 16:18:26 +02:00
Damir Jelić
f2907b1811
daemon: Handle the room/messages endpoint.
2019-04-12 14:19:37 +02:00
Damir Jelić
1bbf38e240
daemon: Store and restore client info of our children.
2019-04-11 16:59:37 +02:00
Damir Jelić
700510aa36
travis: Bump the version of the Olm C lib.
2019-04-11 14:30:46 +02:00
Damir Jelić
88757965cd
client: Small docfix.
2019-04-11 14:23:48 +02:00
Damir Jelić
c57b4c1210
daemon: Catch content type errors.
2019-04-11 14:23:32 +02:00
Damir Jelić
b1444568d4
daemon: Save and restore daemon clients.
2019-04-11 14:22:55 +02:00
Damir Jelić
25f30f2e36
client: Use a sqlitestore for our client.
2019-04-11 14:21:39 +02:00
Damir Jelić
8748fec979
Makefile: Add a target to run the daemon.
2019-04-11 14:20:38 +02:00
Damir Jelić
5151095740
client: Fix the gracefull shutdown of a client.
2019-04-11 14:20:09 +02:00
Damir Jelić
5001f2fc12
tox: Install pytest-cov for the coverage reporting.
2019-04-10 15:08:08 +02:00
Damir Jelić
928b65beee
tox: Fix typo in the pytest command.
2019-04-10 14:52:11 +02:00
Damir Jelić
78041c7a6a
daemon: Mypy fixes.
2019-04-10 14:46:11 +02:00
Damir Jelić
25a36a6d47
Makefile: Add typecheck and coverage targets.
2019-04-10 14:45:48 +02:00
Damir Jelić
488e994fa7
tox: Run the coverage collection for the right project.
2019-04-10 14:40:00 +02:00
Damir Jelić
d4d4d605a8
setup.py: Depend on matrix-nio from pypi.
2019-04-10 14:30:15 +02:00
Damir Jelić
60df21c575
pantalaimon: Add travis configuration.
2019-04-10 12:43:54 +02:00
Damir Jelić
76e1855701
Makefile: Add an isort check to the test target.
2019-04-10 12:25:21 +02:00
Damir Jelić
51700068b9
pantalaimon: Isort the repo.
2019-04-10 12:25:21 +02:00
Damir Jelić
0bd4562be7
pantalaimon: Add gitignore.
2019-04-10 12:20:09 +02:00
Damir Jelić
d0ba6c26da
pantalaimon: Add tests.
2019-04-10 12:14:00 +02:00
Damir Jelić
4bf5955031
pantalaimon: Add pantalaimon store class.
2019-04-10 12:03:17 +02:00
Damir Jelić
d10a68add1
daemon: Remove some unused imports and variables.
2019-04-10 11:36:37 +02:00
Damir Jelić
d36d2107a9
client: Skip unknown rooms while decrypting.
...
This fixes a crash but the real reason why the room is unknown for
pantalaimons client is if the other sync stream is ahead of
pantalaimons. This will end up in undecryptable messages unless the
client waits for pantalaimon to finish its own sync.
This closes #11 .
2019-04-05 18:40:25 +02:00
Damir Jelić
e2da496f93
client: raise the LocalProtocolError.
2019-04-05 15:33:46 +02:00
Damir Jelić
4ef329df41
daemon: Set the log level for our logger when we set it on the cli.
2019-04-04 19:47:22 +02:00
Damir Jelić
1378dca195
daemon: Decouple the client sync from the daemon sync.
2019-04-04 19:39:44 +02:00