1
0
mirror of https://github.com/etesync/server synced 2024-12-27 09:48:24 +00:00
etesync-server/django_etebase
Tom Hacohen bdd787b915 Gracefully handle uploading the same item twice.
We were failing until now, but since the uid is sure to be unique,
we can just assume that if it's the same uid it's the same content.
This means we can just gracefully fail as the data is the same.

Until now, we were raising an error, but we now just do nothing
and consider it a success.

This is especially useful when a network error caused an item to
be uploaded but not updated on the client side.
2020-11-10 10:07:56 +02:00
..
drf_msgpack drf_msgpack: add code to parse/serialise msgpack 2020-06-29 14:21:43 +03:00
migrations Collections: add support for collection types. 2020-10-13 18:39:18 +03:00
token_auth Increase token ttl to 30 days. 2020-07-12 11:27:47 +03:00
__init__.py Rename django_etesync to django_etebase. 2020-06-16 17:14:53 +03:00
admin.py Rename django_etesync to django_etebase. 2020-06-16 17:14:53 +03:00
app_settings.py Account: add a dashboard url endpoint. 2020-10-08 21:06:33 +03:00
apps.py Rename django_etesync to django_etebase. 2020-06-16 17:14:53 +03:00
exceptions.py Exceptions: have correct code/status_code for every error. 2020-07-30 10:13:24 +03:00
models.py Collections: add support for collection types. 2020-10-13 18:39:18 +03:00
parsers.py Chunk uploading: implement properly using a custom Parser. 2020-08-04 14:15:25 +03:00
permissions.py Permissions: workaround DRF bug and expose exception code. 2020-07-30 10:17:33 +03:00
renderers.py Views: move the base64 encoding to the renderers. 2020-06-29 15:39:40 +03:00
serializers.py Gracefully handle uploading the same item twice. 2020-11-10 10:07:56 +02:00
signals.py Signup: send a signal on account signup. 2020-09-02 12:54:50 +03:00
tests.py Rename django_etesync to django_etebase. 2020-06-16 17:14:53 +03:00
urls.py Move the etebase urls configuration to django_etebase. 2020-06-28 17:11:20 +03:00
utils.py Disable signups by default. 2020-09-27 09:42:01 +03:00
views.py Login/Changepassword: change to verifying the hostname without the part. 2020-11-02 10:16:06 +02:00