summaryrefslogtreecommitdiff
path: root/poezio
AgeCommit message (Collapse)Author
2022-08-21mypy: Type some more thingsEmmanuel Gil Peyrot
This lets us pass under mypy 0.971, and is yet another step towards mypyc compatibility perhaps.
2022-07-11Default to using the CA storeMaxime “pep” Buquet
Depends on slixmpp!209. This prevents us from having to manually add every single ca-certificates paths out there. It does allow users still to use their custom CA. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-07-11plugin_e2ee: pass on 'own key' information to pluginMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-07-04plugin_e2ee: ignore incorrect mypy errorMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-07-03plugin_e2ee: fingerprint command defaults to ownjid in MucTabMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-07-03plugin_e2ee: log JID when no FPs can be foundMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-10Release 0.14v0.14Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-10Ensure we only ignore our own reflections in 1:1Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-07config: make the default section dynamic (plugins)mathieui
Having a fixed default section is not practical, so now use a placeholder value to allow fetching it dynamically. Please don’t name sections '__DEFAULT SECTION PLACEHOLDER__' thank you.
2022-04-07Add poopt.pyiMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-07Remove the cffi version of pooptEmmanuel Gil Peyrot
I originally wrote this one in order to support pypy3, but nobody cares about maintaining it and cpython users regularly use it instead of the C extension, not knowing it is much slower on this Python interpreter.
2022-04-06Colourize tab name in its infobarJonas Schäfer
This is for faster learning the colour <-> tab association and to see quickly in which tab you’re currently in.
2022-04-06Add option to use XEP-0392 for tab names/numbers in the infobarJonas Schäfer
This will autocolour the tabs based on their name (typically the JID) if a new message or highlight occured. If it was a normal new message, the colouring will be subtle (foreground instead of background), otherwise (on a highlight or 1:1 message), the colouring will affect the background and thus stand out much more.
2022-04-06Add explicit color flag for reverse video modeJonas Schäfer
Reverse video mode is useful when using the CCG/XEP-0392 palette. Since we don’t know the true background color and the CCG palette is (presumably) made for a specific background color (range), it can currently only be used as foreground colour against a `-1` background. Reverse video mode also allows it to be used as background colour (with the normal background colour as foreground colour).
2022-04-06Abort reflection in 1:1 with own jidMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-06core: Log InvalidCABundle error in info bufferMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-05ConversationTab: don't display comma in /info if no statusMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-03fix: add missing awaits in carbons handlingmathieui
2022-04-01connection: Update log.error for xep_0454Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31Change license for (some previous and) future revisions to GPL-3.0-or-laterMaxime “pep” Buquet
From this revision on, all changes that were under the following authors' names are also under GPL-3.0-or-later, and not just future changes: - Maxime Buquet (or Maxime “pep” Buquet) Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31OneToOneTab: convert init_logs to asyncMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31PrivateTab: Display initial message when no use_logMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31PrivateTab: pass in 'initial' argument to parent class for loggerMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-28Filter MUC PMs in MAMmathieui
Since prosody returns all of the PMs from the room, regardless of who sent them, we need to filter out messages by full jid here.
2022-03-23logger: Remove unused functionEmmanuel Gil Peyrot
2022-03-23poezio/connection: register xep_0454Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23chattab: add e2e_encryption propertyMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23fix: do not triplicate messages on /message tab openingsmathieui
add a synchronization primitive to avoid /say until the logs are loaded and synced (otherwise we do the /say THEN the message we just sent can be loaded from the archive, while also being displayed)
2022-03-23internal: make command_say asyncmathieui
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-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>