Commit Graph

96 Commits

Author SHA1 Message Date
Peter Bieringer
bef0727b94 cosmetics, fix mk* conflict incl. testcases 2026-03-05 21:04:38 +01:00
Peter Bieringer
f56612f208 call trace only on enabled debug 2026-02-24 08:19:51 +01:00
Peter Bieringer
51994bed00 sharing: add support for report 2026-02-24 08:19:51 +01:00
Peter Bieringer
f84321584f extend copyright 2026-02-22 12:53:21 +01:00
Peter Bieringer
ec67588541 use optional permissions filter 2026-02-22 12:53:10 +01:00
Georgiy
c4362b6392 Merge branch 'master' of github.com:metallerok/Radicale into recurrence_all_day_comparsion 2026-02-06 19:43:53 +03:00
Georgiy
296a90fc0c Merge branch 'master' of github.com:metallerok/Radicale into overridden_recurrence_validation 2026-02-05 19:30:50 +03:00
Georgiy
4e88cbbbc2 Merge branch 'master' of github.com:metallerok/Radicale into recurrence_all_day_comparsion 2026-02-04 19:34:52 +03:00
Georgiy
76d798ccd5 (#1979) test for overridden all day rrule event 2026-02-04 19:26:12 +03:00
Georgiy
859ca7f41d (#1979) Fix invalid RECURRENCE-ID comparsion for all-day events 2026-02-03 19:39:24 +03:00
Georgiy
10c750f6fa (#1966) overridden recurrence validation 2026-01-25 18:21:22 +03:00
Peter Bieringer
64f5e58549 add support for logging XML request conditionally for profiling 2025-12-10 18:09:04 +01:00
Peter Bieringer
7ebe5703ac log remote host+useragent on invalid sync token 2025-11-16 17:06:21 +01:00
Peter Bieringer
1c7ff414a9 extend app calls with remote host+useragent 2025-11-16 17:06:00 +01:00
Peter Bieringer
f9697eeda1 log user on invalid sync token 2025-11-16 16:06:53 +01:00
Peter Bieringer
4c0d216cb9 log path on invalid sync token 2025-11-16 15:50:05 +01:00
Peter Bieringer
3f74ab1cd3 do not log problematic sync token twice 2025-11-16 15:46:50 +01:00
Peter Bieringer
2899c677c1 revert improper PR#1839, finally fix #1812 and #1880 2025-09-24 21:31:27 +02:00
Georgiy
7ce41aee37 (#1845) Fix expanded item copying 2025-08-17 20:06:37 +03: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
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
Peter Bieringer
d1098c3e22 flake8 regression E261 2025-05-16 07:28:50 +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
Pieter Hijma
cfc1e94ad8 Expand taking timezone into account 2024-11-08 15:59:34 +01:00