1
0
mirror of https://github.com/etesync/server synced 2024-11-28 03:38:07 +00:00

Commit Graph

  • 9ea01d4d93 CollectionMemberSerializer: change the user field to be read only. Tom Hacohen 2020-07-13 11:15:42 +0300
  • 41a03e9d3b Invitation: fix the checks making sure you can't invite yourself. Tom Hacohen 2020-07-12 13:23:45 +0300
  • 9f1bfceda7 Increase token ttl to 30 days. Tom Hacohen 2020-07-12 11:27:47 +0300
  • 7ec45434ba User: make username case insensitive (and save original styling). Tom Hacohen 2020-07-12 11:11:33 +0300
  • 9a518b3907 Chunks: add error handling for chunks having content or not existing. Tom Hacohen 2020-07-10 09:29:19 +0300
  • fae15fe420 Views: clean up how we use serializers and remove integrity_errors catch-alls. Tom Hacohen 2020-07-10 09:27:34 +0300
  • 86c5d711a6 Chunk upload: item.uid can never be None so use it directly. Tom Hacohen 2020-07-10 09:09:11 +0300
  • e8e859fa6a Add README. Tom Hacohen 2020-07-08 17:45:50 +0300
  • 2d4410ef36 Add license file. Tom Hacohen 2020-07-08 17:45:44 +0300
  • ee23707fff Debug reset: put the whole request in a transaction. Tom Hacohen 2020-07-05 15:43:37 +0300
  • cc163d27af Add settings and configuration to run the etebase app. Tom Hacohen 2020-07-05 15:04:24 +0300
  • 08c4aa9d43 Add .gitignore. Tom Hacohen 2020-07-05 15:09:46 +0300
  • 4aa3daaa97 Create a new django project. Tom Hacohen 2020-07-05 14:57:38 +0300
  • f69c3a327c Revert "django_etebase: make migration generic and not depend on myauth." Tom Hacohen 2020-07-05 13:15:42 +0300
  • f147f4ae58 Serializers: allow encryptionKey to be null. Tom Hacohen 2020-06-29 15:31:29 +0300
  • 3dfceb63b1 Views: move the base64 encoding to the renderers. Tom Hacohen 2020-06-29 14:50:06 +0300
  • 2880673e27 drf_msgpack: add code to parse/serialise msgpack Tom Hacohen 2020-06-29 13:01:40 +0300
  • fbf5552a62 Modify binary64 field to support binary renderers/parsers Tom Hacohen 2020-06-29 13:20:23 +0300
  • 453275eadf Authentication: move to msgpack for the encrypted parts. Tom Hacohen 2020-06-29 11:30:59 +0300
  • 85de674ee2 Move the etebase urls configuration to django_etebase. Tom Hacohen 2020-06-28 17:11:20 +0300
  • 4948e91c65 django_etebase: make migration generic and not depend on myauth. Tom Hacohen 2020-06-28 16:52:14 +0300
  • 785e4fae97 Merge the uidvalidator with the base64url validator and set a min length. Tom Hacohen 2020-06-26 12:13:50 +0300
  • c00cf50163 Revision: remove salt field. Tom Hacohen 2020-06-26 11:21:53 +0300
  • 2b52eec41f Allow chunk UIDs to be longer. Tom Hacohen 2020-06-26 11:05:01 +0300
  • 625df22989 Make item encryption key optional for collections/items Tom Hacohen 2020-06-26 10:31:03 +0300
  • cbb1d81850 Rename inline to prefetch and have it on by default. Tom Hacohen 2020-06-24 15:55:36 +0300
  • c21c6af1d7 Filter by stoken: fix the done implementation for more functions Tom Hacohen 2020-06-24 14:38:29 +0300
  • 0ce2e8d996 Filter by stoken: cleanup and fix the done implementation Tom Hacohen 2020-06-24 14:34:03 +0300
  • 61383b9896 Stoken filtering: order by max_stoken to make sure we have a reliable order. Tom Hacohen 2020-06-24 13:35:23 +0300
  • caa84c2a96 Stoken filtering: clean up stoken filtering and annotation. Tom Hacohen 2020-06-24 13:20:07 +0300
  • 0a19cd7e2c Stoken filtering: abstract getting the stoken id. Tom Hacohen 2020-06-24 11:30:37 +0300
  • f6ef514661 Collection members: order by id so order is consistent. Tom Hacohen 2020-06-24 10:58:27 +0300
  • 1bed39af9d Collection/item uid: allow base64-url not just base62. Tom Hacohen 2020-06-24 10:48:47 +0300
  • 2da49bb95e Item revisions: don't exclude current, let the client decide. Tom Hacohen 2020-06-24 10:02:55 +0300
  • 68365f5d75 Collection revision: support the inline parameter. Tom Hacohen 2020-06-23 18:35:09 +0300
  • 7183b97541 Collection revision: implement iteration. Tom Hacohen 2020-06-23 18:25:23 +0300
  • 786948c456 Item revisions: never return the current revision, only old ones. Tom Hacohen 2020-06-23 18:04:49 +0300
  • 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