]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
5 weeks agolib-auth-client: auth-master - Introduce local variable for result in auth_lookup_rep...
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()

5 weeks agolib-auth-client: auth-master - Add internal support for initiating invalid requests
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.

5 weeks agolib-auth-client: auth-master - Make sending of requests fully asynchronous
Stephan Bosch [Sun, 11 Mar 2018 23:05:09 +0000 (00:05 +0100)] 
lib-auth-client: auth-master - Make sending of requests fully asynchronous

5 weeks agolib-auth-client: auth-master - Add debug messages
Stephan Bosch [Sun, 11 Mar 2018 21:23:57 +0000 (22:23 +0100)] 
lib-auth-client: auth-master - Add debug messages

5 weeks agolib-auth-client: auth-master - Add support for request destroy callback
Stephan Bosch [Sun, 11 Mar 2018 18:18:06 +0000 (19:18 +0100)] 
lib-auth-client: auth-master - Add support for request destroy callback

5 weeks agolib-auth-client: auth-master - Implement auth_master_wait()
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.

5 weeks agolib-auth-client: auth-master - Make request reply handling asynchronous
Stephan Bosch [Sat, 7 May 2016 12:53:29 +0000 (14:53 +0200)] 
lib-auth-client: auth-master - Make request reply handling asynchronous

5 weeks agolib-auth-client: auth-master-request - Use request struct as argument for auth_master...
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()

5 weeks agolib-auth-client: auth-master - Use new struct auth_master_request for request handling
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

5 weeks agolib-auth-client: auth-master - Allow duplicate calls to auth_master_unset_io()
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()

5 weeks agolib-auth-client: auth-master - Handle connection failures in auth_master_connection_f...
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()

5 weeks agolib-auth-client: auth-master - Improve debug logging in auth_lookup_reply_callback()
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()

5 weeks agolib-auth-client: auth-master - Compose command line at a single location
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

5 weeks agolib-auth-client: auth-master - Drop unnecessary and confusing additional connection...
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.

5 weeks agolib-auth-client: auth-master - Do not switch connection event to lookup event during...
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

5 weeks agolib-auth-client: auth-master - Absorb auth_master_event_create()
Stephan Bosch [Tue, 29 Jul 2025 01:29:24 +0000 (03:29 +0200)] 
lib-auth-client: auth-master - Absorb auth_master_event_create()

5 weeks agolib-auth-client: auth-master - Place lookup event in lookup context struct
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

5 weeks agolib-auth-client: auth-master - Properly parse SPID sent from server
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.

5 weeks agolib-auth-client: auth-master - Call io_loop_stop() at a single location
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

5 weeks agolib-auth-client: auth-master - Consolidate reply_callback arguments into a reply...
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

5 weeks agolib-auth-client: auth-master - Restructure reply parsing
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.

5 weeks agolib-auth-client: auth-master - Change reply_callback return type to int
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

5 weeks agolib-auth-client: auth-master - Add reference counting for the connection object
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

5 weeks agolib-auth-client: auth-master - Allocate the connection on an alloconly pool
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

5 weeks agolib-auth-client: auth-master - Restructure auth_user_list_reply_callback()
Stephan Bosch [Wed, 3 Jun 2020 20:26:30 +0000 (22:26 +0200)] 
lib-auth-client: auth-master - Restructure auth_user_list_reply_callback()

5 weeks agolib-auth-client: auth-master - Add structural comments
Stephan Bosch [Mon, 2 Oct 2017 14:30:40 +0000 (16:30 +0200)] 
lib-auth-client: auth-master - Add structural comments

5 weeks agolib-auth-client: auth-master - Rename auth_idle_timeout() to auth_master_idle_timeout()
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()

5 weeks agolib-auth-client: auth-master - Rename conn->request_counter to conn->id_counter
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.

5 weeks agolib-auth-client: auth-master - Rename struct auth_master_lookup_ctx to struct auth_ma...
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

5 weeks agolib-auth-client: auth_master - Rename "cmd" parameter to parse_reply() to "reply"
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"

5 weeks agolib-auth-client: auth-master - Move auth_idle_timeout()
Stephan Bosch [Wed, 3 Jun 2020 21:31:23 +0000 (23:31 +0200)] 
lib-auth-client: auth-master - Move auth_idle_timeout()

5 weeks agolib-auth-client: auth-master - Move auth_master_pass_lookup()
Stephan Bosch [Sun, 19 Apr 2020 17:14:03 +0000 (19:14 +0200)] 
lib-auth-client: auth-master - Move auth_master_pass_lookup()

