summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-10tabs/basetabs: Document self.query_statusMaxime “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-10Merge remote-tracking branch 'origin/mr/46'Maxime “pep” Buquet
MAM refactoring!
2019-09-10Revert "tabs/privatetab: Fixes #3491: Add MUC <x/> marker in MUC-PMs. Thanks ↵Maxime “pep” Buquet
Ge0rG." This reverts commit 0bf8727a92b5e2891398d6f3ee7a3669213734ea. It doesn't actually work yet. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-07tabs/privatetab: Fixes #3491: Add MUC <x/> marker in MUC-PMs. Thanks Ge0rG.Maxime “pep” Buquet
From [XEP-0045 §7.5](https://xmpp.org/extensions/xep-0045.html#privatemessage): > To allow for proper synchronization of these messages to the user's > other clients by Message Carbons (XEP-0280) [19], the sending client > SHOULD add an element qualified by the > 'http://jabber.org/protocol/muc#user' namespace to the message. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-07tabs/privatetab: Remove unused safeJID 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-09-04core/commands: remove more safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-02doc: update Gentoo package availability infoAndrey Utkin
Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
2019-09-02Eradicate more safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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-26Merge branch 'mam' into 'master'mathieui
Fixes message duplication on /reconnect. See merge request poezio/poezio!43
2019-08-27Disabled the history on /reconnect, if the tab is still present and has ↵root
messages in it.
2019-08-26Do not run a /part command when disconnecting from poeziomathieui
Use the underlying function instead
2019-08-26Use the right settings when reconnecting from poeziomathieui
2019-08-26Merge branch 'mam_info' into 'master'mathieui
Removes error and info messages on startup. Fixes #3485 Closes #3485 See merge request poezio/poezio!44
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-25Fix private tabsmathieui
- receipts - receiving messages - showing our sent messages
2019-08-24Always feed a JID to open_conversation_windowmathieui
2019-08-24Fix /selfmathieui
2019-08-23Merge branch 'remove-duplicated-display-code' into 'master'Maxime Buquet
Remove display code from command_say See merge request poezio/poezio!42
2019-08-23Remove display code from command_saymathieui
Use instead the message handler as if we received the message as carbons
2019-08-23Changed the value of the 'reverse' parameter back to boolean.Madhur Garg
2019-08-23Add missing top parameter to another build_new_message methodMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-22Adapt the plugin safety metaclass for async funcsmathieui
2019-08-22Merge branch 'mam' into 'master'mathieui
MAM: Sudden change in the order of messages. See merge request poezio/poezio!40
2019-08-22Added 'top' attribute in the 'Message' object (The problem of the wrong ↵Madhur Garg
order of messages was because of this.)
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-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-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-22Added MAM query on join of MUC, earlier it was only there for auto-join groupsMadhur 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