about summary refs log tree commit diff stats
path: root/src/config
Commit message (Collapse)AuthorAgeFilesLines
* Add support for offline MUC notificationsStefan Ott2022-04-232-0/+4
|
* 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.
* Merge pull request #1674 from paulfertser/allow-bold-for-default-coloursMichael Vetter2022-04-041-12/+13
|\ | | | | Allow bold for default colours
| * Allow bold for default coloursPaul Fertser2022-04-011-12/+13
| |
* | Merge pull request #1681 from akaWolf/fix_theme_load_non_existMichael Vetter2022-04-031-0/+3
|\ \ | | | | | | | | | | | | Fix theme load When we execute `/theme load somethingthatdoesntexist` it still loaded some colors wrongly.
| * | disable execution of colors-changing code when call for theme load and it ↵Artjom Vejsel2022-04-021-0/+3
| |/ | | | | | | doesn't exist
* / Include `config.h` in `src/config.cafile.c`Maxi Wuttke2022-04-021-0/+2
|/ | | | See <https://github.com/profanity-im/profanity/issues/1512>
* run `make format`Steffen Jaeckel2022-03-301-1/+2
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* 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.
* add profanity-specific CAfileSteffen Jaeckel2022-03-223-0/+152
| | | | | | | | The profanity-internal mechanism to allow connecting to a server isn't easily portable to cURL. Therefor introduce a profanity-specific CAfile which is managed individually and will be configured in libcurl calls. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* a tad more `const`-correctnessSteffen Jaeckel2022-03-222-2/+2
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* also store PEM in `TLSCertificate`Steffen Jaeckel2022-03-222-4/+10
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* simplify codeSteffen Jaeckel2022-03-211-33/+1
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* replace `GString` usage where a simple `strdup` worksSteffen Jaeckel2022-03-141-20/+6
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* use `g_mkdir_with_parents()` instead of home-baked solutionSteffen Jaeckel2022-03-141-8/+7
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* add `files_file_in_account_data_path()`Steffen Jaeckel2022-03-132-0/+24
| | | | | | | | | | | | As all parts of the code invoking the `files_get_account_data_path()` function did the same afterwards, a function has been added with the same behavior. 1. create path 2. `mkdir` of that path 3. return final path Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* 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-223-20/+12
|
* Allow utf8 in occupants charMichael Vetter2021-10-223-19/+12
|
* Allow utf8 in roster room private charMichael Vetter2021-10-223-20/+12
|
* Allow utf8 in roster rooms charMichael Vetter2021-10-223-20/+12
|
* Allow utf8 in roster private charMichael Vetter2021-10-223-20/+12
|
* Allow utf8 in roster resource charMichael Vetter2021-10-223-20/+12
|
* Allow utf8 in roster contact charMichael Vetter2021-10-223-20/+12
|
* Allow utf8 in roster header charMichael Vetter2021-10-213-17/+15
| | | | | | | | | 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
* Format code correctlyMichael Vetter2021-10-051-1/+1
|
* Clean sourcepath from profrcMichael Vetter2021-09-291-0/+5
| | | | See 3b3a6b7a756e0f162d212249750524b7ce045cea for sourcepath removal.
* Remove `/python sourcepath`Michael Vetter2021-09-292-5/+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
* accounts: get rid of guard around freeMichael Vetter2021-07-171-11/+5
|
* Fix memory leak in accounts_get_login_status()Dmitry Podgorny2021-07-171-0/+4
|
* Add option to only allow messages from jids in rosterMichael Vetter2021-07-012-0/+4
| | | | | | | `/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
* Restore last status string when connectingThorben Günther2021-07-012-2/+12
|
* 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
* editor: Use datadir instead of tmp dirMichael Vetter2021-06-101-0/+1
| | | | | See https://github.com/profanity-im/profanity/issues/1521#issue-860017824
* 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-082-0/+4
| | | | | | | | | | 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-172-0/+6
| | | | | | | Add OMEMO trust mode capabilities. * ToFu / first usage * blind trust * manual
* Editor: Using preferences compose.editorStefan2021-04-162-0/+6
| | | | compose.editor is the path to the executable ( default /usr/bin/vim )
* Add config.h in files were it was missingMichael Vetter2021-03-265-0/+10
| | | | Related to https://github.com/profanity-im/profanity/issues/1512
* MUC: Show offline members in sidebarThorben Günther2021-03-083-0/+5
|
* Update copyrightMichael Vetter2021-01-084-4/+4
|
* Add `/executable (urlsave|urlopen)` migrationsWilliam Wennerström2020-12-181-3/+29
|
* Use popen for eval_password (reintroduce old behavior)William Wennerström2020-12-151-20/+35
| | | | | Old commit that implemented the old behavior: bc9e6b79cdc246f7e97f6ddff7ea81474a698b05
* Refactor call_externalWilliam Wennerström2020-12-111-11/+19
|
* Use whole path as logfile when defined via -fMichael Vetter2020-12-111-8/+14
| | | | | | | | | `profanity -f my` created ~/.local/share/profanity/logs/my.log`. It would be nicer if one could define the actual path, so one can choose another directory or even use /dev/null. Fixes https://github.com/profanity-im/profanity/issues/1442
* Set default color for trackbarMichael Vetter2020-12-101-0/+1
| | | | Fix https://github.com/profanity-im/profanity/issues/1453
* Fix various typosMichael Vetter2020-12-102-2/+2
|
* docs: fix simple typo, certian -> certainTim Gates2020-12-101-1/+1
| | | | | | There is a small typo in src/config/theme.c. Should read `certain` rather than `certian`.