summaryrefslogtreecommitdiff
path: root/poezio/mam.py
AgeCommit message (Collapse)Author
2019-09-13Corrected the functionality of query_statusroot
2019-09-11poezio/mam: Remove superfluous time format conversions and fix parameter typeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-10mam: Fix comment in on_scroll_upMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-10mam: Only fetched mam when the buffer is running low in messagesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-10poezio/mam: add_messages_to_buffer returns a bool not NoneMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-10poezio/mam: style fixesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-10poezio/mam: remove unused imports, add missing md5 importMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-05Reorganize MAMroot
2019-09-05Removed error messages on startup.root
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-23Changed the value of the 'reverse' parameter back to boolean.Madhur Garg
2019-08-22Missed name change of start_date to start.Madhur Garg
2019-08-22Used named arguments instead of comments for 'add_message'.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-22Corrected indentation and coding style.Madhur Garg
2019-08-22Initialized stanza_id in the basetabs.Madhur Garg
2019-08-22Added a check on deterministic colorsMadhur Garg
2019-08-22Update end date with buffer, useful for any tab which supports MAM and has ↵Madhur Garg
messages in it.
2019-08-22As per the current structure of slix, reverse parameter takes the value of ↵Madhur Garg
before tag, so changed it's value from 'true' to the stanza id.
2019-08-22Changed message for MUC's which doesn't support MAMMadhur Garg
2019-08-22Added user colors for messages retrieved using MAMMadhur Garg
2019-08-22Removed MAM start/end messages, because they are not important for infinite ↵Madhur Garg
scroll.
2019-08-22Changed the querry from timestamp to stanza-id based.Madhur Garg
2019-08-22Removed some extra repetitive code.Madhur Garg
2019-08-22Added <before> tag to query messages based on stanza-idMadhur Garg
2019-08-22Changed the parameter from 'self' to 'tab' where the function is not a method.Madhur Garg
2019-08-22Removed unnecessary 'self' argument from the add_line function.Madhur Garg
2019-08-22Moved the splitting of nick to the function before the call of add_line is made.Madhur Garg
2019-08-22Added a check on the category of the chat groupMadhur Garg
2019-08-22Changed the check on an empty message because the earlier one might leave an ↵Madhur Garg
empty body in XML representation.
2019-08-22Aligned the timestamp of MAM start/end messages, added info message if no ↵Madhur Garg
more messages are left.
2019-08-22Added a check for IqError and IqTimeout exceptions, while doing mam and ↵Madhur Garg
disco query.
2019-08-22Added a check on empty messages and not displaying them in MAM queryMadhur Garg
2019-08-22Added a check for tabs (because there is a different way to query messages ↵Madhur Garg
for MUC and any other type of tab)
2019-08-22Added await on the get_info call so that MAM support is checked first before ↵Madhur Garg
proceeding further.
2019-08-22Fixed issue with the start timestamp (removed it)Madhur Garg
2019-08-22Fixed repeated query for messages on pressing PageUpMadhur Garg
2019-08-22Fixed timestampMadhur Garg
2019-08-22Changed default start date of the query to be 360 days before current date.Madhur Garg
2019-08-22Added check for MAM support in disco#infoMadhur Garg
2019-08-22Fixed window refreshMadhur Garg
2019-08-22Fixed scroll upMadhur Garg
2019-08-22Added messages when the query is starting and ending.Madhur Garg
2019-08-22Changed the name of MAM function.Madhur Garg
2019-08-22Apply suggestion to poezio/mam.pyMadhur Garg
2019-08-22Apply suggestion to poezio/mam.pyMadhur Garg
2019-08-22Apply suggestion to poezio/mam.pyMadhur Garg
2019-08-22Added fuction for infinite scroll, limited number of messages per request to 10.Madhur Garg