Commit graph

57 commits

Author SHA1 Message Date
86b8aadcb7
Update slixmpp-omemo version requirements because /omemo_reset
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-03 20:41:13 +02:00
b49d60e7ce
reset_session: command args is a str
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-24 20:45:00 +01:00
7854f57c9f
/omemo_reset command behind config flag
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-24 20:20:40 +01:00
86423b59a7
decrypt: use correct signature from poezio.E2EEPlugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-24 16:28:23 +01:00
81ce08d2be Let's actually wait that poezio is released to remove MUC workaround.
This reverts commit 91e52cb724.
2022-03-24 16:28:00 +01:00
8bb0ba7bae
Update Changelog
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 01:18:37 +01:00
5a9daa9db7
implement format_fingerprint method
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 01:16:07 +01:00
b4a03e3034
reorder imports
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 01:15:30 +01:00
28e2807bc7
Fix 0.5.* releases dates
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-20 23:08:43 +01:00
9e25a99316
get_fingerprints is not async
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-20 23:06:57 +01:00
91e52cb724
Remove MUC workaround as new poezio is released
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-20 23:06:39 +01:00
80f2cf74d9
Stop declaring trust states until they're actually handled
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-20 23:05:52 +01:00
edb36a6b37
Remove Python 3.7 and 3.8 in CI and setup.py
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-14 22:48:31 +01:00
4d74fe0684
0.5.1 release
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-14 16:46:51 +01:00
b56a7ab1e9
Update version requirements
Remove poezio as a dependency as this module will be called from poezio
anyway, making this dep a waste of resources.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-14 16:35:50 +01:00
c593b98f8d
ChangeLog: add missing changes for 0.5.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-12 01:53:28 +01:00
45d83f424e
Release version 0.5.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-12 01:51:16 +01:00
fe461a09ea
Reenable auto heartbeats
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-11 12:49:24 +01:00
26fec1630d Revert "Update reference body again"
This reverts commit a38c6ec551.
2022-03-08 19:07:20 +01:00
a79383ee1e
Disable heartbeats for now
This will wait until we merge other changes in poezio and figure out if
it doesn't cause issues.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-28 18:11:30 +01:00
17318815db
Take input when started as the main module
The encoding method that's used is kinda annoying because the data_dir
tree is unreadable. Probably urlencode would have been better.. but now
we'd need to migrate everything.

This provides a quick way to get a JID converted to what we use as
encoding.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-16 18:51:54 +01:00
ec5d502f24
Use f-strings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-16 13:22:10 +01:00
5db76017ed Remove unused variable
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-16 13:21:52 +01:00
a38c6ec551 Update reference body again
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-16 13:21:52 +01:00
d6058156d9
Update for slixmpp-omemo update. API is now mostly async
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-30 14:38:13 +01:00
7243414aa0
Handle body is None case when decrypting
Heartbeats don't have a payload and body will be None here.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-15 12:39:06 +01:00
bab012297a
CI: yamllint
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-15 01:23:46 +01:00
0e19a1cf09
CI: Add py3.{9,10}
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-15 01:23:33 +01:00
f677633c69
Add comment to highlight conflict prevention
We use dark magic to prevent illegal chars on a range of filesystems,
same as the omemo library uses. Maybe that should be abstracted away.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-09-24 10:45:34 +02:00
beb5255cb2
Ensure omemo folder is created with mode 0700
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-28 20:39:52 +02:00
4d9dff5bf5
Update ChangeLog for 0.4.1
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-18 23:47:06 +02:00
0183107d1e
Update copyright year
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-18 23:46:23 +02:00
1e13ffa0bd
Workaround poezio 00a91774; get realjids for MUC
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-17 03:00:26 +02:00
20d0851294
Version 0.4.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-05-20 01:14:35 +02:00
f9d6897293 Merge branch 'muc-reflections' into 'master'
Add a workaround for MUC reflections

See merge request poezio/poezio-omemo!3
2021-01-30 20:06:51 +01:00
mathieui
5fe4e9164f Add a workaround for MUC reflections
with an option for broken muc implementions which change message ids on
the fly.
2021-01-30 20:02:45 +01:00
cc9637b256 Merge branch 'patch-1' into 'master'
Fix AUR links

See merge request poezio/poezio-omemo!2
2020-11-11 21:22:58 +01:00
Link Mauve
b3bf40c910 Fix AUR links
They had an extra python- prefix.
2020-11-11 16:51:42 +01:00
7f2791bd3a
README: more TODO
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-13 02:29:26 +01:00
e220b7f3ef
README: Add TODO
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-13 02:27:58 +01:00
48d71aa8df
Add a note about poezio 0.12 not working with this
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-21 18:52:39 +01:00
c6aedd20f2
Version 0.3.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-20 00:23:59 +01:00
f4dc066c02
Add ChangeLog
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-20 00:23:10 +01:00
42488d6948
Add linting (pylint / mypy)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-17 03:11:22 +01:00
3858d80510
Use setuptools entry_point instead of namespace
Requires poezio update (3577f887).

This simplifies some things for the tooling. No more name conflicts with
the omemo library for one, and no need for an almost empty folder.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-17 03:07:58 +01:00
0a9f1b14fe
except_problems isn't optional
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-16 16:46:19 +01:00
d2bbb2c2bc
Add some more docstrings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-16 16:46:06 +01:00
014fab7b27
README: Add note about experimental state, recommend master
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-16 16:34:41 +01:00
88540420b4
Ensure non-ascii Jids are also converted properly in data dir name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-22 18:18:48 +01:00
f755df9dba
Ensure data path works on most FS
Also following the same changes in python-omemo.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-22 17:42:42 +01:00