summaryrefslogtreecommitdiff
path: root/poezio
AgeCommit message (Collapse)Author
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>
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>