Commit Graph

  • 0b2cb22744 Fix typo feat/ldap Alexander "PapaTutuWawa 2021-12-09 17:13:55 +0100
  • 440927b2c1 Make the cache TTL configurable Alexander "PapaTutuWawa 2021-12-09 13:40:39 +0100
  • 167533a65f Allow loading bind secret from file Alexander "PapaTutuWawa 2021-12-09 13:18:55 +0100
  • 7dc733630b Re-add accidentally removed CREATE_USER_FUNC Alexander PapaTutuWawa 2021-09-08 16:45:45 +0200
  • 0b4885b5d2 Fix multiple imports using the same name Alexander PapaTutuWawa 2021-02-05 17:09:10 +0100
  • 2b68b55c52 Format using Black Alexander PapaTutuWawa 2021-02-05 17:00:55 +0100
  • b95662df1e Set the PermissionDenied's detail text Alexander PapaTutuWawa 2021-02-05 17:00:19 +0100
  • e749eec5ff Remove more merge mistakes Alexander PapaTutuWawa 2021-02-05 13:30:08 +0100
  • 2f5f312d9c Move the Django API Permissions to a FastAPI dependency Alexander PapaTutuWawa 2021-02-05 13:28:08 +0100
  • 117ab96017 Fix user creation Alexander PapaTutuWawa 2021-02-05 12:23:32 +0100
  • 4229cebd61 Merge branch 'master' into feat/ldap Alexander PapaTutuWawa 2021-02-04 18:56:26 +0100
  • 261d65f8b3 (Hopefully) Fix user creation Alexander PapaTutuWawa 2021-02-04 18:49:00 +0100
  • 14b3cfca55 Handle stoken being the empty string. Tom Hacohen 2021-02-01 18:40:11 +0200
  • b33a3c882e Subscriptions: allow subscribing without setting an stoken. Tom Hacohen 2021-01-28 18:10:12 +0200
  • 8485806046 Easy config: add support for setting redis URI. Tom Hacohen 2021-01-28 17:55:37 +0200
  • ef69954b6d requirements.txt: Add missing deps. Tom Hacohen 2021-01-28 17:44:17 +0200
  • e4361d2364 Patch old DB migration in order to fix mysql issues. Tom Hacohen 2021-01-27 18:48:56 +0200
  • 0ac41e77e8 Fix DB errors when using MySQL/MariaDB. Tom Hacohen 2021-01-27 14:38:10 +0200
  • 233aeab98b Support login and invitations using email rather than just username. Tom Hacohen 2021-01-27 09:35:36 +0200
  • 240469342b Move reporting item changes to a background task. Tom Hacohen 2021-01-12 11:57:43 +0200
  • 61bd82f1e3 Subscriptions: stream missing items if user passed an old stoken. Tom Hacohen 2021-01-11 18:39:01 +0200
  • f52facad1c Subscriptions: implement live subscriptions for collection items Tom Hacohen 2021-01-04 10:02:47 +0200
  • cd4131e890 Exceptions: make sure error codes aren't None. Tom Hacohen 2021-01-11 22:12:31 +0200
  • 1349f99cd3 Exceptions: inherit from the fastapi HTTPException. Tom Hacohen 2021-01-04 16:31:28 +0200
  • 9f0430a6da Improve types. Tom Hacohen 2021-01-04 11:56:17 +0200
  • 9bf118225d Exceptions: fix error when transforming django validation errors. Tom Hacohen 2021-01-04 10:14:56 +0200
  • 43dede57d2 Exceptions: fix types. Tom Hacohen 2021-01-04 10:13:24 +0200
  • 3894fd205b
    README: mention minimum requirements Tom Hacohen 2021-01-03 12:55:24 +0200
  • 84870d25bf
    README: mention that Windows requires WSL Tom Hacohen 2021-01-03 09:14:10 +0200
  • 2e21fe4994 Django db cleanup: explicitly add it to dependencies. Tom Hacohen 2020-12-31 10:03:16 +0200
  • 5b8f667e55 Cleanup django db connections before every request and every dependency. Tom Hacohen 2020-12-30 17:09:16 +0200
  • 6ec03c3d34 Revert "Add a django middleware to cleanup db connections." Tom Hacohen 2020-12-30 15:37:59 +0200
  • 6738c2cf20 Remove unused variable. Tom Hacohen 2020-12-30 13:55:05 +0200
  • 64be7f10bd Remove all of the needless async decorators. Tom Hacohen 2020-12-30 10:17:01 +0200
  • 473448246f Add a django middleware to cleanup db connections. Tom Hacohen 2020-12-30 09:20:38 +0200
  • a7fdb4a108 More typing fixes. Tom Hacohen 2020-12-29 20:56:36 +0200
  • 6615b149c5
    Update README with wiki changes (#82) Simon Vandevelde 2020-12-29 20:04:48 +0100
  • 981e1a9a6a Add mypy config. Tom Hacohen 2020-12-29 21:00:56 +0200
  • 8bfdbc55a3 Add typing extensions to requirements. Tom Hacohen 2020-12-29 18:53:31 +0200
  • c4235662d8 Use uvicorn[standard] in requirements to get some added extras. Tom Hacohen 2020-12-29 18:50:18 +0200
  • 709bc6c1fc Improve typing information. Tom Hacohen 2020-12-29 17:18:09 +0200
  • 332f7e2332 Fix Python 3.7 compatibility Tom Hacohen 2020-12-29 17:52:08 +0200
  • 8245577dfb Rename module to prevent confusion on import. Tom Hacohen 2020-12-29 16:55:21 +0200
  • 174e54681d Improve type annotations. Tom Hacohen 2020-12-29 16:06:59 +0200
  • 62eb46ec4e msgpack route: use the encode/decode functions from the utils module. Tom Hacohen 2020-12-29 15:44:52 +0200
  • dbdff06e68 Move all the routers under their own dir. Tom Hacohen 2020-12-29 15:42:41 +0200
  • 8bf04fc286 Reformat files using black. Tom Hacohen 2020-12-29 15:37:11 +0200
  • e6b47ae1a9 Fix login_challenge to work with get_user_queryset. Tom Hacohen 2020-12-29 15:17:46 +0200
  • ff55904f49 Fix user type Tom Hacohen 2020-12-29 14:04:17 +0200
  • 259e395c92
    Merge: change the server to use FastAPI Tom Hacohen 2020-12-29 13:51:51 +0200
  • 84b6114e99 Requirements: add dev requirements and django-stubs. Tom Hacohen 2020-12-29 13:43:11 +0200
  • 794b5f3983 Fix many type errors. Tom Hacohen 2020-12-29 13:22:36 +0200
  • e13f26ec56 Fix handling of legacy accounts that don't have collection type. Tom Hacohen 2020-12-29 10:27:35 +0200
  • f67730f42d Support passing custom middlewares. Tom Hacohen 2020-12-29 10:12:36 +0200
  • a8b97e60d4 Docs: improve metadata. Tom Hacohen 2020-12-29 09:46:20 +0200
  • 7714148807 Use ValidationError when appropriate. Tom Hacohen 2020-12-28 18:49:05 +0200
  • f0a8689712 Implement sendfile. Tom Hacohen 2020-12-28 18:44:55 +0200
  • c7f09d3fef implement chunk_download. Tom Hacohen 2020-12-28 18:25:06 +0200
  • 53b22602b2 Implement chunk_update. Tom Hacohen 2020-12-28 18:17:57 +0200
  • dcf81aa9ce Fix prefetch medium. Tom Hacohen 2020-12-28 18:17:41 +0200
  • f7858a20b7 Fix user creation. Tom Hacohen 2020-12-28 17:46:20 +0200
  • 3d438b9591 Cleanup validation errors. Tom Hacohen 2020-12-28 17:39:51 +0200
  • 10ff303b75 Fix formatting. Tom Hacohen 2020-12-28 17:09:20 +0200
  • fa0979dce1 Test reset: clean reset function. Tom Hacohen 2020-12-28 16:57:09 +0200
  • 151bec0d9e Fix type error. Tom Hacohen 2020-12-28 16:44:13 +0200
  • 586b015eb7 Login: also return username and email upon login. Tom Hacohen 2020-12-28 16:23:01 +0200
  • c2a2e710c9 Move common dependencies to their own file. Tom Hacohen 2020-12-28 15:38:00 +0200
  • 3e39aa88a1 Remove unused var. Tom Hacohen 2020-12-28 15:27:29 +0200
  • 1bca435d74 Workaround typing issue. Tom Hacohen 2020-12-28 15:26:34 +0200
  • 59e30ed988 Signup and logout: make sync. Tom Hacohen 2020-12-28 15:17:13 +0200
  • ca7f2ec73c When converting from ORM convert binary fields to bytes. Tom Hacohen 2020-12-28 15:08:03 +0200
  • 50f89c48e2 Dashboard url: fix getting dashboard url. Tom Hacohen 2020-12-28 15:07:18 +0200
  • c1f171bde0 Change how we create applications. Tom Hacohen 2020-12-28 14:47:41 +0200
  • 65cd722616 django_etebase utils: add optionl user to context. Tom Hacohen 2020-12-28 14:27:23 +0200
  • b3c170e10d fix getting dashboard URL. Tom Hacohen 2020-12-28 14:28:42 +0200
  • 313dcf0721 django_etebase utils: add optionl user to context. Tom Hacohen 2020-12-28 14:27:23 +0200
  • c918d3ed07 Add base64 utils. Tom Hacohen 2020-12-28 14:26:44 +0200
  • 2e9caf66f9 Remove deprecated settings. Tom Hacohen 2020-12-28 14:04:07 +0200
  • 4ceb42780e Remove unused django_etebase code. Tom Hacohen 2020-12-28 13:56:53 +0200
  • 0fa2f2da3b Make the fastapi application the main asgi one. Tom Hacohen 2020-12-28 13:26:12 +0200
  • b081d0129f Add support for read/write permissions. Tom Hacohen 2020-12-28 12:12:00 +0200
  • 6c05a7898a Add functions to split read and write permissions. Tom Hacohen 2020-12-28 11:49:20 +0200
  • 63afcc0830 Mount the django application. Tom Hacohen 2020-12-28 11:44:17 +0200
  • 295ae6f3d3 Update changelog. Tom Hacohen 2020-12-28 16:39:16 +0200
  • 08821c5e33 Update changelog. Tom Hacohen 2020-12-28 16:39:16 +0200
  • ad2205e596 Add trusted host middleware. Tom Hacohen 2020-12-28 10:57:40 +0200
  • 38884fead8 Revert "Improve chunks type." Tom Hacohen 2020-12-28 10:47:07 +0200
  • cf7690a60f Remove usages of EtebaseValidationError. Tom Hacohen 2020-12-28 10:45:34 +0200
  • 37f5a4509f Improve chunks type. Tom Hacohen 2020-12-28 10:41:22 +0200
  • 1a09393dcb Also add 401 to permission responses. Tom Hacohen 2020-12-28 10:29:47 +0200
  • 959dc9b576 minor fix Tal Leibman 2020-12-28 10:27:49 +0200
  • b39f7951e2 chunk first-type. Tom Hacohen 2020-12-28 10:18:35 +0200
  • 4b4be14d32 Add more responses to the API. Tom Hacohen 2020-12-28 10:00:35 +0200
  • a75d5479fa Rename ValidationError to HttpError. Tom Hacohen 2020-12-28 09:51:27 +0200
  • 34c548acda Remove extra import. Tom Hacohen 2020-12-28 09:47:37 +0200
  • 6517fc5db2 More route tags to a central place. Tom Hacohen 2020-12-28 09:35:27 +0200
  • 80d69a5663 Fix collection list and how we return API responses. Tom Hacohen 2020-12-28 09:25:28 +0200
  • ee4e7cf498 Unify the nested router prefix. Tom Hacohen 2020-12-28 09:11:35 +0200
  • 9f26ecf276 API: add documentation tags. Tom Hacohen 2020-12-28 09:04:45 +0200
  • 15988235f2 Exclude unset fields so fix removedMemberships return value. Tom Hacohen 2020-12-28 08:42:48 +0200