about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* List globally available pluginsMichael Vetter2021-09-291-1/+1
| | | | | | | | | | Packagers can package https://github.com/profanity-im/profanity-plugins or another collection of plugins to `/usr/local/share/profanity/plugins` (python) and `/usr/local/lib64/profanity` (c). `/plugins` will list these globally available plugins now along with the ones thare are installed (`~/.local/share/profanity/plugins`) and loaded. Regards https://github.com/profanity-im/profanity/issues/945
* Remove `/python sourcepath`Michael Vetter2021-09-291-7/+1
| | | | | | | | | | | | | | | | 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.
* Change attentionflag shortcut to alt+vMichael Vetter2021-08-311-1/+1
| | | | | | alt+f is the default readline shortcut for forward one word. Regards https://github.com/profanity-im/profanity/issues/1580
* Add limitations info to /help editorMichael Vetter2021-07-081-1/+3
|
* Add MAM notice to /help mamMichael Vetter2021-07-081-1/+3
|
* Merge pull request #1566 from DebXWoody/bugfixing/oxMichael Vetter2021-07-011-4/+6
|\ | | | | Bugfixes for OX implementation
| * OX bug fixDebXWoody2021-07-011-3/+4
| | | | | | | | | | * Help / message description * C-Code format
| * Bugfixes for OX implementationDebXWoody2021-06-281-4/+5
| | | | | | | | | | | | | | * 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-0/+14
| | | | | | | | | | | | | | `/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-5/+10
| | | | | | | | | | | | | | | | 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 XEP-0377: Spam ReportingMichael Vetter2021-07-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | Report and block: `/blocked add someone@domain.org report-abuse This is not nice` `/blocked add someone@domain.org report-spam This is not nice` Regular block: `/blocked add someone@domain.org` Implement https://github.com/profanity-im/profanity/issues/1434
* | command: Mention xep-0157 in /disco infoMichael Vetter2021-06-301-1/+2
|/
* Fix executable exampleMichael Vetter2021-06-101-1/+1
| | | | Changed in a5a0dd6c919a2b4f12ef2b4f57a0d9a2a9cabf34
* Add editor hintMichael Vetter2021-06-101-1/+1
| | | | | See https://github.com/profanity-im/profanity/issues/1521#issuecomment-854110973
* Add command to show single bookmark detailsMichael Vetter2021-06-091-2/+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
* Change attention descriptionMichael Vetter2021-05-311-1/+1
|
* Attention flag for chat windowsDebXWoody2021-05-291-0/+3
| | | | | | | 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-3/+4
| | | | | | | | | | 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
* command: Fix serversoftware examplesMichael Vetter2021-04-181-2/+2
|
* OMEMO - trust mode (#1506)Stefan2021-04-171-0/+5
| | | | | | | Add OMEMO trust mode capabilities. * ToFu / first usage * blind trust * manual
* editor: make editor configurable via /executableMichael Vetter2021-04-161-3/+6
| | | | | | `/executable set editor /full/path/to/edit`. Regards https://github.com/profanity-im/profanity/issues/1521
* editor: adapt help descriptionMichael Vetter2021-04-161-2/+3
|
* Run clang-format on new editor codeMichael Vetter2021-04-161-1/+1
|
* Add new editor commandStefan2021-04-161-0/+14
| | | | Goal is to launch an external editor (eg vim) to edit the text there.
* Get rid of asprintf and _GNU_SOURCE defineMichael Vetter2021-03-301-9/+7
| | | | | | | _GNU_SOURCE was even in some files where it was not needed at all (http*). Let's replace asprintf() with g_strdup_printf().
* Add support to register with a roomMichael Vetter2021-03-251-2/+4
| | | | | | | | | | `/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
* Merge pull request #1511 from mwuttke97/doc_bookmark_joinMichael Vetter2021-03-241-6/+13
|\ | | | | Command doc: Improve description and examples of `/bookmark` and `/join`
| * Command doc: Improve description and examples of `/bookmark` and `/join`Maximilian Wuttke2021-03-211-6/+13
| |
* | MUC: Add voice requestThorben Günther2021-03-121-2/+4
|/ | | | closes https://github.com/profanity-im/profanity/issues/1211
* Add command to change password of logged in userThorben Günther2021-03-111-0/+13
|
* Cmd definitions: Add offline option to occupantsThorben Günther2021-03-081-2/+5
|
* Correct command synopsis for mamMichael Vetter2021-02-091-1/+1
|
* Add /mam commandMichael Vetter2021-01-281-0/+15
| | | | Regards https://github.com/profanity-im/profanity/issues/660
* Add `/executable (urlsave|urlopen)` migrationsWilliam Wennerström2020-12-181-5/+5
|
* Only rotate logs if user didn't specify a log fileMichael Vetter2020-12-111-1/+1
|
* Shared log file needs a restartMichael Vetter2020-12-111-1/+1
| | | | Tell user about this change.
* Fix various typosMichael Vetter2020-12-101-2/+2
|
* Merge pull request #1375 from wstrm/feature/omemo-sendfileMichael Vetter2020-12-091-64/+70
|\ | | | | Send and retrieve encrypted files when using OMEMO
| * Remove scheme and filetype matching for url (save|open)William Wennerström2020-12-081-15/+24
| |
| * Remove /omemo sendfileWilliam Wennerström2020-11-161-49/+46
| |
* | Print man page arguments boldMichael Vetter2020-12-071-1/+1
| |
* | Generate date for manpageMichael Vetter2020-12-071-3/+14
| |
* | Break lines differently in example and synopsis sectionMichael Vetter2020-12-071-2/+2
| |
* | man: formate arguments properlyMichael Vetter2020-12-071-3/+2
| |
* | Create cmd to generate man pages for prof commandsMichael Vetter2020-12-041-0/+67
|/ | | | | | | | | `profanity mangen` will create for each command (`/account`, `/roster`) an own manpage (`profanity-account.1`, `profanity-roster.1`) See https://github.com/profanity-im/profanity/issues/1444 Needs some polishing formatting wise.
* Declare counter var inside loopMichael Vetter2020-11-091-15/+10
| | | | We require c99/gnu99 anyways.
* Fix /correct quotation marks usageMichael Vetter2020-07-231-1/+1
| | | | | | | Add new `parse_args_as_one()` function to just use everything after the command as the argument. Fix https://github.com/profanity-im/profanity/issues/1404
* Fix lastactivity behaviourMichael Vetter2020-07-221-8/+8
| | | | | | | | | | | | | Autocomplete only completed on|off. Now: `/lastactivity get` -> get server uptime `/lastactivity get <jid>` -> get user lastactivity `/lastactivity set on` -> enable for self `/lastactivity set off` -> disable for self Fix https://github.com/profanity-im/profanity/issues/1411
* Expand /lastactivity helpMichael Vetter2020-07-221-1/+1
|