Unrud
901db46898
Tests: Check Location header and body for redirects
2022-01-18 22:47:39 +01:00
Unrud
88ff1b4c28
Tests: Simplify HTTP status check
2022-01-18 22:47:39 +01:00
Unrud
a4150c633a
Workaround for broken contact PHOTO from InfCloud
...
See issue #1205
2022-01-18 22:44:32 +01:00
Unrud
2a29ad6a17
Set Content-Length for HEAD requests
2022-01-18 22:44:32 +01:00
Unrud
a26dcf3188
Redirect GET and HEAD requests to sanitized path
2022-01-18 22:44:32 +01:00
Unrud
2b8befa5db
Don't sanitize WSGI script name
2022-01-18 22:44:32 +01:00
Unrud
8e0a933423
Cosmetics
2022-01-18 22:44:32 +01:00
Lauri Tirkkonen
035ff2b546
config & rights: use open() for better error messages
...
ConfigParser().read() doesn't differentiate between different types of
failure to read files, causing eg. "No such file" to be logged in all
cases, for example if permissions are insufficient. fix that by using
open() and ConfigParser().read_file() instead.
2022-01-18 22:44:32 +01:00
Unrud
63619e1ef7
Change "user name" to "username"
2022-01-18 22:43:24 +01:00
Unrud
4679700e28
Don't manually assemble origin
2022-01-18 22:43:24 +01:00
Unrud
019c972b9d
Fix dlopen on Android
2021-12-25 23:13:20 +01:00
Unrud
9fd715de37
Load no config file for --config without argument
2021-12-25 23:13:20 +01:00
Unrud
8942684542
Revert "Require argument for --config command-line option"
...
This reverts commit e629e9a2e1
.
2021-12-25 23:13:20 +01:00
Unrud
903f43e72e
Run TestBaseRequests only once
2021-12-21 00:00:54 +01:00
Unrud
d11a0b26b4
Replace all dates if any has the wrong type
2021-12-21 00:00:47 +01:00
Unrud
74340b8e7b
Assert waiters and waiter are still the same
2021-12-21 00:00:37 +01:00
Unrud
ef9a2fbab8
Convert EXDATE and RDATE to same type as DTSTART
...
Fixes #1146
Closes #1199
2021-12-20 21:30:02 +01:00
Unrud
dc3a733f04
Change type of stack_frame to Optional[...]
2021-12-20 21:30:02 +01:00
Unrud
52ae129830
Change type of signal number to int
2021-12-20 21:30:02 +01:00
Unrud
facf81e21d
Use correct RRULE
2021-12-20 21:30:02 +01:00
Unrud
6e6bdfa165
Check all RRULE occurrences for infinity
2021-12-20 21:28:40 +01:00
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