about summary refs log tree commit diff stats
path: root/src/command
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing -o flag for omut exampleWilliam Wennerström2020-07-021-1/+1
|
* cmd_funcs.c: Remove not needed variableMichael Vetter2020-07-021-2/+1
|
* Remove prefs_free_string()Michael Vetter2020-07-021-16/+16
| | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
* Merge pull request #1374 from profanity-im/revampUrlopenMichael Vetter2020-07-024-40/+270
|\ | | | | 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.
| * cmd_url_*(): use gchar instead of charMichael Vetter2020-07-021-3/+3
| |
| * cmd_url_open(): fix memleakMichael Vetter2020-07-021-0/+1
| |
| * 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>
| * cmd_url_*(): remove NULLing when not neededMichael Vetter2020-07-011-8/+4
| |
| * cmd_executable(): Check arg lengthsMichael Vetter2020-07-011-0/+10
| |
| * Display a message acknowledging file saving successPierre Mazière2020-06-251-0/+2
| | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
| * Add /url autocompletionPierre Mazière2020-06-251-4/+22
| | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
| * Replace /urlopen with /url and adapt /executablePierre Mazière2020-06-253-30/+232
| | | | | | | | | | | | | | | | /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>
| * Refactor cmd_urlopenPierre Mazière2020-06-251-16/+16
| | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
* | Fix omemo otr caseMichael Vetter2020-06-291-1/+2
| | | | | | | | Fix 3afd854dc862696c4842b2ed93efcad44d617910
* | Feature request - XEP-0373: OpenPGP for XMPP (OX)DebXWoody2020-06-294-0/+305
| | | | | | | | | | | | | | | | | | Basic implementation of XEP-0373: OpenPGP for XMPP. https://xmpp.org/extensions/xep-0373.html Command /ox Issue: #1331
* | cmd_funcs: fix omemo caseMichael Vetter2020-06-291-1/+2
| | | | | | | | Small mistake introduced in b7f959bab4e8ed13e8b5d638180420e497844a26.
* | Dont allow starting a PGP session while in an OMEMO sessionMichael Vetter2020-06-291-0/+5
| |
* | Clean-up: defines cmd_funcs.cDebXWoody2020-06-201-42/+6
|/
* Add option for legacy authenticationDmitry Podgorny2020-06-053-6/+126
| | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236.
* 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
|