Commit graph

280 commits

Author SHA1 Message Date
Neeraj Gupta 6429820485
refactor 2022-08-01 16:35:16 +05:30
Neeraj Gupta a005494a12
Android: mark bgtask as finished if process is already running 2022-07-05 22:51:06 +05:30
Neeraj Gupta edabfe6da3
lint: enable prefer_const_constructors_in_immutables rule 2022-07-04 14:13:01 +05:30
Neeraj Gupta 460dd1203e
Prefer const 2022-07-04 11:33:10 +05:30
Neeraj Gupta fdadf36baa
Lint fixes 2022-07-03 15:39:01 +05:30
Neeraj Gupta 348ddc1f69
reactor: move widgets location 2022-07-01 20:09:02 +05:30
Neeraj Gupta dd1c8676f2
bump version to 0.6.5+335 2022-06-23 18:47:31 +05:30
Neeraj Gupta d588df6abd
ensure that config is init before UserService 2022-06-23 18:40:35 +05:30
Neeraj Gupta 876b8e1aaf
use ApplicationSupportDirectory instead of tempDirectory for logs 2022-06-23 08:48:10 +05:30
Neeraj Gupta eba0dc51a0
Minor refactor 2022-06-21 20:07:17 +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 9bc4306218
Merge branch 'master' into redesign 2022-06-09 18:37:56 +05:30
Neeraj Gupta 91a9e13925
minor refactor 2022-06-08 15:00:21 +05:30
Neeraj Gupta 33c84f1a52
AppLock: Support dark & ligth theme mode 2022-06-04 07:41:24 +05:30
Neeraj Gupta 5bd9dd1a76
Merge remote-tracking branch 'origin/master' into redesign 2022-05-30 06:42:43 +05:30
vishnukvmd 106dbac6b6 Use a tunneled transport when necessary 2022-05-29 04:50:23 +05:30
vishnukvmd dad7f409a7 Move super_logging to internal codebase 2022-05-29 03:46:22 +05:30
Neeraj Gupta 150c8177b1 Merge remote-tracking branch 'origin/master' into theme 2022-03-12 12:35:17 +05:30
Neeraj Gupta 432d686da7
do not kill current isolate 2022-03-10 17:28:37 +05:30
Neeraj Gupta 0525f6b910
use adaptive theme for toggling 2022-03-09 11:27:27 +05:30
Neeraj Gupta 3547412dc4
logs & version bump 2022-03-09 10:13:18 +05:30
Neeraj Gupta 1c2152ae31
logs 2022-03-08 13:52:01 +05:30
Neeraj Gupta 489427cf7b
add logs 2022-03-08 12:47:19 +05:30
Neeraj Gupta 6d79df247f
add logs for debugging app stuck 2022-03-08 01:48:50 +05:30
Neeraj Gupta d2ce10d90b
minor rename 2022-03-05 16:12:55 +05:30
vishnukvmd 506dc2af73 Retry sync when a background task is executed within the same isolate 2021-11-28 10:52:14 +05:30
vishnukvmd a789935fb4 Define return type 2021-11-27 21:16:40 +05:30
vishnukvmd 279f53b6f8 Replace future with a simple boolean 2021-11-27 21:15:56 +05:30
vishnukvmd ae1f28dac5 Remove redundant check for in-memory variable since background task runs on a separate isolate 2021-11-27 21:12:52 +05:30
vishnukvmd 9cdf60df43 Don't exit when sync is in progress 2021-11-27 21:06:30 +05:30
vishnukvmd 9ad2e34e3a Send the correct background task handler to the app 2021-11-27 21:04:31 +05:30
vishnukvmd 17334589be Setup push handlers only on iOS 2021-11-25 16:05:38 +05:30
vishnukvmd 47f390d444 Update log line 2021-11-25 15:59:29 +05:30
vishnukvmd 01f9b673aa Configure background fetch during app widget init 2021-11-25 15:52:12 +05:30
vishnukvmd 3336491f62 Extract app into a separate file 2021-11-24 12:56:07 +05:30
vishnukvmd 67df8e7bde Remove unnecessary visibility detector 2021-11-24 12:49:11 +05:30
vishnukvmd 81c72488d2 Wrap home widget within a visibility detector 2021-11-23 20:07:36 +05:30
vishnukvmd e398807f2e Resort to AppLifecycleState 2021-11-15 21:05:07 +05:30
vishnukvmd 8d4a763a65 Set state to foreground on app init 2021-11-15 20:07:07 +05:30
vishnukvmd 215bd29ce9 Store app's lifecycle state within a service 2021-11-15 19:59:31 +05:30
vishnukvmd c75138a39f Sync only when asked to do so 2021-11-15 19:51:43 +05:30
vishnukvmd 290a8bea36 Configure push token on user sign in 2021-11-11 00:44:25 +05:30
vishnukvmd 616d8efadc Merge branch 'master' into bg_sync 2021-11-05 14:08:55 +05:30
Neeraj Gupta 3239ba3644
Resolve existing package import issues 2021-10-30 11:21:23 +05:30
vishnukvmd 02c56e852f Trigger sync when a background push is received 2021-10-28 12:41:38 +05:30
vishnukvmd 1066d33355 Add log line 2021-10-28 01:38:10 +05:30
vishnukvmd 3e424c1c07 Kill self on iOS when we get close to 30s of runtime 2021-10-22 23:12:35 +05:30
vishnukvmd 9f845518bc Merge remote-tracking branch 'origin' into bg_sync 2021-10-22 22:59:11 +05:30
Neeraj Gupta 39b0f50277
Merge remote-tracking branch 'origin/master' into trash_api 2021-10-20 17:33:35 +05:30
vishnukvmd bc76b1033b Kill the background isolate 2021-10-18 18:00:39 +05:30
vishnukvmd bbad8a4cce Initialize app on bg push 2021-10-13 10:54:49 +05:30
Neeraj Gupta 84b0283933
Sync trashed items in local db 2021-10-13 00:57:11 +05:30
vishnukvmd 343a72c5b4 Add fg/bg as a param for sync 2021-10-12 15:02:51 +05:30
vishnukvmd 76c8ddd62b Fix lint warning 2021-10-12 14:45:36 +05:30
vishnukvmd 614e13e7da Parse background pushes 2021-10-12 14:42:28 +05:30
Neeraj Gupta ba16a6a887
Show network requests in debug build using alice 2021-10-08 12:14:35 +05:30
Neeraj Gupta 73911b0631 await on localSettings init 2021-09-09 11:23:51 +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 def66ee3cc l10n: Basic setup with en language 2021-08-28 10:44:41 +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
vishnukvmd 5674926a1f Ensure that callbacks are attached only on app start 2021-08-04 22:57:06 +05:30
vishnukvmd c12920b042 Remove unnecessary const 2021-07-22 15:00:11 +05:30
vishnukvmd 9f8c409f3d Fix lint warnings 2021-07-22 02:17:43 +05:30
Vishnu Mohandas 0b71e19962 Use a different toast library on iOS 2021-06-28 23:55:35 +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 Mohandas 8fcca7c168 Set underline for focused text fields 2021-05-31 05:25:50 +05:30
Vishnu Mohandas a6b3b82bd1 Show notifications in the background, if an update is available 2021-05-23 02:56:11 +05:30
Vishnu Mohandas 1cba327147 Add option to check for updates 2021-05-22 23:59:09 +05:30
Vishnu Mohandas 537abae771 Show a notification on Android when storage limit is exceeded 2021-05-21 04:53:29 +05:30
Vishnu Mohandas 638762101c Set cursor color 2021-05-13 01:04:13 +05:30
Vishnu Mohandas 7c31cbbdc0 Change styles of the subscription page 2021-05-12 22:12:15 +05:30
Vishnu Mohandas 84e22229b5 Update colors 2021-05-12 21:29:07 +05:30
Vishnu Mohandas 4c108a7a79 Update dialog background color 2021-05-12 20:41:57 +05:30
Vishnu Mohandas 04f20ab505 Sync periodically if app is in foreground 2021-05-08 23:23:17 +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 ef808e764e Clear upload locks on timeout 2021-05-07 23:14:19 +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 99df462dea Send UA with request 2021-04-04 22:49:46 +05:30
Vishnu Mohandas bf09a87997 Show lockscreen onStart and onResume 2021-03-21 14:02:10 +05:30
Vishnu Mohandas eea7143180 Hide debug label 2021-03-08 13:08:54 +05:30
Vishnu Mohandas 2c542806da Re-enable background-fetch 2021-03-03 21:37:15 +05:30
Vishnu Mohandas b9e9aa393a Take a lock on a file before triggering it's upload 2021-03-03 21:37:02 +05:30
Vishnu Mohandas 2d4fc30de3 Use a global state for the app being in background 2021-03-03 21:33:03 +05:30
Vishnu Mohandas cecfd7fefc Remove stack traces 2021-03-02 11:38:29 +05:30
Vishnu Mohandas aa52fea50a Remove headless task 2021-03-02 05:06:58 +05:30
Vishnu Mohandas 2d8041e77d Upgrade background_fetch 2021-03-02 03:39:15 +05:30
Vishnu Mohandas 9aed192e16 Upgrade Zone API 2021-03-02 00:56:35 +05:30
Vishnu Mohandas 8bafb4e4fb Revert "Remove stack traces"
This reverts commit 19bb5fdd26.
2021-03-02 00:54:02 +05:30
Vishnu Mohandas 19bb5fdd26 Remove stack traces 2021-03-02 00:25:45 +05:30
Vishnu Mohandas f8da6378f7 Safeguard against multiple syncs 2021-02-26 19:39:45 +05:30
Vishnu Mohandas 191e1e7b90 Run background tasks with logs 2021-02-26 17:19:35 +05:30
Vishnu Mohandas 71503f254f Update log statements 2021-02-26 16:35:54 +05:30
Vishnu Mohandas 93b38bbe43 Skip sync if already in progress 2021-02-26 15:20:52 +05:30
Vishnu Mohandas 64354e7714 Prevent duplicate initialization from the background task 2021-02-26 14:30:40 +05:30
Vishnu Mohandas f2dee27862 Configure different sentry instance for debug builds 2021-02-09 17:05:45 +05:30
Vishnu Mohandas 1c6b3d8af7 Catch errors during initialization 2021-02-09 13:44:39 +05:30
Vishnu Mohandas 4b596165e0 Update bottom tab bar 2021-02-07 01:18:29 +05:30
Vishnu Mohandas 54bb61656b Add splash screen 2021-02-06 21:41:27 +05:30
Vishnu Mohandas edf8f9236a Set background color for dialogs 2021-02-06 01:18:20 +05:30
Vishnu Mohandas 2f65677ca2 All green, everything green! 2021-02-05 16:37:29 +05:30
Vishnu Mohandas a05af531c8 All black, everything black 2021-02-01 21:27:40 +05:30
Vishnu Mohandas b6e5e810b3 Move computer initialization to CryptoUtil 2021-01-26 17:16:14 +05:30
Vishnu Mohandas 70f5fbacd7 Blue blue blue 2021-01-26 16:56:35 +05:30
Vishnu Mohandas 8eeb590a96 Fix updated lib params 2021-01-26 16:44:07 +05:30
Vishnu Mohandas 9a49d5eb8b Trigger sync on connectivity changes only if the user can upload photos 2021-01-14 01:11:32 +05:30
Vishnu Mohandas f1bc728451 Ensure that the background task is logged only when the process is unintialized 2021-01-14 00:03:02 +05:30
Vishnu Mohandas 8d67ee82b6 Register for background sync 2021-01-13 23:09:45 +05:30
Vishnu Mohandas 15cbdc2dde Move more content to lowercase 2021-01-08 22:41:32 +05:30
Vishnu Mohandas 6d09d3eaa3 Init BillingService on app startup 2021-01-08 12:08:45 +05:30
Vishnu Mohandas d2e53b8094 Make things less dull 2020-12-12 06:01:06 +05:30
Vishnu Mohandas 011fb46893 Setup default font as NunitoSans 2020-12-04 01:06:18 +05:30
Vishnu Mohandas 58d4635bb5 Add logs 2020-11-30 16:17:06 +05:30
Vishnu Mohandas 56bc23c109 Keep logs of only the last 5 days 2020-11-30 16:03:22 +05:30
Vishnu Mohandas 34ffc9e5a1 Log all network requests 2020-11-19 23:52:30 +05:30
Vishnu Mohandas 2bbb27a55c Simplify favorites 2020-10-31 01:47:06 +05:30
Vishnu Mohandas 95ccf02b2e Ensure that local collections are loaded into memory on app init 2020-10-26 15:27:31 +05:30
Vishnu Mohandas 959f6cd27e Log errors with the stack trace 2020-10-13 02:04:34 +05:30
Vishnu Mohandas 2f89dcde2a Remove call to sync folders 2020-10-12 23:55:09 +05:30
Vishnu Mohandas 5b905e85f5 Set default button color to pink 2020-10-10 05:16:51 +05:30
Vishnu Mohandas 16b2ff0624 Declutter root folder 2020-10-03 23:28:26 +05:30
Vishnu Mohandas 7f16f88a8f Move services to a separate package 2020-10-03 23:26:18 +05:30
Vishnu Mohandas 1cc7db043f Change the color of check boxes 2020-09-18 00:33:21 +05:30
Vishnu Mohandas da1d4830e2 Move the logic of deeplink initialization to the home widget 2020-08-26 05:56:07 +05:30
Vishnu Mohandas fd074e96ee Simplify EmailEntryPage 2020-08-26 04:32:43 +05:30
Vishnu Mohandas ddb2c7dc82 Update UI for the OTT sign in flow 2020-08-25 11:30:19 +05:30
Vishnu Mohandas 3f385e63e9 Update app theme 2020-08-25 06:24:32 +05:30
Vishnu Mohandas 2458d5f35c Prefix with _ for consistency 2020-08-22 04:58:52 +05:30
Vishnu Mohandas f124edecb1 Subscribe to ente://deeplinks 2020-08-22 04:57:29 +05:30
Vishnu Mohandas 2505389d00 Use Computer to handle isolates 2020-08-14 04:34:32 +05:30
Vishnu Mohandas 7bd2ad19de Revert "Queue encryption and decryption with work-manager"
This reverts commit 5000a0b3cd.
2020-08-14 04:13:09 +05:30
Vishnu Mohandas 5000a0b3cd Queue encryption and decryption with work-manager 2020-08-14 03:31:18 +05:30
Vishnu Mohandas 098b7cf86b Update app name 2020-08-09 20:00:10 +05:30
Vishnu Mohandas 3f409daabf Remove duplicate widget initializer 2020-07-28 02:02:07 +05:30
Vishnu Mohandas bf38064500 Rename memory to memories 2020-07-21 17:49:55 +05:30
Vishnu Mohandas e753832a63 Init MemoryService 2020-07-20 18:28:20 +05:30
Vishnu Mohandas 9829eb4792 Grab a reference to shared preferences during initialization to reduce code complexity 2020-07-15 22:39:52 +05:30
Vishnu Mohandas dd85f629ab Don't block on the photo manager sync 2020-07-10 23:47:51 +05:30
Vishnu Mohandas 00bbca7048 Handle errors thrown while fetching folders 2020-07-10 23:38:26 +05:30
Vishnu Mohandas 82af9306f8 Trigger the folder sync without blocking 2020-06-23 21:19:04 +05:30
Vishnu Mohandas 532540d4ac Decouple folder sync from that of files 2020-06-20 04:37:53 +05:30
Vishnu Mohandas 12ba36a0d4 Rename file 2020-06-20 04:36:07 +05:30
Vishnu Mohandas a5aaf91460 Extend support for videos 2020-06-20 04:33:26 +05:30
Vishnu Mohandas 4d77ccc8ba Wrap sync-ing attemts inside a try-catch block to avoid uncaught errors 2020-06-16 00:08:08 +05:30
Vishnu Mohandas f95e598513 Prevent superlogging from uploading logs to Sentry 2020-06-10 00:14:36 +05:30
Vishnu Mohandas 8275746151 Initialize FolderService during app init 2020-05-25 19:02:09 +05:30