Commit Graph

2024 Commits

Author SHA1 Message Date
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
fe60
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
Unrud
41bccb265a Update NEWS.md 2020-08-31 14:11:42 +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
dbe95641c0 Test Python 3.9 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
Unrud
cd3fe3e73c Remove radicale.py script
The script installed by setuptools should be used instead.
2020-08-31 13:54:47 +02:00
Unrud
ea6649b365 Remove untested FCGI example
Closes #1017
Closes #1018
2020-08-31 13:54:46 +02:00
Unrud
896963dd3c Update NEWS.md 2020-08-18 22:57:17 +02:00
Unrud
b98cd98c4c Fix internal server on FreeBSD 2020-08-18 22:51:35 +02:00
Unrud
f950ce98ab Add reverse proxy examples for Apache .htaccess 2020-08-16 18:21:38 +02:00
Unrud
03e7e209da Install master version 2020-08-07 04:55:40 +02:00
Unrud
69b1a4ea77 Install without git 2020-08-07 04:55:06 +02:00
Unrud
58bcedde98 Simpler Dockerfile
Inspired by #1087
2020-08-07 02:52:20 +02:00
Unrud
f3b6b4869d Dockerfile: Install bcrypt 2020-07-23 20:12:34 +02:00
Unrud
c6f6f2c1f4 Dockerfile: Install pip3 2020-07-23 20:12:18 +02:00
Johannes Zellner
e824a2587c Fix Cloudron documentation link 2020-07-23 19:51:33 +02:00
Unrud
c8c330d481 CI: Fix coveralls
Broken by coveralls>=2.1.0
2020-07-23 19:45:31 +02:00
Unrud
ac0cfeabb9 CI: Update actions/setup-python to v2 2020-07-23 19:11:34 +02:00
Unrud
1edfb16143 Fix isort test
Was broken by isort>=5
2020-07-23 18:42:43 +02:00
Unrud
53c1648738 Update NEWS.md 2020-06-06 21:12:29 +02:00
Unrud
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
Nico
e07f047fad Update NEWS.md
Corrected typo
2020-05-24 15:01:32 +02:00
Unrud
b87ac43952 Update documentation 2020-05-24 13:47:42 +02:00
Unrud
e0247f8f92 Cosmetics 2020-05-24 13:41:08 +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
d3b90506f5 Add tests for conflicting UIDs and overwriting of items 2020-05-24 13:19:29 +02:00
Unrud
b9bb017edf Test current-user-principal prop authentication workaround 2020-05-24 13:19:29 +02:00
Unrud
6ec63ccc9b Handle missing IPv6 support by the kernel
This is different from disabled IPv6.

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