1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-10-15 21:51:57 +00:00
Commit graph

216 commits

Author SHA1 Message Date
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
Peter Bieringer
7b4da3a128 detect called by reverse proxy 2025-03-02 09:05:41 +01:00
Peter Bieringer
c6bd129fa2 script_name: config check 2025-03-02 09:05:12 +01:00
Peter Bieringer
a62da71aa2 fix loglevel 2025-02-11 16:44:30 +01:00
Peter Bieringer
67bbc9a31b catch os error 2025-02-11 16:42:45 +01:00
Peter Bieringer
dc83c6d7d0 extend copyright 2025-02-11 16:42:45 +01:00
Peter Bieringer
484616f363 catch os error 2025-02-11 16:42:45 +01:00
Peter Bieringer
718089e3bf extend copyright 2025-02-11 16:42:45 +01:00
Peter Bieringer
b078a8f002 catch os errors 2025-02-11 16:42:45 +01:00
Peter Bieringer
fde0ecb9b2 change loglevel 2025-02-11 16:42:45 +01:00
Peter Bieringer
803763729a extend copyright 2025-02-11 16:42:45 +01:00