]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Michael M Slusarz [Mon, 17 Mar 2025 00:59:38 +0000 (17:59 -0700)]
fts-flatcurve: Ensure that mailbox parameters are always truncated before changing
Timo Sirainen [Wed, 3 Sep 2025 06:59:46 +0000 (09:59 +0300)]
imapc: Fix imapc_features=guid-forced GUID generation
It was supposed to be only from header, but in some situations it included
the body as well.
Timo Sirainen [Tue, 2 Sep 2025 10:28:44 +0000 (13:28 +0300)]
lib-mail: istream-header-filter - Fix potential assert-crash
In some situations multiple snapshots were created, which broke the logic
of using a single snapshot_pending boolean. Changed it to refcount.
Fixes:
Panic: file istream-header-filter.c: line 665 (i_stream_header_filter_snapshot_free): assertion failed: (snapshot->mstream->snapshot_pending)
Aki Tuomi [Mon, 1 Sep 2025 12:21:12 +0000 (15:21 +0300)]
lib-regex: Fail if PCRE2_SUBSTITUTE_LITERAL is not supported by pcre2
Aki Tuomi [Mon, 1 Sep 2025 12:20:48 +0000 (15:20 +0300)]
lib-regex: Only use pcre2_substitute_callout_block() if it's available
Stephan Bosch [Sat, 30 Aug 2025 15:59:20 +0000 (17:59 +0200)]
lib-auth-client: auth-client-request - Fix panic occurring upon channel binding failure
Panic was:
imap-login: Panic: Can't create multiple passthrough events - finish the earlier with ->event()
Stephan Bosch [Fri, 21 Feb 2025 03:13:02 +0000 (04:13 +0100)]
auth: mech-oauth2 - Use lib-auth/auth-gs2
Stephan Bosch [Fri, 21 Feb 2025 03:12:54 +0000 (04:12 +0100)]
lib-sasl: mech-oauthbearer - Use lib-auth/auth-gs2
Stephan Bosch [Fri, 21 Feb 2025 01:14:35 +0000 (02:14 +0100)]
lib-auth: auth-scram-server - Use auth-gs2
Stephan Bosch [Fri, 21 Feb 2025 00:38:36 +0000 (01:38 +0100)]
lib-auth: auth-scram-client - Use auth-gs2
Stephan Bosch [Wed, 8 Mar 2023 20:31:09 +0000 (21:31 +0100)]
lib-auth: Add auth-gs2 API
Stephan Bosch [Fri, 21 Feb 2025 16:54:48 +0000 (17:54 +0100)]
lib-sasl: mech-oauthbearer - Use container_of()
Stephan Bosch [Fri, 21 Feb 2025 16:44:56 +0000 (17:44 +0100)]
auth: mech-oauth2 - Rename continued data to reponse data/payload
Makes more sense in SASL overall
Stephan Bosch [Sat, 22 Feb 2025 21:20:01 +0000 (22:20 +0100)]
auth: mech-oauth2 - Send openid-configuration result field only when available
Stephan Bosch [Mon, 20 Nov 2023 15:53:05 +0000 (16:53 +0100)]
auth: mech-oauth2 - Rework error handling
Treat passdb errors as "invalid_token" and treat request decoding problems as
"invalid_request" status, which makes more sense. Also simplify the overall
structure.
Stephan Bosch [Tue, 31 Oct 2023 16:08:28 +0000 (17:08 +0100)]
auth: mech-oauth2 - Don't send payload for internal error
Stephan Bosch [Fri, 21 Feb 2025 16:19:19 +0000 (17:19 +0100)]
auth: mech-oauth2 - Reorder mechanism functions
Makes more sense this way.
Stephan Bosch [Sun, 4 Aug 2024 21:33:05 +0000 (23:33 +0200)]
auth: mech-oauth2 - Rename oauth2_send_failure() to oauth2_fail()
Makes more sense; it also fails the request.
Stephan Bosch [Sun, 4 Aug 2024 12:59:15 +0000 (14:59 +0200)]
auth: mech-oauth2 - Improve use of json-ostream
Stephan Bosch [Wed, 7 Aug 2024 00:33:20 +0000 (02:33 +0200)]
auth: mech-oauth2 - Use str functions rather than direct access to underlying buffer_t
Stephan Bosch [Sun, 4 Aug 2024 12:51:27 +0000 (14:51 +0200)]
auth: mech-oauth2 - Rename reply buffer in oauth2_send_failure()
Stephan Bosch [Fri, 21 Feb 2025 16:51:35 +0000 (17:51 +0100)]
lib-sasl: Reformat mech-oauthbearer.c
Stephan Bosch [Tue, 7 Mar 2023 13:48:04 +0000 (14:48 +0100)]
auth: Reformat mech-oauth2.c
Timo Sirainen [Mon, 1 Sep 2025 11:14:39 +0000 (14:14 +0300)]
lib: test-istream-multiplex - Fix randomly trying to create 0 length variable array
Fixes:
test-istream-multiplex.c:184:29: runtime error: variable length array bound evaluates to non-positive value 0
Aki Tuomi [Mon, 1 Sep 2025 07:54:08 +0000 (10:54 +0300)]
dovecot-config: Add lib-regex
Marco Bettini [Tue, 26 Aug 2025 14:03:59 +0000 (14:03 +0000)]
fts: Change default fts_search_read_fallback=no for Pro
Karl Fleischmann [Thu, 28 Aug 2025 15:44:03 +0000 (17:44 +0200)]
config: import_environment - Allow spaces in values by separating them with tabs
Karl Fleischmann [Fri, 15 Aug 2025 12:47:59 +0000 (14:47 +0200)]
config: doveconf - Don't store unused import_environment
Karl Fleischmann [Fri, 15 Aug 2025 12:47:28 +0000 (14:47 +0200)]
config: config_connection_request() - Don't store unused import_environment
Marco Bettini [Thu, 28 Aug 2025 15:09:56 +0000 (15:09 +0000)]
acl: Fix crash when group ACLs are used, but user's acl_groups is empty
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()