Commit graph

1595 commits

Author SHA1 Message Date
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
Vishnu Mohandas a03ffedc61 Improve style for the scroll-thumb 2021-04-21 01:31:55 +05:30
Vishnu Mohandas ea1af1a9bf Add an option to disable the draggable scrollbar 2021-04-21 01:26:39 +05:30
Vishnu Mohandas f09b0a60d7 Reduce the width of the scroll thumb 2021-04-21 01:14:30 +05:30
Vishnu Mohandas 470c9c82c7 Remove unused class 2021-04-21 01:10:21 +05:30
Vishnu Mohandas a66b7317e5 Fade the label in and out 2021-04-21 01:09:45 +05:30
Vishnu Mohandas d597669557 Remove unnecessary log 2021-04-20 21:33:48 +05:30
Vishnu Mohandas d26038ca51 Send the latest scroll index to DraggableScrollbar 2021-04-20 21:33:30 +05:30
Vishnu Mohandas 8b73805af4 Implement a lazy loading gallery 2021-04-20 17:56:42 +05:30
Vishnu Mohandas 5baa73267c Define extra models for a huge listview 2021-04-20 16:37:12 +05:30
Vishnu Mohandas 861ab7bd91 Optimize thumbnail widget 2021-04-20 16:36:40 +05:30
Vishnu Mohandas 4f34e317dc Add huge_listview to local code 2021-04-20 14:52:03 +05:30
Vishnu Mohandas 6abe42e495 Wrap existing collections within a scroll view 2021-04-20 00:54:58 +05:30
Vishnu Mohandas a42e7e4b76 Remove outdated calls to fetch latest collection files 2021-04-19 23:30:40 +05:30
Vishnu Mohandas 018f070a36 Optimize shared collections gallery load time 2021-04-19 23:30:15 +05:30
Vishnu Mohandas a997c1df98 Move de-duplication logic to the DB layer 2021-04-19 23:19:13 +05:30
Vishnu Mohandas 450109aecf Improve collections gallery loading time 2021-04-19 23:16:52 +05:30
Vishnu Mohandas d08ba1db5c Simplify code for showing backed up folders 2021-04-19 22:41:53 +05:30
Vishnu Mohandas 3c2cb3d551 Improve loading of local folders 2021-04-19 22:38:12 +05:30
Vishnu Mohandas edfde94ca6 Reset batch counter once committed 2021-04-19 19:44:34 +05:30
Vishnu Mohandas a1d61fcd39 Remove verbose log line 2021-04-19 19:44:21 +05:30