Radicale 3.9.2__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.2 → radicale-3.9.3}/CHANGELOG.md +53 -0
- {radicale-3.9.2 → radicale-3.9.3}/DOCUMENTATION.md +342 -27
- {radicale-3.9.2 → radicale-3.9.3}/PKG-INFO +7 -4
- {radicale-3.9.2 → radicale-3.9.3}/Radicale.egg-info/PKG-INFO +7 -4
- {radicale-3.9.2 → radicale-3.9.3}/Radicale.egg-info/requires.txt +13 -3
- {radicale-3.9.2 → radicale-3.9.3}/config +61 -13
- {radicale-3.9.2 → radicale-3.9.3}/pyproject.toml +31 -7
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/__init__.py +24 -3
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/base.py +19 -2
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/mkcalendar.py +6 -2
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/mkcol.py +1 -1
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/move.py +38 -2
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/propfind.py +42 -3
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/proppatch.py +37 -7
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/put.py +18 -8
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/report.py +2 -1
- radicale-3.9.3/radicale/auth/__init__.py +593 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/auth/ldap.py +23 -15
- {radicale-3.9.2 → radicale-3.9.3}/radicale/config.py +60 -7
- {radicale-3.9.2 → radicale-3.9.3}/radicale/hook/email/__init__.py +44 -15
- {radicale-3.9.2 → radicale-3.9.3}/radicale/hook/email/scheduling.py +81 -32
- {radicale-3.9.2 → radicale-3.9.3}/radicale/httputils.py +8 -1
- {radicale-3.9.2 → radicale-3.9.3}/radicale/item/__init__.py +14 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/item/filter.py +110 -1
- {radicale-3.9.2 → radicale-3.9.3}/radicale/log.py +4 -4
- {radicale-3.9.2 → radicale-3.9.3}/radicale/rights/__init__.py +2 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/rights/from_file.py +1 -1
- {radicale-3.9.2 → radicale-3.9.3}/radicale/server.py +6 -2
- {radicale-3.9.2 → radicale-3.9.3}/radicale/server_cheroot.py +3 -2
- {radicale-3.9.2 → radicale-3.9.3}/radicale/sharing/__init__.py +41 -21
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/__init__.py +9 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/__init__.py +29 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/base.py +1 -1
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/cache.py +1 -1
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/discover.py +1 -1
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/get.py +7 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/history.py +3 -2
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/lock.py +12 -6
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/move.py +15 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/sync.py +6 -5
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/upload.py +3 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/verify.py +7 -1
- {radicale-3.9.2 → radicale-3.9.3}/radicale/utils.py +4 -4
- {radicale-3.9.2 → radicale-3.9.3}/radicale/xmlutils.py +65 -3
- radicale-3.9.2/radicale/auth/__init__.py +0 -385
- {radicale-3.9.2 → radicale-3.9.3}/COPYING.md +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/MANIFEST.in +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/README.md +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/Radicale.egg-info/SOURCES.txt +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/Radicale.egg-info/dependency_links.txt +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/Radicale.egg-info/entry_points.txt +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/Radicale.egg-info/top_level.txt +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/__init__.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/__main__.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/delete.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/get.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/head.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/options.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/app/post.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/auth/denyall.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/auth/dovecot.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/auth/htpasswd.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/auth/http_remote_user.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/auth/http_x_remote_user.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/auth/imap.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/auth/none.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/auth/oauth2.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/auth/pam.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/auth/remote_user.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/group/__init__.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/group/from_auth.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/group/htgroup.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/group/none.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/hook/__init__.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/hook/none.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/hook/rabbitmq/__init__.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/pathutils.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/py.typed +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/rights/authenticated.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/rights/owner_only.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/rights/owner_write.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/sharing/common.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/sharing/csv.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/sharing/files.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/sharing/none.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/create_collection.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/delete.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem/meta.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/storage/multifilesystem_nolock.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/tests/custom/__init__.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/tests/custom/auth.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/tests/custom/rights.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/tests/custom/storage_simple_sync.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/tests/custom/web.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/types.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/__init__.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icon.png +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icons/check-circle.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icons/delete.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icons/download.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icons/edit.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icons/eye.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icons/key.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icons/minus-circle.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icons/new.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icons/repeat.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icons/share.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/icons/upload.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/loading.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/logo.svg +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/css/main.css +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/index.html +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/api/api.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/api/common.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/api/sharing.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/config.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/constants.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/main.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/models/collection.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/CollectionsScene.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/CreateEditCollectionScene.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/CreateEditShareScene.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/DeleteConfirmationScene.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/LoadingScene.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/LoginScene.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/ShareCollectionScene.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/UploadCollectionScene.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/scenes/scene_manager.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/utils/collection_utils.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/utils/collections_cache.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/utils/error.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/utils/form_validator.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/utils/misc.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/utils/permissions.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/internal_data/js/utils/url_text.js +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale/web/none.py +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/radicale.wsgi +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/rights +0 -0
- {radicale-3.9.2 → radicale-3.9.3}/setup.cfg +0 -0
|
@@ -1,5 +1,58 @@
|
|
|
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
|
+
|
|
3
56
|
## 3.9.2
|
|
4
57
|
* Fix: [server] report an inactive SSL protocol before assigning version 0
|
|
5
58
|
* Fix: [auth] keep the LDAP server hostname as SNI when a CA file is set
|
|
@@ -770,6 +770,7 @@ command line arguments.
|
|
|
770
770
|
|
|
771
771
|
Configuration files have INI-style syntax comprising key-value pairs
|
|
772
772
|
grouped into sections with section headers enclosed in brackets.
|
|
773
|
+
They are read as UTF-8 (a leading BOM is ignored).
|
|
773
774
|
|
|
774
775
|
An example configuration file looks like:
|
|
775
776
|
|
|
@@ -836,7 +837,10 @@ _(>= 3.9.0)_
|
|
|
836
837
|
|
|
837
838
|
The server to run: `builtin` (the default), `hypercorn` or `cheroot`.
|
|
838
839
|
|
|
839
|
-
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`
|
|
840
844
|
keeps connections alive and also serves **HTTP/2 over cleartext (H2C)** on the
|
|
841
845
|
same socket, which is what a reverse proxy in front of Radicale needs to speak
|
|
842
846
|
HTTP/2 without terminating TLS itself; it is an optional dependency, installed
|
|
@@ -902,6 +906,8 @@ Solutions:
|
|
|
902
906
|
|
|
903
907
|
The maximum number of parallel connections. Set to `0` to disable the limit.
|
|
904
908
|
|
|
909
|
+
See also concurrency limiter settings in the `[auth]` section.
|
|
910
|
+
|
|
905
911
|
Default: `8`
|
|
906
912
|
|
|
907
913
|
##### delay_on_error
|
|
@@ -1124,11 +1130,29 @@ Default: `none` _(< 3.5.0)_ / `denyall` _(>= 3.5.0)_
|
|
|
1124
1130
|
|
|
1125
1131
|
_(>= 3.4.0)_
|
|
1126
1132
|
|
|
1127
|
-
Cache successful/failed logins
|
|
1128
|
-
|
|
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.
|
|
1129
1149
|
|
|
1130
1150
|
Default: `False`
|
|
1131
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
|
+
|
|
1132
1156
|
##### cache_successful_logins_expiry
|
|
1133
1157
|
|
|
1134
1158
|
_(>= 3.4.0)_
|
|
@@ -1145,6 +1169,76 @@ Expiration time of caching failed logins in seconds
|
|
|
1145
1169
|
|
|
1146
1170
|
Default: `90`
|
|
1147
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
|
+
|
|
1148
1242
|
##### htpasswd_filename
|
|
1149
1243
|
|
|
1150
1244
|
Path to the htpasswd file.
|
|
@@ -1161,7 +1255,7 @@ Available methods:
|
|
|
1161
1255
|
|
|
1162
1256
|
* `plain`
|
|
1163
1257
|
Passwords are stored in plaintext.
|
|
1164
|
-
This is not recommended
|
|
1258
|
+
This is not recommended as it is obviously **insecure!**
|
|
1165
1259
|
The htpasswd file for this can be created by hand and looks like:
|
|
1166
1260
|
|
|
1167
1261
|
```htpasswd
|
|
@@ -1205,6 +1299,60 @@ Average delay (in seconds) after failed or missing login attempts or denied acce
|
|
|
1205
1299
|
|
|
1206
1300
|
Default: `1`
|
|
1207
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
|
+
|
|
1208
1356
|
##### realm
|
|
1209
1357
|
|
|
1210
1358
|
Message displayed in the client when a password is needed.
|
|
@@ -1272,17 +1420,25 @@ _(>= 3.4.0)_
|
|
|
1272
1420
|
LDAP attribute whose value shall be used as the username after successful authentication.
|
|
1273
1421
|
|
|
1274
1422
|
If set, you can use flexible logins in `ldap_filter` and still have consolidated usernames,
|
|
1275
|
-
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):
|
|
1276
1425
|
```ini
|
|
1277
|
-
ldap_filter = (&(
|
|
1278
|
-
ldap_user_attribute =
|
|
1426
|
+
ldap_filter = (&(objectClass=inetOrgPerson)(uidNumber>=1000)(|(cn={0})(*mail*={0})))
|
|
1427
|
+
ldap_user_attribute = uid
|
|
1279
1428
|
```
|
|
1280
1429
|
Even for simple filter setups, it is recommended to set it in order to get usernames exactly
|
|
1281
1430
|
as they are stored in LDAP and to avoid inconsistencies in the upper-/lower-case spelling of the
|
|
1282
1431
|
login names.
|
|
1283
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
|
+
|
|
1284
1437
|
Default: (unset, in which case the login name is directly used as the username)
|
|
1285
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
|
+
|
|
1286
1442
|
##### ldap_security
|
|
1287
1443
|
|
|
1288
1444
|
_(>= 3.5.2)_
|
|
@@ -1668,7 +1824,8 @@ Default: `/etc/radicale/rights`
|
|
|
1668
1824
|
|
|
1669
1825
|
_(>= 3.1.9)_
|
|
1670
1826
|
|
|
1671
|
-
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.
|
|
1672
1829
|
* If `False` it can be explicitly granted per collection by *rights* permissions: `D`
|
|
1673
1830
|
* If `True` it can be explicitly forbidden per collection by *rights* permissions: `d`
|
|
1674
1831
|
|
|
@@ -1762,6 +1919,12 @@ Notes:
|
|
|
1762
1919
|
* conversion is done on access
|
|
1763
1920
|
* bulk conversion can be done offline using the storage verification option `radicale --verify-storage`
|
|
1764
1921
|
|
|
1922
|
+
##### filesystem_fsync
|
|
1923
|
+
|
|
1924
|
+
Sync file system after each write
|
|
1925
|
+
|
|
1926
|
+
Default: `True`
|
|
1927
|
+
|
|
1765
1928
|
##### folder_umask
|
|
1766
1929
|
|
|
1767
1930
|
_(>= 3.3.2)_
|
|
@@ -2166,7 +2329,7 @@ _(>= 3.2.0)_
|
|
|
2166
2329
|
|
|
2167
2330
|
RabbitMQ queue type for the topic.
|
|
2168
2331
|
|
|
2169
|
-
Default:
|
|
2332
|
+
Default: (unset)
|
|
2170
2333
|
|
|
2171
2334
|
##### smtp_server
|
|
2172
2335
|
|
|
@@ -2285,14 +2448,53 @@ Default: `False`
|
|
|
2285
2448
|
|
|
2286
2449
|
##### itip_owner_map
|
|
2287
2450
|
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
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:
|
|
2454
|
+
|
|
2455
|
+
```ini
|
|
2456
|
+
itip_owner_map = {"alice": "alice@example.com", "bob": "bob@example.com"}
|
|
2457
|
+
```
|
|
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:
|
|
2291
2470
|
|
|
2292
2471
|
```ini
|
|
2293
|
-
|
|
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}"}
|
|
2294
2478
|
```
|
|
2295
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
|
+
|
|
2296
2498
|
This setting is required when `itip_enabled = True`, unless
|
|
2297
2499
|
`itip_organizer_is_username = True`. A scheduling message is
|
|
2298
2500
|
sent only when the event's `ORGANIZER` email matches the authenticated user's
|
|
@@ -2302,7 +2504,43 @@ organizer ownership. The user's own principal lists the mapped address
|
|
|
2302
2504
|
first in `calendar-user-address-set` (RFC 6638), so CalDAV clients can set
|
|
2303
2505
|
it as `ORGANIZER`.
|
|
2304
2506
|
|
|
2305
|
-
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`
|
|
2306
2544
|
|
|
2307
2545
|
##### itip_organizer_is_username
|
|
2308
2546
|
|
|
@@ -2575,6 +2813,17 @@ Default: `false`
|
|
|
2575
2813
|
* If `True` or `self` it can be explicitly forbidden by *rights* permissions: `m`
|
|
2576
2814
|
* If `True` or `False` it can be explicitly limited to self by *rights* permissions: `S` _(>= 3.9.1)_
|
|
2577
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
|
+
|
|
2578
2827
|
##### permit_properties_overlay
|
|
2579
2828
|
|
|
2580
2829
|
_(>= 3.7.0)_
|
|
@@ -2689,8 +2938,9 @@ Default: `99`
|
|
|
2689
2938
|
Radicale has been tested with:
|
|
2690
2939
|
|
|
2691
2940
|
* [Android](https://android.com/) with
|
|
2692
|
-
[DAVx⁵](https://www.davx5.com/) (formerly DAVdroid)
|
|
2693
|
-
[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),
|
|
2694
2944
|
* [OneCalendar](https://www.onecalendar.nl/)
|
|
2695
2945
|
* [GNOME Calendar](https://wiki.gnome.org/Apps/Calendar),
|
|
2696
2946
|
[Contacts](https://wiki.gnome.org/Apps/Contacts) and
|
|
@@ -2726,6 +2976,13 @@ Enter the URL of the Radicale server (e.g. `http://localhost:5232`) and your
|
|
|
2726
2976
|
username. DAVx⁵ will show all existing calendars and address books and you
|
|
2727
2977
|
can create new ones.
|
|
2728
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
|
+
|
|
2729
2986
|
#### OneCalendar
|
|
2730
2987
|
|
|
2731
2988
|
When adding account, select CalDAV account type, then enter username, password and the
|
|
@@ -2851,7 +3108,8 @@ Note: requires config/option `permit_delete_collection = True`
|
|
|
2851
3108
|
|
|
2852
3109
|
This section describes the format of the rights file for the `from_file`
|
|
2853
3110
|
authentication backend. The configuration option `file` in the `rights`
|
|
2854
|
-
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).
|
|
2855
3113
|
|
|
2856
3114
|
The recommended rights method is `owner_only`. If access is granted
|
|
2857
3115
|
to calendars and address books outside the home directory of users
|
|
@@ -2923,8 +3181,8 @@ The following `permissions` are recognized:
|
|
|
2923
3181
|
`VFREEBUSY`
|
|
2924
3182
|
* **W:** write collections (excluding address books and calendars)
|
|
2925
3183
|
* **w:** write address book and calendar collections
|
|
2926
|
-
* **D:** allow deleting a collection in case `permit_delete_collection=False` _(>= 3.3.0)_
|
|
2927
|
-
* **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)_
|
|
2928
3186
|
* **O:** allow overwriting a collection in case `permit_overwrite_collection=False` _(>= 3.3.0)_
|
|
2929
3187
|
* **o:** deny overwriting a collection in case `permit_overwrite_collection=True` _(>= 3.3.0)_
|
|
2930
3188
|
* **T:** permit create of token-based sharing of collection in case `permit_create_token=False` _(>= 3.7.0)_
|
|
@@ -3365,6 +3623,64 @@ Here are the steps to install Radicale via Docker Compose:
|
|
|
3365
3623
|
$ docker compose down
|
|
3366
3624
|
```
|
|
3367
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
|
+
|
|
3368
3684
|
##### Available tags
|
|
3369
3685
|
|
|
3370
3686
|
* `stable`: Points to the latest stable release. This is recommended for most users.
|
|
@@ -3381,27 +3697,26 @@ Here are the steps to install Radicale via Docker Compose:
|
|
|
3381
3697
|
|
|
3382
3698
|
Radicale has been packaged for:
|
|
3383
3699
|
|
|
3384
|
-
* [ArchLinux](https://www.archlinux.org/packages/
|
|
3700
|
+
* [ArchLinux](https://www.archlinux.org/packages/extra/any/radicale/) by
|
|
3385
3701
|
David Runge
|
|
3386
3702
|
* [Debian](https://packages.debian.org/radicale) by Jonas Smedegaard
|
|
3387
3703
|
* see also [Wiki/Installing on Debian or Ubuntu Linux](https://github.com/Kozea/Radicale/wiki/Installing-on-Debian-or-Ubuntu-Linux)
|
|
3388
|
-
* [Ubuntu](
|
|
3704
|
+
* [Ubuntu](https://packages.ubuntu.com/radicale) by the MOTU and Jonas
|
|
3389
3705
|
Smedegaard
|
|
3390
3706
|
* see also [Wiki/Installing on Debian or Ubuntu Linux](https://github.com/Kozea/Radicale/wiki/Installing-on-Debian-or-Ubuntu-Linux)
|
|
3391
3707
|
* [Gentoo](https://packages.gentoo.org/packages/www-apps/radicale)
|
|
3392
3708
|
by René Neumann, Maxim Koltsov and Manuel Rüger
|
|
3393
3709
|
* [Fedora/EnterpriseLinux](https://src.fedoraproject.org/rpms/radicale) by Jorti
|
|
3394
3710
|
and Peter Bieringer
|
|
3395
|
-
* [Mageia](
|
|
3711
|
+
* [Mageia](https://madb.mageialinux-online.org/show?distribution=cauldron&architecture=x86_64&graphical=0&rpm=radicale&exact=1)
|
|
3396
3712
|
by Jani Välimaa
|
|
3397
|
-
* [OpenBSD](
|
|
3713
|
+
* [OpenBSD](https://openports.eu/ports/productivity/radicale) by Sergey Bronnikov,
|
|
3398
3714
|
Stuart Henderson and Ian Darwin
|
|
3399
|
-
* [openSUSE](
|
|
3715
|
+
* [openSUSE](https://software.opensuse.org/package/Radicale)
|
|
3400
3716
|
by Ákos Szőts and Rueckert
|
|
3401
|
-
* [
|
|
3402
|
-
* [Slackware](http://schoepfer.info/slackware.xhtml#packages-network) by
|
|
3717
|
+
* [Slackware](https://schoepfer.info/slackware.xhtml#packages-network) by
|
|
3403
3718
|
Johannes Schöpfer
|
|
3404
|
-
* [Trisquel](
|
|
3719
|
+
* [Trisquel](https://packages.trisquel.org/search?keywords=radicale)
|
|
3405
3720
|
|
|
3406
3721
|
Radicale is also
|
|
3407
3722
|
[available on Cloudron](https://cloudron.io/button.html?app=org.radicale.cloudronapp2).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Radicale
|
|
3
|
-
Version: 3.9.
|
|
3
|
+
Version: 3.9.3
|
|
4
4
|
Summary: CalDAV and CardDAV Server
|
|
5
5
|
Author-email: Guillaume Ayoub <guillaume.ayoub@kozea.fr>, Unrud <unrud@outlook.com>, Peter Bieringer <pb@bieringer.de>
|
|
6
6
|
License: GNU GPL v3
|
|
@@ -21,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.13
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
24
25
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
25
26
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
26
27
|
Classifier: Topic :: Office/Business :: Groupware
|
|
@@ -28,12 +29,13 @@ Requires-Python: >=3.9.0
|
|
|
28
29
|
Description-Content-Type: text/markdown
|
|
29
30
|
License-File: COPYING.md
|
|
30
31
|
Requires-Dist: defusedxml
|
|
31
|
-
Requires-Dist:
|
|
32
|
+
Requires-Dist: passlib>=1.9.6
|
|
32
33
|
Requires-Dist: vobject>=0.9.6
|
|
33
34
|
Provides-Extra: test
|
|
34
35
|
Requires-Dist: pytest>=7; extra == "test"
|
|
35
36
|
Requires-Dist: waitress; extra == "test"
|
|
36
|
-
Requires-Dist: bcrypt; extra == "test"
|
|
37
|
+
Requires-Dist: bcrypt>=5.1.0; python_version >= "3.11" and extra == "test"
|
|
38
|
+
Requires-Dist: bcrypt<5.1.0; python_version < "3.11" and extra == "test"
|
|
37
39
|
Requires-Dist: argon2-cffi; extra == "test"
|
|
38
40
|
Requires-Dist: pam; extra == "test"
|
|
39
41
|
Requires-Dist: ldap3; extra == "test"
|
|
@@ -46,7 +48,8 @@ Requires-Dist: hypercorn>=0.17; extra == "h2"
|
|
|
46
48
|
Provides-Extra: cheroot
|
|
47
49
|
Requires-Dist: cheroot>=8.5.0; extra == "cheroot"
|
|
48
50
|
Provides-Extra: bcrypt
|
|
49
|
-
Requires-Dist: bcrypt; extra == "bcrypt"
|
|
51
|
+
Requires-Dist: bcrypt>=5.1.0; python_version >= "3.11" and extra == "bcrypt"
|
|
52
|
+
Requires-Dist: bcrypt<5.1.0; python_version < "3.11" and extra == "bcrypt"
|
|
50
53
|
Provides-Extra: argon2
|
|
51
54
|
Requires-Dist: argon2-cffi; extra == "argon2"
|
|
52
55
|
Provides-Extra: ldap
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Radicale
|
|
3
|
-
Version: 3.9.
|
|
3
|
+
Version: 3.9.3
|
|
4
4
|
Summary: CalDAV and CardDAV Server
|
|
5
5
|
Author-email: Guillaume Ayoub <guillaume.ayoub@kozea.fr>, Unrud <unrud@outlook.com>, Peter Bieringer <pb@bieringer.de>
|
|
6
6
|
License: GNU GPL v3
|
|
@@ -21,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.13
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
24
25
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
25
26
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
26
27
|
Classifier: Topic :: Office/Business :: Groupware
|
|
@@ -28,12 +29,13 @@ Requires-Python: >=3.9.0
|
|
|
28
29
|
Description-Content-Type: text/markdown
|
|
29
30
|
License-File: COPYING.md
|
|
30
31
|
Requires-Dist: defusedxml
|
|
31
|
-
Requires-Dist:
|
|
32
|
+
Requires-Dist: passlib>=1.9.6
|
|
32
33
|
Requires-Dist: vobject>=0.9.6
|
|
33
34
|
Provides-Extra: test
|
|
34
35
|
Requires-Dist: pytest>=7; extra == "test"
|
|
35
36
|
Requires-Dist: waitress; extra == "test"
|
|
36
|
-
Requires-Dist: bcrypt; extra == "test"
|
|
37
|
+
Requires-Dist: bcrypt>=5.1.0; python_version >= "3.11" and extra == "test"
|
|
38
|
+
Requires-Dist: bcrypt<5.1.0; python_version < "3.11" and extra == "test"
|
|
37
39
|
Requires-Dist: argon2-cffi; extra == "test"
|
|
38
40
|
Requires-Dist: pam; extra == "test"
|
|
39
41
|
Requires-Dist: ldap3; extra == "test"
|
|
@@ -46,7 +48,8 @@ Requires-Dist: hypercorn>=0.17; extra == "h2"
|
|
|
46
48
|
Provides-Extra: cheroot
|
|
47
49
|
Requires-Dist: cheroot>=8.5.0; extra == "cheroot"
|
|
48
50
|
Provides-Extra: bcrypt
|
|
49
|
-
Requires-Dist: bcrypt; extra == "bcrypt"
|
|
51
|
+
Requires-Dist: bcrypt>=5.1.0; python_version >= "3.11" and extra == "bcrypt"
|
|
52
|
+
Requires-Dist: bcrypt<5.1.0; python_version < "3.11" and extra == "bcrypt"
|
|
50
53
|
Provides-Extra: argon2
|
|
51
54
|
Requires-Dist: argon2-cffi; extra == "argon2"
|
|
52
55
|
Provides-Extra: ldap
|