Commit Graph

193 Commits

Author SHA1 Message Date
Max Berger
cdf9e62e0b expose server version via PROPFIND on root collection and display in the UI for authenticated users 2026-04-29 23:13:36 +02:00
Peter Bieringer
351ad693d2 user/path value check: adjust test cases 2026-04-23 06:13:32 +02:00
Peter Bieringer
9137f5bca4 test: add cases for user/path value check 2026-04-23 06:13:31 +02:00
Peter Bieringer
ad43feacb8 delay_on_error: remove trigger flag from environment 2026-04-03 07:28:29 +02:00
Peter Bieringer
d50479cefb server_delay_on_error: add test 2026-04-03 07:18:09 +02:00
Peter Bieringer
49db75dae8 delay and sharing/token: align+fix 2026-04-02 13:11:24 +02:00
Peter Bieringer
46c84d44b4 storage/get+discover: test for only add items not exceeding max-resource-size 2026-03-26 07:57:13 +01:00
Peter Bieringer
7fd6cde1fe disable delay for some tests 2026-03-07 16:22:29 +01:00
Peter Bieringer
ffc5184b11 sharing: add support for clearing properties, doc update, fixes 2026-03-07 07:54:37 +01:00
Peter Bieringer
2351f49ae4 add testcases 2026-01-22 21:36:07 +01:00
Peter Bieringer
02a6cd55e3 fix for lint 2026-01-22 06:35:12 +01:00
Peter Bieringer
a75e3ebdec Testcase for PR#1968 (MOVE with URL-encoded Destination header) 2026-01-22 06:30:38 +01:00
John Wiegley
1f76b08831 Add CardDAV supported-address-data, update vCards to 4.0 (#1948)
* Add CardDAV supported-address-data, update vCards to 4.0

- radicale/app/propfind.py: Add CS:getctag and CR:supported-address-data
  properties to VADDRESSBOOK collections in allprop responses; implement
  CR:supported-address-data handler that advertises vCard 4.0 as preferred
  format with 3.0 fallback per RFC 6352 section 6.2.2

- radicale/tests/static/contact1.vcf: Update from vCard 3.0 to 4.0 format

- radicale/tests/static/contact_multiple.vcf: Update both contact entries
  from vCard 3.0 to 4.0 format

- radicale/tests/static/contact_photo_with_data_uri.vcf: Update from vCard
  3.0 to 4.0 format; change PHOTO property from 3.0 syntax with ENCODING=b
  and TYPE parameters to 4.0 data URI syntax

* Conditionally offer vCard 4.0 based on vobject version

- Add vobject_supports_vcard4() helper function in utils.py
- Modify propfind.py to only advertise vCard 4.0 if vobject >= 1.0.0
- Add vCard 3.0 static test files for fallback testing
- Add tests for both vCard 3.0 and 4.0 contacts (v4 tests skipped if
  vobject < 1.0.0)
- Add propfind tests for CR:supported-address-data property

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Default vCard fixtures to v3.0, add explicit v4 files

- contact1.vcf: Change VERSION from 4.0 to 3.0 to make vCard 3.0 the default
  test fixture format, since vCard 3.0 is more widely supported

- contact1_v3.vcf: Delete file as contact1.vcf now serves as the v3.0 fixture

- contact1_v4.vcf: Add new file with VERSION 4.0 for explicit vCard 4.0
  testing with vobject >= 1.0.0

- contact_multiple.vcf: Change VERSION from 4.0 to 3.0 for both contacts to
  align with new default

- contact_multiple_v3.vcf: Delete file as contact_multiple.vcf now serves as
  the v3.0 fixture

- contact_multiple_v4.vcf: Add new file with VERSION 4.0 for both contacts

- contact_photo_with_data_uri.vcf: Change VERSION from 4.0 to 3.0 and update
  PHOTO property to use v3.0 format with ENCODING=b;TYPE=png parameters

- contact_photo_with_data_uri_v3.vcf: Delete file as
  contact_photo_with_data_uri.vcf now serves as the v3.0 fixture

- contact_photo_with_data_uri_v4.vcf: Add new file with VERSION 4.0 and v4.0
  PHOTO data URI format

- test_base.py: Update test methods to use renamed fixture files, with v3.0
  tests using default fixtures and v4.0 tests using explicit _v4.vcf files

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 16:28:10 +01:00
Peter Bieringer
81b3c28737 test RFC4791#5.2.5: SHOULD NOT be returned by a PROPFIND DAV:allprop request 2025-12-12 08:49:23 +01:00
Peter Bieringer
9a31087dfa add testcases for max-resource-size 2025-12-11 23:08:21 +01:00
Peter Bieringer
c3dfd5584d add test case for max-resource-size and getctag 2025-12-11 08:54:42 +01:00
Peter Bieringer
5b2cb5c0bf add new test cases for broken items 2025-12-01 18:52:20 +01:00
Peter Bieringer
85f1850b19 make flake8 happy 2025-11-16 17:03:59 +01:00
Peter Bieringer
91cee5e514 extend test with remote host+useragent 2025-11-16 17:02:31 +01:00
Peter Bieringer
3fecba62e7 fix comment 2025-11-16 16:22:20 +01:00
Peter Bieringer
b2320c607d test case for invalid-sync token with user 2025-11-16 16:07:13 +01:00
Peter Bieringer
ed849a7271 add support for optional arguments 2025-11-16 16:06:26 +01:00
Peter Bieringer
54bd8023b3 add additional etag related tests 2025-10-20 07:41:27 +02:00
Peter Bieringer
bd0d5038b3 cosmetics 2025-10-20 07:41:12 +02:00
Peter Bieringer
8ef8b767f3 strict_preconditions: new config option / test cases 2025-10-19 18:56:23 +02:00
Peter Bieringer
7f28f69452 extend test for items having tzinfo only on dtstart or dtend set for whatever reason, overtake tzinfo from the other one 2025-08-22 07:51:15 +02:00
Peter Bieringer
c8e42c7edc add test cases for filter without comp-filter 2025-07-20 17:50:07 +02:00
Peter Bieringer
d1098c3e22 flake8 regression E261 2025-05-16 07:28:50 +02:00
Peter Bieringer
198131bb9a add test cases for valarm 2025-05-16 06:33:02 +02:00
Peter Bieringer
9e1cac98dc make isort happy 2025-05-16 06:31:39 +02:00
Peter Bieringer
ec391e19b6 add logging around upload 2025-05-16 06:30:27 +02:00
Peter Bieringer
e144ecf06b fix testcases related to https://github.com/Kozea/Radicale/issues/1765 2025-04-22 21:32:13 +02:00
Peter Bieringer
0ef93a9c8a update copyright 2025-04-22 21:31:25 +02:00
Peter Bieringer
8382ee1223 add test case for https://github.com/Kozea/Radicale/issues/1760 2025-04-21 22:19:25 +02:00
Peter Bieringer
be43ce5161 change default of authentication type to "denyall" for secure-by-default 2025-03-15 14:34:51 +01:00
Peter Bieringer
b85c0758d8 extend copyright 2024-12-05 08:14:21 +01:00
Peter Bieringer
3232b34392 fix-issue-1635: add test case 2024-12-05 08:14:06 +01:00
Pieter Hijma
b0d1ccc0f6 Factor expand tests out of base 2024-11-07 21:01:56 +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
ba9776d688 change default, remove leftover 2024-09-30 21:43:50 +02:00
Peter Bieringer
eed6bcee01 add collection rights for dedicated test cases 2024-09-30 21:33:29 +02:00
Peter Bieringer
e0594d5b33 permit_overwrite_collection doc + rights + test cases 2024-09-30 21:26:24 +02:00
Peter Bieringer
d41aa60d61 cosmetics 2024-09-30 21:26:24 +02:00
Peter Bieringer
72e4c4fadd add explicit permit/forbid test cases 2024-09-30 21:14:29 +02:00
Peter Bieringer
4ef5cad20f add test case 2024-09-29 18:10:53 +02:00
Peter Bieringer
a449d8774b enforce default for tests 2024-09-29 18:10: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