5 weeks agolib-auth-client: auth-master - Move auth_master_cache_flush()
Stephan Bosch [Sun, 19 Apr 2020 16:51:01 +0000 (18:51 +0200)] 
lib-auth-client: auth-master - Move auth_master_cache_flush()

5 weeks agolib-auth-client: auth-master - Move request-related code to new auth-master-request.c
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

5 weeks agolib-auth-client: auth-master - Make auth_master_connect() public
Stephan Bosch [Fri, 4 Jan 2019 21:26:25 +0000 (22:26 +0100)] 
lib-auth-client: auth-master - Make auth_master_connect() public

5 weeks agolib-auth-client: auth-master - Rename auth_connection_close() to auth_master_disconne...
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

5 weeks agolib-auth-client: auth-master - Move call to auth_request_lookup_abort() to central...
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.

5 weeks agolib-auth-client: auth-master - Move definitions to new auth-master-private.h
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

5 weeks agolib-auth-client: auth-master - Move auth master connection function definitions in...
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

5 weeks agolib-auth-client: auth-master - Move timeout callbacks
Stephan Bosch [Mon, 2 Oct 2017 12:53:24 +0000 (14:53 +0200)] 
lib-auth-client: auth-master - Move timeout callbacks

5 weeks agolib-auth-client: auth-master - Move definition of struct auth_master_user_list_ctx
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

5 weeks agolib-auth-client: auth-master - Move definition of struct auth_master_lookup_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

5 weeks agolib-auth-client: auth-master - Move auth_request_lookup_abort()
Stephan Bosch [Mon, 2 Oct 2017 13:01:48 +0000 (15:01 +0200)] 
lib-auth-client: auth-master - Move auth_request_lookup_abort()

5 weeks agolib-auth-client: auth-master - Move is_valid_string()
Stephan Bosch [Mon, 2 Oct 2017 09:43:28 +0000 (11:43 +0200)] 
lib-auth-client: auth-master - Move is_valid_string()

5 weeks agolib-auth-client: auth-master - Move args_hide_passwords()
Stephan Bosch [Mon, 2 Oct 2017 09:42:19 +0000 (11:42 +0200)] 
lib-auth-client: auth-master - Move args_hide_passwords()

5 weeks agolib-auth-client: auth-master - Move parse_reply()
Stephan Bosch [Mon, 2 Oct 2017 09:40:22 +0000 (11:40 +0200)] 
lib-auth-client: auth-master - Move parse_reply()

5 weeks agolib-auth-client: auth-master - Move auth_lookup_reply_callback()
Stephan Bosch [Mon, 2 Oct 2017 09:38:59 +0000 (11:38 +0200)] 
lib-auth-client: auth-master - Move auth_lookup_reply_callback()

5 weeks agolib-auth-client: auth-master - Move auth_master_handshake_line()
Stephan Bosch [Mon, 2 Oct 2017 09:35:06 +0000 (11:35 +0200)] 
lib-auth-client: auth-master - Move auth_master_handshake_line()

5 weeks agolib-lua: dluaL_error() - Add noreturn attribute to the function
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.

5 weeks agolib-storage: mdbox_save_begin() - Drop redundant code.
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.

5 weeks agolib-storage: mdbox_map_append_assign_map_uids() - Drop redundant code.
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.

5 weeks agolib-auth-client: Make auth lookups stop if master service is killed
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

5 weeks agolib-auth: auth-master - Prevent stopped ioloop from hiding error in auth_master_input...
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()

5 weeks agolib-oauth2, oauth2: Add oauth2_token_expire_grace setting
Timo Sirainen [Fri, 15 Aug 2025 10:36:08 +0000 (13:36 +0300)] 
lib-oauth2, oauth2: Add oauth2_token_expire_grace setting

5 weeks agolib-oauth2: jwt - Improve error logging for timestamp errors
Timo Sirainen [Fri, 15 Aug 2025 10:20:16 +0000 (13:20 +0300)] 
lib-oauth2: jwt - Improve error logging for timestamp errors

5 weeks agolib-oauth2: jwt - Allow nbf and iat to point 1 second into future
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.

5 weeks agoglobal: Use doveadm_print_empty()
Timo Sirainen [Mon, 25 Aug 2025 09:51:05 +0000 (12:51 +0300)] 
global: Use doveadm_print_empty()

5 weeks agodoveadm: Add doveadm_print_empty()
Timo Sirainen [Mon, 25 Aug 2025 09:49:50 +0000 (12:49 +0300)] 
doveadm: Add doveadm_print_empty()

