summaryrefslogtreecommitdiff
path: root/poezio/tabs/basetabs.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-03-31OneToOneTab: convert init_logs to asyncMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31PrivateTab: Display initial message when no use_logMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23chattab: add e2e_encryption propertyMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23fix: do not triplicate messages on /message tab openingsmathieui
add a synchronization primitive to avoid /say until the logs are loaded and synced (otherwise we do the /say THEN the message we just sent can be loaded from the archive, while also being displayed)
2022-03-23internal: make command_say asyncmathieui
2022-02-25internal: remove unused get_text_windowmathieui
2022-02-25internal: make the other message handlers asyncmathieui
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-06-26fix: do not silently traceback on mucs without mammathieui
in mucs, there is no "initial message"
2021-06-26fix: race condition in history loadmathieui
2021-06-22Fix the message doubling situationmathieui
Add an "initial" parameter for onetoonetabs, and delay the reception of the message until the sync is done (and possibly ignore the message if it is fetched by the sync). Fixes #3542
2021-04-16fix: composing indicators not showing (fix #3527)mathieui
the fact this even worked in vertical mode was only due to a theming edge case.
2021-04-16fix: available presences in tabsmathieui
2021-04-15fix: display issue when changing show_timestamps valuemathieui
2021-04-11feature: add a mam_sync_limit tab optionmathieui
2021-04-11internal: make mam_sync and use_log use tab-specific optionsmathieui
2021-04-11internal: make the MAMFiller an attribute of ChatTabsmathieui
and fetch logs in conversationtabs and privatetabs
2021-04-11feature: Add a MAM history fillermathieui
2021-04-11feature: add a log loader classmathieui
2021-04-02logging: Remove the "typ" passing when adding or logging messagesmathieui
2021-04-02fix: incompatible type passed to loggermathieui
2021-04-02fix: make Tab.name always a propertymathieui
2021-04-02fix: unify signature of modify_messagemathieui
2021-04-02fix: type errors for GapTabmathieui
2021-04-02fix: unify log_message signaturemathieui
2021-04-02fix: uniformize command_say signaturemathieui
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-13fix: Fix command_xhtmlmathieui
Thanks pylint
2021-02-27basetabs: remove unused importsEmmanuel Gil Peyrot
2021-02-03basetabs: remove useless check_featuresmathieui
2021-02-03basetabs: wrap coroutine commands in ensure_futuremathieui
2020-12-26Stop displaying the traceback when /xhtml fails.Emmanuel Gil Peyrot
Also make the except more restrictive. Fixes #3514.
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-12-12Use the new xep_0045 elements from slixmpp 1.6.0Emmanuel Gil Peyrot
2020-08-14move date and time SHORT_FORMAT and LONG_FORMAT to the themeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-01mypy: Reduce errors on muctab.py by a lotmathieui
2020-05-24Import Message in basetabsmathieui
2020-05-24Fix a type collision between Messagesmathieui
2020-05-23Remove remaining occurences of tab.last_stanza_idmathieui
2020-05-23ChatTab: make set text_win in constructor (typing)mathieui
2020-05-23MAM: many changesmathieui
- Fix color & nicks in one to one chats - Make poezio-facing functions "schedules" to avoid races on tab query state - Rename functions - Use a different behavior when filling a history gap and populating a new tab in a MUC
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-05-09Move message rendering code to Message.render()mathieui
Also: - rename format_chars to FORMAT_CHARS because it’s static constant - move Line, Message, and a few funcs/consts to a new poezio.ui module
2020-05-08Chatstates: add <x/> in MUC-PMsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-01Fix #3518: Add no-store hint to CSNMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>