about summary refs log tree commit diff stats
path: root/src/command/cmd_ac.c
Commit message (Collapse)AuthorAgeFilesLines
* add: autocompletion plugins argumentsViachaslau Khalikin2022-09-201-0/+6
| | | | | | support for "update" and "uninstall" Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
* Add autocompletion for `/log level`Michael Vetter2022-06-221-0/+13
|
* Let user change log level while runningMichael Vetter2022-06-221-0/+1
| | | | | | | | | | | `/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
* Make mood display optionalMichael Vetter2022-06-221-0/+2
|
* Add basic qrcode functionsMichael Vetter2022-05-301-0/+1
|
* Add `/avatar set` command to publish avatarMarcoPolo-PasTonMolo2022-05-261-0/+6
| | | | | | | | 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: remove /ox sendfile because its actually not implementedMichael Vetter2022-05-051-8/+0
|
* ox: show ox preferencesMichael Vetter2022-05-051-0/+1
|
* ox: Add /ox log commandMichael Vetter2022-05-051-0/+6
|
* Fix autocomplete for `/ox discover`.Martin Dosch2022-05-021-1/+1
|
* ox: add jid autocompletion for /ox requestMichael Vetter2022-05-021-0/+5
|
* Merge pull request #1697 from cockroach/feature/offline-muc-notificationsMichael Vetter2022-04-281-0/+11
|\ | | | | Add support for offline MUC notifications
| * Add support for offline MUC notificationsStefan Ott2022-04-231-0/+11
| |
* | Fix ox autocompletionMichael Vetter2022-04-281-3/+10
| | | | | | | | | | | | | | | | | | | | | | Sometimes this happened: `ox d<tab>` → `/ox request` `ox a<tab>` → `/ox request` `ox c<tab>` → `/ox keys` `ox s<tab>` → `/ox keys` `ox e<tab>` → `/ox keys` We didn't reset the ox_*_ac variables.
* | ox: group online autocompletion togetherMichael Vetter2022-04-281-10/+5
|/
* Add none option for /whoMarcoPolo-PasTonMolo2022-03-271-0/+1
| | | | | Fixes https://github.com/profanity-im/profanity/issues/1425 `/who none` now displays all users in an muc without an affiliation
* Add adhoc cmd autocompletionMichael Vetter2022-03-211-0/+19
| | | | | | | | | | Add tab completion for `/cmd`. Complete the `list` and `exec` subcommands. Didn't complete the `<jid>` part since I think it's usually used for components and etc. Things that might not be in the roster. Fix https://github.com/profanity-im/profanity/issues/1650
* Merge pull request #1644 from profanity-im/ox-polishMichael Vetter2022-03-211-21/+2
|\ | | | | Improve OX user experience
| * Remove strange block from ox autocompleteMichael Vetter2022-02-251-18/+0
| | | | | | | | | | | | Not sure what this should do. Can't see what kind of key we want to complete here. `/ox help` also doesn't list anything that needs a key.
| * Remove useless commentMichael Vetter2022-02-251-5/+0
| |
| * ox: add autocomplete for /ox announceMichael Vetter2022-02-241-0/+4
| |
* | Add `/subject editor` commandMichael Vetter2022-02-261-5/+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-1/+1
| | | | As per suggestion of @mdosch.
* XEP-0107: User Mood - Clean moodStefan Kropp2022-01-301-1/+2
| | | | | | | | | | | | | | | | | | * Bugfix in mood_autocomplete (wrong parameter) * Implemented /mood clean ______________________________________ / Profanity! THE XMPP client with mood \ \ support! / -------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ \___)=(___/
* xep-0107: code reviewDebXWoody2021-12-061-7/+1
| | | | | | | | * 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/+114
| | | | Implementation of XEP 0107 - User Mood
* Move declaration and definition of win_get_last_sent_message to the correct ↵MarcoPolo-PasTonMolo2021-10-221-30/+2
| | | | place
* Remove autocomplete for /correct-editorMarcoPolo-PasTonMolo2021-10-211-22/+12
| | | | | | 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-1/+17
|
* Format code correctlyMichael Vetter2021-10-051-3/+3
|
* Remove `/python sourcepath`Michael Vetter2021-09-291-18/+0
| | | | | | | | | | | | | | | | I feel like this mostly is confusing people. Also don't see much value for it. To me it looks like a regular workflow is like: ``` /plugin install ~/src/profanity-plugins/my.py ``` The whole thing with sourcepath, install (which also loads without having that described anywhere), load etc is confusing. Also each plugin file that is present in `.local/share/profanity/plugins` will then be auto loaded. Which means after installation.
* Merge pull request #1576 from DebXWoody/autocomplete-untrustMichael Vetter2021-07-121-0/+27
|\ | | | | OMEMO autocomplete untrust
| * OMEMO autocomplete untrustDebXWoody2021-07-101-0/+27
| | | | | | | | Just a copy-past of autocomplete trust implementation.
* | Merge pull request #1566 from DebXWoody/bugfixing/oxMichael Vetter2021-07-011-4/+8
|\ \ | | | | | | Bugfixes for OX implementation
| * | Bugfixes for OX implementationDebXWoody2021-06-281-4/+8
| |/ | | | | | | | | | | | | * autocomplete for /ox discover * fixed help description * Implemented /ox char command * Validated KeyID length
* | Add option to only allow messages from jids in rosterMichael Vetter2021-07-011-1/+2
| | | | | | | | | | | | | | `/silence on` will throw away all messages (type: chat, normal) that come from jids that are not in the roster. Implement https://github.com/profanity-im/profanity/issues/955
* | Reorder /blocked commandsMichael Vetter2021-07-011-0/+2
|/ | | | | | | | Instead of `/blocked add [<jid>] [report-abuse|report-spam [<message>]` have: * /blocked add [<jid>] [<message>] (like before) * /blocked report-abuse [<jid>] [<message>] * /blocked report-spam [<jid>] [<message>]
* Add command to show single bookmark detailsMichael Vetter2021-06-091-0/+4
| | | | | | | `/bookmark list` lists all bookmarks with its details. `/bookmark list <jid>` shows the details of a single bookmark. Implement https://github.com/profanity-im/profanity/issues/1558
* Attention flag for chat windowsDebXWoody2021-05-291-0/+1
| | | | | | | User is able to toggle a flag for chat windows. This flag should be used to mark the window for "Attention". Use Ctrl+f to mark the window.
* Have separate settings for intypeMichael Vetter2021-05-081-1/+28
| | | | | | | | | | Old: `/intype on|of` Typing information is printed in console and titlebar. New: `/intype titlebar|console on|off` Typing information can be configured in more detail. Regards https://github.com/profanity-im/profanity/issues/1516
* Reduce scope of dir variableMichael Vetter2021-05-061-1/+2
|
* command: Simplify return in autocompletionMichael Vetter2021-05-061-65/+12
|
* OMEMO - trust mode (#1506)Stefan2021-04-171-0/+15
| | | | | | | Add OMEMO trust mode capabilities. * ToFu / first usage * blind trust * manual
* editor: make editor configurable via /executableMichael Vetter2021-04-161-0/+1
| | | | | | `/executable set editor /full/path/to/edit`. Regards https://github.com/profanity-im/profanity/issues/1521
* Get rid of asprintf and _GNU_SOURCE defineMichael Vetter2021-03-301-8/+12
| | | | | | | _GNU_SOURCE was even in some files where it was not needed at all (http*). Let's replace asprintf() with g_strdup_printf().
* Add config.h in files were it was missingMichael Vetter2021-03-261-0/+2
| | | | Related to https://github.com/profanity-im/profanity/issues/1512
* Add support to register with a roomMichael Vetter2021-03-251-0/+1
| | | | | | | | | | `/affiliation register` can now be used to register a nickname with a MUC. Tested with a server without forms. Couldn't find a server which supports forms yet. Implements https://github.com/profanity-im/profanity/issues/1210
* MUC: Add voice requestThorben Günther2021-03-121-0/+1
| | | | closes https://github.com/profanity-im/profanity/issues/1211
* Completion: Split up role and affiliation completionThorben Günther2021-03-121-8/+15
| | | | Needed for affiliation request