about summary refs log tree commit diff stats
path: root/src/command/cmd_ac.c
Commit message (Collapse)AuthorAgeFilesLines
* Have separate settings for intypeMichael Vetter2021-05-081-1/+28
| | | | | | | | | | 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
* Reduce scope of dir variableMichael Vetter2021-05-061-1/+2
|
* command: Simplify return in autocompletionMichael Vetter2021-05-061-65/+12
|
* OMEMO - trust mode (#1506)Stefan2021-04-171-0/+15
| | | | | | | 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
* Get rid of asprintf and _GNU_SOURCE defineMichael Vetter2021-03-301-8/+12
| | | | | | | _GNU_SOURCE was even in some files where it was not needed at all (http*). Let's replace asprintf() with g_strdup_printf().
* Add config.h in files were it was missingMichael Vetter2021-03-261-0/+2
| | | | Related to https://github.com/profanity-im/profanity/issues/1512
* Add support to register with a roomMichael Vetter2021-03-251-0/+1
| | | | | | | | | | `/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
* MUC: Add voice requestThorben Günther2021-03-121-0/+1
| | | | closes https://github.com/profanity-im/profanity/issues/1211
* Completion: Split up role and affiliation completionThorben Günther2021-03-121-8/+15
| | | | Needed for affiliation request
* MUC: Show offline members in sidebarThorben Günther2021-03-081-0/+1
|
* Add /mam commandMichael Vetter2021-01-281-3/+3
| | | | Regards https://github.com/profanity-im/profanity/issues/660
* Remove /omemo sendfileWilliam Wennerström2020-11-161-13/+0
|
* Declare counter var inside loopMichael Vetter2020-11-091-15/+11
| | | | We require c99/gnu99 anyways.
* Simplify _correction_autocomplete()Michael Vetter2020-11-051-4/+1
|
* Simplify _executable_autocomplete()Michael Vetter2020-11-051-4/+1
|
* Simplify _lastactivity_autocomplete()Michael Vetter2020-11-051-9/+4
|
* Simplify _who_autocomplete()Michael Vetter2020-11-051-3/+0
|
* Simplify _tray_autocomplete()Michael Vetter2020-11-051-5/+1
|
* Simplify _sub_autocomplete()Michael Vetter2020-11-051-5/+1
|
* Simplify cmd_ac_complete_filepath()Michael Vetter2020-11-051-8/+1
|
* Simplify cmd_ac_complete()Michael Vetter2020-11-051-9/+3
|
* Get rid of str_contains()Michael Vetter2020-11-021-2/+2
| | | | We can use strchr() here.
* Fix /correct quotation marks usageMichael Vetter2020-07-231-1/+0
| | | | | | | 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-1/+32
| | | | | | | | | | | | | 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
* Setting: only write in console upon muc mentionMichael Vetter2020-07-101-0/+1
| | | | | | `/console muc mention` additionally to `first|none|all`. Fix https://github.com/profanity-im/profanity/issues/1371
* OX: XEP-0373: OpenPGP for XMPP - Version 0.5.0 (2020-06-19)DebXWoody2020-07-101-10/+0
| | | | | | | | | | | Discovering Public Keys via PEP * 4.3 Discovering Public Keys of a User * 4.4 Requesting Public Keys * Import Public Keys into GnuPG's local keyring. Issue: #1331
* Apply coding styleMichael Vetter2020-07-071-467/+463
|
* Revert "Apply coding style"Michael Vetter2020-07-071-471/+475
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-475/+471
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Merge pull request #1374 from profanity-im/revampUrlopenMichael Vetter2020-07-021-4/+22
|\ | | | | Rework /url and /executable for filetypes
| * Add /url autocompletionPierre Mazière2020-06-251-4/+22
| | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
* | Feature request - XEP-0373: OpenPGP for XMPP (OX)DebXWoody2020-06-291-0/+97
|/ | | | | | | | | 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-1/+89
| | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236.
* Add `/bookmark ignore` autocompletionMichael Vetter2020-05-241-0/+21
| | | | Regards https://github.com/profanity-im/profanity/issues/1115
* Add option to add bookmark nameMichael Vetter2020-05-221-0/+1
| | | | | | | | `/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-0/+1
| | | | | | | `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 /executable commandMichael Vetter2020-05-201-1/+21
| | | | | This is used to set the openers for various commands. So far for /avatar and /urlopen.
* Build URL ac upon printing of message in windowMichael Vetter2020-05-201-4/+4
|
* Look for URLs via regexMichael Vetter2020-05-201-10/+5
|
* 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
* Have proper autocompletion for /software in chat windowMichael Vetter2020-05-141-2/+39
| | | | | | | | | | | 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
* 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.