Commit Graph

275 Commits

Author SHA1 Message Date
Peter Bieringer
a6ddf4c9e9 sharing/config: check for invalid permission combination 2026-04-03 16:07:14 +02:00
Peter Bieringer
3ab7e2049f delay: delay_on_error only for 5xx, auth_delay for 401 in case login/user is missing 2026-04-02 13:06:28 +02:00
Peter Bieringer
1b633a4551 sharing/bday/config: remove legacy 2026-03-28 10:09:47 +01:00
Peter Bieringer
9485e58081 sharing/config: mark legacy config options 2026-03-24 21:40:29 +01:00
Peter Bieringer
8b7b060fe9 sharing/bday: config parser 2026-03-15 18:20:49 +01:00
Peter Bieringer
3cad049109 logging/limit_content: new option 2026-03-14 15:12:15 +01:00
Peter Bieringer
9cc373132f add delay_on_error option 2026-03-07 15:57:02 +01:00
Peter Bieringer
51fb882cab sharing: properties overlay by proppatch 2026-02-28 22:10:01 +01:00
Peter Bieringer
1cb622e903 sharing: add global and conditional permissions support 2026-02-26 08:14:49 +01:00
Peter Bieringer
3ad1b1a12a add rights value check 2026-02-26 08:12:49 +01:00
Peter Bieringer
a8bceb3ccd align order 2026-02-26 05:27:47 +01:00
Peter Bieringer
8372482ccd Merge branch 'master' into deprecate-ldap_use_ssl 2026-02-24 21:33:30 +01:00
magicfelix
74ad76b36d [OAuth2] Allow custom client_id and client_secret 2026-02-24 18:24:59 +01:00
Peter Bieringer
47d963a3a9 copyright: update 2026-02-24 08:19:51 +01:00
Peter Bieringer
bdff6307e4 sharing: add config options 2026-02-24 08:19:51 +01:00
Peter Marschall
8c9df49caf LDAP auth: remove config option 'ldap_use_ssl'
Remove the config option 'ldap_use_ssl' from the code and documentation,
deprecating it for good.
2026-02-22 12:51:45 +01:00
Peter Bieringer
bc2a14481f add new option max_resource_size 2025-12-11 22:53:02 +01:00
Peter Bieringer
e66d83cd84 add explanation to default value 2025-12-11 22:50:35 +01:00
Peter Bieringer
b51dcccd19 improve type specification 2025-12-11 22:44:19 +01:00
Peter Bieringer
dfb932a448 new options [logging] profiling_per_request_header profiling_per_request_xml 2025-12-10 17:48:05 +01:00
Peter Bieringer
b819febeb2 new option [logging] response_header_on_debug 2025-12-10 17:47:09 +01:00
Peter Bieringer
15ebb1e647 profiling: default is now 'none' and config option will be checked instantly 2025-12-08 17:54:18 +01:00
Peter Bieringer
3c0267c98a profiling: add options 2025-12-08 12:29:43 +01:00
Peter Bieringer
8a53939fae strict_preconditions: new config option 2025-10-19 18:54:37 +02:00
Johannes Berg
256ca59aaf auth: clean up remote IP parameter/documentation
Make the remote IP parameter more generic and make it an enum
determining the source instead of a boolean. Also fix the
changelog entry.

Both as requested, I managed to miss those comments previously.
2025-09-09 20:25:49 +02:00
Johannes Berg
b5a1ea911d auth: dovecot: pass remote IP (rip=) to auth server
If known, let the auth server know where the client came
from, using REMOTE_ADDR or, optionally/configurably, the
X-Remote-Addr header value (which is needed when running
behind a trusted proxy.)

Addresses #1859.
2025-09-09 12:10:00 +02:00
Peter Marschall
57a4d8d47d LDAP auth: update, consolidate & extend documentation 2025-09-08 22:01:13 +02:00
Peter Marschall
8821612fa8 LDAP auth: allow finding groups based on separate search
Instead of searching for the membership attribute on the user side
(usually AD: memberOf, Novell eDirectory: groupMembership) to determine
the groups the user loging on is a member of, allow performing a separate
search for the groups having the user as member and use the found groups' DNs.

