summaryrefslogtreecommitdiff
path: root/poezio/bookmarks.py
AgeCommit message (Collapse)Author
2021-07-02fix: improve typingmathieui
preliminary to more typing added to slixmpp, fix things in advance
2021-04-02fix: tons of type errorsmathieui
2021-04-02refactor: rewrite config.get() to getbool, getstr, getint…mathieui
2021-02-03bookmarks: get rid of callbacksmathieui
2021-02-03Use async properly on session startmathieui
2021-01-29Remove force_remote_bookmarks optionmathieui
It is 2021, servers ought to not be broken that much.
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-31Revert "Bookmarks: type bookmark method (local/remote)"Maxime “pep” Buquet
This reverts commit 91831e7903bac287be9e5403e56b07691151f1ab. Breaks python 3.7 ..-. .- .. - -.-. .... .. . .-.
2020-05-31Bookmarks: type bookmark method (local/remote)Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-28Only add autojoin to a bookmark on creation if the room is not bookmarkedmathieui
With synchronise_open_rooms, otherwise you just have autojoin added everytime, which is probably not what you want.
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-26bookmarks: Bookmark.name should be an strMaxime “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-10bookmarks: Convert specified jid to JID object if possibleMaxime “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-04-08Revert work on tabs module to change tab.name to JID.Maxime “pep” Buquet
This reverts commits: d693479d05f1ada999c0e29a9d9e2f021dd59e50 2d0cc092fcd154b2d14be0c5ac0ff338607824a0 89a61b84bdb29d3df8c08436c3484fddba8d2ef1 8194d9afbdec2daa1377e07ebb26bb99406473d0 e256c31875c8b67d85fe30d3e2c14c896066657a a21335ac171a827a613dcce744898e822689c9d3 c96e528a8fd1313f75cb792a8e4826fbcfde1bec 0551867bfdb8dfa7dbd5964a15a1a950510e2c71 6ab49c188a6e5bb95773165f0bdbd672b41c8c81
2019-04-07poezio/bookmarks: Fix type for tab nameMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-08-17Add typing information and reformat stuffmathieui
2018-08-15Fix mypy errors, add type annotationsmathieui
2018-07-22Add type hints here and theremathieui
2018-07-14Stop making classes inherit from object.Emmanuel Gil Peyrot
2018-01-10Fix typos, thanks `codespell`!Emmanuel Gil Peyrot
2017-11-24bookmarks: Set the bookmark name to the localpart.Emmanuel Gil Peyrot
2017-11-12yapf -irmathieui
2016-06-30Absolute imports everywheremathieui
2016-06-27Make all relative imports explicit.Emmanuel Gil Peyrot
2016-06-11Move the src directory to poezio, for better cython compatibility.Emmanuel Gil Peyrot