about summary refs log tree commit diff stats
path: root/src/command/cmd_funcs.h
Commit message (Collapse)AuthorAgeFilesLines
* slightly improve `command_defs[]`Steffen Jaeckel2023-01-181-1/+5
| | | | | | | | | * 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>
* add `/strophe` command to modify libstrophe-specific settingsSteffen Jaeckel2023-01-181-0/+1
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Update copyright yearMichael Vetter2023-01-101-1/+1
|
* Add vCard supportMarouane L2022-10-181-0/+9
| | | | | | | | | | | | 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)
* Add basic qrcode functionsMichael Vetter2022-05-301-0/+1
|
* Update copyright yearMichael Vetter2022-05-091-1/+1
|
* ox: Add /ox log commandMichael Vetter2022-05-051-0/+1
|
* add /stamp commandArtjom Vejsel2022-04-021-0/+1
| | | | command allow override standard stamps of incoming and outgoing messages
* Add xep-0107: User Mood supportDebXWoody2021-12-061-0/+1
| | | | Implementation of XEP 0107 - User Mood
* Merge pull request #1601 from MarcoPolo-PasTonMolo/masterMichael Vetter2021-10-221-0/+1
|\ | | | | Add /correct-editor command
| * Add /correct-editor commandMarcoPolo-PasTonMolo2021-10-071-0/+1
| |
* | Format new register code correctlyMichael Vetter2021-10-131-1/+0
| |
* | initial register command testswirl2021-08-171-0/+2
|/
* Add option to only allow messages from jids in rosterMichael Vetter2021-07-011-0/+1
| | | | | | | `/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
* 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.
* OMEMO - trust mode (#1506)Stefan2021-04-171-0/+1
| | | | | | | 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
* Add new editor commandStefan2021-04-161-0/+1
| | | | Goal is to launch an external editor (eg vim) to edit the text there.
* Add command to change password of logged in userThorben Günther2021-03-111-0/+1
|
* Add /mam commandMichael Vetter2021-01-281-0/+1
| | | | Regards https://github.com/profanity-im/profanity/issues/660
* Remove scheme and filetype matching for url (save|open)William Wennerström2020-12-081-1/+3
|
* Remove cmd_tiny, empty files and link nonce with IVWilliam Wennerström2020-12-071-1/+0
|
* Run make format on rebaseWilliam Wennerström2020-11-161-128/+128
|
* Remove /omemo sendfileWilliam Wennerström2020-11-161-128/+128
|
* Remove `/tiny` commandMichael Vetter2020-07-101-1/+0
| | | | | | boothj5 gave his okay too. Fix https://github.com/profanity-im/profanity/issues/1370
* Apply coding styleMichael Vetter2020-07-071-177/+178
|
* Revert "Apply coding style"Michael Vetter2020-07-071-178/+177
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-177/+178
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Merge pull request #1374 from profanity-im/revampUrlopenMichael Vetter2020-07-021-1/+2
|\ | | | | Rework /url and /executable for filetypes
| * Replace /urlopen with /url and adapt /executablePierre Mazière2020-06-251-1/+2
| | | | | | | | | | | | | | | | /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/+3
|/ | | | | | | | | Basic implementation of XEP-0373: OpenPGP for XMPP. https://xmpp.org/extensions/xep-0373.html Command /ox Issue: #1331
* List ignored bookmarksMichael Vetter2020-05-241-0/+1
| | | | | | `/bookmarl ignore` lists the ignored bookmarks. Regards https://github.com/profanity-im/profanity/issues/1115
* Add /executable commandMichael Vetter2020-05-201-0/+1
| | | | | This is used to set the openers for various commands. So far for /avatar and /urlopen.
* Actually open the URLMichael Vetter2020-05-201-0/+2
|
* xep-0092: make it possible to ask servers or components for softwareMichael Vetter2020-05-141-0/+1
| | | | | | | | | | | This adds the new `/serversoftware` command. ``` /software user@domain.org/resource /serversoftware domain.org ``` Fix https://github.com/profanity-im/profanity/issues/1338
* titlebar: allow displaying MUC name and MUC jidMichael Vetter2020-03-241-1/+0
| | | | | | `/titlebar use name|jid` -> `/titlebar show|hide name|jid` Fix https://github.com/profanity-im/profanity/issues/1284
* Add slashguard featureMichael Vetter2020-03-181-0/+1
| | | | | New command `/slashguard` tries to protect against typing ` /quit` by not allowing a slash in the first 4 characters.
* Make /sendfile in OTR session configurableMichael Vetter2020-02-171-0/+1
| | | | | | `/otr sendfile on` allows unencrypted file transfer in an OMEMO session. Regards https://github.com/profanity-im/profanity/pull/1270
* Make /sendfile in OMEMO session configurableMichael Vetter2020-02-171-0/+1
| | | | | | | `/omemo sendfile on` allows unencrypted file transfer in an OMEMO session. Regards https://github.com/profanity-im/profanity/pull/1270
* xep-0308: Fix sending corrections for multiple wordsMichael Vetter2020-02-141-1/+1
|
* xep-0308: Implement `/correct` to correct the last send messageMichael Vetter2020-02-101-0/+1
| | | | | | | | So far the correction is sent. But the UI in Profanity itself is not updated. Also autocompletion for `/correct` with the last sent message is missing.
* xep-0308: set correction char in configMichael Vetter2020-02-101-0/+1
|
* XEP-0092: Add configuration option to choose whether to send OS nameMichael Vetter2020-01-241-0/+1
| | | | | `/os on|off` now let's one choose whether to include the OS name once `/software` (XEP-0092) is ran on us.
* Add option to display MUC name or JID in titlebarMichael Vetter2020-01-231-0/+1
| | | | Add `/titlebar use [name|jid]`.
* xep-0084: Look for specific user and print IDMichael Vetter2019-12-181-1/+1
| | | | Add a `/avatar` command.
* Add initial support for XEP-0392Michael Vetter2019-12-091-0/+2
| | | | | | | | | | | | | | The last 3 commits added basic support. Thanks @aaptel! This commit adds basic settings interface to use it. See `/color on|off`. We still have to enable settings for color blindness. And maybe another setting to decide whether to color the occupantslist/roster with the same algo. Regards https://github.com/profanity-im/profanity/issues/1191
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Merge /chlog and /grlog commands into /loggingMichael Vetter2019-11-121-2/+1
| | | | | | | Instead of `/chlog on` we now have `/logging chat on`. Instead of `/grlog on` we now have `/logging group on`. Fix https://github.com/profanity-im/profanity/issues/1224
* Merge state commands (online, away) into statusMichael Vetter2019-11-061-6/+2
| | | | | | | | | | | | Before we had `/online`, `/away`, `/dnd`, `/chat`, `/xa`. These commands are no longer available. We have `/status set online` etc now. Before `/status` was used to get the status of a contact. This now moved to `/status get`. Regards https://github.com/profanity-im/profanity/issues/1116
* Merge /invite, /invites and /decline commandsMichael Vetter2019-11-051-2/+0
| | | | | | | | | | `/invite <contact>` became `/invite send <contact>. `/invites` became `/invite list`. `/decline` became `/invite decline`. Accept is still done via `/join`. Regards https://github.com/profanity-im/profanity/issues/1116