Unrud
b4c76c94ad
Cancel mkcalendar request on error
2020-10-11 19:20:20 +02:00
Unrud
4d4b040b81
Improve sanitization of collection properties
2020-10-11 19:20:20 +02:00
Unrud
9909454761
Fix matching of date property
2020-10-06 07:31:29 +02:00
Unrud
0e8949ff71
Internal server: Shutdown server via socket
2020-10-04 14:40:52 +02:00
Unrud
c8b31637ef
Improve log messages
2020-10-04 14:40:52 +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
18f21e26d5
Improve log message
2020-10-04 05:40:46 +02:00
Unrud
a9804dd550
Don't use assertion for expected error
2020-10-04 05:39:58 +02:00
Unrud
7096ab74e8
Don't modify global constants
2020-10-04 05:38:58 +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
ca27156605
More tests
...
for PROPPATCH, PROPFIND, MKCALENDAR and MKCOL
2020-09-26 22:08:22 +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
a3ca887a37
Fix exceptions raised by decode_request
2020-09-14 21:20:39 +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
Unrud
2851525e15
Try to kill child processes of storage hook
2020-08-31 14:11:42 +02:00
Unrud
1e011e7011
Start storage hook in own process group
...
Prevents terminals from sending SIGINT etc.
2020-08-31 14:11:42 +02:00
Unrud
d4af2cd1a6
Kill storage hook on error
2020-08-31 14:11:42 +02:00
Unrud
30c9c55358
Exit immediately after cleanup when signal is received
...
Waiting for clients introduces the risk that we exceed some timeout (e.g. from systemd) and get killed instead.
2020-08-31 14:11:42 +02:00
Unrud
46c39b28d6
Make shutdown_socket optional
2020-08-31 13:54:47 +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
Unrud
b98cd98c4c
Fix internal server on FreeBSD
2020-08-18 22:51:35 +02:00
Tuna Celik
46d1a31441
Improved rabbitmq connection lost recovery
2020-08-18 11:26:25 +02:00
Tuna Celik
95eb44a87f
Modified exception handling for notification item publishing to handle any exception
2020-08-17 15:13:40 +02:00
Tuna Celik
b8af0c7490
Added connection recovery and logging
2020-08-17 15:09:38 +02:00
Tuna Celik
896642b374
Changed queue durability from false to true
2020-08-17 14:44:16 +02:00
Tuna Celik
bf5272e83d
Improved notification message with user/calendar point as field
2020-08-17 14:43:52 +02:00
Tuna Celik
da31f80ba5
Refactoring
2020-08-17 03:32:13 +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
d19c16c8d3
Refactoring
2020-08-17 02:38:06 +02:00
Tuna Celik
1289003da1
Refactoring
2020-08-17 02:37:21 +02:00
Tuna Celik
b2a0067a57
Refactoring
2020-08-17 02:36:22 +02:00
Tuna Celik
2e93c012bf
Refactoring
2020-08-17 02:29:28 +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
1edfb16143
Fix isort test
...
Was broken by isort>=5
2020-07-23 18:42:43 +02:00