]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
21 months 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()

21 months 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()

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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()

21 months 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.

21 months 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()

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months agoDefine new libdovecot library called lib-json
Stephan Bosch [Wed, 7 Aug 2019 17:23:27 +0000 (19:23 +0200)] 
Define new libdovecot library called lib-json

21 months agostats: event-exporter-fmt - Use the new event category iterator API for event_export_...
Stephan Bosch [Sat, 19 Aug 2023 17:48:15 +0000 (19:48 +0200)] 
stats: event-exporter-fmt - Use the new event category iterator API for event_export_helper_fmt_categories()

21 months agolib: lib-event - Add support for iterating the full ancestral tree of an event's...
Stephan Bosch [Sat, 19 Aug 2023 17:46:27 +0000 (19:46 +0200)] 
lib: lib-event - Add support for iterating the full ancestral tree of an event's categories

21 months agolib: istream: i_stream_unref(): Put stream value in local variable, rather than relyi...
Stephan Bosch [Sun, 15 Oct 2017 20:53:09 +0000 (22:53 +0200)] 
lib: istream: i_stream_unref(): Put stream value in local variable, rather than relying on the pointer

Problem is that a destroy callback can mess with the pointer, leading to all kinds of trouble.

21 months agolib: unichar - Add uni_utf8_get_char_buf()
Stephan Bosch [Fri, 16 Oct 2020 11:03:46 +0000 (13:03 +0200)] 
lib: unichar - Add uni_utf8_get_char_buf()

Unlike the existing alternatives, this will not stop reading input at '\0'.

21 months agolib: unichar - Add uni_ucs4_to_utf8_len()
Stephan Bosch [Fri, 16 Oct 2020 19:52:02 +0000 (21:52 +0200)] 
lib: unichar - Add uni_ucs4_to_utf8_len()

Returns the number of octets needed to encode the provided codepoint in UTF-8.

21 months agolib-oauth: Reformat oauth2-jwt.c
Stephan Bosch [Sat, 11 Nov 2023 03:14:04 +0000 (04:14 +0100)] 
lib-oauth: Reformat oauth2-jwt.c

21 months agoauth: Reformat auth-policy.h
Stephan Bosch [Thu, 7 May 2020 10:31:53 +0000 (12:31 +0200)] 
auth: Reformat auth-policy.h

21 months agoauth: Reformat auth-policy.c
Stephan Bosch [Thu, 7 May 2020 10:31:01 +0000 (12:31 +0200)] 
auth: Reformat auth-policy.c

21 months agodoveadm: Reformat client-connection-http.c
Stephan Bosch [Thu, 7 May 2020 09:26:14 +0000 (11:26 +0200)] 
doveadm: Reformat client-connection-http.c

21 months agolib-test: test-common - Add test_out_reason_quiet()
Stephan Bosch [Tue, 25 Jul 2023 15:32:59 +0000 (17:32 +0200)] 
lib-test: test-common - Add test_out_reason_quiet()

21 months agolib: istream - Simplify i_stream_read_data() EOF and error handling
Stephan Bosch [Tue, 26 Sep 2023 00:06:23 +0000 (02:06 +0200)] 
lib: istream - Simplify i_stream_read_data() EOF and error handling

21 months agoimapc: Propagate INPROGRESS notifications from backends
Marco Bettini [Wed, 8 Nov 2023 14:20:49 +0000 (14:20 +0000)] 
imapc: Propagate INPROGRESS notifications from backends

21 months agolib-imap-client: struct imapc_command - Add start_time
Marco Bettini [Thu, 9 Nov 2023 10:59:40 +0000 (10:59 +0000)] 
lib-imap-client: struct imapc_command - Add start_time

21 months agolib-imap-client: Add imapc_client_find_command_by_tag()
Marco Bettini [Thu, 9 Nov 2023 10:23:30 +0000 (10:23 +0000)] 
lib-imap-client: Add imapc_client_find_command_by_tag()

21 months agodoveadm: auth - Cancel request on shutdown
Aki Tuomi [Thu, 22 Dec 2022 11:41:05 +0000 (13:41 +0200)] 
doveadm: auth - Cancel request on shutdown

Allows CTRL+Cing out of a request.

21 months agolib-master: Add master_service_set_killed_callback()
Aki Tuomi [Fri, 3 Nov 2023 10:26:38 +0000 (12:26 +0200)] 
lib-master: Add master_service_set_killed_callback()

Adds a callback that gets called when the master service is killed.

21 months agoauth: auth-request - Handle final failure response
Stephan Bosch [Wed, 1 Nov 2023 23:07:25 +0000 (00:07 +0100)] 
auth: auth-request - Handle final failure response

21 months agoauth: auth-request - Fix success response data without policy lookup
Stephan Bosch [Wed, 1 Nov 2023 23:06:06 +0000 (00:06 +0100)] 
auth: auth-request - Fix success response data without policy lookup

In that case the success data was discarded and not passed to the client.

