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

226 commits

Author SHA1 Message Date
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 Bieringer
8e4447e95b conditional log level for base_prefix strip action 2025-08-22 08:49:24 +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
Georgiy
7ce41aee37 (#1845) Fix expanded item copying 2025-08-17 20:06:37 +03: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
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
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
80bd41c97e fix-1812-etag 2025-07-31 18:54:28 +02:00
Peter Bieringer
a824ae6c14
Merge pull request #1834 from metallerok/1812_test_specific_event
Fixed an issue where non-recurring events were not included in  the response when requesting an expand report
2025-07-22 18:59:06 +02:00
Georgiy
7cd918d036 (#1812) Fixed an issue where non-recurring events were not included in
the response when requesting an expand report
2025-07-21 20:58:58 +03:00
Peter Bieringer
407d33b623 replace 2x with DT_FORMAT_TIMESTAMP 2025-07-21 19:43:38 +02:00
Peter Bieringer
009d8e4e17 fix for Expanded event with dates are missing VALUE=DATE 2025-07-21 19:41:18 +02:00
Peter Bieringer
878c9ea193 extend log message found via https://github.com/Kozea/Radicale/issues/1823 2025-07-21 19:38:15 +02:00
Georgiy
2c4cd32132 Fixed extraction of time-range filter from request when processing
expand property
2025-07-18 16:37:49 +03:00
Georgiy
76188c210e Revert time_range processing 2025-07-17 09:03:55 +03:00
Georgiy
40217a1360 Return empty REPORT response if no items found 2025-07-16 23:26:40 +03:00
Georgiy
a76f80a620 Separate time-range filter only for VEVENT component 2025-07-16 22:31:58 +03:00
Georgiy
68f8d61bde Skip items with no events after expansion to prevent empty
<C:calendar-data/> in responses. Enhance component filtering
2025-07-14 18:23:28 +03:00
David Greaves
a1280dc17c Guard against entries with no vevent_list in the vobject
Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-13 18:34:01 +01:00
David Greaves
83a7853405 add test_report_with_max_occur and fix vevent count issue found
Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-08 16:09:28 +01:00
David Greaves
fbc3abc48d support max_occurence anti-DoS in xml_report for vevent expansion
Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-08 14:59:56 +01:00
David Greaves
a26bfaa08a Add copyright for contributors
Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-07 14:09:15 +01:00
David Greaves
ce0aaffa86 fix typing and lint issues from tox
Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-07 08:54:04 +01:00
Georgiy
2a304259fe (#1812) Processing exdates. Duration handling. Return empty element if
all events was filtered

Author:    Georgiy <metallerok@gmail.com>
2025-07-07 08:53:57 +01:00
David Greaves
27fe8f1d63 Don't add the recurrence event here as we're expanding.
This fixes test_report_with_expand_property_timezone

Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-06 15:16:32 +01:00
David Greaves
5c2e6377a2 Don't limit expansion range using EXDATE
Any EXDATE values specify single instances that must be removed from
the expanded set of DTSTART values

Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-06 15:16:32 +01:00
David Greaves
ec3366496e fixes tests where range starts inside an event
test_report_with_expand_property_start_inside
test_report_with_expand_property_just_inside

Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-06 15:16:32 +01:00
David Greaves
056954387d fixes test_report_with_expand_property_all_day_event
Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-06 15:16:31 +01:00
David Greaves
feb3daf251 Find events which are in progress at the start of an expand range
Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-06 15:16:31 +01:00
David Greaves
24b91e9569 Remove the Filtering non-recurring events by time-range logic
The tests pass 100% without this code and attempting to pre-filter
these events here is quite complex and throws up test failures in
multiple locations.

Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-06 15:16:31 +01:00
David Greaves
3afdc73bc6 The item's rrule and time_range are in the vobject_item
Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-06 15:16:31 +01:00
Georgiy
371d5057de (#1812) Filtering events with a full set of filters if there is no
expand property. If there is an expand, then apply "filter (except time
range) -> expand -> filter (only time range)" approach
2025-07-06 15:16:31 +01:00
Georgiy
26215dbdbc (#1812) Fix typos 2025-07-06 15:16:31 +01:00
Georgiy
097360139a (#1812) Refactored _expand function to process overridden VEVENTs and
support EXDATE for recurrence filtering. Added temporary workaround to
return base vevent_recurrence when filtered_vevents is empty to avoid
'list index out of range' error
2025-07-06 15:16:31 +01:00
Georgiy
9d591bd514 (#1812) Work on expand events time-range filter processing 2025-07-06 15:16:31 +01:00
Nate Harris
4108a5702d - Address isort and flake8 issues 2025-06-24 23:27:21 -06:00
Nate Harris
418c95caad - Fix bad constructor 2025-06-24 23:23:07 -06:00
Nate Harris
e744a4f0a3 - Fix mypy warnings 2025-06-24 23:17:59 -06:00
Nate Harris
71f8833f4d - Add email hook 2025-06-19 02:15:45 -06:00
Peter Bieringer
d1098c3e22 flake8 regression E261 2025-05-16 07:28:50 +02:00
Peter Bieringer
8837a61bce catch error on item.prepare in case of collection upload 2025-04-29 20:57:31 +02:00
Peter Bieringer
12714cd25c fix for https://github.com/Kozea/Radicale/issues/1765 2025-04-22 21:31:59 +02:00
Peter Bieringer
e907e90119 fix a typo 2025-04-10 05:44:35 +02:00
Peter Bieringer
f41533cca7 fix for https://github.com/Kozea/Radicale/issues/1515 2025-03-29 08:38:16 +01:00
Peter Bieringer
393a26814b extend copyright 2025-03-29 08:37:57 +01:00
Peter Bieringer
fb986ea02e fix for flake8 2025-03-27 08:30:22 +01:00
Peter Bieringer
914320826f extend request log with HTTPS info 2025-03-08 16:50:35 +01:00
Peter Bieringer
280968e694 remove base prefix from path (required for proper handling if called by reverse proxy) 2025-03-02 09:06:30 +01:00