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 843b59a0ac Login/Changepassword: change to verifying the hostname without the part.
Verifying the port was causing issues, and anyhow, this check is
paranoid and isn't strictly necessary for security.
The problem is that Django's `get_host()` and the equivalent on some
platforms returns it without the port, though on others (like e.g. the
library we use from JS) it returns with the port. This was inconsistent
and was causing authentication to fail.

We thus relaxed the test to not include the port when matching, which
should make it work consistently across all platforms.
4 years ago
..
drf_msgpack drf_msgpack: add code to parse/serialise msgpack 5 years ago
migrations Collections: add support for collection types. 4 years ago
token_auth Increase token ttl to 30 days. 5 years ago
__init__.py Rename django_etesync to django_etebase. 5 years ago
admin.py Rename django_etesync to django_etebase. 5 years ago
app_settings.py Account: add a dashboard url endpoint. 4 years ago
apps.py Rename django_etesync to django_etebase. 5 years ago
exceptions.py Exceptions: have correct code/status_code for every error. 4 years ago
models.py Collections: add support for collection types. 4 years ago
parsers.py Chunk uploading: implement properly using a custom Parser. 4 years ago
permissions.py Permissions: workaround DRF bug and expose exception code. 4 years ago
renderers.py Views: move the base64 encoding to the renderers. 5 years ago
serializers.py Disallow creating new collections without a collection type set. 4 years ago
signals.py Signup: send a signal on account signup. 4 years ago
tests.py Rename django_etesync to django_etebase. 5 years ago
urls.py Move the etebase urls configuration to django_etebase. 5 years ago
utils.py Disable signups by default. 4 years ago
views.py Login/Changepassword: change to verifying the hostname without the part. 4 years ago