summaryrefslogtreecommitdiff
path: root/poezio/tabs/muctab.py
AgeCommit message (Collapse)Author
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>
2018-08-07Display MUC status 333 as a leave even if 307 is includedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-21Update poezio for the new tabs modulemathieui
2018-07-21yapf -ripmathieui
2018-04-25Fetch all MUC history on first joinMaxime “pep” Buquet
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-16Use refresh_input in process_presence_buffer to avoid tracebackMaxime “pep” Buquet
2018-01-16Current tab input is refreshed on kick/ban even when it does not existmathieui
leading to tracebacks and shenanigans
2018-01-13yapf -irmathieui
2017-11-28XEP-0392 MUC: re-color users on nickname changeJonas Wielicki
2017-11-24muctab: Display the bookmark name when available, instead of the localpart.Emmanuel Gil Peyrot
2017-11-23Remove all remote_wants_chatstates logic, keep the stubs.Emmanuel Gil Peyrot
2017-11-22Fix the case when we receive an unavailable presence while joiningmathieui
2017-11-14yapf -irEmmanuel Gil Peyrot
2017-11-14self-ping: add 'timeout' option for ping responseGeorg Lukas
2017-11-14self-ping: rename option from 'delay' to 'interval'Georg Lukas
2017-11-12Remove unused variablesmathieui
2017-11-12yapf -irmathieui
2017-10-15Always refresh the MUC when setting or unsetting a user colormathieui
Fixes #3213
2017-10-14Fix a traceback when creating a conversation tabmathieui
2017-10-14Add a refresh wrapper on the methods for scrolling the userlistmathieui
2017-10-14Fix a bad indentationmathieui
2017-10-14Do not call poezio commands when we can call methodsmathieui
2017-10-14Split the muctab recolor codemathieui