Commit graph

2045 commits

Author SHA1 Message Date
Unrud
a76de3da83 Bump version to 3.1.3 2022-01-26 22:09:48 +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
ef997ca27a Update test action badge 2022-01-22 00:50:36 +01:00
Unrud
e5187f3704 Verify that base_prefix starts with '/' 2022-01-22 00:35:30 +01:00
Unrud
3b5261f79b Bump version to 3.1.2 2022-01-22 00:14:06 +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
3420c182a9 Bump version to 3.1.1 2022-01-18 22:51:25 +01:00
Unrud
d961253348 Change title to Changelog 2022-01-18 22:50:46 +01:00
Unrud
f0b898a27b Mark as deprecated 2022-01-18 22:49:08 +01:00
Unrud
b4f8f0a746 Rename NEWS.md to CHANGELOG.md 2022-01-18 22:48:45 +01:00
Unrud
87536fca2e Update NEWS.md 2022-01-18 22:47:39 +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
c6462a253a Update NEWS.md 2022-01-18 22:46:21 +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
3c47974b1b Update Thunderbird documentation 2022-01-07 23:56:42 +01:00
Unrud
3af9cb6a50 Bump version to 3.1.0 2021-12-26 12:15:40 +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
Frank Sachsenheim
b6d7261f91 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:54:04 +01:00
Frank Sachsenheim
3bd8c36230 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:53:48 +01:00
Frank Sachsenheim
2d04ea8c39 Dockerfile: Reduces layers and size 2021-12-20 22:53:02 +01:00
Unrud
20f08cd02a Remove path from powershell 2021-12-20 22:00:11 +01:00
Unrud
6df25bb239 Update NEWS.md 2021-12-20 21:30:02 +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