]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
2 years agolmtp: Move lmtp_local_deliver_context.lda_set to lmtp_local_recipient
Timo Sirainen [Thu, 12 Jan 2023 14:52:43 +0000 (16:52 +0200)] 
lmtp: Move lmtp_local_deliver_context.lda_set to lmtp_local_recipient

This simplifies the settings lookup when checking if user is over quota.

2 years agolib-storage: Remove unused mail_storage_service_user_get_ssl_settings()
Timo Sirainen [Thu, 12 Jan 2023 14:44:28 +0000 (16:44 +0200)] 
lib-storage: Remove unused mail_storage_service_user_get_ssl_settings()

2 years agolib-storage, global: Replace mail_user_init_ssl_client_settings() with mail_user...
Timo Sirainen [Thu, 12 Jan 2023 14:42:56 +0000 (16:42 +0200)] 
lib-storage, global: Replace mail_user_init_ssl_client_settings() with mail_user.ssl_set

The ssl settings are used all over the place, so it's easier to just add
them to mail_user directly.

2 years agodoveadm: Replace mail_storage_service_user_get_ssl_settings() with mail_storage_servi...
Timo Sirainen [Thu, 12 Jan 2023 14:12:03 +0000 (16:12 +0200)] 
doveadm: Replace mail_storage_service_user_get_ssl_settings() with mail_storage_service_user_init_ssl_client_settings()

2 years agolib-storage: Add mail_storage_service_user_init_ssl_client_settings()
Timo Sirainen [Thu, 12 Jan 2023 14:17:41 +0000 (16:17 +0200)] 
lib-storage: Add mail_storage_service_user_init_ssl_client_settings()

2 years agolib-storage: Remove unused mail_storage_service_user_get_mail_set()
Timo Sirainen [Thu, 12 Jan 2023 14:04:00 +0000 (16:04 +0200)] 
lib-storage: Remove unused mail_storage_service_user_get_mail_set()

2 years agolmtp: Replace mail_storage_service_user_get_mail_set() with master_service_settings_p...
Timo Sirainen [Thu, 12 Jan 2023 14:03:28 +0000 (16:03 +0200)] 
lmtp: Replace mail_storage_service_user_get_mail_set() with master_service_settings_parser_get()

2 years agopop3: Use better ways of accessing mail_storage_settings
Timo Sirainen [Thu, 12 Jan 2023 13:59:22 +0000 (15:59 +0200)] 
pop3: Use better ways of accessing mail_storage_settings

2 years agolib-storage: Remove mail_user.mail_debug
Timo Sirainen [Thu, 12 Jan 2023 13:44:39 +0000 (15:44 +0200)] 
lib-storage: Remove mail_user.mail_debug

It's still available via mail_user.set.mail_debug, although shouldn't
normally be used anymore.

2 years agolib-storage: lua - Remove mail_user.mail_debug
Timo Sirainen [Thu, 12 Jan 2023 13:36:37 +0000 (15:36 +0200)] 
lib-storage: lua - Remove mail_user.mail_debug

2 years agolib-storage: Move mail_storage_settings.mail_debug to mail_user_settings
Timo Sirainen [Thu, 12 Jan 2023 13:33:17 +0000 (15:33 +0200)] 
lib-storage: Move mail_storage_settings.mail_debug to mail_user_settings

2 years agoglobal: Replace mail_debug checks with event_want_debug()
Timo Sirainen [Thu, 12 Jan 2023 13:44:20 +0000 (15:44 +0200)] 
global: Replace mail_debug checks with event_want_debug()

2 years agoimapc: Replace mail_debug usage with event_want_debug()
Timo Sirainen [Thu, 12 Jan 2023 13:31:40 +0000 (15:31 +0200)] 
imapc: Replace mail_debug usage with event_want_debug()

2 years agosubmission, mail-lua: Remove unnecessary mail_debug checks from debug logging
Timo Sirainen [Thu, 12 Jan 2023 13:38:41 +0000 (15:38 +0200)] 
submission, mail-lua: Remove unnecessary mail_debug checks from debug logging

These aren't necessary, and they also prevent more specific debug filters
with log_debug.

