about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
Commit message (Collapse)AuthorAgeFilesLines
* Add editor executable to CMD_SYNDaniel Santos2023-03-311-0/+1
| | | | | | * Add missing text of how to set editor in CMD_SYN Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* Editor executable support flagsDaniel Santos2023-03-301-1/+1
| | | | | | | | * Make editor executable into a string to be able to support (multiple) flags. * Change /help executable to suit this new feature Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* Adapt to g_string_free glib 2.75.3 changeMichael Vetter2023-03-211-4/+1
| | | | | | | | | | | | glib 2.75.3 changes warning behaviour of `g_string_free()`. See: * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3219 * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3226 Use this opportunity to replace the use of GString with `g_strdup_printf()` where possible. Otherwise correctly take the return value of `g_string_free()` which is nicer anyways.
* cmd: Update MAM helpMichael Vetter2023-02-151-2/+2
|
* add `now` option to `/reconnect` commandSteffen Jaeckel2023-01-181-3/+5
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* slightly improve `command_defs[]`Steffen Jaeckel2023-01-181-455/+263
| | | | | | | | | * make the struct `const` * use designated initializers * remove `CMD_NOxyz` macros * fix function-pointer correctness of `sub_func[]` Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* minor changesSteffen Jaeckel2023-01-181-4/+8
| | | | | | | | | | | * fix typo * less code duplication * less `GString` usage * more `auto_gchar` usage * document connecting to servers supporting SASL ANONYMOUS * ignore valgrind output Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* add `/strophe` command to modify libstrophe-specific settingsSteffen Jaeckel2023-01-181-0/+19
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Update copyright yearMichael Vetter2023-01-101-1/+1
|
* Add vCard supportMarouane L2022-10-181-5/+131
| | | | | | | | | | | | Only nicknames, photos, birthdays, addresses, telephone numbers, emails, JIDs, titles, roles, notes, and URLs are supported Due to the synopsis array not having enough space, `/vcard photo open-self` and `/vcard photo save-self` are not documented properly in the synopsis section of the `/vcard` command, but they are documented in the arguments section Fixed memory leak in vcard autocomplete (thanks to debXwoody)
* Fix typo which catched by codespellViachaslau Khalikin2022-09-191-1/+1
|
* Print unloaded plugins which already installedViachaslau Khalikin2022-09-191-1/+1
| | | | Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
* Correct default log maxsize in helpMichael Vetter2022-06-221-1/+1
| | | | This was changed in c4d7f1c29 from 1MB to 10MB.
* Let user change log level while runningMichael Vetter2022-06-221-2/+4
| | | | | | | | | | | `/log level INFO|DEBUG|WARN|ERROR` is now available. Looks like this solves a TODO (see removed comment in source) from 2013 :-) Works only with default log file. Not with user provided log file during start up via the -f parameter. Fix https://github.com/profanity-im/profanity/issues/1627
* Display mood preferencesMichael Vetter2022-06-221-1/+1
|
* Make mood display optionalMichael Vetter2022-06-221-0/+2
|
* Add command help for omemo qrcodeMichael Vetter2022-05-301-2/+4
|
* Add basic qrcode functionsMichael Vetter2022-05-301-1/+2
|
* Merge pull request #1714 from MarcoPolo-PasTonMolo/feature/avatar-setMichael Vetter2022-05-301-0/+4
|\ | | | | Add `/avatar set` command to publish avatar
| * Final touches for `/avatar set`Michael Vetter2022-05-271-1/+1
| |
| * Add `/avatar set` command to publish avatarMarcoPolo-PasTonMolo2022-05-261-0/+4
| | | | | | | | | | | | | | | | Use `/avatar set <path>` where <path> is an image file to upload a new avatar for the current user. When the avatar is too big it gets scaled down. Scaling code copied from dino. Fixes https://github.com/profanity-im/profanity/issues/1687
* | Fix description of moodMichael Vetter2022-05-271-1/+1
|/
* Update copyright yearMichael Vetter2022-05-091-1/+1
|
* Log encrypted messages by default to chatlogMichael Vetter2022-05-091-3/+3
| | | | | In case chatlogs are available lets log everything by default. Seems like most users expect this behaviour and I agree.
* ox: remove /ox sendfile because its actually not implementedMichael Vetter2022-05-051-3/+1
|
* ox: Add /ox log commandMichael Vetter2022-05-051-1/+2
|
* Improve ox command helpMichael Vetter2022-05-041-2/+3
| | | | | Mention new man page. Correct the usage of /ox request.
* Merge branch 'master' into add_stamp_settingsMichael Vetter2022-04-281-1/+4
|\
| * Add support for offline MUC notificationsStefan Ott2022-04-231-0/+3
| |
| * fix `account set theme` helpSteffen Jaeckel2022-04-011-1/+1
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | Rewrite stamp helpMichael Vetter2022-04-281-12/+10
| |
* | add /stamp commandArtjom Vejsel2022-04-021-0/+24
|/ | | | command allow override standard stamps of incoming and outgoing messages
* Add none option for /whoMarcoPolo-PasTonMolo2022-03-271-2/+2
| | | | | Fixes https://github.com/profanity-im/profanity/issues/1425 `/who none` now displays all users in an muc without an affiliation
* use `g_mkdir_with_parents()` instead of home-baked solutionSteffen Jaeckel2022-03-141-1/+1
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Add `/subject editor` commandMichael Vetter2022-02-261-0/+2
| | | | | | | | Allow editing the MUC subject using external editor. Use `/subject editor`. Fix https://github.com/profanity-im/profanity/issues/1638
* command: rename /mood clean to /mood clearMichael Vetter2022-02-011-3/+3
| | | | As per suggestion of @mdosch.
* command: adapt mood descriptionMichael Vetter2022-01-301-3/+3
|
* XEP-0107: User Mood - Clean moodStefan Kropp2022-01-301-4/+7
| | | | | | | | | | | | | | | | | | * Bugfix in mood_autocomplete (wrong parameter) * Implemented /mood clean ______________________________________ / Profanity! THE XMPP client with mood \ \ support! / -------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ \___)=(___/
* xep-0107: adjust helpMichael Vetter2021-12-061-5/+5
|
* xep-0107: code reviewDebXWoody2021-12-061-3/+6
| | | | | | | | * Remarks in the Merge Request (ac_reset, help) * Defines in iq.c * Mood help and null check * Added additional information about tab key in CMD_DESC. * Added additional null check
* Add xep-0107: User Mood supportDebXWoody2021-12-061-0/+13
| | | | Implementation of XEP 0107 - User Mood
* Merge pull request #1601 from MarcoPolo-PasTonMolo/masterMichael Vetter2021-10-221-0/+17
|\ | | | | Add /correct-editor command
| * Remove autocomplete for /correct-editorMarcoPolo-PasTonMolo2021-10-211-5/+3
| | | | | | | | | | | | We decided that it was better to remove autocomplete for this command, since adding it only introduced problems and the command can still function perfectly without autocomplete.
| * Add /correct-editor commandMarcoPolo-PasTonMolo2021-10-071-0/+19
| |
* | Format new register code correctlyMichael Vetter2021-10-131-1/+0
| |
* | Merge pull request #1574 from binex-dsk/masterMichael Vetter2021-10-131-0/+27
|\ \ | |/ |/| | | Add in-band account registration Fix https://github.com/profanity-im/profanity/issues/199
| * registration: remove auth param and excess functionsswirl2021-08-171-4/+2
| |
| * /register: parameter updatesswirl2021-08-171-8/+10
| | | | | | | | add auth param, switch host and username params, rename host param to server
| * initial register command testswirl2021-08-171-0/+27
| |
* | Add more help about how to use pluginsMichael Vetter2021-09-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `/plugins install` installs a plugin to `.local/share/profanity/plugins`. And also loads it. When a plugin is loaded it will automatically be added to the `profrc` file like this: ``` [plugins] load=my.py; ``` On the next start Profanity will try to load this plugin again unless `/plugin unload my.py` is called.