summaryrefslogtreecommitdiff
path: root/poezio
AgeCommit message (Collapse)Author
2019-10-27Disable pylint on lines dedicated to mypymathieui
Pylint doesn’t read the typeshed.
2019-10-27Type curses windowsmathieui
2019-10-27Make global objects not Optionalmathieui
This reflects reality, despite the default values of the code. We still need a better solution (singleton?).
2019-10-26Fix missing typing importmathieui
2019-10-26Fix a bug when removing an event handlermathieui
2019-10-26Fix #3511 (fix traceback on first bookmark added)mathieui
2019-10-26Bookmark: Change jid property to getter/setter to ensure it stays a JIDMaxime “pep” Buquet
It's not like static-type checking was a thing in Python nowadays.. (mypy I'm looking at you) Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-26BookmarksTab: Remove safeJID callMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-26bookmarks: Bookmark.name should be an strMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-18Fix pylint errorsmathieui
- wrong command path - pylint bug regarding slots
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-10-14bookmarks: use str where str is expectedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-13windows/bookmark_forms: Convert JID objects to str so that comparison succeedsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-10MUC-PMs: correctly loop through bookmarksMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-10bookmarks: Convert specified jid to JID object if possibleMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-10core/handlers: Add typing annotationsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-10MUC-PM: centralize and improve PM detection in all code pathsGeorg Lukas
2019-09-19Prevent the logging module from vomiting all over stderr on OSErrormathieui
it is unreadable and not very useful.
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-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-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-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-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-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-22Added 'top' attribute in the 'Message' object (The problem of the wrong ↵Madhur Garg
order of messages was because of this.)