Michael Vetter
057c9ad776
Add config.h in files were it was missing
...
Related to https://github.com/profanity-im/profanity/issues/1512
2021-03-26 19:54:22 +01:00
William Wennerström
695a1d3c8c
Use popen for eval_password (reintroduce old behavior)
...
Old commit that implemented the old behavior:
bc9e6b79cd
2020-12-15 15:45:16 +01:00
William Wennerström
32cfea4bd2
Refactor call_external
2020-12-11 15:51:01 +01:00
Michael Vetter
a2726b6a7d
Apply coding style
2020-07-07 14:18:57 +02:00
Michael Vetter
a4cadf78fa
Revert "Apply coding style"
...
This reverts commit 9b55f2dec0
.
Sorting the includes creates some problems.
2020-07-07 13:53:30 +02:00
Michael Vetter
9b55f2dec0
Apply coding style
...
Regards https://github.com/profanity-im/profanity/issues/1396
2020-07-07 09:43:28 +02:00
William Wennerström
deb0818a1b
Log errors from eval_password
...
All errors were discarded to /dev/null if the error_ptr was set to
NULL.
2020-07-06 11:02:04 +02:00
Michael Vetter
b79d7e8752
Fix NULL terminated list
...
Regards https://github.com/profanity-im/profanity/issues/1367
2020-06-23 14:42:09 +02:00
Michael Vetter
448f7f0936
Use shell to start eval_password command
...
Since d92c576aa5
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
2020-06-19 20:17:20 +02:00
Dmitry Podgorny
ac410445af
Add option for legacy authentication
...
New options:
/connect <account> [auth default|legacy]
/account <account> set auth default|legacy
Fixes #1236 .
2020-06-05 11:37:51 +03:00
Pierre Mazière
fad77d9d70
Use external_call to get password via eval_password command
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2020-06-03 13:09:29 +02:00
Michael Vetter
46fd7150e5
Add vim modeline
2019-11-13 12:11:05 +01:00
Michael Vetter
d0c3d3fd6b
Null-set account struct
...
Surpresses the valgrind warning about uninit. values.
2019-10-14 11:35:18 +02:00
Paul Fariello
5f015e32b2
Add OMEMO policy
...
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
2019-04-17 14:03:14 +02:00
Michael Vetter
706af9a900
Update copyright to include 2019
2019-01-22 11:31:45 +01:00
Dmitry Podgorny
3fd6f70bd9
Override account options with connect options
...
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 .
2018-11-07 15:02:30 +02:00
James Booth
250e972b7a
Update copyright
2018-01-21 15:00:02 +00:00
James Booth
68a3daedb9
Update Copyright
2017-01-28 17:24:22 +00:00
James Booth
e043029a50
Allow clearing account resource
...
issue #880
2016-11-22 00:39:52 +00:00
James Booth
609d05366c
Use server features for account muc service
...
issue #878
2016-11-20 02:09:34 +00:00
James Booth
37742d71b6
Move resource conversions
2016-07-24 16:27:39 +01:00
James Booth
0a57c4de78
Tidy headers
2016-07-24 15:43:51 +01:00
James Booth
1c5efaeb58
Moved jid.c
2016-07-24 14:59:28 +01:00
James Booth
e8fc80f5c1
Update GPL link in headers
2016-07-24 01:14:49 +01:00
James Booth
e53e94f1e2
Updated copyright
2016-02-14 22:54:46 +00:00
James Booth
53fc89f711
Added account theme property
2016-01-22 01:06:28 +00:00
James Booth
13ae9252a7
Applied coding style to account.c
2015-10-25 00:35:39 +01:00
James Booth
6640a0891f
Force tls on all connections, add tls policy account property
2015-10-18 03:06:23 +01:00
James Booth
904a5a81cf
Add ability to script commands after connect
2015-10-15 01:19:24 +01:00
James Booth
3fd9692aec
Merge branch 'master' into pgp
2015-05-04 23:40:58 +01:00
James Booth
47549452f1
Use null check convention in account.c
2015-05-04 22:29:51 +01:00
James Booth
7a44e17141
Merge branch 'master' into pgp
...
Conflicts:
src/config/account.h
2015-04-23 23:48:43 +01:00
James Booth
bc9e6b79cd
Tidied account login
2015-04-23 21:56:48 +01:00
James Booth
475dfebd97
Added pgpkeyid account setting, send signed presence
2015-03-23 23:38:06 +00:00
James Booth
b3be26a214
Updated copyright
2015-02-10 23:16:09 +00:00
James Booth
a932998fb1
Removed unused include, free eval_password
2015-01-13 00:43:17 +00:00
Peter Vilim
401835f32a
Add support for evaluated password
2015-01-06 23:00:02 -06:00
James Booth
f9737251a6
Added license exemption for OpenSSL to source headers
2014-08-24 20:57:39 +01:00
James Booth
b3d49f2a3c
Added backwards compatible g_list_free_full for glib < 2.28
2014-05-21 21:39:31 +01:00
James Booth
9dda7036a9
Implemented per contact OTR policy setting
2014-05-11 19:32:07 +01:00
James Booth
95ff13136b
Added OTR policy account preference
2014-05-11 14:13:15 +01:00
James Booth
d6e92f62dc
Fixed cppcheck warnings
2014-04-26 00:36:36 +01:00
James Booth
26726b207a
Updated copyright
2014-03-09 01:18:19 +00:00
James Booth
21ab182151
Refactored ProfAccount creation
2014-01-22 22:22:01 +00:00