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
Guillaume Ayoub
434cb533e9
Remove Python 2 support
2016-03-31 19:57:40 +02:00
Guillaume Ayoub
2ea35a2fc3
Merge pull request #209 from vuntz/no-autocreate-multifilesystem
...
Do not autocreate .props files for multifilesystem backend
2016-03-10 18:48:29 +01:00
Unrud
a55cff8eb6
Also remove items from the collections itself
2016-01-15 01:13:18 +01:00
Unrud
5081fcbcd1
Use component names to filter duplicates
2016-01-15 01:09:43 +01:00
Guillaume Ayoub
e7ce00d54f
Style
2015-12-31 12:49:41 +01:00
Unrud
eed37792ae
Convert filesystem paths safely to paths
...
This only becomes a problem if the OS/filesystem
allows / in filenames or . respectively
.. as filenames.
2015-12-24 14:39:29 +01:00
Unrud
bcaf452e51
Convert component names safely to filenames
...
Component names are controlled by the user and
without this checks access to arbitrary files is
possible if the multifilesystem backend is used.
2015-12-24 14:39:29 +01:00
Unrud
b4b3d51f33
Convert paths safely to file system paths
...
With the old implementation on Windows a path like
"/c:/file/ignore" got converted to "c:\file" and
allowed access to files outside of FOLDER
2015-12-24 14:39:29 +01:00
Guillaume Ayoub
7b82121c12
Encode message and committer for git commits ( fix #313 )
2015-09-22 11:01:33 +02:00
Guillaume Ayoub
f112a9b390
Merge pull request #305 from untitaker/database-props
...
Don't discard PROPPATCH on empty collections.
2015-08-28 11:26:10 +02:00
Markus Unterwaditzer
57b1ccdea5
Fix crash on empty values
2015-08-21 20:11:44 +02:00
Markus Unterwaditzer
213cb40480
Don't discard PROPPATCH on empty collections.
2015-08-21 20:08:56 +02:00
Markus Unterwaditzer
d300949fe8
Improve errorhandling in multifilesystem
...
If the collection doesn't exist yet, OSError(2, 'No such file or
directory') is raised.
42540595
2015-08-21 16:17:00 +02:00