Commit graph

4091 commits

Author SHA1 Message Date
mathieui
d0551c09ba fix: typing issues in plugins 2021-04-02 17:44:36 +02:00
mathieui
d27895e04e tests: use named parameters for user test 2021-04-02 17:44:36 +02:00
mathieui
14cbbefdde fix; make python 3.7 happy
………
2021-04-02 17:44:36 +02:00
mathieui
90af21f680 fix: forgotten gaptab constructor calls 2021-04-02 17:44:36 +02:00
mathieui
de265268da fix: add back the remove_section() for Config 2021-04-02 17:44:36 +02:00
mathieui
388990bb42 fix: ignore type error for static kwargs 2021-04-02 17:44:36 +02:00
mathieui
2dfb5096b9 fix: incompatible type passed to logger 2021-04-02 17:44:36 +02:00
mathieui
0db73f722f fix: make Tab.name always a property 2021-04-02 17:44:36 +02:00
mathieui
48a5b3e769 fix: last_sent_message for conversation tab 2021-04-02 17:44:36 +02:00
mathieui
6ebffc1dec fix: unify signature of modify_message 2021-04-02 17:44:36 +02:00
mathieui
9b01b9afa1 fix: ignore last_sent_message type
not sure why mypy ignores that everywhere
2021-04-02 17:44:36 +02:00
mathieui
d08ed8d138 fix: ignore typeerrors in tabs when we check beforehand 2021-04-02 17:44:36 +02:00
mathieui
2c12a598aa fix: do not use raw TAB_WIN in bookmarks wins
(wth)
2021-04-02 17:44:36 +02:00
mathieui
43d84a2288 fix: type error after module import
(despite hasattr())
2021-04-02 17:44:36 +02:00
mathieui
7a9df69364 fix: type errors for GapTab 2021-04-02 17:44:36 +02:00
mathieui
a6e33a0c68 fix: windows: drop the DummyWi
now TAB_WIN must be set for a Win to be instanciated
2021-04-02 17:44:36 +02:00
mathieui
9ae60e5899 refactor: only init core wins after the curses init 2021-04-02 17:44:36 +02:00
mathieui
dcd929c9b8 fix: add missing Typevar binding in decorators 2021-04-02 17:44:36 +02:00
mathieui
3391a44206 fix: config, give up on typing Config.get
It is not possible to have a dynamic return type based on what would
come out of a dict AND an optional parameter.
2021-04-02 17:44:36 +02:00
mathieui
5a59eb1d4e fix: unify log_message signature 2021-04-02 17:44:36 +02:00
mathieui
9bd3826fe7 fix: type-ignore last-sent message until mypy makes sense 2021-04-02 17:44:36 +02:00
mathieui
d09d30c52c fix: only call key_enter on commandinput in xmltab 2021-04-02 17:44:36 +02:00
mathieui
9ab0d250f4 fix: uniformize command_say signature 2021-04-02 17:44:36 +02:00
mathieui
71ee1b85aa fix: sax contenthandler import path 2021-04-02 17:44:36 +02:00
mathieui
14c09ce1cd make pylint happy
(for now)
2021-04-02 17:44:36 +02:00
mathieui
4b198be977 fix: tons of type errors 2021-04-02 17:44:36 +02:00
mathieui
bc4f4f1e07 fix: definition of commanddict 2021-04-02 17:44:36 +02:00
mathieui
53633a5c4c refactor: rewrite config.get() to getbool, getstr, getint… 2021-04-02 17:44:36 +02:00
mathieui
b2fbb313ef refactor: Make the poezio config not inherit from configparser 2021-04-02 17:44:36 +02:00
Tomas Hrnciar
acdc601165 Explicitly require setuptools, poezio/config.py and
poezio/plugin_manager imports pkg_resources
2021-04-01 08:44:40 +02:00
Emmanuel Gil Peyrot
12b8af11df muctab: await /invite 2021-03-20 18:22:52 +01:00
mathieui
1de60fb213 fix: poezio_logs script was broken
also add type hints and pep8ify
2021-03-17 18:21:21 +01:00
mathieui
5b6ec15f73 ci: remove allow_failure on pylint job 2021-03-14 12:30:51 +01:00
mathieui
3f7e7bd9ca fix: pylint bogus errors 2021-03-14 12:26:55 +01:00
mathieui
cdae238d76 fix: bad error handling when checking bookmarks storage 2021-03-14 12:26:28 +01:00
mathieui
6b0d393cf8 fix: typing import in multiuserchat 2021-03-13 22:15:42 +01:00
mathieui
b872909579 fix: do not crash on /invitations
(but only if an invalid JID is in there, I guess)
2021-03-13 22:15:42 +01:00
mathieui
45440074ef fix: fix global /last_activity 2021-03-13 22:15:42 +01:00
mathieui
7d40878c0b fix: do not crash on /recolor 2021-03-13 22:15:42 +01:00
mathieui
4c7b23ab68 style: do not override the loaded time module 2021-03-13 22:15:42 +01:00
mathieui
9d3af61bbf fix: Fix command_xhtml
Thanks pylint
2021-03-13 22:15:38 +01:00
mathieui
6f73af71cd Fix a typo in core.structs.__all__ 2021-03-13 21:13:00 +01:00
mathieui
ec6a98e99f Add missing ensure_future to bookmarks.save() calls 2021-03-13 14:00:46 +01:00
mathieui
9c6e89d0e5 plugins: make set_bob async 2021-02-27 13:15:40 +01:00
Emmanuel Gil Peyrot
f0508d8c83 muctab: remove unused imports 2021-02-27 11:19:41 +01:00
Emmanuel Gil Peyrot
85d5b9aeb3 basetabs: remove unused imports 2021-02-27 11:19:41 +01:00
Emmanuel Gil Peyrot
1c5f0d6a4a muc: use slixmpp 0045 plugin to set subject 2021-02-27 11:19:41 +01:00
mathieui
2d1bf7b1dd misc: wrap some calls in ensure_future to prepare for slix API change
Some things need to be rewritten in a cleaner way, and other need to be
directly deleted, but that will need to wait for the slix api change
merge.
2021-02-27 11:10:11 +01:00
mathieui
49820f1460 docs: update distributions 2021-02-23 20:36:41 +01:00
mathieui
ee8a3c1121 muc: remove non-deterministic nick colors 2021-02-17 22:04:20 +01:00