Commit Graph

2031 Commits

Author SHA1 Message Date
Unrud
e176567ad0 Add Python 3.10 classifier 2021-12-09 19:15:44 +01:00
Unrud
e38ae96227 Cosmetics 2021-12-09 19:15:23 +01:00
Unrud
bbaf0ebd8c Change name in file header 2021-12-09 16:55:46 +01:00
Unrud
f14e1de071 Add multifilesystem_nolock storage 2021-12-09 16:55:46 +01:00
Unrud
e629e9a2e1 Require argument for --config command-line option 2021-11-14 23:31:00 +01:00
Unrud
98b49ac2b6 Optional argument for boolean command-line options 2021-11-14 23:30:59 +01:00
Unrud
08e789d993 Support backend specific options and HTTP headers via command-line 2021-11-14 23:30:59 +01:00
Unrud
b23aa4629c Refactor command line argument parser 2021-11-14 23:30:58 +01:00
Unrud
dba6338968 Rename opposite to opposite_aliases 2021-11-10 22:16:30 +01:00
Unrud
7c9c873b13 Don't modify DEFAULT_CONFIG_SCHEMA 2021-11-10 22:14:51 +01:00
Jochen Sprickerhof
f72b344981 Add py.typed to mark as having typing information
According to PEP 561.
2021-10-16 17:38:41 +02:00
Unrud
35e7ee5a08 Fix flake8 tests 2021-09-27 19:19:18 +02:00
Unrud
056ce5b69f Flake8: Only enable default tests 2021-09-27 17:22:51 +02:00
Unrud
cd3f834a27 Rename variable 2021-09-27 17:22:42 +02:00
Unrud
f921e48648 Remove unused variable 2021-09-27 17:22:37 +02:00
jorge
111a79f082 Fix documentation arguments 2021-09-26 22:29:26 +02:00
Tomáš Hrnčiar
574e6f8c7b Require setuptools, radicale/__init__.py, radicale/web/internal.py, radicale/storage/__init__.py, radicale/app/__init__.py import pkg_resources 2021-09-26 22:28:41 +02:00
Unrud
60f25bf19a Type hints for tests 2021-09-26 22:24:45 +02:00
Unrud
698ae875ce Type hints for multifilesystem 2021-09-26 22:24:45 +02:00
Unrud
cecb17df03 More type hints 2021-09-26 22:24:45 +02:00
Unrud
12fe5ce637 Enable run-time type checking during tests 2021-09-26 22:24:45 +02:00
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