Commit Graph

1993 Commits

Author SHA1 Message Date
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
236eedb555 Merge pull request #1110 from pbiering/url-fix-fedora
Squashed commit of the following:

commit 9f1a11c832e1e5fd552f193bd8cd9614a738cb85
Author: Peter Bieringer <pb@bieringer.de>
Date:   Sun Sep 27 16:56:35 2020 +0200

    url fix for Fedora

commit 240af9803fbd3f1b6c5920d27516cf2a5d370f58
Merge: 1e55a31 d48bacc
Author: Peter Bieringer <pb@bieringer.de>
Date:   Sun Sep 27 16:49:49 2020 +0200

    Merge remote-tracking branch 'upstream/master'

commit 1e55a314d5700d2851e19988cda8c651382c99b5
Merge: d61f4e7 d31eaf7
Author: Peter Bieringer <pb@bieringer.de>
Date:   Sat Sep 26 10:14:53 2020 +0200

    Merge remote-tracking branch 'upstream/master'

commit d61f4e7b819ee68dbcb2b740500a314c3e356e2b
Author: Unrud <unrud@outlook.com>
Date:   Mon Apr 30 00:18:36 2018 +0200

    Auth: Introduce login(login, password) method

    This deprecates map_login_to_user, is_authenticated and is_authenticated2

commit 7ecd7343baf7c7b5f10dc5a7de3847c07aa092f5
Author: Unrud <unrud@openaliasbox.org>
Date:   Sun Jun 25 11:18:05 2017 +0200

    Empty commit for release of 2.1.0
2020-09-27 18:08:29 +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
d31eaf79ec Add Python implementation classifier 2020-09-26 03:20:56 +02:00
Unrud
dd30aea7a5 Add Python 3.9 classifier 2020-09-25 23:36:15 +02:00
Unrud
81218906c6 Update NEWS.md 2020-09-14 21:35:24 +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
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