about summary refs log tree commit diff stats
path: root/src/config/account.c
Commit message (Collapse)AuthorAgeFilesLines
* Add sessions_alarmJohn Hernandez2023-04-181-1/+3
| | | | | | | | | Introduce new feature: sessions_alarm. Added new account setting: max_connections. On exceeding this number, user will get an alert. If number is less than 1, no alert will happen. Tests altered to fit new feature.
* Allow setting client identification name/version manuallyJohn Hernandez2023-04-091-1/+5
| | | | | | | | Add changes allowing user to switch client name and version. Useful for enhancing user privacy. Minor cleanup.
* let `account_new()` take ownership of passed valuesSteffen Jaeckel2023-01-181-81/+29
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Don't forget encryption status for OX and PGP.MarcoPolo-PasTonMolo2022-06-171-2/+9
| | | | | | | | Use a pgp.enabled and ox.enabled array the same way that omemo.enabled is used. Fixes https://github.com/profanity-im/profanity/issues/1694 Fixes https://github.com/profanity-im/profanity/issues/733
* Add config.h in files were it was missingMichael Vetter2021-03-261-0/+2
| | | | Related to https://github.com/profanity-im/profanity/issues/1512
* 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
|
* Apply coding styleMichael Vetter2020-07-071-22/+26
|
* Revert "Apply coding style"Michael Vetter2020-07-071-28/+24
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-24/+28
| | | | 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.
* Fix NULL terminated listMichael Vetter2020-06-231-1/+1
| | | | Regards https://github.com/profanity-im/profanity/issues/1367
* Use shell to start eval_password commandMichael Vetter2020-06-191-5/+1
| | | | | | | | | | | | | | Since https://github.com/profanity-im/profanity/commit/d92c576aa53505d712715b1acc6344af3262c84f we rely on g_spawn_sync(). Which doesn't do variable/glob expansion. For our use of call_external() in opening and URL or avatar this is fine. For getting the password we want to be able to use ~ for our files. Let's use a shell here. Fix https://github.com/profanity-im/profanity/issues/1364
* Add option for legacy authenticationDmitry Podgorny2020-06-051-1/+14
| | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236.
* Use external_call to get password via eval_password commandPierre Mazière2020-06-031-26/+24
| | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Null-set account structMichael Vetter2019-10-141-0/+1
| | | | Surpresses the valgrind warning about uninit. values.
* Add OMEMO policyPaul Fariello2019-04-171-1/+14
| | | | | | | | | | | | 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
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Override account options with connect optionsDmitry Podgorny2018-11-071-0/+17
| | | | | | | | | | | | With this feature user can configure TLS policy for an account and override it for a single login with /connect command. Example: /account set <jid> tls force /connect <jid> tls trust The example shows how to trust server's certificate only once. Fixes #1021.
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Allow clearing account resourceJames Booth2016-11-221-1/+1
| | | | issue #880
* Use server features for account muc serviceJames Booth2016-11-201-31/+26
| | | | issue #878
* Move resource conversionsJames Booth2016-07-241-0/+1
|
* Tidy headersJames Booth2016-07-241-2/+2
|
* Moved jid.cJames Booth2016-07-241-1/+1
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Updated copyrightJames Booth2016-02-141-1/+1
|
* Added account theme propertyJames Booth2016-01-221-1/+8
|
* Applied coding style to account.cJames Booth2015-10-251-8/+8
|
* Force tls on all connections, add tls policy account propertyJames Booth2015-10-181-1/+9
|
* Add ability to script commands after connectJames Booth2015-10-151-1/+8
|
* Merge branch 'master' into pgpJames Booth2015-05-041-8/+8
|\
| * Use null check convention in account.cJames Booth2015-05-041-8/+8
| |
* | Merge branch 'master' into pgpJames Booth2015-04-231-0/+40
|\| | | | | | | | | Conflicts: src/config/account.h
| * Tidied account loginJames Booth2015-04-231-0/+40
| |
* | Added pgpkeyid account setting, send signed presenceJames Booth2015-03-231-1/+8
|/
* Updated copyrightJames Booth2015-02-101-1/+1
|
* Removed unused include, free eval_passwordJames Booth2015-01-131-0/+1
|
* Add support for evaluated passwordPeter Vilim2015-01-061-2/+8
|
* Added license exemption for OpenSSL to source headersJames Booth2014-08-241-0/+12
|
* Added backwards compatible g_list_free_full for glib < 2.28James Booth2014-05-211-0/+1
|
* Implemented per contact OTR policy settingJames Booth2014-05-111-1/+10
|
* Added OTR policy account preferenceJames Booth2014-05-111-3/+9
|
* Fixed cppcheck warningsJames Booth2014-04-261-1/+0
|
* Updated copyrightJames Booth2014-03-091-1/+1
|
* Refactored ProfAccount creationJames Booth2014-01-221-0/+144