1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00
Commit graph

3281 commits

Author SHA1 Message Date
Peter Marschall
9b216a9f24 LDAP auth: define fallback value for _use_encryption 2025-09-07 11:38:08 +02:00
Peter Marschall
5c4a0578b0 LDAP auth: fix _login2() by importing ldap.filter 2025-09-07 11:38:08 +02:00
Peter Marschall
5a183e3c2b LDAP auth: make flake8 happy
"fix" small lint to keep flake8 happy.
2025-09-07 11:38:08 +02:00
Peter Marschall
5f677fc77e LDAP auth: document all paramters at the top of the file 2025-09-07 11:38:08 +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
Peter Bieringer
dd365d1f4b explicit define pyproject.toml as tox at least 4.30.2 is otherwise using EOL setup.cfg 2025-09-07 08:59:51 +02:00
Peter Bieringer
2ecfe1c952 merge extensions from ce9b2cf5d2 2025-09-07 08:59:51 +02:00
Peter Bieringer
c9efcdfe09
Merge pull request #1862 from pbiering/support-1856
Final fix for https://github.com/Kozea/Radicale/issues/1856
2025-09-01 20:58:40 +02:00
Peter Bieringer
7edcd0bf08 Changelog: Improve: user/group retrievement for running service and directorie 2025-09-01 20:31:32 +02:00
Peter Bieringer
ca3fd9a3ff Improve: user/group retrievement for running service and directories 2025-09-01 20:31:23 +02:00
Peter Bieringer
001d44faae changelog for https://github.com/Kozea/Radicale/pull/1857 2025-08-31 21:19:10 +02:00
Peter Bieringer
898d9d5092
Merge pull request #1857 from davidfdezalcoba/fix/1856
Fix broken start when UID does not exist
2025-08-31 17:41:15 +02:00
Peter Bieringer
c4e897f997 cosmetics 2025-08-31 17:38:59 +02:00
David Fernandez Alcoba
550f522e9d Fix broken start when UID does not exist 2025-08-29 13:00:23 +02:00
Peter Bieringer
a44e4cf335 3.5.6.dev 2025-08-24 18:50:58 +02:00
Peter Bieringer
6d3cd8146f fix lint issue related to 9d5772901d 2025-08-24 10:14:28 +02:00
Peter Bieringer
f06911a3a4
Merge pull request #1854 from jspricke/fix_storage_interface
Fix acquire_lock interface signature
2025-08-24 10:13:24 +02:00
Jochen Sprickerhof
5f7f410310
Fix acquire_lock interface signature
See multifilesystem/lock.py and different calls.
2025-08-23 20:59:37 +02:00
Peter Bieringer
9d5772901d run rabbitmq tests only if module pika is available 2025-08-23 07:29:45 +02:00
Peter Bieringer
1d747fb407 release 3.5.5 2025-08-22 08:53:38 +02:00
Peter Bieringer
f583adf6a4 changelog for conditional log level for base_prefix strip action 2025-08-22 08:50:51 +02:00
Peter Bieringer
8e4447e95b conditional log level for base_prefix strip action 2025-08-22 08:49:24 +02:00
Peter Bieringer
f268cd11e4 fix typo 2025-08-22 08:05:41 +02:00
Peter Bieringer
19954f162a
Merge pull request #1849 from pbiering/fix-1847
Fix 1847
2025-08-22 08:01:06 +02:00
Peter Bieringer
699a996be4 changelog for items having tzinfo only on dtstart or dtend set for whatever reason, overtake tzinfo from the other one 2025-08-22 07:51:54 +02:00
Peter Bieringer
7f28f69452 extend test for items having tzinfo only on dtstart or dtend set for whatever reason, overtake tzinfo from the other one 2025-08-22 07:51:15 +02:00
Peter Bieringer
2a808fd373 test items having tzinfo only on dtstart or dtend set for whatever reason 2025-08-22 07:50:47 +02:00
Peter Bieringer
e1b19f1a22 catch items having tzinfo only on dtstart or dtend set for whatever reason, overtake tzinfo from the other one 2025-08-22 07:49:54 +02:00
Peter Bieringer
74d21f011c enrich for optional tzinfo 2025-08-22 07:49:09 +02:00
Peter Bieringer
c74ac9c225
Merge pull request #1829 from nwithan8/email
Improve email notification hook by determining event update type
2025-08-22 06:15:55 +02:00
Nate Harris
998b2e2121 - Fix unit tests for hook email trigger conditional based on end date 2025-08-21 00:21:11 -06:00
Peter Bieringer
6fc237f3bc
Merge pull request #1848 from metallerok/fix_expand_item_copying
(#1845) Fix expanded item copying
2025-08-18 06:21:24 +02:00
Georgiy
7ce41aee37 (#1845) Fix expanded item copying 2025-08-17 20:06:37 +03:00
Nate Harris
9b6ba72fa0 - Fix dryrun property 2025-08-14 00:10:16 -06:00
Nate Harris
f32e50bc9d - Add unit tests to confirm emails not triggered when adding/deleting event with past end date 2025-08-14 00:06:55 -06:00
Nate Harris
208dd22a42 - Do not send notifications if end time is more than 1 minute in the past (buffer) 2025-08-13 23:46:26 -06:00
Nate Harris
74bc78aac4 - Linting 2025-08-13 23:46:26 -06:00
Nate Harris
5c9c5b1572 - Linting 2025-08-13 23:46:26 -06:00
Nate Harris
16b7311229 - Include legacy "content" parameter in HookNotificationItem usage 2025-08-13 23:46:26 -06:00
Nate Harris
dd5bbfb9e3 - Update documentation 2025-08-13 23:46:26 -06:00
Nate Harris
e391c3aa92 - Compare previous-current events to determine if non-invitee changes were made (notify non-added/removed attendees of event update) 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
e4b337d3ff
Merge pull request #1844 from pbiering/fix-1842-storagehooks
Fix 1842 storagehooks
2025-08-12 16:52:23 +02:00
Peter Bieringer
7bedca72e2 catch OS without flock 2025-08-12 16:48:04 +02:00
Peter Bieringer
91d4dc3ef1 make mypy happy 2025-08-12 16:42:06 +02:00
Peter Bieringer
258d4cc639 extend changelog 2025-08-12 16:16:39 +02:00
Peter Bieringer
97d30478c7 add tests for storage hook placeholders 2025-08-12 16:12:38 +02:00
Peter Bieringer
6a8f5f4a5b extend/adjust copyright 2025-08-12 16:12:15 +02:00
Peter Bieringer
19def4d561 add for write requests "path" where missing and "request" 2025-08-12 16:11:24 +02:00
Peter Bieringer
0c16f86bd4 default config: new placeholders 2025-08-12 16:10:32 +02:00