summaryrefslogtreecommitdiff
path: root/poezio/tabs
AgeCommit message (Collapse)Author
2020-05-10Move /deny and /remove to global scope as wellmathieui
2020-05-09Move the deny_anonymous decorator to the poezio.decorators modulemathieui
2020-05-09affiliations: Use InfoMessage in add_message callMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09Don't highlight on reflected messagesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09Ensure muc history messages are considered historyMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09Fix highlights by introducing a delayed property on ui.types.MessageMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09Fix a bug when using /dump in xmltabmathieui
2020-05-09WIP: update muctab.add/log messagemathieui
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-08PrivateTab: extract NS contantMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-08Chatstates: add <x/> in MUC-PMsMaxime “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-05-07affiliation: fix usage string and add documentationMaxime “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-22[ci skip] Add TODOs re #3314Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-15affiliations: fix traceback when displaying outcast usersMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-15affiliations: display all relevant pieces of information we getMaxime “pep” Buquet
- Don't fail if only one of the requests fail - Change UI a bit 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
2020-03-29affiliations: correctly refresh windowMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-29Fix #2280: Allow /affiliation to list all affiliationsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-22WIP: Allow blocking commands in ConversationTabMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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-26BookmarksTab: Remove safeJID callMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-18Fix pylint errorsmathieui
- wrong command path - pylint bug regarding slots
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-10Merge remote-tracking branch 'origin/mr/46'Maxime “pep” Buquet
MAM refactoring!
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-09-05Reorganize MAMroot
2019-09-05Moved scroll_up code back to basetabs, added amount parameter to change no. ↵root
of msgs per query.
2019-09-02Only check for 110 to know if the presence is oursMaxime “pep” Buquet
This is only be needed for non-compliant servers. Removing as there might be corner cases where it's actually harmful. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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-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-08-22Removed repetitive code.Madhur Garg
2019-08-22Changed query_id from int to boolean type.Madhur Garg
2019-08-22Changed stanza_id attribute to last_stanza_id.Madhur Garg
2019-08-22Initialized stanza_id in the basetabs.Madhur Garg
2019-08-22Added MAM query on join of MUC, earlier it was only there for auto-join groupsMadhur Garg
2019-08-22Changed the querry from timestamp to stanza-id based.Madhur Garg