summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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-12-11ci: remove pylint jobmathieui
it never works
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-15Documentation: Fix theming docs, the module is namespaced in poezio.Emmanuel Gil Peyrot
Thanks Hund for finding this issue!
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-14doc: Increase emphasis on OMEMO locationMaxime “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-02tests: fix expected get_by_tabname input typemathieui
2021-07-02ci: use mainline mypymathieui
no need to run the custom-built version anymore
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 print a message on a muc not foundmathieui
as we will nott actually create the tab.
2021-06-25tests: run tests on 3.7 through 3.10mathieui
instead of 3.7 and "latest"
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-06-22Update install.rstRaghav Gururajan
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.