Commit graph

2020 commits

Author SHA1 Message Date
Neeraj Gupta 538578a9f3 Bugfix: explicitly declare type in the future 2021-07-22 13:18:21 +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
vishnukvmd b404029029 Prevent secure storage value migrations 2021-07-22 12:37:43 +05:30
vishnukvmd 19202c37fa Migrate secure storage to wait for first unlock 2021-07-22 12:36:45 +05:30
vishnukvmd e7dd26c69e Fix lint warnings 2021-07-22 12:21:59 +05:30
vishnukvmd 199e3a58cc Fix lint warnings 2021-07-22 11:49:34 +05:30
Neeraj Gupta 560877fd11 ThumbnailWidget: use getThumbnailFromLocal 2021-07-22 11:44:02 +05:30
Neeraj Gupta 9adf41fd2e Add support for uploading & reading image from app cache 2021-07-22 11:41:32 +05:30
vishnukvmd 197e807dc3 Fix lint warnings 2021-07-22 02:28:07 +05:30
vishnukvmd 6606ecdc91 Load images from the 18th century too 🤷 2021-07-22 02:23:51 +05:30
vishnukvmd 9f8c409f3d Fix lint warnings 2021-07-22 02:17:43 +05:30
vishnukvmd 2747810cb3 Ensure that DB inits occur only once 2021-07-22 02:04:53 +05:30
vishnukvmd c6ce7f2850 Add indices 2021-07-22 01:52:15 +05:30
vishnukvmd 54278ac89f Alter timestamp column types 2021-07-22 01:52:15 +05:30
vishnukvmd 1d9e67c6c6 Fix linter suggestions 2021-07-22 01:52:15 +05:30
vishnukvmd b23dbe1728 Remove debug endpoint 2021-07-22 01:52:15 +05:30
vishnukvmd d600d6e3b7 Fix linter suggestions 2021-07-22 01:52:15 +05:30
Neeraj Gupta 1c1fb43eda FileUploader: Move AssetEntity related logic in helper class 2021-07-21 16:40:21 +05:30
Neeraj Gupta 759c894a88 File: Add isRemoteFile util method 2021-07-20 12:08:38 +05:30
Neeraj Gupta 2ccdcc4a8a Track counter for fileDownload requests & cancel only when counter <= zero 2021-07-19 20:47:01 +05:30
vishnukvmd daadcdf8b7 Set creationTime to 0 if unavailable 2021-07-18 14:27:17 +05:30
Neeraj Gupta f8b01859c1 Remove unused methods 2021-07-16 22:31:22 +05:30
vishnukvmd cd534709b7 Highlight selected folder 2021-07-13 13:25:20 +05:30
vishnukvmd 1389aa371b Merge branch 'master' of github.com:ente-io/frame 2021-07-12 19:56:35 +05:30
vishnukvmd f7ead6c2da Fix folder sorting issue 2021-07-12 19:32:56 +05:30
vishnukvmd ec0d4037aa Add option to disable backing up of videos 2021-07-12 17:24:43 +05:30
vishnukvmd a440fca9de Update logic to render number of uploaded files 2021-07-12 17:07:02 +05:30
Neeraj Gupta 3c7c855619 Network: remove unused method 2021-07-12 16:45:58 +05:30
Neeraj Gupta 5b08816de9 Config: Connect to local server in debug mode 2021-07-12 16:45:01 +05:30
vishnukvmd 5ee68775e7 Fix width constraint 2021-07-12 16:04:26 +05:30
vishnukvmd fff50cafee Show number of items in folders 2021-07-12 15:54:30 +05:30
vishnukvmd b9cb1968a9 Remove unused function 2021-07-12 12:14:34 +05:30
vishnukvmd b1f2b2a766 Merge branch 'select_folders' 2021-07-12 04:11:18 +05:30
vishnukvmd b4ac613ec4 Show load state when files aren't available 2021-07-12 04:10:58 +05:30
vishnukvmd 9afef180de Reformat imports 2021-07-12 04:08:12 +05:30
vishnukvmd fe9dd16241 Remove verbose log 2021-07-12 04:06:14 +05:30
vishnukvmd b1c2907bf9 Add some padding 2021-07-12 03:23:06 +05:30
vishnukvmd 70797b868d Sort folders by name when pleasing 2021-07-12 03:13:28 +05:30
vishnukvmd 422a398d07 Bubble up selected folders to top 2021-07-12 02:54:28 +05:30
vishnukvmd fcaa17624c Reuse BackupFolderSelectionPage 2021-07-12 00:05:16 +05:30
vishnukvmd 136d704acb Accept button text as a param 2021-07-11 23:35:07 +05:30
vishnukvmd f7a8402c8b Add option to select/unselect all 2021-07-11 23:30:32 +05:30
vishnukvmd 6a7f4fc116 Remove option to set wallpaper 2021-07-11 13:53:17 +05:30
vishnukvmd 5d085bb936 Fix video controls 2021-07-11 13:47:44 +05:30
vishnukvmd da21c51b62 Minor re-formatting 2021-07-11 13:31:47 +05:30
vishnukvmd 137ed7ee7b Parse exif only for images 2021-07-11 13:24:38 +05:30
vishnukvmd c21dfb2dde Update style 2021-07-10 15:25:07 +05:30
vishnukvmd 8354850259 Copy change 2021-07-10 15:01:40 +05:30
vishnukvmd 4173c61849 Change string 2021-07-10 15:00:08 +05:30
vishnukvmd a972cf4654 Update styles for BackupFolderSelectionPage 2021-07-10 14:58:05 +05:30
vishnukvmd 3251391a64 Reduce padding 2021-07-10 14:15:11 +05:30
vishnukvmd 7d712f1f9e Add action bar to the folder selection screen 2021-07-10 14:11:58 +05:30
vishnukvmd 05f13d4b1b Update library to set wallpaper 2021-07-10 13:21:54 +05:30
vishnukvmd 4e93ca7736 Replace deprecated list declaration 2021-07-10 13:15:21 +05:30
vishnukvmd f745457289 Align memory year to center 2021-07-10 13:14:21 +05:30
vishnukvmd ba1832cfb6 Fix button height 2021-07-10 13:12:43 +05:30
vishnukvmd 03387aacf3 Fix button width 2021-07-10 13:10:59 +05:30
vishnukvmd b7d357cc10 Show disabled state if exif is missing 2021-07-10 11:18:00 +05:30
vishnukvmd 2ac24917fd String change 2021-07-09 14:28:07 +05:30
vishnukvmd 9c80f1a2b9 Register for free subscription 2021-07-08 02:40:56 +05:30
vishnukvmd d60737aaf7 Remove unnecessary condition 2021-07-08 02:38:20 +05:30
Neeraj Gupta 4d2d9a090f Revert "Make scan qr code as default option during 2FA setup"
On mobile, entering the code would be easiest.

