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

69 commits

Author SHA1 Message Date
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
Pieter Hijma
2d5dc5186b Expand overridden recurring events 2024-11-07 21:01:11 +01:00
Pieter Hijma
74f4412761 Honor start and end times expand 2024-11-07 15:36:16 +01:00
Peter Bieringer
59c638461b Fix: only expand VEVENT on REPORT request 2024-10-12 07:25:29 +02:00
Ray
408a03a3c0 Better freebusy occurrence limit handling and added documentation 2024-08-16 14:57:30 -06:00
ray-react0r
3cba4b32a3
Merge branch 'master' into react0r 2024-08-15 15:07:49 -06:00
Ray
d6c0a05771 Style fixes for tox linting 2024-08-14 11:15:30 -06:00
Ray
29b7cd8d54 Fix for free-busy fbtype statuses 2024-08-14 05:43:53 -06:00
Ray
b0f131cac2 Improve free-busy report 2024-08-14 05:43:53 -06:00
Ray
4c1d295e81 Fix bug in free busy report serializing a datetime tzinfo 2024-08-14 05:43:53 -06:00
Ray
7b0d88ff0d Add basic free-busy report 2024-08-14 05:43:53 -06:00
Mathieu Dupuy
47bc966a13
fix misspellings 2024-07-24 12:29:13 +02:00
Georgiy
63db0483d0 (#1485) If an event comes with a dtstart specified as a date then in the response we return the date 2024-06-02 10:40:35 +03:00
Georgiy
7d39354c37 mypy check fix 2024-05-29 16:42:49 +03:00
Georgiy
acf65e9d6a (#1485) Fix processing all day expanded events 2024-05-29 16:33:54 +03:00
Georgiy
f0e21b14c2 validation fixes 2024-04-06 11:02:40 +03:00
Peter Bieringer
06a95d7597 fix according to isort report 2024-04-06 07:30:07 +02:00
Georgiy
4e4af2aca5 pep8 fix 2024-04-05 11:35:53 +03:00
Georgiy
d1da63569b Fix setting recurrence-id for expanded items. test for report with expand
finished
2024-04-01 19:54:25 +03:00
Georgiy
513415d201 start creating test for rrule expand property, fix expand processing 2024-04-01 19:27:59 +03:00
Georgiy
513e04e636 all expanded components has the same view 2023-03-31 12:00:59 +03:00
Georgiy
72103c30c2 recurring events brought to rfc4791 2023-03-30 23:13:00 +03:00
Georgiy
a07813ecc9 fix variables naming, fix recurrence element duplication 2023-03-30 19:43:15 +03:00
Georgiy
ae731290c1 processing expand property for REPORT 2023-03-30 19:30:59 +03:00
Unrud
bbaf0ebd8c Change name in file header 2021-12-09 16:55:46 +01:00
Unrud
cecb17df03 More type hints 2021-09-26 22:24:45 +02:00
Unrud
0b3e4204a5 Cosmetics 2020-10-04 10:14:57 +02:00
Unrud
d48bacc8e3 Improve log messages
Log failed login attempts with remote host as warning (closes #1104)
Add component UID to log message about invalid recurrence rules (reference #602)
Use "forwarded for" instead of "forwarded by" for remote host
2020-09-26 22:08:23 +02:00