Commit Graph

85 Commits

Author SHA1 Message Date
TowyTowy
e557c0cd5e Fix: time-range filter matches VEVENT with whole-day DURATION
A calendar-query REPORT with a time-range filter failed to return a
VEVENT that has a whole-day DURATION (e.g. DURATION:P1D or P2D) whenever
the queried range fell inside the event but after DTSTART.

The VEVENT time-range logic in radicale/item/filter.py gated the
"non-zero duration" branch (rfc4791-9.9 line 2) on timedelta.seconds
instead of timedelta.total_seconds(). For a duration that is an exact
multiple of 24h, timedelta.seconds is 0 (the days component holds the
value), so the event was treated as zero-length (line 3) and only
matched a one-second window at its start. An identical event expressed
with DTEND matched correctly, confirming the defect is isolated to the
DURATION path.

Use total_seconds() so multi-day durations are handled correctly. Adds a
regression test (event11, DURATION:P2D) covering both an inside-range
match and an outside-range non-match.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 15:58:39 +02:00
Peter Bieringer
21ad7466c5 Release 3.7.6 2026-07-07 07:23:17 +02:00
Peter Bieringer
e3301753f9 Development 3.7.6.dev 2026-06-19 05:44:24 +02:00
Peter Bieringer
23b19b92be Release 3.7.5 2026-06-14 09:20:08 +02:00
Max Berger
c3f533e350 Upgrade to html5validator-2
See https://pypi.org/project/html5validator-2/ vs
https://pypi.org/project/html5validator/

This is by the same maintainer as the github action used in the
workflow.

It also supports css color-scheme, which has recently been added
to support dark mode.
2026-05-30 21:06:38 +02:00
Peter Bieringer
39ad100a64 Development 3.7.5 2026-05-28 21:51:24 +02:00
Peter Bieringer
5637847324 Release 3.7.4 2026-05-28 20:56:38 +02:00
Peter Bieringer
0fc711d8a8 add Python 3.14 to list 2026-05-28 20:56:14 +02:00
Peter Bieringer
4fa6ffe82e Development 3.7.4.dev 2026-05-15 07:39:05 +02:00
Peter Bieringer
3888e7d958 Release 3.7.3 2026-05-14 07:55:51 +02:00
Peter Bieringer
94de65498b Development 3.7.3 2026-04-30 07:29:13 +02:00
Peter Bieringer
98d9257b84 Release 3.7.2 2026-04-29 19:22:41 +02:00
Peter Bieringer
56724496d2 vfat/utf-8 cosmetics 2026-04-23 08:32:08 +02:00
Peter Bieringer
df48309cd3 add test for vfat+utf8 2026-04-23 06:13:32 +02:00
Peter Bieringer
6468c0031c test/hfs: remove dedicated ubuntu case 2026-04-19 11:58:59 +02:00
Peter Bieringer
bfb2b60c07 test: add new for hfs (supporting Ubuntu), fix umask for ntfs 2026-04-19 11:58:59 +02:00
Peter Bieringer
7c4005cbf4 tox: add 3 optional test cases to test using Linux OS: vfat, hfsplus, ntfs (requires sudo and filesystem tools) 2026-04-19 11:58:59 +02:00
Henning Schild
a59f05e153 setup: drop leftover dependency "packaging"
Fixes: 6690e9e3ca ("radicale/utils: drop bcrypt compat check")

Signed-off-by: Henning Schild <henning@hennsch.de>
2026-04-15 12:09:56 +02:00
Henning Schild
6690e9e3ca radicale/utils: drop bcrypt compat check
We now support passlib and bcrypt5 so the test can be dropped.

Related-to: #1980
Signed-off-by: Henning Schild <henning@hennsch.de>
2026-04-14 19:13:44 +02:00
Peter Bieringer
d48ebe25d0 3.7.2.dev 2026-04-12 07:46:28 +02:00
Peter Bieringer
79e68bf882 Release 3.7.1 2026-04-12 07:02:57 +02:00
Peter Bieringer
19302a6aab tox: change test sequence 2026-04-11 17:04:29 +02:00
Peter Bieringer
d6dfc9834e log: add additional log level test cases 2026-04-08 21:49:55 +02:00
Peter Bieringer
23d8f66a30 tests: extend with additional info-only log levels 2026-04-05 16:17:52 +02:00
Peter Bieringer
c57071525f Development 3.7.1 2026-04-05 09:56:02 +02:00
Peter Bieringer
e7411a7d11 Release 3.7.0 2026-04-05 08:36:59 +02:00
Max Berger
41bf3a4caa Run HTML/CSS validator in Tox/Github 2026-03-29 12:40:27 +02:00
Max Berger
32a38e8802 Proper install of playwright for TOX invocations 2026-03-28 09:29:55 +01:00
Max Berger
713af4d6e5 Run integ tests as part of tox 2026-03-26 22:31:54 +01:00
Max Berger
0065fa811c Move JavaScript files into subdirectories 2026-03-08 22:46:40 +01:00
Max Berger
b7bc0538d2 Add UI for share by token 2026-03-02 20:58:58 +01:00
Peter Bieringer
852d4a4040 Development 3.7.0 2026-02-24 08:19:18 +01:00
Peter Bieringer
27cc9babd6 Release 3.6.1 2026-02-24 07:32:59 +01:00
Peter Bieringer
5a0bb83eef fix for https://github.com/Kozea/Radicale/issues/1994 forgotten by https://github.com/Kozea/Radicale/pull/1989 2026-02-24 07:11:24 +01:00
Max Berger
fda0f5a5a3 Added basic integration tests focussing on javascript 2026-02-18 23:15:23 +01:00
Peter Bieringer
4fb16727f0 add note about dependency adjustments 2026-01-19 07:40:36 +01:00
Peter Bieringer
d553756238 prepare 3.6.1.dev 2026-01-19 07:29:09 +01:00
Peter Bieringer
22a71c4290 Release 3.6.0 2026-01-10 07:52:03 +01:00
Peter Bieringer
184a4491d8 add missing dependency "packaging" 2026-01-07 07:16:26 +01:00
Peter Bieringer
9b9f90c51d bump dev version to 3.6.0 because of dependency change of passlib->libpass 2026-01-06 12:11:36 +01:00
Peter Bieringer
4b007aa0c9 replace passlib with libpass 2026-01-05 07:28:24 +01:00
Peter Bieringer
f1a150e8f3 3.5.11.dev prep 2025-12-26 07:54:08 +01:00
Peter Bieringer
ec00783239 Release 3.5.10 2025-12-18 08:01:15 +01:00
Peter Bieringer
6c496b8021 3.5.10.dev 2025-12-01 18:47:00 +01:00
Peter Bieringer
ebe95ec2ff Release 3.5.9 2025-11-29 15:33:06 +01:00
Peter Bieringer
e9cef4e265 prep 3.5.9.dev 2025-11-09 06:13:33 +01:00
Peter Bieringer
045370571e release 3.5.8 2025-11-06 06:29:21 +01:00
Peter Bieringer
0648f417b1 3.5.8.dev 2025-09-28 20:25:17 +02:00
Peter Bieringer
1c323197de update version 2025-09-27 08:16:00 +02:00
Peter Bieringer
4b2e63dafe prepare 3.5.7.dev 2025-09-24 06:24:31 +02:00