The group search is performed in the context of 'ldap_reader_dn', after
the user DN has been found in the directory, but before the authentication
has been performed by doing an LDAP bind in the user's context.

Although this may - in the case of unsuccessful login attempts -
double the number of queries to the LDAP server, it has been done
this way to keep the number of LDAP contexts minimal.

Doing the group search in the context of the user logging on is no viable
option, because there are known implementations where regular users do not
have the necessary permissions to query the groups they are a member in.
2025-09-07 11:38:08 +02:00
Nate Harris
5c9c5b1572 - Linting 2025-08-13 23:46:26 -06:00
Nate Harris
80dc4995cf - Capture previous version of event pre-overwrite for use in notification hooks
- Use previous version of event in email hooks to determine added/deleted/updated email type
2025-08-13 23:46:24 -06:00
Peter Bieringer
de384d5f4a add hook option "dryrun" 2025-07-22 20:56:43 +02:00
Peter Bieringer
02471b6c90 add trace options 2025-07-19 14:39:47 +02:00
Nate Harris
ce9b2cf5d2 - Add support for local SMTP
- Ignore venv in flake8
2025-06-29 00:47:26 -06:00
Nate Harris
71f8833f4d - Add email hook 2025-06-19 02:15:45 -06:00
Juan F Arjona
d22d74320a Added urldecode_username option to decode the username when sent by the client. This solved problems when authenticating against an imap server from the iOS calendar. 2025-05-02 18:02:43 -04:00
gajus
b805393bd9 Standardize LDAP security configuration naming 2025-04-21 21:26:58 +02:00
gajus
1162a3a011 Add support for start_tls 2025-04-19 17:02:45 +02:00
BastelBaus
f40c4d6e9b Update config.py 2025-03-24 20:10:10 +01:00
BastelBaus
633dfbc875 Update config.py 2025-03-24 20:09:35 +01:00
BastelBaus
94ad295124 Update config.py
added ldap_authentik_timestamp_hack to config file
2025-03-23 18:08:00 +01:00
Peter Bieringer
be43ce5161 change default of authentication type to "denyall" for secure-by-default 2025-03-15 14:34:51 +01:00
Peter Bieringer
68f0eafe7d script_name: add config option, fixes https://github.com/Kozea/Radicale/issues/1275 2025-03-02 09:02:10 +01:00
Peter Bieringer
b8c2bc29ec display internal authentication types in online help 2025-03-01 13:16:57 +01:00
Peter Bieringer
0759673e67 pam: config parser 2025-02-22 17:50:24 +01:00
Peter Bieringer
04523e5087 oauth2 config option 2025-02-02 09:03:42 +01:00
Peter Bieringer
50b76f7114 imap: config parse 2025-01-16 06:02:06 +01:00
Peter Bieringer
ed6a5a834e add proper default for dovecot_host 2025-01-14 08:57:15 +01:00
HmBMvXXiSivMcLGFWoqc
3f04914de4 Add support for Dovecot auth over network 2025-01-13 23:31:13 -08:00
Peter Marschall
f9dd3efc3a LDAP auth: remove config option 'ldap_load_groups'
The same effect can be achieved using the option 'ldap_groups_attribute' alone,
if it's default becomes unset instead of 'memberOf'

Benefit: one config option less to deal with.

While at it, also fix header level for 'ldap_user_attribute' in documentation.
2025-01-03 20:47:31 +01:00
Peter Marschall
6c1445d8db LDAP auth: introduce config option 'ldap_groups_attribute'
This attribute is supposed to hold the group membership information
if the config option 'ldap_load_groups' is True.
If not given, it defaults to 'memberOf' for Active Directory.

Introducing this options allows one to use radicale's LDAP auth with groups
even on LDAP servers that keep their group memberships in a different attribute
than 'memberOf', e.g. Novell eDirectory which uses 'groupMembership'.
2025-01-03 20:27:21 +01:00