2 years agolib-storage: mail_storage_service_user - Add missing %{hostname}
Timo Sirainen [Sat, 7 Jan 2023 20:57:29 +0000 (22:57 +0200)] 
lib-storage: mail_storage_service_user - Add missing %{hostname}

This existed for mail_user already.

2 years agolib-storage: Remove unused mail_storage_service_save_userdb_fields()
Timo Sirainen [Sat, 7 Jan 2023 20:32:46 +0000 (22:32 +0200)] 
lib-storage: Remove unused mail_storage_service_save_userdb_fields()

2 years agodoveadm: Replace mail_storage_service_save_userdb_fields() with mail_storage_service...
Timo Sirainen [Sat, 7 Jan 2023 20:31:50 +0000 (22:31 +0200)] 
doveadm: Replace mail_storage_service_save_userdb_fields() with  mail_storage_service_user_get_userdb_fields()

This is much less kludgy.

2 years agolib-storage: Add mail_storage_service_user_get_userdb_fields()
Timo Sirainen [Sat, 7 Jan 2023 20:31:41 +0000 (22:31 +0200)] 
lib-storage: Add mail_storage_service_user_get_userdb_fields()

2 years agolda: Use master_service_settings_parser_get()
Timo Sirainen [Thu, 5 Jan 2023 14:13:22 +0000 (16:13 +0200)] 
lda: Use master_service_settings_parser_get()

2 years agolib-master: Remove unused master_service_settings_get_root_set[_dup]()
Timo Sirainen [Thu, 5 Jan 2023 14:08:26 +0000 (16:08 +0200)] 
lib-master: Remove unused master_service_settings_get_root_set[_dup]()

2 years agolmtp: Use master_service_settings_[parser_]get()
Timo Sirainen [Thu, 5 Jan 2023 13:59:47 +0000 (15:59 +0200)] 
lmtp: Use master_service_settings_[parser_]get()

2 years agolmtp: Remove client.service_set
Timo Sirainen [Thu, 5 Jan 2023 12:07:56 +0000 (14:07 +0200)] 
lmtp: Remove client.service_set

Just use master_service_get_service_settings() on demand.

2 years agoquota-status: Use master_service_settings_get_or_fatal() and master_service_settings_...
Timo Sirainen [Thu, 5 Jan 2023 03:45:33 +0000 (05:45 +0200)] 
quota-status: Use master_service_settings_get_or_fatal() and master_service_settings_parser_get()

2 years agoimap-urlauth: Use master_service_settings_get[_or_fatal]()
Timo Sirainen [Thu, 5 Jan 2023 01:45:29 +0000 (03:45 +0200)] 
imap-urlauth: Use master_service_settings_get[_or_fatal]()

2 years agosubmission: Use master_service_settings_parser_get()
Timo Sirainen [Thu, 5 Jan 2023 02:21:36 +0000 (04:21 +0200)] 
submission: Use master_service_settings_parser_get()

2 years agopop3: Use master_service_settings_parser_get()
Timo Sirainen [Thu, 5 Jan 2023 02:15:37 +0000 (04:15 +0200)] 
pop3: Use master_service_settings_parser_get()

2 years agoimap: Use master_service_settings_parser_get()
Timo Sirainen [Thu, 5 Jan 2023 02:13:50 +0000 (04:13 +0200)] 
imap: Use master_service_settings_parser_get()

2 years ago*-login: Use master_service_settings_get[_or_fatal]()
Timo Sirainen [Thu, 5 Jan 2023 11:27:27 +0000 (13:27 +0200)] 
*-login: Use master_service_settings_get[_or_fatal]()

2 years ago*-login: Allow client.create() to return failure
Timo Sirainen [Thu, 5 Jan 2023 11:02:07 +0000 (13:02 +0200)] 
*-login: Allow client.create() to return failure

2 years agolib-master: Remove unused master_service_settings_detach()
Timo Sirainen [Tue, 7 Mar 2023 11:16:20 +0000 (13:16 +0200)] 
lib-master: Remove unused master_service_settings_detach()

2 years agomaster: Use master_service_settings_get[_or_fatal]()
Timo Sirainen [Thu, 5 Jan 2023 09:47:40 +0000 (11:47 +0200)] 
master: Use master_service_settings_get[_or_fatal]()

