summaryrefslogtreecommitdiff
path: root/poezio/tabs/conversationtab.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-10Ensure we only ignore our own reflections in 1:1Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-06Abort reflection in 1:1 with own jidMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-05ConversationTab: don't display comma in /info if no statusMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31OneToOneTab: convert init_logs to asyncMaxime “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-25clean: remove unused importsmathieui
2022-02-25internal: remove unused get_text_windowmathieui
2022-02-25internal: make the other message handlers asyncmathieui
2022-02-06internal: make most core.handlers asyncmathieui
add some typing annotations on inputs as well, most are not necessary right now but the end goal is to make poezio internals much more async-friendly than it currently is.
2021-07-02fix: improve typingmathieui
preliminary to more typing added to slixmpp, fix things in advance
2021-06-26fix: fallback to server jid in conversationtabmathieui
if there is no userpart and no known nick, it is a server JID
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: split inactive chatstates from message in one to one tabsmathieui
2021-04-15fix: display issue when changing show_timestamps valuemathieui
2021-04-12fix: remove all remaining safejids (fix #3457)mathieui
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-02logging: Remove the "typ" passing when adding or logging messagesmathieui
2021-04-02fix: last_sent_message for conversation tabmathieui
2021-04-02fix: uniformize command_say signaturemathieui
2021-02-03private/conversationtabs: update /version to be without callbackmathieui
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-05-23ChatTab: make set text_win in constructor (typing)mathieui
2020-05-09Pass a message to add_message instead of messed up kwargs everywheremathieui
Changes LOTS of things
2020-04-05/correct: send new-style LMCMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-23Remove display code from command_saymathieui
Use instead the message handler as if we received the message as carbons
2019-04-29ConversationTab: fix undefined reference, missing selfMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27*ConversationTab: Use jid parameter instead of name where appropriateMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-19Refresh tab when information element is added or removedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08Revert work on tabs module to change tab.name to JID.Maxime “pep” Buquet
This reverts commits: d693479d05f1ada999c0e29a9d9e2f021dd59e50 2d0cc092fcd154b2d14be0c5ac0ff338607824a0 89a61b84bdb29d3df8c08436c3484fddba8d2ef1 8194d9afbdec2daa1377e07ebb26bb99406473d0 e256c31875c8b67d85fe30d3e2c14c896066657a a21335ac171a827a613dcce744898e822689c9d3 c96e528a8fd1313f75cb792a8e4826fbcfde1bec 0551867bfdb8dfa7dbd5964a15a1a950510e2c71 6ab49c188a6e5bb95773165f0bdbd672b41c8c81
2019-04-07poezio/tabs: Fix jid types for base tabs contructorsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-24Corrects the functionality of /add command in all tabs. Fixes #3395Madhur Garg
2019-03-19Change 'his/her' to 'their'Kim Alvefur
It's shorter and reads better. Also removes 'its', which might be intented to refer to bots or the like.
2019-03-19Fix various spelling mistakes throughout the codeKim Alvefur
2018-12-16Add /invite for ConversationTab to generate new room with all inviteesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-08-15Fix mypy errors, add type annotationsmathieui
2018-08-12Update the OTR pluginmathieui
make it more restrictive and give some hints
2018-07-21yapf -ripmathieui
2018-03-14Factorise the /version callback and make it handle errorsEmmanuel Gil Peyrot
Fixes #3376.
2018-02-20Update documentation (& formatting)mathieui
- nick colors are not random by default - /close is a useful command
2018-01-13yapf -irmathieui
2017-11-24Remove bogus checks for resource features.Emmanuel Gil Peyrot
2017-11-23Update the documentation to reflect the removal of features.Emmanuel Gil Peyrot
2017-11-23Remove all remote_wants_chatstates logic, keep the stubs.Emmanuel Gil Peyrot
2017-11-23Remove resource locking in DynamicConversationTab.Emmanuel Gil Peyrot
2017-11-12yapf -irmathieui
2017-10-12Fix some excepts (bare, useless, unused)mathieui
2017-10-12Actually fix what the previous commit should have fixedmathieui