summaryrefslogtreecommitdiff
path: root/poezio/tabs/basetabs.py
AgeCommit message (Collapse)Author
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>
2020-04-05/correct: send new-style LMCMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05Read newer LMC rulesMaxime “pep” Buquet
Version 1.1.0 of Last Message Correction (0308) added clarifications that break the way poezio handles corrections. Instead of linking corrections to the previous correction/message as we were doing, we are now required to link all corrections to the original messages. 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
2019-10-27Fix syntax warnings (thanks python 3.8)mathieui
2019-10-27Disable pylint on lines dedicated to mypymathieui
Pylint doesn’t read the typeshed.
2019-10-27Type curses windowsmathieui
2019-10-14basetabs: return a copy of ChatTab.jid to prevent nasty (mutability) ↵Maxime “pep” Buquet
side-effects Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-14basetabs: reorganise importsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-10tabs/basetabs: Document self.query_statusMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-05Reorganize MAMroot
2019-09-05Moved scroll_up code back to basetabs, added amount parameter to change no. ↵root
of msgs per query.
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'