summaryrefslogtreecommitdiff
path: root/poezio/core/core.py
AgeCommit message (Collapse)Author
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
2019-12-27Expand the status command, make decryption work, put a hack into the core so ↵lumi
I can handle messages without bodies.
2019-12-22WIP: Allow blocking commands in ConversationTabMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-05Reorganize MAMroot
2019-09-02Eradicate more safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-27Disabled the history on /reconnect, if the tab is still present and has ↵root
messages in it.
2019-08-26Do not run a /part command when disconnecting from poeziomathieui
Use the underlying function instead
2019-08-26Added action parameter in mam_scroll, so that MAM query made on join (or any ↵root
other query) is not considered as 'pageup'
2019-08-24Always feed a JID to open_conversation_windowmathieui
2019-08-22Corrected indentation and coding style.Madhur Garg
2019-08-22Added a call to scroll for 10 messages on initially joining the room.Madhur Garg
2019-07-29Merge remote-tracking branch 'origin/mr/28'Maxime “pep” Buquet
Address multiple reconnect issues. Thanks Ge0rG!