2 years agomaster: Remove service_list.service_set
Timo Sirainen [Thu, 5 Jan 2023 09:39:28 +0000 (11:39 +0200)] 
master: Remove service_list.service_set

Just use master_service_get_service_settings() on demand.

2 years agomail-crypt: Use master_service_settings_get_or_fatal()
Timo Sirainen [Thu, 5 Jan 2023 09:32:03 +0000 (11:32 +0200)] 
mail-crypt: Use master_service_settings_get_or_fatal()

2 years agostats: Use master_service_settings_get_or_fatal()
Timo Sirainen [Thu, 5 Jan 2023 03:14:17 +0000 (05:14 +0200)] 
stats: Use master_service_settings_get_or_fatal()

2 years agodict: Use master_service_settings_get_or_fatal()
Timo Sirainen [Thu, 5 Jan 2023 01:40:38 +0000 (03:40 +0200)] 
dict: Use master_service_settings_get_or_fatal()

2 years agoauth: Use master_service_settings_get[_or_fatal]()
Timo Sirainen [Wed, 4 Jan 2023 23:27:29 +0000 (01:27 +0200)] 
auth: Use master_service_settings_get[_or_fatal]()

2 years agodoveadm: Use master_service_settings_get[_or_fatal]()
Timo Sirainen [Thu, 5 Jan 2023 01:38:54 +0000 (03:38 +0200)] 
doveadm: Use master_service_settings_get[_or_fatal]()

2 years agodoveadm: Remove doveadm_setting_roots_add() and _get_settings()
Timo Sirainen [Thu, 5 Jan 2023 01:13:45 +0000 (03:13 +0200)] 
doveadm: Remove doveadm_setting_roots_add() and _get_settings()

These will no longer be needed. Plugins that were using them can just
access the settings via lib-master APIs directly after some more changes.

2 years agolib-lua: Use master_service_settings_get()
Timo Sirainen [Thu, 5 Jan 2023 09:58:31 +0000 (11:58 +0200)] 
lib-lua: Use master_service_settings_get()

2 years agolib-storage: Add pool to mail_storage_settings
Timo Sirainen [Thu, 12 Jan 2023 14:03:15 +0000 (16:03 +0200)] 
lib-storage: Add pool to mail_storage_settings

2 years agolib-storage: Add pool to mail_user_settings
Timo Sirainen [Thu, 5 Jan 2023 14:26:11 +0000 (16:26 +0200)] 
lib-storage: Add pool to mail_user_settings

2 years agolib-lda: Add pool to lda_settings
Timo Sirainen [Thu, 5 Jan 2023 11:57:29 +0000 (13:57 +0200)] 
lib-lda: Add pool to lda_settings

2 years agolib-smtp: Add Add pool to smtp_submit_settings
Timo Sirainen [Thu, 5 Jan 2023 02:13:07 +0000 (04:13 +0200)] 
lib-smtp: Add Add pool to smtp_submit_settings

2 years agolib-master: Use master_service_settings_get() for SSL settings
Timo Sirainen [Thu, 5 Jan 2023 10:05:50 +0000 (12:05 +0200)] 
lib-master: Use master_service_settings_get() for SSL settings

2 years agolib-master: Add pool to master_service_ssl_[server_]settings
Timo Sirainen [Thu, 5 Jan 2023 01:25:03 +0000 (03:25 +0200)] 
lib-master: Add pool to master_service_ssl_[server_]settings

2 years agolib-master: Add pool to master_service_settings
Timo Sirainen [Tue, 7 Mar 2023 11:11:25 +0000 (13:11 +0200)] 
lib-master: Add pool to master_service_settings

2 years agolib-master: Add master_service_settings_get[_or_fatal]() and master_service_settings_...
Timo Sirainen [Wed, 4 Jan 2023 21:49:58 +0000 (23:49 +0200)] 
lib-master: Add master_service_settings_get[_or_fatal]() and master_service_settings_parser_get()

These will become the only way to access settings read by lib-master.

2 years agolib-settings, global: setting_parser_info.type_offset and parent_offset - use 0 as...
Timo Sirainen [Wed, 4 Jan 2023 21:37:36 +0000 (23:37 +0200)] 
lib-settings, global: setting_parser_info.type_offset and parent_offset - use 0 as nonexistent

