Unrud
994b2a5b5b
Test calendar with case-sensitive-UIDs
2022-04-18 23:03:10 +02:00
Unrud
35f89fb64d
Refactor DisableRedirectHandler
2022-04-18 23:03:10 +02:00
Unrud
e9367a130a
Remove special cases for python < 3.6
2022-02-01 19:54:46 +01:00
Unrud
c50039e878
Use sys.platform instead of os.name
...
mypy only recognizes sys.platform
2022-02-01 19:54:46 +01:00
Unrud
c296dfd497
Warning instead of error when base prefix ends with '/'
...
Workaround for #1210
2022-01-26 22:08:22 +01:00
Unrud
785659aa26
Redirect …/.well-known/{caldav,carddav} to /
...
Closes #1200
2022-01-26 22:08:22 +01:00
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
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
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
903f43e72e
Run TestBaseRequests only once
2021-12-21 00:00:54 +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
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
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
b65d49788a
Type hints for tests
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
Unrud
40038d73c9
Internal server: Shutdown server via socket
2021-12-20 21:21:20 +01:00
Unrud
9cc88eb4f6
More tests
...
for PROPPATCH, PROPFIND, MKCALENDAR and MKCOL
2021-12-20 21:18:32 +01:00
Unrud
7831ba3e37
Improve variable names
2021-12-20 21:18:32 +01:00
Unrud
6f3a95245f
Extract read*_request_body methods
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
f570bb5738
Exit immediately after cleanup when signal is received
...
Waiting for clients introduces the risk that we exceed some timeout (e.g. from systemd) and get killed instead.
2020-08-31 14:21:44 +02:00
Unrud
f9bd89c92a
Fix internal server on FreeBSD
2020-08-18 23:01:11 +02:00
Unrud
c471ee5603
Fix isort test
...
Was broken by isort>=5
2020-07-23 19:41:37 +02:00
Unrud
46692548d7
Cosmetics
2020-05-24 13:42:56 +02:00
Unrud
6746aa97f3
Add tests for conflicting UIDs and overwriting of items
2020-05-24 13:42:56 +02:00
Unrud
f1f3cc5606
Test current-user-principal prop authentication workaround
2020-05-24 13:42:56 +02:00
Unrud
d76e247978
Handle missing IPv6 support by the kernel
...
This is different from disabled IPv6.
Fixes #1050
2020-05-24 13:42:56 +02:00
Unrud
80bf7340f5
Fix XML error messages
...
Fixes #825
2020-05-22 16:33:04 +02:00
Unrud
7f2d5cea62
New right "i": Only allowing HTTP method GET
2020-04-22 19:20:42 +02:00
Unrud
9bd852ba5e
Remove duplicated code
2020-04-22 19:20:36 +02:00
Unrud
d73a308294
Cosmetics
2020-04-22 19:20:30 +02:00
Unrud
d5f5eeeddf
from_file rights: Replace config parser interpolation
2020-04-22 19:20:24 +02:00
Unrud
f6a3a19680
Simplify Rights plugin interface
2020-04-09 22:02:03 +02:00