summaryrefslogtreecommitdiff
path: root/poezio
AgeCommit message (Collapse)Author
2019-12-27omemo: add a wrapper around _encrypt() to handle user feedbackmathieui
(yes, another one)
2019-12-27omemo: fix indentation of one linemathieui
2019-12-27omemo: add missing typing importmathieui
2019-12-27Fix potential race condition when encryptingmathieui
(do not try to rely on the current tab)
2019-12-27Add a "passthrough" parameter for calls through the safetymetaclassmathieui
So errors don’t get caught
2019-12-27omemo: ensure whitelist includes encryption tag in the correct formatMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27omemo: handle async encryption methodsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27omemo: handle StaticConversationTab as wellMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27omemo: adapt to new E2EE APIMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-27Expand the status command, make decryption work, put a hack into the core so ↵lumi
I can handle messages without bodies.
2019-12-27Plugins: use import_module for module in poezio_pluginsmathieui
And do not rely on the "module name" to index the plugins, use the intended plugin name instead.
2019-12-22WIP: Allow blocking commands in ConversationTabMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-11-21core/commands: Move import order to please linterMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-11-21Remove safeJID call in destroy_roomMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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-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>