Rename them to type_offset1 and parent_offset1. The offset must add +1, so
0 value now means nonexistent. This simplifies the structs, since most of
them don't use these.

2 years agolib-master: Add mempool for master settings
Timo Sirainen [Wed, 4 Jan 2023 21:20:47 +0000 (23:20 +0200)] 
lib-master: Add mempool for master settings

This will simplify tracking memory usage for settings structs.

2 years agolib-master: Add refcounting to mmap()ed settings area
Timo Sirainen [Wed, 4 Jan 2023 20:50:21 +0000 (22:50 +0200)] 
lib-master: Add refcounting to mmap()ed settings area

2 years agoglobal: Remove unnecessary "Error reading configuration:" log prefixes
Timo Sirainen [Thu, 19 Jan 2023 20:13:38 +0000 (22:13 +0200)] 
global: Remove unnecessary "Error reading configuration:" log prefixes

master_service_settings_read*() already adds them.

2 years agolib-master: master_service_settings_read() - Improve returned error messages
Timo Sirainen [Thu, 19 Jan 2023 20:05:45 +0000 (22:05 +0200)] 
lib-master: master_service_settings_read() - Improve returned error messages

Mention as prefix that the configuration failed to be read/parsed, so the
caller doesn't have to duplicate that again.

2 years agoauth: Change auth settings structs to be const
Timo Sirainen [Wed, 4 Jan 2023 22:57:47 +0000 (00:57 +0200)] 
auth: Change auth settings structs to be const

2 years agodoveadm: Remove global service_set variable
Timo Sirainen [Wed, 4 Jan 2023 22:03:48 +0000 (00:03 +0200)] 
doveadm: Remove global service_set variable

Use master_service_get_service_settings() instead.

2 years agoglobal: Rename master_service_settings_get() to master_service_get_service_settings()
Timo Sirainen [Wed, 4 Jan 2023 20:41:30 +0000 (22:41 +0200)] 
global: Rename master_service_settings_get() to master_service_get_service_settings()

2 years agolib-settings: Remove unused settings_parser_get_root_set_dup()
Timo Sirainen [Wed, 4 Jan 2023 20:35:02 +0000 (22:35 +0200)] 
lib-settings: Remove unused settings_parser_get_root_set_dup()

2 years agolib-settings: Remove unused settings_parser_get()
Timo Sirainen [Wed, 4 Jan 2023 20:22:43 +0000 (22:22 +0200)] 
lib-settings: Remove unused settings_parser_get()

2 years agoglobal: Replace settings_parser_get() with settings_parser_get_root_set()
Timo Sirainen [Wed, 4 Jan 2023 20:21:27 +0000 (22:21 +0200)] 
global: Replace settings_parser_get() with settings_parser_get_root_set()

2 years agolib-master: Remove obsolete comment about log process settings
Timo Sirainen [Tue, 7 Mar 2023 11:12:38 +0000 (13:12 +0200)] 
lib-master: Remove obsolete comment about log process settings

Forgotten in 1955e81a2ffe023f937d87f2b555bcec0fb4aee9

2 years agolib-master: Add data stack frame to opening config fd
Timo Sirainen [Fri, 10 Mar 2023 13:48:55 +0000 (15:48 +0200)] 
lib-master: Add data stack frame to opening config fd

2 years agolib: Drop original JSON parser implementation
Stephan Bosch [Tue, 8 Oct 2019 18:15:14 +0000 (20:15 +0200)] 
lib: Drop original JSON parser implementation

2 years agolib-json: Add fuzz target for parsing JSON tree from istream
Stephan Bosch [Fri, 16 Oct 2020 11:35:18 +0000 (13:35 +0200)] 
lib-json: Add fuzz target for parsing JSON tree from istream

2 years agostats: stats-service-openmetrics - Use the new lib-json
Stephan Bosch [Sat, 25 Apr 2020 16:47:04 +0000 (18:47 +0200)] 
stats: stats-service-openmetrics - Use the new lib-json

2 years agostats: event-exporter-fmt-json - Use the new lib-json
Stephan Bosch [Tue, 8 Oct 2019 18:15:31 +0000 (20:15 +0200)] 
stats: event-exporter-fmt-json - Use the new lib-json

