Unrud
496b629cb4
Revert "Assume F_FULLFSYNC on darwin"
2022-02-01 20:25:17 +01:00
Unrud
a1a0fdd673
Bump version to 3.1.4
2022-02-01 19:55:59 +01:00
Unrud
c5a917826b
Assume F_FULLFSYNC on darwin
2022-02-01 19:54:46 +01:00
Unrud
45ad20a3de
Actions: Skip pypy on windows
2022-02-01 19:54:46 +01: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
066cefcc17
Fix Mypy error
2022-02-01 19:54:46 +01:00
Unrud
7ed3d8e1a9
Revert "Actions: Display python info"
...
This reverts commit af6c6b96b9
.
2022-02-01 19:54:46 +01:00
Unrud
db53cc0433
Actions: Test pypy-3.7 and pypy-3.8
2022-02-01 19:54:46 +01:00
Unrud
1a64be8015
Actions: Run on OS from test matrix
2022-02-01 19:54:46 +01:00
Unrud
8b9e851497
Actions: Display python info
2022-02-01 19:54:46 +01:00
Unrud
6eacd29acb
Fallback if RENAME_EXCHANGE not supported by fs
...
Fixes #1213
2022-02-01 19:54:46 +01:00
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