Commit graph

4321 commits

Author SHA1 Message Date
cf8608ab02 roezio: Update PyO3 to 0.17
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-29 23:02:43 +02:00
6e94a57eb9 roezio/config: Split write method and add tests
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-29 23:02:43 +02:00
47530a5506
roezio/config: implement Config.write. Untested
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-26 00:09:45 +02:00
bae5bdae98
roezio/config: implement Config.new
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-25 11:29:37 +02:00
937d30195b
roezio/config: implement ConfigValue::to_*
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-25 10:39:38 +02:00
cc791af917
roezio/config: Make Config.defaults and Config.default_section configurable at instanciation
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-25 10:21:40 +02:00
0b5ed75e90
roezio: first config draft; missing write
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-24 17:56:05 +02:00
5dcccad90b roezio: migrate poezio/xdg.py
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-23 12:22:16 +02:00
5fdcb95e8a roezio: migrate poezio/args.py
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-23 12:22:16 +02:00
Emmanuel Gil Peyrot
c68b00ae24 roezio: Add Python bindings to logs parsing
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-21 21:50:47 +02:00
Emmanuel Gil Peyrot
5346e88840 roezio: Add a logger implementation
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-21 21:47:31 +02:00
Emmanuel Gil Peyrot
6900fbfd9c
roezio: Switch to edition 2021
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-21 21:45:04 +02:00
80553747c2
theming: add Attr::Reverse
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-21 21:36:16 +02:00
429c382f60 roezio: Update nom from 4 to 7.1
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-21 17:19:58 +02:00
8600e053e4 Move to PyO3
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-21 17:19:58 +02:00
Emmanuel Gil Peyrot
eef1d2041d Convert theming to Rust. 2022-08-21 17:19:58 +02:00
6378f6ee6b roezio: rework .gitlab-ci.yml
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-21 17:19:58 +02:00
Emmanuel Gil Peyrot
f8b4ef7698 Add a Rust project. 2022-08-21 17:19:58 +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