21 months agologin-common: sasl-server - Remove handing of final response
Stephan Bosch [Fri, 27 Oct 2023 03:42:15 +0000 (05:42 +0200)] 
login-common: sasl-server - Remove handing of final response

It is now handled implicitly by the auth client.

21 months agolib-auth-client: auth-client - Implement implicit handling of final SASL reply
Stephan Bosch [Fri, 27 Oct 2023 02:42:09 +0000 (04:42 +0200)] 
lib-auth-client: auth-client - Implement implicit handling of final SASL reply

Turn it into a additional SASL interaction cycle if the client does not support
handing a final reply/challenge.

21 months agolib-auth-client: auth-client - Move request removal decision to auth_client_request_s...
Stephan Bosch [Fri, 3 Nov 2023 00:57:38 +0000 (01:57 +0100)] 
lib-auth-client: auth-client - Move request removal decision to auth_client_request_server_input()

21 months agolib-auth-client: auth-client-request - Use auth_client_request_is_aborted()
Stephan Bosch [Fri, 3 Nov 2023 00:48:12 +0000 (01:48 +0100)] 
lib-auth-client: auth-client-request - Use auth_client_request_is_aborted()

21 months agolib-auth-client: auth-client-connection - Allow calling auth_client_connection_remove...
Stephan Bosch [Fri, 27 Oct 2023 18:25:31 +0000 (20:25 +0200)] 
lib-auth-client: auth-client-connection - Allow calling auth_client_connection_remove_request() on removed request

21 months agoauth: auth-request - Add comment for final-resp-ok request field flag
Stephan Bosch [Thu, 2 Nov 2023 01:03:48 +0000 (02:03 +0100)] 
auth: auth-request - Add comment for final-resp-ok request field flag

21 months agoauth: auth-request - Restore final-resp-ok support
Stephan Bosch [Thu, 26 Oct 2023 22:36:23 +0000 (00:36 +0200)] 
auth: auth-request - Restore final-resp-ok support

Auth clients other than Dovecot itself will still not handle a final success
response correctly.

Was removed by 73ea09d00148edd2db2a59a71ec91f7bab06697b.

21 months agologin-common: client-common-auth - Make final SASL server success response available...
Stephan Bosch [Thu, 26 Oct 2023 15:47:49 +0000 (17:47 +0200)] 
login-common: client-common-auth - Make final SASL server success response available to application

21 months agologin-common: sasl-server - Return server final response data in success callback
Stephan Bosch [Thu, 26 Oct 2023 15:36:58 +0000 (17:36 +0200)] 
login-common: sasl-server - Return server final response data in success callback

21 months agologin-common: sasl-server - Remove useless parsing of resp= field
Stephan Bosch [Thu, 26 Oct 2023 15:39:15 +0000 (17:39 +0200)] 
login-common: sasl-server - Remove useless parsing of resp= field

The auth-client already does that and provides it in the data_base64 parameter

21 months agolib-auth: auth-scram-client - Don't assert fail when server keeps interacting unexpec...
Stephan Bosch [Thu, 26 Oct 2023 14:56:30 +0000 (16:56 +0200)] 
lib-auth: auth-scram-client - Don't assert fail when server keeps interacting unexpectedly

Issue an error instead.

21 months agolib-auth: auth-scram-client - Fix whitespace issue
Stephan Bosch [Thu, 26 Oct 2023 14:56:08 +0000 (16:56 +0200)] 
lib-auth: auth-scram-client - Fix whitespace issue

21 months agodoveadm: doveadm-auth - Make sure auth-client request is aborted when doveadm is...
Stephan Bosch [Fri, 3 Nov 2023 00:37:06 +0000 (01:37 +0100)] 
doveadm: doveadm-auth - Make sure auth-client request is aborted when doveadm is interrupted

This did not work for multi-cycle SASL mechanisms because input->request was
cleared upon the first auth server reply. This change restores it if the
authentication interaction continues.

21 months agodoveadm: doveadm-auth - Abort auth-client request when SASL client fails
Stephan Bosch [Fri, 3 Nov 2023 00:35:22 +0000 (01:35 +0100)] 
doveadm: doveadm-auth - Abort auth-client request when SASL client fails

Prevents warning about pending requests in the auth client upon cleanup.

21 months agodoveadm: doveadm-auth - Pass debug setting to auth-client
Stephan Bosch [Fri, 3 Nov 2023 00:34:00 +0000 (01:34 +0100)] 
doveadm: doveadm-auth - Pass debug setting to auth-client

21 months agoauth: mech-oauth2 - Fix segfault occurring when oauth2 passdb is not first
Stephan Bosch [Fri, 3 Nov 2023 00:28:05 +0000 (01:28 +0100)] 
auth: mech-oauth2 - Fix segfault occurring when oauth2 passdb is not first

21 months agoauth: test-mech - Fix empty initial reponse tests
Stephan Bosch [Thu, 2 Nov 2023 13:33:50 +0000 (14:33 +0100)] 
auth: test-mech - Fix empty initial reponse tests

Empty initial responses were interpreted as the absense of an initial response,
thereby triggering an empty server challenge and a subsequent erroneous failure.
This was not how these tests were intended.

