summaryrefslogtreecommitdiff
path: root/poezio
AgeCommit message (Collapse)Author
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>
2020-04-05/correct: send new-style LMCMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05TextBuffer: add note about LMC compatMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05modify_message: change variable nameMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05Read newer LMC rulesMaxime “pep” Buquet
Version 1.1.0 of Last Message Correction (0308) added clarifications that break the way poezio handles corrections. Instead of linking corrections to the previous correction/message as we were doing, we are now required to link all corrections to the original messages. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-04Merge branch 'sync-fixes' into 'master'Maxime Buquet
only auto-reconnect if not already reconnecting, needs slixmpp!37 See merge request poezio/poezio!78
2020-04-04Actually skip whitespace ping logging (thanks Ge0rG)Maxime “pep” Buquet
Fixes what 9da6f5328c714f6bdcbc89cb038e10116ab0bed6 intended to do. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-04only auto-reconnect if not already reconnecting, needs slixmpp!37Georg Lukas
2020-04-03Show textual presence error if availableKim Alvefur
If there's a human-readable explanation of the error, it should be there.
2020-03-31plugin_manager: log on every Exception that caused plugin loading to failMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-31Merge branch 'skip-whitespace-ping-log' into 'master'Maxime Buquet
Skip whitespace ping logging See merge request poezio/poezio!75