You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tom Hacohen 5a6c8a1d05 Gracefully handle uploading the same revision
This is needed so that immediately re-played requests don't fail.

Consider for example the following scenario: a client makes a batch
request that registers correctly on the server, but fails to return
(e.g. a networking error after the request has been processed). The
client would think that the request failed, but the server will already
have the up to date information. This commit just returns a successful
status if this request is sent again (by the client retrying the
request) instead of returning a conflict.

This however doesn't handle the case of a request failing, a
modification being made by another client, and then the request being
retried. This case will stay fail.
4 years ago
..
drf_msgpack Use black for code formatting and format the code 4 years ago
migrations Collection: also save the collection UID on the model itself. 4 years ago
sendfile Sendfile: add a sendfile module based on django-sendfile2 4 years ago
token_auth Use black for code formatting and format the code 4 years ago
__init__.py Rename django_etesync to django_etebase. 4 years ago
admin.py Rename django_etesync to django_etebase. 4 years ago
app_settings.py Use black for code formatting and format the code 4 years ago
apps.py Use black for code formatting and format the code 4 years ago
exceptions.py Reformat some files using black. 4 years ago
models.py Remove unused imports. 4 years ago
parsers.py Chunk file uploader: accept all kinds of media types. 4 years ago
permissions.py Use black for code formatting and format the code 4 years ago
renderers.py Use black for code formatting and format the code 4 years ago
serializers.py Gracefully handle uploading the same revision 4 years ago
signals.py Use black for code formatting and format the code 4 years ago
tests.py Rename django_etesync to django_etebase. 4 years ago
urls.py Use black for code formatting and format the code 4 years ago
utils.py Use black for code formatting and format the code 4 years ago
views.py Chunk download: use the new sendfile to serve files. 4 years ago