Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-07 | mam: disco before query only if groupchat | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2020-02-04 | load, unload: prevent Traceback when not enough parameters are specified | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2020-01-12 | Disco#info barejid instead of domain only on carbons | Maxime “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-12 | is_known_muc_pm: search into more than MucTab | Maxime “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-12 | Some more typing for is_known_muc_pm | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2020-01-12 | Prevent Traceback when receiving MUC-PM carbons under some conditions | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2020-01-11 | plugin_e2ee: Remove debug logging of encrypted messages | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2020-01-11 | plugin_e2ee: prevent empty JID from being passed to plugin | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2020-01-01 | BasePlugin: Remove debug logging | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2020-01-01 | E2EE MUC support | Maxime “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-31 | Allow encryption in normal messages | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-31 | E2EEPlugin: Mute some lint warnings because of metaclass | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-31 | Tabs: add by_jid search method for tabs who have a jid attr | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-30 | Add TODO in plugin_e2ee _decrypt | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-28 | Disable a pylint error on a line (due to __getattr__ override) | mathieui | |
2019-12-27 | omemo: remove unnecessary newline in docstring | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: prevent traceback when no JID is specified in non-supported tab | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: use dedicated method to check if encryption is enabled | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: use jid property instead of name on chat tab | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: fix show_fingerprints (JID instead of str) | mathieui | |
2019-12-27 | omemo: add an api in plugin_e2ee to get the fingerprint(s) of a jid | mathieui | |
2019-12-27 | omemo: fix an indent error and make mypy happy | mathieui | |
2019-12-27 | omemo: fix some errors / feedback in trust setting | mathieui | |
2019-12-27 | omemo: fix the type of the supported tab tyoes | mathieui | |
2019-12-27 | omemo: add supported_tab_types and trust_states plugin attributes | mathieui | |
- supported tab types is a list of tabs this plugin should be active in (only chattabs) - trust_states is a dict[str → set] containing only two keys: accepted and rejected, whose values are the internal plugin states that should allow encryption and the ones that should not | |||
2019-12-27 | omemo: add a wrapper around _encrypt() to handle user feedback | mathieui | |
(yes, another one) | |||
2019-12-27 | omemo: fix indentation of one line | mathieui | |
2019-12-27 | omemo: add missing typing import | mathieui | |
2019-12-27 | Fix potential race condition when encrypting | mathieui | |
(do not try to rely on the current tab) | |||
2019-12-27 | Add a "passthrough" parameter for calls through the safetymetaclass | mathieui | |
So errors don’t get caught | |||
2019-12-27 | omemo: ensure whitelist includes encryption tag in the correct format | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: handle async encryption methods | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: handle StaticConversationTab as well | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: adapt to new E2EE API | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | Expand the status command, make decryption work, put a hack into the core so ↵ | lumi | |
I can handle messages without bodies. | |||
2019-12-27 | Plugins: use import_module for module in poezio_plugins | mathieui | |
And do not rely on the "module name" to index the plugins, use the intended plugin name instead. | |||
2019-12-22 | WIP: Allow blocking commands in ConversationTab | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-11-21 | core/commands: Move import order to please linter | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-11-21 | Remove safeJID call in destroy_room | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-10-27 | Fix syntax warnings (thanks python 3.8) | mathieui | |
2019-10-27 | Disable pylint on lines dedicated to mypy | mathieui | |
Pylint doesn’t read the typeshed. | |||
2019-10-27 | Type curses windows | mathieui | |
2019-10-27 | Make global objects not Optional | mathieui | |
This reflects reality, despite the default values of the code. We still need a better solution (singleton?). | |||
2019-10-26 | Fix missing typing import | mathieui | |
2019-10-26 | Fix a bug when removing an event handler | mathieui | |
2019-10-26 | Fix #3511 (fix traceback on first bookmark added) | mathieui | |
2019-10-26 | Bookmark: Change jid property to getter/setter to ensure it stays a JID | Maxime “pep” Buquet | |
It's not like static-type checking was a thing in Python nowadays.. (mypy I'm looking at you) Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-10-26 | BookmarksTab: Remove safeJID call | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-10-26 | bookmarks: Bookmark.name should be an str | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-10-18 | Fix pylint errors | mathieui | |
- wrong command path - pylint bug regarding slots |