Peter Bieringer
32050ef117
Merge pull request #1229 from leso-kn/feature/advertise-webcal-calendars
...
Added support for webcal-subscriptions
2024-03-03 07:02:30 +01:00
leso-kn
94a5ff0d68
Added support for webcal-subscriptions
2024-03-03 01:13:21 +01:00
Peter Bieringer
7936e714d4
Revert "Add check for base_prefix indicating Radicale running at site root (/)"
2024-03-02 20:38:17 +01:00
Peter Bieringer
c5b48c1ee4
Merge pull request #1343 from fasterit/master
...
Add check for base_prefix indicating Radicale running at site root (/)
2024-03-02 20:35:27 +01:00
Tuna Celik
a72964ab3f
learn to make tox happy
2024-03-02 19:44:10 +01:00
Tuna Celik
b24eae8369
added missing import
2024-03-02 18:28:48 +01:00
Tuna Celik
50140a54f5
resolved conflicts
2024-03-02 16:26:04 +01:00
Daniel Lange
cb5b92cb7a
Add check for base_prefix indicating Radicale running at site root (/)
...
Alternative to PR #1310
2023-12-20 11:24:51 +01:00
Peter Bieringer
a3aa0ce7d9
add support for non-standard server ports
2023-04-30 08:58:50 +02:00
Unrud
d7ce2f0b98
Fix typo in Content-Disposition header
...
Fixes #1298
2023-04-22 20:01:58 +02:00
Unrud
360484e2d5
Use X-Forwarded-* for server netloc when available
...
Closes #1271
2023-03-08 15:49:46 +01:00
Unrud
1a78114a56
Compare network location with port
2023-03-08 15:49:45 +01:00
Tuna Celik
4a0b2e8791
Rearrange imports
2023-02-10 23:32:32 +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
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
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
555e4ccc51
Clarify handling of HEAD request
2022-01-18 18:20:16 +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
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
bbaf0ebd8c
Change name in file header
2021-12-09 16:55:46 +01:00
Unrud
f921e48648
Remove unused variable
2021-09-27 17:22:37 +02:00
Unrud
cecb17df03
More type hints
2021-09-26 22:24:45 +02:00
Unrud
73e42f8101
Enable static type checking
2021-09-26 22:24:45 +02:00
Unrud
b4c76c94ad
Cancel mkcalendar request on error
2020-10-11 19:20:20 +02:00
Unrud
b14889e170
Workaround: defusedxml messes up subsequent imports of ElementTree
...
See https://github.com/tiran/defusedxml/issues/54
2020-10-04 10:15:16 +02:00
Unrud
0b3e4204a5
Cosmetics
2020-10-04 10:14:57 +02:00
Unrud
d48bacc8e3
Improve log messages
...
Log failed login attempts with remote host as warning (closes #1104 )
Add component UID to log message about invalid recurrence rules (reference #602 )
Use "forwarded for" instead of "forwarded by" for remote host
2020-09-26 22:08:23 +02:00
Unrud
10dafde32d
Allow multiple <D:set> and <D:remove> elements and consider order
2020-09-26 22:08:22 +02:00
Unrud
1fe011020b
Single <D:propstat> element in PROPPATCH response
...
Instead of multiple elements with the same status
2020-09-26 22:08:21 +02:00
Unrud
7642d72919
Improve variable names
2020-09-26 22:08:21 +02:00
Unrud
0ce90d6b34
Extract read*_request_body methods
2020-09-14 21:19:48 +02:00
Unrud
42ad18bc84
Rename _write_xml_content to _xml_response
2020-09-14 21:17:18 +02:00
Unrud
80e8750c8a
Add more tests
2020-09-14 18:54:02 +02:00
Tom Hacohen
d3bb19800c
Web: add support for the POST HTTP method. ( #1097 )
...
* Web: add support for the POST HTTP method.
This patch adds support for POST in addition to the already supported GET.
This is needed for implementing more complex web modules that also
support configuration modifications and advanced queries.
* Base web: return METHOD_NOT_ALLOWED when method isn't implemenetd.
Co-authored-by: Unrud <Unrud@users.noreply.github.com>
2020-09-14 18:17:45 +02:00
Unrud
6091bd46a3
Respond 405 for unsupported methods instead of server error
2020-09-12 20:23:45 +02:00
Tuna Celik
9b3bb2de2b
Skipped empty proppatch request notifications
2020-08-19 01:51:15 +02:00
Tuna Celik
90f10f2c4a
Changed HookNotificationItem preparition priority
2020-08-19 01:45:05 +02:00
Tuna Celik
3214c498d1
Code Refactoring
2020-08-19 01:40:59 +02:00
Tuna Celik
06fbac67a1
Added hook to proppatch request
2020-08-19 01:38:49 +02:00
Tuna Celik
bf5272e83d
Improved notification message with user/calendar point as field
2020-08-17 14:43:52 +02:00