Commit graph

3976 commits

Author SHA1 Message Date
c974114955 Fix #2280: Allow /affiliation to list all affiliations
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-29 16:25:39 +02:00
mathieui
854bb0cedb Merge branch 'fix-reconnect' into 'master'
Fix 'disconnected' event handler order for /quit

See merge request poezio/poezio!73
2020-03-29 16:21:32 +02:00
mathieui
4c3b3e869e Merge branch 'invitation' into 'master'
invitation: QR plugin to show invitations

See merge request poezio/poezio!62
2020-03-29 16:17:00 +02:00
Georg Lukas
7a93017beb Fix 'disconnected' event handler order for /quit 2020-03-29 16:09:25 +02:00
e4c055a65e Merge branch 'fix-reconnect' into 'master'
display a delayed reconnect info, needs slixmpp!35

See merge request poezio/poezio!72
2020-03-29 15:26:12 +02:00
Georg Lukas
4f5ccb30f8 display a delayed reconnect info, needs slixmpp!35 2020-03-29 14:27:47 +02:00
Emmanuel Gil Peyrot
cd0c2de8b7 plugins/disco: Add support for querying with a custom node, and disco#items.
This can be useful in some cases.
2020-03-28 20:21:23 +01:00
2101439e86 Merge branch 'plugin-debug' into 'master'
Plugin debug

See merge request poezio/poezio!70
2020-03-26 00:33:55 +01:00
dae4aeb3bb
poezio/plugin_manager: add debug when loading plugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-25 23:42:26 +01:00
645707652b plugins/reorder: satisfy linter
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-25 17:24:33 +01:00
Link Mauve
b2e6d29c4c Merge branch 'master' into 'master'
Master

See merge request poezio/poezio!69
2020-03-20 17:14:32 +01:00
Célestin Matte
cd2adbbc3b Update remove_get_trackers plugin to only detect GET parameters in a URL context 2020-03-20 17:10:56 +01:00
Célestin Matte
9df7a439e8 Add remove_get_trackers plugin
Signed-off-by: Célestin Matte <celestin.matte@gmail.com>
2020-03-20 17:10:55 +01:00
a5b202ac16 Merge branch 'doc-typo' into 'master'
doc: typo in code snippet

See merge request poezio/poezio!68
2020-02-17 03:31:59 +01:00
f002cc9b1a
doc: typo in code snippet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-17 03:27:03 +01:00
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