Commit Graph

1976 Commits

Author SHA1 Message Date
42ad18bc84 Rename _write_xml_content to _xml_response 2020-09-14 21:17:18 +02:00
80e8750c8a Add more tests 2020-09-14 18:54:02 +02:00
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
6091bd46a3 Respond 405 for unsupported methods instead of server error 2020-09-12 20:23:45 +02:00
9d25cc6c0a 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 15:37:02 +02:00
41bccb265a Update NEWS.md 2020-08-31 14:11:42 +02:00
2851525e15 Try to kill child processes of storage hook 2020-08-31 14:11:42 +02:00
1e011e7011 Start storage hook in own process group
Prevents terminals from sending SIGINT etc.
2020-08-31 14:11:42 +02:00
d4af2cd1a6 Kill storage hook on error 2020-08-31 14:11:42 +02:00
dbe95641c0 Test Python 3.9 2020-08-31 14:11:42 +02:00
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
46c39b28d6 Make shutdown_socket optional 2020-08-31 13:54:47 +02:00
cd3fe3e73c Remove radicale.py script
The script installed by setuptools should be used instead.
2020-08-31 13:54:47 +02:00
ea6649b365 Remove untested FCGI example
Closes #1017
Closes #1018
2020-08-31 13:54:46 +02:00
896963dd3c Update NEWS.md 2020-08-18 22:57:17 +02:00
b98cd98c4c Fix internal server on FreeBSD 2020-08-18 22:51:35 +02:00
f950ce98ab Add reverse proxy examples for Apache .htaccess 2020-08-16 18:21:38 +02:00
03e7e209da Install master version 2020-08-07 04:55:40 +02:00
69b1a4ea77 Install without git 2020-08-07 04:55:06 +02:00
58bcedde98 Simpler Dockerfile
Inspired by #1087
2020-08-07 02:52:20 +02:00
f3b6b4869d Dockerfile: Install bcrypt 2020-07-23 20:12:34 +02:00
c6f6f2c1f4 Dockerfile: Install pip3 2020-07-23 20:12:18 +02:00
e824a2587c Fix Cloudron documentation link 2020-07-23 19:51:33 +02:00
c8c330d481 CI: Fix coveralls
Broken by coveralls>=2.1.0
2020-07-23 19:45:31 +02:00
ac0cfeabb9 CI: Update actions/setup-python to v2 2020-07-23 19:11:34 +02:00
1edfb16143 Fix isort test
Was broken by isort>=5
2020-07-23 18:42:43 +02:00
53c1648738 Update NEWS.md 2020-06-06 21:12:29 +02:00
f780853d8f Fix internal server on OpenBSD
On OpenBSD closed sockets are handled as exceptional conditions.
Fixes #1062
2020-06-06 21:08:14 +02:00
e07f047fad Update NEWS.md
Corrected typo
2020-05-24 15:01:32 +02:00
b87ac43952 Update documentation 2020-05-24 13:47:42 +02:00
e0247f8f92 Cosmetics 2020-05-24 13:41:08 +02:00
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
e63a6e0c85 Cosmetics 2020-05-24 13:31:14 +02:00
d3b90506f5 Add tests for conflicting UIDs and overwriting of items 2020-05-24 13:19:29 +02:00
b9bb017edf Test current-user-principal prop authentication workaround 2020-05-24 13:19:29 +02:00
6ec63ccc9b Handle missing IPv6 support by the kernel
This is different from disabled IPv6.

Fixes #1050
2020-05-24 10:11:40 +02:00
70a8d632fb Fix typo 2020-05-24 10:04:20 +02:00
14c8d99547 Improve spelling 2020-05-22 21:45:01 +02:00
7c4409f93d Fix documentation of auth and rights backends 2020-05-22 19:43:14 +02:00
8914567e58 Update NEWS 2020-05-22 16:37:27 +02:00
83c02a64b9 Shorter web interface title 2020-05-22 16:34:48 +02:00
10aee24056 Use generic version in docker example 2020-05-22 16:34:02 +02:00
3be9a22a91 Fix XML error messages
Fixes #825
2020-05-22 16:34:02 +02:00
8740357eb2 Remove useless constant 2020-05-19 17:04:40 +02:00
150dd0c4cd Trim all (ASCII) whitespace characters 2020-05-19 07:06:44 +02:00
593f9b688c Remove unnecessary string trimming 2020-05-19 06:48:12 +02:00
e077bb5a18 Add version 3.0.0 2020-05-19 05:21:17 +02:00
969502cd7b Upload coverage for all branches 2020-05-19 04:41:14 +02:00
2909cae817 Specify branch for test badge 2020-05-19 04:39:09 +02:00
b700b5ed44 Change version to "master" 2020-05-17 10:37:48 +02:00