Commit graph

2340 commits

Author SHA1 Message Date
vishnukvmd 52a22aec3f Add comments 2021-09-22 14:08:00 +05:30
vishnukvmd 0909d60279 Uncomment code 2021-09-22 14:05:51 +05:30
vishnukvmd a92d3956a5 Remove unnecessary param 2021-09-22 14:03:43 +05:30
vishnukvmd c9d0a86ac1 Add comments 2021-09-22 14:02:10 +05:30
vishnukvmd f22836d9f6 Show freed up space result 2021-09-22 13:56:44 +05:30
vishnukvmd 58be8c1bd0 Improve button styling 2021-09-22 13:45:22 +05:30
vishnukvmd c55699fd83 Fix copy 2021-09-22 12:56:56 +05:30
Neeraj Gupta fa4480eb44
Improve filename to datetime parsing for video files 2021-09-22 11:48:48 +05:30
Vishnu Mohandas abfcf95713
Merge pull request #51 from ente-io/fix_bad_state
ArchivePage: Fix bad state:no element err
2021-09-22 10:40:13 +05:30
Neeraj Gupta 7461a7ada6
ArchivePage: Fix bad state:no element err 2021-09-22 10:34:44 +05:30
Vishnu Mohandas c4c38f7199
Merge pull request #50 from ente-io/connect_timeout 2021-09-22 10:32:35 +05:30
Neeraj Gupta f9e1c8278a
specify 5000ms as connect timeout 2021-09-22 10:29:10 +05:30
Neeraj Gupta 0f47c977df
hide move dialog on failure 2021-09-22 08:47:59 +05:30
Neeraj Gupta 82a9e88cd7
Merge pull request #46 from ente-io/archive_unarchive
Add support for archiving memories
2021-09-22 08:10:10 +05:30
Neeraj Gupta 8f2d5bbd05
reduce initial thumbnail quality to 80 2021-09-20 20:48:20 +05:30
vishnukvmd 88088bc978 Add size information 2021-09-20 20:25:52 +05:30
vishnukvmd b77e0de56e Add option to sort duplicates 2021-09-20 20:06:01 +05:30
Neeraj Gupta 2474130147
fix logging 2021-09-20 17:57:12 +05:30
Neeraj Gupta fcb51f9f71
Support for loading video from app cache 2021-09-20 17:34:51 +05:30
Neeraj Gupta be8019f338
SharedMedia: Fix handling of video media type 2021-09-20 17:33:34 +05:30
Neeraj Gupta ccbcef0b6d
Support for generating thumbnail for shared video file 2021-09-20 17:22:08 +05:30
Neeraj Gupta 2bbf49384f
Rename to avoid conflict between request MagicMetadata & File:MagicMetadata 2021-09-20 12:56:25 +05:30
Neeraj Gupta 736fe4283b
minor refactoring: rename,final & imports 2021-09-20 12:24:11 +05:30
Neeraj Gupta 81eeeb7aeb
magic-metadata: rename 2021-09-20 12:11:38 +05:30
Neeraj Gupta a71af7d1d5
update magic-metadata url 2021-09-20 11:50:04 +05:30
Neeraj Gupta fd95bcdfe8
[shared-media] ignore unsupported file types 2021-09-20 11:48:09 +05:30
Neeraj Gupta af8e1a0ff5
trigger remote sync when files magic metadata is out of sync 2021-09-18 10:23:27 +05:30
Neeraj Gupta e9de949468
[archive] more refactoring 2021-09-18 09:24:32 +05:30
Neeraj Gupta e3c0888083
archive: minor refactor 2021-09-18 09:13:13 +05:30
Neeraj Gupta 3e5a54220c
Reuse existing method for loading archived files 2021-09-17 16:22:19 +05:30
Neeraj Gupta fde3ef0ec3
use constants for file visibility values 2021-09-17 15:34:24 +05:30
Neeraj Gupta ab17ad0cea
[archive]add progress dialog & try catch block 2021-09-17 15:22:18 +05:30
Neeraj Gupta faffe08bdd
[archive] minor ux changes 2021-09-17 15:10:17 +05:30
Neeraj Gupta 731de0c5e2
Archived: only show files owned by user 2021-09-17 15:01:34 +05:30
Neeraj Gupta 7b599bfdf2
Archive page: deduplicated files 2021-09-17 10:56:26 +05:30
Neeraj Gupta db0363df49
Refresh archived files on uploaded file change event 2021-09-17 10:33:39 +05:30
Neeraj Gupta e5957da229
Allow unarchiving files from archive page 2021-09-17 10:18:44 +05:30
Neeraj Gupta d4db17fd2d
Archive: add show archive button 2021-09-17 10:14:10 +05:30
Neeraj Gupta e07fe7463b
Archive: clear selected files & show toast on completion 2021-09-17 00:58:13 +05:30
Neeraj Gupta 8d66af68ac
Support archiving memories & hide them from home page 2021-09-16 23:03:16 +05:30
Neeraj Gupta df4d6b43d4
Parse magic metadata on diff fetch 2021-09-16 22:52:19 +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
Neeraj Gupta 0173b3974c
[archive] add popup option for archive on home page 2021-09-16 17:08:47 +05:30
vishnukvmd d6f426e2cf Rename variable 2021-09-16 02:41:21 +05:30
vishnukvmd 1b27724267 Extract nested widget to a separate method 2021-09-16 02:40:34 +05:30
vishnukvmd cf0136aabc Make reused widget static 2021-09-16 02:39:24 +05:30
vishnukvmd 9e63c8d634 Refresh usage section when files have been deleted 2021-09-16 02:26:05 +05:30
vishnukvmd 82aeff80cc Execute deletion on remote 2021-09-16 02:20:13 +05:30
vishnukvmd fbf337c93c Fix lint warnings 2021-09-16 02:14:52 +05:30
vishnukvmd da5b2eab5b Show minimal option in the detail view 2021-09-16 02:10:08 +05:30
vishnukvmd f59e9147cd Update styles 2021-09-16 02:01:47 +05:30
vishnukvmd bce93156c1 Auto select files other than the first one 2021-09-16 01:53:31 +05:30
vishnukvmd 7b5d981733 Update text 2021-09-16 01:39:55 +05:30
vishnukvmd d35c22e7e2 Format delete button 2021-09-16 01:32:42 +05:30
vishnukvmd d78480a91f Open file on long press 2021-09-16 00:39:55 +05:30
vishnukvmd 7797c3a199 Fix color of video widget's progress indicator 2021-09-16 00:36:36 +05:30
vishnukvmd 073d07f9d1 Move deduplication to a separate service 2021-09-16 00:31:19 +05:30
vishnukvmd 8fa782d300 Ignore duplicates with a mismatch in creationTimes 2021-09-16 00:25:42 +05:30
vishnukvmd 06efe724d9 Select file on tap 2021-09-15 23:58:10 +05:30
vishnukvmd a76fd13d0f Format file sizes 2021-09-15 23:49:22 +05:30
vishnukvmd e97cc15d7d Log error if remote file is found missing in local DB 2021-09-15 23:09:37 +05:30
Neeraj Gupta 9c6d7b2ae2
minor: rename userId -> userID
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2021-09-15 12:28:05 +05:30
Neeraj Gupta 2b4cbf8131
Hide delete option for files not owned by the user 2021-09-15 10:00:53 +05:30
Neeraj Gupta 128c207e55
Hide favorite icon for files not owned by the user 2021-09-15 09:57:05 +05:30
Neeraj Gupta 99eaf37882
getAllUploadedFiles: remove redundant null check for owner_id 2021-09-15 09:52:11 +05:30
vishnukvmd e4c33269ec Update border color 2021-09-15 00:59:24 +05:30
vishnukvmd 7f20fbb776 Add screen to render detected duplicates 2021-09-15 00:55:29 +05:30
vishnukvmd a598c9594f Extract constants to a separate file 2021-09-15 00:18:26 +05:30
vishnukvmd 61d88688d0 Sort results by size consumed 2021-09-15 00:18:08 +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 c7da836656
Gallery: log failures in loadFiles method 2021-09-14 12:23:05 +05:30
Neeraj Gupta 6d8a47c9f0
Hide incoming collections from main gallery 2021-09-14 12:15:14 +05:30
Neeraj Gupta c416ca1e94
Merge pull request #41 from ente-io/move_files
Support for moving files between albums
2021-09-13 18:16:49 +05:30
vishnukvmd 5068d9e6b7 Minor string changes 2021-09-13 14:17:57 +05:30
vishnukvmd f2dacffc56 Set color of the dialog button text 2021-09-13 14:17:39 +05:30
vishnukvmd 4213e2348a Reorder move button 2021-09-13 14:10:35 +05:30
Neeraj Gupta 45d3b2f9a0
Stop uploading fileExif as part of encrypted metadata 2021-09-13 12:54:54 +05:30
Neeraj Gupta 5ecb730c72
update page title based on actionType 2021-09-13 12:44:43 +05:30
Neeraj Gupta 3099a1a9ae
move-files: show option for owned_collection only 2021-09-13 12:07:34 +05:30
Neeraj Gupta dfa13d9bf7
move-files: add basic validation on client 2021-09-13 11:22:50 +05:30
Neeraj Gupta 4a2d6b04db
move-files UI: add option to move files between collection 2021-09-13 09:27:57 +05:30
Neeraj Gupta a104eca8ff
Add API for collection/move-files 2021-09-12 10:38:30 +05:30
Neeraj Gupta 5fa838338c fileTooLargeErr: fix status code mapping 2021-09-12 06:33:54 +05:30
Neeraj Gupta 9507222d9e upload: stop logging fileTooLargeErr as error 2021-09-12 06:26:56 +05:30
vishnukvmd 38388ad584 Persist the correct sortKey 2021-09-11 12:42:53 +05:30
vishnukvmd 1578bf2529 Persist updated sort key to disk 2021-09-11 12:31:47 +05:30
vishnukvmd 4add2afa77 Update the key for invalid files to pull files that were ignored due to permission errors 2021-09-11 10:02:19 +05:30
Neeraj Gupta 4cc64dcd43 Use shared_collection for incoming collections 2021-09-10 23:56:04 +05:30
Neeraj Gupta a0cbf3141e Incoming Collection: Specify gallery as incoming_collection
* Hide add selected files to another collection button.
* Add folks to album & remove/delete from album is also not visible now
2021-09-10 23:27:41 +05:30
Neeraj Gupta 4156b37d25 CollectionPage: Pass galleyAppBarType in the constructor 2021-09-10 23:12:25 +05:30
Neeraj Gupta a9de0f9bb7 ShareDialog: catch & log unhandled err during collection path decryption 2021-09-10 17:17:58 +05:30
Neeraj Gupta 4939c4b089
Merge pull request #34 from ente-io/sort-button-styles
Minor changes to the sort button styles
2021-09-09 12:33:29 +05:30
vishnukvmd 42be9c5346 Minor changes to the sort button styles 2021-09-09 11:44:07 +05:30
Neeraj Gupta 73911b0631 await on localSettings init 2021-09-09 11:23:51 +05:30
Neeraj Gupta 6e1f5558af Gracefully handle deletion of files in app cache 2021-09-09 11:20:55 +05:30
Neeraj Gupta 512b724f8e Fix sort option names 2021-09-09 01:49:25 +05:30
Neeraj Gupta 8404c87791 Support sorting on ente albums by name, recent photo & last modified 2021-09-09 01:36:37 +05:30
Neeraj Gupta 77721ca3b3 Support for persisting sort settings on device 2021-09-09 00:04:20 +05:30
Neeraj Gupta df3917c2c8 use existing _isBackgroung flag 2021-09-05 15:48:14 +05:30
Neeraj Gupta f16ff8510a use final and fix logging 2021-09-05 15:40:43 +05:30
Neeraj Gupta 552813d0bd Android: verify permission before running local sync 2021-09-05 15:06:05 +05:30
Neeraj Gupta 1e81500edf Linter: fix list warning 2021-09-05 14:57:07 +05:30
Neeraj Gupta bb2d27b1f3 Linter: fix curly_braces_in_flow_control_structures issue 2021-09-05 12:04:52 +05:30
Neeraj Gupta 15b50f53d3 Linter: fix prefer_is_empty suggestions and change it to warning 2021-09-05 11:57:31 +05:30
Neeraj Gupta 586bb42458 Linter: Fixed unused imports 2021-09-05 11:52:12 +05:30
Neeraj Gupta 2f0baddb07 Linter: replace FlatButton with TextButton 2021-09-04 17:08:41 +05:30
Neeraj Gupta 9ad3e5be88 minor: move few strings to resources 2021-09-04 17:02:39 +05:30
Neeraj Gupta 3c8b06ad6a Linter: replace FlatButton with TextButton 2021-09-04 15:51:54 +05:30
Neeraj Gupta 3f27c83abd Show correct err when verification code has expired 2021-09-04 15:51:07 +05:30
Neeraj Gupta d47517c639 Log additional details for invalidFile errors 2021-09-01 16:08:00 +05:30
Vishnu Mohandas b2d7bc0215
Merge pull request #28 from ente-io/upload_to_end_fix
Fixed upload for files shared to ente for backup
2021-08-31 17:21:42 +05:30
Neeraj Gupta 4f59d27f54 use hi language for l10n setup 2021-08-31 16:04:46 +05:30
Neeraj Gupta 53d7f0c876 Merge remote-tracking branch 'origin/master' into l10n 2021-08-31 15:58:17 +05:30
Neeraj Gupta 70526a4157 Fixed upload for files shared to ente for backup 2021-08-31 13:50:32 +05:30
vishnukvmd a6a52a29c4 Decrypt secretKey and token during the recovery flow 2021-08-31 08:05:58 +05:30
vishnukvmd be37592d0b Update text 2021-08-28 22:00:34 +05:30
Neeraj Gupta fb6f26c7ca minor reformatting changes 2021-08-28 11:31:55 +05:30
Neeraj Gupta 8921466258 Android: enable stripe for new users 2021-08-28 11:29:56 +05:30
Neeraj Gupta 091003575b FeatureFlag: Add enableStripe flag 2021-08-28 11:22:18 +05:30
Neeraj Gupta 64760fd52d More strings to resource 2021-08-28 10:44:43 +05:30
Neeraj Gupta e324f4fc2e Move home_widget strings to resources 2021-08-28 10:44:43 +05:30
Neeraj Gupta 11912df15b Add de language arb 2021-08-28 10:44:43 +05:30
Neeraj Gupta afa7f78d7c Clean up redundant files 2021-08-28 10:44:43 +05:30
Neeraj Gupta def66ee3cc l10n: Basic setup with en language 2021-08-28 10:44:41 +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 1447df8434 Fix color schemes for dialogs 2021-08-27 19:10:43 +05:30
Neeraj Gupta 0456d20214 Fix: pass redirectUrl in stripe customer-portal request 2021-08-25 16:34:03 +05:30
vishnukvmd 049e6fb05d Update count 2021-08-24 19:03:53 +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 a62eeb1dae Fix bug: init sharedPref and call sync during init 2021-08-24 12:33:27 +05:30
Neeraj Gupta 0324f416ab Sync feature flags in foreground 2021-08-24 12:24:05 +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
vishnukvmd 66e2b5ca7a Add an option to fetch origin file from disk 2021-08-24 01:59:37 +05:30
vishnukvmd 2c8bb1f83b Remove unnecessary import 2021-08-24 01:58:53 +05:30
vishnukvmd 838aa5def4 Set color for the dialog buttons 2021-08-23 15:54:56 +05:30
vishnukvmd e0fd3725b7 Update styles 2021-08-23 15:52:25 +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
vishnukvmd df07016aa3 Remove unnecessary log 2021-08-22 19:17:27 +05:30
Vishnu Mohandas bc768cf7fd
Merge pull request #25 from ente-io/bug_fix_sourcePathOnNull 2021-08-22 10:59:22 +05:30
Neeraj Gupta 402cd380d5 Log invalid file extension 2021-08-22 10:52:30 +05:30
Neeraj Gupta 55890f5396 Fix handling of invalid files
When we don't await on _onInvalidFileError, then it result i the following  NPE  error:

