Unrud
e5187f3704
Verify that base_prefix starts with '/'
2022-01-22 00:35:30 +01:00
Unrud
5bc2d8f919
Error if SCRIPT_NAME ends with '/'
2022-01-22 00:11:12 +01:00
Unrud
fbeeb6d520
Test X-Script-Name
2022-01-22 00:11:12 +01:00
Unrud
27cc79d029
Improve log message
2022-01-22 00:11:12 +01:00
Unrud
a4e0e21e86
Drop body for HEAD requests last
2022-01-22 00:11:12 +01:00
Unrud
f0b898a27b
Mark as deprecated
2022-01-18 22:49:08 +01:00
Unrud
b9e34005f8
Extract httputils.serve_folder
2022-01-18 22:47:39 +01:00
Unrud
8931b81934
Clarify handling of HEAD request
2022-01-18 22:47:39 +01:00
Unrud
cb2f237882
web.none: Redirect instead of 404
2022-01-18 22:47:39 +01:00
Unrud
9b76b70d06
web.internal: Use absolute path for redirect
2022-01-18 22:47:39 +01:00
Unrud
77a3ea7529
Only redirect to sanitized path under /web
2022-01-18 22:47:39 +01:00
Unrud
9e9f2bb780
Extract httputils.redirect
2022-01-18 22:47:39 +01:00
Unrud
113eeec847
Re-use variable
2022-01-18 22:47:39 +01:00
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