about summary refs log tree commit diff stats
path: root/src/command
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix memleak againMichael Vetter2020-06-031-1/+5
| | | | | | | | | | Memleak was reinroduced in d92c576aa53505d712715b1acc6344af3262c84f It was already fixed in ac5ce105ac08f022d88d7e73dc38f2706d4c44cf But the rebase peetahs rebase ontop of master took the wrong changes. I decided to pull anyways and fix since reviewing/giving feedback without GH probably takes longer.
* Get output and error streams from the command spawned by external_call()Pierre Mazière2020-06-031-4/+5
| | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
* Fix memleak in cmd_urlopen()Michael Vetter2020-05-291-1/+3
|
* Save bookmark ignore listMichael Vetter2020-05-251-1/+1
|
* Add and use connection_get_barejid()Michael Vetter2020-05-251-3/+3
| | | | Instead of connection_get_fulljid() and then creating a Jid from it.
* Add `/bookmark ignore` autocompletionMichael Vetter2020-05-241-0/+21
| | | | Regards https://github.com/profanity-im/profanity/issues/1115
* Add bookmark ignore add|removeMichael Vetter2020-05-242-3/+20
| | | | Regards https://github.com/profanity-im/profanity/issues/1115
* List ignored bookmarksMichael Vetter2020-05-243-2/+31
| | | | | | `/bookmarl ignore` lists the ignored bookmarks. Regards https://github.com/profanity-im/profanity/issues/1115
* Add option to add bookmark nameMichael Vetter2020-05-223-6/+9
| | | | | | | | `/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-213-2/+17
| | | | | | | `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-204-6/+60
| | | | | This is used to set the openers for various commands. So far for /avatar and /urlopen.
* Make urlopen command configurableMichael Vetter2020-05-201-1/+1
|
* Create call_external() helper functionMichael Vetter2020-05-201-9/+1
|
* Build URL ac upon printing of message in windowMichael Vetter2020-05-202-15/+23
|
* Look for URLs via regexMichael Vetter2020-05-201-10/+5
|
* Actually open the URLMichael Vetter2020-05-203-1/+39
|
* Start urlopen featureMichael Vetter2020-05-201-0/+23
| | | | Start https://github.com/profanity-im/profanity/issues/1340
* Remove autocompletion for unanimous/regular colorMichael Vetter2020-05-161-12/+0
| | | | See 85520ecdc5d2e6ac6654817572b8fd99e43e25d9
* xep-0092: make it possible to ask servers or components for softwareMichael Vetter2020-05-143-0/+37
| | | | | | | | | | | This adds the new `/serversoftware` command. ``` /software user@domain.org/resource /serversoftware domain.org ``` Fix https://github.com/profanity-im/profanity/issues/1338
* Have proper autocompletion for /software in chat windowMichael Vetter2020-05-142-17/+60
| | | | | | | | | | | In console autocomplete from roster. In muc autocomplete from occupants lits. In 1:1 regular chat autocomplete from active resources of currently selected user (new). Also give a hint (/help resource) how to set the resource should a user choose that way. Fix https://github.com/profanity-im/profanity/issues/1337
* Remove unanimous MAM displayMichael Vetter2020-04-252-14/+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
|
* Fix parsing of alias commandMichael Vetter2020-04-201-1/+1
| | | | | This actually only set the local ran pointer to NULL. But we want an effect on the outside variable.
* Dont have account otr setting if built without otrMichael Vetter2020-04-031-0/+2
|
* Dont have otr autocompletion if build without otr supportMichael Vetter2020-04-031-0/+16
|
* Dont have pgp autocompletion if build without pgp supportMichael Vetter2020-04-031-2/+16
|
* Dont even create OMEMO ac vars if we build without supportMichael Vetter2020-04-031-0/+10
|
* Only have OMEMO autocompletion if we build with OEMO supportMichael Vetter2020-04-021-2/+6
|
* Fix omemo autocompletion mitakeMichael Vetter2020-04-021-2/+0
| | | | | Don't return too early. We still need to check for regular omemo autocompletion (omemo_ac).
* Remove 'use' from titlebar autocompletionMichael Vetter2020-03-291-1/+0
| | | | This was forgotten in f13168005512fe4219741d9daf83681dd9ed3d63.
* Fix edit mistakeMichael Vetter2020-03-271-1/+1
|
* Upgrade examplesMichael Vetter2020-03-261-39/+39
|
* Add setting to not colorize own nick according to xep-0392Michael Vetter2020-03-253-4/+17
| | | | | | | | | | | | | | | | | | Some users might want there nick to always stay white (etc) for easier recognition. Now we can do `/color own off` to not generate the color based on xep-0392. The `me=` color (etc) from the theme will then be used. Once we run this command `theme_load()` is called again. And the theme looks totally wrong. We encountered this at other times already and I think it's nothing wrong with this new code here now but that there seems to be a missing closing attr for the color when drawing. Should be investigated seperately. Fix https://github.com/profanity-im/profanity/issues/1288
* Fix old typo in titlebar presenceMichael Vetter2020-03-241-1/+1
|
* titlebar: allow displaying MUC name and MUC jidMichael Vetter2020-03-244-46/+19
| | | | | | `/titlebar use name|jid` -> `/titlebar show|hide name|jid` Fix https://github.com/profanity-im/profanity/issues/1284
* Add slashguard featureMichael Vetter2020-03-184-1/+31
| | | | | New command `/slashguard` tries to protect against typing ` /quit` by not allowing a slash in the first 4 characters.
* Add note about 256 color supportMichael Vetter2020-03-171-1/+2
|
* xep-0084/avatar: add option to open avatar directlyMichael Vetter2020-03-103-6/+43
| | | | | | | | | | | Change: `/avatar me@somewhere.org` -> `/avatar get me@somewhere.org` New: `/avatar cmd feh` `/avatar open me@somewhere.org` Implement https://github.com/profanity-im/profanity/issues/1281
* Remove caution about LMCMichael Vetter2020-03-091-1/+1
| | | | We check the from now.
* Make cmd_logging() saferMichael Vetter2020-02-251-2/+3
| | | | Could be that args[1] is not set.
* Improve formatting for some help instructionsWilliam Wennerström2020-02-241-12/+12
| | | | Some instructions were missing whitespace or punctuation.
* get_log_file_location () should return const char*Michael Vetter2020-02-211-1/+1
| | | | Make clear that result should never be freed.
* Improve setting encryption char error handlingMichael Vetter2020-02-211-6/+15
|
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-182/+183
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Add option to color MUC history like regular messagesMichael Vetter2020-02-203-12/+46
| | | | | | | | | `/logging group color` has: * `unanimous` which will color it with one unanimous color. Like it was done always. * `regular` which colors it like regular incoming messages. Regards https://github.com/profanity-im/profanity/issues/1261
* Fix typoMichael Vetter2020-02-171-1/+1
|
* Mention how to enable unencrypted file transerMichael Vetter2020-02-171-2/+2
| | | | Regards https://github.com/profanity-im/profanity/pull/1270
* Make /sendfile in PGP session configurableMichael Vetter2020-02-173-3/+23
| | | | | | `/pgp sendfile on` allows unencrypted file transfer in an PGP session. Regards https://github.com/profanity-im/profanity/pull/1270
* Make /sendfile in OTR session configurableMichael Vetter2020-02-174-6/+37
| | | | | | `/otr sendfile on` allows unencrypted file transfer in an OMEMO session. Regards https://github.com/profanity-im/profanity/pull/1270