]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Thu, 29 Feb 2024 11:47:45 +0000 (13:47 +0200)]
lib-sql: Rename driver_sqlpool_init_full() to driver_sqlpool_legacy_init_full()
Timo Sirainen [Thu, 29 Feb 2024 11:46:53 +0000 (13:46 +0200)]
lib-sql: Remove prototype for nonexistent driver_sqlpool_init()
Timo Sirainen [Sat, 17 Feb 2024 14:37:21 +0000 (16:37 +0200)]
lib-sql: pgsql - Implement new init() API
Timo Sirainen [Fri, 16 Feb 2024 08:03:10 +0000 (10:03 +0200)]
lib-sql: pgsql - Move settings to struct pgsql_settings
Timo Sirainen [Sat, 17 Feb 2024 14:39:20 +0000 (16:39 +0200)]
lib-sql: pgsql - Remove unused pgsql_db.pool
Timo Sirainen [Fri, 8 Mar 2024 12:35:12 +0000 (14:35 +0200)]
lib-sql: pgsql - Fix logging database name on connection failure
Timo Sirainen [Fri, 16 Feb 2024 07:46:17 +0000 (09:46 +0200)]
lib-sql: cassandra - Implement new init() API
Timo Sirainen [Fri, 16 Feb 2024 05:42:32 +0000 (07:42 +0200)]
lib-sql: cassandra - Split off driver_cassandra_init_common()
Timo Sirainen [Wed, 14 Feb 2024 12:29:51 +0000 (14:29 +0200)]
lib-sql: cassandra - Move settings to struct cassandra_settings
Timo Sirainen [Fri, 9 Feb 2024 21:24:18 +0000 (23:24 +0200)]
lib-sql: mysql - Implement new init() API
Timo Sirainen [Thu, 29 Feb 2024 13:11:39 +0000 (15:11 +0200)]
lib-sql: mysql - Split off driver_mysql_init_common()
Timo Sirainen [Thu, 29 Feb 2024 12:55:07 +0000 (14:55 +0200)]
lib-sql: mysql - Move settings to struct mysql_settings
Timo Sirainen [Fri, 9 Feb 2024 21:04:20 +0000 (23:04 +0200)]
lib-sql: mysql - Handle missing MySQL SSL support without dying
Timo Sirainen [Fri, 26 Jan 2024 22:24:10 +0000 (00:24 +0200)]
lib-sql: sqlite - Implement new init() API
Timo Sirainen [Thu, 29 Feb 2024 12:47:51 +0000 (14:47 +0200)]
lib-sql: sqlite - Split off driver_sqlite_init_common()
Timo Sirainen [Thu, 29 Feb 2024 12:42:40 +0000 (14:42 +0200)]
lib-sql: sqlite - Move settings to struct sqlite_settings
Timo Sirainen [Fri, 26 Jan 2024 22:09:42 +0000 (00:09 +0200)]
lib-sql: Replace sql_init*() with a new sql_init_auto() API
Timo Sirainen [Fri, 26 Jan 2024 21:58:15 +0000 (23:58 +0200)]
lib-sql, global: Rename struct sql_settings to sql_legacy_settings
Timo Sirainen [Fri, 26 Jan 2024 21:56:24 +0000 (23:56 +0200)]
lib-sql: Rename sql_db_vfuncs.init*() to init_legacy*()
Timo Sirainen [Fri, 26 Jan 2024 21:54:40 +0000 (23:54 +0200)]
lib-sql, global: Rename sql_init*() to sql_init_legacy*()
Timo Sirainen [Fri, 8 Mar 2024 09:52:15 +0000 (11:52 +0200)]
lib-sql: Refactor sql driver initialization code
sql_drivers_init() now registers all the drivers.
Timo Sirainen [Fri, 16 Feb 2024 05:25:46 +0000 (07:25 +0200)]
lib-ssl-iostream: Add ssl_client_key_password setting
Timo Sirainen [Fri, 9 Feb 2024 21:07:50 +0000 (23:07 +0200)]
lib-ssl-iostream: Make ssl_default_settings public
Timo Sirainen [Fri, 9 Feb 2024 21:33:00 +0000 (23:33 +0200)]
lib-settings: Add settings_file_has_path()
Marco Bettini [Wed, 28 Feb 2024 10:08:30 +0000 (10:08 +0000)]
lib-language: Remove truncation from filters
Marco Bettini [Fri, 23 Feb 2024 15:12:15 +0000 (15:12 +0000)]
lib-language: Pass event with language filter to filter/tokenizer_create
This is required for non-core plugins to be able to load their language
nested configurations.
Marco Bettini [Wed, 14 Feb 2024 16:04:33 +0000 (16:04 +0000)]
lib-language: Add language_default setting
Marco Bettini [Tue, 30 Jan 2024 09:01:24 +0000 (09:01 +0000)]
lib-language: tokenizers - Use new settings
Marco Bettini [Fri, 26 Jan 2024 16:14:08 +0000 (16:14 +0000)]
lib-language: filters - Use new settings
Marco Bettini [Thu, 25 Jan 2024 09:42:21 +0000 (09:42 +0000)]
lib-language: Replace fts_languages with the names from language filter array
Marco Bettini [Wed, 24 Jan 2024 14:43:16 +0000 (14:43 +0000)]
lib-language: Replace fts_language_config with language_textcat_config_path
Marco Bettini [Wed, 24 Jan 2024 08:21:12 +0000 (08:21 +0000)]
lib-language: Add language config-rewrite settings
Marco Bettini [Tue, 23 Jan 2024 08:56:03 +0000 (08:56 +0000)]
fts: Switch to lang-user
Marco Bettini [Mon, 22 Jan 2024 16:42:35 +0000 (16:42 +0000)]
lib-storage: Add lang-user to Makefile
Also, switch fts-plugin from static linking to dynamic.
Otherwise static variables in filters and tokenizers modules
end up with duplicated/split storage.
Marco Bettini [Wed, 17 Jan 2024 11:00:28 +0000 (11:00 +0000)]
lib-language: lang-user - Rename functions
Marco Bettini [Wed, 17 Jan 2024 10:15:19 +0000 (10:15 +0000)]
lib-language: lang-user - Rename fuser -> luser
Marco Bettini [Wed, 17 Jan 2024 10:04:22 +0000 (10:04 +0000)]
lib-language: lang-user - Rename structs
Marco Bettini [Wed, 17 Jan 2024 09:59:23 +0000 (09:59 +0000)]
lib-language: lang-user - Rename Macros
Marco Bettini [Wed, 31 Jan 2024 11:55:49 +0000 (11:55 +0000)]
lib-language: Copy plugins/fts/fts-user.* into lang-user.*
Marco Bettini [Wed, 31 Jan 2024 14:41:30 +0000 (14:41 +0000)]
lib-language: Change search tokenizers pseudo-setting into proper API
Marco Bettini [Thu, 1 Feb 2024 10:51:08 +0000 (10:51 +0000)]
lib-language: Fix whitespaces
Aki Tuomi [Tue, 27 Feb 2024 11:56:14 +0000 (13:56 +0200)]
doc/example-config: Update dovecot-oauth2.conf.ext
Aki Tuomi [Tue, 13 Dec 2022 18:06:35 +0000 (20:06 +0200)]
auth: mech-oauth2 - Allow validating tokens in worker
Aki Tuomi [Tue, 13 Dec 2022 18:06:39 +0000 (20:06 +0200)]
auth: auth-worker - Support validating oauth2 tokens
Aki Tuomi [Sun, 25 Oct 2020 16:58:11 +0000 (18:58 +0200)]
auth: mech-oauth2 - Fix authentication error reporting
Use standard codes for everything except internal failure.
Aki Tuomi [Tue, 27 Feb 2024 13:22:21 +0000 (15:22 +0200)]
auth: Remove OIDC configuration URL hack
Aki Tuomi [Sun, 25 Oct 2020 16:55:46 +0000 (18:55 +0200)]
auth: mech-oauth2 - Validate credentials in mech
Simplifies auth workflow greatly by not having to pretend
verifying tokens as passwords.
Aki Tuomi [Sun, 25 Oct 2020 16:52:39 +0000 (18:52 +0200)]
auth: mech-oauth2 - Ensure data is cleaned from memory after unref
Aki Tuomi [Wed, 3 Jun 2020 05:36:18 +0000 (08:36 +0300)]
auth: mech-oauth2 - Validate token in mechanism
This is how the validation should have been done all along.
Aki Tuomi [Tue, 27 Feb 2024 13:16:42 +0000 (15:16 +0200)]
auth: Allow authentication succeed without passdb
Aki Tuomi [Wed, 14 Dec 2022 08:11:27 +0000 (10:11 +0200)]
auth: Allow noauthenticate in the last passdb
If the passdb lookup has already succeeded, ignore
PASSDB_RESULT_NEXT result.
Aki Tuomi [Tue, 20 Feb 2024 12:52:03 +0000 (14:52 +0200)]
db-oauth2: Mark passdb_success already here
Allows setting auth fields without passdb.
Aki Tuomi [Wed, 3 Jun 2020 05:32:58 +0000 (08:32 +0300)]
auth: db-oauth2 - Keep initialized oauth2 databases in memory
Removes refcounting. This avoids losing cache. Simplifies next change.
Aki Tuomi [Thu, 4 May 2023 12:32:55 +0000 (15:32 +0300)]
auth: mech-oauth2 - Always go through passdb lookup
Otherwise db-oauth2 cannot add the openid configuration URL.
Aki Tuomi [Fri, 16 Feb 2024 11:31:41 +0000 (13:31 +0200)]
lib-oauth2: Make oauth2_request_abort() NULL no-op
Timo Sirainen [Tue, 27 Feb 2024 11:57:51 +0000 (13:57 +0200)]
lib: istream-sized - Always preserve parent stream error
Only ENOENT errors were preserved previously.
Timo Sirainen [Sat, 24 Feb 2024 12:11:10 +0000 (14:11 +0200)]
auth: passwd-file - Add support for fields { .. }
Timo Sirainen [Mon, 26 Feb 2024 12:42:36 +0000 (14:42 +0200)]
auth: passwd-file - Make all pointers in struct passwd_user const
Timo Sirainen [Sat, 24 Feb 2024 11:30:21 +0000 (13:30 +0200)]
auth: Add generic configuration for passdb/userdb fields
The following commits will make these work like:
passdb foo {
fields {
key = %{passdb_driver:fieldname:default}
}
}
And similarly for userdb. This will remove the need for default_fields and
override_fields settings. It's also possible to use
passdb/userdb_fields_import_all setting to import all fields, which is
going to be especially useful for passwd-file.
Timo Sirainen [Mon, 26 Feb 2024 10:07:52 +0000 (12:07 +0200)]
auth: If passdb/userdb_driver is empty, default to passdb/userdb_name
This allows configuring e.g.:
passdb passwd-file {
passwd_file_path = ...
}
Without having to explicitly name the passdb and give the driver.
Aki Tuomi [Fri, 23 Feb 2024 08:55:04 +0000 (10:55 +0200)]
mail-crypt: Finish marking ChaCha20-Poly1305 as AEAD cipher
Markus Valentin [Mon, 12 Feb 2024 15:46:32 +0000 (16:46 +0100)]
doveconf: Output multiple strlist elements when using -h
Markus Valentin [Thu, 8 Feb 2024 09:12:09 +0000 (10:12 +0100)]
doveconf: Output boolist elements when using -h
Markus Valentin [Tue, 2 Jan 2024 14:54:13 +0000 (15:54 +0100)]
master: Convert listen setting from string to boollist
Markus Valentin [Fri, 29 Dec 2023 08:50:20 +0000 (09:50 +0100)]
master: Replace inet_listener { address } with the global listen config
Markus Valentin [Tue, 9 Jan 2024 14:29:36 +0000 (15:29 +0100)]
config: old-set-parser: Remove protocol listen config changes
Timo Sirainen [Tue, 9 Jan 2024 14:28:58 +0000 (15:28 +0100)]
config: Support replace and append for boollist settings
Timo Sirainen [Tue, 9 Jan 2024 23:06:44 +0000 (18:06 -0500)]
lib-settings: settings_parse_array_stop() - Add support for SET_BOOLLIST
Karl Fleischmann [Thu, 8 Feb 2024 16:08:34 +0000 (17:08 +0100)]
master: Default service_restart_request_count to SET_UINT_UNLIMITED
Replace the implicit meaning of 0 as unlimited with the explicitly named
value.
Karl Fleischmann [Thu, 8 Feb 2024 15:31:20 +0000 (16:31 +0100)]
global: Rename service_count to restart_request_count
Karl Fleischmann [Thu, 8 Feb 2024 15:29:54 +0000 (16:29 +0100)]
doc/example-config: Rename service_count in example config
Karl Fleischmann [Tue, 23 Jan 2024 09:36:41 +0000 (10:36 +0100)]
lib-master, global: Restructure import_environment as strlist
As master_service_import_environment() requires a key=value concatenated
string of environment variables, the config parser as well as the master
process need to concatenate the strlist setting appropriately.
Karl Fleischmann [Tue, 23 Jan 2024 09:37:46 +0000 (10:37 +0100)]
lib-master: master_service_import_environment_real() - Expand variables in import_environment setting
Karl Fleischmann [Tue, 23 Jan 2024 07:36:14 +0000 (08:36 +0100)]
doc/example-config: Update description of import_environment setting
Karl Fleischmann [Tue, 16 Jan 2024 12:34:17 +0000 (13:34 +0100)]
lib-imap: imap_id_reply_generate() - Remove obsolete IMAP ID defaults resolving
Karl Fleischmann [Tue, 16 Jan 2024 12:32:42 +0000 (13:32 +0100)]
imap: Convert imap_id_send to a strlist setting
Karl Fleischmann [Tue, 16 Jan 2024 12:31:14 +0000 (13:31 +0100)]
imap-login: Convert imap_id_send to a strlist setting
Karl Fleischmann [Tue, 23 Jan 2024 17:17:10 +0000 (18:17 +0100)]
lib: var-expand - Add os and os-version to system: key
Karl Fleischmann [Tue, 16 Jan 2024 12:30:14 +0000 (13:30 +0100)]
lib: var-expand - Add dovecot key for distributions attributes
Karl Fleischmann [Thu, 11 Jan 2024 11:09:27 +0000 (12:09 +0100)]
doc/example-config: Update description of imap_id_send setting
Markus Valentin [Tue, 6 Feb 2024 15:17:44 +0000 (16:17 +0100)]
lib-http: http_request_parser_init() - Use the max_target_length from limits
parser->max_target_length was always set to the
HTTP_REQUEST_DEFAULT_MAX_TARGET_LENGTH. Now it can be also set via
passing into http_request_parser_init() using the http_request_limits.
Markus Valentin [Wed, 6 Dec 2023 12:42:07 +0000 (13:42 +0100)]
doveadm: Move doveadm_http_server from client-connection-http to main
Markus Valentin [Wed, 6 Dec 2023 11:08:28 +0000 (12:08 +0100)]
doveadm: Use http_server_init_auto()
This adds doveadm_server { .. } named filter, which can be used to override
http-server settings. The following settings were replaced:
* doveadm_http_rawlog_dir -> http_server_rawlog_dir
Markus Valentin [Wed, 6 Dec 2023 10:11:19 +0000 (11:11 +0100)]
stats: Use http_server_init_auto()
This adds stats_server { .. } named filter, which can be used to override
http-server settings. The following settings were replaced:
* stats_http_rawlog_dir-> http_server_rawlog_dir
Markus Valentin [Fri, 8 Dec 2023 09:49:25 +0000 (10:49 +0100)]
lib-http: Add http_server_init_auto()
Markus Valentin [Tue, 28 Nov 2023 10:30:16 +0000 (11:30 +0100)]
lib-http: Add http_server_request_get_server()
Markus Valentin [Wed, 6 Dec 2023 10:10:06 +0000 (11:10 +0100)]
lib-http: test_server_defaults() - Rely on http_server_settings_init()
Markus Valentin [Tue, 5 Dec 2023 15:11:59 +0000 (16:11 +0100)]
lib-http: http_server_init() - Use settings struct pointer from arguments
No longer create and fill a new settings struct but use the one which is
passed as an argument.
Markus Valentin [Thu, 11 Jan 2024 14:59:11 +0000 (15:59 +0100)]
lib-http: Replace http_server_settings.ssl with http_server_set_ssl_settings()
Markus Valentin [Tue, 5 Dec 2023 13:50:54 +0000 (14:50 +0100)]
lib-http: Make http-server settings a pointer
This is needed in order to support the new settings structure where
setting structs are retrieved and used as references. This makes it
unnecessary to have a copy of the settings struct as part of
http_server.
Markus Valentin [Mon, 4 Dec 2023 14:22:41 +0000 (15:22 +0100)]
lib-http: Use connection specific http-server settings
Markus Valentin [Mon, 4 Dec 2023 14:15:24 +0000 (15:15 +0100)]
lib-http: Remove debug from http-server-settings
Markus Valentin [Mon, 4 Dec 2023 13:09:58 +0000 (14:09 +0100)]
lib-http: Remove event from http-server-settings struct
This requires changes to functions calling http_server_init()
Markus Valentin [Thu, 23 Nov 2023 13:20:52 +0000 (14:20 +0100)]
lib-http: Add http-server-settings.c
Markus Valentin [Mon, 4 Dec 2023 11:37:07 +0000 (12:37 +0100)]
lib-http: Expand http_server_settings.request_limits to separate settings
This simplifies the following changes.
Timo Sirainen [Fri, 2 Feb 2024 09:51:29 +0000 (11:51 +0200)]
mail-crypt: Convert crypt_private_key and crypt_global_public_key to file type
Timo Sirainen [Thu, 1 Feb 2024 15:03:41 +0000 (17:03 +0200)]
lib-ssl-iostream: Remove unused ssl_iostream_settings.ca_file
Timo Sirainen [Thu, 1 Feb 2024 15:02:56 +0000 (17:02 +0200)]
lib-ldap, lib-http: Use ssl_iostream_settings.ca instead of ca_file
Timo Sirainen [Thu, 1 Feb 2024 14:54:34 +0000 (16:54 +0200)]
lib-ssl-iostream: Merge and convert ssl_client_ca into ssl_client_ca_file
Timo Sirainen [Thu, 1 Feb 2024 14:46:02 +0000 (16:46 +0200)]
lib-ssl-iostream: Convert ssl_ca setting to ssl_ca_file