1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00
Commit graph

1647 commits

Author SHA1 Message Date
Unrud
f8e28f6b6e Fix new type error 2023-03-05 17:15:34 +01:00
Tuna Celik
3e6d8db98d Synced config.py with origin 2023-02-10 23:32:46 +01:00
Tuna Celik
4a0b2e8791 Rearrange imports 2023-02-10 23:32:32 +01:00
Tuna Celik
22731f3d26 Fixed couple of points after origin sync 2023-02-10 22:52:49 +01:00
Tuna Celik
dd723dae5d Resolved conflicts 2023-02-10 22:10:47 +01:00
Tuna Celik
cf81d1f9a7 Synced with origin 2023-02-10 22:03:33 +01:00
trougnouf (Benoit Brummer)
f4a87afab7 fix #715 (Main Component is missing when only recurrence id exists) with balrok's patch 2022-07-19 00:15:33 +02:00
Unrud
5aa2f59b38 Always test bcrypt 2022-07-03 12:56:24 +02:00
Unrud
515b196fda Remove missing type 2022-07-02 20:39:09 +02:00
Unrud
a5716a7d84 Fix random href fallback 2022-04-20 17:49:29 +02:00
Unrud
f06af066f9 Improve error message 2022-04-20 17:17:01 +02:00
Unrud
c14defcba8 Ignore NotADirectoryError for optional config files
Fixes #1234
2022-04-14 16:37:34 +02:00
Unrud
2b8f4b9419 Replace pkg_resources with importlib for Python >= 3.9
Fixes #1184
2022-04-04 18:18:50 +02:00
Unrud
a97093d001 Check if files exist when uploading items non-atomic 2022-04-02 18:11:46 +02:00
Unrud
b64c9baa5f Fix upload of calendars with colliding UIDs 2022-03-30 22:27:05 +02:00
Unrud
ed8a2284a4 Test calendar with case-sensitive-UIDs 2022-03-30 22:27:05 +02:00
Unrud
3c218ecd9c Windows: Block alternate data streams 2022-03-30 22:27:05 +02:00
Unrud
0baf1dc908 Refactor DisableRedirectHandler 2022-03-22 17:58:10 +01:00
Unrud
11dd0e9380 Ignore configuration file if access denied
Fixes #1215
Bug was introduced in 4c44940ec1
2022-02-07 13:38:44 +01:00
Unrud
4d4c3bda75 Fix F_FULLFSYNC on PyPy + Fallback if unsupported 2022-02-03 14:36:53 +01:00
Unrud
7e29d9b5c3 Revert "Assume F_FULLFSYNC on darwin" 2022-02-01 20:24:22 +01:00
Unrud
cd5bc3590f Assume F_FULLFSYNC on darwin 2022-02-01 19:14:40 +01:00
Unrud
580b97fa0f Remove special cases for python < 3.6 2022-02-01 17:56:02 +01:00
Unrud
0221fc357b Use sys.platform instead of os.name
mypy only recognizes sys.platform
2022-02-01 17:56:02 +01:00
Unrud
523960bc9f Fix Mypy error 2022-02-01 16:19:51 +01:00
Unrud
45ff34f6c3 Fallback if RENAME_EXCHANGE not supported by fs
Fixes #1213
2022-02-01 11:28:40 +01:00
Unrud
2cbbd4dc9c Warning instead of error when base prefix ends with '/'
Workaround for #1210
2022-01-26 22:06:09 +01:00
Unrud
e4cc73098a Redirect …/.well-known/{caldav,carddav} to /
Closes #1200
2022-01-22 18:23:03 +01:00
Unrud
17a5e5b6e0 Verify that base_prefix starts with '/' 2022-01-22 00:34:38 +01:00
Unrud
3763ed46c4 Error if SCRIPT_NAME ends with '/' 2022-01-21 19:56:57 +01:00
Unrud
7fde7d5005 Test X-Script-Name 2022-01-21 19:56:56 +01:00
Unrud
0b7e9d73c9 Improve log message 2022-01-21 19:56:56 +01:00
Unrud
c96e5b6667 Drop body for HEAD requests last 2022-01-19 19:58:05 +01:00
Unrud
4224c60e9b Mark as deprecated 2022-01-18 22:35:49 +01:00
Unrud
33fcda7c32 Extract httputils.serve_folder 2022-01-18 18:20:16 +01:00
Unrud
555e4ccc51 Clarify handling of HEAD request 2022-01-18 18:20:16 +01:00
Unrud
685a91bfe6 web.none: Redirect instead of 404 2022-01-18 18:20:16 +01:00
Unrud
22fc38850c web.internal: Use absolute path for redirect 2022-01-18 18:20:15 +01:00
Unrud
4ed77cabc6 Only redirect to sanitized path under /web 2022-01-18 18:20:15 +01:00
Unrud
d1532aa466 Extract httputils.redirect 2022-01-18 18:20:15 +01:00
Unrud
1336c02079 Re-use variable 2022-01-18 18:20:14 +01:00
Unrud
e0adecf30c Tests: Check Location header and body for redirects 2022-01-16 13:09:13 +01:00
Unrud
402bd3580e Tests: Simplify HTTP status check 2022-01-16 13:07:56 +01:00
Unrud
75df1093be Workaround for broken contact PHOTO from InfCloud
See issue #1205
2022-01-15 23:44:00 +01:00
Unrud
4a0bcde7a3 Set Content-Length for HEAD requests 2022-01-15 22:33:55 +01:00
Unrud
b93842b10c Redirect GET and HEAD requests to sanitized path 2022-01-15 22:33:55 +01:00
Unrud
6dee974b74 Don't sanitize WSGI script name 2022-01-15 22:33:55 +01:00
Unrud
e3a982dbce Cosmetics 2022-01-15 22:33:55 +01:00
Lauri Tirkkonen
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
Unrud
8fa4345b6f Change "user name" to "username" 2022-01-07 23:54:34 +01:00