> NoSuchMethodError: The getter 'sourceFile' was called on null.
2021-08-22 10:21:25 +05:30
Neeraj Gupta d3d80fd9a4 Handle active playstore/appstore subs & minor ui tweaks 2021-08-21 19:48:04 +05:30
Neeraj Gupta b0fc70c769 read payment webapp endpoint from env variable 2021-08-21 18:19:52 +05:30
Neeraj Gupta 4b039089c3 show free text against free plan 2021-08-21 18:05:37 +05:30
Neeraj Gupta daa61af183 Use helper method to decide subscription page 2021-08-21 14:17:34 +05:30
Neeraj Gupta 9eeada089e move common subscription widget in util 2021-08-21 02:29:53 +05:30
Neeraj Gupta 05e15bbf90 move common subscription widget in util 2021-08-21 02:01:12 +05:30
Neeraj Gupta 43f1ade544 Move stripe subscription management in separate page 2021-08-20 17:36:05 +05:30
Neeraj Gupta 542d9e877b add common choice dialog 2021-08-20 16:52:01 +05:30
Neeraj Gupta f141c2ee21 Integrate payment details for Stripe. 2021-08-19 22:52:14 +05:30
Neeraj Gupta 9535f612b2 Make plan toggle UX similar to web. 2021-08-19 22:50:47 +05:30
Neeraj Gupta eb30433c1d BugFix: Pop after the dialog is dismissed. 2021-08-19 22:48:24 +05:30
Neeraj Gupta 9175387f7d Support Stripe subscription renewal and cancellation 2021-08-19 16:53:48 +05:30
Neeraj Gupta 00988de60c Show toast when subscription refresh is triggered/failed 2021-08-19 14:03:29 +05:30
Neeraj Gupta 65036a015c Support to toggle between monthly and yearly plans 2021-08-19 13:23:37 +05:30
Neeraj Gupta b4d44d01c6 Refresh subscription status on page load & resume 2021-08-19 12:12:33 +05:30
Neeraj Gupta 17d568b3f9 minor refactor 2021-08-19 02:27:01 +05:30
Neeraj Gupta 825f4b854d Show dialogs on payment failure 2021-08-19 01:13:35 +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
Neeraj Gupta 13f19236fd Support buying or updating stripe subscription 2021-08-18 18:13:28 +05:30
Neeraj Gupta 647ab51b3c Add method to identify independent apk 2021-08-18 18:07:47 +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 e9619cb1ba Refetch sharees when the sharing dialog is opened 2021-08-18 14:28:16 +05:30
vishnukvmd ca23ccfb30 Add parameter to determine last supported version 2021-08-18 12:32:39 +05:30
vishnukvmd 5415df3ef4 Update release info endpoint 2021-08-18 12:05:06 +05:30
Neeraj Gupta db0408b1c9 UserService: Add method to fetch paymentToken 2021-08-17 16:22:14 +05:30
Neeraj Gupta 29df8c1ab5 Move Skip and Subscription plan in separate widget file 2021-08-17 15:10:05 +05:30
Neeraj Gupta d0c4bdbadf UI: move subscription_page inside ui/payment namespace 2021-08-17 14:39:04 +05:30
vishnukvmd 1fe20b579d Encrypt fileEncryptionKey outside the upload function 2021-08-16 17:01:59 +05:30
vishnukvmd b9bff8925f Update whitepaper URL 2021-08-11 13:53:57 +05:30
Neeraj Gupta 51750cce82 Minor formatting changes 2021-08-10 13:38:07 +05:30
vishnukvmd 7a94442c6d Merge branch 'master' of github.com:ente-io/frame 2021-08-10 12:55:50 +05:30
Neeraj Gupta ab2b348e3b Show toast for live photo 2021-08-10 12:52:16 +05:30
vishnukvmd 700e3236fb Enable Live Photos 2021-08-10 12:33:10 +05:30
Neeraj Gupta 6a4631c836 Minor fix: Show the dialog 2021-08-09 23:36:29 +05:30
Neeraj Gupta 1f929ea4d8
Merge pull request #20 from ente-io/change_email_hook
Add hook to change email on forgot password screen
2021-08-09 23:28:14 +05:30
Neeraj Gupta e8c1cac585 await on logout 2021-08-09 23:27:00 +05:30
Neeraj Gupta 9f622a3178 Add hook to change email on forgot password screen 2021-08-09 23:12:44 +05:30
vishnukvmd 0156b78b4f Increase spacing 2021-08-09 20:25:34 +05:30
vishnukvmd 474c9cc41d Add an option to view logs 2021-08-09 20:05:17 +05:30
vishnukvmd f6322a9b28 Show warning before sending logs 2021-08-09 19:42:42 +05:30
vishnukvmd dd90b98ef0 Prevent editing of on-owned files 2021-08-09 18:56:06 +05:30
vishnukvmd 035574800a Log stack trace 2021-08-09 13:51:18 +05:30
vishnukvmd d30445ecb7 Re-enable chat support 2021-08-09 12:47:47 +05:30
vishnukvmd 4a1e0b984a Anonymize Crisp identifier 2021-08-09 12:42:51 +05:30
vishnukvmd 2dd47c0056 Remove chat as a support option 2021-08-09 12:40:05 +05:30
vishnukvmd de52f9f7e4 Parse live photo only on debug mode 2021-08-09 12:36:46 +05:30
vishnukvmd f8faf787f7 Fix height of the free up space button 2021-08-09 12:36:11 +05:30
vishnukvmd 7847c6e6c6 Fix alignment of the details section screen 2021-08-09 12:33:40 +05:30