summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-20Add remove_get_trackers pluginCélestin Matte
Signed-off-by: Célestin Matte <celestin.matte@gmail.com>
2020-02-17Merge branch 'doc-typo' into 'master'Maxime Buquet
doc: typo in code snippet See merge request poezio/poezio!68
2020-02-17doc: typo in code snippetMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-17Merge branch 'plugins-entrygroup' into 'master'Maxime Buquet
plugins: Allow entry_points to be registered See merge request poezio/poezio!67
2020-02-17plugins: doc for external plugins/entry pointsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-17plugins: Allow entry_points to be registeredMaxime “pep” Buquet
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-16Merge branch 'doc-omemo' into 'master'Maxime Buquet
doc: Add link to external OMEMO plugin See merge request poezio/poezio!66
2020-02-16doc: Add link to external OMEMO pluginMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-07Merge branch 'mam-fix-disco' into 'master'Maxime Buquet
mam: disco before query only if groupchat See merge request poezio/poezio!65
2020-02-07mam: disco before query only if groupchatMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-04Merge branch 'load-traceback' into 'master'Maxime Buquet
load, unload: prevent Traceback when not enough parameters are specified See merge request poezio/poezio!64
2020-02-04load, unload: prevent Traceback when not enough parameters are specifiedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-03Merge branch 'logo_svg' into 'master'Maxime Buquet
Add poezio logo as SVG See merge request poezio/poezio!63
2020-02-03Add poezio logo as SVGfiaxh
2020-01-19Merge branch 'pip3' into 'master'Maxime Buquet
doc: list additional required packages, add Debian two-liner See merge request poezio/poezio!61
2020-01-18doc: list additional required packages, add Debian two-linerGeorg Lukas
2020-01-15Merge branch 'pip3' into 'master'Maxime Buquet
doc: explicitly use pip3 See merge request poezio/poezio!60
2020-01-15doc: explicitly use pip3Georg Lukas
2020-01-14Merge branch 'biboumi-carbons' into 'master'Maxime Buquet
Don't ignore carbons if biboumi See merge request poezio/poezio!59
2020-01-12Disco#info barejid instead of domain only on carbonsMaxime “pep” Buquet
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-12Merge branch 'is_known_muc_pm' into 'master'Maxime Buquet
Is known muc pm See merge request poezio/poezio!58
2020-01-12is_known_muc_pm: search into more than MucTabMaxime “pep” Buquet
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-12Some more typing for is_known_muc_pmMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-12Merge branch 'privatetab-creation-traceback' into 'master'Maxime Buquet
Prevent Traceback when receiving MUC-PM carbons under some conditions See merge request poezio/poezio!57
2020-01-12Prevent Traceback when receiving MUC-PM carbons under some conditionsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-11Merge branch 'e2ee-muc' into 'master'Maxime Buquet
Prevent plugin_e2ee from sending empty JID as recipient See merge request poezio/poezio!56
2020-01-11plugin_e2ee: Remove debug logging of encrypted messagesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-11plugin_e2ee: prevent empty JID from being passed to pluginMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-02Merge branch 'rm-foo-logging' into 'master'mathieui
BasePlugin: Remove debug logging See merge request poezio/poezio!55
2020-01-01BasePlugin: Remove debug loggingMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-01Merge branch 'e2ee-muc' into 'master'Maxime Buquet
E2ee muc See merge request poezio/poezio!53
2020-01-01E2EE MUC supportMaxime “pep” Buquet
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>
2019-12-31Allow encryption in normal messagesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-31E2EEPlugin: Mute some lint warnings because of metaclassMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-31Tabs: add by_jid search method for tabs who have a jid attrMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-30Add TODO in plugin_e2ee _decryptMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-28Merge branch 'plugin-omemo' into 'master'Maxime Buquet
E2EE plugins support See merge request poezio/poezio!18
2019-12-28Disable a pylint error on a line (due to __getattr__ override)mathieui
2019-12-27omemo: omemo_plugin moved to its own repository for licensing purposesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27omemo: Add TODO for unverified stateMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27omemo: remove unnecessary newline in docstringMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27omemo: prevent traceback when no JID is specified in non-supported tabMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27omemo: use dedicated method to check if encryption is enabledMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27omemo: use jid property instead of name on chat tabMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27omemo: Update decrypt_message with slixmpp-omemo changesMaxime “pep” Buquet
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-27omemo: Update get_fingerprints with slixmpp-omemo changesMaxime “pep” Buquet
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-27omemo: fix show_fingerprints (JID instead of str)mathieui
2019-12-27omemo: implement get_fingerprints methodMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27omemo: add an api in plugin_e2ee to get the fingerprint(s) of a jidmathieui
2019-12-27omemo: fix an indent error and make mypy happymathieui