about summary refs log tree commit diff stats
path: root/src/config/preferences.h
Commit message (Collapse)AuthorAgeFilesLines
* Apply coding styleMichael Vetter2020-07-071-44/+46
|
* Revert "Apply coding style"Michael Vetter2020-07-071-46/+44
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-44/+46
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Remove prefs_free_string()Michael Vetter2020-07-021-1/+0
| | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
* Merge pull request #1374 from profanity-im/revampUrlopenMichael Vetter2020-07-021-0/+5
|\ | | | | Rework /url and /executable for filetypes
| * cmd_url_*(): use gchar instead of charMichael Vetter2020-07-021-1/+1
| |
| * Replace /urlopen with /url and adapt /executablePierre Mazière2020-06-251-0/+1
| | | | | | | | | | | | | | | | /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>
| * Add string and string list preferences with optionPierre Mazière2020-06-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Where GKeyFile usually use the pref[locale] format to define locale specific translated data, it is here hijacked to be used as pref[option] in order to specialize a preference according to an option: open.url.cmd[pdf] = pdf-viewer open.url.cmd[jpg] = image-viewer 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
* 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
* Make urlopen command configurableMichael Vetter2020-05-201-0/+1
|
* Remove unanimous MAM displayMichael Vetter2020-04-251-1/+0
| | | | | | 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.
* Add hidden MAM setting and trigger MAM retrievel when opening new windowMichael Vetter2020-04-121-0/+1
| | | | | | | | | | | | Only when we start the conversation. Not yet when we get messaged and a new window is opened. Need to have sorting of messages in the window buffer then, I guess. Also MAM IQ should only be send one time in such a case. If MAM is enabled history from sql backend will not be shown. `mam` in profrc enables experimental MAM. Can change soon again. Don't rely on stuff in this stage ;)
* Add setting to not colorize own nick according to xep-0392Michael Vetter2020-03-251-0/+1
| | | | | | | | | | | | | | | | | | 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
* titlebar: allow displaying MUC name and MUC jidMichael Vetter2020-03-241-1/+2
| | | | | | `/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.
* xep-0084/avatar: add option to open avatar directlyMichael Vetter2020-03-101-0/+1
| | | | | | | | | | | 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
* Improve setting encryption char error handlingMichael Vetter2020-02-211-3/+3
|
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-7/+7
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Add option to color MUC history like regular messagesMichael Vetter2020-02-201-0/+1
| | | | | | | | | `/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
* Make /sendfile in PGP session configurableMichael Vetter2020-02-171-0/+1
| | | | | | `/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-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: create setting to toggle lmcMichael Vetter2020-02-101-0/+1
| | | | and print settings if only `/correction` is run.
* xep-0308: set correction char in configMichael Vetter2020-02-101-0/+3
|
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-311-2/+2
| | | | Fix #1068
* xep-0092: add config option to set whether OS is revealedMichael Vetter2020-01-231-0/+1
| | | | | | Default is on. `revail.os=false` in the `connection` section of the config can disable it. A command to configure this will follow.
* Add option to notify about version requestMichael Vetter2020-01-231-0/+1
| | | | | | | | | | Cannot be configured for now. Can be set via `adv.notify.discoversion` in the `notification` section. Will notify about version requests via XEP-0092 and XEP-0232. Client version can still be seen via caps (capabilities). See `stanza_attach_caps()`.
* Add option to display MUC name or JID in titlebarMichael Vetter2020-01-231-0/+1
| | | | Add `/titlebar use [name|jid]`.
* Add `/roster room use` commandMichael Vetter2020-01-231-0/+1
| | | | | | | `/roster room use name` to use the name of the MUC in the roster list. `/roster room use jid` to use the jid of the MUC in the roster list. Display it only in case `/roster room by none` is set so far.
* Update my Copyright to 2020Michael Vetter2020-01-031-1/+1
|
* Add /occupants color commandMichael Vetter2019-12-191-0/+1
| | | | | | | | `/occupants color on|off` to enable or disable XEP-0392 also for the MUC occupants. Regards https://github.com/profanity-im/profanity/issues/1191
* xep-0392: colorize rosterMichael Vetter2019-12-191-0/+1
|
* XEP-0392: config: add "color.nick" bool optionAurelien Aptel2019-12-031-0/+1
| | | | | the option will control whether to enable coloration of usernames based on the hashing algorithm described in XEP-0392.
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Merge pull request #874 from spiridoncha/masterMichael Vetter2019-10-051-0/+1
|\ | | | | Change /clear behaviour. Closes issue #855.
| * Makes /clear behavior configurable.Spiridonov Alexander2016-11-071-0/+1
| |
* | Introduce /reload commandMichael Vetter2019-10-041-0/+1
| | | | | | | | | | | | This command reloads the configuration file. Fix https://github.com/profanity-im/profanity/issues/627
* | Possibility to specify alternative config fileMichael Vetter2019-08-021-1/+1
| | | | | | | | Introduce `profanity -c` to specify an alternative config file.
* | Add 'save' command to save preferencesMichael Vetter2019-08-021-0/+2
| | | | | | | | | | | | | | Most applications have an 'apply changes' button. This makes testing easier too. Implement https://github.com/profanity-im/profanity/issues/1164
* | Add occupants charMichael Vetter2019-05-021-0/+3
| | | | | | | | | | | | | | `/occupants char` now sets a character that is displayed before the nick in MUCs. Similar like `/roster char` is displaying a char for the roster. Regards #690
* | Add occupants wrap optionMichael Vetter2019-04-241-0/+1
| | | | | | | | | | | | | | Wrapping for the occupants panel like already exists for the roster panel. See `/occupants wrap on`. Regards https://github.com/boothj5/profanity/issues/690
* | Add occupants header charMichael Vetter2019-04-231-0/+3
| | | | | | | | | | | | | | | | `/occupants header char` now sets a character that is displayed before the role (moderator, visitor..) in a room. Similar to `/roster header char` is displaying a char for the roster. Regards https://github.com/boothj5/profanity/issues/690
* | Add /occupants indent commandMichael Vetter2019-04-181-0/+2
| | | | | | | | | | | | | | | | Roster has a `/roster contact indent` option. Now we have the same for occupants. So contacts in roster and in MUC can have configurable indentation. Regards https://github.com/boothj5/profanity/issues/690
* | Add OMEMO policyPaul Fariello2019-04-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | There is 3 policy: - manual: OMEMO session are only started manually - automatic: OMEMO session are only started if they have been started manually before - always: OMEMO session are always started unless they have been ended manually before Closes #1040 and fixes #1052
* | Add OMEMO message encryption and decryptionPaul Fariello2019-04-101-0/+3
| |
* | Update copyright to include 2019Michael Vetter2019-01-221-1/+1
| |
* | Rename mucconf wins into conf winsPaul Fariello2018-09-051-1/+1
| | | | | | | | Configuration windows are now being used by both muc and cmd.
* | Add max tab length to statusbarJames Booth2018-03-111-0/+2
| |
* | WIP add self prefs for statusbarJames Booth2018-03-101-0/+1
| |