summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-23internal: make command_say asyncmathieui
2022-03-21Update CHANGELOGMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21plugin_e2ee: Allow /<name>_fingerprint in RosterInfoTab without argumentMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21plugin_e2ee: rework fingerprint display slightlyMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21plugin_e2ee: new format_fingerprint method to be overriden by pluginMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21plugin_e2ee: get_fingerprint is now asyncMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21Add py.typedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-17plugins/b64: specify supported_tab_types; Fix type in plugin_e2eeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-17plugin_e2ee: Ensure supported_tab_types is specified in pluginMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16plugins/b64: change encrypt signature, fix import orderMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16plugins/b64: adapt to E2EEPlugin.decrypt sign changeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16Changelog: E2EEPlugin changesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16plugin_e2ee: _decrypt_wrapper doesn't need a return typeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16plugin_e2ee: Ensure all encrypted messages we handle are processedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16plugin_e2ee: Use f-stringMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16plugin_e2ee: Add TODO in _encrypt filterMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16plugin_e2ee: quit _encrypt filter as soon as we seen encrypted tagsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16plugin_e2ee: allow normal message to pass through again when not encryptingMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16plugin_e2ee: check all encrypted tags in _decrypt and _encryptMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16plugin_e2ee: drop message if tab is None and doesn't contain encrypted tagMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16plugin_e2ee: let already encrypted messages throughMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-11xhtml: Add a newline after a blockquoteEmmanuel Gil Peyrot
Thanks Maranda.
2022-03-07Don't silently traceback when trying to message someone privately in a MUCsoutherntofu
Using jidstr with slashes "escaped" as backslashes is clever, but _check_and_create_log_dir still expects a parsable JID to check config.
2022-03-01impromptu: types, fstrings, namingMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01impromptu: wait for subject instead of self-presenceMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01impromptu: Ensure a room is empty before joiningMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01plugin_e2ee: ignore mypy failures with passthrough metaclass paramMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01plugin_e2ee: encrypt: also search tabs for barejids if not foundMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01plugin_e2ee: don't fail on tab.jid if tab is NoneMaxime “pep” Buquet
I doubt this is the proper fix, there are still paths that use tab below that. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01plugin_e2ee: allow decrypt call to be asyncMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01fix: do not traceback on encrypted payloads without a tab openmathieui
2022-02-25clean: remove unused importsmathieui
2022-02-25internal: remove unused get_text_windowmathieui
2022-02-25internal: make the other message handlers asyncmathieui
2022-02-25internal: move and split muc message handlingmathieui
2022-02-25bookmark: Add logging on InvalidJidMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-25bookmark nick: Treat empty string as no nickMaxime “pep” Buquet
And prevent the JID() call from failing with InvalidJid because of the empty resource. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-25Ensure /bookmark{,_local} and /join use the proper tab objectMaxime “pep” Buquet
Now that _add_bookmark is async. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-15fix #3553: muclisttab not joiningmathieui
2022-02-11fix default dataform field handling (#3554)mathieui
2022-02-10internal: use async events where possiblemathieui
2022-02-10internal: add a trigger_async method for eventsmathieui
2022-02-10Add a /sticker pluginEmmanuel Gil Peyrot
This plugin currently uploads the selected sticker every time, to the HTTP File Upload service of the server (see XEP-0363), a future optimisation would be to use XEP-0231 instead, for better caching on the recipient side. It relies on a helper tool to select the wanted sticker inside the pack, a sample one is provided in tools/sticker-picker/, but it is not built by default.
2022-02-06fix: remove fixes.has_identity which is now unusedmathieui
2022-02-06internal: make most core.handlers asyncmathieui
add some typing annotations on inputs as well, most are not necessary right now but the end goal is to make poezio internals much more async-friendly than it currently is.
2022-01-30muc: clear the users buffer even if we do not think we are connectedmathieui
2022-01-30ChangeLog: Add impromptu pronouceable namesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-01-30Update changelog for ca_cert_pathMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-01-30Try to guess CA bundle pathMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-01-29ci: fix mypy job setupmathieui