Commit Graph

380 Commits

Author SHA1 Message Date
Max Berger
a01e69997e Add missing copyright for files changed by Max Berger 2026-03-08 21:57:33 +01:00
Peter Bieringer
69fd1f1073 sharing: additonal test cases 2026-03-08 12:19:04 +01:00
Peter Bieringer
d7bedcb20f sharing: add testcases for property overlay management 2026-03-08 08:48:03 +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
6c1af39dff sharing: review logging, doc/test cosmetics/fixes 2026-03-07 05:53:01 +01:00
Peter Bieringer
7878e612fb sharing: text/info fix and log cosmetics 2026-03-06 07:02:00 +01:00
Peter Bieringer
6a53b409d7 sharing: text/plain provides now also Fields in output, doc update 2026-03-06 05:55:58 +01:00
Peter Bieringer
46780a48b0 sharing: fixes, doc update, alignment 2026-03-05 22:22:46 +01:00
Peter Bieringer
6070fe67da sharing: cosmetics, check existence of collection before create 2026-03-05 21:31:32 +01:00
Peter Bieringer
bef0727b94 cosmetics, fix mk* conflict incl. testcases 2026-03-05 21:04:38 +01:00
Peter Bieringer
6848e852ca proper quote text/plain output 2026-03-05 21:04:38 +01:00
Max Berger
08d35d97f2 Add actual state of PermittedCreateCollectionByMap and PermittedCreateCollectionByToken in info response 2026-03-03 22:54:42 +01:00
Peter Bieringer
3bb333a1a7 cosmetics 2026-03-03 19:47:36 +01:00
Peter Bieringer
ac4ff709d7 sharing: review create, check handling of boolean, update doc 2026-03-03 19:47:36 +01:00
Peter Bieringer
c74365cd8a sharing: review enable/disable/hide/unhide API 2026-03-03 19:47:36 +01:00
Peter Bieringer
3267cc5228 review update+delete 2026-03-03 19:47:36 +01:00
Peter Bieringer
8a03ba1560 sharing/tests: additional permission tests 2026-03-01 08:23:34 +01:00
Peter Bieringer
3d854c4edc sharing/tests: code optimization 2026-03-01 06:38:24 +01:00
Peter Bieringer
a238b67613 sharing/test: select proper propfind xml 2026-03-01 06:04:40 +01:00
Peter Bieringer
d81c0f33e0 sharing: add testcase for dedicated csv file 2026-02-28 22:10:43 +01:00
Peter Bieringer
51fb882cab sharing: properties overlay by proppatch 2026-02-28 22:10:01 +01:00
Peter Bieringer
1da11f338b sharing/test: properties overlay 2026-02-28 07:41:36 +01:00
Peter Bieringer
68e5ad07be sharing/test: csv separator change 2026-02-28 07:40:10 +01:00
Peter Bieringer
3efd405382 sharing/test: per db extension 2026-02-28 07:39:42 +01:00
Peter Bieringer
fae972d25c sharing/test: code cleanup 2026-02-28 07:37:58 +01:00
Peter Bieringer
e46f4bc0c8 sharing: add property overlay tests 2026-02-27 08:28:33 +01:00
Peter Bieringer
67b8cea5ba sharing: rename test 2026-02-27 08:28:12 +01:00
Peter Bieringer
48e4cc6380 next uc/lc fix 2026-02-26 09:02:49 +01:00
Peter Bieringer
4e00c7567f align rights file content 2026-02-26 08:52:58 +01:00
Peter Bieringer
35a21b1941 fix testcase directories for windows 2026-02-26 08:48:26 +01:00
Peter Bieringer
a0c893839a sharing: tests for global and conditional permissions support 2026-02-26 08:15:21 +01:00
Peter Bieringer
b1dbae274e sharing: adjust apiversion testcase 2026-02-24 21:08:15 +01:00
Peter Bieringer
d064a51f54 sharing: add tests 2026-02-24 08:19:51 +01:00
Peter Bieringer
3f66e9b76c add options for content-type and accept 2026-02-22 16:20:15 +01: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
Tobias Brox
0388051046 Fix unclosed scandir iterator in path_to_filesystem
Use os.scandir() as a context manager to ensure the iterator is
properly closed. This fixes ResourceWarning: unclosed scandir iterator
that occurs when the iterator is garbage collected without being closed.

Fixes #1972

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 17:02:14 +01:00
Peter Bieringer
2351f49ae4 add testcases 2026-01-22 21:36:07 +01:00
Peter Bieringer
fa38e25468 add files for testcase 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
Peter Bieringer
373ffaed2e add htpasswd test cases for SHA256/512 with explicit rounds 2026-01-08 05:38:21 +01:00
Peter Bieringer
f676dd7621 cosmetics 2026-01-06 17:41:35 +01:00
Peter Bieringer
3eb5f32d3d update copyright year 2026-01-06 17:34:43 +01:00
Peter Bieringer
27eedc098d skip bcrypt tests if not usable 2026-01-06 17:34:26 +01:00
Peter Bieringer
e2532ff2a7 display module versions on test start 2026-01-06 17:34:04 +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