Commit graph

4333 commits

Author SHA1 Message Date
615120c761
poezio/core/handlers: Use Config from Core
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-31 16:13:28 +02:00
b56cfbafd9
poezio/core/commands: Use Config from Core
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-31 16:07:11 +02:00
b889b3329f
poezio/core/completions: Use Config from Core
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-31 16:03:43 +02:00
b53d99044f
poezio: Pass in Config object from Core
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-31 16:00:18 +02:00
52322cf09d
poezio/core/core: Prepare for global config removal
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-31 15:52:25 +02:00
76b3f30dd4
poezio/connection: Prepare for global config removal
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-31 13:56:13 +02:00
e74ff9c33c
poezio/bookmarks: Prepare for global config removal
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-31 13:52:41 +02:00
1575e7c8aa roezio/config: move set method alongside get
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-30 15:33:32 +02:00
b7bfa835c9 roezio/config: Builder pattern
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-29 23:02:43 +02:00
cc19b20469 roezio/config: Don't repeat trim().to_lowercase() on key/section
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-29 23:02:43 +02:00
1dbb7b540e roezio/config: Remove custom Debug impl
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-29 23:02:43 +02:00
6bd09bae4a roezio: Add missing copyright header
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-29 23:02:43 +02:00
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