summaryrefslogtreecommitdiff
path: root/poezio/windows/info_wins.py
AgeCommit message (Collapse)Author
2022-04-06Colourize tab name in its infobarJonas Schäfer
This is for faster learning the colour <-> tab association and to see quickly in which tab you’re currently in.
2021-04-12fix: remove all remaining safejids (fix #3457)mathieui
2021-04-02refactor: rewrite config.get() to getbool, getstr, getint…mathieui
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-06-01mypy: Reduce errors on muctab.py by a lotmathieui
2020-05-09Move message rendering code to Message.render()mathieui
Also: - rename format_chars to FORMAT_CHARS because it’s static constant - move Line, Message, and a few funcs/consts to a new poezio.ui module
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-08PrivateInfoWin: remove safeJID callMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08MucInfoWin: fix room name typeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-22Fix syntax errors in the previous commit.Emmanuel Gil Peyrot
2019-01-22Store get_theme() in a variable in each function, to avoid redundant calls.Emmanuel Gil Peyrot
2018-12-16MucInfoWin: correctly pass JID to additional info pluginMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16ConversationInfoWin: Use similar pattern as MucInfoWin to loop through pluginsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-15Use additional info's value directly in MucInfoWin and ConversationInfoWinMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-15Allow additional information elements in MucInfoWin same as ConversationInfoWinMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-10-24Add __slots__ in most of the poezio.windows classes, to be more explicit ↵Emmanuel Gil Peyrot
about their data.
2018-07-21yapf -ripmathieui
2017-11-12yapf -irmathieui
2017-10-09Properly use ellipsis in #3293Georg Lukas
2017-10-08Fix #3293 (provide detailed presence in status line)mathieui
Less eye travel for short statuses. (patch from Ge0rG)
2016-10-04"information" is already plural, fix wordingmathieui
2016-08-19Add a "confirm" tab typemathieui
This tab will be used when an external events prompts a boolean choice to a user, like a new ssl cert, or a XEP (e.g. 0070) that needs an answer, and for which a command-line interface with an info message would be a pain.
2016-07-12Improve refresh performance in big roomsmathieui
going through a list with more than 1000 elements, one at a time, can be a bit tedious. Especially if you go through it every time you receive one of those elements.
2016-07-06Always import Win from base_wins.Emmanuel Gil Peyrot
2016-06-30Absolute imports everywheremathieui
2016-06-30Use absolute imports instead of relative onesmathieui
All this crap is very brittle due to circular deps and python handling them badly. This appears to be fixing some stuff, at the very least. This is sed, so cleanup of imports (which can now be grouped together) is not done yet.
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