Commit Graph

2063 Commits

Author SHA1 Message Date
129ebf7b86 Fix typo 2022-02-07 14:42:34 +01:00
730332d680 Fix YAML syntax (string not number) 2022-02-07 14:20:50 +01:00
b87d1c8038 Test python 3.10 2022-02-07 14:14:03 +01:00
c155e2a351 Use pytest<7 for tests 2022-02-07 14:13:56 +01:00
11dd0e9380 Ignore configuration file if access denied
Fixes #1215
Bug was introduced in 4c44940ec1
2022-02-07 13:38:44 +01:00
4d4c3bda75 Fix F_FULLFSYNC on PyPy + Fallback if unsupported 2022-02-03 14:36:53 +01:00
7e29d9b5c3 Revert "Assume F_FULLFSYNC on darwin" 2022-02-01 20:24:22 +01:00
8c69bb71aa Update Changelog 2022-02-01 19:58:01 +01:00
b2b4651fc4 Update Changelog 2022-02-01 19:35:02 +01:00
cd5bc3590f Assume F_FULLFSYNC on darwin 2022-02-01 19:14:40 +01:00
e42b46c722 Actions: Skip pypy on windows 2022-02-01 19:07:54 +01:00
580b97fa0f Remove special cases for python < 3.6 2022-02-01 17:56:02 +01:00
0221fc357b Use sys.platform instead of os.name
mypy only recognizes sys.platform
2022-02-01 17:56:02 +01:00
523960bc9f Fix Mypy error 2022-02-01 16:19:51 +01:00
3779d749cd Revert "Actions: Display python info"
This reverts commit af6c6b96b9.
2022-02-01 15:57:25 +01:00
b610c3214d Actions: Test pypy-3.7 and pypy-3.8 2022-02-01 15:54:27 +01:00
c3d22e680f Actions: Run on OS from test matrix 2022-02-01 15:47:17 +01:00
af6c6b96b9 Actions: Display python info 2022-02-01 15:43:21 +01:00
45ff34f6c3 Fallback if RENAME_EXCHANGE not supported by fs
Fixes #1213
2022-02-01 11:28:40 +01:00
47f3a6d684 Update Changelog 2022-01-26 22:06:09 +01:00
2cbbd4dc9c Warning instead of error when base prefix ends with '/'
Workaround for #1210
2022-01-26 22:06:09 +01:00
e4cc73098a Redirect …/.well-known/{caldav,carddav} to /
Closes #1200
2022-01-22 18:23:03 +01:00
10d2571d89 Update test action badge 2022-01-22 00:47:01 +01:00
17a5e5b6e0 Verify that base_prefix starts with '/' 2022-01-22 00:34:38 +01:00
340582f84c Update Changelog 2022-01-22 00:12:33 +01:00
3763ed46c4 Error if SCRIPT_NAME ends with '/' 2022-01-21 19:56:57 +01:00
7fde7d5005 Test X-Script-Name 2022-01-21 19:56:56 +01:00
0b7e9d73c9 Improve log message 2022-01-21 19:56:56 +01:00
c96e5b6667 Drop body for HEAD requests last 2022-01-19 19:58:05 +01:00
4822807c4d Update CHANGELOG.md 2022-01-19 00:27:56 +01:00
da8475908e Change title to Changelog 2022-01-18 22:50:32 +01:00
4224c60e9b Mark as deprecated 2022-01-18 22:35:49 +01:00
59e4f2d594 Rename NEWS.md to CHANGELOG.md 2022-01-18 21:39:37 +01:00
81106fa647 Update NEWS.md 2022-01-18 18:24:18 +01:00
33fcda7c32 Extract httputils.serve_folder 2022-01-18 18:20:16 +01:00
555e4ccc51 Clarify handling of HEAD request 2022-01-18 18:20:16 +01:00
685a91bfe6 web.none: Redirect instead of 404 2022-01-18 18:20:16 +01:00
22fc38850c web.internal: Use absolute path for redirect 2022-01-18 18:20:15 +01:00
4ed77cabc6 Only redirect to sanitized path under /web 2022-01-18 18:20:15 +01:00
d1532aa466 Extract httputils.redirect 2022-01-18 18:20:15 +01:00
1336c02079 Re-use variable 2022-01-18 18:20:14 +01:00
e0adecf30c Tests: Check Location header and body for redirects 2022-01-16 13:09:13 +01:00
402bd3580e Tests: Simplify HTTP status check 2022-01-16 13:07:56 +01:00
9c0b6cdaeb Update NEWS.md 2022-01-15 23:58:58 +01:00
75df1093be Workaround for broken contact PHOTO from InfCloud
See issue #1205
2022-01-15 23:44:00 +01:00
4a0bcde7a3 Set Content-Length for HEAD requests 2022-01-15 22:33:55 +01:00
b93842b10c Redirect GET and HEAD requests to sanitized path 2022-01-15 22:33:55 +01:00
6dee974b74 Don't sanitize WSGI script name 2022-01-15 22:33:55 +01:00
e3a982dbce Cosmetics 2022-01-15 22:33:55 +01:00
4c44940ec1 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-11 20:20:21 +01:00