summaryrefslogtreecommitdiff
path: root/poezio/core/commands.py
AgeCommit message (Collapse)Author
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-05-31Revert "Bookmarks: type bookmark method (local/remote)"Maxime “pep” Buquet
This reverts commit 91831e7903bac287be9e5403e56b07691151f1ab. Breaks python 3.7 ..-. .- .. - -.-. .... .. . .-.
2020-05-31Bookmarks: type bookmark method (local/remote)Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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-24Rename bookmark_on_join to synchronise_open_roomsEmmanuel Gil Peyrot
Also add some more documentation about it.
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-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-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-02-04load, unload: prevent Traceback when not enough parameters are specifiedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-22WIP: Allow blocking commands in ConversationTabMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-11-21core/commands: Move import order to please linterMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-11-21Remove safeJID call in destroy_roomMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-04core/commands: remove more safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-26Use the right settings when reconnecting from poeziomathieui
2019-08-24Always feed a JID to open_conversation_windowmathieui
2019-08-24Fix /selfmathieui
2019-08-20Fix /join <muc name without domain> from an existing mucmathieui
2019-04-27core/commands: Use jid parameter instead of name where appropriateMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27CommandCore: remove None check on MucTab.jidMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-17save_order, save: config option is not always a stringMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08core/commands: remove more safeJID calls; add type hintsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08list command: default to domain jid if no argument specifiedMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08core/commands: remove safeJID call in list commandMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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-08Fix tab.name not being a string by calling the right propertyMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07Remove more safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07safeJID: Remove some safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-30Corrects the functionality of /add and /accept commands in all the tabs. ↵Madhur Garg
Fixes #3395 Corrects the functionality of /add command in all tabs. Fixes #3395 Removed trailing whitespaces Corrected general way of writing code. Corrects the functionality of /add and /accept commands in all tabs. Fixes #3395
2019-03-24Corrects the functionality of /add command in all tabs. Fixes #3395Madhur Garg
2019-03-23Corrects functionality of /reconnect in all type of tabs. Fixes #3471Madhur Garg
Corrects functionality of /reconnect in all type of tabs. Fixes #3471 Moved command_reconnect from particular tabs to core.commands. Fixes #3471
2019-03-19Change 'his/her' to 'their'Kim Alvefur
It's shorter and reads better. Also removes 'its', which might be intented to refer to bots or the like.
2019-03-18Fixes coding style; Corrected indentation and use of static length when ↵Madhur Garg
displaying hidden value #3426
2019-03-18Fixes variable name #3426Madhur Garg
2019-03-18Hides the value of 'password' field being displayed in the InfoTab. Fixes #3426Madhur Garg
2019-02-24Only server-cycle on exact server matches (#3412)mathieui
2019-01-23Improve text of impromptu commandMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16Add /invite for ConversationTab to generate new room with all inviteesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16Initial impromptu commandMaxime “pep” Buquet
Add a command that invites people to a newly created room, with a random localpart. The muc component is currently static. The interface for the command might also change later on. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-09-29Print the error given by the server when /bookmark fails.Emmanuel Gil Peyrot
2018-07-23Use the event handler to refresh when the tab changesmathieui
2018-07-22Fix /messagemathieui
2018-07-21Update poezio for the new tabs modulemathieui
2018-07-21yapf -ripmathieui
2018-07-08core.commands: Remove implicit conversion from Path to str in /set.Emmanuel Gil Peyrot
2018-06-28Replace the '%s' % var pattern with str(var).Emmanuel Gil Peyrot