2 years agoplugins: push-notification: push-notification-driver-ox - Use the new lib-json
Stephan Bosch [Sun, 28 Jul 2019 09:25:38 +0000 (11:25 +0200)] 
plugins: push-notification: push-notification-driver-ox - Use the new lib-json

2 years agoplugins: notify-status: Use the new lib-json
Stephan Bosch [Sun, 28 Jul 2019 09:24:53 +0000 (11:24 +0200)] 
plugins: notify-status: Use the new lib-json

2 years agolib-sasl: mech-oauthbearer - Use the new lib-json
Stephan Bosch [Sun, 28 Jul 2019 09:24:11 +0000 (11:24 +0200)] 
lib-sasl: mech-oauthbearer - Use the new lib-json

2 years agolib-oauth2: Use the new lib-json
Stephan Bosch [Sat, 22 Feb 2020 11:35:25 +0000 (12:35 +0100)] 
lib-oauth2: Use the new lib-json

2 years agolib-dcrypt: Use the new lib-json
Stephan Bosch [Mon, 7 Oct 2019 13:21:28 +0000 (15:21 +0200)] 
lib-dcrypt: Use the new lib-json

2 years agodoveadm: Use the new lib-json
Stephan Bosch [Sun, 28 Jul 2019 09:20:38 +0000 (11:20 +0200)] 
doveadm: Use the new lib-json

2 years agoauth: mech-oauth2 - Use the new lib-json
Stephan Bosch [Tue, 5 Oct 2021 00:42:55 +0000 (02:42 +0200)] 
auth: mech-oauth2 - Use the new lib-json

2 years agoauth: db-dict - Use the new lib-json
Stephan Bosch [Sun, 28 Jul 2019 09:19:38 +0000 (11:19 +0200)] 
auth: db-dict - Use the new lib-json

2 years agoauth: auth-policy - Use the new lib-json
Stephan Bosch [Sun, 28 Jul 2019 09:19:22 +0000 (11:19 +0200)] 
auth: auth-policy - Use the new lib-json

2 years agolib-oauth2: oauth2-jwt - Split off get_field_node()
Stephan Bosch [Sat, 11 Nov 2023 03:19:10 +0000 (04:19 +0100)] 
lib-oauth2: oauth2-jwt - Split off get_field_node()

2 years agodoveadm: client-connection-http - Change implementation of camel-case encoding
Stephan Bosch [Mon, 16 Oct 2017 23:34:38 +0000 (01:34 +0200)] 
doveadm: client-connection-http - Change implementation of camel-case encoding

Makes it return a c-string, rather than modifying a string_t buffer.

2 years agodoveadm: client-connection-http - Rename request_json_parse_cmd_param_key()
Stephan Bosch [Thu, 7 May 2020 09:46:23 +0000 (11:46 +0200)] 
doveadm: client-connection-http - Rename request_json_parse_cmd_param_key()

2 years agolib-json: Add JSON formatting tool
Stephan Bosch [Tue, 1 Aug 2023 00:04:13 +0000 (02:04 +0200)] 
lib-json: Add JSON formatting tool

2 years agolib-json: Add API for formating JSON text stored in memory
Stephan Bosch [Sun, 13 Aug 2023 15:03:27 +0000 (17:03 +0200)] 
lib-json: Add API for formating JSON text stored in memory

2 years agolib-json: json-generator - Add support for formatted JSON output
Stephan Bosch [Sat, 22 Feb 2020 13:49:31 +0000 (14:49 +0100)] 
lib-json: json-generator - Add support for formatted JSON output

2 years agolib-json: json-ostream - Add support for writing directly to the underlying stream
Stephan Bosch [Thu, 7 May 2020 12:56:17 +0000 (14:56 +0200)] 
lib-json: json-ostream - Add support for writing directly to the underlying stream

2 years agolib-json: json-generator - Add support for writing directly to the underlying stream
Stephan Bosch [Thu, 7 May 2020 12:56:06 +0000 (14:56 +0200)] 
lib-json: json-generator - Add support for writing directly to the underlying stream

2 years agolib-json: Add API for reading and writing JSON tree values from and to memory
Stephan Bosch [Sat, 22 Feb 2020 16:44:24 +0000 (17:44 +0100)] 
lib-json: Add API for reading and writing JSON tree values from and to memory