5 weeks agolib-lua: Add dlua_push_timeval()
Timo Sirainen [Mon, 25 Aug 2025 09:47:44 +0000 (12:47 +0300)] 
lib-lua: Add dlua_push_timeval()

6 weeks agoconfig: Add support for $SET:filter/path/setting
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

6 weeks agodoveadm: Don't print duplicate sub-commands in help output
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|..."

6 weeks agodoveadm: Fix printing help for sub-sub-commands
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".

6 weeks agolib-storage/index/dbox-multi: mdbox-map - Treat size=0 as last message in record
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

6 weeks agolib-storage/index/dbox-multi/mdbox-save: dbox_save_mail - Use uoff_t for append_offset
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

6 weeks agolib-storage/index/dbox-multi/mdbox-storage-rebuild: mdbox_rebuild_msg - Use uoff_t...
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

6 weeks agolib-storage/index/dbox-multi: mdbox-map - Use UOFF_T_MAX as special value
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

6 weeks agoimap: cmd-append - Replace spaces with tabs
Karl Fleischmann [Thu, 17 Apr 2025 09:50:25 +0000 (11:50 +0200)] 
imap: cmd-append - Replace spaces with tabs

6 weeks agolib-sql: driver-sqlite - Mark disconnected on disconnect
Aki Tuomi [Fri, 15 Aug 2025 12:30:44 +0000 (15:30 +0300)] 
lib-sql: driver-sqlite - Mark disconnected on disconnect

Forgotten in 6b2738c39a868ff9291867138c55029fc40cf105

7 weeks agolib-sql: Use strchr() based while loop to fill template
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.

7 weeks agoauth: ldap - Fix potential crash at deinit
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.

7 weeks agologin-common: If proxying fails due to remote having invalid SSL cert, don't reconnect
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.

7 weeks agolib-ssl-iostream, global: Rename ssl_iostream_has_[valid_]client_cert() to ssl_iostre...
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.

7 weeks agolib-ssl-iostream: Replace ssl_iostream.has_[valid_]client_cert() with new ssl_iostrea...
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()

7 weeks agolib-ssl-iostream: Remove ssl_iostream_has_handshake_failed()
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().

7 weeks agolib-http, lib-smtp: Retry requests on unexpected SSL handshake failures
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.

7 weeks agolib-ssl-iostream: Implement ssl_iostream_is_handshaked() with ssl_iostream_get_state()
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()

7 weeks agolib-ssl-iostream: Add 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()

7 weeks agolib-ssl-iostream: Fix indent
Timo Sirainen [Fri, 8 Aug 2025 11:42:48 +0000 (14:42 +0300)] 
lib-ssl-iostream: Fix indent

7 weeks agolib-ssl-iostream, global: Change ssl_iostream_handshake_callback_t to return enum
Timo Sirainen [Fri, 8 Aug 2025 11:35:21 +0000 (14:35 +0300)] 
lib-ssl-iostream, global: Change ssl_iostream_handshake_callback_t to return enum

The enum gives more details what failed.

7 weeks agolib-ssl-iostream, global: ssl_iostream_check_cert_validity() - Change return value...
Timo Sirainen [Fri, 8 Aug 2025 11:27:20 +0000 (14:27 +0300)] 
lib-ssl-iostream, global: ssl_iostream_check_cert_validity() - Change return value to enum

The enum gives more details what failed.

8 weeks agoauth: Deinitialize userdb before freeing up settings
Timo Sirainen [Fri, 8 Aug 2025 10:13:03 +0000 (13:13 +0300)] 
auth: Deinitialize userdb before freeing up settings

Some userdbs need the settings during deinitialization.

This was done for passdbs in 054ee6ae3b9a0ec7f669724037cca9059251b138.

8 weeks agologin-common: Initialize rawlog after TLS handshake
Aki Tuomi [Thu, 31 Jul 2025 11:27:47 +0000 (14:27 +0300)] 
login-common: Initialize rawlog after TLS handshake

8 weeks agologin-common: Reload client settings before proxying
Aki Tuomi [Thu, 31 Jul 2025 06:27:58 +0000 (09:27 +0300)] 
login-common: Reload client settings before proxying

This allows expanding settings that need username.

8 weeks agologin-common: Extract client_reload_settings()
Aki Tuomi [Mon, 4 Aug 2025 14:47:21 +0000 (17:47 +0300)] 
login-common: Extract client_reload_settings()

