Commit graph

1715 commits

Author SHA1 Message Date
Vishnu Mohandas ba83be9f59 Remove accidental semi-colon 2021-05-14 01:24:37 +05:30
Vishnu Mohandas 2942364892 Remove unused function 2021-05-14 01:21:27 +05:30
Vishnu Mohandas e044807a04 Let sqlite set the generated ID 2021-05-14 01:21:16 +05:30
Vishnu Mohandas e86da12cb6 Force reload after showing initial files 2021-05-14 01:18:59 +05:30
Vishnu Mohandas 5f437ba214 Show initial files when possible 2021-05-13 23:35:32 +05:30
Vishnu Mohandas a0541c724b Handle network errors 2021-05-13 23:06:17 +05:30
Vishnu Mohandas dc11fb225b Take user to home screen on backbutton press from any of the other tabs 2021-05-13 22:38:19 +05:30
Vishnu Mohandas 2e31c98186 Reformat code 2021-05-13 21:00:34 +05:30
Vishnu Mohandas 24f00924bd Fix next action on password field 2021-05-13 20:49:20 +05:30
Vishnu Mohandas acc3adabb6 Reload gallery after the initial load only if necessary 2021-05-13 16:57:50 +05:30
Vishnu Mohandas c159eafaea Add a force-reload function to Gallery 2021-05-13 16:47:13 +05:30
Vishnu Mohandas 1da9c12f7a Fix IN-query 2021-05-13 16:43:32 +05:30
Vishnu Mohandas 27f64167fb Again, await for paths to be updated 2021-05-13 03:25:11 +05:30
Vishnu Mohandas 15bd344827 Await for paths to be updated 2021-05-13 03:24:55 +05:30
Vishnu Mohandas 540b64bbbc Remove verbose logs 2021-05-13 03:08:28 +05:30
Vishnu Mohandas 7fe4f870ed Add a footer to gallery 2021-05-13 02:42:18 +05:30
Vishnu Mohandas b237e59da2 Update string 2021-05-13 02:42:09 +05:30
Vishnu Mohandas 6a7acc9448 Make buttons seem more tappable 2021-05-13 02:38:46 +05:30
Vishnu Mohandas 77fb202ce4 Remove redundant suffix 2021-05-13 02:24:44 +05:30
Vishnu Mohandas e3a50358db Redirect to loading screen if first load is interrupted 2021-05-13 02:22:45 +05:30
Vishnu Mohandas ecc3ec1e52 Update copies 2021-05-13 02:08:51 +05:30
Vishnu Mohandas 0969b8f73f Add comment linking to Github issue 2021-05-13 02:03:21 +05:30
Vishnu Mohandas 6f8324137c Safe guard against timeouts in fetching assets or origin files 2021-05-13 01:56:46 +05:30
Vishnu Mohandas 89790cc9c4 Remove redundant variable 2021-05-13 01:33:16 +05:30
Vishnu Mohandas f9d6bec2bd Fix unlock screen 2021-05-13 01:27:47 +05:30
Vishnu Mohandas d6b56c929f Reset volatile password after key generation 2021-05-13 01:16:15 +05:30
Vishnu Mohandas 1894224876 Ignore timer if widget is unmounted 2021-05-13 01:04:55 +05:30
Vishnu Mohandas 1cca0a79ce Redirect to home page once folders have been selected 2021-05-13 01:04:44 +05:30
Vishnu Mohandas 638762101c Set cursor color 2021-05-13 01:04:13 +05:30
Vishnu Mohandas b3aaab0310 Make sure the tidbits aren't manually scrollable 2021-05-13 00:36:25 +05:30
Vishnu Mohandas 78b8edda26 Fix sync indicator 2021-05-13 00:36:05 +05:30
Vishnu Mohandas 0230fa7874 Push user to backup selection screen once first-load is complete 2021-05-13 00:28:48 +05:30
Vishnu Mohandas 907beaf158 If folders have not been backed up, prompt for that 2021-05-13 00:28:04 +05:30
Vishnu Mohandas 87e262c18c Improve backup folder selection widget 2021-05-13 00:11:49 +05:30
Vishnu Mohandas 8d71ce82ec Minor color change 2021-05-13 00:11:31 +05:30
Vishnu Mohandas 7c31cbbdc0 Change styles of the subscription page 2021-05-12 22:12:15 +05:30
Vishnu Mohandas 83e14d9060 Add more eyes 2021-05-12 22:07:14 +05:30
Vishnu Mohandas 7d6ad86151 Add eyes to the password entry screen 2021-05-12 21:50:30 +05:30
Vishnu Mohandas 84e22229b5 Update colors 2021-05-12 21:29:07 +05:30
Vishnu Mohandas e7a6722458 Update background color of progress dialog 2021-05-12 20:55:14 +05:30
Vishnu Mohandas e238c7cc85 Fix button color 2021-05-12 20:53:33 +05:30
Vishnu Mohandas ddbd291e00 Update grant permissions page 2021-05-12 20:53:22 +05:30
Vishnu Mohandas 120045a982 Change copy 2021-05-12 20:42:28 +05:30
Vishnu Mohandas 9a4b15b08a Update button style 2021-05-12 20:42:16 +05:30
Vishnu Mohandas 4c108a7a79 Update dialog background color 2021-05-12 20:41:57 +05:30
Vishnu Mohandas 648dbd7db0 Remove redundant call to show backup dialog 2021-05-12 20:41:45 +05:30
Vishnu Mohandas dbaab8f7cb Reduce font size 2021-05-12 15:41:48 +05:30
Vishnu Mohandas 6731a5a2c0 Moar hero animations 2021-05-12 15:33:59 +05:30
Vishnu Mohandas 953ef5d01d Rename landing page 2021-05-12 11:36:54 +05:30
Vishnu Mohandas c2432675bb Update UI 2021-05-12 11:35:57 +05:30
Vishnu Mohandas 0f93113a2d Fix letter spacing 2021-05-12 11:33:41 +05:30
Vishnu Mohandas 9730d45ae9 Add hero animation 2021-05-12 10:54:37 +05:30
Vishnu Mohandas 2da8d48a1d Update sign up button 2021-05-12 10:54:34 +05:30
Vishnu Mohandas afb7de55e6 Minor refactor 2021-05-12 10:39:08 +05:30
Vishnu Mohandas 584238df83 Merge branch 'illustrations' into sign_up_flow 2021-05-12 10:35:35 +05:30
Vishnu Mohandas 476dd8667c First prompt to sign up 2021-05-12 10:30:31 +05:30
Vishnu Mohandas 5ea35faee0 Add fullscreen backup-folder-selection page 2021-05-11 22:22:35 +05:30
Vishnu Mohandas 25aca89ad1 Update strings 2021-05-11 00:17:13 +05:30
Vishnu Mohandas 1429945874 Improve LoadingPhotosPage 2021-05-10 21:13:20 +05:30
Vishnu Mohandas 899e2cf26a Setup a separate page to deal with the first load 2021-05-10 19:53:38 +05:30
Vishnu Mohandas 74470a7882 Smoothen the first load experience 2021-05-10 18:53:53 +05:30
Vishnu Mohandas 24fa586085 Minor change to copy 2021-05-10 01:28:52 +05:30
Vishnu Mohandas a1927337bf Make sign up form scrollable 2021-05-10 01:25:52 +05:30
Vishnu Mohandas 5ca8fd0d47 Improve the password entry experience 2021-05-10 00:38:27 +05:30
Vishnu Mohandas 6922b35efd Setup happy paths 2021-05-10 00:14:05 +05:30
Vishnu Mohandas 15b0d26bbc Handle invalid files gracefully 2021-05-09 19:55:31 +05:30
Vishnu Mohandas e7d13b5704 Accept password on the first screen 2021-05-09 05:29:55 +05:30
Vishnu Mohandas cfd8ec8372 Add an attribute to make recovery key dialog in-dismissible 2021-05-09 05:29:40 +05:30
Vishnu Mohandas 96465a56fa Push to navigator without triggering a rebuild 2021-05-08 23:44:18 +05:30
Vishnu Mohandas 2a37af87b4 Add unique key to thumbnails 2021-05-08 23:35:51 +05:30
Vishnu Mohandas 04f20ab505 Sync periodically if app is in foreground 2021-05-08 23:23:17 +05:30
Vishnu Mohandas 9ccd3de9ec Update detail page to load files intelligently 2021-05-08 23:19:06 +05:30
Vishnu Mohandas 48fc198185 Update file loading API to accept order as a param 2021-05-08 23:16:48 +05:30
Vishnu Mohandas 1ace635461 Move back-button override to homescreen 2021-05-08 19:54:24 +05:30
Vishnu Mohandas 2b4e1fcd83 Move the app to background when back button is pressed 2021-05-08 19:47:11 +05:30
Vishnu Mohandas d7485342d9 Add separate hook to report a bug 2021-05-08 04:14:03 +05:30
Vishnu Mohandas 43a7e074ba Show error dialog to Stripe customers 2021-05-08 04:09:28 +05:30
Vishnu Mohandas d86a6506dd Disable horizontal scroll in the homepage 2021-05-08 03:50:54 +05:30
Vishnu Mohandas f7f038033b Work around hash collision #fml 2021-05-08 03:42:10 +05:30
Vishnu Mohandas f4240c4c4d Remove unnecessary calls to setState 2021-05-08 02:02:33 +05:30
Vishnu Mohandas ef808e764e Clear upload locks on timeout 2021-05-07 23:14:19 +05:30
Vishnu Mohandas 55decd001c Access code in main 2021-05-07 22:57:11 +05:30
Vishnu Mohandas 123a34b42c Kill background tasks if a foreground task comes to life 2021-05-07 22:56:51 +05:30
Vishnu Mohandas dc460ffbe2 Remove unused cache 2021-05-07 21:00:52 +05:30
Vishnu Mohandas 85f155fe14 Maintain disk cache for thumbnails by self 2021-05-07 20:59:33 +05:30
Vishnu Mohandas 1447d895d1 Add unique keys for widgets 2021-05-07 17:44:51 +05:30
Vishnu Mohandas 4be9424b53 Remove redundant call to setState 2021-05-07 17:41:58 +05:30
Vishnu Mohandas 703377dc11 Ignore debug mode endpoint for now 2021-05-07 17:11:51 +05:30
Vishnu Mohandas e2717428bd Remove unused import 2021-05-07 17:04:53 +05:30
Vishnu Mohandas caba788a6a Don't block on writing to cache to return the decrypted thumbnail 2021-05-07 04:05:56 +05:30
Vishnu Mohandas a41774a761 Revert to using CF worker proxy 2021-05-07 04:02:02 +05:30
Vishnu Mohandas 7b402682bf Remove unnecessary order by clause 2021-05-07 03:41:55 +05:30
Vishnu Mohandas f93a51f7d8 Make the gridview recyclable 2021-05-07 03:01:31 +05:30
Vishnu Mohandas 79335263c0 Rename variable 2021-05-07 02:47:38 +05:30
Vishnu Mohandas 638fc8f260 Minor refactor 2021-05-07 02:45:40 +05:30
Vishnu Mohandas 66226095fd Log time taken to open gallery 2021-05-07 02:15:02 +05:30
Vishnu Mohandas dda96457b2 Commit the batch without results 2021-05-07 02:01:21 +05:30
Vishnu Mohandas 9935b433dc Load entries intelligently to prevent an OOM 2021-05-07 01:46:53 +05:30
Vishnu Mohandas c38eddd2d7 Remove unnecessary optimizations from listview 2021-05-07 01:46:42 +05:30
Vishnu Mohandas dc11f900e4 Remove all padding from place holder widget 2021-05-07 01:46:05 +05:30
Vishnu Mohandas 848c6b17fd Minor refactor 2021-05-07 01:36:02 +05:30
Vishnu Mohandas c95ed9a424 Increase the duration of the thumbnail fading-in animation 2021-05-06 23:07:01 +05:30
Vishnu Mohandas ff7868d118 Reduce the number of thumbnails cached in memory 2021-05-04 23:58:05 +05:30
Vishnu Mohandas 83f06974a2 Improve thumbnail loading experience 2021-05-04 23:57:38 +05:30
Vishnu Mohandas c9aa68910d Simplify detail page 2021-05-04 21:19:11 +05:30
Vishnu Mohandas 51b1ef7e30 Move heavy decryption to a separate isolate 2021-05-04 21:13:19 +05:30
Vishnu Mohandas 078421b3b0 Make encrypt function async 2021-05-04 21:02:23 +05:30
Vishnu Mohandas 62bc2de3da Improve efficiency of fetching latest files across collections 2021-05-04 20:56:17 +05:30
Vishnu Mohandas 76cf4234d2 Fix query for fetching latest collection files 2021-05-04 20:55:59 +05:30
Vishnu Mohandas 39c2d018b3 Prevent duplicate entries for the same local file 2021-05-04 04:18:02 +05:30
Vishnu Mohandas 2670185c39 Show less noisy progress bar 2021-05-04 03:19:39 +05:30
Vishnu Mohandas 3167600623 Handle network errors for removal from collection 2021-05-04 02:59:14 +05:30
Vishnu Mohandas a42ad9548a Fix metadata in file-deletion operations 2021-05-04 02:56:23 +05:30
Vishnu Mohandas d2ebcb12ca Factor out code to delete a file into a util 2021-05-04 02:44:44 +05:30
Vishnu Mohandas f04a0a4505 Revert to S3 endpoint 2021-05-04 02:29:40 +05:30
Vishnu Mohandas 611dd82968 Increase number of photos allotted to a sub-gallery 2021-05-04 00:41:44 +05:30
Vishnu Mohandas 211666c938 Remove debugging code 2021-05-04 00:18:13 +05:30
Vishnu Mohandas 7dee10ee8b Prevent glitches while opening a new route 2021-05-03 21:36:58 +05:30
Vishnu Mohandas c4af018da4 Remove drag-listener from label 2021-05-03 20:55:31 +05:30
Vishnu Mohandas 1952ede67c Remove unused widget 2021-05-03 20:49:44 +05:30
Vishnu Mohandas d5f9f3e497 Improve logic to load thumbnails 2021-05-03 20:48:56 +05:30
Vishnu Mohandas f0a2fa7e43 Move thumbnail ops to separate util 2021-05-03 02:22:56 +05:30
Vishnu Mohandas 4b8c9b20c7 Fix issues with home page appbar 2021-05-03 02:12:26 +05:30
Vishnu Mohandas 0e4f6f7cc1 Remove verbose log 2021-05-03 02:11:31 +05:30
Vishnu Mohandas 0592ed04b0 Upgrade ALL packages! 2021-05-02 21:35:36 +05:30
Vishnu Mohandas abebf11f38 Prevent entire gallery reloads for selection 2021-05-02 16:49:05 +05:30
Vishnu Mohandas e1522aa8e7 Add special handling for deleted files 2021-05-02 16:01:04 +05:30
Vishnu Mohandas dd007c2bc0 Handle errors during file deletion 2021-05-01 02:32:16 +05:30
Vishnu Mohandas 07c4147a6c Minor refactor 2021-05-01 00:58:07 +05:30
Vishnu Mohandas 53cf8bf8ce Remove unnecessary wait 2021-05-01 00:54:18 +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 ca8fabe8f6 Keep separate animation durations for thumbnail and label 2021-05-01 00:07:17 +05:30
Vishnu Mohandas be5f1d3bef Fix dialog dismissal issues with the deletion flow 2021-04-28 04:03:07 +05:30
Vishnu Mohandas f787fb92eb Deduplicate folders 2021-04-28 03:57:54 +05:30
Vishnu Mohandas 221ce9ba37 Ignore push for files that were deleted on remote 2021-04-28 03:51:31 +05:30
Vishnu Mohandas 27773608f8 Sync silently with remote post deletion 2021-04-28 03:48:18 +05:30
Vishnu Mohandas d284639639 Log line change 2021-04-28 03:47:43 +05:30
Vishnu Mohandas 16a1a519f8 Fix delete multiple query 2021-04-28 03:47:19 +05:30
Vishnu Mohandas 489b0c2c61 Update condition for sync indicator dismissal 2021-04-28 03:13:51 +05:30
Vishnu Mohandas 5a6d538879 Update the delete files API 2021-04-28 02:19:00 +05:30
Vishnu Mohandas 5623c61c2c Subscribe to reload events for the latest day the widget has been alloted to 2021-04-28 02:00:15 +05:30
Vishnu Mohandas ae0abf3863 Update gallery files even if the days haven't been updated 2021-04-28 01:59:12 +05:30
Vishnu Mohandas 756e57afe0 Remove unused import 2021-04-28 01:32:46 +05:30
Vishnu Mohandas ce5aca1f27 Expire widgets once outdated 2021-04-28 01:32:39 +05:30
Vishnu Mohandas c4af4a22a7 Pass list instead of iterable 2021-04-28 01:32:20 +05:30
Vishnu Mohandas b2384a73eb Remove verbose log 2021-04-28 00:48:44 +05:30
Vishnu Mohandas d426aabb1b Simplify huge listview by removing the notion of pages 2021-04-28 00:46:53 +05:30
Vishnu Mohandas bfac56e014 Show the sync indicator only if there's a sync in progress 2021-04-28 00:35:58 +05:30
Vishnu Mohandas 0f33fb750c Make utility function available publicly 2021-04-28 00:27:27 +05:30
Vishnu Mohandas 33fd8f8668 Update cached copy of files when widget is udpated 2021-04-28 00:27:14 +05:30
Vishnu Mohandas 103984654a Remove verbose log 2021-04-28 00:26:55 +05:30
Vishnu Mohandas b869238b69 Remove verbose log 2021-04-28 00:06:11 +05:30
Vishnu Mohandas 24c1a88c1d Use sublist instead of creating a new list 2021-04-27 23:34:55 +05:30
Vishnu Mohandas 3251a80144 Update loading screen 2021-04-27 23:25:49 +05:30
Vishnu Mohandas ff041b1d67 Safe guard against setting a null file to a video controller 2021-04-27 22:06:19 +05:30
Vishnu Mohandas 5fe5e43442 Preload next memory as well 2021-04-27 22:06:07 +05:30
Vishnu Mohandas 8a6d608f84 Preload remote files as well 2021-04-27 22:03:47 +05:30
Vishnu Mohandas c24a94181b Preload remote thumbnails too 2021-04-27 21:59:58 +05:30
Vishnu Mohandas 8aae51c055 Update local cache when a memory is seen 2021-04-27 21:53:01 +05:30
Vishnu Mohandas 5693c24af3 Simplify logic to compute last seen memory 2021-04-27 21:52:52 +05:30
Vishnu Mohandas 41237f85c8 Cache call to memories 2021-04-27 21:36:24 +05:30
Vishnu Mohandas 30817ef8c7 Add utility function to get files within windows 2021-04-27 21:32:33 +05:30
Vishnu Mohandas 40e7c8e4e5 Improve time taken to load memories 2021-04-27 21:30:29 +05:30
Vishnu Mohandas 039528a50d Remove unnecessary key 2021-04-27 21:11:29 +05:30
Vishnu Mohandas f7a9d4abc2 Minor rename 2021-04-27 21:05:42 +05:30
Vishnu Mohandas e317a7698e Pull out incoming and outgoing collection items to separate widgets 2021-04-27 21:05:03 +05:30
Vishnu Mohandas 8bf1620cc8 Factor icons into separate widgets 2021-04-27 20:59:34 +05:30
Vishnu Mohandas 29ac0c1560 Use const when possible 2021-04-27 20:30:52 +05:30
Vishnu Mohandas 1891a4166f Remove unused imports 2021-04-27 20:28:07 +05:30
Vishnu Mohandas 34c5f10ec3 Set keys to prevent wasteful reloads 2021-04-27 19:56:11 +05:30
Vishnu Mohandas eeac998569 Reduce serverload defer time 2021-04-26 13:16:36 +05:30
Vishnu Mohandas 5bfd6f47a7 Maintain separate durations for deferring disk and server loads 2021-04-26 13:15:00 +05:30
Vishnu Mohandas cf9a19246c Defer thumbnail loading 2021-04-26 12:59:01 +05:30
Vishnu Mohandas 7fec8e6c79 Filter and show only photos that are important 2021-04-25 18:10:10 +05:30
Vishnu Mohandas 3c55c3baf3 Remove unused functions from FilesDB 2021-04-25 17:56:55 +05:30
Vishnu Mohandas f2e4580ee3 Preload 100 photos first 2021-04-25 17:47:44 +05:30
Vishnu Mohandas 2be80e232c Load files synchronously to improve scolling experience 2021-04-25 17:26:43 +05:30
Vishnu Mohandas 2a45946d9c Remove unused import 2021-04-25 17:22:18 +05:30
Vishnu Mohandas 15f009add3 Fire an event when first import is successful 2021-04-25 17:22:07 +05:30
Vishnu Mohandas 5b1eb11f39 Define types 2021-04-25 17:09:04 +05:30
Vishnu Mohandas 4391b85641 Remove verbose log 2021-04-24 13:46:55 +05:30
Vishnu Mohandas 084a8fbb30 Display the first grid eagerly 2021-04-24 13:14:56 +05:30
Vishnu Mohandas 30cb575526 Increase number of concurrent downloads 2021-04-24 13:04:45 +05:30
Vishnu Mohandas 426ab8add5 Minimize the number of reloads for collection updates 2021-04-24 03:07:04 +05:30
Vishnu Mohandas 5419dc96ef Attach photos on a new day without forcing an entire screen refresh 2021-04-24 02:51:18 +05:30
Vishnu Mohandas 4374b87f91 Refresh only relevant sub-galleries 2021-04-24 01:25:50 +05:30
Vishnu Mohandas 07ce960f65 Emit the list of changed files along with the event 2021-04-24 00:41:05 +05:30
Vishnu Mohandas 1d4e51ea51 Show and log better errors when key generation fails 2021-04-23 14:41:18 +05:30
Vishnu Mohandas b176de9c95 Fix stale cache issue with future builder 2021-04-21 18:45:26 +05:30
Vishnu Mohandas 2b7c4612ea Remove FileRepository 2021-04-21 18:39:18 +05:30
Vishnu Mohandas b727762cf2 Extract constant out 2021-04-21 17:09:54 +05:30
Vishnu Mohandas 79f98aec6a Clear cache when a reload event is fired 2021-04-21 17:08:18 +05:30
Vishnu Mohandas d3a5e49d02 Make detail page load previous and next entries incrementally 2021-04-21 15:43:02 +05:30
Vishnu Mohandas e9a7d9624b Open files within the sub gallery 2021-04-21 14:11:58 +05:30
Vishnu Mohandas 9b3f66a006 Remove log statements 2021-04-21 02:16:02 +05:30
Vishnu Mohandas 096a3abe5f Update color of scroll bar thumb 2021-04-21 02:15:06 +05:30
Vishnu Mohandas dd44e08169 Increase hit area for scroll bar thumb 2021-04-21 02:04:24 +05:30
Vishnu Mohandas 1a6b5e5e6c Add animation to the scrollable-thumb itself 2021-04-21 01:59:37 +05:30
Vishnu Mohandas f9dc2a46ce Minor style changes 2021-04-21 01:46:54 +05:30
Vishnu Mohandas d8b5fb6406 WiP 2021-04-21 01:41:39 +05:30