about summary refs log tree commit diff stats
path: root/src/config/preferences.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into cleanup/gchar-charMichael Vetter2023-05-111-1/+1
|\
| * Align avatar behaviour with urlopenMichael Vetter2023-05-101-1/+1
| | | | | | | | | | | | `/executable avatar` now also uses cmdtemplate and parse %p. It seems to me that the `/avatar` command was actually completely broken on master.
* | Cleanup: gchar as gchar instead of charJohn Hernandez2023-05-041-31/+14
|/ | | | | | | | Use gchar instead of char in most of the cases where gchar is intended. Reason: improve compatibility and stability. Issue #1819 Minor refactoring.
* add `/statusbar tabmode actlist`Steffen Jaeckel2023-04-081-0/+5
| | | | | | | | | | The existing way how active tabs are displayed didn't allow showing more than 10 tabs. This patch adds a mode where the statusbar shows a comma-separated list of tabs which were active since the last time viewed. This view is inspired by how `irssi` shows the active tabs, therefore it is also called `actlist`. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* add `/strophe` command to modify libstrophe-specific settingsSteffen Jaeckel2023-01-181-3/+16
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Update copyright yearMichael Vetter2023-01-101-1/+1
|
* Add vCard supportMarouane L2022-10-181-0/+10
| | | | | | | | | | | | Only nicknames, photos, birthdays, addresses, telephone numbers, emails, JIDs, titles, roles, notes, and URLs are supported Due to the synopsis array not having enough space, `/vcard photo open-self` and `/vcard photo save-self` are not documented properly in the synopsis section of the `/vcard` command, but they are documented in the arguments section Fixed memory leak in vcard autocomplete (thanks to debXwoody)
* Display a help message upon first start of ProfanityMichael Vetter2022-07-051-1/+0
| | | | Explaining how to register/connect/set up an account.
* Display mood preferencesMichael Vetter2022-06-221-1/+1
|
* Make mood display optionalMichael Vetter2022-06-221-0/+4
|
* Update copyright yearMichael Vetter2022-05-091-1/+1
|
* Log encrypted messages by default to chatlogMichael Vetter2022-05-091-4/+4
| | | | | In case chatlogs are available lets log everything by default. Seems like most users expect this behaviour and I agree.
* ox: Add /ox log commandMichael Vetter2022-05-051-0/+6
|
* Restore default behaviour for stampsMichael Vetter2022-05-031-1/+1
| | | | | | | | | | | | @mdosch discovered that we now don't print `:` for messages from others anymore. Until https://github.com/profanity-im/profanity/pull/1663#issuecomment-1114625151 is fixed lets restore the default behaviour to always add `:` in `_win_print_internal()`. The result will be that a stamp set to `-->` will also look like `-->:`.
* Merge branch 'master' into add_stamp_settingsMichael Vetter2022-04-281-3/+7
|\
| * Add support for offline MUC notificationsStefan Ott2022-04-231-0/+3
| |
| * Dont show presence status changes by defaultMichael Vetter2022-04-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | Dont show presence status changes by default in chat and muc windows. Users repeatedly ask how to change this setting in the MUC. We have it in the FAQ since a long time. And most people I know change this setting, including me. So it looks like it's time to change this default.
| * run `make format`Steffen Jaeckel2022-03-301-1/+2
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | Rename stamp preference variableMichael Vetter2022-04-281-6/+6
| | | | | | | | | | PREF_INCOMING_STR -> PREF_INCOMING_STAMP PREF_OUTGOING_STR -> PREF_OUTGOING_STAMP
* | add /stamp commandArtjom Vejsel2022-04-021-0/+10
|/ | | | command allow override standard stamps of incoming and outgoing messages
* Use EDITOR environment variablePaul Fertser2022-03-271-2/+4
| | | | | | | When preferences do not specify a program to be used for /editor command, try getting it from EDITOR (which POSIX.1-2017 calls one of "variables that are frequently exported by widely used command interpreters and applications"), fall back to "vim" if not set.
* auto-formatSteffen Jaeckel2021-10-271-1/+0
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Allow utf8 in occupants header charMichael Vetter2021-10-221-16/+8
|
* Allow utf8 in occupants charMichael Vetter2021-10-221-15/+8
|
* Allow utf8 in roster room private charMichael Vetter2021-10-221-16/+8
|
* Allow utf8 in roster rooms charMichael Vetter2021-10-221-16/+8
|
* Allow utf8 in roster private charMichael Vetter2021-10-221-16/+8
|
* Allow utf8 in roster resource charMichael Vetter2021-10-221-16/+8
|
* Allow utf8 in roster contact charMichael Vetter2021-10-221-16/+8
|
* Allow utf8 in roster header charMichael Vetter2021-10-211-13/+11
| | | | | | | | | This and the following commits should make a couple of more configs allow utf8 chars so people can use their weird icons :-) We did the same for the otr/omemo/pgp indicators at: https://github.com/profanity-im/profanity/commit/1f8b1eb740391941e79e1004ad041f8178a2b674 https://github.com/profanity-im/profanity/commit/5cf6ee1bc6d0b99b01891bc455a657bf022a72b0
* Clean sourcepath from profrcMichael Vetter2021-09-291-0/+5
| | | | See 3b3a6b7a756e0f162d212249750524b7ce045cea for sourcepath removal.
* Remove `/python sourcepath`Michael Vetter2021-09-291-4/+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.
* Enable whole word only notifications by defaultMichael Vetter2021-09-081-0/+1
| | | | | | | | | | | | | | | | | | | | Set PREF_NOTIFY_MENTION_WHOLE_WORD to true. If I'm not mistaken the _mucwin_print_mention() / get_mentions() functions only work correctly since 6bc440c6f7e8c2c40d2d45f5c0decc15821abc8b. This changed the behaviour for users. They got notified when their nick was `kaffee` and in the message the string `kaffeekanne` occured. Setting `/notify room mention word_whole` corrected this. So my idea is that only now the mention function work correctly. And to have a good default behaviour we should set the `word_whole` on by default. Regards https://github.com/profanity-im/profanity/issues/1578
* Add option to only allow messages from jids in rosterMichael Vetter2021-07-011-0/+3
| | | | | | | `/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
* Disable notifications by defaultMichael Vetter2021-06-281-9/+0
| | | | | | | | Since I didn't find a way to discover whether a notification server is running I decided to disable them by default. So people without one will not have such a bad lag due to timeout from libnotify. Fix https://github.com/profanity-im/profanity/issues/977
* external editor: don't use absolute paths and allow path searchJörg Thalheim2021-05-301-1/+1
|
* Have intype on by defaultMichael Vetter2021-05-081-0/+2
|
* Have separate settings for intypeMichael Vetter2021-05-081-0/+3
| | | | | | | | | | 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
* OMEMO - trust mode (#1506)Stefan2021-04-171-0/+5
| | | | | | | Add OMEMO trust mode capabilities. * ToFu / first usage * blind trust * manual
* Editor: Using preferences compose.editorStefan2021-04-161-0/+5
| | | | compose.editor is the path to the executable ( default /usr/bin/vim )
* MUC: Show offline members in sidebarThorben Günther2021-03-081-0/+3
|
* Update copyrightMichael Vetter2021-01-081-1/+1
|
* Add `/executable (urlsave|urlopen)` migrationsWilliam Wennerström2020-12-181-3/+29
|
* Fix various typosMichael Vetter2020-12-101-1/+1
|
* Purge omemo sendfile from configMichael Vetter2020-12-091-0/+5
| | | | | | | | | | https://github.com/profanity-im/profanity/pull/1375 added omemo media sharing support. Thus the protection (https://github.com/profanity-im/profanity/pull/1270) to sending files plainly in an omemo chat isn't needed anymore and got removed. Lets clean it from the config file.
* Remove scheme and filetype matching for url (save|open)William Wennerström2020-12-081-2/+2
|
* Move unique_filename_from_url functions to commonWilliam Wennerström2020-12-041-1/+0
|
* Refactor for threaded external executable for built-in download methodsWilliam Wennerström2020-12-031-45/+4
|
* Use fallback method when /executable urlsave is unsetWilliam Wennerström2020-11-161-2/+0
|
* Run make format on rebaseWilliam Wennerström2020-11-161-389/+387
|