Commit graph

39 commits

Author SHA1 Message Date
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
d81c7865a6
Version 0.2.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-01 23:07:31 +01:00
6adbf64a7f
MUC support
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-01 22:53:02 +01:00
05310c104b
Add warning about alpha state of the plugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-29 02:26:14 +01:00
1a55c73d39
Change mention of '/load omemo' to 'plugin_autload' because of poezio/slixmpp-omemo#10
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-29 01:53:34 +01:00
cbf212cab0
Remove handling for UndecidedException and UntrustedException as we always force decrypting even if untrusted
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-28 22:26:10 +01:00
e412506a58
Make no promises for python 3.5/3.6
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-24 21:12:23 +01:00
e82f4aefd4
Initial commit. Import from poezio!18
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-24 20:20:10 +01:00