This reverts commit a015cf2152.
2021-07-07 11:12:47 +05:30
Neeraj Gupta a015cf2152 Make scan qr code as default option during 2FA setup
Scanning qr code is more user friendly & (arguably) preferred choice for majority
2021-07-07 11:04:27 +05:30
Vishnu 4f5755b5af Merge branch 'master' of github.com:ente-io/frame 2021-07-07 06:41:06 +05:30
Vishnu 4656340a68 Fix swipe behavior 2021-07-07 06:40:02 +05:30
Vishnu dadce38ef3 Remove unnecessary injected field 2021-07-07 06:31:14 +05:30
Vishnu 4c05226e68 Display sizes for remote files too 2021-07-07 06:27:53 +05:30
Vishnu f023322b16 Show image dimensions from exif 2021-07-07 06:11:49 +05:30
Vishnu 0b7fb2c267 Show some exif values within the file info dialog itself 2021-07-07 06:01:43 +05:30
Vishnu 56e839fbb8 Remove unnecessary log statement 2021-07-07 05:55:57 +05:30
Vishnu d199e5e5fa File rename 2021-07-07 05:13:39 +05:30
Vishnu d3bffb41d7 Enable focus for video widgets 2021-07-07 04:54:19 +05:30
Vishnu b5b5bacc03 Extract top and bottom bars to separate widgets 2021-07-07 04:51:25 +05:30
Vishnu c431cfdfdd Disable fullscreen on exiting detail view 2021-07-07 04:16:34 +05:30
Vishnu 7ae251cc5f Hide exif button for videos 2021-07-07 02:19:46 +05:30
Vishnu 84e89c6c73 Update raw exif view 2021-07-07 02:14:35 +05:30
Vishnu bd405729b5 Render raw exif 2021-07-06 21:33:39 +05:30
Vishnu 128464de16 Add hook to view exif 2021-07-06 17:48:39 +05:30
Vishnu e9280b23c3 Fetch and log exif 2021-07-06 17:32:45 +05:30
Vishnu fb97701f13 Format constructor 2021-07-06 17:21:51 +05:30
Vishnu 6d945b3098 Extract file info to a separate widget 2021-07-06 17:20:35 +05:30
Vishnu 460e14c2ad Add option to set wallpaper on Android 2021-07-06 15:27:30 +05:30
Vishnu 2b375bc68b Improve icons 2021-07-06 13:26:29 +05:30
Vishnu 9263e57c70 Reduce gradiant contrast 2021-07-06 13:19:36 +05:30
Vishnu eb1890e67b Remove auto hide 2021-07-06 13:17:38 +05:30
Vishnu 37034453bd Update gradient for top and bottom bars 2021-07-06 13:13:39 +05:30
Vishnu 606a1bac25 Add a bottom bar 2021-07-06 00:27:21 +05:30
Vishnu d9ce124f6b Remove unnecessary padding 2021-07-06 00:05:42 +05:30
Vishnu b3b61b1178 Don't hide if a user action was encountered 2021-07-06 00:04:16 +05:30
Vishnu 73ca10fef0 Add gradient to action bar 2021-07-05 23:58:57 +05:30
Vishnu c67da6370b Show day in the image view 2021-07-05 23:49:00 +05:30
Vishnu 4182f619e7 Rename method 2021-07-05 23:39:44 +05:30
Vishnu b5a638361c Fade app bar in and out 2021-07-05 23:35:51 +05:30
Vishnu 113caedcdd Tap to hide action bar 2021-07-05 23:04:45 +05:30
Neeraj Gupta 3f0f5c6e6d
Merge pull request #15 from ente-io/logout
delete token from server on logout
2021-07-05 19:14:10 +05:30
Neeraj Gupta 8c08908860 Fixed minor formatting issue 2021-07-05 19:09:47 +05:30
Neeraj Gupta f685289468 [logout] clear local storage on api success only 2021-07-05 19:06:56 +05:30
Neeraj Gupta d14cbb7d97 delete token from server on logout 2021-07-05 15:01:03 +05:30
Vishnu 1bd2f11fa1 Add gradient to show sync status clearly 2021-07-05 14:26:30 +05:30
Vishnu 39e11869ec Wrap things in a scrollview 2021-07-05 14:02:07 +05:30
Vishnu 12e0187364 Minor color change 2021-07-05 14:02:01 +05:30
Vishnu 44bffdf726 Update background color for update available dialog 2021-07-05 13:56:21 +05:30
Neeraj Gupta b7c7b6259f [copy change] CTA from "sign in" -> "log in"
Also, fixed rendering of sign up button (thanks to Vishnu)
2021-07-04 21:19:23 +05:30
Vishnu Mohandas eda1b6a68d Open settings page only for iOS 2021-07-01 18:03:02 +05:30
Vishnu Mohandas f1a1a320c1 Display error dialog if permission is rejected 2021-07-01 17:39:19 +05:30
Vishnu Mohandas 7ae6b98b19 Empty state for users who have granted limited permissions 2021-07-01 17:28:45 +05:30
Vishnu Mohandas f1e44b6875 Show files to be synced for users who have granted limited permissions 2021-07-01 16:56:47 +05:30
Vishnu Mohandas 39860cfde1 Sync all files for users who have selected limited files 2021-07-01 16:36:20 +05:30
Vishnu Mohandas f86021c7c3 Show uploaded files for users who have opted for limited permissions 2021-07-01 16:21:13 +05:30
Vishnu Mohandas 31c10ac386 Fix button style 2021-07-01 16:17:15 +05:30
Vishnu Mohandas 948f4dcacc Don't show folder selection page to users who have opted for limited permissions 2021-07-01 16:12:13 +05:30
Vishnu Mohandas 38b891f75f Add log statement 2021-07-01 14:59:25 +05:30
Vishnu Mohandas 76be1c9a37 Attach callback to listen for updates only after permission has been granted 2021-07-01 14:57:44 +05:30
Vishnu Mohandas ac13a5b9e5 Trigger a sync when something changes on disk 2021-07-01 14:39:04 +05:30
Vishnu Mohandas 4ff0554936 Add hook to select more photos if the user has granted limited permissions 2021-07-01 13:29:46 +05:30
Vishnu Mohandas 40d5623057 Request extended permissions and save returned state 2021-07-01 13:14:33 +05:30
Vishnu Mohandas 124c064379 Remove redundant call to request for permissions 2021-07-01 13:12:56 +05:30
Vishnu Mohandas 23a3bd3fff Trigger default email client if mail fails 2021-06-29 20:56:54 +05:30
Vishnu Mohandas 8be410b583 Reduce toast length 2021-06-29 20:56:36 +05:30
Vishnu Mohandas 557edfefb7 Change copy 2021-06-29 20:34:46 +05:30
Vishnu Mohandas 73106fc0af Create a recovery if absent 2021-06-29 20:33:54 +05:30
Vishnu Mohandas 89f2c7a3e1 Change button text 2021-06-29 20:04:28 +05:30
Vishnu Mohandas 3b808a5193 Paste 2FA code during sign in 2021-06-29 16:51:28 +05:30
Vishnu Mohandas 3465fe50e4 Protect 2FA behind lockscreen 2021-06-29 16:48:11 +05:30
Vishnu Mohandas b5863d9dcd Prompt user to save recovery key post 2FA setup 2021-06-29 16:43:55 +05:30
Vishnu Mohandas 5d96c4909b Reduce font size of code 2021-06-29 16:02:18 +05:30
Vishnu Mohandas 7f8ac9087f Paste auth code in clipboard if any 2021-06-29 16:01:27 +05:30
Vishnu Mohandas 91c32182c1 Prevent flicker of QR code 2021-06-29 15:40:53 +05:30
Vishnu Mohandas e004357b8f Add confirmation prompt before disabling 2FA 2021-06-29 15:28:04 +05:30
Vishnu Mohandas 165ea91ab8 Minor text change 2021-06-29 15:24:59 +05:30
Vishnu Mohandas b6611b4113 Add hook to enable and disable 2FA 2021-06-29 15:18:01 +05:30
Vishnu Mohandas afb820d75b Add util to compute recovery key 2021-06-29 15:17:01 +05:30
Vishnu Mohandas 1af62277c2 Cancel event 2021-06-29 15:02:33 +05:30
Vishnu Mohandas 64e38301a6 Remove unused imports 2021-06-29 14:21:35 +05:30
Vishnu Mohandas 13b1c18694 Add optional padding property for buttons 2021-06-29 14:21:04 +05:30
Vishnu Mohandas 1bb1d9055f Rename string 2021-06-29 12:53:45 +05:30
Vishnu Mohandas ad1f76cc87 Add a hook to rate us 2021-06-29 12:52:45 +05:30
Vishnu Mohandas 4584a3911f Fix event data 2021-06-29 11:38:52 +05:30
Vishnu Mohandas a9eec46701 Cancel thumbnail requests only if the widget has been unmounted 2021-06-29 11:38:48 +05:30
Vishnu Mohandas 994d64eee5 Enable user interactions during a toast 2021-06-29 11:21:28 +05:30
Vishnu Mohandas d6f7ad5020 Encapsulate file load results in a model 2021-06-29 10:43:16 +05:30
Vishnu Mohandas 0f116a5a5c Fix gallery footer styling 2021-06-29 10:23:34 +05:30
Vishnu Mohandas 2970bae147 Improve active tab background color 2021-06-29 10:18:08 +05:30
Vishnu Mohandas 86755aab80 Safe guard against missing tab change events 2021-06-29 10:11:45 +05:30
Vishnu Mohandas 3f19631074 Remove unused import 2021-06-29 09:59:22 +05:30
Vishnu Mohandas 2dff31e405 Fix background color for dialog 2021-06-29 09:56:20 +05:30
Vishnu Mohandas a97b978848 Remove unused imports 2021-06-29 09:53:30 +05:30
Vishnu Mohandas aeb8c1ec69 Safe guard against empty file titles 2021-06-29 09:53:19 +05:30
Vishnu Mohandas 1f653c0f14 Convert only unknown images 2021-06-29 09:40:24 +05:30
Vishnu Mohandas 1a07114b5e Handle unknown file extensions gracefully 2021-06-29 09:37:13 +05:30
Vishnu Mohandas bf210d18ab Enable one-shot deletes for Android 11+ 2021-06-29 00:33:53 +05:30
Vishnu Mohandas dada941088 Fix iOS toasts 2021-06-29 00:18:33 +05:30
Vishnu Mohandas 5279366762 Fix padding on iOS 2021-06-29 00:17:57 +05:30
Vishnu Mohandas 9e2b2fc6d9 Fix padding on iOS 2021-06-29 00:17:48 +05:30
Vishnu Mohandas 03450cf57f Rename functions 2021-06-29 00:02:09 +05:30
Vishnu Mohandas 0b71e19962 Use a different toast library on iOS 2021-06-28 23:55:35 +05:30
Vishnu Mohandas 7f0deae679 Add hints for iOS 2021-06-28 22:21:52 +05:30
Vishnu Mohandas ecec55d0be Reformat code 2021-06-28 22:04:06 +05:30
Vishnu Mohandas b9f59c6ae3 Enhance delete on iOS 2021-06-28 22:02:29 +05:30
Vishnu Mohandas 248746c45f Merge branch 'master' of github.com:ente-io/frame 2021-06-28 21:43:24 +05:30
Vishnu e220df3a85 Improve copy 2021-06-28 21:41:02 +05:30
Vishnu 424f4db999 Improve file delete progress dialog 2021-06-28 21:38:07 +05:30
Vishnu 3419e42095 Add progress dialog 2021-06-28 21:22:21 +05:30
Vishnu edaff6b3ee Handle cases when there are no files left to be deleted 2021-06-28 20:17:06 +05:30
Vishnu 19cde13ab9 Fix string for single files 2021-06-28 20:05:43 +05:30
Vishnu c9c2d2ec0e Show dialog in the backup section widget 2021-06-28 20:00:48 +05:30
Vishnu 6bd8f413c3 Delete files in batches on Android 2021-06-28 18:24:57 +05:30
Vishnu 8ba259e147 Show more accurate usage stats 2021-06-28 18:24:27 +05:30
Vishnu 16abaf20fb Remove unused code 2021-06-28 16:50:48 +05:30
Vishnu ca05aafb51 Pop some confetti 2021-06-28 16:49:52 +05:30
Vishnu a689317b9f Add hook to free up space 2021-06-28 15:42:21 +05:30
Vishnu 41ca328009 Add API to delete local files 2021-06-28 15:42:12 +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 043b9e8f2f Remove unused imports 2021-06-28 10:45:02 +05:30
Vishnu cb861270e4 Fix padding 2021-06-28 10:44:53 +05:30
Vishnu 154b8dd7a0 Move backup settings to separate widget 2021-06-28 10:39:22 +05:30
Vishnu cc0d66132c Add option to remove 2FA 2021-06-27 15:53:53 +05:30
Vishnu b5c0ff07b0 Auto focus on the relevant field 2021-06-26 16:31:32 +05:30
Vishnu 1547c5499f Handle session expiries gracefully 2021-06-26 16:26:52 +05:30
Vishnu e8f3d7bcce Add 2FA code entry screen 2021-06-26 16:07:17 +05:30
Vishnu Mohandas 41c1f39421 Ignore invalid files 2021-06-19 16:31:32 +05:30
Vishnu Mohandas 811a4cb71e Move expensive ops to a separate isolate 2021-06-19 16:31:32 +05:30
Vishnu Mohandas 7c06ea50b6 Reduce log level 2021-06-19 16:31:32 +05:30
Vishnu db3f0464d3 Remove expanded widget 2021-06-19 16:26:29 +05:30
Vishnu Mohandas bc4324d1b2 Fix button 2021-06-16 20:58:43 +05:30
Vishnu Mohandas 298638a4fa Minor opacity change 2021-06-16 20:53:32 +05:30
Vishnu Mohandas c1c19dab8f Improve backup selection page 2021-06-16 20:41:30 +05:30
Vishnu Mohandas 58b949c205 Fix overflow issue with backup selection widget 2021-06-16 20:36:10 +05:30
Vishnu Mohandas 1fab30c2e1 Minor string changes 2021-06-16 20:10:57 +05:30
Vishnu Mohandas 9f79688a73 Fix button 2021-06-16 18:43:27 +05:30
Vishnu d3ee26db0c Process older photos 2021-06-15 17:27:33 +05:30
Vishnu 3f6a847212 Reformat code 2021-06-15 00:40:28 +05:30
Vishnu 74ac0326fe Move private function further down 2021-06-14 21:57:50 +05:30
Vishnu f9918c16d3 Factor responsibilities into respecive sync services 2021-06-14 21:57:15 +05:30
Vishnu f7bc1962f6 Pull out remote sync to a separate service 2021-06-14 21:54:15 +05:30
Vishnu 3b9858cc40 Extract local-sync to a separate service 2021-06-14 20:28:36 +05:30
Vishnu 3bf844f834 Set type for deletedIDs 2021-06-14 02:08:26 +05:30
Vishnu 6861d0a399 Add logs for deletion 2021-06-14 01:39:06 +05:30