summaryrefslogtreecommitdiff
path: root/poezio
AgeCommit message (Collapse)Author
2020-05-23Remove "top" message logicmathieui
2020-05-23Add a concept of "history gap"mathieui
2020-05-23Add specific types for own leave and joinmathieui
2020-05-20MucTab: add some typing to presence handlersMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-20MucTab: Ignore presence from MUC barejidMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-17Fix highlight display on correctionsmathieui
2020-05-17Fix a corner case with correction when moving between highlightsmathieui
(there are still a few but this one would wipe all other highlights, making it a bit painful)
2020-05-17Fix highlight navigationmathieui
2020-05-17Remove extra loggingmathieui
2020-05-17Fix highlights colormathieui
2020-05-12Fix a bug when the value of show_composing_chat_state is not lowercasemathieui
2020-05-12Add keyboard action to go to room by unique prefixJonas Schäfer
This is especially useful in combination with the newly introduced `unique_prefix_tab_names` config option. It has no default binding.
2020-05-12Add option to show only the unique prefix of tab namesJonas Schäfer
When the set of tabs used fluctuate, the memory of which number belongs to which chat becomes difficult to work with. Non-numbers can be used to navigate tabs with `/win`, however, it is difficult to know which letters are required to select a certain tab. This option introduces a display mode for tab names where only the unique prefix of the tab name is shown, saving space and providing with a minimal string which can be used with `/win`.
2020-05-12Add /wup commandJonas Schäfer
The `/wup` command selects a tab by the prefix of its name only. The `/win` will do a substring match based on the first tab going from the current tab which matches the substring. This can be confusing, especially since `/win` matches on different types of tab "names" not only on the name which is shown in the info bar by default. The `/wup` command exclusively matches based on the prefix of the tab.name string. This has the advantage that it is consistent, deterministic and independent of the currently selected tab.
2020-05-12Add function to find a tab by unique prefixJonas Schäfer
2020-05-12Add function to calculate unique prefix of two stringsJonas Schäfer
2020-05-12poezio.core.handlers: Treat MUC Barejid message as infoMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-10Move /deny and /remove to global scope as wellmathieui
2020-05-10Fix completion and function names for /accept and /addmathieui
2020-05-09Add back the deny_anonymous decorator to /add and /acceptmathieui
2020-05-09Move the deny_anonymous decorator to the poezio.decorators modulemathieui
2020-05-09affiliations: Use InfoMessage in add_message callMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09Don't highlight on reflected messagesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09Ensure muc history messages are considered historyMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09Fix highlights by introducing a delayed property on ui.types.MessageMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09Fix /me messagesmathieui
2020-05-09Fix a bug in message editionmathieui
(out of bounds access for no reason)
2020-05-09Fix a bug when using /dump in xmltabmathieui
2020-05-09Typing improvementsmathieui
2020-05-09WIP: update muctab.add/log messagemathieui
2020-05-09Pass a message to add_message instead of messed up kwargs everywheremathieui
Changes LOTS of things
2020-05-09Only keep one TextWin alivemathieui
2020-05-09Fix attention handlermathieui
2020-05-09Fix an issue in xmllog rendering due to wrong offsetmathieui
and improve tests to catch that
2020-05-09Rewrite part of the message handling/renderingmathieui
2020-05-09Add a context manager in Win for colored textmathieui
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
2020-05-08PrivateTab: extract NS contantMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-08Chatstates: add <x/> in MUC-PMsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-08Revert "Revert "tabs/privatetab: Fixes #3491: Add MUC <x/> marker in ↵Maxime “pep” Buquet
MUC-PMs. Thanks Ge0rG."" This reverts commit e9a6ea7a59b0bf08c4f649ce125cb5dae12e1e63.
2020-05-07affiliation: fix usage string and add documentationMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-01Fix #3518: Add no-store hint to CSNMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-22[ci skip] Add TODOs re #3314Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-15affiliations: fix traceback when displaying outcast usersMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-15theming: add CHAR_AFFILIATION_OUTCASTMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-15affiliations: display all relevant pieces of information we getMaxime “pep” Buquet
- Don't fail if only one of the requests fail - Change UI a bit Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-12plugins: Add refs to dependencies on pluginsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-12plugins: don't access property on uninitialized pluginMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-11plugins: Add dependencies supportMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-06xep_0196: Use correct tag local name (thanks ivucica)Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>