summaryrefslogtreecommitdiff
path: root/poezio/tabs/basetabs.py
AgeCommit message (Collapse)Author
2020-06-01mypy: Reduce errors on muctab.py by a lotmathieui
2020-05-24Import Message in basetabsmathieui
2020-05-24Fix a type collision between Messagesmathieui
2020-05-23Remove remaining occurences of tab.last_stanza_idmathieui
2020-05-23ChatTab: make set text_win in constructor (typing)mathieui
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-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-08Chatstates: add <x/> in MUC-PMsMaxime “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-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
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-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-05Reorganize MAMroot
2019-09-05Moved scroll_up code back to basetabs, added amount parameter to change no. ↵root
of msgs per query.
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-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-22Changed the querry from timestamp to stanza-id based.Madhur Garg
2019-08-22Changed the parameter from 'self' to 'tab' where the function is not a method.Madhur Garg
2019-08-22Removed /mam command as it is implemented in mam_tab (WIP:37)Madhur Garg
2019-08-22Fixed repeated query for messages on pressing PageUpMadhur Garg
2019-08-22Fixed scroll upMadhur Garg
2019-08-22Corrected description of /mam commandMadhur Garg
2019-08-22Changed the name of MAM function.Madhur Garg
2019-08-22Added argument to add messages at the bottom for mam commandMadhur Garg
2019-08-22Added call to mam_scroll function when page_up is pressed while on the top.Madhur Garg
2019-08-22Removed repetitive code and added Error message for wrong timestampMadhur Garg
2019-08-22Removed /mam as a plugin, added it as a command in basetabs.Madhur Garg
2019-07-13tabs/basetabs: Move config.get out of for loopMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-22Rename sb command 'scrollback' and make 'sb' an aliasMaxime “pep” Buquet
While this command exists in irssi and might be known by some already, 'sb' is not be the most obvious command name for newcomers. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-22Make function name clearerMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-20Added few comments in the code and splitted a part of code into different ↵Madhur Garg
function.
2019-06-20Fixed some mistakes in coding styleMadhur Garg
2019-06-20Corrects the repeated refresh of the windowMadhur Garg
2019-06-20Updated usage of /sb in documentationMadhur Garg
2019-06-20Getting the line number of the message in the tab based on the searched ↵Madhur Garg
timestamp
2019-06-20Code work for /sb goto <+|-linecount>|<linenum>|<timestamp>Madhur Garg
2019-06-20Corrected code duplicationMadhur Garg
2019-06-20Corrected description of the scrollback commandMadhur Garg