Commit graph

132 commits

Author SHA1 Message Date
Neeraj Gupta 3ae0e75820 Handle album renames & local folder renames as well 2023-10-04 19:24:33 +05:30
Neeraj Gupta c6836f6d88 Add support for storing albumEntries 2023-10-04 11:52:34 +05:30
Neeraj Gupta 5535f5bc5c Add logic to create photos folder in hw and create album folders 2023-10-04 11:51:54 +05:30
Neeraj Gupta ece4d1f719 Rename 2023-10-04 08:31:24 +05:30
Neeraj Gupta 342325a56a Move mappers inside separate pkg 2023-09-27 14:13:42 +05:30
Neeraj Gupta 93925b0731 Move CLIkey in KeyHolder 2023-09-27 14:09:44 +05:30
Neeraj Gupta 86385a1a2f Refactor 2023-09-27 11:02:36 +05:30
Neeraj Gupta 9b50fbfa35 Minor rename 2023-09-27 08:07:42 +05:30
Neeraj Gupta 985a7ccc78 Fix mapping of metadata updation Time 2023-09-26 17:04:34 +05:30
Neeraj Gupta 2b2c3f47d8 Rename 2023-09-25 19:12:56 +05:30
Neeraj Gupta bc7a8418ee Add support for downloading file 2023-09-25 19:10:36 +05:30
Neeraj Gupta fc0abaff5a Fix mapping of metadata 2023-09-25 18:21:45 +05:30
Neeraj Gupta 8b1064f401 Update README.md 2023-09-25 14:19:03 +05:30
Neeraj Gupta 12ff1ee552 Store metadata as map for albums 2023-09-25 14:03:58 +05:30
Neeraj Gupta 4294747d36 Add logic to decrypt file metadata and persist 2023-09-25 13:30:07 +05:30
Neeraj Gupta f06d9ba5bf undo test changes 2023-09-25 12:15:04 +05:30
Neeraj Gupta 920bd0c7df Remove unused param 2023-09-25 12:14:41 +05:30
Neeraj Gupta 8aafeccd1d Add support for persisting remote files metadata 2023-09-25 11:53:12 +05:30
Neeraj Gupta cab929da2b Add log prefix 2023-09-25 09:58:15 +05:30
Neeraj Gupta f91a424e44 Refactor 2023-09-25 08:17:29 +05:30
Neeraj Gupta ed3d4edaad Store remote albums in local db 2023-09-25 08:10:15 +05:30
Neeraj Gupta 47fbe0140b Ignore deleted collections on first sync 2023-09-25 01:52:03 +05:30
Neeraj Gupta a800ce745a Persist and use collection last sync time 2023-09-25 01:51:11 +05:30
Neeraj Gupta 4eb3483e87 Update stores 2023-09-25 01:50:52 +05:30
Neeraj Gupta ba7d0c4493 Fix API request 2023-09-25 01:40:14 +05:30
Neeraj Gupta a79c8b34ff Fix mapping for early collections 2023-09-24 23:44:08 +05:30
Neeraj Gupta b6417d09b3 Mapper for api.Collection to model.Album conversion 2023-09-24 11:04:51 +05:30
Neeraj Gupta 66f20598c2 Documentation 2023-09-24 10:33:59 +05:30
Neeraj Gupta 8f6b544f49 Move collection key derivation in KeyHolder 2023-09-23 17:00:37 +05:30
Neeraj Gupta 02ff452c09 Refactor 2023-09-23 16:15:10 +05:30
Neeraj Gupta c5f978d32b Add support for decrypting shared collectionKey 2023-09-23 09:47:08 +05:30
Neeraj Gupta 02b08da7ea Store account publicKey 2023-09-23 09:40:54 +05:30
Neeraj Gupta d59991bd7f Move encoding utils in separate pkg 2023-09-23 09:35:37 +05:30
Neeraj Gupta 42a6217d44 Refactor computation of collecitonKey 2023-09-23 09:34:21 +05:30
Neeraj Gupta 564696e0ef Add model for storing albums locally 2023-09-23 09:33:44 +05:30
Neeraj Gupta c102fe9281 Fix test 2023-09-22 21:45:37 +05:30
Neeraj Gupta 49966ad7cb Add KeyHolder for keeping in-mem keys 2023-09-22 21:45:01 +05:30
Neeraj Gupta 17aa01ea37 Fix test 2023-09-22 19:17:24 +05:30
Neeraj Gupta fcb290a553 Bug fixes and support for decrypting collection names 2023-09-22 19:07:12 +05:30
Neeraj Gupta 652cf53e32 Store both masterKey and secretKey 2023-09-22 17:48:32 +05:30
Neeraj Gupta b4f0994a34 Fetch remote collection & print ids 2023-09-22 13:50:50 +05:30
Neeraj Gupta e3c6f4c8a7 API: Fix GetCollection 2023-09-22 13:49:09 +05:30
Neeraj Gupta 42112309d5 RestClient: Attach account specific token 2023-09-22 13:48:33 +05:30
Neeraj Gupta 8a26f13b76 EncString: Use base64 encoding 2023-09-22 13:47:40 +05:30
Neeraj Gupta 1e519280ed Rename 2023-09-22 10:59:02 +05:30
Neeraj Gupta 40acd1d226 Use token map for storing multiple tokens 2023-09-22 10:57:58 +05:30
Neeraj Gupta 490e145053 Handle err + minor refactor 2023-09-22 10:55:33 +05:30
Neeraj Gupta 235face771 Test for enc_string 2023-09-22 10:50:23 +05:30
Neeraj Gupta 107fd736fd Create various buckets for an account 2023-09-22 10:14:22 +05:30
Neeraj Gupta 49586cae3c Add GetListAccounts + refactor 2023-09-22 10:05:25 +05:30