Peter Bieringer
67dbf8b3c6
max_expand_occurrence: additional test cases
2026-08-01 18:56:37 +02:00
Peter Bieringer
4a4e571cce
Add: [report] max_expand_occurrence option to separate from max_freebusy_occurrence
2026-08-01 18:52:08 +02:00
TowyTowy
a7da8ddd4b
tests: guard REPORT response type to satisfy mypy
...
Assert the response is a dict before indexing, matching the existing
pattern used elsewhere in test_expand.py, so the Lint (mypy) job passes.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-07-13 13:00:41 +02:00
TowyTowy
9d46d5b63d
Fix: expand REPORT leaves recurrence properties on expanded instances
...
_strip_single_event() removed the recurrence-defining properties (RRULE,
EXDATE, EXRULE, RDATE) with a single try/except around sequential
delattr() calls. When one of them was absent (e.g. an event with no
EXDATE), the AttributeError aborted the whole block and the following
properties -- notably RDATE -- were left on the expanded
single-occurrence VEVENTs returned by a calendar-data expand REPORT.
Remove each property independently so a missing one no longer prevents
removal of the others. Add a regression test and fixture.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-07-12 22:30:47 +02: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
0493a88190
( #1966 ) Test for incompatible overridding RECURRENCE-ID dt type
2026-02-05 19:58:32 +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
Peter Bieringer
d83f9fe29d
extend copyright related to https://github.com/Kozea/Radicale/pull/1883
2025-09-26 07:53:28 +02:00
Peter Bieringer
7604d44701
make flake8 happy
2025-09-24 21:36:33 +02:00
Peter Bieringer
77e7745f93
make mypy happy
2025-09-24 21:30:06 +02:00
Peter Bieringer
ec9ef124ff
add new test cases for #1880 and #1812
2025-09-24 21:17:37 +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
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
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
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
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
David Greaves
02be6419ae
Currently passing tests
...
Signed-off-by: David Greaves <david@dgreaves.com >
2025-07-06 15:16:32 +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
Pieter Hijma
cfc1e94ad8
Expand taking timezone into account
2024-11-08 15:59:34 +01:00
Pieter Hijma
6a6fec5bdd
Refactor test_expand
2024-11-07 21:02:19 +01:00
Pieter Hijma
b0d1ccc0f6
Factor expand tests out of base
2024-11-07 21:01:56 +01:00