1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-10-12 21:41:56 +00:00
Commit graph

156 commits

Author SHA1 Message Date
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
Tuna Celik
d3d0437bce Changed hook notification strategy on deletion 2020-08-17 03:30:18 +02:00
Tuna Celik
ecff5fac82 Code Cleanup and Optimisation 2020-08-17 03:19:27 +02:00
Tuna Celik
3882cf2bc8 Renamed variable 2020-08-17 03:05:48 +02:00
Tuna Celik
b2fc8bbb0c Refactoring 2020-08-17 03:01:21 +02:00
Tuna Celik
b2a0067a57 Refactoring 2020-08-17 02:36:22 +02:00
Tuna Celik
dc92a88584 Refactoring 2020-08-17 02:26:30 +02:00
Tuna Celik
bfe4332ac5 Refactoring 2020-08-17 02:23:49 +02:00
Tuna Celik
389a6b9906 Code cleanup and refactoring 2020-08-17 02:14:04 +02:00
Tuna Celik
5253a464ab Addd hook capability 2020-08-17 02:05:02 +02:00
Unrud
7ed5122636 Use 403 response for supported-report and valid-sync-token errors
Some clients don't handle 409
2020-05-24 13:32:24 +02:00
Unrud
e63a6e0c85 Cosmetics 2020-05-24 13:31:14 +02:00
Unrud
b9bb017edf Test current-user-principal prop authentication workaround 2020-05-24 13:19:29 +02:00
Unrud
8740357eb2 Remove useless constant 2020-05-19 17:04:40 +02:00
Unrud
d26ee9e7ed Revert "Use secure RNG for auth delay"
This reverts commit 7b79c00ae2.
2020-05-17 01:43:52 +02:00
Unrud
7b79c00ae2 Use secure RNG for auth delay 2020-05-15 21:54:09 +02:00
Unrud
7f2d5cea62 New right "i": Only allowing HTTP method GET 2020-04-22 19:20:42 +02:00
Unrud
aef58bd55c Minimize accesses to rights backend 2020-04-22 19:20:07 +02:00
Unrud
f6a3a19680 Simplify Rights plugin interface 2020-04-09 22:02:03 +02:00
Unrud
180e96b332 Move internal options to other sections 2020-02-19 09:50:36 +01:00
Unrud
5371be2b39 Mark internal configuration options and sections with underscore 2020-02-19 09:50:27 +01:00
Unrud
d3776e55fb Rework XML helpers functions
- Merge make_tag, tag_from_clark and tag_from_human into make_clark and make_human
- Don't use RegEx for parsing
2020-01-19 21:07:54 +01:00
Unrud
262d76cc87 Don't return empty PROPSTAT elements in PROPFIND responses
This should not have any impact on clients.
2020-01-19 21:07:54 +01:00
Unrud
e11661ff3e Protect against XML DOS attacks
Only XML content from authenticated users is parsed.
2020-01-19 21:07:54 +01:00
Unrud
e07df9fd1d Prefix internal attributes with underscore 2020-01-19 21:07:54 +01:00
Unrud
0fb02cd026 Cosmetic changes (pylint) 2020-01-17 12:59:14 +01:00
Unrud
7aca052859 Remove unused variable 2020-01-17 05:00:31 +01:00
Unrud
b4230c4249 Extract method prepare 2020-01-17 05:00:31 +01:00
Unrud
1453c0b72c Mark attributes for internal use with underscore 2020-01-14 06:19:11 +01:00
Unrud
2e4924a0da Improve documentation 2020-01-13 15:51:10 +01:00
Unrud
88a0af8ba1 Improve documentation 2020-01-12 23:32:28 +01:00
Unrud
6202257fc2 Fix variable naming to conform with PEP-8
Originally proposed by @ZipFile in #998
2020-01-12 23:32:28 +01:00
Unrud
b7590f8c84 Rework configuration 2019-06-17 04:18:09 +02:00
Unrud
63e6d091b9 Update copyright 2019-06-17 04:13:24 +02:00
Unrud
14b46c04bf Create configuration for isort 2019-06-15 09:01:55 +02:00
Braxton Plaxco
27185f7291 Get python3 ./setup.py test to pass cleanly
~ B'ezrat Hashem ~
2019-06-15 08:49:05 +02:00
Unrud
55cd363f10 remove unused variables 2018-11-04 18:54:10 +00:00
Unrud
73338ac20b use correct module 2018-09-18 21:04:58 +02:00