Commit Graph

2093 Commits

Author SHA1 Message Date
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
8fa4345b6f Change "user name" to "username" 2022-01-07 23:54:34 +01:00
cfba4c17b6 Update Thunderbird documentation 2022-01-07 23:51:21 +01:00
d3f99d349d Don't manually assemble origin 2022-01-07 23:23:53 +01:00
bd0a95c098 Update NEWS.md 2021-12-26 12:16:42 +01:00
7bfb6c0132 Fix dlopen on Android 2021-12-25 19:58:29 +01:00
4564de9f9d Load no config file for --config without argument 2021-12-24 18:13:18 +01:00
f75671354c Revert "Require argument for --config command-line option"
This reverts commit e629e9a2e1.
2021-12-24 18:00:09 +01:00
2cd0a3189e Run TestBaseRequests only once 2021-12-20 23:57:55 +01:00
eac460d4d9 Replace all dates if any has the wrong type 2021-12-20 23:47:39 +01:00
fb3de73d1c Assert waiters and waiter are still the same 2021-12-20 23:47:06 +01:00
06f93a032b Update branch name 2021-12-20 22:33:38 +01:00
c4745680e0 Dockerfile: Removes volume for config data
Configuration data can be provided by either
- putting it into a derived image
- mounting a volume
While an anonymous volume is of no use.
2021-12-20 22:07:24 +01:00
11fd29a2d1 Dockerfile: Removes arguable comments
- user data could be stored in any kind of volume
  - using a mounted one is often not recommendable
- there are other means to publish a service like HTTP reverse proxies
- the CMD directive can't and shouldn't be used to expose behaviour
  - in fact, the value is required by the previous directive
2021-12-20 22:07:24 +01:00
d90369b67c Dockerfile: Reduces layers and size 2021-12-20 22:07:24 +01:00
ec19a1a12c Remove path from powershell 2021-12-20 21:33:23 +01:00
481bd4e4b9 Update NEWS.md 2021-12-20 19:35:22 +01:00
a20791e0c3 Convert EXDATE and RDATE to same type as DTSTART
Fixes #1146
Closes #1199
2021-12-20 00:55:39 +01:00
537737da32 Change type of stack_frame to Optional[...] 2021-12-19 12:58:35 +01:00
fb9cfeb81e Change type of signal number to int 2021-12-19 12:49:26 +01:00
bfba027446 Use correct RRULE 2021-12-18 22:14:04 +01:00