about summary refs log tree commit diff stats
path: root/src/command/cmd_ac.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove `/python sourcepath`Michael Vetter2021-09-291-18/+0
| | | | | | | | | | | | | | | | I feel like this mostly is confusing people. Also don't see much value for it. To me it looks like a regular workflow is like: ``` /plugin install ~/src/profanity-plugins/my.py ``` The whole thing with sourcepath, install (which also loads without having that described anywhere), load etc is confusing. Also each plugin file that is present in `.local/share/profanity/plugins` will then be auto loaded. Which means after installation.
* Merge pull request #1576 from DebXWoody/autocomplete-untrustMichael Vetter2021-07-121-0/+27
|\ | | | | OMEMO autocomplete untrust
| * OMEMO autocomplete untrustDebXWoody2021-07-101-0/+27
| | | | | | | | Just a copy-past of autocomplete trust implementation.
* | Merge pull request #1566 from DebXWoody/bugfixing/oxMichael Vetter2021-07-011-4/+8
|\ \ | | | | | | Bugfixes for OX implementation
| * | Bugfixes for OX implementationDebXWoody2021-06-281-4/+8
| |/ | | | | | | | | | | | | * autocomplete for /ox discover * fixed help description * Implemented /ox char command * Validated KeyID length
* | Add option to only allow messages from jids in rosterMichael Vetter2021-07-011-1/+2
| | | | | | | | | | | | | | `/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
* | Reorder /blocked commandsMichael Vetter2021-07-011-0/+2
|/ | | | | | | | Instead of `/blocked add [<jid>] [report-abuse|report-spam [<message>]` have: * /blocked add [<jid>] [<message>] (like before) * /blocked report-abuse [<jid>] [<message>] * /blocked report-spam [<jid>] [<message>]
* Add command to show single bookmark detailsMichael Vetter2021-06-091-0/+4
| | | | | | | `/bookmark list` lists all bookmarks with its details. `/bookmark list <jid>` shows the details of a single bookmark. Implement https://github.com/profanity-im/profanity/issues/1558
* 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.
* 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