Commit graph

4307 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
f3a751b395 mypy: Type some more things
This lets us pass under mypy 0.971, and is yet another step towards
mypyc compatibility perhaps.
2022-08-21 20:57:26 +02:00
mjk
940f5e0c8a launch.sh: don't change current working directory 2022-08-02 21:31:56 +02:00
Emmanuel Gil Peyrot
bb2e72663a data: Make the logo square
This is apparently a requirement in flathub nowadays, but it’s also
pretty much a given everywhere else.
2022-08-02 19:26:28 +02:00
mathieui
a906dfdcc0 Improve CI jobs 2022-07-17 20:05:44 +02:00
c0d5d7ab0d
reorder: .values() doesn't return a tuple
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-07-15 14:54:21 +02:00
cac5ef8d0e
Default to using the CA store
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-11 14:56:15 +02:00
237fd74f76
plugin_e2ee: pass on 'own key' information to plugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-07-11 12:24:15 +02:00
bb3cedd57a
plugin_e2ee: ignore incorrect mypy error
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-07-04 12:38:15 +02:00
98ac3a0aaf
plugin_e2ee: fingerprint command defaults to ownjid in MucTab
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-07-03 12:49:06 +02:00
0391057163
plugin_e2ee: log JID when no FPs can be found
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-07-03 12:38:14 +02:00
48101a5b82
doap: update license url
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-05-29 18:40:22 +02:00
61076a2c35 Release 0.14
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-10 17:22:49 +02:00
a55431fbb7 Changelog update
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-10 17:22:49 +02:00
240c951fe6 doap: Update with changes since 0.13
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

fixup doap

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-10 17:22:49 +02:00
f3314b6f57 Add myself to more authors stuff
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-10 17:22:49 +02:00
98c57924d4
Ensure we only ignore our own reflections in 1:1
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-10 17:12:13 +02:00
d9a01bb779
Fixes #3552: Prevent traceback on unhandled tab type (Thanks tofu)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-08 22:13:29 +02:00
304686c62c Add irc changes to changelog
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-08 22:02:18 +02:00
mathieui
3cbfc73923 changelog: add irc fixes 2022-04-08 19:46:12 +02:00
mathieui
4e369910d6 fix: irc plugin defaults 2022-04-08 19:22:41 +02:00
mathieui
980ba4ef55 fix: better types, s/freenode/liberachat/ 2022-04-07 19:36:04 +02:00
mathieui
84070a30c2 config: make the default section dynamic (plugins)
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-07 19:36:04 +02:00
mathieui
8601dc82c5 fix: irc plugin, remove login part and fix types
(biboumi handles login and everything)
2022-04-07 19:36:04 +02:00
fb079be08b Update Changelog with poopt.py removal
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-07 19:10:34 +02:00
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