Commit Graph

100 Commits

Author SHA1 Message Date
Mikhail Yasnov fdc595693c Sync with LDAP 2022-08-01 18:28:37 +03:00
Unrud a5716a7d84 Fix random href fallback 2022-04-20 17:49:29 +02:00
Unrud 2b8f4b9419 Replace pkg_resources with importlib for Python >= 3.9
Fixes #1184
2022-04-04 18:18:50 +02:00
Unrud a97093d001 Check if files exist when uploading items non-atomic 2022-04-02 18:11:46 +02:00
Unrud b64c9baa5f Fix upload of calendars with colliding UIDs 2022-03-30 22:27:05 +02:00
Unrud 0221fc357b Use sys.platform instead of os.name
mypy only recognizes sys.platform
2022-02-01 17:56:02 +01:00
Unrud 75df1093be Workaround for broken contact PHOTO from InfCloud
See issue #1205
2022-01-15 23:44:00 +01:00
Unrud fb3de73d1c Assert waiters and waiter are still the same 2021-12-20 23:47:06 +01:00
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 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 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
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 2aafcd5df5 Use renameat2 on Linux for atomic exchanging of files 2020-10-23 21:37:45 +02:00
Unrud c8b31637ef Improve log messages 2020-10-04 14:40:52 +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 630d49b7cf Fix file permissions in storage folder
Closes #1024
2020-05-15 21:54:10 +02:00
Unrud 63e00ca677 Direct creation of files for batch uploads 2020-05-15 21:54:10 +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 db7587c593 Cosmetic changes 2020-01-21 19:40:02 +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 c99a1f53df Switch from md5 to sha256 for UIDs and tokens 2020-01-15 11:20:48 +01:00
Unrud 1bd93a2947 Fix filesystem folder creation 2020-01-15 06:39:59 +01:00
Unrud 0cd95f8a39 Rename loader to load_plugin 2020-01-15 00:33:21 +01:00
Unrud 8543f3ea1d Extract method loader() 2020-01-14 22:43:48 +01:00
Unrud 040d8c0fff Split BaseCollection into BaseStorage and BaseCollection 2020-01-14 06:19:23 +01:00
Unrud 88a0af8ba1 Improve documentation 2020-01-12 23:32:28 +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
Braxton Plaxco 27185f7291 Get `python3 ./setup.py test` to pass cleanly
~ B'ezrat Hashem ~
2019-06-15 08:49:05 +02:00
Unrud 55cd363f10 remove unused variables 2018-11-04 18:54:10 +00:00
Unrud 6e19ed893a show module name in error message 2018-09-18 21:04:57 +02:00
Unrud ea7916e0fa cls.logger no longer exists 2018-09-09 14:58:43 +02:00
Unrud 9c802e0f57 skip ambiguous isort modules 2018-09-05 11:37:18 +02:00
Unrud 35484c9b79 Refactor multifilesystem 2018-09-04 03:33:50 +02:00
Unrud 979414ce85 Move get_filtered to BaseCollection 2018-09-04 03:33:48 +02:00
Unrud 5e0a387ed9 remove whitespace before email 2018-09-04 03:33:47 +02:00
Unrud aec2a62931 remove unused methods from storage interface 2018-09-04 03:33:39 +02:00
Unrud a8c587f984 Remove implementation for storage.move() 2018-09-04 03:33:38 +02:00
Unrud 5429f5c1a9 assert sanitized and stripped paths 2018-08-28 16:19:50 +02:00
Unrud 8869b34470 refactor 2018-08-28 16:19:43 +02:00
Guillaume Ayoub 1001bcb676 Remove extra auth, rights and storage modules 2016-04-07 19:02:52 +02:00