Commit Graph

2038 Commits

Author SHA1 Message Date
Unrud
f25d7eebb8 Change _collection_class to ClassVar 2021-12-12 20:05:23 +01:00
Unrud
e0f7fe6526 Instant notification of all waiting readers 2021-12-12 19:42:11 +01:00
Unrud
90bd33f466 Extract LockDict class 2021-12-12 19:42:11 +01:00
Unrud
91c06041f8 Split storage from base tests 2021-12-11 12:59:44 +01:00
Unrud
4b5165dc42 Extract method configure 2021-12-10 20:54:04 +01:00
Unrud
208ae11683 Rename BaseFileSystemTest to BaseStorageTest 2021-12-10 16:03:06 +01:00
Unrud
1234802f51 Use " instead of ' 2021-12-09 19:32:47 +01:00
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