2 years agolib-json: json-ostream - Add support for writing JSON tree values
Stephan Bosch [Wed, 7 Aug 2019 19:49:25 +0000 (21:49 +0200)] 
lib-json: json-ostream - Add support for writing JSON tree values

2 years agolib-json: json-istream - Add support for reading JSON tree values
Stephan Bosch [Wed, 7 Aug 2019 19:48:01 +0000 (21:48 +0200)] 
lib-json: json-istream - Add support for reading JSON tree values

2 years agolib-json: json-tree - Implement tree walker
Stephan Bosch [Mon, 31 Jul 2023 10:50:37 +0000 (12:50 +0200)] 
lib-json: json-tree - Implement tree walker

2 years agolib-json: Define JSON tree data structure for representing arbitrary JSON data
Stephan Bosch [Wed, 7 Aug 2019 21:13:36 +0000 (23:13 +0200)] 
lib-json: Define JSON tree data structure for representing arbitrary JSON data

2 years agolib-json: json-ostream - Add support for writing string values through an output...
Stephan Bosch [Wed, 7 Aug 2019 21:54:02 +0000 (23:54 +0200)] 
lib-json: json-ostream - Add support for writing string values through an output stream

2 years agolib-json: json-ostream - Add support for writing literal JSON text from an input...
Stephan Bosch [Wed, 7 Aug 2019 22:28:05 +0000 (00:28 +0200)] 
lib-json: json-ostream - Add support for writing literal JSON text from an input stream

2 years agolib-json: json-ostream - Add support for writing a JSON string from an input stream
Stephan Bosch [Wed, 7 Aug 2019 22:36:17 +0000 (00:36 +0200)] 
lib-json: json-ostream - Add support for writing a JSON string from an input stream

2 years agolib-json: json-istream - Add support for reading string values as an input stream
Stephan Bosch [Wed, 7 Aug 2019 22:47:34 +0000 (00:47 +0200)] 
lib-json: json-istream - Add support for reading string values as an input stream

2 years agolib-json: json-generator - Add support for generating string values through an output...
Stephan Bosch [Wed, 7 Aug 2019 21:40:27 +0000 (23:40 +0200)] 
lib-json: json-generator - Add support for generating string values through an output stream

2 years agolib-json: json-generator - Add support for writing literal JSON text from an input...
Stephan Bosch [Wed, 7 Aug 2019 21:25:24 +0000 (23:25 +0200)] 
lib-json: json-generator - Add support for writing literal JSON text from an input stream

2 years agolib-json: json-generator - Add support for writing a JSON string from an input stream
Stephan Bosch [Wed, 7 Aug 2019 21:34:27 +0000 (23:34 +0200)] 
lib-json: json-generator - Add support for writing a JSON string from an input stream

2 years agolib-json: json-parser - Add support for parsing string values as an input stream
Stephan Bosch [Wed, 7 Aug 2019 21:16:25 +0000 (23:16 +0200)] 
lib-json: json-parser - Add support for parsing string values as an input stream

2 years agolib-json: Implement JSON value output stream
Stephan Bosch [Wed, 7 Aug 2019 19:24:50 +0000 (21:24 +0200)] 
lib-json: Implement JSON value output stream

2 years agolib-json: Implement JSON value input stream
Stephan Bosch [Wed, 7 Aug 2019 19:17:55 +0000 (21:17 +0200)] 
lib-json: Implement JSON value input stream

2 years agolib-json: Implement low-level JSON generator
Stephan Bosch [Wed, 7 Aug 2019 18:52:24 +0000 (20:52 +0200)] 
lib-json: Implement low-level JSON generator

2 years agolib-json: Implement low-level JSON parser
Stephan Bosch [Wed, 7 Aug 2019 18:38:33 +0000 (20:38 +0200)] 
lib-json: Implement low-level JSON parser

2 years agolib-json: Add definitions and functions for JSON types, values, and nodes
Stephan Bosch [Wed, 7 Aug 2019 18:29:25 +0000 (20:29 +0200)] 
lib-json: Add definitions and functions for JSON types, values, and nodes

2 years agolib-json: Define syntax character classes
Stephan Bosch [Wed, 7 Aug 2019 18:20:18 +0000 (20:20 +0200)] 
lib-json: Define syntax character classes