Commit graph

72 commits

Author SHA1 Message Date
2a346ac48d
Keep track of known bundles on the instance
Since we're raising exceptions often to yield to the client, we need to
keep track of bundles on the object and not just in the method itself.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-24 00:44:46 +02:00
869b11d322
Make session_start handler async and use asyncio helper in it
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-24 00:14:41 +02:00
0e65c68371
Check for publish-options support and add them in devicelist and bundle set operations
Ensure that publish-options are added at the end in the pubsub request,
otherwise it seems to be invalid.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-24 00:13:41 +02:00
0b6ef3a860
Use get_info instead of get_items to get account features
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-23 22:36:43 +02:00
de585a23b2
Unnecessary elif after raise
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-23 12:52:46 +02:00
bf2b2283f5
Use session_start instead of session_bind to ensure we're authenticated
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-22 19:44:21 +02:00
a07c3d9745
Only use publish-options if advertized by the server
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-22 19:43:49 +02:00
c7e54488b7
v0.1.3 release
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-04 18:34:44 +00:00
4da2bf06e9
Prevent accessing list index when no device is available also in _store_device_ids
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-27 23:26:52 +00:00
c753a672f4
setup.py: specify 'packages' value to properly include slixmpp_omemo; remove MANIFEST.in
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-27 09:27:08 +00:00
be9139957c
Prevent accessing list index when no device is available
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-27 09:26:44 +00:00
b5f9eb7e87
Add manifest and bump version
Oops. Forgot to include _some_ files in the tarball..

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-27 09:02:56 +00:00
a72e81c329
xep_0384: Add publish-options when publishing devices and bundles
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-24 12:23:39 +00:00
e9717cd652
xep_0384: explicitely add 0060 as dep as we also depend on it
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-24 11:13:40 +00:00
99fdb6e3fc
xep_0384: rename variable to remove linting warning
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-23 18:34:43 +00:00
032469a05f
xep_0384: Remove unused variable
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-23 18:31:19 +00:00
52e49e9422
xep_0384: pass the correct omemo backend to _parse_bundle
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-23 13:41:56 +00:00
f3d9143bf6
xep_0384: update to using TrustException from the omemo lib
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-19 00:09:16 +00:00
de1ecb730a
Pass the correct variable to public_bundle.serialize
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-17 19:15:18 +00:00
85998773c8
Fix error message whe no data_dir specified
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-17 18:31:26 +00:00
f66f5a8db7
Fix import path of JSONFileStorage
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-17 18:30:31 +00:00
9a3283abf2
Initial split version of this repo
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-17 18:05:43 +00:00