11bb864ec2
Merge branch 'plugins-entrygroup' into 'master'
...
plugins: Allow entry_points to be registered
See merge request poezio/poezio!67
2020-02-17 03:08:55 +01:00
66323e32f0
plugins: doc for external plugins/entry points
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-17 03:03:47 +01:00
3577f8877c
plugins: Allow entry_points to be registered
...
It's currently impractical to use out-of-tree plugins that want to be
distributed via distribution channels.
Poezio now looks for every entry point registered in the
`poezio_plugins` entry group, and will use the first matching module
with the specified name.
This also helps specifically for the OMEMO plugin that has a conflicting
name (omemo / omemo) with the backend library.
Thanks jonas for pointing this out.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-17 02:39:52 +01:00
a2dc6eea42
Merge branch 'doc-omemo' into 'master'
...
doc: Add link to external OMEMO plugin
See merge request poezio/poezio!66
2020-02-16 16:33:53 +01:00
2722a6ef5e
doc: Add link to external OMEMO plugin
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-16 16:27:50 +01:00
a854f77afa
Merge branch 'mam-fix-disco' into 'master'
...
mam: disco before query only if groupchat
See merge request poezio/poezio!65
2020-02-07 16:18:04 +01:00
49d1a425a3
mam: disco before query only if groupchat
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-07 16:13:21 +01:00
afdd43774f
Merge branch 'load-traceback' into 'master'
...
load, unload: prevent Traceback when not enough parameters are specified
See merge request poezio/poezio!64
2020-02-04 14:08:06 +01:00
412aeff6dc
load, unload: prevent Traceback when not enough parameters are specified
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-04 14:00:19 +01:00
5599838f4f
Merge branch 'logo_svg' into 'master'
...
Add poezio logo as SVG
See merge request poezio/poezio!63
2020-02-03 23:03:41 +01:00
fiaxh
6ac7891bb5
Add poezio logo as SVG
2020-02-03 16:34:28 +01:00
Georg Lukas
3c5de0a49f
invitation: display QR code black-on-white
2020-01-21 22:53:28 +01:00
Georg Lukas
612eebb5c3
invitation: QR plugin to show invitations
2020-01-19 19:07:33 +01:00
dc83fd6084
Merge branch 'pip3' into 'master'
...
doc: list additional required packages, add Debian two-liner
See merge request poezio/poezio!61
2020-01-19 00:02:56 +01:00
Georg Lukas
f7c4a13dda
doc: list additional required packages, add Debian two-liner
2020-01-18 23:47:10 +01:00
71d67d7fbd
Merge branch 'pip3' into 'master'
...
doc: explicitly use pip3
See merge request poezio/poezio!60
2020-01-15 17:51:40 +01:00
Georg Lukas
3b0d602fc2
doc: explicitly use pip3
2020-01-15 17:40:06 +01:00
911784a898
Merge branch 'biboumi-carbons' into 'master'
...
Don't ignore carbons if biboumi
See merge request poezio/poezio!59
2020-01-14 10:20:40 +01:00
5e404377d4
Disco#info barejid instead of domain only on carbons
...
There is no apparent reason why a disco#info should be done on the
domain Jid rather than the bare Jid. MUCs advertize their MUC-y-ness on
the bare Jid. This will also fix cases like chat@dino.im which is a MUC
component itself (whereas dino.im is a user host), and biboumi
components that serves a mic of MUCs and (IRC) users.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-12 23:23:17 +01:00
d8f7a61271
Merge branch 'is_known_muc_pm' into 'master'
...
Is known muc pm
See merge request poezio/poezio!58
2020-01-12 17:30:51 +01:00
830a378792
is_known_muc_pm: search into more than MucTab
...
Use new `by_jid` API to search for any tab containing the barejid, and
then look at the type of Tab.
Move the Tab search at the top of the checks so that we stop searching
if we already have done all this work for previous stanzas.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-12 13:28:38 +01:00
0a131fcc5b
Some more typing for is_known_muc_pm
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-12 13:28:38 +01:00
a7ab0cf59d
Merge branch 'privatetab-creation-traceback' into 'master'
...
Prevent Traceback when receiving MUC-PM carbons under some conditions
See merge request poezio/poezio!57
2020-01-12 13:28:12 +01:00
9007b0fc8b
Prevent Traceback when receiving MUC-PM carbons under some conditions
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-12 13:21:44 +01:00
6b2110329b
Merge branch 'e2ee-muc' into 'master'
...
Prevent plugin_e2ee from sending empty JID as recipient
See merge request poezio/poezio!56
2020-01-11 13:23:06 +01:00
09a3cb2152
plugin_e2ee: Remove debug logging of encrypted messages
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-11 12:53:29 +01:00
7f73a664a3
plugin_e2ee: prevent empty JID from being passed to plugin
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-11 12:53:29 +01:00
mathieui
30a7ac052a
Merge branch 'rm-foo-logging' into 'master'
...
BasePlugin: Remove debug logging
See merge request poezio/poezio!55
2020-01-02 00:15:49 +01:00
1184e9c600
BasePlugin: Remove debug logging
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-01 23:51:08 +01:00
e6d2347d93
Merge branch 'e2ee-muc' into 'master'
...
E2ee muc
See merge request poezio/poezio!53
2020-01-01 22:52:28 +01:00
7134716343
E2EE MUC support
...
This change transmits the original JID of the sender (in decrypt) or
receiver(s) (in encrypt).
Handling of MUC is not complete. It is possible that some participants
have access to realjids while others don't (e.g., moderators in
semi-anon MUCs).
The code currently doesn't handle this and this will cause at least two
issues:
- Sending an encrypted message in a semi-anon MUC would reveal the
sender's identity (public key)
- Recipients wouldn't be able to decrypt this message as they don't have
access to the sender's realjid. Unless they already have the bundle
available and then they could associate the public key with a jid
(another privacy issue/defeating the point of semi-anon rooms).
TODO: Fix this ^
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-01 22:36:41 +01:00
92e81d8f87
Allow encryption in normal messages
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-31 11:54:52 +01:00
238eb8a0a1
E2EEPlugin: Mute some lint warnings because of metaclass
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-31 11:54:52 +01:00
323d39f932
Tabs: add by_jid search method for tabs who have a jid attr
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-31 11:54:52 +01:00
28be8ab0cd
Add TODO in plugin_e2ee _decrypt
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-30 05:39:08 +01:00
fa063ddd57
Merge branch 'plugin-omemo' into 'master'
...
E2EE plugins support
See merge request poezio/poezio!18
2019-12-28 22:36:27 +01:00
mathieui
abbb6a714e
Disable a pylint error on a line (due to __getattr__ override)
2019-12-28 16:47:18 +01:00
9e390085a1
omemo: omemo_plugin moved to its own repository for licensing purposes
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27 19:02:09 +01:00
39e756cb35
omemo: Add TODO for unverified state
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27 18:58:48 +01:00
96acbaa13d
omemo: remove unnecessary newline in docstring
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27 18:58:48 +01:00
fb637a597b
omemo: prevent traceback when no JID is specified in non-supported tab
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27 18:58:48 +01:00
c610a76fd9
omemo: use dedicated method to check if encryption is enabled
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27 18:58:48 +01:00
3697e308c2
omemo: use jid property instead of name on chat tab
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27 18:58:48 +01:00
931fc58199
omemo: Update decrypt_message with slixmpp-omemo changes
...
decrypt_message now takes an Encrypted container and a sender (JID)
instead of a Message object.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27 18:58:48 +01:00
ecdd036237
omemo: Update get_fingerprints with slixmpp-omemo changes
...
slixmpp-omemo's get_trust_for_jid doesn't provide fingerprints directly
anymore, it simply wraps the omemo lib method.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27 18:58:48 +01:00
mathieui
e8dd6f0a91
omemo: fix show_fingerprints (JID instead of str)
2019-12-27 18:58:48 +01:00
04efd8ee07
omemo: implement get_fingerprints method
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27 18:58:48 +01:00
mathieui
518ba47e2a
omemo: add an api in plugin_e2ee to get the fingerprint(s) of a jid
2019-12-27 18:58:48 +01:00
mathieui
5c4571751e
omemo: fix an indent error and make mypy happy
2019-12-27 18:58:48 +01:00
mathieui
b40de0bcbe
omemo: fix some errors / feedback in trust setting
2019-12-27 18:58:48 +01:00