Commit Graph

  • 317c492688 CollectionItem: add support for filtering collections' main items. Tom Hacohen 2020-06-23 13:02:45 +0300
  • 291ebaa3f7 Items must have a uid now (not null). Tom Hacohen 2020-06-23 13:00:51 +0300
  • 267d749c45 Collection: change collections to be an extension of items Tom Hacohen 2020-06-23 12:55:28 +0300
  • 37bae63a46 Invitations: add support for fetching using an iterator Tom Hacohen 2020-06-22 18:26:32 +0300
  • d5300a76d8 Members: add support for iterators when listing members Tom Hacohen 2020-06-22 17:51:56 +0300
  • b4db35bca1 List APIs: add done to APIs that didn't have it. Tom Hacohen 2020-06-22 17:27:07 +0300
  • fcb58f0f4c List APIs: fix the stoken calculation for collections. Tom Hacohen 2020-06-22 14:20:26 +0300
  • 6117cac111 List APIs: return a done field to indicate the fetch is done. Tom Hacohen 2020-06-22 13:03:58 +0300
  • 2d7b90e848 Collection items: also show deleted items. Tom Hacohen 2020-06-18 16:14:55 +0300
  • ab0d85c84f Change password: change to require a signed request, just like login. Tom Hacohen 2020-06-17 14:38:02 +0300
  • 54268ac027 Login: add an action indicator to know the user signed a login request. Tom Hacohen 2020-06-17 14:08:08 +0300
  • d1017aac76 Rename django_etesync to django_etebase. Tom Hacohen 2020-06-16 17:12:44 +0300
  • 23b2bb3c0a Batch: refactor code and allow passing deps to check against. Tom Hacohen 2020-06-11 11:17:01 +0300
  • 653341115f Chunks: add stricter validation. Tom Hacohen 2020-06-04 16:52:56 +0300
  • e062fcd429 Revision: add salt. Tom Hacohen 2020-06-04 15:23:10 +0300
  • 119479d22b Test reset: allow anyone to reset test users and fully init accounts. Tom Hacohen 2020-06-03 17:22:10 +0300
  • 29145f2215 Logout: don't use internal auth accessor. Tom Hacohen 2020-06-03 16:19:07 +0300
  • c00c208199 Change to our own token authentication. Tom Hacohen 2020-06-03 15:49:38 +0300
  • cc23d516a0 Add an endpoint to change password. Tom Hacohen 2020-06-03 14:35:44 +0300
  • 9cc68291df Authentication classes: add permissions to logout. Tom Hacohen 2020-06-03 14:21:52 +0300
  • ad184f0ac3 Rename encryptedSeckey to encryptedContent. Tom Hacohen 2020-06-02 18:56:23 +0300
  • 7842bd4d9c CollectionItem list: don't return the main item. Tom Hacohen 2020-06-01 12:45:06 +0300
  • 1bd4c5be52 Send the login signal on login. Tom Hacohen 2020-05-31 18:26:21 +0300
  • c2337f244d Signup: fix signup for users without user info. Tom Hacohen 2020-05-31 16:53:33 +0300
  • 15cd41db83 login: gracefully handle bad login attempts. Tom Hacohen 2020-05-31 16:28:54 +0300
  • 215a260700 Login: use only the username (not email) for login. Tom Hacohen 2020-05-31 16:13:43 +0300
  • 6051a5ae3a Signup: use the recommended drf style for validation. Tom Hacohen 2020-05-31 16:06:59 +0300
  • 40db4e14b0 Signup: rename the UserQuerySerializer to Signup. Tom Hacohen 2020-05-31 16:05:46 +0300
  • 5b2040fda3 Fix running with postgres: convert memoryview to bytes for nacl. Tom Hacohen 2020-05-31 16:05:19 +0300
  • ddc43c638a Requirements: remove unused requirements. Tom Hacohen 2020-05-31 14:56:14 +0300
  • 9347682997 Collection update: support limiting vs not limiting based on stoken. Tom Hacohen 2020-05-31 13:29:03 +0300
  • 64b947d455 Change invitations to also follow our list return type format. Tom Hacohen 2020-05-27 17:14:38 +0300
  • 89b47c67b7 Removed redundant get_serializer_context. Tom Hacohen 2020-05-27 17:06:22 +0300
  • 9f2140ffac Change serializer fetching to the more drf way of doing it. Tom Hacohen 2020-05-27 17:00:33 +0300
  • 6c31b8fb30 CollectionItemView: disallow normal item creation Tom Hacohen 2020-05-27 16:59:24 +0300
  • f6960bb8cb CollectionMember: fix collection list to return data in the right format. Tom Hacohen 2020-05-27 16:51:12 +0300
  • e159bf971b Collection/item viewsets: enforce access. Tom Hacohen 2020-05-27 16:40:08 +0300
  • 6e7fd5d0dd Collection membership: implement leaving/revoking access. Tom Hacohen 2020-05-27 16:03:16 +0300
  • d93a5d3f06 Collections: use the member stokens for filtering based on stoken Tom Hacohen 2020-05-27 12:13:54 +0300
  • 1f18f4e50b CollectionMember: add stokens when we create/change the member. Tom Hacohen 2020-05-27 10:52:27 +0300
  • 91aadb6565 Make etag write-only. Tom Hacohen 2020-05-27 10:16:55 +0300
  • 9c63f8d674 Rename stoken to etag and cstoken to stoken. Tom Hacohen 2020-05-27 10:09:45 +0300
  • 8eee280bbb Split cstoken and stoken to be different concepts Tom Hacohen 2020-05-27 09:39:31 +0300
  • 6e7ad92a12 Add missing migrations forgotten in the previous commit Tom Hacohen 2020-05-26 18:52:44 +0300
  • 2a39f3538e Change to standalone stoken objects (+ small optimisation). Tom Hacohen 2020-05-26 18:52:44 +0300
  • 3cdb7783fe Make sure to always return fresh stokens. Tom Hacohen 2020-05-26 18:14:39 +0300
  • fce844bfc3 Uid: Change how validation is done. Tom Hacohen 2020-05-26 16:26:57 +0300
  • 10b9d33ffe UidValidator: fix to actually validate. Tom Hacohen 2020-05-26 16:13:18 +0300
  • e94e2f9d70 Add a separate pubkey/privatekey for sharing. Tom Hacohen 2020-05-26 13:44:40 +0300
  • 863c405802 Rename pubkey to loginPubkey because we'll soon have another pubkey. Tom Hacohen 2020-05-26 13:23:45 +0300
  • 2412c295de Signup: fix bug making signup not to work. Tom Hacohen 2020-05-26 13:17:35 +0300
  • 8323f23561 Add a nop for api/logout/ Tom Hacohen 2020-05-25 17:28:47 +0300
  • a965a76c36 Invitation: move outgoing invitations to invite/outgoing. Tom Hacohen 2020-05-24 18:19:22 +0300
  • 118dbea4e3 InvitationSerializer: fix user validator. Tom Hacohen 2020-05-24 17:52:09 +0300
  • 7f7d223b9b Fix indentation error. Tom Hacohen 2020-05-24 17:22:43 +0300
  • 40b7edcb84 Add a way to fetch a user's pubkey. Tom Hacohen 2020-05-24 15:20:55 +0300
  • 47e1eec122 Incoming invitations: implement incoming invitations and accepting them Tom Hacohen 2020-05-20 15:15:24 +0300
  • 8d1c02dcb9 Collection invitation: implement creating and manipulating collections invitations. Tom Hacohen 2020-05-20 14:30:09 +0300
  • edd88427b0 Add a viewset to control collection membership. Tom Hacohen 2020-05-20 13:48:46 +0300
  • 4ca74bc69b Permissions: start from scratch and add IsCollectionAdmin permission. Tom Hacohen 2020-05-20 13:47:06 +0300
  • c30cc2f229 Improve and rename bulk_get to filter by item stokens too + cstoken changes Tom Hacohen 2020-05-19 17:57:51 +0300
  • aaee8f5e38 Fix new_cstoken getting for list functions. Tom Hacohen 2020-05-19 17:41:27 +0300
  • 9bbb7ef3d7 Fix filter by cstoken function to not fetch twice. Tom Hacohen 2020-05-19 17:29:54 +0300
  • c63210fe77 CollectionItem: implement batch updating. Tom Hacohen 2020-05-19 16:16:40 +0300
  • b6571c93f6 Collection: fix stoken and add cstoken for the collection token. Tom Hacohen 2020-05-19 15:33:10 +0300
  • e851fb9877 Views: fix wrong items name. Tom Hacohen 2020-05-19 15:28:20 +0300
  • ae4aafcf96 Transaction: make it possible to pass a global stoken to block by. Tom Hacohen 2020-05-19 14:54:44 +0300
  • eeaea6e6ab Transaction: return 200 rather than 201. Tom Hacohen 2020-05-19 13:19:25 +0300
  • f7c66eaadb CollectionItem: add a batch endpoint for batch operations. Tom Hacohen 2020-05-19 13:10:50 +0300
  • 4c7e30eca5 CollectionItem: implement both update and create. Tom Hacohen 2020-05-19 13:00:54 +0300
  • 23dcbc1f9e CollectionItem: always run both serializers when serializing. Tom Hacohen 2020-05-19 12:57:18 +0300
  • 306e7dcd11 Item deps: fix. Tom Hacohen 2020-05-19 11:44:20 +0300
  • 775f438e61 Change deps to be pairs of uid/stoken. Tom Hacohen 2020-05-19 11:20:02 +0300
  • 00a80740ca Collection/item create/update require stoken. Tom Hacohen 2020-05-19 10:48:39 +0300
  • bd1d11fe5f Fix signup and let signup to an empty account. Tom Hacohen 2020-05-18 16:13:48 +0300
  • bced00dc8a Enable logout for now so client tests pass. Tom Hacohen 2020-05-15 13:03:04 +0300
  • 644539bd68 Reset view: adjust reset view path and class. Tom Hacohen 2020-05-15 12:44:25 +0300
  • 48ebbfb322 Disable host verification for debug mode. Tom Hacohen 2020-05-15 12:51:05 +0300
  • f438d0e947 Trim salt when creating the challenge. Tom Hacohen 2020-05-15 12:44:10 +0300
  • 4083be8e8c Username: disallow @ in usernames. Tom Hacohen 2020-05-15 11:01:56 +0300
  • e9e77945a6 Return token and user on signup/login. Tom Hacohen 2020-05-14 17:19:18 +0300
  • 93a0e41f03 Change login flow to better verify all relevant fields. Tom Hacohen 2020-05-14 15:42:42 +0300
  • 32a8b9c90d Implement a ZKPP login flow. Tom Hacohen 2020-05-14 13:43:49 +0300
  • 6b0a40e9dd Set custom user model and reset migrations. Tom Hacohen 2020-05-13 16:01:49 +0300
  • df0f7d134d Collection items: add a transaction endpoint. Tom Hacohen 2020-04-19 17:32:40 +0300
  • d66d0640dc Collection: disallow partial updates. Tom Hacohen 2020-04-19 15:13:09 +0300
  • af27871955 Revision: change the shape of the list response. Tom Hacohen 2020-04-16 17:38:07 +0300
  • 9f0f00a594 Unify the stoken filtering and calculation. Tom Hacohen 2020-04-16 17:36:06 +0300
  • f23815d46d Fix calculation of stoken. Tom Hacohen 2020-04-16 17:14:03 +0300
  • d134934f8c Bulk_get: implement stoken, limit and inline Tom Hacohen 2020-04-16 17:12:51 +0300
  • 19b93265d7 Add a comment. Tom Hacohen 2020-04-16 16:43:21 +0300
  • 687bf9924b API: change how pagination and stoken are done Tom Hacohen 2020-04-16 16:37:26 +0300
  • c5af5fd4e6 Collection: move stoken to the model. Tom Hacohen 2020-04-16 16:33:16 +0300
  • edaa7b0f05 Rename ctag to stoken. Tom Hacohen 2020-04-16 15:35:44 +0300
  • 1f97d1dbf7 Remove redundant gen_rev_uid. Tom Hacohen 2020-04-16 12:56:42 +0300
  • ca7d7dfd12 Allow passing inline to not only GET requests. Tom Hacohen 2020-04-16 11:35:58 +0300
  • a72543f6c9 Collection remove the redundant mainItem model attr. Tom Hacohen 2020-04-16 11:28:49 +0300
  • 0fbc5c104c Implement collection updating. Tom Hacohen 2020-04-15 17:54:39 +0300
  • 62a7496b66 Change how we handle chunk ordering (and relation). Tom Hacohen 2020-04-15 17:35:51 +0300
  • 7a0a00c738 Unify how we handle revision creation. Tom Hacohen 2020-04-15 16:59:30 +0300