summaryrefslogtreecommitdiff
path: root/poezio/mam.py
AgeCommit message (Collapse)Author
2021-07-02fix: improve typingmathieui
preliminary to more typing added to slixmpp, fix things in advance
2021-04-11internal: Remove now unused code from mam.pymathieui
2021-02-17muc: remove non-deterministic nick colorsmathieui
2020-12-12from __future__ import annotationsEmmanuel Gil Peyrot
Now that our baseline is Python 3.7, we can rely on type annotations to be lazily evaluated.
2020-05-25Fix mam own nick in one to one tabsmathieui
Also do a config.get for each received MAM message, that is not efficient or useful.
2020-05-23Remove remaining occurences of tab.last_stanza_idmathieui
2020-05-23Fix typing in mam.pymathieui
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-23Fix some remaining refresh issuesmathieui
2020-05-23Add an "end of archive" message typemathieui
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-02-07mam: disco before query only if groupchatMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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