summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-27Disable pylint on lines dedicated to mypymathieui
Pylint doesn’t read the typeshed.
2019-10-27CI: add a linting stage, and put mypy in theremathieui
Obviously failing at the moment.
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-18Revert "Disable the pylint CI test until upstream's bug is fixed"mathieui
This reverts commit 791d44f1b906b873a741ec1973e6a3738e33064d.
2019-10-18Fix pylint errorsmathieui
- wrong command path - pylint bug regarding slots
2019-10-18CI Doc generation: install sphinx inside the venvmathieui
2019-10-18Specifically install aiohttp 3 in python 3.5 CImathieui
I hope it can fix the issue without further tinkering.
2019-10-18Fix aiohttp requirement for python < 3.6mathieui
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-14plugins/ping: Remove safeJID callMaxime “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-10-10plugins/lastlog: Display time and nicknameMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-22data/doap.xml: mention MAM support, since !36Emmanuel Gil Peyrot
2019-09-22data/doap.xml: mention avatar supportEmmanuel Gil Peyrot
2019-09-19Prevent the logging module from vomiting all over stderr on OSErrormathieui
it is unreadable and not very useful.
2019-09-19data/doap.xml: update to the latest schema.Emmanuel Gil Peyrot
2019-09-15plugins/embed: use tab.jid instead of .nameMaxime “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-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