Commit graph

27800 commits

Author SHA1 Message Date
Vishnu Mohandas
b8a627a1a3 Add client side validation to prevent the user from sharing the album with themselves 2020-10-17 23:48:28 +05:30
Vishnu Mohandas
0b407ef98d Persist user keys after fetch 2020-10-17 23:46:30 +05:30
Vishnu Mohandas
91e985ec88 Add a data store to persist user keys 2020-10-17 23:46:23 +05:30
Vishnu Mohandas
3f5ef06a09 Remove unnecessary param for fetching public key 2020-10-17 23:34:41 +05:30
Vishnu Mohandas
92d154b96e Create a collection and back up the folder if a user attempts to share a folder that is not backed up 2020-10-17 22:51:32 +05:30
Vishnu Mohandas
c456ff80c8
Be cheeky. 2020-10-16 00:58:07 +05:30
Vishnu Mohandas
9f60842402
Merge pull request #3 from ente-io/collections
Replace `folders` with `collections`.
2020-10-16 00:37:47 +05:30
Vishnu Mohandas
d64f34f6d7 Remove dead code related to folders 2020-10-14 21:48:26 +05:30
Vishnu Mohandas
f6b9e50f8a Add a gallery for shared collections 2020-10-14 03:16:46 +05:30
Vishnu Mohandas
6a73308bd1 Fix remaining issues with displaying shared collection items 2020-10-14 03:10:22 +05:30
Vishnu Mohandas
54558c4d92 Remove folder service 2020-10-14 03:10:09 +05:30
Vishnu Mohandas
0af41fd97b Fetch and store shared collections 2020-10-14 01:42:37 +05:30
Vishnu Mohandas
fcc172f733 Pull the util method to serialize and deserialize a collection type into the Collection class 2020-10-14 01:12:39 +05:30
Vishnu Mohandas
cec8f454b1 Remove unused library 2020-10-13 21:33:01 +05:30
Vishnu Mohandas
eb639fcfec Add dependency on pedantic 2020-10-13 21:32:42 +05:30
Vishnu Mohandas
3cd6a0fd6e Remove unused variable 2020-10-13 11:54:48 +05:30
Vishnu Mohandas
0849ef21c1 Update share folder UI 2020-10-13 11:53:45 +05:30
Vishnu Mohandas
d30851c257 Remove TODO 2020-10-13 10:52:25 +05:30
Vishnu Mohandas
c75bc2f784 Update sharee fetching logic 2020-10-13 10:52:20 +05:30
Vishnu Mohandas
40ebae5fa3 Add API to fetch sharees 2020-10-13 10:51:44 +05:30
Vishnu Mohandas
4c94a2b1d5 Wrap email within a flexible widget to prevent overflows 2020-10-13 07:25:24 +05:30
Vishnu Mohandas
181d7af1a8 Fetch owned collections 2020-10-13 02:06:02 +05:30
Vishnu Mohandas
aae4813959 Fetch owned collections first 2020-10-13 02:05:39 +05:30
Vishnu Mohandas
83be7e3e42 Fix file decryption logic 2020-10-13 02:05:33 +05:30
Vishnu Mohandas
76eb21350f Fix the type of owner_id in collections table 2020-10-13 02:05:04 +05:30
Vishnu Mohandas
959f6cd27e Log errors with the stack trace 2020-10-13 02:04:34 +05:30
Vishnu Mohandas
107c1b870e Send the collectionID in file creation requests 2020-10-13 00:45:01 +05:30
Vishnu Mohandas
b8586e31e0 Fix the serialziation logic for CollectionType 2020-10-13 00:44:23 +05:30
Vishnu Mohandas
13715c924c Remove redundant code to sync diff 2020-10-12 23:55:33 +05:30
Vishnu Mohandas
2f89dcde2a Remove call to sync folders 2020-10-12 23:55:09 +05:30
Vishnu Mohandas
bae1ee9d65 Upgrade pull to refresh lib 2020-10-12 23:52:48 +05:30
Vishnu Mohandas
d5338af961 Update API endpoint to upload and fetch files 2020-10-11 05:59:31 +05:30
Vishnu Mohandas
fa8a284af3 Encrypt file key with the collection key 2020-10-11 05:56:52 +05:30
Vishnu Mohandas
6f2f95b038 Remove unnecessary call to fetch a collection when it's known that there is none 2020-10-11 05:53:28 +05:30
Vishnu Mohandas
8f8594f07f Decrypt keys of files within collections using the collectionKey 2020-10-11 05:47:31 +05:30
Vishnu Mohandas
da8b69084b Add collectionID as an attribute to files 2020-10-11 05:30:44 +05:30
Vishnu Mohandas
b12f746567 Add API to create a collection 2020-10-11 05:17:51 +05:30
Vishnu Mohandas
0ba60025f3 Add pathDecryptionNonce as a param 2020-10-11 05:14:04 +05:30
Vishnu Mohandas
a40355c249 Remove unnecessary await 2020-10-11 05:13:47 +05:30
Vishnu Mohandas
bae5c9bf7d Explicitly state the sync nature of the encryption API 2020-10-11 05:08:22 +05:30
Vishnu Mohandas
86b60fd487 Add API to seal with a user's public key 2020-10-11 04:11:15 +05:30
Vishnu Mohandas
50a67acb75 Use the explicit sync-decrypt API 2020-10-11 04:10:18 +05:30
Vishnu Mohandas
bd879263f0 Add functionality to extract a decrypted collection key 2020-10-11 04:08:33 +05:30
Vishnu Mohandas
7e4519f9ef Update user service to accept both email and user IDs as input 2020-10-11 03:50:08 +05:30
Vishnu Mohandas
c252e03185 Fetch and persist collections on startup 2020-10-11 03:33:38 +05:30
Vishnu Mohandas
c66eb60d02 Introduce a CollectionsDB 2020-10-11 03:33:25 +05:30
Vishnu Mohandas
eb12d617de Trigger CollectionService sync from sync-service 2020-10-11 02:50:20 +05:30
Vishnu Mohandas
ef65350826 Remove redundant todo 2020-10-11 02:38:35 +05:30
Vishnu Mohandas
e6a73f882d Update UI to share a folder 2020-10-10 05:21:20 +05:30
Vishnu Mohandas
c9342e9cc8 Define a collection service 2020-10-10 05:21:12 +05:30