1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-07 18:30:54 +00:00
Commit graph

2092 commits

Author SHA1 Message Date
Peter Bieringer
6de7b3b8c9 add support for hook option "dryrun" 2025-07-22 20:58:40 +02:00
Peter Bieringer
fe175df9a2 add missing copyright header 2025-07-22 20:58:10 +02:00
Peter Bieringer
de384d5f4a add hook option "dryrun" 2025-07-22 20:56:43 +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
c553460365 (#1812) Test for the issue where non-recurring events are not included
in the response when requesting an expand report
2025-07-21 20:12:14 +03:00
Peter Bieringer
6c26f1f24f
Merge pull request #1832 from marschap/protect-search
LDAP auth: protect LDAP search with a try: .. except clause
2025-07-20 20:18:52 +02:00
Peter Bieringer
c84d09b4dc workaround for windows 2025-07-20 18:00:39 +02:00
Peter Marschall
be3d58c55d LDAP auth: protect LDAP search with a try: .. except clause
Make sure to catch exceptions when searching for the user in LDAP,
log as error and fail gracefully by declining login.
2025-07-20 17:59:31 +02:00
Peter Bieringer
48ae4d1d6e python < 3.11 support 2025-07-20 17:55:28 +02:00
Peter Bieringer
41ac453eb7 try applying timerange-filter on VCALENDAR entries 2025-07-20 17:50:07 +02:00
Peter Bieringer
18a61f209d catch time-filter on level 0 2025-07-20 17:50:07 +02:00
Peter Bieringer
b756e21c31 add some trace logging 2025-07-20 17:50:07 +02:00
Peter Bieringer
2209edfb88 add some trace log 2025-07-20 17:50:07 +02:00
Peter Bieringer
c8e42c7edc add test cases for filter without comp-filter 2025-07-20 17:50:07 +02:00
Peter Bieringer
802037cf22 add a function to format unixtime to string 2025-07-20 17:50:06 +02:00
Peter Bieringer
8d2a71557a make flake8 happy 2025-07-20 12:49:53 +02:00
Peter Bieringer
d050096bbb fix for https://github.com/Kozea/Radicale/issues/1826 2025-07-20 12:46:55 +02:00
Peter Bieringer
d5b589a572 show trace status on startup 2025-07-19 14:40:27 +02:00
Peter Bieringer
ef1c2b835f implement trace option 2025-07-19 14:40:12 +02:00
Peter Bieringer
02471b6c90 add trace options 2025-07-19 14:39:47 +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
3a6c72e93a pep fix 2025-07-17 16:34:38 +03:00
Georgiy
e94aa1e7cf Tests for comp-filters and not found events 2025-07-17 16:26:21 +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
Peter Bieringer
ee68e41b20
Merge pull request #1815 from lbt/issue1812
bugfix and tests for issue #1812
2025-07-10 22:05:50 +02:00
Peter Bieringer
f363918002 Fix: logging ignores not retrievable get_native_id if not supported by OS, fixes https://github.com/Kozea/Radicale/issues/1817 2025-07-08 18:02:41 +02: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
3f4f405554 Test for anti-DoS for expand
The only response from the server is a 400

Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-08 15:24:28 +01:00
David Greaves
61850d9b13 refactor _test_expand ready to support max_freebusy_occurrence
Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-08 15:06:09 +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
02be6419ae Currently passing tests
Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-06 15:16:32 +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