summaryrefslogtreecommitdiff
path: root/poezio
AgeCommit message (Collapse)Author
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-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-30Try to guess CA bundle pathMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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-11fix: do not crash on bookmarks without a nicknameGeorg Lukas
2021-12-11Replace asyncio.ensure_future() with asyncio.create_task()Emmanuel Gil Peyrot
The latter function got introduced in Python 3.7, which is conveniently our MSPV, so let’s use that.
2021-12-11Logger: consolidate a bit of file path creationGeorg Lukas
2021-12-11Logger: jidstr is not a valid JID with MUC-PMsGeorg Lukas
The logger often operates on filenames for log files and assumes that jid == filename, but MUC-PM filenames are `muc@domain\nick` (jidstr) instead of `muc@domain/nick` (jid) and the former is not a valid JID. This patch fixes the places where jid and jidstr are mixed up.
2021-11-16Avoid calling get_theme() more than onceEmmanuel Gil Peyrot
And avoid calling it altogether when no time is passed.
2021-11-15Make message format more configurable around nicksEmmanuel Gil Peyrot
Normal messages were previously hardcoded to 'nick> ', and /me messages to '* nick ', this commit adds three new theme variables to make these configurable.
2021-11-15Add xmpp: URI support to the /join commandEmmanuel Gil Peyrot
2021-08-07plugin_e2ee: handle empty args in /foo_state commandsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-17plugin_e2ee: correctly pass realjid to decrypt call in MUCMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-03fix: remove extra imports in text buffermathieui
2021-07-03fix: do not use raw xml access for slix elementsmathieui
2021-07-02fix: improve typingmathieui
preliminary to more typing added to slixmpp, fix things in advance
2021-06-26fix: do not silently traceback on mucs without mammathieui
in mucs, there is no "initial message"
2021-06-26fix: hack around the time limit for topic messagesmathieui
we cannot have nice things
2021-06-26fix: load less messages on startup/gap fillmathieui
gap filler was called on MUC joins, therefore loading 999 messages instead of the 2 times the screen height
2021-06-26fix: do not use re.match() on existing Pattern objectsmathieui
this is duplicating effort and going through re._compile once more approximately slows down the log parsing by 15%
2021-06-26fix: race condition in history loadmathieui
2021-06-26fix: fallback to server jid in conversationtabmathieui
if there is no userpart and no known nick, it is a server JID
2021-06-25fix: do not include the nick in affiliation changesmathieui
This trips up prosody a bit, and is undefined outside of the member affiliation.
2021-06-22Fix the message doubling situationmathieui
Add an "initial" parameter for onetoonetabs, and delay the reception of the message until the sync is done (and possibly ignore the message if it is fetched by the sync). Fixes #3542
2021-05-25Fix: do not scroll right by default in dataforms/bookmark textmathieui
Seeing "…@muc.example.com" instead of "toto@muc.…" is not really helpful, especially in bookmarks.
2021-05-21muctab: Add a /request_voice for use in moderated roomsEmmanuel Gil Peyrot
It signals moderators that you want to speak.