Radicale 3.9.1__tar.gz → 3.9.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {radicale-3.9.1 → radicale-3.9.3}/CHANGELOG.md +63 -0
- {radicale-3.9.1 → radicale-3.9.3}/DOCUMENTATION.md +353 -31
- {radicale-3.9.1 → radicale-3.9.3}/PKG-INFO +9 -4
- {radicale-3.9.1 → radicale-3.9.3}/README.md +2 -0
- {radicale-3.9.1 → radicale-3.9.3}/Radicale.egg-info/PKG-INFO +9 -4
- {radicale-3.9.1 → radicale-3.9.3}/Radicale.egg-info/requires.txt +13 -3
- {radicale-3.9.1 → radicale-3.9.3}/config +61 -13
- {radicale-3.9.1 → radicale-3.9.3}/pyproject.toml +40 -10
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/__init__.py +24 -3
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/base.py +29 -7
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/delete.py +5 -2
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/get.py +3 -1
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/mkcalendar.py +6 -2
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/mkcol.py +1 -1
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/move.py +41 -3
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/propfind.py +92 -28
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/proppatch.py +52 -14
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/put.py +20 -9
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/report.py +44 -23
- radicale-3.9.3/radicale/auth/__init__.py +593 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/auth/ldap.py +46 -30
- {radicale-3.9.1 → radicale-3.9.3}/radicale/auth/pam.py +3 -1
- {radicale-3.9.1 → radicale-3.9.3}/radicale/config.py +60 -7
- {radicale-3.9.1 → radicale-3.9.3}/radicale/group/htgroup.py +3 -1
- {radicale-3.9.1 → radicale-3.9.3}/radicale/hook/email/__init__.py +51 -19
- {radicale-3.9.1 → radicale-3.9.3}/radicale/hook/email/scheduling.py +81 -32
- {radicale-3.9.1 → radicale-3.9.3}/radicale/httputils.py +8 -1
- {radicale-3.9.1 → radicale-3.9.3}/radicale/item/__init__.py +81 -33
- {radicale-3.9.1 → radicale-3.9.3}/radicale/item/filter.py +181 -53
- {radicale-3.9.1 → radicale-3.9.3}/radicale/log.py +27 -15
- {radicale-3.9.1 → radicale-3.9.3}/radicale/pathutils.py +11 -5
- {radicale-3.9.1 → radicale-3.9.3}/radicale/rights/__init__.py +2 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/rights/from_file.py +4 -2
- {radicale-3.9.1 → radicale-3.9.3}/radicale/rights/owner_only.py +12 -5
- {radicale-3.9.1 → radicale-3.9.3}/radicale/server.py +12 -4
- {radicale-3.9.1 → radicale-3.9.3}/radicale/server_cheroot.py +9 -4
- {radicale-3.9.1 → radicale-3.9.3}/radicale/sharing/__init__.py +197 -127
- {radicale-3.9.1 → radicale-3.9.3}/radicale/sharing/common.py +13 -6
- {radicale-3.9.1 → radicale-3.9.3}/radicale/sharing/csv.py +39 -19
- {radicale-3.9.1 → radicale-3.9.3}/radicale/sharing/files.py +31 -15
- {radicale-3.9.1 → radicale-3.9.3}/radicale/sharing/none.py +5 -2
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/__init__.py +32 -11
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/__init__.py +29 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/base.py +1 -1
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/cache.py +1 -1
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/discover.py +26 -11
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/get.py +14 -3
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/history.py +3 -2
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/lock.py +13 -7
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/move.py +15 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/sync.py +9 -6
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/upload.py +3 -1
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/verify.py +7 -1
- {radicale-3.9.1 → radicale-3.9.3}/radicale/utils.py +4 -4
- {radicale-3.9.1 → radicale-3.9.3}/radicale/xmlutils.py +65 -3
- radicale-3.9.1/radicale/auth/__init__.py +0 -385
- {radicale-3.9.1 → radicale-3.9.3}/COPYING.md +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/MANIFEST.in +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/Radicale.egg-info/SOURCES.txt +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/Radicale.egg-info/dependency_links.txt +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/Radicale.egg-info/entry_points.txt +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/Radicale.egg-info/top_level.txt +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/__init__.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/__main__.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/head.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/options.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/app/post.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/auth/denyall.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/auth/dovecot.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/auth/htpasswd.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/auth/http_remote_user.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/auth/http_x_remote_user.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/auth/imap.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/auth/none.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/auth/oauth2.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/auth/remote_user.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/group/__init__.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/group/from_auth.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/group/none.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/hook/__init__.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/hook/none.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/hook/rabbitmq/__init__.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/py.typed +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/rights/authenticated.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/rights/owner_write.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/create_collection.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/delete.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem/meta.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/storage/multifilesystem_nolock.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/tests/custom/__init__.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/tests/custom/auth.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/tests/custom/rights.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/tests/custom/storage_simple_sync.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/tests/custom/web.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/types.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/__init__.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icon.png +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icons/check-circle.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icons/delete.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icons/download.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icons/edit.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icons/eye.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icons/key.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icons/minus-circle.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icons/new.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icons/repeat.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icons/share.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/icons/upload.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/loading.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/logo.svg +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/css/main.css +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/index.html +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/api/api.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/api/common.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/api/sharing.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/config.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/constants.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/main.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/models/collection.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/CollectionsScene.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/CreateEditCollectionScene.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/CreateEditShareScene.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/DeleteConfirmationScene.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/LoadingScene.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/LoginScene.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/ShareCollectionScene.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/UploadCollectionScene.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/scene_manager.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/utils/collection_utils.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/utils/collections_cache.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/utils/error.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/utils/form_validator.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/utils/misc.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/utils/permissions.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/internal_data/js/utils/url_text.js +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale/web/none.py +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/radicale.wsgi +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/rights +0 -0
- {radicale-3.9.1 → radicale-3.9.3}/setup.cfg +0 -0
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.9.3
|
|
4
|
+
* Fix: [rights] from_file: the rights file is read as UTF-8, with or without a BOM, like configuration files. It used to be read with the locale encoding, so on Windows with a legacy code page, or another non-UTF-8 locale, a non-ASCII rule failed to load or silently did not match. A rights file saved in a legacy encoding has to be converted to UTF-8
|
|
5
|
+
* Fix: configuration files are read as UTF-8, with or without a BOM. They used to be read with the locale encoding, so on Windows with a legacy code page (cp1252, cp949), or another non-UTF-8 locale, a non-ASCII value failed to load or was decoded to different characters. A configuration file saved in a legacy encoding has to be converted to UTF-8
|
|
6
|
+
* Add: [auth] configurable upper and lower bounds for constant execution time padding for failed logins
|
|
7
|
+
* Change: dependency PyPI/libpass replaced with PyPI/passlib >= 1.9.6
|
|
8
|
+
* Add: [auth] option to limit concurrent authentication backend calls with configurable limits for total active and waiting requests, active checks per login, and wait time
|
|
9
|
+
* Change: [auth] when both `cache_logins` and `concurrency_limit_enabled` are enabled, cache hits bypass the limiter and concurrent requests with the same credentials are coordinated so only one calls the backend
|
|
10
|
+
* Change: [auth] reimplement cache in class AuthCache using OrderedDict: consistent and more efficient eviction/pruning of expired entries upon each authentication call
|
|
11
|
+
* Add: [auth] options `cache_successful_logins_max_count` and `cache_failed_logins_max_count`
|
|
12
|
+
* Change: [auth] cache ttl/expiry clock now starts after the authentication call (not before)
|
|
13
|
+
* Change: [auth] use process-lifetime random constant secrets.token_urlsafe() instead of time to salt cache digest
|
|
14
|
+
* Fix: [auth] cache now honors user name set by LDAP if ldap_user_attribute is set
|
|
15
|
+
* Fix: [auth] uses time.monotonic_ns instead of time.time_ns
|
|
16
|
+
* Add: create Webcal subscriptions from CalDAV clients such as Apple Calendar
|
|
17
|
+
* Add: Apple Contacts can sync its My Card designation over CardDAV
|
|
18
|
+
* Doc: Docker Compose example that creates the htpasswd users file from the `RADICALE_USERS` environment variable
|
|
19
|
+
* Fix: Docker images include the `oauth2` and `rabbitmq` extras again (`requests` and `pika` are no longer core dependencies since 3.9.1)
|
|
20
|
+
* Fix: sharing update rejects a JSON `null` path with `400` and treats JSON `null` properties or actions as a clear. Those values used to crash the request with HTTP 500
|
|
21
|
+
* Fix: sharing hide, unhide, enable, and disable report a failed update as `400 Internal Error`. The same failure on update and delete was already `400`, and these actions used to answer `200`
|
|
22
|
+
* Fix: a `calendar-query` `REPORT` that matches an item lists that item even when the request has no `DAV:prop`
|
|
23
|
+
* Fix: storage skips a socket or other non-file stored under an item name. Opening it used to raise `ENXIO` and the request became HTTP 500
|
|
24
|
+
* Fix: `radicale --verify-storage` fails when synchronizing a collection raises `ValueError`. That error used to be ignored, so the check exited 0
|
|
25
|
+
* Fix: `radicale --verify-storage` fails when two items in one collection share a UID. It used to log the conflict and still exit 0
|
|
26
|
+
* Fix: an empty `PUT` with `Content-Type: text/calendar` is rejected. It used to create a subscribed collection because that tag shares the same media type
|
|
27
|
+
* Fix: storage startup does not report 1 ns mtime precision, or recommend the mtime cache, when the probe timestamp does not change
|
|
28
|
+
* Fix: hexdump marks a UTF-8 lead byte with its real length. `0xE0` is 3 bytes and `0xC0`–`0xDF` are 2 bytes; bytes from `0xF8` up are not a 3-byte lead
|
|
29
|
+
* Adjustment: the built-in server logs a warning at startup that it is meant for local testing, not for production (use `[server] type = cheroot` or `hypercorn`)
|
|
30
|
+
* Fix: PROPFIND reports a shared principal's own URL, including from its parent
|
|
31
|
+
* Fix: a calendar component that is only a recurrence override is reported once
|
|
32
|
+
* Fix: proppatch: setting `resourcetype` (e.g. `CS:subscribed`) stored the change but answered `400 Bad Request`
|
|
33
|
+
* Fix: [auth] ldap3: do not bind the reader account without TLS if StartTLS fails or is refused by the server
|
|
34
|
+
* Fix: [auth] ldap3: an unexpected error while opening the reader connection raises "Unable to read" instead of crashing with an undefined connection
|
|
35
|
+
* Fix: [logging] `*_on_notice_condition` with `status`: compare `status OP value` (was `value OP status`, so `>=` behaved like `<=`)
|
|
36
|
+
* Fix: [logging] `*_on_notice_condition` with `host` match `excluded` raised an error (undefined variable)
|
|
37
|
+
* Add: [hook] itip_owner_map: ordered full-string username regex rules with brace-style capture replacements; escape metacharacters in existing literal keys
|
|
38
|
+
* Add: support `MOVE` of calendar and addressbook collections (rename, or move below another principal)
|
|
39
|
+
* Add: [hook] itip_owner_reply_to: route ordinary replies to the authenticated actor's explicitly mapped address
|
|
40
|
+
* Adjust: [storage] filesystem_fsync option documented and renamed from `_filesystem_fsync` (internal use only so far)
|
|
41
|
+
* Performance: storage: add fast path for has_uid in multifilesystem
|
|
42
|
+
* Fix: [storage] ignore a damaged item, history, or sync-token cache when unpickling raises KeyError
|
|
43
|
+
* Fix: [storage] discover group collections with a posix path so a Windows separator is not rejected as an unsafe name
|
|
44
|
+
* Fix: hook: a CANCEL for an event with no SEQUENCE is sent with SEQUENCE:1. Building that message used to fail
|
|
45
|
+
* Fix: hook: notify on a whole-collection PUT. The prepared items were consumed while the collection was stored, so the hook never saw them
|
|
46
|
+
* Fix: hook: a whole-collection PUT reports a replaced item's previous body as old_content and the uploaded body as content. The filename written for each item was discarded, so every item was reported as new
|
|
47
|
+
* Fix: log an HTTP 4xx response at error, except the statuses and methods already logged at notice
|
|
48
|
+
* Fix: sharing resolver-by-map skip for existing path
|
|
49
|
+
* Feature: sharing: add new option permit_create_map_for_group (default: False) and permissions 'G' and 'g' for fine granular control of share-by-map for groups
|
|
50
|
+
* Adjust: sharing/update: change of User is only supported for sharing-by-group, reject change of PathMapped
|
|
51
|
+
* Improve: storage/hook: escape all placeholder values with same method
|
|
52
|
+
* Fix: PROPPATCH on shared collection with properties overlay is rejected in case mapped collection is not existing
|
|
53
|
+
* Improve: apply validate_user_value also for returned username from authentication backend
|
|
54
|
+
* Improve: validation of provided CONTENT_LENGTH
|
|
55
|
+
|
|
56
|
+
## 3.9.2
|
|
57
|
+
* Fix: [server] report an inactive SSL protocol before assigning version 0
|
|
58
|
+
* Fix: [auth] keep the LDAP server hostname as SNI when a CA file is set
|
|
59
|
+
* Fix: propfind CS:getctag: use the sync-token so the value never repeats
|
|
60
|
+
* Fix: [auth]: add server hostname as SNI option (ldap3+tls) for proper validation did not strip non-standard port
|
|
61
|
+
* Fix: propfind: honor [storage] skip_broken_item=True (uncatched after changes in 3.9.1)
|
|
62
|
+
* Fix: report: use [reporting] max_expand_occurrence also for unbounded RRULE enumeration
|
|
63
|
+
* Performance: remove not required `_clean_history` in upload
|
|
64
|
+
* Performance: guard trace logging with isEnabledFor and use lazy formatting for logger calls
|
|
65
|
+
|
|
3
66
|
## 3.9.1
|
|
4
67
|
* Add: [sharing] permit_create_map = self: permit map-based sharing to self only (e.g. birthday calendar) without sharing with other users
|
|
5
68
|
* Add: [rights] permission `S`: permit map-based sharing to self only, whatever permit_create_map is
|
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
* [Telugu](https://github.com/Kozea/Radicale/blob/master/docs/translations/DOCUMENTATION.te.md)
|
|
6
6
|
|
|
7
|
+
## Developer documentation
|
|
8
|
+
|
|
9
|
+
This file is the operator manual. The source layout, the on-disk data, the packages, CI, and the release steps are in [docs/README.md](docs/README.md).
|
|
10
|
+
|
|
7
11
|
## Getting started
|
|
8
12
|
|
|
9
13
|
#### About Radicale
|
|
@@ -766,6 +770,7 @@ command line arguments.
|
|
|
766
770
|
|
|
767
771
|
Configuration files have INI-style syntax comprising key-value pairs
|
|
768
772
|
grouped into sections with section headers enclosed in brackets.
|
|
773
|
+
They are read as UTF-8 (a leading BOM is ignored).
|
|
769
774
|
|
|
770
775
|
An example configuration file looks like:
|
|
771
776
|
|
|
@@ -832,7 +837,10 @@ _(>= 3.9.0)_
|
|
|
832
837
|
|
|
833
838
|
The server to run: `builtin` (the default), `hypercorn` or `cheroot`.
|
|
834
839
|
|
|
835
|
-
The built-in server
|
|
840
|
+
The built-in server is meant for **local testing, not for production**: it
|
|
841
|
+
answers HTTP/1.0 and closes after each request, and logs a warning at startup
|
|
842
|
+
saying so. For production use `cheroot` or `hypercorn` (or a WSGI server, see
|
|
843
|
+
[WSGI](#wsgi-server)). `hypercorn`
|
|
836
844
|
keeps connections alive and also serves **HTTP/2 over cleartext (H2C)** on the
|
|
837
845
|
same socket, which is what a reverse proxy in front of Radicale needs to speak
|
|
838
846
|
HTTP/2 without terminating TLS itself; it is an optional dependency, installed
|
|
@@ -898,6 +906,8 @@ Solutions:
|
|
|
898
906
|
|
|
899
907
|
The maximum number of parallel connections. Set to `0` to disable the limit.
|
|
900
908
|
|
|
909
|
+
See also concurrency limiter settings in the `[auth]` section.
|
|
910
|
+
|
|
901
911
|
Default: `8`
|
|
902
912
|
|
|
903
913
|
##### delay_on_error
|
|
@@ -1110,17 +1120,39 @@ Available types are:
|
|
|
1110
1120
|
|
|
1111
1121
|
User groups are supported _(>= 3.8.0)_
|
|
1112
1122
|
|
|
1123
|
+
When using the web UI with authentication handled by the browser or reverse proxy
|
|
1124
|
+
(e.g. header-based auth, OIDC redirects), set [`prefer_browser_login`](#prefer_browser_login)
|
|
1125
|
+
to `True` to skip the login page.
|
|
1126
|
+
|
|
1113
1127
|
Default: `none` _(< 3.5.0)_ / `denyall` _(>= 3.5.0)_
|
|
1114
1128
|
|
|
1115
1129
|
##### cache_logins
|
|
1116
1130
|
|
|
1117
1131
|
_(>= 3.4.0)_
|
|
1118
1132
|
|
|
1119
|
-
Cache successful/failed logins
|
|
1120
|
-
|
|
1133
|
+
Cache successful/failed logins to reduce repeated requests to authentication backends.
|
|
1134
|
+
Once expired, an entry can no longer be reused. However, expired entries may remain in memory
|
|
1135
|
+
until a later request triggers cleanup.
|
|
1136
|
+
|
|
1137
|
+
To more effectively reduce backend load, set `concurrency_limit_enabled` to `True` (see below).
|
|
1138
|
+
Without the limiter, requests with the same credentials can call the backend independently if
|
|
1139
|
+
they arrive before a result is cached.
|
|
1140
|
+
|
|
1141
|
+
When both `cache_logins` and `concurrency_limit_enabled` are `True`, only one backend
|
|
1142
|
+
verification per credential set will run at a time. Subsequent requests will wait until the first
|
|
1143
|
+
request finishes. If the first request successfully populated the cache, the later requests will
|
|
1144
|
+
then use the cached result. Requests that find a cache hit on arrival will bypass the limiter.
|
|
1145
|
+
For this to work, none of the cache expiries or capacities should be set to `0`. Furthermore,
|
|
1146
|
+
`concurrency_wait_timeout` should be longer than the maximum expected duration of a backend
|
|
1147
|
+
authentication, so requests have enough time to wait for cache population without timing out
|
|
1148
|
+
and receiving a temporary authentication error.
|
|
1121
1149
|
|
|
1122
1150
|
Default: `False`
|
|
1123
1151
|
|
|
1152
|
+
Note that certain options (e.g. setting expiry and/or capacity for both caches to
|
|
1153
|
+
`0` or using a backend that does not require caching, e.g., `remote_user`) will
|
|
1154
|
+
automatically disable the cache even when `cache_logins` is set to `True`.
|
|
1155
|
+
|
|
1124
1156
|
##### cache_successful_logins_expiry
|
|
1125
1157
|
|
|
1126
1158
|
_(>= 3.4.0)_
|
|
@@ -1137,6 +1169,76 @@ Expiration time of caching failed logins in seconds
|
|
|
1137
1169
|
|
|
1138
1170
|
Default: `90`
|
|
1139
1171
|
|
|
1172
|
+
##### cache_successful_logins_max_count
|
|
1173
|
+
|
|
1174
|
+
_(>= 3.9.3)_
|
|
1175
|
+
|
|
1176
|
+
Maximum number of successful logins that can be stored in the cache at the same time. When the cache
|
|
1177
|
+
reaches capacity and a new item needs to be stored, the oldest item will be evicted even if it is not
|
|
1178
|
+
yet expired. Setting this option to zero will deactivate caching of successful logins.
|
|
1179
|
+
|
|
1180
|
+
Note that this option limits the number of cache entries, not directly the amount of memory. A size
|
|
1181
|
+
of <1kB per entry can usually be expected, but long usernames and membership in several groups can
|
|
1182
|
+
lead to higher memory consumption per entry.
|
|
1183
|
+
|
|
1184
|
+
Default: `1000`
|
|
1185
|
+
|
|
1186
|
+
##### cache_failed_logins_max_count
|
|
1187
|
+
|
|
1188
|
+
_(>= 3.9.3)_
|
|
1189
|
+
|
|
1190
|
+
Maximum number of failed logins that can be stored in the cache at the same time. When the cache
|
|
1191
|
+
reaches capacity and a new item needs to be stored, the oldest item will be evicted even if it is not
|
|
1192
|
+
yet expired. Setting this option to zero will deactivate caching of failed logins.
|
|
1193
|
+
|
|
1194
|
+
Default: `1000`
|
|
1195
|
+
|
|
1196
|
+
##### concurrency_limit_enabled
|
|
1197
|
+
|
|
1198
|
+
Limit the number of requests that can check passwords concurrently.
|
|
1199
|
+
Each authentication instance has its own limits.
|
|
1200
|
+
|
|
1201
|
+
Default: `False`
|
|
1202
|
+
|
|
1203
|
+
##### concurrency_total_limit
|
|
1204
|
+
|
|
1205
|
+
Maximum number of requests that can be waiting for or performing a backend authentication check
|
|
1206
|
+
at the same time. When this limit is reached, a new request that needs a backend check receives
|
|
1207
|
+
a temporary authentication error, which bypasses execution-time padding, so the server stays
|
|
1208
|
+
responsive. Login cache (see `cache_logins`) hits bypass this limit.
|
|
1209
|
+
|
|
1210
|
+
Set this below `[server] max_connections`, so there is capacity to actually reject additional
|
|
1211
|
+
requests in this manner and to process requests with cached credentials.
|
|
1212
|
+
|
|
1213
|
+
Default: `6`
|
|
1214
|
+
|
|
1215
|
+
##### concurrency_active_limit
|
|
1216
|
+
|
|
1217
|
+
Maximum number of requests that can be performing a backend authentication check at the same
|
|
1218
|
+
time. When this limit is reached but `concurrency_total_limit` is not, further requests will
|
|
1219
|
+
wait until a previous authentication backend call returns.
|
|
1220
|
+
|
|
1221
|
+
Default: `4`
|
|
1222
|
+
|
|
1223
|
+
##### concurrency_per_user_limit
|
|
1224
|
+
|
|
1225
|
+
Maximum number of simultaneous backend password checks for one normalized login name
|
|
1226
|
+
(regardless of the password supplied).
|
|
1227
|
+
|
|
1228
|
+
Default: `2`
|
|
1229
|
+
|
|
1230
|
+
##### concurrency_wait_timeout
|
|
1231
|
+
|
|
1232
|
+
Maximum time in seconds a request may wait for permission to start a backend check.
|
|
1233
|
+
A request that has already called the backend can continue past this timeout.
|
|
1234
|
+
A request that times out while waiting will receive a temporary authentication error.
|
|
1235
|
+
|
|
1236
|
+
Set to `0` to allow only immediate admission. When `cache_logins` is enabled, it is
|
|
1237
|
+
recommended to set a timeout that is longer than the maximum expected duration of a
|
|
1238
|
+
backend authentication call.
|
|
1239
|
+
|
|
1240
|
+
Default: `5.0`
|
|
1241
|
+
|
|
1140
1242
|
##### htpasswd_filename
|
|
1141
1243
|
|
|
1142
1244
|
Path to the htpasswd file.
|
|
@@ -1153,7 +1255,7 @@ Available methods:
|
|
|
1153
1255
|
|
|
1154
1256
|
* `plain`
|
|
1155
1257
|
Passwords are stored in plaintext.
|
|
1156
|
-
This is not recommended
|
|
1258
|
+
This is not recommended as it is obviously **insecure!**
|
|
1157
1259
|
The htpasswd file for this can be created by hand and looks like:
|
|
1158
1260
|
|
|
1159
1261
|
```htpasswd
|
|
@@ -1197,6 +1299,60 @@ Average delay (in seconds) after failed or missing login attempts or denied acce
|
|
|
1197
1299
|
|
|
1198
1300
|
Default: `1`
|
|
1199
1301
|
|
|
1302
|
+
##### failed_auth_delay_min
|
|
1303
|
+
|
|
1304
|
+
Minimum to which the execution time of failed authentication attempts will be padded.
|
|
1305
|
+
This is the value at which failed-authentication execution-time padding will start
|
|
1306
|
+
when a server process is started. If subsequent failed authentication attempts take
|
|
1307
|
+
longer, the value will be adjusted upwards.
|
|
1308
|
+
|
|
1309
|
+
The main purpose of `failed_auth_delay_min` and `failed_auth_delay_max` is to impede
|
|
1310
|
+
user-enumeration timing attacks. To achieve this, the timing distributions between
|
|
1311
|
+
failed authentications resulting from an existing user with a failed password
|
|
1312
|
+
verification and failed authentications resulting from a rejection due to a non-existing
|
|
1313
|
+
user should be identical.
|
|
1314
|
+
|
|
1315
|
+
Depending on backend implementation and deployment, the latter may be much faster than
|
|
1316
|
+
the former, allowing an attacker to ascertain whether a failed authentication is due to
|
|
1317
|
+
a non-existing user or a wrongly guessed password. While the only way to achieve equal
|
|
1318
|
+
response time distributions realiably across different server loads and latencies is an
|
|
1319
|
+
equal-work approach, padding authentication time to a target corresponding to the longest
|
|
1320
|
+
duration of a failed password verification can give some practical protection.
|
|
1321
|
+
|
|
1322
|
+
To cover a range of deployments out-of-the-box, Radicale by default implements a
|
|
1323
|
+
per-instance learning approach that sets the padding target to `failed_auth_delay_min`
|
|
1324
|
+
and subsequently adjusts upwards if failed authentications take longer than the
|
|
1325
|
+
current value (subject to `failed_auth_delay_max`). The defaults are chosen to balance
|
|
1326
|
+
security and performance across a range of deployments.
|
|
1327
|
+
|
|
1328
|
+
Important: The defaults do not provide adequate protection for setups with slow backends,
|
|
1329
|
+
especially against cold-start attacks and may cause unnecessarily high delays after
|
|
1330
|
+
temporary backend delays. To avoid both issues, administrators employing padding should
|
|
1331
|
+
measure the typical worst-case durations of backend password verifications under high load
|
|
1332
|
+
and set both `failed_auth_delay_min` and `failed_auth_delay_max` to that same value or
|
|
1333
|
+
a slightly higher value if acceptable.
|
|
1334
|
+
|
|
1335
|
+
In deployments where the backend takes care of potential timing differences using an
|
|
1336
|
+
equal-work approach, both values can be set to `0` to disable padding.
|
|
1337
|
+
|
|
1338
|
+
Default: `0.5`
|
|
1339
|
+
|
|
1340
|
+
##### failed_auth_delay_max
|
|
1341
|
+
|
|
1342
|
+
Maximum to which the execution time of failed authentication attempts will be padded.
|
|
1343
|
+
For a detailed explanation see `failed_auth_delay_min`.
|
|
1344
|
+
|
|
1345
|
+
Default: `3.0`
|
|
1346
|
+
|
|
1347
|
+
##### failed_auth_delay_learn_from_outliers
|
|
1348
|
+
|
|
1349
|
+
Determines how the learning algorithm for execution time padding for failed
|
|
1350
|
+
authentications should react to failed authentication attempts that take longer than
|
|
1351
|
+
`failed_auth_delay_max`. If set to `True`, the padding target is set to the maximum
|
|
1352
|
+
in such cases. If set to `False`, such cases do not increase the learned target.
|
|
1353
|
+
|
|
1354
|
+
Default: True
|
|
1355
|
+
|
|
1200
1356
|
##### realm
|
|
1201
1357
|
|
|
1202
1358
|
Message displayed in the client when a password is needed.
|
|
@@ -1264,17 +1420,25 @@ _(>= 3.4.0)_
|
|
|
1264
1420
|
LDAP attribute whose value shall be used as the username after successful authentication.
|
|
1265
1421
|
|
|
1266
1422
|
If set, you can use flexible logins in `ldap_filter` and still have consolidated usernames,
|
|
1267
|
-
e.g. to allow users to login using mail addresses as an alternative to
|
|
1423
|
+
e.g. to allow users to login using mail addresses as an alternative to _cn_ and finally map
|
|
1424
|
+
to _uid_, simply set (example):
|
|
1268
1425
|
```ini
|
|
1269
|
-
ldap_filter = (&(
|
|
1270
|
-
ldap_user_attribute =
|
|
1426
|
+
ldap_filter = (&(objectClass=inetOrgPerson)(uidNumber>=1000)(|(cn={0})(*mail*={0})))
|
|
1427
|
+
ldap_user_attribute = uid
|
|
1271
1428
|
```
|
|
1272
1429
|
Even for simple filter setups, it is recommended to set it in order to get usernames exactly
|
|
1273
1430
|
as they are stored in LDAP and to avoid inconsistencies in the upper-/lower-case spelling of the
|
|
1274
1431
|
login names.
|
|
1275
1432
|
|
|
1433
|
+
Since 3.9.3, cached logins use the username returned by LDAP. In earlier versions, only backend
|
|
1434
|
+
authentication would return the mapped username while cached authentications would use the cached
|
|
1435
|
+
login name as provided by the client.
|
|
1436
|
+
|
|
1276
1437
|
Default: (unset, in which case the login name is directly used as the username)
|
|
1277
1438
|
|
|
1439
|
+
> [!CAUTION]
|
|
1440
|
+
> Never define an attribute which is able to be changed by user, otherwise user can map itself to another user
|
|
1441
|
+
|
|
1278
1442
|
##### ldap_security
|
|
1279
1443
|
|
|
1280
1444
|
_(>= 3.5.2)_
|
|
@@ -1660,7 +1824,8 @@ Default: `/etc/radicale/rights`
|
|
|
1660
1824
|
|
|
1661
1825
|
_(>= 3.1.9)_
|
|
1662
1826
|
|
|
1663
|
-
Global permission to delete complete collections.
|
|
1827
|
+
Global permission to delete complete collections. Moving or renaming a
|
|
1828
|
+
collection (`MOVE`) is treated as a delete.
|
|
1664
1829
|
* If `False` it can be explicitly granted per collection by *rights* permissions: `D`
|
|
1665
1830
|
* If `True` it can be explicitly forbidden per collection by *rights* permissions: `d`
|
|
1666
1831
|
|
|
@@ -1754,6 +1919,12 @@ Notes:
|
|
|
1754
1919
|
* conversion is done on access
|
|
1755
1920
|
* bulk conversion can be done offline using the storage verification option `radicale --verify-storage`
|
|
1756
1921
|
|
|
1922
|
+
##### filesystem_fsync
|
|
1923
|
+
|
|
1924
|
+
Sync file system after each write
|
|
1925
|
+
|
|
1926
|
+
Default: `True`
|
|
1927
|
+
|
|
1757
1928
|
##### folder_umask
|
|
1758
1929
|
|
|
1759
1930
|
_(>= 3.3.2)_
|
|
@@ -1848,10 +2019,9 @@ Default: `internal`
|
|
|
1848
2019
|
|
|
1849
2020
|
_(>= 3.7.4)_
|
|
1850
2021
|
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
headers are configured correctly.s
|
|
2022
|
+
Includes browser credentials in the web UI's initial authentication probe, skipping
|
|
2023
|
+
the login page if the server accepts them. Useful when authentication involves
|
|
2024
|
+
redirects (e.g. OIDC) or header-based auth set by a reverse proxy.
|
|
1855
2025
|
|
|
1856
2026
|
Default: `False`
|
|
1857
2027
|
|
|
@@ -2159,7 +2329,7 @@ _(>= 3.2.0)_
|
|
|
2159
2329
|
|
|
2160
2330
|
RabbitMQ queue type for the topic.
|
|
2161
2331
|
|
|
2162
|
-
Default:
|
|
2332
|
+
Default: (unset)
|
|
2163
2333
|
|
|
2164
2334
|
##### smtp_server
|
|
2165
2335
|
|
|
@@ -2278,14 +2448,53 @@ Default: `False`
|
|
|
2278
2448
|
|
|
2279
2449
|
##### itip_owner_map
|
|
2280
2450
|
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2451
|
+
Ordered mapping from authenticated Radicale username regular expressions to
|
|
2452
|
+
organizer email address templates, used to authorize outgoing iTIP messages.
|
|
2453
|
+
Supply a valid JSON object, for example:
|
|
2284
2454
|
|
|
2285
2455
|
```ini
|
|
2286
|
-
itip_owner_map = alice
|
|
2456
|
+
itip_owner_map = {"alice": "alice@example.com", "bob": "bob@example.com"}
|
|
2287
2457
|
```
|
|
2288
2458
|
|
|
2459
|
+
Patterns are matched case-insensitively against the **whole** username (implicit
|
|
2460
|
+
`^` and `$`, including for alternatives). The first matching rule wins; place
|
|
2461
|
+
specific rules before catch-all rules. Replacements use `{1}`, `{2}`, etc. for
|
|
2462
|
+
capture groups and `{0}` for the whole username, not backslash references.
|
|
2463
|
+
Double braces (`{{` and `}}`) represent literal braces in replacement strings.
|
|
2464
|
+
Invalid regexes or replacement references are configuration errors. An expanded
|
|
2465
|
+
value that is not a single email address grants no mapped identity and supplies
|
|
2466
|
+
no Reply-To. The same rules supply ownership, principal addresses, and, when
|
|
2467
|
+
enabled, `itip_owner_reply_to`.
|
|
2468
|
+
|
|
2469
|
+
Examples when the authenticated username still contains its domain:
|
|
2470
|
+
|
|
2471
|
+
```ini
|
|
2472
|
+
# Pass all email usernames through
|
|
2473
|
+
itip_owner_map = {"(.+)@(.+)": "{1}@{2}"}
|
|
2474
|
+
# Or allow only selected users
|
|
2475
|
+
itip_owner_map = {"(user1|user2|user3)@(.+)": "{1}@{2}"}
|
|
2476
|
+
# Or restrict selected users to one domain (JSON requires doubled backslashes)
|
|
2477
|
+
itip_owner_map = {"(user3|user4)@(otherdomain\\.example)": "{1}@{2}"}
|
|
2478
|
+
```
|
|
2479
|
+
|
|
2480
|
+
When `auth.strip_domain = True`, or usernames have no domain, append one:
|
|
2481
|
+
|
|
2482
|
+
```ini
|
|
2483
|
+
# All users in one domain
|
|
2484
|
+
itip_owner_map = {"(.+)": "{1}@domain.example"}
|
|
2485
|
+
# Or selected users in different domains
|
|
2486
|
+
itip_owner_map = {"(user1|user2)": "{1}@domain.example", "(user3|user4)": "{1}@otherdomain.example"}
|
|
2487
|
+
```
|
|
2488
|
+
|
|
2489
|
+
Mapping runs after authentication's username normalization; it cannot recover a
|
|
2490
|
+
stripped domain. Broad rules authorize every matching authenticated user, so use
|
|
2491
|
+
an allowlist if only selected users should send scheduling messages.
|
|
2492
|
+
|
|
2493
|
+
**Migration:** Plain keys such as `alice` still work. All keys are now regexes:
|
|
2494
|
+
escape metacharacters in existing literal usernames, especially dots in email
|
|
2495
|
+
addresses (for example, `"alice@example\\.com"` in JSON). Do not lowercase
|
|
2496
|
+
regex syntax: escapes such as `\S` retain their usual Python regex meaning.
|
|
2497
|
+
|
|
2289
2498
|
This setting is required when `itip_enabled = True`, unless
|
|
2290
2499
|
`itip_organizer_is_username = True`. A scheduling message is
|
|
2291
2500
|
sent only when the event's `ORGANIZER` email matches the authenticated user's
|
|
@@ -2295,7 +2504,43 @@ organizer ownership. The user's own principal lists the mapped address
|
|
|
2295
2504
|
first in `calendar-user-address-set` (RFC 6638), so CalDAV clients can set
|
|
2296
2505
|
it as `ORGANIZER`.
|
|
2297
2506
|
|
|
2298
|
-
Default:
|
|
2507
|
+
Default: `{}`
|
|
2508
|
+
|
|
2509
|
+
##### itip_owner_reply_to
|
|
2510
|
+
|
|
2511
|
+
_(>= 3.9.2.dev)_
|
|
2512
|
+
|
|
2513
|
+
When enabled, add a `Reply-To` header to outgoing iTIP invitations, updates, and
|
|
2514
|
+
cancellations using the authenticated actor's explicit entry in
|
|
2515
|
+
`itip_owner_map`. This option is relevant when `type = email` and
|
|
2516
|
+
`itip_enabled = True`.
|
|
2517
|
+
|
|
2518
|
+
For example, with the following configuration:
|
|
2519
|
+
|
|
2520
|
+
```ini
|
|
2521
|
+
[hook]
|
|
2522
|
+
type = email
|
|
2523
|
+
from_email = calendar@example.com
|
|
2524
|
+
itip_enabled = True
|
|
2525
|
+
itip_owner_map = {"alice": "alice@example.com", "bob": "bob@example.com"}
|
|
2526
|
+
itip_owner_reply_to = True
|
|
2527
|
+
```
|
|
2528
|
+
|
|
2529
|
+
Alice's authorized scheduling notifications use `calendar@example.com` as the
|
|
2530
|
+
MIME `From` and SMTP envelope sender, and `alice@example.com` as `Reply-To`.
|
|
2531
|
+
SMTP server configuration and any required credentials are still needed; this
|
|
2532
|
+
snippet illustrates Reply-To behavior, not a complete mail-server setup.
|
|
2533
|
+
|
|
2534
|
+
The default is `False`, so existing behavior is unchanged unless explicitly
|
|
2535
|
+
enabled. If the authenticated actor has no explicit map entry, no `Reply-To`
|
|
2536
|
+
is added and ordinary email replies use the global `from_email` address. The
|
|
2537
|
+
`itip_organizer_is_username` option may authorize scheduling for an email
|
|
2538
|
+
username, but does not provide a Reply-To address. This routes ordinary email
|
|
2539
|
+
replies only; it does not process calendar RSVP replies or add scheduling
|
|
2540
|
+
inboxes/outboxes or delegated-calendar ownership discovery. Legacy email
|
|
2541
|
+
notifications are unchanged.
|
|
2542
|
+
|
|
2543
|
+
Default: `False`
|
|
2299
2544
|
|
|
2300
2545
|
##### itip_organizer_is_username
|
|
2301
2546
|
|
|
@@ -2568,6 +2813,17 @@ Default: `false`
|
|
|
2568
2813
|
* If `True` or `self` it can be explicitly forbidden by *rights* permissions: `m`
|
|
2569
2814
|
* If `True` or `False` it can be explicitly limited to self by *rights* permissions: `S` _(>= 3.9.1)_
|
|
2570
2815
|
|
|
2816
|
+
##### permit_create_map_for_group
|
|
2817
|
+
|
|
2818
|
+
_(>= 3.9.3)_
|
|
2819
|
+
|
|
2820
|
+
Permit create of map-based sharing for group
|
|
2821
|
+
|
|
2822
|
+
Default: `false`
|
|
2823
|
+
|
|
2824
|
+
* If `False` it can be explicitly granted by *rights* permissions: `G`
|
|
2825
|
+
* If `True` it can be explicitly forbidden by *rights* permissions: `g`
|
|
2826
|
+
|
|
2571
2827
|
##### permit_properties_overlay
|
|
2572
2828
|
|
|
2573
2829
|
_(>= 3.7.0)_
|
|
@@ -2682,8 +2938,9 @@ Default: `99`
|
|
|
2682
2938
|
Radicale has been tested with:
|
|
2683
2939
|
|
|
2684
2940
|
* [Android](https://android.com/) with
|
|
2685
|
-
[DAVx⁵](https://www.davx5.com/) (formerly DAVdroid)
|
|
2686
|
-
[KashCal](https://f-droid.org/packages/org.onekash.kashcal)
|
|
2941
|
+
[DAVx⁵](https://www.davx5.com/) (formerly DAVdroid),
|
|
2942
|
+
[KashCal](https://f-droid.org/packages/org.onekash.kashcal) or
|
|
2943
|
+
[DAVsky](https://rypox.com/davsky),
|
|
2687
2944
|
* [OneCalendar](https://www.onecalendar.nl/)
|
|
2688
2945
|
* [GNOME Calendar](https://wiki.gnome.org/Apps/Calendar),
|
|
2689
2946
|
[Contacts](https://wiki.gnome.org/Apps/Contacts) and
|
|
@@ -2719,6 +2976,13 @@ Enter the URL of the Radicale server (e.g. `http://localhost:5232`) and your
|
|
|
2719
2976
|
username. DAVx⁵ will show all existing calendars and address books and you
|
|
2720
2977
|
can create new ones.
|
|
2721
2978
|
|
|
2979
|
+
#### DAVsky
|
|
2980
|
+
|
|
2981
|
+
Add an account and choose _Radicale_ as the provider, then enter the address of the Radicale server (e.g. `https://yourdomain:5232`), your username and your password.
|
|
2982
|
+
DAVsky lists all existing calendars and address books, you choose which ones to sync, and they show up in the Android calendar and contacts apps.
|
|
2983
|
+
A step-by-step guide with screenshots is on the
|
|
2984
|
+
[DAVsky website](https://rypox.com/davsky/radicale-en.html).
|
|
2985
|
+
|
|
2722
2986
|
#### OneCalendar
|
|
2723
2987
|
|
|
2724
2988
|
When adding account, select CalDAV account type, then enter username, password and the
|
|
@@ -2844,7 +3108,8 @@ Note: requires config/option `permit_delete_collection = True`
|
|
|
2844
3108
|
|
|
2845
3109
|
This section describes the format of the rights file for the `from_file`
|
|
2846
3110
|
authentication backend. The configuration option `file` in the `rights`
|
|
2847
|
-
section must point to the rights file.
|
|
3111
|
+
section must point to the rights file. The file is read as UTF-8
|
|
3112
|
+
(a leading BOM is ignored).
|
|
2848
3113
|
|
|
2849
3114
|
The recommended rights method is `owner_only`. If access is granted
|
|
2850
3115
|
to calendars and address books outside the home directory of users
|
|
@@ -2916,8 +3181,8 @@ The following `permissions` are recognized:
|
|
|
2916
3181
|
`VFREEBUSY`
|
|
2917
3182
|
* **W:** write collections (excluding address books and calendars)
|
|
2918
3183
|
* **w:** write address book and calendar collections
|
|
2919
|
-
* **D:** allow deleting a collection in case `permit_delete_collection=False` _(>= 3.3.0)_
|
|
2920
|
-
* **d:** deny deleting a collection in case `permit_delete_collection=True` _(>= 3.3.0)_
|
|
3184
|
+
* **D:** allow deleting (or moving) a collection in case `permit_delete_collection=False` _(>= 3.3.0)_
|
|
3185
|
+
* **d:** deny deleting (or moving) a collection in case `permit_delete_collection=True` _(>= 3.3.0)_
|
|
2921
3186
|
* **O:** allow overwriting a collection in case `permit_overwrite_collection=False` _(>= 3.3.0)_
|
|
2922
3187
|
* **o:** deny overwriting a collection in case `permit_overwrite_collection=True` _(>= 3.3.0)_
|
|
2923
3188
|
* **T:** permit create of token-based sharing of collection in case `permit_create_token=False` _(>= 3.7.0)_
|
|
@@ -3358,6 +3623,64 @@ Here are the steps to install Radicale via Docker Compose:
|
|
|
3358
3623
|
$ docker compose down
|
|
3359
3624
|
```
|
|
3360
3625
|
|
|
3626
|
+
##### Users from an environment variable
|
|
3627
|
+
|
|
3628
|
+
Instead of mounting a `users` file, Docker Compose can create it from an
|
|
3629
|
+
environment variable with a
|
|
3630
|
+
[secret](https://docs.docker.com/reference/compose-file/secrets/). The file
|
|
3631
|
+
is created again on each start, so the variable stays the only place to
|
|
3632
|
+
edit users. The image does not need any change:
|
|
3633
|
+
|
|
3634
|
+
```yaml
|
|
3635
|
+
services:
|
|
3636
|
+
radicale:
|
|
3637
|
+
image: ghcr.io/kozea/radicale:stable
|
|
3638
|
+
ports:
|
|
3639
|
+
- 5232:5232
|
|
3640
|
+
volumes:
|
|
3641
|
+
- ./data:/var/lib/radicale
|
|
3642
|
+
secrets:
|
|
3643
|
+
- users
|
|
3644
|
+
command:
|
|
3645
|
+
- --hosts=0.0.0.0:5232,[::]:5232
|
|
3646
|
+
- --auth-type=htpasswd
|
|
3647
|
+
- --auth-htpasswd-filename=/run/secrets/users
|
|
3648
|
+
|
|
3649
|
+
secrets:
|
|
3650
|
+
users:
|
|
3651
|
+
environment: RADICALE_USERS
|
|
3652
|
+
```
|
|
3653
|
+
|
|
3654
|
+
`RADICALE_USERS` holds the content of an htpasswd file, one `user:password`
|
|
3655
|
+
line per user. Put it in a `.env` file next to `compose.yaml`, in single
|
|
3656
|
+
quotes so that Compose leaves the `$` of the hashes alone:
|
|
3657
|
+
|
|
3658
|
+
```
|
|
3659
|
+
RADICALE_USERS='alice:$2y$05$...
|
|
3660
|
+
bob:$2y$05$...'
|
|
3661
|
+
```
|
|
3662
|
+
|
|
3663
|
+
Generate a line with the `htpasswd` tool shipped in the image:
|
|
3664
|
+
|
|
3665
|
+
```bash
|
|
3666
|
+
$ docker run --rm --entrypoint htpasswd ghcr.io/kozea/radicale:stable -nbB alice 'password'
|
|
3667
|
+
```
|
|
3668
|
+
|
|
3669
|
+
With the default `htpasswd_encryption = autodetect`, a line with a plain-text
|
|
3670
|
+
password works too, but it is not recommended.
|
|
3671
|
+
|
|
3672
|
+
Options given on the command line override the configuration file, so this
|
|
3673
|
+
works alongside a mounted `/etc/radicale/config`. On Kubernetes, a `Secret`
|
|
3674
|
+
mounted as a file and passed with `--auth-htpasswd-filename` does the same.
|
|
3675
|
+
|
|
3676
|
+
Without Compose, `docker run` cannot turn a variable into a file. Mount the
|
|
3677
|
+
users file instead, at the default `htpasswd_filename`:
|
|
3678
|
+
|
|
3679
|
+
```bash
|
|
3680
|
+
$ docker run -p 5232:5232 -v ./users:/etc/radicale/users:ro ghcr.io/kozea/radicale:stable \
|
|
3681
|
+
--hosts=0.0.0.0:5232,[::]:5232 --auth-type=htpasswd
|
|
3682
|
+
```
|
|
3683
|
+
|
|
3361
3684
|
##### Available tags
|
|
3362
3685
|
|
|
3363
3686
|
* `stable`: Points to the latest stable release. This is recommended for most users.
|
|
@@ -3374,27 +3697,26 @@ Here are the steps to install Radicale via Docker Compose:
|
|
|
3374
3697
|
|
|
3375
3698
|
Radicale has been packaged for:
|
|
3376
3699
|
|
|
3377
|
-
* [ArchLinux](https://www.archlinux.org/packages/
|
|
3700
|
+
* [ArchLinux](https://www.archlinux.org/packages/extra/any/radicale/) by
|
|
3378
3701
|
David Runge
|
|
3379
3702
|
* [Debian](https://packages.debian.org/radicale) by Jonas Smedegaard
|
|
3380
3703
|
* see also [Wiki/Installing on Debian or Ubuntu Linux](https://github.com/Kozea/Radicale/wiki/Installing-on-Debian-or-Ubuntu-Linux)
|
|
3381
|
-
* [Ubuntu](
|
|
3704
|
+
* [Ubuntu](https://packages.ubuntu.com/radicale) by the MOTU and Jonas
|
|
3382
3705
|
Smedegaard
|
|
3383
3706
|
* see also [Wiki/Installing on Debian or Ubuntu Linux](https://github.com/Kozea/Radicale/wiki/Installing-on-Debian-or-Ubuntu-Linux)
|
|
3384
3707
|
* [Gentoo](https://packages.gentoo.org/packages/www-apps/radicale)
|
|
3385
3708
|
by René Neumann, Maxim Koltsov and Manuel Rüger
|
|
3386
3709
|
* [Fedora/EnterpriseLinux](https://src.fedoraproject.org/rpms/radicale) by Jorti
|
|
3387
3710
|
and Peter Bieringer
|
|
3388
|
-
* [Mageia](
|
|
3711
|
+
* [Mageia](https://madb.mageialinux-online.org/show?distribution=cauldron&architecture=x86_64&graphical=0&rpm=radicale&exact=1)
|
|
3389
3712
|
by Jani Välimaa
|
|
3390
|
-
* [OpenBSD](
|
|
3713
|
+
* [OpenBSD](https://openports.eu/ports/productivity/radicale) by Sergey Bronnikov,
|
|
3391
3714
|
Stuart Henderson and Ian Darwin
|
|
3392
|
-
* [openSUSE](
|
|
3715
|
+
* [openSUSE](https://software.opensuse.org/package/Radicale)
|
|
3393
3716
|
by Ákos Szőts and Rueckert
|
|
3394
|
-
* [
|
|
3395
|
-
* [Slackware](http://schoepfer.info/slackware.xhtml#packages-network) by
|
|
3717
|
+
* [Slackware](https://schoepfer.info/slackware.xhtml#packages-network) by
|
|
3396
3718
|
Johannes Schöpfer
|
|
3397
|
-
* [Trisquel](
|
|
3719
|
+
* [Trisquel](https://packages.trisquel.org/search?keywords=radicale)
|
|
3398
3720
|
|
|
3399
3721
|
Radicale is also
|
|
3400
3722
|
[available on Cloudron](https://cloudron.io/button.html?app=org.radicale.cloudronapp2).
|