2 months agolib-dict-extra: dict-client - Retry transactions on errors if possible
Timo Sirainen [Tue, 5 Aug 2025 06:54:13 +0000 (09:54 +0300)] 
lib-dict-extra: dict-client - Retry transactions on errors if possible

If transaction has "atomic inc" operation, it cannot be retried.

2 months agolib-dict-extra: dict-client - Delay sending transactions to dict-server until commit
Timo Sirainen [Tue, 5 Aug 2025 06:52:06 +0000 (09:52 +0300)] 
lib-dict-extra: dict-client - Delay sending transactions to dict-server until commit

2 months agolib-dict-extra: dict-client - Retry commands when disconnected from server
Timo Sirainen [Mon, 4 Aug 2025 13:07:33 +0000 (16:07 +0300)] 
lib-dict-extra: dict-client - Retry commands when disconnected from server

Commands were previously retried when sending the command failed, but not
afterwards.

2 months agolib-dict-extra: dict-client - Add LF to stored query strings
Timo Sirainen [Tue, 5 Aug 2025 06:42:12 +0000 (09:42 +0300)] 
lib-dict-extra: dict-client - Add LF to stored query strings

This simplifies the following changes.

2 months agolib-dict-extra: dict-client - Add client_dict_cmd_get_log_query() wrapper
Timo Sirainen [Tue, 5 Aug 2025 07:41:02 +0000 (10:41 +0300)] 
lib-dict-extra: dict-client - Add client_dict_cmd_get_log_query() wrapper

2 months agolib: unicode-transform - Fix integer comparisons in Hangul functions
Stephan Bosch [Mon, 4 Aug 2025 23:50:02 +0000 (01:50 +0200)] 
lib: unicode-transform - Fix integer comparisons in Hangul functions

2 months agolib: iostream-rawlog - Do not log errors for permissions
Aki Tuomi [Thu, 31 Jul 2025 09:23:37 +0000 (12:23 +0300)] 
lib: iostream-rawlog - Do not log errors for permissions

If permissions are not sufficient, fail silently.

2 months agoconfig: Fix chaining $SET variables to a setting with $variables
Timo Sirainen [Mon, 4 Aug 2025 09:21:10 +0000 (12:21 +0300)] 
config: Fix chaining $SET variables to a setting with $variables

2 months agoconfig: Allow config_write_keyvariable() to fail at expansion time without panic
Timo Sirainen [Mon, 4 Aug 2025 09:58:25 +0000 (12:58 +0300)] 
config: Allow config_write_keyvariable() to fail at expansion time without panic

Needed by the next commit.

2 months agoconfig: Prepare for config_get_value() to return different errors
Timo Sirainen [Mon, 4 Aug 2025 10:03:02 +0000 (13:03 +0300)] 
config: Prepare for config_get_value() to return different errors

2 months agoconfig: Remove special service_* -> $SET:default_* handling
Timo Sirainen [Thu, 31 Jul 2025 12:21:24 +0000 (15:21 +0300)] 
config: Remove special service_* -> $SET:default_* handling

This now works by setting them with regular setting_keyvalues.

2 months agoconfig: Assume config parser end hook wants to change default settings
Timo Sirainen [Thu, 31 Jul 2025 12:47:53 +0000 (15:47 +0300)] 
config: Assume config parser end hook wants to change default settings

This is what Pigeonhole wants at least. This was already happening a bit
accidentally. Make thie explicit, because the next commit removes the
accidental method.

2 months agoconfig: Delay expanding $SET variables until the whole config is parsed
Timo Sirainen [Tue, 29 Jul 2025 12:00:03 +0000 (15:00 +0300)] 
config: Delay expanding $SET variables until the whole config is parsed

This most importantly fixes using $SET in built-in group settings which
prevents changing the setting in the config file before it is already
expanded.

2 months agoconfig: Prepare for storing unexpanded $SET variables into setting values
Timo Sirainen [Tue, 29 Jul 2025 10:00:37 +0000 (13:00 +0300)] 
config: Prepare for storing unexpanded $SET variables into setting values

2 months agoconfig: Add and use set_str_expanded() to simplify the following changes
Timo Sirainen [Tue, 29 Jul 2025 09:34:48 +0000 (12:34 +0300)] 
config: Add and use set_str_expanded() to simplify the following changes

2 months agoconfig: Prepare for expanding $SET variables later
Timo Sirainen [Tue, 29 Jul 2025 09:06:55 +0000 (12:06 +0300)] 
config: Prepare for expanding $SET variables later