summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2022-01-29ci: fix mypy analysismathieui
2022-01-29Fix /color completionBastien Orivel
For some reason 3b5e3964699f6e5eee05ac3d62847d782a9fe135 changed the completion function for /color to be the one for recolor
2021-12-25impromptu: pronounceable MUC namesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-25Handle logging <destroy/> with no reason nor altroomMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-24impromptu: add room jid in invite info messageMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-24impromptu: Wait for the self-presence to configure and inviteMaxime “pep” Buquet
MucTab.join doesn't allow us to wait until we are fully joined to a MUC, causing races between the MUC creation and configuration, making it impossible for invited users to join the MUC. This adds a disposable event (discarded after first use) that listens on the self-presence on the generated JID. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-24destroy_room: Allow empty altroom argumentMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-22Log <destroy/> payload in the info bufferMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-22/disco plugin: Add error handlingEmmanuel Gil Peyrot
It was missing.
2021-12-14/upload to original tab and not current tab (thanks jonas)"Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-11fix: do not crash on bookmarks without a nicknameGeorg Lukas