21 months agolib-auth-client: Reformat auth-client-connection.c
Stephan Bosch [Fri, 3 Nov 2023 11:56:00 +0000 (12:56 +0100)] 
lib-auth-client: Reformat auth-client-connection.c

21 months agolib-auth-client: Reformat auth-client-request.c
Stephan Bosch [Sat, 28 Oct 2023 01:42:21 +0000 (03:42 +0200)] 
lib-auth-client: Reformat auth-client-request.c

21 months agoauth: Reformat auth-request.h
Stephan Bosch [Thu, 2 Nov 2023 00:47:23 +0000 (01:47 +0100)] 
auth: Reformat auth-request.h

21 months agoauth: Reformat auth-request.c
Stephan Bosch [Thu, 2 Nov 2023 00:38:58 +0000 (01:38 +0100)] 
auth: Reformat auth-request.c

21 months agodict: Fix COMIT typo in log prefix
Timo Sirainen [Mon, 13 Nov 2023 21:59:57 +0000 (23:59 +0200)] 
dict: Fix COMIT typo in log prefix

Added by 93a53a9d590f0220de28600f36a969cc38c3148b

21 months agodict: Add log prefixes to commands that can log something
Timo Sirainen [Thu, 9 Nov 2023 23:45:47 +0000 (01:45 +0200)] 
dict: Add log prefixes to commands that can log something

21 months agocassandra: Fix memory leaks on failures
Timo Sirainen [Thu, 9 Nov 2023 22:37:58 +0000 (00:37 +0200)] 
cassandra: Fix memory leaks on failures

21 months agolib-dict: dict-lua - Add transaction:set_non_atomic()
Timo Sirainen [Thu, 9 Nov 2023 21:28:59 +0000 (23:28 +0200)] 
lib-dict: dict-lua - Add transaction:set_non_atomic()

21 months agodict-sql: Implement dict_transaction_set_non_atomic()
Timo Sirainen [Thu, 9 Nov 2023 21:27:36 +0000 (23:27 +0200)] 
dict-sql: Implement dict_transaction_set_non_atomic()

21 months agolib-dict: Add dict_transaction_set_non_atomic()
Timo Sirainen [Thu, 9 Nov 2023 21:27:10 +0000 (23:27 +0200)] 
lib-dict: Add dict_transaction_set_non_atomic()

21 months agolib-sql, cassandra: Add and implement sql_transaction_set_non_atomic()
Timo Sirainen [Thu, 9 Nov 2023 21:23:22 +0000 (23:23 +0200)] 
lib-sql, cassandra: Add and implement sql_transaction_set_non_atomic()

21 months agocassandra: Support multiple statements in a transaction using batches
Timo Sirainen [Thu, 9 Nov 2023 13:04:10 +0000 (15:04 +0200)] 
cassandra: Support multiple statements in a transaction using batches

21 months agocassandra: Prepare support for multiple statements in transaction
Timo Sirainen [Thu, 9 Nov 2023 20:24:16 +0000 (22:24 +0200)] 
cassandra: Prepare support for multiple statements in transaction

Prepare the code for an array of statements, but don't actually support more
than one yet.

21 months agocassandra: Refactor continuing transaction after pending prepared statement is finished
Timo Sirainen [Thu, 9 Nov 2023 12:44:13 +0000 (14:44 +0200)] 
cassandra: Refactor continuing transaction after pending prepared statement is finished

21 months agocassandra: Add and use enum cassandra_result_type
Timo Sirainen [Thu, 9 Nov 2023 12:12:11 +0000 (14:12 +0200)] 
cassandra: Add and use enum cassandra_result_type

21 months agocassandra: Keep also non-prepared sql_statement until transaction commit
Timo Sirainen [Thu, 9 Nov 2023 11:33:10 +0000 (13:33 +0200)] 
cassandra: Keep also non-prepared sql_statement until transaction commit

21 months agocassandra: Fix setting timestamp with non-prepared sql_statements
Timo Sirainen [Thu, 9 Nov 2023 11:06:25 +0000 (13:06 +0200)] 
cassandra: Fix setting timestamp with non-prepared sql_statements

21 months agocassandra: Get query_type earlier in transactions
Timo Sirainen [Thu, 9 Nov 2023 10:42:11 +0000 (12:42 +0200)] 
cassandra: Get query_type earlier in transactions

This simplifies later commits.

21 months agocassandra: Rename driver_cassandra_send_query() to cassandra_result_connect_and_send_...
Timo Sirainen [Thu, 9 Nov 2023 10:34:28 +0000 (12:34 +0200)] 
cassandra: Rename driver_cassandra_send_query() to cassandra_result_connect_and_send_query()

21 months agocassandra: Rename driver_cassandra_query_init() to driver_cassandra_result_init()
Timo Sirainen [Thu, 9 Nov 2023 10:27:41 +0000 (12:27 +0200)] 
cassandra: Rename driver_cassandra_query_init() to driver_cassandra_result_init()