about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix missed text in #1224Licaon_Kter2020-07-221-1/+1
|
* Use parse_args_with_freetext() for `/correct`Michael Vetter2020-07-201-1/+1
| | | | | | | | | | | | | This commit partly reverts 8f37afcd37ad8663ca36c13ca7fbc4a431119f73 Which was using a wrong approach to achieve this. It changed parse_args() to have a -1 for infinite parameters. But actually parse_args_with_freetext() should have been used exactly for this behaviour. Discovered when checking for https://github.com/profanity-im/profanity/issues/1404
* Add comment to easily find where to put the next commandMichael Vetter2020-07-151-0/+2
|
* Format cmd_defsMichael Vetter2020-07-151-1942/+2037
| | | | | Format it more readable and disable clang for this part. Was messed up in 9b55f2dec0ea27a9ce4856e303425e12f866cea2.
* Remove `/tiny` commandMichael Vetter2020-07-101-17/+0
| | | | | | boothj5 gave his okay too. Fix https://github.com/profanity-im/profanity/issues/1370
* Setting: only write in console upon muc mentionMichael Vetter2020-07-101-1/+2
| | | | | | `/console muc mention` additionally to `first|none|all`. Fix https://github.com/profanity-im/profanity/issues/1371
* Apply coding styleMichael Vetter2020-07-071-2321/+2226
|
* Revert "Apply coding style"Michael Vetter2020-07-071-2237/+2332
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-2332/+2237
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Add missing -o flag for omut exampleWilliam Wennerström2020-07-021-1/+1
|
* Merge pull request #1374 from profanity-im/revampUrlopenMichael Vetter2020-07-021-20/+30
|\ | | | | Rework /url and /executable for filetypes
| * executable: Use DEF instead of * as defaultMichael Vetter2020-07-021-4/+5
| | | | | | | | | | | | | | | | | | | | So far: ``` /executable urlsave html "test %u" results in url.save.cmd[html]=test %u /executable urlsave * "test %u" results in nothing. ``` Probably due to limitation in .ini file format.
| * use '*' to set a default executablePierre Mazière2020-07-021-4/+4
| | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
| * fix examples for /executablePierre Mazière2020-07-021-2/+2
| | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
| * Replace /urlopen with /url and adapt /executablePierre Mazière2020-06-251-20/+29
| | | | | | | | | | | | | | | | /urlopen is replaced by /url with the following sub commands: /url open <url> /url save <url> [<path>] Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
* | Feature request - XEP-0373: OpenPGP for XMPP (OX)DebXWoody2020-06-291-0/+42
|/ | | | | | | | | Basic implementation of XEP-0373: OpenPGP for XMPP. https://xmpp.org/extensions/xep-0373.html Command /ox Issue: #1331
* Add option for legacy authenticationDmitry Podgorny2020-06-051-2/+7
| | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236.
* Add bookmark ignore add|removeMichael Vetter2020-05-241-3/+8
| | | | Regards https://github.com/profanity-im/profanity/issues/1115
* List ignored bookmarksMichael Vetter2020-05-241-2/+5
| | | | | | `/bookmarl ignore` lists the ignored bookmarks. Regards https://github.com/profanity-im/profanity/issues/1115
* Add option to add bookmark nameMichael Vetter2020-05-221-2/+3
| | | | | | | | `/bookmark add|update` got `name` field. By default localpart of JID is used (like before) but now we can set the name ourselves. Regards https://github.com/profanity-im/profanity/issues/697
* Make option to allow hiding windows with no messages in statusbarMichael Vetter2020-05-211-2/+4
| | | | | | | `statusbar.show.read` can be set to false in the config. `/statusbar show|hide read`. Implement https://github.com/profanity-im/profanity/issues/1285
* Add the word 'hilight' to trigger docMichael Vetter2020-05-201-1/+1
| | | | So users are able to search the reference website easier.
* Add /executable commandMichael Vetter2020-05-201-5/+22
| | | | | This is used to set the openers for various commands. So far for /avatar and /urlopen.
* Actually open the URLMichael Vetter2020-05-201-1/+17
|
* xep-0092: make it possible to ask servers or components for softwareMichael Vetter2020-05-141-0/+17
| | | | | | | | | | | This adds the new `/serversoftware` command. ``` /software user@domain.org/resource /serversoftware domain.org ``` Fix https://github.com/profanity-im/profanity/issues/1338
* Remove unanimous MAM displayMichael Vetter2020-04-251-8/+4
| | | | | | For some time users could choose to have the old way "unanimous" where all the MUC history is just grey (or whatever was set). Now it is always just displayed like regular new incoming MUC text.
* Mention the related commands for /correct and /correctionWilliam Wennerström2020-04-241-3/+5
|