Unrud
96ba4472f9
Change _collection_class to ClassVar
2021-12-20 21:21:21 +01:00
Unrud
8b04c83583
Instant notification of all waiting readers
2021-12-20 21:21:21 +01:00
Unrud
d5ac99a502
Extract LockDict class
2021-12-20 21:21:21 +01:00
Unrud
1678a3dc09
Split storage from base tests
2021-12-20 21:21:21 +01:00
Unrud
036015ad17
Extract method configure
2021-12-20 21:21:21 +01:00
Unrud
074b63c53c
Rename BaseFileSystemTest to BaseStorageTest
2021-12-20 21:21:21 +01:00
Unrud
505220ce25
Cosmetics
2021-12-20 21:21:21 +01:00
Unrud
6ff0be84e4
Change name in file header
2021-12-20 21:21:21 +01:00
Unrud
d17aae2c18
Add multifilesystem_nolock storage
2021-12-20 21:21:21 +01:00
Unrud
3f20aa8e22
Require argument for --config command-line option
2021-12-20 21:21:20 +01:00
Unrud
52db4fa463
Optional argument for boolean command-line options
2021-12-20 21:21:20 +01:00
Unrud
c3d1d19471
Support backend specific options and HTTP headers via command-line
2021-12-20 21:21:20 +01:00
Unrud
023d557980
Refactor command line argument parser
2021-12-20 21:21:20 +01:00
Unrud
b6405e11cb
Rename opposite to opposite_aliases
2021-12-20 21:21:20 +01:00
Unrud
91e88091fc
Don't modify DEFAULT_CONFIG_SCHEMA
2021-12-20 21:21:20 +01:00
Jochen Sprickerhof
2f0a7855a1
Add py.typed to mark as having typing information
...
According to PEP 561.
2021-12-20 21:21:20 +01:00
Unrud
d686df694e
Remove unused variable
2021-12-20 21:21:20 +01:00
Unrud
b65d49788a
Type hints for tests
2021-12-20 21:21:20 +01:00
Unrud
0de8628952
Type hints for multifilesystem
2021-12-20 21:21:20 +01:00
Unrud
c93d7b8715
More type hints
2021-12-20 21:21:20 +01:00
Unrud
23a2989b77
Enable static type checking
2021-12-20 21:21:20 +01:00
Unrud
94a1181dc6
Fail when test file can't be read
2021-12-20 21:21:20 +01:00
Michael Stilkerich
23197e8d3e
Fix is-not-defined filter in addressbook-query report
2021-12-20 21:21:20 +01:00
Tim Gates
1b7817f1d5
docs: fix simple typo, errornous -> erroneous ( #1126 )
...
* docs: fix simple typo, errornous -> erroneous
There is a small typo in radicale/storage/__init__.py.
Should read `erroneous` rather than `errornous`.
* Update __init__.py
2021-12-20 21:21:20 +01:00
Unrud
02a9d749a2
Allow float for server->timeout setting
2021-12-20 21:21:20 +01:00
Unrud
8f0de388cb
Disallow abbreviated arguments
2021-12-20 21:21:20 +01:00
Unrud
be06b054c2
Use renameat2 on Linux for atomic exchanging of files
2021-12-20 21:21:20 +01:00
Unrud
43c1f2f05a
Improve error messages for locking problems on Windows
2021-12-20 21:21:20 +01:00
Unrud
68be2b2bbd
Cancel mkcalendar request on error
2021-12-20 21:21:20 +01:00
Unrud
21b1e356a0
Improve sanitization of collection properties
2021-12-20 21:21:20 +01:00
Unrud
547341642a
Fix matching of date property
2021-12-20 21:21:20 +01:00
Unrud
40038d73c9
Internal server: Shutdown server via socket
2021-12-20 21:21:20 +01:00
Unrud
74b2f6148d
Improve log messages
2021-12-20 21:21:20 +01:00
Unrud
d807fc7ff2
Workaround: defusedxml messes up subsequent imports of ElementTree
...
See https://github.com/tiran/defusedxml/issues/54
2021-12-20 21:21:20 +01:00
Unrud
fe796a6b7c
Cosmetics
2021-12-20 21:21:20 +01:00
Unrud
ef947fe561
Improve log message
2021-12-20 21:21:20 +01:00
Unrud
447a9d91f3
Don't use assertion for expected error
2021-12-20 21:21:20 +01:00
Unrud
dd3a3b17d4
Don't modify global constants
2021-12-20 21:21:20 +01:00
Unrud
c89cd67065
Improve log messages
...
Log failed login attempts with remote host as warning (closes #1104 )
Add component UID to log message about invalid recurrence rules (reference #602 )
Use "forwarded for" instead of "forwarded by" for remote host
2021-12-20 21:18:32 +01:00
Unrud
9cc88eb4f6
More tests
...
for PROPPATCH, PROPFIND, MKCALENDAR and MKCOL
2021-12-20 21:18:32 +01:00
Unrud
d23a7365ba
Allow multiple <D:set> and <D:remove> elements and consider order
2021-12-20 21:18:32 +01:00
Unrud
4ff3f545cc
Single <D:propstat> element in PROPPATCH response
...
Instead of multiple elements with the same status
2021-12-20 21:18:32 +01:00
Unrud
7831ba3e37
Improve variable names
2021-12-20 21:18:32 +01:00
Unrud
8008b36f22
Fix exceptions raised by decode_request
2020-09-14 21:31:00 +02:00
Unrud
6f3a95245f
Extract read*_request_body methods
2020-09-14 21:31:00 +02:00
Unrud
5aef41e691
Rename _write_xml_content to _xml_response
2020-09-14 21:31:00 +02:00
Unrud
f23b413cef
Add more tests
2020-09-14 21:31:00 +02:00
Tom Hacohen
09b021f33e
Web: add support for the POST HTTP method. ( #1097 )
...
* Web: add support for the POST HTTP method.
This patch adds support for POST in addition to the already supported GET.
This is needed for implementing more complex web modules that also
support configuration modifications and advanced queries.
* Base web: return METHOD_NOT_ALLOWED when method isn't implemenetd.
Co-authored-by: Unrud <Unrud@users.noreply.github.com>
2020-09-14 21:31:00 +02:00
Unrud
2dc7acda17
Respond 405 for unsupported methods instead of server error
2020-09-14 21:31:00 +02:00
Unrud
1cbdda6c87
Try to kill child processes of storage hook
2020-08-31 14:21:44 +02:00