fix bug 4618, 'Rate limit by remote breaks queued/marked actions (Delete/Move)' patch by Charles Huber
fix bug 4615, 'Compilation fails with --disable-gnutls' don't build oauth2 support when using --disable-gnutls
Honor GTK project name¹, except some files… …where it refers to previous name of the project. ¹ https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html
Revert "Fix CID 1491382: malloc size too short by one because, worst case, qp_decode_const" This reverts commit 69e7131dc87ed1dbec2f9140a03b38feaf192cdf.
Fix CID 1491382: malloc size too short by one because, worst case, qp_decode_const will dump the exact same input string.
custom client IDs only for oauth2
Replace OAUTH2 with OAuth2 in the UI when it's not protocol codes.
migrate use_apop_auth to new config
Add oauth2 authentication - mostly by David Fletcher Signed-off-by: Michael Rasmussen <mir@datanom.net>
Add Server Name Indication support to TLS connections, if applicable. Adds a hidden pref "use_tls_sni". Patch by Alex Smith. Closes bug #4103: TLS SNI (Server Name Indication) support for IMAP, POP & SMTP
Allow separate autocheck configuration for accounts. Accounts can have their own autocheck intervals, or follow global interval. This separates the autocheck configuration from 'Get all'. config_version is bumped to 3, because meaning of "receive_at_get_all" in account configuration has changed. Closes bug #2552: in automatic checking, enable the use of different time intervals Closes bug #2837: Detach automatic email checking from 'get all'
Added SOCKS proxy support. Based on UI and network code from LibSylph/Sylpheed, rewritten to use getaddrinfo(), fixed some small bugs in handling errors. Added connect wrappers for etpan IMAP and NNTP, as well as for anything Session-based (POP3, SMTP, Managesieve). Adds support for global, as well as per-account proxy servers. Original patch by Charles Lehner <cel at celehner com>, from bug #2244.
Handle config_version update separately for accounts. Instead of loading entire configuration from all the files in rcdir and doing an update at the end, we now upgrade each "part" right after we load it. This is to allow greater flexibility during the time not all of the configuration is loaded yet, e.g. folders using correct folderclass functions, based on protocol of account owning a particular folder. This is currently affecting clawsrc and accountrc, but it will be trivial to extend it to other rcdir files as needed.
Fix a long-standing memory leak in account prefs. All P_STRING type prefs with non-NULL default values were being leaked due to overly complicated account config loading, where we would first initialize a fresh PrefAccount, then load prefs from config, copying data between the static tmp_ac_prefs and our dynamically allocated PrefAccount several times. Instead of adding another round of data copying from/to tmp_ac_prefs for purpose of free()ing the P_STRING prefs, this commit changes prefs_account_read_config() into prefs_account_new_from_config(), a Existing accounts are now created with simple: ac_prefs = prefs_account_new_from_config(...); instead of previous: ac_prefs = prefs_account_new(); prefs_account_read_from_config(ac_prefs, ...); The new function sets up contents of tmp_ac_prefs, and then its contents are only copied to the newly allocated PrefsAccount once.
Fix bug #3741: Deleting an account doesn't delete imapcache Based on initial patch by Paul and in exchange of a reviewed patch for 3582 ;-)
Make Message-ID string generation less confusing. Instead of having to prepare one part, then second part in advance and pass them to generate_msgid() which does its own voodoo with them, we now just pass a pointer to PrefsAccount to prefs_account_generate_msgid(), and it does all of it on its own, returning pointer to a newly allocated string.
Remove obsolete A_APOP and A_RPOP account protocols. CLAWS_CONFIG_VERSION bumped to 1.
Remove imap_use_trash account preference. Disabling this preference made deleting messages behave incorrectly - they were marked for deletion regardless of whether "delete" or "move to trash" was used, and these actions were not executed immediately, regardless of "immediate_execution" common preference.
Add a per-account preference to allow automatically accepting unknown and changed SSL certificates, if they're valid (that is, if the root CA is trusted by the distro).
combine xmailer/xnewsreader header options into one, using generic term "user agent"