Commit graph

1928 commits

Author SHA1 Message Date
Unrud
bb69170290 Bump version to 3.0.6 2020-09-14 21:33:43 +02:00
Unrud
8008b36f22 Fix exceptions raised by decode_request 2020-09-14 21:31:00 +02:00
Unrud
6f3a95245f Extract read*_request_body methods 2020-09-14 21:31:00 +02:00
Unrud
5aef41e691 Rename _write_xml_content to _xml_response 2020-09-14 21:31:00 +02:00
Unrud
f23b413cef Add more tests 2020-09-14 21:31:00 +02:00
Tom Hacohen
09b021f33e 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 21:31:00 +02:00
Unrud
2dc7acda17 Respond 405 for unsupported methods instead of server error 2020-09-14 21:31:00 +02:00
fe60
b5525819c9 ensure group 'radicale' gets created
Without the option --user-group the creation of the group depends on default values.
In OpenSUSE Tumbleweed the user 'radicale' became a member of 'users'.
2020-09-12 18:49:47 +02:00
Unrud
da0d879567 Bump version to 3.0.5 2020-08-31 14:23:03 +02:00
Unrud
1cbdda6c87 Try to kill child processes of storage hook 2020-08-31 14:21:44 +02:00
Unrud
5225e9d017 Start storage hook in own process group
Prevents terminals from sending SIGINT etc.
2020-08-31 14:21:44 +02:00
Unrud
3a4a7eb3e4 Kill storage hook on error 2020-08-31 14:21:44 +02:00
Unrud
0f74257eae Test Python 3.9 2020-08-31 14:21:44 +02:00
Unrud
f570bb5738 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:21:44 +02:00
Unrud
e7a5d03dc2 Make shutdown_socket optional 2020-08-31 14:21:44 +02:00
Unrud
732f35b633 Remove radicale.py script
The script installed by setuptools should be used instead.
2020-08-31 14:21:44 +02:00
Unrud
0ae2964d26 Remove untested FCGI example
Closes #1017
Closes #1018
2020-08-31 14:21:44 +02:00
Unrud
31b8bd525f Bump version to 3.0.4 2020-08-18 23:01:24 +02:00
Unrud
f9bd89c92a Fix internal server on FreeBSD 2020-08-18 23:01:11 +02:00
Unrud
955807d797 Add reverse proxy examples for Apache .htaccess 2020-08-16 18:23:35 +02:00
Unrud
a09689179b Install without git 2020-08-07 04:56:56 +02:00
Unrud
ff1a1ab890 Simpler Dockerfile
Inspired by #1087
2020-08-07 02:29:49 +02:00
Unrud
f20b999630 Dockerfile: Install bcrypt 2020-07-23 20:15:14 +02:00
Unrud
184c1ec3ee Dockerfile: Install pip3 2020-07-23 20:15:03 +02:00
Johannes Zellner
b235225462 Fix Cloudron documentation link 2020-07-23 19:52:12 +02:00
Unrud
0f7caa4b49 CI: Fix coveralls
Broken by coveralls>=2.1.0
2020-07-23 19:46:24 +02:00
Unrud
9ad6ef87e6 CI: Update actions/setup-python to v2 2020-07-23 19:41:47 +02:00
Unrud
c471ee5603 Fix isort test
Was broken by isort>=5
2020-07-23 19:41:37 +02:00
Unrud
46b1fd47ea Bump version to 3.0.3 2020-06-06 21:15:12 +02:00
Unrud
bf6bc3ac86 Fix internal server on OpenBSD
On OpenBSD closed sockets are handled as exceptional conditions.
Fixes #1062
2020-06-06 21:13:15 +02:00
Nico
2f8a2d746d Update NEWS.md
Corrected typo
2020-05-24 15:06:17 +02:00
Unrud
06f898adcc Bump version to 3.0.2 2020-05-24 13:46:21 +02:00
Unrud
46692548d7 Cosmetics 2020-05-24 13:42:56 +02:00
Unrud
88843770b8 Use 403 response for supported-report and valid-sync-token errors
Some clients don't handle 409
2020-05-24 13:42:56 +02:00
Unrud
6a29233737 Cosmetics 2020-05-24 13:42:56 +02:00
Unrud
6746aa97f3 Add tests for conflicting UIDs and overwriting of items 2020-05-24 13:42:56 +02:00
Unrud
f1f3cc5606 Test current-user-principal prop authentication workaround 2020-05-24 13:42:56 +02:00
Unrud
d76e247978 Handle missing IPv6 support by the kernel
This is different from disabled IPv6.

Fixes #1050
2020-05-24 13:42:56 +02:00
Unrud
303b328b96 Fix typo 2020-05-24 13:42:56 +02:00
Unrud
42e1789edc Improve spelling 2020-05-22 21:49:23 +02:00
Unrud
c3c11a5edc Fix documentation of auth and rights backends 2020-05-22 19:45:32 +02:00
Unrud
a239b3dccc Bump version to 3.0.1 2020-05-22 16:33:06 +02:00
Unrud
4d08cab382 Shorter web interface title 2020-05-22 16:33:05 +02:00
Unrud
55cfceaba3 Use generic version in docker example 2020-05-22 16:33:05 +02:00
Unrud
80bf7340f5 Fix XML error messages
Fixes #825
2020-05-22 16:33:04 +02:00
Unrud
ada9fa1cce Remove useless constant 2020-05-19 17:06:26 +02:00
Unrud
6158fb961b Trim all (ASCII) whitespace characters 2020-05-19 07:03:58 +02:00
Unrud
1f8cb8ed89 Remove unnecessary string trimming 2020-05-19 06:52:01 +02:00
Unrud
159ae0067d
Specify branch for test badge 2020-05-19 04:39:56 +02:00
Unrud
c3e33d83e3
Upload coverage for all branches 2020-05-19 04:32:52 +02:00