Commit graph

4062 commits

Author SHA1 Message Date
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
mathieui
5a9e143c53 plugins: also update the admin plugin to reflect coroutine changes 2021-02-17 19:10:22 +01:00
mathieui
cfb630edbc muctab: use more coroutines in affiliation/role code 2021-02-17 19:10:22 +01:00
mathieui
0221081b34 irc plugin: Fix the joining code
Make things async
2021-02-16 22:03:10 +01:00
mathieui
67c5bee9da Fix the quote plugin
(broken when refactoring messages)
2021-02-12 18:43:37 +01:00
mathieui
5c6b2adeb2 plugins: add a user_extras plugin with PEP events 2021-02-09 19:16:03 +01:00
mathieui
2cfe56bbbe Remove activity/mood/gaming/tune from poezio core
rationale: probably 0.1% of poezio users have ever used the commands,
and a very small number of users are using the PEP events like that.

It is better to unclutter the poezio source and add it as a plugin,
with less tight coupling.
2021-02-09 19:16:03 +01:00
mathieui
ae0888bd3d Fix #3536: Only use JID in affiliation
add nick if present.
2021-02-08 23:01:41 +01:00
mathieui
6c63cdb509 plugins: fix case of self-message
due to the recent change in conversation_msg
2021-02-08 22:50:07 +01:00
mathieui
35af913662 /join: Fix autobookmarking
(broken when moving bookmarks to async)
2021-02-07 19:49:31 +01:00
mathieui
9894e16045 muctab: fix affiliation list command 2021-02-07 19:45:14 +01:00
Emmanuel Gil Peyrot
ab690bbd50 core commands: make /last_activity async 2021-02-07 19:41:03 +01:00
Emmanuel Gil Peyrot
ac96beb240 core commands: remove all remaining usage of safeJID() 2021-02-07 19:41:03 +01:00
mathieui
3b7e5f93bd link plugin: fix regex for aesgcm and add gemini&gopher 2021-02-05 20:34:16 +01:00
mathieui
46d90bf832 plugins: remove callbacks 2021-02-03 15:22:09 +01:00
mathieui
e2224b938b private/conversationtabs: update /version to be without callback 2021-02-03 15:22:09 +01:00
mathieui
df5a3d0de4 muc: remove callback for tab-specific /version 2021-02-03 15:22:09 +01:00
mathieui
23c1783143 basetabs: remove useless check_features 2021-02-03 15:22:09 +01:00
mathieui
184f354e8d muc: remove get_room_form hack and callbacks 2021-02-03 15:22:09 +01:00
mathieui
341c770b36 invite: remove callback and force impromptu rooms to use mediated 2021-02-03 15:22:09 +01:00
mathieui
048f3d5fd3 core commands: remove uses of callback= 2021-02-03 15:22:09 +01:00
mathieui
19b58d86f5 bookmarks: get rid of callbacks 2021-02-03 15:22:09 +01:00
mathieui
f2aaba982b Move roster commands to async, remove callbacks 2021-02-03 15:22:09 +01:00
mathieui
93c448506a basetabs: wrap coroutine commands in ensure_future 2021-02-03 15:22:09 +01:00
mathieui
695b2ee09a decorators: make decorators work with coroutines
Tried the least ugly solution I could thing of.
2021-02-03 15:22:09 +01:00
mathieui
f5ad5199ae Use async properly on session start 2021-02-03 15:22:09 +01:00
kaliko
262583133e Dereference potential linked launch.sh file
It can be useful to have launch.sh linked somewhere outside the
repository clone. For instance to expose launch.sh in the $PATH.

Exposing launch.sh with a symbolic link outside the git repository
breaks poezio execution through launch.sh. “ cd dirname "$0" ” will get
to the directory holding the link and not within the git repository.
2021-01-30 11:01:20 +01:00
mathieui
9f1e80cd5c Remove force_remote_bookmarks option
It is 2021, servers ought to not be broken that much.
2021-01-29 11:23:31 +01:00
mathieui
b2c846f959 Use typing_extensions for TypedDict 2021-01-29 10:25:00 +01:00
mathieui
233d6d2252 Fix /destroy error cases 2021-01-28 19:03:54 +01:00