Commit graph

4333 commits

Author SHA1 Message Date
e478ea5328 Add poopt.pyi
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-07 17:35:07 +02:00
Emmanuel Gil Peyrot
5073eca1b4 Remove the cffi version of poopt
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-07 17:34:56 +02:00
30c1dc7812 Add autocolor_tab_names to config and changelog
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-06 20:30:33 +02:00
Jonas Schäfer
8b13d3c572 Colourize tab name in its infobar
This is for faster learning the colour <-> tab association and to
see quickly in which tab you’re currently in.
2022-04-06 20:30:33 +02:00
Jonas Schäfer
7b99fcfb2f Add option to use XEP-0392 for tab names/numbers in the infobar
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-06 20:30:33 +02:00
Jonas Schäfer
be7542b8c8 Add explicit color flag for reverse video mode
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-06 20:30:33 +02:00
925bf01bf5
appdata: mention OMEMO
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-06 20:19:58 +02:00
b0c3998537 Abort reflection in 1:1 with own jid
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-06 11:07:57 +02:00
1338fcf9b9 core: Log InvalidCABundle error in info buffer
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-06 10:41:04 +02:00
12af2c5e47 ConversationTab: don't display comma in /info if no status
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-05 18:18:40 +02:00
mathieui
2005ed6ae0 fix: add missing awaits in carbons handling 2022-04-03 17:02:53 +02:00
742063058e
connection: Update log.error for xep_0454
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-01 13:17:16 +02:00
79a62bbd53
doc: Move default_muc_service out of security category
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-01 00:41:55 +02:00
d90c65d8e3 Update sticker-picker license to GPL
With Link Mauve's permission.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31 14:00:55 +02:00
b9db048391 README: Change zlib badge to GPL-3.0-or-later
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31 14:00:55 +02:00
23b550e549 Change license for (some previous and) future revisions to GPL-3.0-or-later
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-31 14:00:55 +02:00
b7ae221e0e
OneToOneTab: convert init_logs to async
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31 11:53:34 +02:00
afae226562
PrivateTab: Display initial message when no use_log
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31 11:52:27 +02:00
d2048068b2
PrivateTab: pass in 'initial' argument to parent class for logger
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31 11:22:23 +02:00
1322c2b1c8
plugins/marquee: Ensure a message is sent before correcting
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-29 15:54:51 +02:00
4f9e734a7f plugins/disco: get_items doesn't have a cached parameter
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-28 15:20:40 +02:00
mathieui
41a45068a4 Filter MUC PMs in MAM
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-28 13:45:28 +02:00
a224d8820f doap: update 384 support notes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-27 20:54:15 +02:00
94d4f382f9
Update Changelog
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-24 21:18:18 +01:00
2a9c67501a
plugins/upload: use correct tab attribute name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 21:46:17 +01:00
Emmanuel Gil Peyrot
3f70986d57 logger: Remove unused function 2022-03-23 17:35:16 +01:00
f4ce42c8c7 poezio/connection: register xep_0454
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 16:44:27 +01:00
3c7961dff7 plugins/upload: send encrypted if e2ee enabled on tab
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 16:44:27 +01:00
5caf2587f6 chattab: add e2e_encryption property
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 16:44:27 +01:00
cb50120d87
plugins/contact: use f-strings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 16:10:36 +01:00
e010abcd95
plugins/contact: Move error handling where the error actually happens
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 16:10:05 +01:00
mathieui
def167791d fix: do not triplicate messages on /message tab openings
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-23 15:38:00 +01:00
mathieui
6174ca70d9 internal: make command_say async 2022-03-23 15:38:00 +01:00
d6de6dccfa
Update CHANGELOG
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 18:11:56 +01:00
19c8590790 plugin_e2ee: Allow /<name>_fingerprint in RosterInfoTab without argument
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 17:45:30 +01:00
3c7fb0b792 plugin_e2ee: rework fingerprint display slightly
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 17:45:30 +01:00
433d5e6f76 plugin_e2ee: new format_fingerprint method to be overriden by plugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 17:45:30 +01:00
b2de905464 plugin_e2ee: get_fingerprint is now async
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 17:45:30 +01:00
93c03c2b7e
Add py.typed
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 17:20:37 +01:00
afaee7e7ec
plugins/b64: specify supported_tab_types; Fix type in plugin_e2ee
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-17 00:13:44 +01:00
dc894b9849
plugin_e2ee: Ensure supported_tab_types is specified in plugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-17 00:11:07 +01:00
9168b577cd
plugins/b64: change encrypt signature, fix import order
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 23:33:16 +01:00
c9bc30d587 plugins/b64: adapt to E2EEPlugin.decrypt sign change
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
a9e9c6d38f Changelog: E2EEPlugin changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
87cb79aa71 plugin_e2ee: _decrypt_wrapper doesn't need a return type
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
191702a185 plugin_e2ee: Ensure all encrypted messages we handle are processed
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
c202e8e2f3 plugin_e2ee: Use f-string
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
b9abd60673 plugin_e2ee: Add TODO in _encrypt filter
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
cfa1bfc5b2 plugin_e2ee: quit _encrypt filter as soon as we seen encrypted tags
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
c4ce439483 plugin_e2ee: allow normal message to pass through again when not encrypting
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00