summaryrefslogtreecommitdiff
path: root/poezio/tabs/muctab.py
AgeCommit message (Collapse)Author
2020-05-23ChatTab: make set text_win in constructor (typing)mathieui
2020-05-23Convert all datetimes to UTC when doing comparisonsmathieui
2020-05-23Fix some edge cases of MAM history fetchmathieui
- Wait until we receive our own MUC presence to fetch history - Fix /reconnect weirdness
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-23Textbuffer: add "find last message" functionmathieui
2020-05-23Add specific types for own leave and joinmathieui
2020-05-20MucTab: add some typing to presence handlersMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-20MucTab: Ignore presence from MUC barejidMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-17Fix highlight display on correctionsmathieui
2020-05-17Fix highlight navigationmathieui
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-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-07affiliation: fix usage string and add documentationMaxime “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-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-09-05Reorganize MAMroot
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-22Added MAM query on join of MUC, earlier it was only there for auto-join groupsMadhur Garg
2019-04-28MucTab: Replace tab.name with tab.jid 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-20's/an user/a user/g'Maxime “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-17MUC: update the presence window after each ~10 incoming presencesGeorg Lukas
2019-03-17self-ping: match error responses to XEP-0410Georg Lukas
2019-02-05muctab: fix command_affiliation docstringMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-22Fix syntax errors in the previous commit.Emmanuel Gil Peyrot
2019-01-22Store get_theme() in a variable in each function, to avoid redundant calls.Emmanuel Gil Peyrot
2018-12-16self-ping: do not /cycle on timeout, log onlyGeorg Lukas
2018-12-15Allow additional information elements in MucInfoWin same as ConversationInfoWinMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-10-18MUC fix for bad servers (#3430)mathieui
tentative fix
2018-09-25Cache highlighting regex in a lru.Emmanuel Gil Peyrot
This makes it way faster than having to create it all the time.
2018-09-25Improve highlighing regex to deal with fancy nicknamesJonas Schäfer
Nicknames which do not end and start on a word boundary or contain regex metacharacters broke with the previous approach. Fixes #3433.
2018-09-25Split highlight logic and UI changesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-08-18muctab: Create the last_talked compare lambda only once.Emmanuel Gil Peyrot
2018-08-17Add typing information and reformat stuffmathieui
2018-08-15Fix mypy errors, add type annotationsmathieui
2018-08-09yapf -ripmathieui
2018-08-08Change the leave message on 333 MUC statusMaxime “pep” Buquet
Following the discussion in https://prosody.im/issues/939, and in the prosody@ room, this patch reflects the fact that the 333 status is not a normal leave, and displays the following if it is included: > "badger has left the room due to an error (reason)" Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>