1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00
Commit graph

166 commits

Author SHA1 Message Date
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
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
60f25bf19a Type hints for tests 2021-09-26 22:24:45 +02:00
Unrud
cecb17df03 More type hints 2021-09-26 22:24:45 +02:00
Unrud
73e42f8101 Enable static type checking 2021-09-26 22:24:45 +02:00
Unrud
ca27156605 More tests
for PROPPATCH, PROPFIND, MKCALENDAR and MKCOL
2020-09-26 22:08:22 +02:00
Unrud
e0247f8f92 Cosmetics 2020-05-24 13:41:08 +02:00
Unrud
d3b90506f5 Add tests for conflicting UIDs and overwriting of items 2020-05-24 13:19:29 +02:00
Unrud
b9bb017edf Test current-user-principal prop authentication workaround 2020-05-24 13:19:29 +02:00
Unrud
3be9a22a91 Fix XML error messages
Fixes #825
2020-05-22 16:34:02 +02:00
Unrud
9bd852ba5e Remove duplicated code 2020-04-22 19:20:36 +02:00
Unrud
d73a308294 Cosmetics 2020-04-22 19:20:30 +02:00
Unrud
9c622b57d5 Allow callable in configuration for plugin.type
Example:

```python3
\# Load default configuration
my_config = config.load()

\# Pass a class directly
my_config.update({"auth": {"type": MyAuth}})

\# Pass an object directly
my_rights = MyRights()
my_config.update({"rights": {"type": lambda config: my_rights}})

app = Application(my_config)
````
2020-04-09 22:01:35 +02:00
Unrud
180e96b332 Move internal options to other sections 2020-02-19 09:50:36 +01:00
Unrud
5371be2b39 Mark internal configuration options and sections with underscore 2020-02-19 09:50:27 +01:00
Unrud
fc180266d5 Improve tests
- Parse and verify XML responses
- Extract methods for common requests
2020-01-20 09:47:51 +01:00
Unrud
e11661ff3e Protect against XML DOS attacks
Only XML content from authenticated users is parsed.
2020-01-19 21:07:54 +01:00
Unrud
866aa34f54 Cosmetic changes 2020-01-19 21:07:54 +01:00
Unrud
0fb02cd026 Cosmetic changes (pylint) 2020-01-17 12:59:14 +01:00
Unrud
ed72e697de Tests: Use absolute imports 2020-01-15 18:44:00 +01:00
Unrud
1bd93a2947 Fix filesystem folder creation 2020-01-15 06:39:59 +01:00
Unrud
514cd2b7cd Test default sync implementation 2020-01-15 01:27:41 +01:00
Unrud
caf5ff1080 Change default value for external users 2020-01-12 23:32:26 +01:00
Unrud
b7590f8c84 Rework configuration 2019-06-17 04:18:09 +02:00
Unrud
63e6d091b9 Update copyright 2019-06-17 04:13:24 +02:00
Unrud
14b46c04bf Create configuration for isort 2019-06-15 09:01:55 +02:00
Unrud
e5c4373606 Test MOVE between collections 2018-11-03 21:19:36 +00:00
Unrud
a146521500 test storage verification 2018-09-09 14:58:44 +02:00
Unrud
9c802e0f57 skip ambiguous isort modules 2018-09-05 11:37:18 +02:00
Unrud
5e0a387ed9 remove whitespace before email 2018-09-04 03:33:47 +02:00
Unrud
6fc69b480f Never skip sync token tests 2018-09-04 03:33:42 +02:00
Unrud
8869b34470 refactor 2018-08-28 16:19:43 +02:00
Unrud
1bdc47bf44 Make predefined rights plugins more restrictive and remove NoneAuth
Collections with tag are only allowed as direct children of a principal collections.
2018-08-21 18:43:48 +02:00
Unrud
8281769edf Move filesystem_fsync config from section storage to internal 2018-08-18 12:56:39 +02:00
Unrud
e96410c6e7 Only support file based locking 2018-08-16 07:59:58 +02:00
Unrud
c7e65fbb7f require UIDs in CalDAV/CardDAV / check for duplicated UIDs / try to use UIDs as filenames 2018-08-16 07:59:57 +02:00
Unrud
7964d288a5 Tests: Don't overwrite component with different UID 2018-08-16 07:59:57 +02:00
Unrud
d2e6566147 Don't test missing UIDs in CalDAV/CardDAV 2018-08-16 07:59:57 +02:00
Unrud
54b9995e22 Use module-wide logger and remove logging config 2018-08-16 07:59:55 +02:00
Unrud
f815f1be7f Use correct HTTP status for WebDAV precondition 2018-08-14 20:08:42 +02:00
Unrud
18e4677cb7 Add test for mixed local DATE-TIME with time zone and UTC (Test #765) 2018-04-27 18:37:22 +02:00
Unrud
233a54f73b Add test for VTODO with RRULE (Test #764) 2018-04-27 18:37:22 +02:00
Unrud
17d0b79069 Skip testing timezone with seconds for Python < 3.6 2018-04-21 11:23:06 +02:00
Unrud
70e7363be6 Test timezone with minutes and seconds 2018-04-21 10:44:59 +02:00
Unrud
b0ef194a4b Test PROPFIND requests with propname and allprop 2017-09-17 14:11:37 +02:00
Unrud
f7d942bfeb More tests for filtering calendars 2017-08-29 20:24:38 +02:00
Unrud
ad0b4e5e85 Add tests for filtering address books 2017-08-29 20:24:38 +02:00