summaryrefslogtreecommitdiff
path: root/poezio/tabs/basetabs.py
AgeCommit message (Collapse)Author
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
2019-06-20Few imports for scrollback commandMadhur Garg
2019-06-20Initial version of scrollbackMadhur Garg
2019-04-27Replace tab.name with tab.jidMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27OneToOneTab: Remove default value for jid parameterMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27ChatTab: Remove None checks on `ChatTab.jid`Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27ChatTab: Change ChatTab.name meaningMaxime “pep” Buquet
`ChatTab.name` is now its own property. It only mirrors `ChatTab.jid` when it is None for compat reasons. If code tries to set `ChatTab.name` and it is a valid JID, `ChatTab.jid` is set instead for compat reasons and `ChatTab.name` stays with its previous value. To have `ChatTab.name` mirror `ChatTab.jid` again, set it to None. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27ChatTab: now accepts only Jids with a domainMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08ChatTab: Oops. prevent recursion when using settersMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08ChatTab: utilise self.jidMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08ChatTab: Introduce self.jid as a JID objectMaxime “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-07Remove more safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07poezio/tabs: Fix jid types for base tabs contructorsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07poezio/tabs/basetabs: remove safeJID callMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>