summaryrefslogtreecommitdiff
path: root/poezio/core/core.py
AgeCommit message (Collapse)Author
2022-08-21mypy: Type some more thingsEmmanuel Gil Peyrot
This lets us pass under mypy 0.971, and is yet another step towards mypyc compatibility perhaps.
2022-04-06core: Log InvalidCABundle error in info bufferMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23internal: make command_say asyncmathieui
2022-03-01impromptu: types, fstrings, namingMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01impromptu: wait for subject instead of self-presenceMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01impromptu: Ensure a room is empty before joiningMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-25clean: remove unused importsmathieui
2021-12-25impromptu: pronounceable MUC namesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-24impromptu: add room jid in invite info messageMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-24impromptu: Wait for the self-presence to configure and inviteMaxime “pep” Buquet
MucTab.join doesn't allow us to wait until we are fully joined to a MUC, causing races between the MUC creation and configuration, making it impossible for invited users to join the MUC. This adds a disposable event (discarded after first use) that listens on the self-presence on the generated JID. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-11Replace asyncio.ensure_future() with asyncio.create_task()Emmanuel Gil Peyrot
The latter function got introduced in Python 3.7, which is conveniently our MSPV, so let’s use that.
2021-07-02fix: improve typingmathieui
preliminary to more typing added to slixmpp, fix things in advance
2021-04-17fix: allow certificate confirm dialog resizemathieui
fixes #3371
2021-04-16internal: remove the xep-0319 implementationmathieui
It is not privacy-friendly and not performance-friendly to have more code called on each input when in "available" status
2021-04-15fix: tell pylint I know the curses module bettermathieui
2021-04-15fix: make mypy happiermathieui
conflict between the "tabs" module name and "tabs" Core attribute, mostly
2021-04-15internal: add more annotation and remove unused attributesmathieui
2021-04-15internal: add a different class for UI messagesmathieui
2021-04-15fix: display issue when changing show_timestamps valuemathieui
2021-04-11typing: fix a bunch of type errorsmathieui
add more annotations
2021-04-11internal: remove more global state from configmathieui
2021-04-11refactor: move argument parsing away from config.pymathieui
global state--
2021-04-02logging: Remove the "typ" passing when adding or logging messagesmathieui
2021-04-02refactor: only init core wins after the curses initmathieui
2021-04-02make pylint happymathieui
(for now)
2021-04-02fix: tons of type errorsmathieui
2021-04-02refactor: rewrite config.get() to getbool, getstr, getint…mathieui
2021-03-14fix: pylint bogus errorsmathieui
2021-03-14fix: bad error handling when checking bookmarks storagemathieui
2021-03-13Add missing ensure_future to bookmarks.save() callsmathieui
2021-02-27misc: wrap some calls in ensure_future to prepare for slix API changemathieui
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-17muc: remove non-deterministic nick colorsmathieui
2021-02-09Remove activity/mood/gaming/tune from poezio coremathieui
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-03invite: remove callback and force impromptu rooms to use mediatedmathieui
2021-02-03Use async properly on session startmathieui
2021-01-28core: move initial commands in a separate filesmathieui
(improve core.py SNR)
2021-01-28Move get_error_message to commonmathieui
2020-12-12from __future__ import annotationsEmmanuel Gil Peyrot
Now that our baseline is Python 3.7, we can rely on type annotations to be lazily evaluated.
2020-06-01mypy: Reduce errors on muctab.py by a lotmathieui
2020-05-24Add a check for terminals not supporting 256 colorsmathieui
2020-05-23Core: dedup some codemathieui
2020-05-12Add keyboard action to go to room by unique prefixJonas Schäfer
This is especially useful in combination with the newly introduced `unique_prefix_tab_names` config option. It has no default binding.
2020-05-12Add /wup commandJonas Schäfer
The `/wup` command selects a tab by the prefix of its name only. The `/win` will do a substring match based on the first tab going from the current tab which matches the substring. This can be confusing, especially since `/win` matches on different types of tab "names" not only on the name which is shown in the info bar by default. The `/wup` command exclusively matches based on the prefix of the tab.name string. This has the advantage that it is consistent, deterministic and independent of the currently selected tab.
2020-05-10Move /deny and /remove to global scope as wellmathieui
2020-05-10Fix completion and function names for /accept and /addmathieui
2020-05-09Pass a message to add_message instead of messed up kwargs everywheremathieui
Changes LOTS of things
2020-05-09Rewrite part of the message handling/renderingmathieui
2020-04-11plugins: Add dependencies supportMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-29cElementTree has been deprecated since Python 3.3 and removed in Python 3.9.Karthikeyan Singaravelan
2020-03-29display a delayed reconnect info, needs slixmpp!35Georg Lukas