1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-29 18:08:31 +00:00
Commit graph

1969 commits

Author SHA1 Message Date
jorge
465d6f8ece Fix documentation arguments 2021-12-20 21:21:20 +01:00
Tomáš Hrnčiar
a229b3c9f7 Require setuptools, radicale/__init__.py, radicale/web/internal.py, radicale/storage/__init__.py, radicale/app/__init__.py import pkg_resources 2021-12-20 21:21:20 +01:00
Unrud
b65d49788a Type hints for tests 2021-12-20 21:21:20 +01:00
Unrud
0de8628952 Type hints for multifilesystem 2021-12-20 21:21:20 +01:00
Unrud
c93d7b8715 More type hints 2021-12-20 21:21:20 +01:00
Unrud
11f7559ef3 Enable run-time type checking during tests 2021-12-20 21:21:20 +01:00
Unrud
23a2989b77 Enable static type checking 2021-12-20 21:21:20 +01:00
Unrud
94a1181dc6 Fail when test file can't be read 2021-12-20 21:21:20 +01:00
Unrud
3d8e3bc46a Fix "Exclude flake8 hacking plugins"
Apparently setting "select" overrides the default "ignore" values.
2021-12-20 21:21:20 +01:00
Unrud
525fa8a926 Exclude flake8 hacking plugins 2021-12-20 21:21:20 +01:00
Michael Stilkerich
23197e8d3e Fix is-not-defined filter in addressbook-query report 2021-12-20 21:21:20 +01:00
Tim Gates
1b7817f1d5 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-12-20 21:21:20 +01:00
Unrud
339727fe86 Try to fix coveralls
See https://github.com/TheKevJames/coveralls-python/issues/252
2021-12-20 21:21:20 +01:00
Unrud
c002127246 CI: Remove Python 3.9.0-alpha 2021-12-20 21:21:20 +01:00
Unrud
02a9d749a2 Allow float for server->timeout setting 2021-12-20 21:21:20 +01:00
Unrud
8f0de388cb Disallow abbreviated arguments 2021-12-20 21:21:20 +01:00
Unrud
be06b054c2 Use renameat2 on Linux for atomic exchanging of files 2021-12-20 21:21:20 +01:00
Unrud
43c1f2f05a Improve error messages for locking problems on Windows 2021-12-20 21:21:20 +01:00
Unrud
68be2b2bbd Cancel mkcalendar request on error 2021-12-20 21:21:20 +01:00
Unrud
21b1e356a0 Improve sanitization of collection properties 2021-12-20 21:21:20 +01:00
Unrud
547341642a Fix matching of date property 2021-12-20 21:21:20 +01:00
Unrud
3123b26195 Drop support for Python 3.5 (end-of-life) 2021-12-20 21:21:20 +01:00
Unrud
40038d73c9 Internal server: Shutdown server via socket 2021-12-20 21:21:20 +01:00
Unrud
74b2f6148d Improve log messages 2021-12-20 21:21:20 +01:00
Unrud
d807fc7ff2 Workaround: defusedxml messes up subsequent imports of ElementTree
See https://github.com/tiran/defusedxml/issues/54
2021-12-20 21:21:20 +01:00
Unrud
fe796a6b7c Cosmetics 2021-12-20 21:21:20 +01:00
Unrud
ef947fe561 Improve log message 2021-12-20 21:21:20 +01:00
Unrud
447a9d91f3 Don't use assertion for expected error 2021-12-20 21:21:20 +01:00
Unrud
dd3a3b17d4 Don't modify global constants 2021-12-20 21:21:20 +01:00
Unrud
c89cd67065 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
2021-12-20 21:18:32 +01:00
Unrud
9cc88eb4f6 More tests
for PROPPATCH, PROPFIND, MKCALENDAR and MKCOL
2021-12-20 21:18:32 +01:00
Unrud
d23a7365ba Allow multiple <D:set> and <D:remove> elements and consider order 2021-12-20 21:18:32 +01:00
Unrud
4ff3f545cc Single <D:propstat> element in PROPPATCH response
Instead of multiple elements with the same status
2021-12-20 21:18:32 +01:00
Unrud
7831ba3e37 Improve variable names 2021-12-20 21:18:32 +01:00
Unrud
ee5489dcd6 Add Python implementation classifier 2021-12-20 21:18:32 +01:00
Unrud
e80ceb171a Add Python 3.9 classifier 2021-12-20 21:18:32 +01:00
Unrud
19593c4b39 Rename branch to v3 2021-12-20 21:12:27 +01:00
Unrud
09d41d23e0 Use regular ids 2021-12-14 22:29:40 +01:00
Unrud
25b2930d2e Documentation: Use level 1 heading as title 2021-12-14 00:24:55 +01:00
Unrud
96768e166b Update .gitignore 2021-11-14 23:49:27 +01:00
Unrud
b638b0edce Merge pull request #1110 from pbiering/url-fix-fedora
Squashed commit of the following:

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

    url fix for Fedora

commit 240af9803f
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 1e55a314d5
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 d61f4e7b81
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 7ecd7343ba
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:10:33 +02:00
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