about summary refs log tree commit diff stats
path: root/src/command/cmd_funcs.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add checks for whether gdk-pixbuf exists before using avatar setMarcoPolo-PasTonMolo2022-05-261-0/+4
|
* Add `/avatar set` command to publish avatarMarcoPolo-PasTonMolo2022-05-261-1/+5
| | | | | | | | 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
* Update copyright yearMichael Vetter2022-05-091-1/+1
|
* ox: show ox preferencesMichael Vetter2022-05-051-0/+4
|
* ox: Add /ox log commandMichael Vetter2022-05-051-0/+25
|
* ox: print message when `/ox end` is run but not startedMichael Vetter2022-05-041-4/+8
|
* ox: implement `/ox end`Michael Vetter2022-05-031-0/+12
| | | | We also need to be able to stop an ox conversation :-)
* Merge branch 'master' into add_stamp_settingsMichael Vetter2022-04-281-61/+88
|\
| * Merge pull request #1697 from cockroach/feature/offline-muc-notificationsMichael Vetter2022-04-281-0/+10
| |\ | | | | | | Add support for offline MUC notifications
| | * Add support for offline MUC notificationsStefan Ott2022-04-231-0/+10
| | |
| * | ox: print bad usage instead of custom messageMichael Vetter2022-04-271-1/+1
| | |
| * | Remove commentMichael Vetter2022-04-271-5/+0
| |/
| * Allow /editor while not connectedPaul Fertser2022-04-121-7/+0
| | | | | | | | | | Since /editor can be used also for commands it doesn't make sense to restrict it to only connected state.
| * less duplicationSteffen Jaeckel2022-03-311-36/+56
| | | | | | | | | | | | | | | | Print error message from `_string_matches_one_of()` instead of forming an error message manually that contains the same entries that were checked in `_string_matches_one_of()`. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * use `_string_matches_one_of()` at more placesSteffen Jaeckel2022-03-311-16/+7
| | | | | | | | | | | | I missed them the last time ... Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * add `_string_matches_one_of()` helper functionSteffen Jaeckel2022-03-301-21/+39
| | | | | | | | | | | | ... instead of copying the same pattern over and over again. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | use more standard replies when setting stampMichael Vetter2022-04-281-3/+3
| |
* | Rename stamp preference variableMichael Vetter2022-04-281-6/+6
| | | | | | | | | | PREF_INCOMING_STR -> PREF_INCOMING_STAMP PREF_OUTGOING_STR -> PREF_OUTGOING_STAMP
* | add /stamp commandArtjom Vejsel2022-04-021-0/+51
|/ | | | command allow override standard stamps of incoming and outgoing messages
* Add none option for /whoMarcoPolo-PasTonMolo2022-03-271-1/+5
| | | | | Fixes https://github.com/profanity-im/profanity/issues/1425 `/who none` now displays all users in an muc without an affiliation
* Merge pull request #1655 from profanity-im/win-autocompleteMichael Vetter2022-03-241-0/+4
|\ | | | | Reset url autocompletion after open/save
| * Reset url autocompletion after open/saveMichael Vetter2022-03-241-0/+4
| | | | | | | | | | | | | | I guess we should reset the position after we ran `/url open|save`. So that next time `/url open <tab>` starts with the latest entry. Fix https://github.com/profanity-im/profanity/issues/1654
* | add profanity-specific CAfileSteffen Jaeckel2022-03-221-0/+2
|/ | | | | | | | The profanity-internal mechanism to allow connecting to a server isn't easily portable to cURL. Therefor introduce a profanity-specific CAfile which is managed individually and will be configured in libcurl calls. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1644 from profanity-im/ox-polishMichael Vetter2022-03-211-1/+17
|\ | | | | Improve OX user experience
| * Fix memleak in cmd_exportMichael Vetter2022-02-241-0/+1
| |
| * ox: expand file and check for existance before trying to announceMichael Vetter2022-02-241-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Output before: ``` 11:00:00 - Annonuce OpenPGP Key for OX ~/test/testuser.pub.gpg ... ``` After: ``` 11:00:00 - Annonuce OpenPGP Key for OX /home/user/test/testuser.pub.gpg ... ``` Now we expand the path so that we can check for `~` properly. And test if the file is actually a normal file.
* | Move get_message_from_editor to appropriate file and change its keybindingMarcoPolo-PasTonMolo2022-03-031-83/+1
| |
* | Add hotkey for sending readline text to editorMarcoPolo-PasTonMolo2022-03-031-5/+4
| |
* | Add `/subject editor` commandMichael Vetter2022-02-261-0/+17
|/ | | | | | | | Allow editing the MUC subject using external editor. Use `/subject editor`. Fix https://github.com/profanity-im/profanity/issues/1638
* Fix typos in commentsMichael Vetter2022-02-181-1/+1
|
* auto-formatSteffen Jaeckel2022-02-011-1/+1
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* command: change user mood clearing messageMichael Vetter2022-02-011-1/+1
|
* command: rename /mood clean to /mood clearMichael Vetter2022-02-011-1/+1
| | | | As per suggestion of @mdosch.
* XEP-0107: User Mood - Clean moodStefan Kropp2022-01-301-1/+4
| | | | | | | | | | | | | | | | | | * Bugfix in mood_autocomplete (wrong parameter) * Implemented /mood clean ______________________________________ / Profanity! THE XMPP client with mood \ \ support! / -------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ \___)=(___/
* xep-0107: code reviewDebXWoody2021-12-061-6/+7
| | | | | | | | * 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/+15
| | | | Implementation of XEP 0107 - User Mood
* Cleanup _get_message_from_editor a bitMichael Vetter2021-11-011-5/+12
| | | | | | | | * Fix `src/command/cmd_funcs.c:9463:9: error: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]` * Free memory earlier and on less places * Check for succesful open() and write()
* Fix OMEMO /sendfile on non-glibc systemsnlfx2021-11-011-1/+1
|
* first step to remove libmesodeSteffen Jaeckel2021-10-271-25/+0
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1607 from profanity-im/utf8indicatorcharMichael Vetter2021-10-221-16/+16
|\ | | | | Allow more UI indicator signs to be utf8 "characters"
| * Allow utf8 in occupants header charMichael Vetter2021-10-221-3/+3
| |
| * Allow utf8 in occupants charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster room private charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster rooms charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster private charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster resource charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster contact charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster header charMichael Vetter2021-10-211-2/+2
| | | | | | | | | | | | | | | | | | This and the following commits should make a couple of more configs allow utf8 chars so people can use their weird icons :-) We did the same for the otr/omemo/pgp indicators at: https://github.com/profanity-im/profanity/commit/1f8b1eb740391941e79e1004ad041f8178a2b674 https://github.com/profanity-im/profanity/commit/5cf6ee1bc6d0b99b01891bc455a657bf022a72b0
* | Merge pull request #1601 from MarcoPolo-PasTonMolo/masterMichael Vetter2021-10-221-31/+95
|\ \ | |/ |/| Add /correct-editor command
| * Move declaration and definition of win_get_last_sent_message to the correct ↵MarcoPolo-PasTonMolo2021-10-221-1/+1
| | | | | | | | place