Commit graph

441 commits

Author SHA1 Message Date
Neeraj Gupta fa17c7562b
Remove redundant update
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-20 14:18:53 +05:30
Neeraj Gupta ac0011f83b
Add base EnteFile and use cacheKey for thumbnailCache 2022-07-19 16:42:28 +05:30
Neeraj Gupta 9b1707071a
FixDownload: Ignore live video for auto-upload 2022-07-16 11:03:41 +05:30
Neeraj Gupta 35d8e00034
Add view all device photos option for iOS 2022-07-09 22:53:11 +05:30
Neeraj Gupta b123b2301c
Add API to fetch delete challenge 2022-07-08 14:20:19 +05:30
Neeraj Gupta ca1d9388e2
Fix share to ente upload 2022-07-06 01:35:51 +05:30
Neeraj Gupta fdadf36baa
Lint fixes 2022-07-03 15:39:01 +05:30
Neeraj Gupta 6a0e7b2315
Fix more lint issues 2022-07-03 13:17:15 +05:30
Neeraj Gupta b2d3cc9946
minor fix 2022-06-29 15:13:22 +05:30
Neeraj Gupta d2c506f149
Fix: selectedFiles use generatedId for tracking selected files 2022-06-29 15:11:20 +05:30
Neeraj Gupta e248758ad9
Refactor ImportantItemsFilter logic 2022-06-21 18:13:24 +05:30
vishnukvmd 47505ae102 Execute dart format lib 2022-06-11 13:53:52 +05:30
vishnukvmd 3e306facf5 Apply dart fix for require_trailing_commas 2022-06-11 13:53:18 +05:30
Neeraj Gupta 7c785d5c0a
Merge branch 'master' into redesign 2022-06-06 10:03:29 +05:30
Neeraj Gupta a77bf352db
File:include title in toString() 2022-06-05 17:17:59 +05:30
Neeraj Gupta 22b25db0c1
Merge branch 'master' into redesign 2022-05-27 20:14:47 +05:30
Neeraj Gupta c70b08c990
Merge remote-tracking branch 'origin/master' into redesign 2022-05-13 22:52:34 +05:30
Neeraj Gupta ae1ee2ca4a
Merge branch 'master' into photos_manger_upgrade 2022-05-13 17:31:49 +05:30
Neeraj Gupta 1137eea2f7
Fix null memories/shared album text 2022-05-12 09:27:22 +05:30
Neeraj Gupta 22babe31e6
upgrade photos_manager pkg 2022-05-12 08:57:32 +05:30
ashilkn 90cd47c46d refactored GalleryAppBarType and GalleryOverlayType to GalleryType 2022-05-08 10:04:55 +05:30
Neeraj Gupta 6287636d1e
update usage details section 2022-05-03 00:27:50 +05:30
Neeraj Gupta 8324fd5def
Update usage detail section for family plan 2022-04-21 09:52:58 +05:30
Neeraj Gupta 151456953d
use totalUsage while checking for downgrade 2022-04-21 02:06:35 +05:30
Neeraj Gupta 4bcde8d308
msupport for managing family 2022-04-21 01:44:44 +05:30
Neeraj Gupta 6dcb4ba0b4
switch to usageDetailsV2 for fetching subscription 2022-04-14 19:47:41 +05:30
Neeraj Gupta 9000974fb6
UserService: Support to fetch user/details/v2 2022-04-14 18:31:24 +05:30
Neeraj Gupta 588aae777f Add support for archiving collection 2022-03-21 15:02:24 +05:30
Neeraj Gupta 7ebf0cd368
support for setting link expiry, download button. & password 2022-02-22 11:38:27 +05:30
Neeraj Gupta 810a7f8fca
temp 2022-02-21 07:43:10 +05:30
Neeraj Gupta ff61b7113a
Support for enabling/disabling public urls 2022-01-23 11:34:39 +05:30
vishnukvmd e30f038395 Accept review comments 2021-11-24 11:10:07 +05:30
vishnukvmd 7fb8b6690a Add session model 2021-11-24 01:10:22 +05:30
Neeraj Gupta f5d1a24ee7 Allow changing file name via info dialog 2021-11-12 17:18:39 +05:30
Vishnu Mohandas 20b8b9b794
Merge pull request #119 from ente-io/exif_time
Use creationTime from EXIF when available
2021-10-28 00:06:52 +05:30
vishnukvmd 90904cbe6a Remove dependency on external lib to parse time 2021-10-27 20:03:09 +05:30
vishnukvmd 9dfefc4f46 Parse creationTime from exif only for images 2021-10-27 18:18:58 +05:30
vishnukvmd 840e2f3a3c Use creationTime from EXIF when available 2021-10-27 18:17:34 +05:30
Neeraj Gupta 96932f22d7
Merge branch 'master' into edit-time 2021-10-27 13:25:42 +05:30
Neeraj Gupta bf18952156
IgnoredFiles: add deviceFolder 2021-10-27 10:03:59 +05:30
Neeraj Gupta 3816f15343
formatting changes 2021-10-26 20:16:58 +05:30
Neeraj Gupta 13d683c42f
minor fix 2021-10-26 17:43:20 +05:30
Neeraj Gupta aa145e0217
Support for editing date of memory 2021-10-26 16:07:14 +05:30
Neeraj Gupta 4e492396e4
File & FilesDB: Add pubMetadata 2021-10-26 10:55:42 +05:30
Neeraj Gupta 4207633797
Fix: Add fileType in file metadata 2021-10-25 17:01:11 +05:30
Neeraj Gupta 047b154156
trash_db: store file original metadata as json 2021-10-22 15:00:06 +05:30
Neeraj Gupta 6d3327113a
Fixes based on review comments 2021-10-21 17:38:12 +05:30
Neeraj Gupta f5a74f220a
IgnoredFile: minor refactoring & improved documentation 2021-10-17 19:58:47 +05:30
Neeraj Gupta 3b3f787f8c
persist deleted/trashed files with localId in ignoredFiles db 2021-10-16 21:45:15 +05:30
Neeraj Gupta df6eeb407b
Add support for persisting ignored files 2021-10-16 20:44:40 +05:30
Neeraj Gupta ceaed8def3
TrashFile: extend File 2021-10-13 02:59:05 +05:30
Neeraj Gupta a5265b09af
Add diff fetcher for trashed files 2021-10-12 20:18:35 +05:30
Neeraj Gupta f488f47f2b
Trash: Add trash service & api to trash files 2021-10-11 10:35:37 +05:30
vishnukvmd 2ee21cd928 Merge branch 'master' into deduplicate 2021-09-23 12:46:08 +05:30
Neeraj Gupta fa4480eb44
Improve filename to datetime parsing for video files 2021-09-22 11:48:48 +05:30
Neeraj Gupta 2bbf49384f
Rename to avoid conflict between request MagicMetadata & File:MagicMetadata 2021-09-20 12:56:25 +05:30
Neeraj Gupta 81eeeb7aeb
magic-metadata: rename 2021-09-20 12:11:38 +05:30
Neeraj Gupta e9de949468
[archive] more refactoring 2021-09-18 09:24:32 +05:30
Neeraj Gupta fde3ef0ec3
use constants for file visibility values 2021-09-17 15:34:24 +05:30
Neeraj Gupta f3e131e160
Sync service to update magic metadata on remote 2021-09-16 22:51:27 +05:30
Neeraj Gupta d120f18aab
Support for persisting magic metadata for file 2021-09-16 18:44:51 +05:30
vishnukvmd f38259bae9 Convert fetched fileIDs to File objects 2021-09-14 23:58:14 +05:30
vishnukvmd dcab8b8028 Add API to fetch duplicate files from remote 2021-09-14 20:53:39 +05:30
vishnukvmd d9b8f95868 Remove unused import 2021-09-14 20:53:23 +05:30
Neeraj Gupta 45d3b2f9a0
Stop uploading fileExif as part of encrypted metadata 2021-09-13 12:54:54 +05:30
Neeraj Gupta 70526a4157 Fixed upload for files shared to ente for backup 2021-08-31 13:50:32 +05:30
Neeraj Gupta 779449a340
Merge pull request #23 from ente-io/stripe_payment
Enable subscription via Stripe on independent apk
2021-08-28 10:42:03 +05:30
Neeraj Gupta 69a9a0f67c
Merge pull request #26 from ente-io/cf_worker_flag
Add feature flag to enable/disable CF Worker endpoint
2021-08-24 13:04:24 +05:30
vishnukvmd b97fb12b05 Clear origin files that are cached 2021-08-24 12:44:51 +05:30
Neeraj Gupta c1e0886757 Add feature flag to enable/disable CF Worker 2021-08-24 12:21:02 +05:30
Neeraj Gupta 4cdd9a6238 Remove unused method 2021-08-24 11:36:59 +05:30
Neeraj Gupta a4d5367f3b Merge branch 'stripe_payment' of github.com:ente-io/frame into stripe_payment 2021-08-23 15:46:23 +05:30
Neeraj Gupta 14fa763d80 address review comments 2021-08-23 15:45:45 +05:30
vishnukvmd c6475827ef Merge branch 'master' into stripe_payment 2021-08-23 15:31:30 +05:30
Neeraj Gupta d3d80fd9a4 Handle active playstore/appstore subs & minor ui tweaks 2021-08-21 19:48:04 +05:30
Neeraj Gupta 9175387f7d Support Stripe subscription renewal and cancellation 2021-08-19 16:53:48 +05:30
Neeraj Gupta 65036a015c Support to toggle between monthly and yearly plans 2021-08-19 13:23:37 +05:30
vishnukvmd f8f589f975 Fix exif local storage 2021-08-18 19:32:37 +05:30
vishnukvmd 709c4e959c Store metadata attributes to disk 2021-08-18 18:53:42 +05:30
vishnukvmd fcf70af11c Push exif also into metadata 2021-08-18 18:16:36 +05:30
vishnukvmd ba8392b6a5 Version metadata 2021-08-18 17:45:22 +05:30
vishnukvmd 97ea3b2777 Add file subtype and video duration to metadata 2021-08-18 17:43:20 +05:30
vishnukvmd dd941e6e31 Add file hash to metadata 2021-08-18 17:37:50 +05:30
vishnukvmd 700e3236fb Enable Live Photos 2021-08-10 12:33:10 +05:30
vishnukvmd de52f9f7e4 Parse live photo only on debug mode 2021-08-09 12:36:46 +05:30
vishnukvmd 7847c6e6c6 Fix alignment of the details section screen 2021-08-09 12:33:40 +05:30
Neeraj Gupta 8c39bd5b92 Enable live photo in debug mode only 2021-08-05 22:57:00 +05:30
Neeraj Gupta 512247a515 Merge remote-tracking branch 'origin/master' into live_photos 2021-08-05 15:09:52 +05:30
vishnukvmd 503593e8c4 Log localID and modification time to help with deduplication 2021-08-05 01:39:00 +05:30
vishnukvmd c5ca9c4886 Add the file's generatedID to logs to help in deduplication 2021-08-05 01:03:57 +05:30
Neeraj Gupta 7569b4260e Identify livePhoto based on subTypes 2021-08-04 19:15:34 +05:30
Neeraj Gupta 740ed01f9e Add livePhoto fileType 2021-08-03 20:11:40 +05:30
vishnukvmd a181322f6c Add missing newline 2021-07-31 12:10:22 +05:30
vishnukvmd 80217eadb3 Add widget to render user details 2021-07-28 19:38:27 +05:30
vishnukvmd 2696f3f792 Keep folders to backup in sync with the latest folders on disk 2021-07-28 01:13:21 +05:30
vishnukvmd 7027c8666b Remove unencrypted information from log 2021-07-27 22:22:47 +05:30
vishnukvmd 301cea1ca8 Parse price and period for the active subscription 2021-07-26 21:38:23 +05:30
Neeraj Gupta 1d8721803b Rename 2021-07-24 23:03:59 +05:30
Neeraj Gupta 830e83e3bb Gracefully handle deletion of unsynced files 2021-07-24 22:52:46 +05:30
Neeraj Gupta 4bab7ca586 Store manual backup media in a separate directory 2021-07-24 19:00:33 +05:30
Neeraj Gupta 6e1ea2ae6d Move app cache files identifier in constant 2021-07-23 18:23:39 +05:30
Neeraj Gupta 01eae7e2fd Merge remote-tracking branch 'origin/master' into share_to_ente_android 2021-07-23 18:15:28 +05:30
vishnukvmd bdb344f040 Back up all folders if "select all" is opted for within backup folder selection widget 2021-07-23 17:58:02 +05:30
Neeraj Gupta f29abe8e72 Merge remote-tracking branch 'origin/master' into share_to_ente_android 2021-07-23 09:58:30 +05:30
vishnukvmd eb9de99730 Fix moar linter warnings 2021-07-23 00:11:58 +05:30
Neeraj Gupta 77c2489714 Merge remote-tracking branch 'origin/master' into share_to_ente 2021-07-22 13:16:22 +05:30
Neeraj Gupta a0b3010348 Fix crash in imageEdit for remote files 2021-07-22 12:55:30 +05:30
Neeraj Gupta 9adf41fd2e Add support for uploading & reading image from app cache 2021-07-22 11:41:32 +05:30
Neeraj Gupta 759c894a88 File: Add isRemoteFile util method 2021-07-20 12:08:38 +05:30
vishnukvmd daadcdf8b7 Set creationTime to 0 if unavailable 2021-07-18 14:27:17 +05:30
Vishnu Mohandas d6f7ad5020 Encapsulate file load results in a model 2021-06-29 10:43:16 +05:30
Vishnu 8a07a438f2 Use server API to compute file size 2021-06-28 12:10:19 +05:30
Vishnu 3a369eb76d Add API to fetch backed up files 2021-06-28 11:00:58 +05:30
Vishnu Mohandas 505a2d029c Fix link to preview 2021-06-09 21:01:57 +05:30
Vishnu Mohandas b0140f53c3 Save edited file to DB 2021-06-03 03:16:38 +05:30
Vishnu Mohandas ca8e6b412d Parse stripeID within billing plans 2021-05-19 23:03:21 +05:30
Vishnu Mohandas 43a7e074ba Show error dialog to Stripe customers 2021-05-08 04:09:28 +05:30
Vishnu Mohandas a41774a761 Revert to using CF worker proxy 2021-05-07 04:02:02 +05:30
Vishnu Mohandas 62bc2de3da Improve efficiency of fetching latest files across collections 2021-05-04 20:56:17 +05:30
Vishnu Mohandas f04a0a4505 Revert to S3 endpoint 2021-05-04 02:29:40 +05:30
Vishnu Mohandas abebf11f38 Prevent entire gallery reloads for selection 2021-05-02 16:49:05 +05:30
Vishnu Mohandas 25f381505b Reload only the smallest section required when a file is selected/unselected 2021-05-01 00:43:49 +05:30
Vishnu Mohandas 131d5ecc71 Parse location data correctly 2021-04-19 16:20:57 +05:30
Vishnu Mohandas 98a0e91128 Generate new recovery keys for users who don't have any right now 2021-04-01 23:03:15 +05:30
Vishnu Mohandas d7acc95855 Generate recovery key as per specs 2021-03-29 20:29:37 +05:30
Vishnu Mohandas ba48e51516 Update set key request contract 2021-03-28 18:13:44 +05:30
Vishnu Mohandas 3666c4fc75 Set default state for the important items filter 2021-03-26 01:34:33 +05:30
Vishnu Mohandas a9e18a4be7 Update logic for rendering important items 2021-03-26 01:24:05 +05:30
Vishnu Mohandas b7f7b95236 Resort to creationTime if modificationTime is found to be null 2021-03-23 13:33:51 +05:30
Vishnu Mohandas 8cb7f885b3 Default to sensitive limits for computation and memory for key derivation 2021-03-18 14:57:59 +05:30
Vishnu Mohandas 317bbf8f18 Remove all instances of kekHash 2021-03-18 13:39:02 +05:30
Vishnu Mohandas f986c9ae29 Make free plan configurable 2021-03-02 12:05:10 +05:30
Vishnu Mohandas 99726eac4a Update remote asset URLs 2021-03-02 05:13:36 +05:30
Vishnu Mohandas 2c69be6071 Add product ID for free susbcriptions 2021-02-25 20:29:54 +05:30
Vishnu Mohandas db47586424 Don't rely on cache that does not exist yet 2021-02-14 23:45:38 +05:30
Vishnu Mohandas 77b909f3d2 Remove legacy code related to orma.in where files could be unencrypted 2021-02-08 14:35:41 +05:30
Vishnu Mohandas 6fdbba8d73 Update subscription model 2021-02-01 16:08:07 +05:30
Vishnu Mohandas 8b7c16d522 Fix variable name 2021-02-01 15:51:25 +05:30
Vishnu Mohandas 088c1777fd Update billing plan model 2021-02-01 15:50:39 +05:30
Vishnu Mohandas 4465056061 Display current usage on the susbcription page 2021-02-01 02:30:12 +05:30
Vishnu Mohandas 74bb2ce0c4 Update subscription model 2021-01-29 16:37:58 +05:30
Vishnu Mohandas 013c1576be Merge branch 'encrypt-collection-name' into ui_refresh 2021-01-25 15:20:53 +05:30
Abhinav-grd b5f05b0afd set default version as 0 and corrected version check 2021-01-24 21:17:42 +05:30
Abhinav-grd cc5dc4aa43 set version default value to zero 2021-01-24 11:52:01 +05:30
Abhinav-grd db8f9dd592 updated Classes collection and CollectionAttributes 2021-01-22 13:47:22 +05:30
Vishnu Mohandas f7cbd2c284 Handle null locations gracefully 2021-01-19 14:00:48 +05:30
Vishnu Mohandas 0324664551 Update subscription model 2021-01-18 22:32:44 +05:30
Vishnu Mohandas 90807c29f7 Update subscription model 2021-01-18 21:50:35 +05:30
Vishnu Mohandas 84f8894f7f Parse null location 2021-01-13 13:59:17 +05:30
Vishnu Mohandas 540cea31df Persist subscription plan returned by the server 2021-01-06 17:26:03 +05:30
Vishnu Mohandas facc9b04ce Update BillingPlan model 2021-01-06 14:17:18 +05:30
Vishnu Mohandas 669eed55e4 Add BillingService 2021-01-05 15:11:32 +05:30
Vishnu Mohandas b06eacc7b6 Mark uploaded files as important 2020-12-08 01:11:53 +05:30
Vishnu Mohandas dbad2cc37f Remove unnecessary fields from the log statement 2020-12-02 02:48:32 +05:30
Vishnu Mohandas dc45c81f27 Remove unused function 2020-11-30 15:20:08 +05:30
Vishnu Mohandas cd224e523d Ensure that tokens are passed only in the header 2020-11-27 12:22:07 +05:30
Vishnu Mohandas 19cb8989fe Remove unused model 2020-11-27 12:21:53 +05:30
Vishnu Mohandas dde2e5436e Fetch the latest set of files within a device folder when updated 2020-11-26 15:57:36 +05:30
Vishnu Mohandas 2effbf834d Eagerly supply all available device folder files 2020-11-14 16:27:08 +05:30
Vishnu Mohandas 96dba3f905 Update shared collections interface 2020-11-02 20:08:59 +05:30
Vishnu Mohandas 89c5d37389 Refresh local device folder when a file is deleted 2020-11-01 10:50:20 +05:30
Vishnu Mohandas 46e5993de4 Update collection owner structure 2020-10-31 21:41:43 +05:30
Vishnu Mohandas 7d52d3c411 Delete collections deleted on remote 2020-10-31 18:18:41 +05:30
Vishnu Mohandas 6cfb3df4d8 Remove outdated field from File 2020-10-31 04:27:29 +05:30
Vishnu Mohandas 405578b086 Show an indicator of the collection owner's email on the shared collection icon 2020-10-30 21:33:13 +05:30
Vishnu Mohandas 6e02cae865 Sort albums in the order in which they were updated 2020-10-29 06:20:39 +05:30
Vishnu Mohandas af01dbe610 Add ability to add files to existing albums 2020-10-29 06:00:02 +05:30
Vishnu Mohandas 3630a25fb5 Remove SharedCollection 2020-10-28 20:55:32 +05:30
Vishnu Mohandas 673e5e9442 Add create album flow 2020-10-28 17:33:28 +05:30
Vishnu Mohandas be2522d85f Update like-unlike interactions 2020-10-24 15:55:02 +05:30
Vishnu Mohandas 26f3e62c0e Fix API to add a file to favorites 2020-10-22 03:52:09 +05:30
Vishnu Mohandas 9f88eb413d Persist the generated keys only after successful authentication 2020-10-22 02:59:16 +05:30
Vishnu Mohandas 65a431f366 Expose API to add a photo to the favorites-collection 2020-10-21 23:44:34 +05:30
Vishnu Mohandas 948814ea9c Use a model to encapsulate public keys 2020-10-19 03:09:55 +05:30
Vishnu Mohandas 2c6fa9c242 Ensure that shared folder files don't pop up in the local folder page 2020-10-18 01:38:50 +05:30
Vishnu Mohandas d64f34f6d7 Remove dead code related to folders 2020-10-14 21:48:26 +05:30
Vishnu Mohandas 6a73308bd1 Fix remaining issues with displaying shared collection items 2020-10-14 03:10:22 +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 c75bc2f784 Update sharee fetching logic 2020-10-13 10:52:20 +05:30
Vishnu Mohandas b8586e31e0 Fix the serialziation logic for CollectionType 2020-10-13 00:44:23 +05:30
Vishnu Mohandas d5338af961 Update API endpoint to upload and fetch files 2020-10-11 05:59:31 +05:30
Vishnu Mohandas da8b69084b Add collectionID as an attribute to files 2020-10-11 05:30:44 +05:30
Vishnu Mohandas 0ba60025f3 Add pathDecryptionNonce as a param 2020-10-11 05:14:04 +05:30
Vishnu Mohandas c66eb60d02 Introduce a CollectionsDB 2020-10-11 03:33:25 +05:30
Vishnu Mohandas c9342e9cc8 Define a collection service 2020-10-10 05:21:12 +05:30
Vishnu Mohandas 50646612ce Define model for a collection 2020-10-10 00:13:59 +05:30
Vishnu Mohandas 8da3f0c687 Remove more unnecessary models 2020-10-07 04:47:53 +05:30
Vishnu Mohandas 3f5d20027e Remove unnecessary model 2020-10-07 04:42:02 +05:30
Vishnu Mohandas 7f707d187e Refactor crypto util 2020-10-07 04:28:41 +05:30
Vishnu Mohandas 27f019af57 Move to XChaCha for thumbnail and metadata encryption 2020-10-07 04:25:59 +05:30
Vishnu Mohandas 7f16f88a8f Move services to a separate package 2020-10-03 23:26:18 +05:30
Vishnu Mohandas 5a25676dc4 Generate and store public private keypairs on the server 2020-10-03 03:15:26 +05:30
Vishnu Mohandas 0d1473708c Hash KEK instead of the passphrase 2020-10-01 00:01:04 +05:30
Vishnu Mohandas fed7cda7f4 Replace scrypt with libsodium's abstractions 2020-09-29 00:02:53 +05:30
Vishnu Mohandas 37b7eb1601 Add extra logging to file 2020-09-26 01:54:52 +05:30
Vishnu Mohandas 727a1684ce Switch to libsodium for file encryption and decryption 2020-09-26 00:37:32 +05:30
Vishnu Mohandas 44866f7ffe Introduce new models to encapsulate encryption attributes 2020-09-26 00:32:00 +05:30
Vishnu Mohandas 3bad6a7c94 Add API to chacha encrypt and decrypt a file 2020-09-25 21:15:00 +05:30
Vishnu Mohandas aba132058d Add toString for KeyAttributes 2020-09-14 12:23:53 +05:30