Commit Graph

3519 Commits

Author SHA1 Message Date
Samuel Tardieu
8ace7878a1 fix misindented early return
The wrong indentation could cause the mail hook to bail early without
any logging when the end time of the event being added/modified happened
later than the current boundary being checked (1 full minute before the
current time).

For example, this caused emails not to be sent in the following setup:
Etar + DAVx⁵ on Android.
2026-01-03 15:43:57 +01:00
Peter Bieringer
7eaec103eb changelog for https://github.com/Kozea/Radicale/pull/1948 2026-01-02 07:40:34 +01:00
Peter Bieringer
e90ac33f29 Merge pull request #1950 from kalsi-avneet/topic/docker-compose
Create docker compose file and modify documentation
2026-01-01 18:53:56 +01:00
kalsi-avneet
b58528529b Docker - documentation for installing Radicale via docker compose 2026-01-01 22:02:13 +05:30
kalsi-avneet
d2ead76c18 Docker - add compose file 2026-01-01 21:38:08 +05:30
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
a7350af005 Merge pull request #1946 from pbiering/add-item-verification-hexdump-checksum
Minor extensions
2025-12-28 13:46:19 +01:00
Peter Bieringer
17a3816e91 add comment, code review 2025-12-28 13:12:41 +01:00
Peter Bieringer
b60718a21b extend content output for verify-item 2025-12-28 12:39:39 +01:00
Peter Bieringer
bab630a728 remove normal hexdump output 2025-12-28 12:39:25 +01:00
Peter Bieringer
9801cca9d9 fix detection of unicode + hexdump header 2025-12-28 12:38:59 +01:00
Peter Bieringer
63d7229773 extend doc related to command line args 2025-12-28 09:25:38 +01:00
Peter Bieringer
1b82b89109 extend for new option 2025-12-28 09:15:13 +01:00
Peter Bieringer
baacba191b adjust/extend copyright 2025-12-28 09:13:18 +01:00
Peter Bieringer
fdcd3e2deb fix tox issues 2025-12-28 09:13:07 +01:00
Peter Bieringer
680bce2cf0 related to debug log extension 2025-12-28 08:12:41 +01:00
Peter Bieringer
7e1890d630 request log: add checksum on debug level, call expensive debug only on debug level 2025-12-28 08:09:35 +01:00
Peter Bieringer
22d253c95a log_bad_put_request_content: log hexdump of request on debug level 2025-12-28 08:09:35 +01:00
Peter Bieringer
76abfe719b only call expensive debug logging on debug level 2025-12-28 08:09:35 +01:00
Peter Bieringer
6bd7a5b5e3 add checksum and hexdump support 2025-12-28 08:09:35 +01:00
Peter Bieringer
99ee86c6a4 changelog for 22f6570af5 2025-12-26 07:56:12 +01:00
Peter Bieringer
22f6570af5 logwatch extension+review 2025-12-26 07:55:23 +01:00
Peter Bieringer
f1a150e8f3 3.5.11.dev prep 2025-12-26 07:54:08 +01:00
Peter Bieringer
f59189860c Merge pull request #1944 from kalsi-avneet/topic/docker-stable-tags
Docker publish workflow: Add stable, major, and minor tags
2025-12-21 19:45:10 +01:00
kalsi-avneet
adce04e947 Docker publish workflow: Add stable, major, and minor tags
For every release, add the following tags:
    1. "stable" - The latest stable release can be obtained using this tag
    2. major and minor

  The "latest" tag remains as-is. It will always point to the latest image (stable or otherwise)
2025-12-21 21:23:09 +05:30
Peter Bieringer
8b20490be0 cosmetics 2025-12-18 08:06:52 +01:00
Peter Bieringer
ec00783239 Release 3.5.10 2025-12-18 08:01:15 +01:00
Peter Bieringer
61136c1e7a log max_connections on startup 2025-12-17 08:41:01 +01:00
Peter Bieringer
af9ead9188 analyse two more xml tokens 2025-12-17 08:31:13 +01:00
Peter Bieringer
cbece4f276 catch 2 more xml tokens 2025-12-17 08:31:08 +01:00
Peter Bieringer
e64039e692 Merge pull request #1939 from pbiering/startup-log-cosmetics
Startup log cosmetics
2025-12-13 08:47:52 +01:00
Peter Bieringer
cf98ef0b4a rename function and fix type 2025-12-13 08:06:58 +01:00
Peter Bieringer
c73a53d815 remove copy-paste overhead 2025-12-13 08:06:44 +01:00
Peter Bieringer
690914e49f add unit 2025-12-13 08:00:06 +01:00
Peter Bieringer
b8ed32f3ee log max-content-length on startup, add formatted int to raw values 2025-12-13 07:59:28 +01:00
Peter Bieringer
2411b63852 add function for calculating units for integers 2025-12-13 07:59:02 +01:00
Peter Bieringer
3212281cc2 Merge pull request #1938 from pbiering/add-propfind_max_resource_size
Add propfind max resource size support for PROPFIND and PUT
2025-12-12 18:20:16 +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
a7e9521b38 honor RFC4791#5.2.5: SHOULD NOT be returned by a PROPFIND DAV:allprop request 2025-12-12 08:49:13 +01:00
Peter Bieringer
c1f39d24f7 add new test ics 2025-12-11 23:14:08 +01:00
Peter Bieringer
e444454b84 extend changelog 2025-12-11 23:12:02 +01:00
Peter Bieringer
9a31087dfa add testcases for max-resource-size 2025-12-11 23:08:21 +01:00
Peter Bieringer
edd6195b6b add support for max-resource-size check on PUT 2025-12-11 23:07:58 +01:00
Peter Bieringer
e1b0721f9e change to dedicated option for propfind/max_resource_size 2025-12-11 22:55:41 +01:00
Peter Bieringer
bc2a14481f add new option max_resource_size 2025-12-11 22:53:02 +01:00
Peter Bieringer
e66d83cd84 add explanation to default value 2025-12-11 22:50:35 +01:00
Peter Bieringer
b51dcccd19 improve type specification 2025-12-11 22:44:19 +01:00
Peter Bieringer
ebdd3aac70 changelog for add support for max-resource-size using max-content-length 2025-12-11 09:00:49 +01:00
Peter Bieringer
6e3b277ff5 reduce to 80% for base64 coverage 2025-12-11 08:59:44 +01:00
Peter Bieringer
c3dfd5584d add test case for max-resource-size and getctag 2025-12-11 08:54:42 +01:00