Commit Graph

21 Commits

Author SHA1 Message Date
Tom Hacohen
59e30ed988 Signup and logout: make sync. 2020-12-28 16:42:39 +02:00
Tom Hacohen
ca7f2ec73c When converting from ORM convert binary fields to bytes.
The problem is that some ORMs return memoryview which are more efficient but
are not supported by pydantic at the moment.
2020-12-28 16:42:39 +02:00
Tom Hacohen
50f89c48e2 Dashboard url: fix getting dashboard url. 2020-12-28 16:42:39 +02:00
Tom Hacohen
b3c170e10d fix getting dashboard URL. 2020-12-28 16:42:39 +02:00
Tom Hacohen
4ceb42780e Remove unused django_etebase code. 2020-12-28 16:42:39 +02:00
Tom Hacohen
cf7690a60f Remove usages of EtebaseValidationError. 2020-12-28 10:45:34 +02:00
Tom Hacohen
4b4be14d32 Add more responses to the API. 2020-12-28 10:01:19 +02:00
Tom Hacohen
a75d5479fa Rename ValidationError to HttpError. 2020-12-28 09:51:34 +02:00
Tom Hacohen
6517fc5db2 More route tags to a central place. 2020-12-28 09:35:27 +02:00
Tom Hacohen
80d69a5663 Fix collection list and how we return API responses. 2020-12-28 09:31:30 +02:00
Tom Hacohen
9f26ecf276 API: add documentation tags. 2020-12-28 09:04:45 +02:00
Tom Hacohen
fa0cd01a59 Authentication: implement part of get_dashboard_url. 2020-12-27 21:50:34 +02:00
Tom Hacohen
ec8c69b3f3 Fix a few FIXMEs. 2020-12-27 20:42:23 +02:00
Tom Hacohen
7ad98b8d28 Implement is_etebase. 2020-12-27 20:32:09 +02:00
Tom Hacohen
9d213350e7 exceptions.py: fix typo in filename. 2020-12-27 20:32:09 +02:00
Tal Leibman
31e0e0b832 change response content to pydantic models and error handling 2020-12-27 20:32:09 +02:00
Tal Leibman
2e5dd58657 snapshot 2020-12-27 20:32:09 +02:00
Tal Leibman
72d4a725f5 validation errors 2020-12-27 20:32:09 +02:00
Tal Leibman
c90e92b0f0 snapshot 2020-12-27 20:32:09 +02:00
Tal Leibman
16a99f02ea snapshot 2020-12-27 20:32:09 +02:00
Tal Leibman
c1534f6587 first commit 2020-12-27 20:32:09 +02:00