1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-04 18:22:26 +00:00
Commit graph

3178 commits

Author SHA1 Message Date
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
Peter Bieringer
72002958cc
Merge pull request #1821 from lbt/issue1820
Guard against entries with no vevent_list in the vobject - thank you for this quick fix
2025-07-13 21:01:44 +02: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
b61ab9d886 Changelog for https://github.com/Kozea/Radicale/pull/1815 2025-07-10 22:08:26 +02: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
a957871928
Merge pull request #1819 from pbiering/fix-1817
Fix for 1817
2025-07-08 18:07:59 +02:00
Peter Bieringer
7a2a3f4d01 Changelog for fix for https://github.com/Kozea/Radicale/issues/1817 2025-07-08 18:03:08 +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
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
David Greaves
01bcc7d009 add test for specific ics and query in issue#1812
Signed-off-by: David Greaves <david@dgreaves.com>
2025-07-06 15:16:31 +01:00
David Greaves
db646d4b24 add tests for issue #1812
A report should include:
* An expanded event with an expand start inside a recurring event
* An expanded event with an expand start and end inside a recurring event

Signed-off-by: David Greaves <david@dgreaves.com>
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
18710d9a27 changelog for https://github.com/Kozea/Radicale/pull/1808 2025-07-04 07:51:15 +02:00
Peter Bieringer
21c67d0c22
Merge pull request #1808 from nwithan8/email
Add email notification hook
2025-07-04 07:28:27 +02:00
Nate Harris
35c43a2e42 - Specify min version for email hook 2025-07-03 14:37:23 -06:00
Nate Harris
05498296e1
Merge branch 'master' into email 2025-07-03 14:34:39 -06:00
Peter Bieringer
1c97345fc9
Merge pull request #1814 from pbiering/improve-writeability-check-on-startup
Improve writeability check on startup
2025-06-29 21:15:45 +02:00
Peter Bieringer
83270efeae cosmetics 2025-06-29 21:09:10 +02:00
Peter Bieringer
1aa612780d extend changelog 2025-06-29 21:05:18 +02:00
Peter Bieringer
8382ab7f93 display platform on startup 2025-06-29 20:00:18 +02:00
Peter Bieringer
e17ef37c42 remove no longer required import 2025-06-29 20:00:03 +02:00
Peter Bieringer
56e084f74c fix for windows 2025-06-29 19:53:33 +02:00
Peter Bieringer
a4698a4475 catch next windows related issue 2025-06-29 09:35:47 +02:00
Peter Bieringer
d09c4e0819 next windows case 2025-06-29 08:50:20 +02:00
Peter Bieringer
070a022b90 fix windows case 2025-06-29 08:48:47 +02:00
Nate Harris
ce9b2cf5d2 - Add support for local SMTP
- Ignore venv in flake8
2025-06-29 00:47:26 -06:00
Peter Bieringer
995eeaf2d0 extend copyright 2025-06-29 08:35:52 +02:00