Tom Hacohen
e385aa8f20
Chunks: use a prefix of the chunk for a subdirectory.
...
Filesystems don't handle massive directories too well, so better to split.
Using the prefix of the chunk gives us a maximum of 64 * 64 = 4096 entries
in the main directory.
2020-08-04 17:39:33 +03:00
Tom Hacohen
393b85d3ca
Chunks: move to reside under the collection.
2020-08-04 17:39:33 +03:00
Tom Hacohen
1d5baece1e
Chunk uploading: implement properly using a custom Parser.
2020-08-04 14:15:25 +03:00
Tom Hacohen
a7268443ca
Add support for a modifying the chunk storage location
2020-07-13 17:08:36 +03:00
Tom Hacohen
86c5d711a6
Chunk upload: item.uid can never be None so use it directly.
2020-07-10 09:09:11 +03:00
Tom Hacohen
785e4fae97
Merge the uidvalidator with the base64url validator and set a min length.
2020-06-26 12:14:06 +03:00
Tom Hacohen
c00cf50163
Revision: remove salt field.
...
It's not really needed. More information in the respective change
in the js client.
2020-06-26 11:21:53 +03:00
Tom Hacohen
2b52eec41f
Allow chunk UIDs to be longer.
2020-06-26 11:05:01 +03:00
Tom Hacohen
1bed39af9d
Collection/item uid: allow base64-url not just base62.
2020-06-24 10:48:47 +03:00
Tom Hacohen
291ebaa3f7
Items must have a uid now (not null).
...
This is due to the previous change.
2020-06-23 13:05:34 +03:00
Tom Hacohen
267d749c45
Collection: change collections to be an extension of items
...
Each collection now has an item and the item's UID is the collections
UID. This lets us manipulate collections just like items, and as part of
transactions. This is significant because it lets us change them as part
of transactions!
2020-06-23 13:03:46 +03:00
Tom Hacohen
d1017aac76
Rename django_etesync to django_etebase.
2020-06-16 17:14:53 +03:00