Commit Graph

27 Commits

Author SHA1 Message Date
Milan Crha
dc2a6ac1d7 multifilesystem: Improve performance of PROPFIND
The PROPFIND does not need to check the filesystem for the file existence,
because the list comes from the directory listing, similar as the other
parts already do it. That was highly visible with large collections (10k+ items),
causing massive delays.

Also avoid repeated stat() calls on the same path.
2026-08-07 12:22:22 +02:00
Peter Bieringer
f965d46bdf storage features: code review 2026-04-23 06:13:32 +02:00
Peter Bieringer
7a55e8164b storage: add and take use of flag _filesystem_root_folder_is_collision_free 2026-04-14 20:45:04 +02:00
Nate Harris
5c9c5b1572 - Linting 2025-08-13 23:46:26 -06:00
Nate Harris
80dc4995cf - Capture previous version of event pre-overwrite for use in notification hooks
- Use previous version of event in email hooks to determine added/deleted/updated email type
2025-08-13 23:46:24 -06:00
Peter Bieringer
62bdfeab40 item-cache-mtime-size: feature 2024-12-15 11:40:58 +01:00
Peter Bieringer
f7d6f6442f make tox happy 2024-12-14 17:02:31 +01:00
Peter Bieringer
a7ce8f032c Add: option [debug] storage_cache_action for conditional logging 2024-12-14 16:49:54 +01:00
Peter Bieringer
644548c866 rename function 2024-12-10 08:25:14 +01:00
Peter Bieringer
24f5f9b98e make flake8 happy 2024-12-03 21:42:50 +01:00
Peter Bieringer
92ce13e348 update copyrights 2024-12-03 21:34:00 +01:00
Peter Bieringer
0fe53e62db use_cache_subfolder_for_item: feature 2024-12-03 21:32:57 +01:00
Peter Bieringer
913635a17e fix fo E261 at least two spaces before inline comment 2024-03-02 07:47:23 +01:00
Peter Bieringer
551b5c2272 fix for code validation 2024-03-02 07:42:39 +01:00
Peter Bieringer
cc2e1553d3 ignore "mypy" type checks for now 2024-03-02 07:36:14 +01:00
Unrud
a5716a7d84 Fix random href fallback 2022-04-20 17:49:29 +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
bbaf0ebd8c Change name in file header 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
Unrud
63e00ca677 Direct creation of files for batch uploads 2020-05-15 21:54:10 +02:00
Unrud
0fb02cd026 Cosmetic changes (pylint) 2020-01-17 12:59:14 +01:00
Unrud
040d8c0fff Split BaseCollection into BaseStorage and BaseCollection 2020-01-14 06:19:23 +01:00
Unrud
63e6d091b9 Update copyright 2019-06-17 04:13:24 +02:00
Unrud
35484c9b79 Refactor multifilesystem 2018-09-04 03:33:50 +02:00