summaryrefslogtreecommitdiff
path: root/poezio/tabs/privatetab.py
AgeCommit message (Collapse)Author
2021-04-16fix: split inactive chatstates from message in one to one tabsmathieui
2021-04-15fix: confirmtab not spawningmathieui
2021-04-15fix: display issue when changing show_timestamps valuemathieui
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: type-ignore last-sent message until mypy makes sensemathieui
2021-04-02fix: tons of type errorsmathieui
2021-04-02refactor: rewrite config.get() to getbool, getstr, getint…mathieui
2021-02-03private/conversationtabs: update /version to be without callbackmathieui
2021-02-03basetabs: remove useless check_featuresmathieui
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-06-01mypy: Reduce errors on muctab.py by a lotmathieui
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-05-08PrivateTab: extract NS contantMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-08Revert "Revert "tabs/privatetab: Fixes #3491: Add MUC <x/> marker in ↵Maxime “pep” Buquet
MUC-PMs. Thanks Ge0rG."" This reverts commit e9a6ea7a59b0bf08c4f649ce125cb5dae12e1e63.
2020-04-05/correct: send new-style LMCMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-10Revert "tabs/privatetab: Fixes #3491: Add MUC <x/> marker in MUC-PMs. Thanks ↵Maxime “pep” Buquet
Ge0rG." This reverts commit 0bf8727a92b5e2891398d6f3ee7a3669213734ea. It doesn't actually work yet. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-07tabs/privatetab: Fixes #3491: Add MUC <x/> marker in MUC-PMs. Thanks Ge0rG.Maxime “pep” Buquet
From [XEP-0045 §7.5](https://xmpp.org/extensions/xep-0045.html#privatemessage): > To allow for proper synchronization of these messages to the user's > other clients by Message Carbons (XEP-0280) [19], the sending client > SHOULD add an element qualified by the > 'http://jabber.org/protocol/muc#user' namespace to the message. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-07tabs/privatetab: Remove unused safeJID importMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-25Remove code for loading logsmathieui
we MAM now
2019-08-25Fix private tabsmathieui
- receipts - receiving messages - showing our sent messages
2019-08-23Remove display code from command_saymathieui
Use instead the message handler as if we received the message as carbons
2019-04-27PrivateTab: 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-07safeJID: Remove some safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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
2019-02-24Fix MUC self-PM hidden stacktrace (#3454)mathieui
and do not display messages twice
2019-01-22Store get_theme() in a variable in each function, to avoid redundant calls.Emmanuel Gil Peyrot
2018-08-15Fix mypy errors, add type annotationsmathieui
2018-07-21Update poezio for the new tabs modulemathieui
2018-07-21yapf -ripmathieui
2018-03-14Factorise the /version callback and make it handle errorsEmmanuel Gil Peyrot
Fixes #3376.
2017-11-24Remove bogus checks for resource features.Emmanuel Gil Peyrot
2017-11-23Remove all remote_wants_chatstates logic, keep the stubs.Emmanuel Gil Peyrot
2017-11-12yapf -irmathieui
2017-10-08Fix #3056 (send inactive chatstate when leaving a tab)mathieui
2017-05-15Merge /unquery and /close into OneToOneTab.Emmanuel Gil Peyrot
2016-10-04"information" is already plural, fix wordingmathieui
2016-09-29Display status changes in one to one chatsmathieui
Make hide_status_change work there as well, with per-jid configuration
2016-09-25Fix wrong quit char color when someone leaves a MUC.Emmanuel Gil Peyrot
2016-08-29Fix coloring of messages in the privatetabmathieui
2016-08-26Fix #3193 (report PM errors in PM tab)mathieui
2016-07-22Fix a bug with the _close_tab shortcutmathieui
on_close wasn’t used correctly everywhere. Also make the "close" commands for each tab specific to themselves, rather than taking the current tab for closure.
2016-06-30Use a "core" parameter for each tab object instead of a singletonmathieui
fixes the circular import issue
2016-06-30Absolute imports everywheremathieui