Unrud
73e42f8101
Enable static type checking
2021-09-26 22:24:45 +02:00
Unrud
34bec01c9b
Fail when test file can't be read
2021-05-14 00:07:09 +02:00
Unrud
8f9734d797
Fix "Exclude flake8 hacking plugins"
...
Apparently setting "select" overrides the default "ignore" values.
2021-03-31 00:06:03 +02:00
Unrud
b8848348d6
Exclude flake8 hacking plugins
2021-03-30 08:27:21 +02:00
Michael Stilkerich
398e93e215
Fix is-not-defined filter in addressbook-query report
2021-03-23 00:49:22 +01:00
Tim Gates
21099f2240
docs: fix simple typo, errornous -> erroneous ( #1126 )
...
* docs: fix simple typo, errornous -> erroneous
There is a small typo in radicale/storage/__init__.py.
Should read `erroneous` rather than `errornous`.
* Update __init__.py
2021-03-23 00:48:25 +01:00
Unrud
9997a32629
Try to fix coveralls
...
See https://github.com/TheKevJames/coveralls-python/issues/252
2021-03-23 00:26:27 +01:00
Unrud
0cabc64584
CI: Remove Python 3.9.0-alpha
2021-03-23 00:17:30 +01:00
Unrud
5333751e45
Allow float for server->timeout setting
2020-10-25 20:32:32 +01:00
Unrud
742a067171
Disallow abbreviated arguments
2020-10-23 22:26:28 +02:00
Unrud
2aafcd5df5
Use renameat2 on Linux for atomic exchanging of files
2020-10-23 21:37:45 +02:00
Unrud
f05251bd01
Improve error messages for locking problems on Windows
2020-10-23 21:20:16 +02:00
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
571567a4ec
Drop support for Python 3.5 (end-of-life)
2020-10-04 15:13:01 +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
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