about summary refs log tree commit diff stats
path: root/src/config
Commit message (Collapse)AuthorAgeFilesLines
* 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`.
* 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-033-55/+14
|
* 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
|
* Remove /omemo sendfileWilliam Wennerström2020-11-162-391/+389
|
* Declare counter var inside loopMichael Vetter2020-11-094-53/+30
| | | | We require c99/gnu99 anyways.
* Dont initialize i twice in accounts_get_account()Michael Vetter2020-11-051-5/+5
|
* Since the string from strerror should never be modified, use const.Philipp Klaus Krause2020-10-141-1/+1
|
* Basic support for building on NetBSD.nia2020-09-042-0/+4
| | | | | | - Add NetBSD as a recognized platform without -ldl. - Allow building with NetBSD libcurses instead of ncurses. - Portability to NetBSD sh - use POSIX '=' instead of '=='.
* Apply coding styleMichael Vetter2020-07-0718-1709/+1929
|
* Revert "Apply coding style"Michael Vetter2020-07-0718-1950/+1730
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-0718-1730/+1950
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Log errors from eval_passwordWilliam Wennerström2020-07-061-1/+2
| | | | | All errors were discarded to /dev/null if the error_ptr was set to NULL.
* Remove prefs_free_string()Michael Vetter2020-07-023-13/+6
| | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
* Merge pull request #1374 from profanity-im/revampUrlopenMichael Vetter2020-07-022-7/+145
|\ | | | | Rework /url and /executable for filetypes
| * Transform url.open.cmd to new default schemeMichael Vetter2020-07-021-1/+1
| | | | | | | | | | | | Additionally to: 7de83217c4d7bfdb70b77f2baeb8f12d4147d873 1e2a288d80fe0200f1d44d5106f7cc5bfd77718b
| * executable: actually take the user set default if a certain scheme isMichael Vetter2020-07-021-6/+11
| | | | | | | | not found
| * cmd_url_*(): use gchar instead of charMichael Vetter2020-07-022-2/+2
| |
| * Use correct format when transforming old urlopen.cmdMichael Vetter2020-07-021-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additionally to ec7e635e752bdfef851fd177596c1d73d97afb42. In the earlier commit I just setted the test value ignoring the real format. Now we correctly transform: ``` [logging] urlopen.cmd=xdg-open ``` into: ``` [executables] url.open.cmd=false;xdg-open %u; ```
| * use '*' to set a default executablePierre Mazière2020-07-021-11/+24
| | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
| * Move url/avatar commands from logging to exectuables sectionMichael Vetter2020-07-011-0/+14
| | | | | | | | | | | | | | | | | | c56d530b67d09267eb46cba029217e4b84b32cef by peetah moves: urlopen.cmd from the 'logging' to a new 'executables' section in profrc avatar.cmd from the 'logging' to a new 'executables' section in profrc We need to adapt this so that users don't have to set the setting again themselves.
| * prefs_free_string() doesnt need to check if pref is NULLMichael Vetter2020-07-011-4/+1
| | | | | | | | g_free(NULL); is noop.
| * Replace /urlopen with /url and adapt /executablePierre Mazière2020-06-252-3/+17
| | | | | | | | | | | | | | | | /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-252-1/+89
| | | | | | | | | | | | | | | | | | | | | | | | 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>