summaryrefslogtreecommitdiff
path: root/poezio/tabs/muctab.py
AgeCommit message (Collapse)Author
2020-05-25Only send an unavailable presence on closing a muc if we are joinedmathieui
Fixes #3397
2020-05-24Merge branch 'affiliations-jid' into 'master'Link Mauve
MucTab /affiliation: Add MUC jid in output for context See merge request poezio/poezio!116
2020-05-24MucTab /affiliation: Add MUC jid in output for contextMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24MucTab /leave: toggle off autojoin instead of removing bookmarkMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24Make /affiliation display in the info win, not in the muc winEmmanuel Gil Peyrot
2020-05-24Rename bookmark_on_join to synchronise_open_roomsEmmanuel Gil Peyrot
Also add some more documentation about it.
2020-05-24Add a /leave commandEmmanuel Gil Peyrot
This is the other side of /join when bookmark_on_join is set to true. It lets the user easily leave a bookmarked MUC from all of their clients at once.
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.