summaryrefslogtreecommitdiff
path: root/poezio
AgeCommit message (Collapse)Author
2020-05-24Fix a type collision between Messagesmathieui
2020-05-23Remove remaining occurences of tab.last_stanza_idmathieui
2020-05-23Fix types in text_buffermathieui
2020-05-23Fix typing in mam.pymathieui
2020-05-23ChatTab: make set text_win in constructor (typing)mathieui
2020-05-23Convert all datetimes to UTC when doing comparisonsmathieui
2020-05-23Fix some edge cases of MAM history fetchmathieui
- Wait until we receive our own MUC presence to fetch history - Fix /reconnect weirdness
2020-05-23Fix some remaining refresh issuesmathieui
2020-05-23Add an "end of archive" message typemathieui
2020-05-23MAM: many changesmathieui
- Fix color & nicks in one to one chats - Make poezio-facing functions "schedules" to avoid races on tab query state - Rename functions - Use a different behavior when filling a history gap and populating a new tab in a MUC
2020-05-23Textbuffer: add "find last message" functionmathieui
2020-05-23Core: dedup some codemathieui
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>