]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Aki Tuomi [Fri, 1 Aug 2025 09:20:23 +0000 (12:20 +0300)]
lib: macros - Prevent using libc regex
Aki Tuomi [Fri, 1 Aug 2025 09:17:49 +0000 (12:17 +0300)]
lib-var-expand: Use lib-regex instead of libc regex
Aki Tuomi [Fri, 1 Aug 2025 09:17:36 +0000 (12:17 +0300)]
lib-dovecot: Add lib-regex
Aki Tuomi [Wed, 23 Jul 2025 10:06:43 +0000 (13:06 +0300)]
lib-regex: Add regex matching library
Aki Tuomi [Wed, 23 Jul 2025 08:04:30 +0000 (11:04 +0300)]
autoconf: Add libcpre2 detection
Aki Tuomi [Thu, 28 Aug 2025 09:46:08 +0000 (12:46 +0300)]
lib: macros - Use __typeof__ instead of typeof from C11 onwards
typeof and __typeof__ are not standard until C23, and C11
requires using __typeof__.
Stephan Bosch [Thu, 28 Aug 2025 11:26:13 +0000 (13:26 +0200)]
lib-auth-client: auth-master - Remove useless NULL check in auth_master_connection_output()
Found by Coverity (#41969)
Stephan Bosch [Thu, 28 Aug 2025 11:19:17 +0000 (13:19 +0200)]
lib-auth-client: auth-master - Fix potential segfault in auth_master_wait()
Found by Coverity (#41970).
Stephan Bosch [Thu, 28 Aug 2025 03:26:25 +0000 (05:26 +0200)]
lib-auth-client: test-auth-master - Add tests for parallel requests
Stephan Bosch [Thu, 28 Aug 2025 03:40:09 +0000 (05:40 +0200)]
lib-auth-client: auth-master - Fix handling of parallel replies
Timo Sirainen [Wed, 27 Aug 2025 06:50:05 +0000 (09:50 +0300)]
doveadm: Print table formatter - Print empty values as "-"
It's more readable to see empty values as "-" in a table.
Timo Sirainen [Wed, 27 Aug 2025 06:46:07 +0000 (09:46 +0300)]
doveadm: Add named initializers to print drivers
Stephan Bosch [Wed, 20 Aug 2025 18:43:38 +0000 (20:43 +0200)]
lib-auth-client: auth-master - Improve some of the connection failure messages returned to caller
Stephan Bosch [Sun, 2 Mar 2025 18:32:53 +0000 (19:32 +0100)]
lib-auth-client: auth-master - Drop AUTH_MASTER_FLAG_NO_INNER_IOLOOP flag
It is no longer needed for testing, as async requests can be used instead.
Stephan Bosch [Sun, 2 Mar 2025 18:32:30 +0000 (19:32 +0100)]
lib-auth-client: test-auth-master - Add tests for asynchronous userdb/passdb lookups
Stephan Bosch [Tue, 19 May 2020 09:02:53 +0000 (11:02 +0200)]
lib-auth-client: auth-master - Allocate passdb/userdb lookup structs on default pool
Stephan Bosch [Sat, 3 Mar 2018 00:20:29 +0000 (01:20 +0100)]
lib-auth-client: auth-master - Make asynchronous userdb and passdb lookups available
Stephan Bosch [Mon, 18 May 2020 23:56:31 +0000 (01:56 +0200)]
lib-auth-client: auth-master - Define sub-class structure for userdb lookup
Stephan Bosch [Mon, 18 May 2020 23:52:34 +0000 (01:52 +0200)]
lib-auth-client: auth-master - Split off auth_master_user_lookup_start() from auth_master_user_lookup()
Stephan Bosch [Mon, 18 May 2020 21:57:38 +0000 (23:57 +0200)]
lib-auth-client: auth-master - Split off auth_master_user_lookup_finished() from auth_master_user_lookup()
Stephan Bosch [Mon, 18 May 2020 23:40:25 +0000 (01:40 +0200)]
lib-auth-client: auth-master - Define sub-class structure for passdb lookup
Stephan Bosch [Mon, 18 May 2020 23:29:59 +0000 (01:29 +0200)]
lib-auth-client: auth-master - Split off auth_master_pass_lookup_start() from auth_master_pass_lookup()
Stephan Bosch [Mon, 18 May 2020 21:46:54 +0000 (23:46 +0200)]
lib-auth-client: auth-master - Split off auth_master_pass_lookup_finished() from auth_master_pass_lookup()
Stephan Bosch [Mon, 18 May 2020 21:25:20 +0000 (23:25 +0200)]
lib-auth-client: auth-master - Introduce local variable for result in auth_lookup_reply_callback()
Stephan Bosch [Sun, 11 Mar 2018 23:44:39 +0000 (00:44 +0100)]
lib-auth-client: auth-master - Add internal support for initiating invalid requests
This avoids the need to return a NOTFOUND code at request creation when the
request is already known to fail. This is a means to handle this asynchronously.
Stephan Bosch [Sun, 11 Mar 2018 23:05:09 +0000 (00:05 +0100)]
lib-auth-client: auth-master - Make sending of requests fully asynchronous
Stephan Bosch [Sun, 11 Mar 2018 21:23:57 +0000 (22:23 +0100)]
lib-auth-client: auth-master - Add debug messages
Stephan Bosch [Sun, 11 Mar 2018 18:18:06 +0000 (19:18 +0100)]
lib-auth-client: auth-master - Add support for request destroy callback
Stephan Bosch [Sun, 11 Mar 2018 13:49:50 +0000 (14:49 +0100)]
lib-auth-client: auth-master - Implement auth_master_wait()
This allows waiting until all submitted requests are finished.
Stephan Bosch [Sat, 7 May 2016 12:53:29 +0000 (14:53 +0200)]
lib-auth-client: auth-master - Make request reply handling asynchronous
Stephan Bosch [Wed, 3 Jun 2020 19:59:14 +0000 (21:59 +0200)]
lib-auth-client: auth-master-request - Use request struct as argument for auth_master_request_send()
Stephan Bosch [Wed, 3 Jun 2020 18:29:41 +0000 (20:29 +0200)]
lib-auth-client: auth-master - Use new struct auth_master_request for request handling
Stephan Bosch [Sat, 23 Jul 2022 23:29:18 +0000 (01:29 +0200)]
lib-auth-client: auth-master - Allow duplicate calls to auth_master_unset_io()
Stephan Bosch [Wed, 3 Jun 2020 10:42:42 +0000 (12:42 +0200)]
lib-auth-client: auth-master - Handle connection failures in auth_master_connection_failure()
Stephan Bosch [Wed, 3 Jun 2020 10:08:48 +0000 (12:08 +0200)]
lib-auth-client: auth-master - Improve debug logging in auth_lookup_reply_callback()
Stephan Bosch [Sat, 5 Jan 2019 14:08:59 +0000 (15:08 +0100)]
lib-auth-client: auth-master - Compose command line at a single location
Stephan Bosch [Wed, 3 Jun 2020 08:53:43 +0000 (10:53 +0200)]
lib-auth-client: auth-master - Drop unnecessary and confusing additional connection events
Only use conn->conn.event instead.
Stephan Bosch [Tue, 29 Jul 2025 21:24:48 +0000 (23:24 +0200)]
lib-auth-client: auth-master - Do not switch connection event to lookup event during lookup
Stephan Bosch [Tue, 29 Jul 2025 01:29:24 +0000 (03:29 +0200)]
lib-auth-client: auth-master - Absorb auth_master_event_create()
Stephan Bosch [Sat, 5 Jan 2019 10:03:00 +0000 (11:03 +0100)]
lib-auth-client: auth-master - Place lookup event in lookup context struct
Stephan Bosch [Sun, 11 Mar 2018 19:34:20 +0000 (20:34 +0100)]
lib-auth-client: auth-master - Properly parse SPID sent from server
This is currently not used though.
Stephan Bosch [Sun, 11 Mar 2018 20:18:02 +0000 (21:18 +0100)]
lib-auth-client: auth-master - Call io_loop_stop() at a single location
Stephan Bosch [Mon, 2 Oct 2017 13:48:09 +0000 (15:48 +0200)]
lib-auth-client: auth-master - Consolidate reply_callback arguments into a reply struct
Stephan Bosch [Mon, 2 Oct 2017 12:39:41 +0000 (14:39 +0200)]
lib-auth-client: auth-master - Restructure reply parsing
Now it parses the received id into an integer rather than converting the expected id to a string.
Stephan Bosch [Mon, 2 Oct 2017 13:21:29 +0000 (15:21 +0200)]
lib-auth-client: auth-master - Change reply_callback return type to int
Stephan Bosch [Mon, 2 Oct 2017 17:53:28 +0000 (19:53 +0200)]
lib-auth-client: auth-master - Add reference counting for the connection object
Stephan Bosch [Mon, 2 Oct 2017 12:28:00 +0000 (14:28 +0200)]
lib-auth-client: auth-master - Allocate the connection on an alloconly pool
Stephan Bosch [Wed, 3 Jun 2020 20:26:30 +0000 (22:26 +0200)]
lib-auth-client: auth-master - Restructure auth_user_list_reply_callback()
Stephan Bosch [Mon, 2 Oct 2017 14:30:40 +0000 (16:30 +0200)]
lib-auth-client: auth-master - Add structural comments
Stephan Bosch [Wed, 3 Jun 2020 21:39:28 +0000 (23:39 +0200)]
lib-auth-client: auth-master - Rename auth_idle_timeout() to auth_master_idle_timeout()
Stephan Bosch [Sat, 5 Jan 2019 14:31:47 +0000 (15:31 +0100)]
lib-auth-client: auth-master - Rename conn->request_counter to conn->id_counter
This is shorter and consistent with lib-master/master-login-auth.
Stephan Bosch [Sun, 19 Apr 2020 17:57:08 +0000 (19:57 +0200)]
lib-auth-client: auth-master - Rename struct auth_master_lookup_ctx to struct auth_master_lookup
Stephan Bosch [Mon, 2 Oct 2017 13:14:26 +0000 (15:14 +0200)]
lib-auth-client: auth_master - Rename "cmd" parameter to parse_reply() to "reply"
Stephan Bosch [Wed, 3 Jun 2020 21:31:23 +0000 (23:31 +0200)]
lib-auth-client: auth-master - Move auth_idle_timeout()
Stephan Bosch [Sun, 19 Apr 2020 17:14:03 +0000 (19:14 +0200)]
lib-auth-client: auth-master - Move auth_master_pass_lookup()
Stephan Bosch [Sun, 19 Apr 2020 16:51:01 +0000 (18:51 +0200)]
lib-auth-client: auth-master - Move auth_master_cache_flush()
Stephan Bosch [Sat, 5 Jan 2019 10:22:44 +0000 (11:22 +0100)]
lib-auth-client: auth-master - Move request-related code to new auth-master-request.c
Stephan Bosch [Fri, 4 Jan 2019 21:26:25 +0000 (22:26 +0100)]
lib-auth-client: auth-master - Make auth_master_connect() public
Stephan Bosch [Mon, 2 Oct 2017 18:26:19 +0000 (20:26 +0200)]
lib-auth-client: auth-master - Rename auth_connection_close() to auth_master_disconnect() and make it public
Stephan Bosch [Mon, 2 Oct 2017 15:05:21 +0000 (17:05 +0200)]
lib-auth-client: auth-master - Move call to auth_request_lookup_abort() to central place
This is a preparation for a later changes that add more abort invokations.
Stephan Bosch [Sun, 11 Mar 2018 13:20:26 +0000 (14:20 +0100)]
lib-auth-client: auth-master - Move definitions to new auth-master-private.h
Stephan Bosch [Mon, 2 Oct 2017 14:25:58 +0000 (16:25 +0200)]
lib-auth-client: auth-master - Move auth master connection function definitions in header
Stephan Bosch [Mon, 2 Oct 2017 12:53:24 +0000 (14:53 +0200)]
lib-auth-client: auth-master - Move timeout callbacks
Stephan Bosch [Wed, 22 Feb 2017 21:29:54 +0000 (22:29 +0100)]
lib-auth-client: auth-master - Move definition of struct auth_master_user_list_ctx
Stephan Bosch [Mon, 2 Oct 2017 09:47:07 +0000 (11:47 +0200)]
lib-auth-client: auth-master - Move definition of struct auth_master_lookup_ctx
Stephan Bosch [Mon, 2 Oct 2017 13:01:48 +0000 (15:01 +0200)]
lib-auth-client: auth-master - Move auth_request_lookup_abort()
Stephan Bosch [Mon, 2 Oct 2017 09:43:28 +0000 (11:43 +0200)]
lib-auth-client: auth-master - Move is_valid_string()
Stephan Bosch [Mon, 2 Oct 2017 09:42:19 +0000 (11:42 +0200)]
lib-auth-client: auth-master - Move args_hide_passwords()
Stephan Bosch [Mon, 2 Oct 2017 09:40:22 +0000 (11:40 +0200)]
lib-auth-client: auth-master - Move parse_reply()
Stephan Bosch [Mon, 2 Oct 2017 09:38:59 +0000 (11:38 +0200)]
lib-auth-client: auth-master - Move auth_lookup_reply_callback()
Stephan Bosch [Mon, 2 Oct 2017 09:35:06 +0000 (11:35 +0200)]
lib-auth-client: auth-master - Move auth_master_handshake_line()
Timo Sirainen [Mon, 25 Aug 2025 10:09:01 +0000 (13:09 +0300)]
lib-lua: dluaL_error() - Add noreturn attribute to the function
This helps static analyzers.
Marco Bettini [Mon, 25 Aug 2025 15:13:06 +0000 (15:13 +0000)]
lib-storage: mdbox_save_begin() - Drop redundant code.
Found by Coverity, 41954 Operands don't affect result
The comparison with UOFF_T_MAX is always true.
Marco Bettini [Mon, 25 Aug 2025 15:09:47 +0000 (15:09 +0000)]
lib-storage: mdbox_map_append_assign_map_uids() - Drop redundant code.
Found by Coverity, 41955, 41956 Operands don't affect result
The comparison with UOFF_T_MAX is always true.
Aki Tuomi [Fri, 30 May 2025 09:07:27 +0000 (12:07 +0300)]
lib-auth-client: Make auth lookups stop if master service is killed
Stephan Bosch [Tue, 5 May 2020 09:58:06 +0000 (11:58 +0200)]
lib-auth: auth-master - Prevent stopped ioloop from hiding error in auth_master_input_line()
Timo Sirainen [Fri, 15 Aug 2025 10:36:08 +0000 (13:36 +0300)]
lib-oauth2, oauth2: Add oauth2_token_expire_grace setting
Timo Sirainen [Fri, 15 Aug 2025 10:20:16 +0000 (13:20 +0300)]
lib-oauth2: jwt - Improve error logging for timestamp errors
Timo Sirainen [Fri, 15 Aug 2025 08:48:53 +0000 (11:48 +0300)]
lib-oauth2: jwt - Allow nbf and iat to point 1 second into future
The token could have just been generated with a server where time is
slightly into the future compared to this server.
Timo Sirainen [Mon, 25 Aug 2025 09:51:05 +0000 (12:51 +0300)]
global: Use doveadm_print_empty()
Timo Sirainen [Mon, 25 Aug 2025 09:49:50 +0000 (12:49 +0300)]
doveadm: Add doveadm_print_empty()
Timo Sirainen [Mon, 25 Aug 2025 09:47:44 +0000 (12:47 +0300)]
lib-lua: Add dlua_push_timeval()
Timo Sirainen [Thu, 21 Aug 2025 10:44:55 +0000 (13:44 +0300)]
config: Add support for $SET:filter/path/setting
For example $SET:service/auth/service_client_limit
Timo Sirainen [Tue, 19 Aug 2025 07:59:35 +0000 (10:59 +0300)]
doveadm: Don't print duplicate sub-commands in help output
For example mailbox command output listed "cache|cache|..."
Timo Sirainen [Tue, 19 Aug 2025 07:41:25 +0000 (10:41 +0300)]
doveadm: Fix printing help for sub-sub-commands
For example "doveadm mailbox" would list all mailbox commands, but
"doveadm mailbox metadata" still listed just mailbox commands, not
"mailbox metadata commands".
Karl Fleischmann [Mon, 18 Aug 2025 21:07:55 +0000 (23:07 +0200)]
lib-storage/index/dbox-multi: mdbox-map - Treat size=0 as last message in record
Karl Fleischmann [Fri, 1 Aug 2025 13:25:00 +0000 (15:25 +0200)]
lib-storage/index/dbox-multi/mdbox-save: dbox_save_mail - Use uoff_t for append_offset
Karl Fleischmann [Fri, 1 Aug 2025 13:19:46 +0000 (15:19 +0200)]
lib-storage/index/dbox-multi/mdbox-storage-rebuild: mdbox_rebuild_msg - Use uoff_t for file-related size/offset
Karl Fleischmann [Thu, 17 Apr 2025 07:34:42 +0000 (09:34 +0200)]
lib-storage/index/dbox-multi: mdbox-map - Use UOFF_T_MAX as special value
Karl Fleischmann [Thu, 17 Apr 2025 09:50:25 +0000 (11:50 +0200)]
imap: cmd-append - Replace spaces with tabs
Aki Tuomi [Fri, 15 Aug 2025 12:30:44 +0000 (15:30 +0300)]
lib-sql: driver-sqlite - Mark disconnected on disconnect
Forgotten in
6b2738c39a868ff9291867138c55029fc40cf105
Aki Tuomi [Mon, 18 Aug 2025 05:30:42 +0000 (08:30 +0300)]
lib-sql: Use strchr() based while loop to fill template
This is much faster than going one byte at a time.
Timo Sirainen [Tue, 12 Aug 2025 10:08:08 +0000 (13:08 +0300)]
auth: ldap - Fix potential crash at deinit
Continuation of
5ff9a8686a29c423e1fcf90f2d36af521cef6f7d . It didn't fix
a situation where there were passdb requests still pending, because
passdb deinit only unreferenced db-ldap and then freed passdb settings.
Only after userdb deinit unreferenced db-ldap again did it try to abort
the ldap requests, but now the passdb settings were already NULL.
Timo Sirainen [Fri, 8 Aug 2025 09:12:51 +0000 (12:12 +0300)]
login-common: If proxying fails due to remote having invalid SSL cert, don't reconnect
Consistently use LOGIN_PROXY_FAILURE_TYPE_INTERNAL_CONFIG type regardless of
whether the failure happens in ssl_iostream_handshake() or later.
Timo Sirainen [Fri, 8 Aug 2025 12:30:58 +0000 (15:30 +0300)]
lib-ssl-iostream, global: Rename ssl_iostream_has_[valid_]client_cert() to ssl_iostream_has_[valid_]cert()
These functions can be used (and are used) for both client and server
connections, so it's confusing having the "client" in the function name.
Timo Sirainen [Fri, 8 Aug 2025 12:17:35 +0000 (15:17 +0300)]
lib-ssl-iostream: Replace ssl_iostream.has_[valid_]client_cert() with new ssl_iostream.get_cert_validity()
Timo Sirainen [Fri, 8 Aug 2025 11:57:02 +0000 (14:57 +0300)]
lib-ssl-iostream: Remove ssl_iostream_has_handshake_failed()
Its meaning is a bit too ambiguous. It's better for callers to use
ssl_iostream_get_state().
Timo Sirainen [Fri, 8 Aug 2025 11:54:54 +0000 (14:54 +0300)]
lib-http, lib-smtp: Retry requests on unexpected SSL handshake failures
Retrying should be disabled only when certificate is invalid, not for other
handshake errors.
Timo Sirainen [Fri, 8 Aug 2025 11:48:45 +0000 (14:48 +0300)]
lib-ssl-iostream: Implement ssl_iostream_is_handshaked() with ssl_iostream_get_state()
Timo Sirainen [Fri, 8 Aug 2025 11:45:50 +0000 (14:45 +0300)]
lib-ssl-iostream: Add ssl_iostream_get_state()