summaryrefslogtreecommitdiff
path: root/poezio/core
AgeCommit message (Collapse)Author
2020-12-28Add (back?) reason and altroom arguments for /destroy_room.Emmanuel Gil Peyrot
Also make use of slixmpp’s new destroy_room() function.
2020-12-17plugins: do not fire private_msg event on own messagesmathieui
2020-12-17plugins: do not fire conversation_msg event on own messagesmathieui
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-12-12Use the new xep_0045 elements from slixmpp 1.6.0Emmanuel Gil Peyrot
2020-09-15Disco#info barejid instead of domain on sent carbonsGeorg Lukas
This is the counter-part to 5e404377d4eb1b80b81be91d75e12300c40b354c for "sent" carbons. Signed-off-by: Georg Lukas <georg@op-co.de>
2020-07-16core/handlers: revert change in normal_message handlerMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-07-08MucTab: highlight on delayed and not historyMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-24core/commands: code style fixesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-24core/commands: use named parameters in _add_bookmarks to make things explicitMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-24bookmarks: ensure nick is added when to bookmark when specifiedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-01mypy: Reduce errors on muctab.py by a lotmathieui
2020-05-31Revert "Bookmarks: type bookmark method (local/remote)"Maxime “pep” Buquet
This reverts commit 91831e7903bac287be9e5403e56b07691151f1ab. Breaks python 3.7 ..-. .- .. - -.-. .... .. . .-.
2020-05-31Merge branch 'type-bookmarks' into 'master'Maxime Buquet
Type bookmarks See merge request poezio/poezio!138
2020-05-31Bookmarks: type bookmark method (local/remote)Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-29Fix a traceback after a received MUC messagemathieui
"highlight referenced before assignment"
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.
2020-05-24Add a check for terminals not supporting 256 colorsmathieui
2020-05-24Checks whether the gaming payload is empty or notEmmanuel Gil Peyrot
Fixes a long-standing bug where a gaming stop event would be interpreted as starting a game. Also does the same for mood, activity and tune.
2020-05-24Rename bookmark_on_join to synchronise_open_roomsEmmanuel Gil Peyrot
Also add some more documentation about it.
2020-05-23Core: dedup some codemathieui
2020-05-17Fix highlight navigationmathieui
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 /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-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-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-09Pass a message to add_message instead of messed up kwargs everywheremathieui
Changes LOTS of things
2020-05-09Fix attention handlermathieui
2020-05-09Rewrite part of the message handling/renderingmathieui
2020-04-22[ci skip] Add TODOs re #3314Maxime “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-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-31Merge branch 'skip-whitespace-ping-log' into 'master'Maxime Buquet
Skip whitespace ping logging See merge request poezio/poezio!75
2020-03-31Skip whitespace ping loggingMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-29cElementTree has been deprecated since Python 3.3 and removed in Python 3.9.Karthikeyan Singaravelan
2020-03-29Fix 'disconnected' event handler order for /quitGeorg Lukas
2020-03-29display a delayed reconnect info, needs slixmpp!35Georg Lukas
2020-02-04load, unload: prevent Traceback when not enough parameters are specifiedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-12Disco#info barejid instead of domain only on carbonsMaxime “pep” Buquet
There is no apparent reason why a disco#info should be done on the domain Jid rather than the bare Jid. MUCs advertize their MUC-y-ness on the bare Jid. This will also fix cases like chat@dino.im which is a MUC component itself (whereas dino.im is a user host), and biboumi components that serves a mic of MUCs and (IRC) users. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>