about summary refs log tree commit diff stats
path: root/src/config/accounts.c
Commit message (Collapse)AuthorAgeFilesLines
* Add sessions_alarmJohn Hernandez2023-04-181-1/+33
| | | | | | | | | 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/+18
| | | | | | | | 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-18/+1
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Update copyright yearMichael Vetter2023-01-101-1/+1
|
* accounts: deduplicate code via helper functionMichael Vetter2022-06-291-116/+54
|
* Don't forget encryption status for OX and PGP.MarcoPolo-PasTonMolo2022-06-171-10/+60
| | | | | | | | 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
* 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
|
* Restore last status string when connectingThorben Günther2021-07-011-2/+11
|
* Add config.h in files were it was missingMichael Vetter2021-03-261-0/+2
| | | | Related to https://github.com/profanity-im/profanity/issues/1512
* Declare counter var inside loopMichael Vetter2020-11-091-14/+7
| | | | We require c99/gnu99 anyways.
* Dont initialize i twice in accounts_get_account()Michael Vetter2020-11-051-5/+5
|
* Apply coding styleMichael Vetter2020-07-071-129/+123
|
* Revert "Apply coding style"Michael Vetter2020-07-071-126/+132
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-132/+126
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Fix reading/writing linked filesMichael Vetter2020-06-131-1/+1
| | | | | | "base" was not really base but the filename :-) Fix https://github.com/profanity-im/profanity/issues/1362
* Add option for legacy authenticationDmitry Podgorny2020-06-051-2/+18
| | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236.
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-311-2/+2
| | | | Fix #1068
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Add OMEMO policyPaul Fariello2019-04-171-1/+66
| | | | | | | | | | | | 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 random string at the end of the default resourcePaul Fariello2019-04-121-2/+4
| | | | | | | | When connecting for the first time or when creating a new account don't use only 'profanity' as default resource. Some server don't support having 2 connection with same resource. Using profanity as default lead to deconnections.
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Add option to trust server's certificateDmitry Podgorny2018-11-061-0/+1
| | | | | | | | | | | New tls policy "trust" added to /connect and /account. With the policy TLS connection is established even with invalid certificate. Note, that trust policy forces TLS connection and it fails when server doesn't support TLS. Examples: /connect <jid> tls trust /account <name> set tls trust
* Update copyrightJames Booth2018-01-211-1/+1
|
* Legacy SSL supportDmitry Podgorny2017-06-241-1/+2
| | | | | | | | | | | | | | | | Add "legacy" tls policy to /account and /connect commands. When this policy is specified the connection is connected with XMPP_CONN_LEGACY_SSL flag. Notice, legacy SSL and STARTTLS are not compatible and user has to know when exactly the new policy should be used. To enable it, run one of the next commands: /connect <jid> tls legacy [server <host>] /account <name> set tls legacy Notice, there is no SRV record for legacy SSL. Therefore, you may need "server" property to connect successfully. Refer to configuration provided by your server.
* Allow previous autocompletion with shift tabJames Booth2017-04-011-4/+4
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Allow clearing account resourceJames Booth2016-11-221-0/+9
| | | | issue #880
* Use server features for account muc serviceJames Booth2016-11-201-40/+56
| | | | issue #878
* Move all filepath handling to files.cJames Booth2016-07-241-22/+7
|
* Move xgd functionsJames Booth2016-07-241-2/+2
|
* Add config/files.cJames 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/+26
|
* Added conf_string_list_addJames Booth2015-11-241-42/+1
|
* Created config/conflists.c for shared config list handlingJames Booth2015-11-231-51/+7
|
* Applied coding style to accounts.cJames Booth2015-10-251-50/+50
|
* Force tls on all connections, add tls policy account propertyJames Booth2015-10-181-3/+25
|
* Add ability to script commands after connectJames Booth2015-10-151-2/+26
|
* Added missing account properties to /account renameJames Booth2015-09-281-29/+26
|
* Removed old code to fix legacy accountsJames Booth2015-09-281-58/+2
|
* Include last activity in initial presenceJames Booth2015-09-271-0/+11
|
* Added auto xa option, tidied autoaway codeJames Booth2015-09-271-0/+19
|
* Save last activity to account on disconnectJames Booth2015-09-251-0/+17
|
* Fixed various jid and account mem leaksJames Booth2015-06-241-0/+2
|
* Merge branch 'master' into pgpJames Booth2015-05-041-17/+17
|\
| * Use null check convention in accounts.cJames Booth2015-05-041-17/+17
| |