Commit graph

874 commits

Author SHA1 Message Date
laurenspriem 8b1545239c [mob][photos] Use canvas again for generating face thumbnail 2024-04-29 16:28:19 +05:30
laurenspriem aad1327705 [mob][photos] Small cleanup 2024-04-29 15:29:00 +05:30
laurenspriem 8058c6b621 [mob][photos] Remove unnecessary write transactions 2024-04-29 15:20:01 +05:30
laurenspriem d03d8d564d [mob][photos] Fix DB issue 2024-04-29 15:13:51 +05:30
Neeraj Gupta 16888c8aad [mob][photos] Fix lint warning 2024-04-29 14:14:23 +05:30
Neeraj Gupta bd07759d8e [mob][photos] Show loading indicator on device tap 2024-04-29 14:05:41 +05:30
Neeraj Gupta b12e6221d4 [mob][photos] Change button type to neutral 2024-04-29 13:46:18 +05:30
Neeraj Gupta 195ad01f14 [mob][photos] Add timeout for stop casting 2024-04-29 11:26:13 +05:30
Neeraj Gupta 7411125194 [mob][photos] Add support for closing session 2024-04-29 11:20:17 +05:30
Neeraj Gupta 4b97f832b2 [mob][photos] Finish auto-pair integration 2024-04-29 10:23:19 +05:30
laurenspriem 87571159cc [mob][photos] Fix faces db conflict 2024-04-27 14:30:34 +05:30
laurenspriem 97d8c5f83e Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-27 14:03:40 +05:30
laurenspriem a2023bd457 [mob][photos] Fix database issue 2024-04-27 13:38:34 +05:30
ashilkn 54d3ad9743 [mob][photos] Remove unnecessary optional parameter 2024-04-27 12:37:42 +05:30
laurenspriem 6235f7ee78 [mob][photos] Move FaceBoxImage to face_util 2024-04-27 12:19:29 +05:30
Neeraj Gupta 4ce6fa790f [mob] Add method to close cast and keep track of active casts 2024-04-27 12:16:48 +05:30
Laurens Priem 9eeab36392
[mob][photos] Generate face crops faster (#1542)
## Description

Have written two new methods, `generateImgFaceThumbnails()` and
`generateJpgFaceThumbnails()`.
Using `generateJpgFaceThumbnails()` now since it returns
`Future<List<Uint8List>>` and is easier to integrate within the code
base because the return type remains the same with the older
`generateFaceThumbnailsForImage()`

There is performance improvement with `generateImgFaceThumbnails()`, but
it's not very significant and it requires changes in codebase to work
with it's return type `Future<List<Image>>` (`Image` from the `Image`
package). Can consider using it if it feels necessary in future.

If multiple faces are being generated from the same image, the image can
be decoded once and passed to `generateImgFaceThumbnails()` or
`generateJpgFaceThumbnails()` to avoid repeated decoding of the same
image.

`generateImgFaceThumbnails()` and `generateJpgFaceThumbnails()` uses the
isolates available from the pool of 4 spawned by `Computer` and
processes multiple faces in parallel unlike
`generateImgFaceThumbnails()`, which processes only one at a time.
2024-04-27 12:05:32 +05:30
laurenspriem f422e30a8e [mob][photos] Migrate fully to sqlite async for faces, removing sqflite fully 2024-04-27 11:13:52 +05:30
ashilkn 58cd9350c0 Merge branch 'mobile_face' into fix_face_thumbnail 2024-04-27 11:10:10 +05:30
ashilkn ab5985a08b [mob][photos] Use generated face crops and crop it using the new method 2024-04-27 11:06:54 +05:30
ashilkn 19f2c5f00a [mob][photos] remove negation 2024-04-27 11:02:38 +05:30
ashilkn 707916f677 [mob][photos] Add method to convert Image from Image package to UI image 2024-04-27 10:57:49 +05:30
ashilkn 8b236cde09 [mob][photos] When cropping a face from an image, make the image a square and add some buffer around it 2024-04-27 09:59:16 +05:30
laurenspriem 968eaaf5f6 [mob][photos] Better error logging 2024-04-27 09:39:12 +05:30
ashilkn caa72ba830 [mob][photos] add option to pass decoded image to face thumbnail generation methods to avoid unnecessary decoding when possible 2024-04-26 15:44:07 +05:30
laurenspriem 2692d0a34f [mob][photos] Fix issue in displaying face thumbnails for videos 2024-04-26 14:50:14 +05:30
laurenspriem 44898415e7 [mob][photos] Index videos using thumbnails 2024-04-26 14:43:19 +05:30
laurenspriem 811ffe0117 [mob][photos] Create new cluster when tapping unassigned face 2024-04-26 14:13:00 +05:30
laurenspriem 43f01c31da [mob][photos] Prevent sqlite disk corruption issue 2024-04-26 12:58:27 +05:30
ashilkn a0e9913f43 Revert "[mob] Crop image instead of using scale and translate transforms on OG image in CroppedFaceImageView widget"
This reverts commit b022ef6d1e.
2024-04-26 12:56:12 +05:30
ashilkn b256bb2757 Revert "[mob] perf: Decode images from which face is to be cropped, in an isolate to avoid jank"
This reverts commit 2f7e0cd1ef.
2024-04-26 12:55:29 +05:30
ashilkn 3eebfdd037 Revert "[mob] Two varients of CroppedFaceImageView for testing out which is more performant"
This reverts commit 7617817798.
2024-04-26 12:54:29 +05:30
ashilkn a577611e65 [mob] merge mobile_face to fix_face_thumbnail 2024-04-26 11:32:33 +05:30
Neeraj Gupta dddbb959b5 [mob][photos] Refactor 2024-04-25 17:45:03 +05:30
laurenspriem b2a2078045 [mob][photos] Moving more methods to sqlite async 2024-04-25 17:06:40 +05:30
ashilkn 7617817798 [mob] Two varients of CroppedFaceImageView for testing out which is more performant 2024-04-25 16:58:58 +05:30
ashilkn f173bc4038 [mob] Wrote util methods to generate face thumbnails from an image path
Need to decide on which util method to use of the two after performance testing
2024-04-25 16:56:43 +05:30
laurenspriem 3828fa328e [mob][photos] Increase conservative clustering threshold slightly 2024-04-25 16:41:23 +05:30
laurenspriem f101468a8d [mob][photos] Show faces in file info regardless of blur value 2024-04-25 16:30:00 +05:30
Neeraj Gupta 483cfd1f39 [mob][photos] Lint suggestions 2024-04-25 16:28:30 +05:30
Neeraj Gupta 864f5c1fd4 [mob][photos] Extract strings 2024-04-25 16:25:04 +05:30
laurenspriem 52a7f2753e [mob][photos] Tiny change 2024-04-25 16:15:04 +05:30
laurenspriem 7fd5ffc0e6 [mob][photos] Forgot method 2024-04-25 16:14:16 +05:30
laurenspriem 43cbfbfa33 [mob][photos] Automatically reject overlapping suggestions 2024-04-25 16:13:29 +05:30
laurenspriem 7370557b08 [mob][photos] More use of sqlite async 2024-04-25 15:41:26 +05:30
laurenspriem f0ebdb211c [mob][photos] Functionality to remove selected images from suggestion 2024-04-25 14:13:58 +05:30
Neeraj Gupta f777bdba1b [mob][photos] Extract strings 2024-04-25 12:44:46 +05:30
ashilkn 2f7e0cd1ef [mob] perf: Decode images from which face is to be cropped, in an isolate to avoid jank 2024-04-25 12:29:29 +05:30
laurenspriem d429efaf14 [mob][photos] Trailing commas 2024-04-25 12:19:19 +05:30
Neeraj Gupta 36dbda895c [mob][photos] Send pair req after getting receiver status 2024-04-25 11:50:49 +05:30
Neeraj Gupta e903fbf9bc [mob][photos] Continue showing pair dialog in case of error 2024-04-25 11:50:02 +05:30
laurenspriem 7b8816a4bf [mob][photos] Higher conservative clustering threshold 2024-04-25 10:54:49 +05:30
laurenspriem 7e00a470aa [mob][photos] Lower both hard and soft blur thresholds 2024-04-25 10:54:19 +05:30
laurenspriem 1ae4482fe5 [mob][photos] Always check big clusters first for suggestions 2024-04-25 10:53:42 +05:30
laurenspriem d0420ce477 [mob][photos] Better sorting of faces in file info 2024-04-25 10:03:05 +05:30
ashilkn b022ef6d1e [mob] Crop image instead of using scale and translate transforms on OG image in CroppedFaceImageView widget 2024-04-25 09:35:55 +05:30
laurenspriem 244d562207 [mob][photos] Increase the pool for face thumbnail generation 2024-04-25 08:50:44 +05:30
laurenspriem 3fbfa8c0e6 [mob][photos] Precompute face thumbnails for suggestions 2024-04-24 18:59:08 +05:30
laurenspriem 6f6f976dec [mob][photos] Fix bug 2024-04-24 18:33:00 +05:30
laurenspriem 07458fb247 [mob][photos] Recompute suggestions on rejected suggestion 2024-04-24 17:15:11 +05:30
laurenspriem 72ff6e2cf3 [mob][photos] Tiny change 2024-04-24 17:07:28 +05:30
laurenspriem e0fbb2620b [mob][photos] Correct suggestion logic again 2024-04-24 17:06:35 +05:30
laurenspriem 462d1d4854 [mob][photos] Use cosineDistanceSIMD 2024-04-24 16:37:39 +05:30
laurenspriem 05a4e9f90b [mob][photos] Remove redundant logging 2024-04-24 16:31:36 +05:30
laurenspriem 3806ee3232 [mob][photos] Use SIMD in sorting suggestions too 2024-04-24 16:19:10 +05:30
laurenspriem e829f7b62f [mob][photos] Use vectors everywhere in cluster suggestion 2024-04-24 16:01:03 +05:30
laurenspriem 4b6641d7d8 [mob][photos] Speed up suggestion calculation 2024-04-24 15:46:00 +05:30
Neeraj Gupta aced4bb5cf [mob][photos] Update cast selection dialog 2024-04-24 15:22:24 +05:30
Neeraj Gupta 729e2adfd1 [mob] Use separate widget for auto-cast 2024-04-24 13:21:12 +05:30
Neeraj Gupta bed14d8ee9 [mob][photos] Use cast Icon in appbar 2024-04-24 11:38:22 +05:30
laurenspriem 093f48fb63 [mob][photos] Sort found suggestions based on distance 2024-04-24 11:24:25 +05:30
vishnukvmd b5cf67ca98 Update like button widget 2024-04-24 11:00:23 +05:30
vishnukvmd 0b212bf7a6 Move padding within to increase tap-able area 2024-04-24 11:00:18 +05:30
Neeraj Gupta 1251a014b0 [mob][cast] Show choice to auto and manual pair 2024-04-24 10:57:28 +05:30
vishnukvmd 50b6d95ec2 Fix update checker for iOS 2024-04-24 10:54:37 +05:30
vishnukvmd 88e34683ee Don't check for widgets on iOS 2024-04-24 10:54:21 +05:30
vishnukvmd 21baf023cc Fix typo 2024-04-24 10:39:50 +05:30
laurenspriem 759c8aa404 [mob][photos] Extra check in sorting suggestions 2024-04-24 10:01:07 +05:30
laurenspriem c80208e754 [mob][photos] Fix in sorting suggestions 2024-04-24 09:53:42 +05:30
laurenspriem 7097ce3cf4 [mob][photos] Faster DB call when sorting suggestions 2024-04-24 09:06:20 +05:30
laurenspriem efb1170b44 [mob][photos] unawait network call when accepting suggestion 2024-04-24 08:39:45 +05:30
Neeraj Gupta bd225ced04 [mob][cast] Return name and castDevice as record 2024-04-23 16:08:16 +05:30
Neeraj Gupta 89646ac469 [mob][cast] Refactor + add multiple cast plugin to gracefully handle fdroid 2024-04-23 15:57:17 +05:30
Neeraj Gupta 8fd330c304 Merge branch 'main' into cast 2024-04-23 14:35:37 +05:30
laurenspriem 7312633e02 [mob][photos] Only sort big suggestions 2024-04-23 14:26:30 +05:30
Neeraj Gupta c55272c87e
[mobile] Add feature flag plugin & use ente server to fetch flags. (#1524)
## Description

## Tests
2024-04-23 13:57:57 +05:30
Neeraj Gupta 73f35c1a0c [mobile] Use passkey flag for showing passkey option 2024-04-23 13:38:55 +05:30
laurenspriem 3786c9def9 [mob][photos] Suggestions change parameters 2024-04-23 13:37:53 +05:30
Neeraj Gupta 8937a896d1 [mob][photos] Improve log 2024-04-23 13:37:34 +05:30
laurenspriem 6fe8dc7c66 [mob][photos] Check big and medium clusters first for suggestions 2024-04-23 12:18:19 +05:30
laurenspriem 9e87b4a2cc [mob][photos] Highlight face in cluster 2024-04-23 11:58:39 +05:30
Neeraj Gupta cc49fdf126 [mobile] Remove old feature flag service 2024-04-23 11:55:16 +05:30
Neeraj Gupta 83075ea367 [mobile] Switch to feature flag plugin 2024-04-23 11:54:24 +05:30
Neeraj Gupta 74cdfdcb9e [mobile] Minor fixes in feature flag plugin 2024-04-23 11:40:51 +05:30
Laurens Priem dad427a498
[mob][photos] Fix issues with face thumbnail (#1523)
## Description

See commits.
2024-04-23 11:21:38 +05:30
ashilkn 4c25997bb6 [mob] use layoutBuilder in face thumbnail 2024-04-23 11:15:46 +05:30
Neeraj Gupta 40503d6ef2 [mobile]Whitelist domain ente.io as internal user 2024-04-23 10:32:53 +05:30
Neeraj Gupta 41b151ce7b [plugin] Add ente_feature_flag plugin 2024-04-23 10:16:19 +05:30
laurenspriem 6a0a9bad1e [mob][photos] Clustering time logs 2024-04-23 09:56:46 +05:30
ashilkn 731610ed94 [mob] Refactor 2024-04-23 08:30:59 +05:30
ashilkn e875eb1389 [mob] Remove unnecessary ShapeDecoration and width constrain 2024-04-23 08:27:47 +05:30
ashilkn 3253a2bf26 [mob] Remove unnecessary LayoutBuilder 2024-04-23 08:26:29 +05:30
ashilkn 8225697e43 Merge branch 'mobile_face' into fix_face_thumbnail 2024-04-23 07:49:59 +05:30
Crowdin Bot 96e5eae9dd New Crowdin translations by GitHub Action 2024-04-23 01:57:07 +00:00
laurenspriem f49ede4a74 [mob][photos] Small fix in detecting sideways faces 2024-04-22 18:07:50 +05:30
laurenspriem 9cdd4fd713 [mob][photos] Face thumbnail generation from widgets 2024-04-22 17:24:34 +05:30
laurenspriem fa466d715f [mob][photos] Improve suggestions by improving speed and preferring big clusters 2024-04-22 16:40:31 +05:30
ashilkn c1587cc5ea [mob] Remove redundant clippling and anti aliasing for performance gain 2024-04-22 11:52:39 +05:30
ashilkn ae046e33b4 [mob] fix: face thumbnails getting cropped on the edges because the image uses BoxFit.cover 2024-04-22 11:45:54 +05:30
laurenspriem 37ab467da5 [mob][photos] Remove blur ranking debug option 2024-04-22 11:35:40 +05:30
Neeraj Gupta 206ab1114e [mob]Discard upload to deleted or others collection 2024-04-22 11:23:04 +05:30
Neeraj Gupta da1d778eeb [mob][photos] Add hook to connect to cast device 2024-04-22 10:47:49 +05:30
Neeraj Gupta 733fe6b3d8 [mob][photos] Restrict multipart upload to debug builds 2024-04-20 17:31:42 +05:30
Neeraj Gupta 1cdca5c9ff [mob][photos] Increase loading iconSize + reduce padding 2024-04-20 17:07:53 +05:30
Neeraj Gupta cc682a0a09 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-20 16:01:08 +05:30
Neeraj Gupta 864f8444d5 Merge branch 'main' into mobile_face 2024-04-20 15:59:36 +05:30
Neeraj Gupta b9c82fb427 [mob][photos] Bump version 0.8.84+604 2024-04-20 15:45:04 +05:30
Neeraj Gupta 04a381fa51 [mob][photos] Use 100 as batchSize for copy 2024-04-20 15:44:43 +05:30
Neeraj Gupta 3e5648dae4
[mob][photos][internal] Enable fav + add to album action for shared files (#1484)
## Description


https://github.com/ente-io/ente/assets/254676/7ec2f82a-d0d1-4dbe-8836-87d1ffd793f6


## Tests

- [x] Hide Shared Item on Home Page If user has copied it.
- [x] Keep the fav state on the UI
- [x] Client side hash based dedupe works for copied items. Items are
linked to existing item instead of uploading duplicate entries
2024-04-20 15:33:54 +05:30
Neeraj Gupta 5e2c6f84f1 [mob][photos] Use internal flag check 2024-04-20 15:28:22 +05:30
Neeraj Gupta 72ddbbdf79 [mob][photos] Add assert to ensure copy is enabled for internal users 2024-04-20 15:21:26 +05:30
ashilkn b10e212e0f [mob] use flutter v3.19.3 2024-04-20 15:11:09 +05:30
laurenspriem edf99385dc [mob][photos] Precompute cluster summaries incrementally during clustering 2024-04-20 14:38:46 +05:30
laurenspriem cde17441d6 [mob][photos] Forgot one import 2024-04-20 13:35:53 +05:30
laurenspriem 4ac295e1e2 [mob][photos] Remove ClusterResult old deprecated code 2024-04-20 13:35:02 +05:30
laurenspriem a0502886b6 [mob] Minimum size argument for getting all cluster summaries 2024-04-20 13:26:47 +05:30
laurenspriem 7be1b63822 [mob] Clean up linear clustering method 2024-04-20 12:24:20 +05:30
Ashil a6e3d6de97
[mob][photos] Bump up to v0.8.83 (#1494) 2024-04-20 11:32:31 +05:30
Neeraj Gupta c165b9ee9c [mob][photos] Lint 2024-04-20 11:31:09 +05:30
Neeraj Gupta e2aae744be [mob][photos] Fix ownerID for copied items 2024-04-20 11:30:40 +05:30
Neeraj Gupta 9a34fdce05 [mob][photos] Enable add to option for shared photos for internal users 2024-04-20 11:30:20 +05:30
laurenspriem 01aecb9742 [mob] store sideways face boolean in local face table 2024-04-19 18:13:35 +05:30
Ashil 8113b70441
[mob][photos] Remove code related to sqlite3 (#1490) 2024-04-19 18:11:52 +05:30
Ashil c4c513a1d7
[mob][photos] Use sqlite_async instead of sqlite3 (#1489)
## Description

Using both `sqlite_async` and `sqlite3` for querying at the same time
was throwing this error:
`error: SqliteException(5): while executing, database is locked,
database is locked (code 5)`

So, have used `sqlite_async` everywhere.

## Tests

- [x] Tested all changes
2024-04-19 16:56:40 +05:30
Neeraj Gupta fc5705dd7b [mob][photos] Add additional check for fileType 2024-04-19 16:46:42 +05:30
Neeraj Gupta 01822b760d [mob][photos] Dedupe using hash before copying 2024-04-19 16:45:29 +05:30
laurenspriem a0fa90cb50 [mob] Remove faceArea and faceVisibility from local DB 2024-04-19 16:43:41 +05:30
laurenspriem 6d3e1325c4 [mob] Update face widget 2024-04-19 16:35:33 +05:30
laurenspriem 4095b14589 [mob] Conservative threshold for combination of low score and blur 2024-04-19 15:57:11 +05:30
Neeraj Gupta 02890a100b [mob][photos] Lint fix 2024-04-19 15:56:49 +05:30
Neeraj Gupta f55fd36579 [mob][photos] Fix: Pass copy of EnteFile to avoid modification in original 2024-04-19 15:54:49 +05:30
Neeraj Gupta 08040d9154 [mob][photos] Use loading indicator instead of blocking progress 2024-04-19 15:52:41 +05:30
laurenspriem a92081e703 [mob] Only analyze clustering in debugMode 2024-04-19 15:20:29 +05:30
laurenspriem f3f85e81ca [mob] Rename constant 2024-04-19 15:08:10 +05:30
laurenspriem ecc1bc9980 [mob] Use more conservative cluster threshold for sideways faces 2024-04-19 14:58:52 +05:30
Neeraj Gupta 564ca77a8b Merge remote-tracking branch 'origin/main' into mobile_save_a_copy 2024-04-19 14:57:19 +05:30
Neeraj Gupta 136f53b581 [mob][photos] Fix: Remove fav action on shared photos 2024-04-19 14:53:41 +05:30
Ashil 937267ed72
[mob] perf: avoid unnecessary frame builds and computations when toggling full fullscreen when viewing a file (#1487) 2024-04-19 14:17:01 +05:30
Neeraj Gupta 3788fdda6f [mob][photos]Fix: Show fav icon on shared photos 2024-04-19 14:15:33 +05:30
laurenspriem 2b88daa15f [mob] Method for detecting sideways faces 2024-04-19 14:00:15 +05:30
Neeraj Gupta 7f879aaf57 [mob][photos] Hide incoming file from home screen is saved 2024-04-19 13:34:44 +05:30
Neeraj Gupta 398e66a0eb [mob][photos] Lint fix 2024-04-19 12:36:28 +05:30
laurenspriem a9ca8a4a24 [mob] Better handling of cluster update 2024-04-19 12:19:10 +05:30
laurenspriem ab0a99cf76 [mob] Make sure cluster page is updated after file removal 2024-04-19 11:42:39 +05:30
Neeraj Gupta 7631eb3b12 [mob][photos] Enable fav incoming files 2024-04-19 11:22:47 +05:30
Neeraj Gupta b8ad320931 [mob] Add assertion check 2024-04-19 09:18:55 +05:30
Ashil dac0ddf41c
[mob][photos] Migrate use of WillPopScope to PopScope (#1473)
## Description

[Documentation followed for the
migration](https://docs.flutter.dev/release/breaking-changes/android-predictive-back)

## Tests

- [x] Tested screens in which migration wasn't straight forward
(HomeScreen)
2024-04-19 09:16:42 +05:30
Neeraj Gupta d430616ccb
[mobile] New translations (#1482)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-04-19 09:16:24 +05:30
Crowdin Bot 340f0b75cf New Crowdin translations by GitHub Action 2024-04-19 01:56:15 +00:00
Neeraj Gupta 420cec01d2 [mob][photos] Rename method 2024-04-18 22:30:02 +05:30
laurenspriem e20f13f02b [mob] Re-cluster when removing file from person/cluster 2024-04-18 17:57:14 +05:30
ashilkn 23801f8fa6 Merge branch 'main' into migrate_from_sqflite 2024-04-18 17:15:08 +05:30
ashilkn b238ba2c62 [mob] Migrate from sqflite (2) 2024-04-18 17:14:22 +05:30
laurenspriem 34798c344c [mob] Fix typo 2024-04-18 16:32:11 +05:30
ashilkn eb68a6c293 [mob] Migrate from sqflite 2024-04-18 16:23:43 +05:30
laurenspriem e7992674d5 [mob] Use async sqlite for getting file creation times 2024-04-18 16:17:04 +05:30
laurenspriem 74247c4563 [mob] Use async sqlite for getting faceID from cluster 2024-04-18 16:00:47 +05:30
laurenspriem be1b4b359c [mob] Fix typo 2024-04-18 15:32:59 +05:30
laurenspriem 79e763bf16 [mob] Small changes 2024-04-18 15:29:02 +05:30
laurenspriem afbb1c69c2 [mob] More clustering methods in Computer within cluster 2024-04-18 15:20:28 +05:30
Neeraj Gupta b18e5cb036 [mob][photos] Minor refactor 2024-04-18 15:11:15 +05:30
laurenspriem 417c5eab1c [mob] Rename cluster method to clarify use of Computer 2024-04-18 14:48:57 +05:30
laurenspriem ba58ac1358 [mob] Add merges to predictComplete method 2024-04-18 14:44:12 +05:30
laurenspriem 7a5e1263e0 [mob] Use complete clustering for breaking up clusters 2024-04-18 11:26:24 +05:30
laurenspriem 45d18b187c [mob] Add completeClustering functionality 2024-04-18 11:25:48 +05:30
ashilkn e87ae499eb [mob] pref: use sqlite_async for getFilesCreatedWithinDurations 2024-04-18 10:59:22 +05:30
laurenspriem e3fd836901 [mob] clustering make it difficult for good faces to link to bad faces 2024-04-17 17:46:53 +05:30
laurenspriem 51d15cc441 [mob] Clustering with dynamic threshold based on face blur and score 2024-04-17 16:38:47 +05:30
laurenspriem 72e677e9e5 [mob] Minimum cluster size of 20 2024-04-17 16:36:45 +05:30
laurenspriem 6f26901073 [mob] Minor refactor of clustering methods 2024-04-17 14:54:31 +05:30
laurenspriem f61a5f91b6 [mob] Debug option to get clusters of blur values 2024-04-16 19:22:27 +05:30
Ashil 45942f7931
[mob][photos] Search field fixes (#1464)
## Description

See commits.
2024-04-16 17:49:28 +05:30
Neeraj Gupta f645fff31c [mob][photos] Add hook to show cast devices 2024-04-16 15:38:41 +05:30
laurenspriem d4d9253f1a [mob] Minor changes 2024-04-16 15:22:59 +05:30
laurenspriem b1eb6c11b2 [mob] Show face direction in face widget in debug mode 2024-04-16 15:11:51 +05:30
laurenspriem 618b152f17 [mob] FaceMlService static method for full pipeline 2024-04-16 15:04:15 +05:30
laurenspriem e3b8d8975f [mob] Better blur detection handling background noise 2024-04-16 14:51:23 +05:30
laurenspriem 624a06c3f8 [mob] Deprecate methods 2024-04-16 14:37:56 +05:30
laurenspriem e3b1cb8014 [mob] Debug log blur values of cluster when opening cluster page 2024-04-16 14:33:13 +05:30
vishnukvmd 4cede0feb0 Remove submodules 2024-04-16 11:46:37 +05:30
vishnukvmd 3b5a2e9d2a [photos] v0.8.82 2024-04-16 11:36:35 +05:30
Neeraj Gupta db95de8829 [mob][photos] Add cast pkg dependency 2024-04-16 09:55:01 +05:30
Prateek Sunal 311d23873e chore: bump version 2024-04-15 21:44:49 +05:30
Prateek Sunal 0956e3ccc4 Merge remote-tracking branch 'origin/main' into mobile-widgetsimproved 2024-04-15 21:43:52 +05:30
Prateek Sunal 587f721683 fix: revert old 2024-04-15 21:43:30 +05:30
Neeraj Gupta 61f05f8eff
[mob][photos] Use modificationTime as creationTime if it's lower than… (#1451)
… creationTime

## Description

## Tests
2024-04-15 16:40:59 +05:30
Neeraj Gupta fdb9e4e205 [mob][photos] Use modificationTime as creationTime if it's lower than creationTime 2024-04-15 15:46:47 +05:30
Neeraj Gupta 5bac629c2b [mob][photos] Fix connectivityResult check 2024-04-15 15:21:43 +05:30
Neeraj Gupta ab1ac9cf11 [mob][lint] error on unrelated_type_equality_checks rule voilation 2024-04-15 15:04:10 +05:30
Neeraj Gupta 223a4ffcfd [mob][photos] Upgrade connectivity_plus pkg 2024-04-15 15:00:59 +05:30
Prateek Sunal d46d74c6e2
Merge branch 'main' into mobile-widgetsimproved 2024-04-15 14:50:28 +05:30
Neeraj Gupta 6300984bd1 Merge branch 'main' into multipart 2024-04-15 11:59:15 +05:30
ashilkn 2a835e80a4 [mob] bump up photos version to v0.8.81 2024-04-15 10:58:35 +05:30
ashilkn 48cbe17ccd [mob] Make the borders of settings drawer not-round 2024-04-15 10:58:35 +05:30
Neeraj Gupta 2638a06551 [mob][photos] Enable multiPart upload for internal users 2024-04-15 10:56:41 +05:30
Neeraj Gupta 601a776b7a Merge branch 'main' into multipart 2024-04-15 10:37:42 +05:30
Ashil bb90b2d3bc
[mob][photos] Upgrade flutter (#1434)
## Description

- Update flutter
- Update packages
- Fix UI issues because of update (material 3)
- bump up version to v0.8.80

## Tests

- [x] Building on android and iOS.

---------

Co-authored-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2024-04-15 10:21:18 +05:30
Prateek Sunal 5da8ee7e27 fix: segregate logic for launch from widget 2024-04-14 14:35:10 +05:30
Prateek Sunal f04e45a461 fix: logic of await/async 2024-04-13 21:00:21 +05:30
Prateek Sunal 45ab6d92b5 fix: also route to photo on click of widget 2024-04-13 20:22:34 +05:30
ashilkn c3de396d21 [mob] bump up version to v0.8.80 2024-04-13 20:06:32 +05:30
ashilkn f2987a82f2 [mob] merge main 2024-04-13 20:05:38 +05:30
ashilkn 81c47bc768 [mob] UI changes to segmented button in stripe and store pages 2024-04-13 20:01:28 +05:30
ashilkn 6c75b35472 [mob] pub upgrade 2024-04-13 19:45:06 +05:30
ashilkn d35fe3ff00 [mob] Use SegmentedButton instead of broken(UI) toggle in app store subscription page 2024-04-13 19:44:22 +05:30
ashilkn 10cb54ddc1 [mob] Use SegmentedButton instead of broken(UI) toggle in stripe subscription page 2024-04-13 19:43:19 +05:30
ashilkn 0348e43e81 Merge branch 'material_3_ui_issues_fix' into update_deps_and_flutter 2024-04-13 19:08:01 +05:30
Neeraj Gupta 4c93033522 [mob] Upgrade sqflite_async 2024-04-13 18:08:57 +05:30
Neeraj Gupta ab70908980 Merge branch 'update_deps_and_flutter' of https://github.com/ente-io/auth into update_deps_and_flutter 2024-04-13 18:07:44 +05:30
ashilkn a3f102c183 [mob] Use custom toggle widget to remove UI issues after migrating to material 3 2024-04-13 18:07:01 +05:30
Neeraj Gupta 2feee2cc5e [mob][photos] Bump flutter version in README and github workflow 2024-04-13 17:58:41 +05:30
Neeraj Gupta c183531e8b Switch to older version of share_plus 2024-04-13 17:53:06 +05:30
Neeraj Gupta 9522854685 Flutter gradle plugin changes 2024-04-13 17:52:49 +05:30
Neeraj Gupta d864acafa3 [mob] Upgrade to flutter 3.19.5 2024-04-13 17:52:35 +05:30
ashilkn 75dd7c3e48 [mob] make function private 2024-04-13 17:15:13 +05:30
ashilkn 2c0148d661 [mob] fix UI of toggle widget on iOS 2024-04-13 17:11:04 +05:30
Neeraj Gupta e09b77770d [mob] Upgrade sqlite_async 2024-04-13 16:55:21 +05:30
ashilkn 372ced2502 [mob] fix colour of loading dialog 2024-04-13 16:48:36 +05:30
laurenspriem ef4135f378 [mob] tiny change 2024-04-13 16:41:51 +05:30
laurenspriem 38381f6bb0 [mob] Tiny face widget debug change 2024-04-13 16:02:49 +05:30
laurenspriem 7d414a7b7d [mob] Increase activity timer of cluster isolate 2024-04-13 15:55:04 +05:30
laurenspriem 2ce078e173 [mob] Fix too many clustering rounds/buckets 2024-04-13 15:54:36 +05:30
laurenspriem 8801dc1a7a [mob] Show clustered percentage in UI 2024-04-13 15:11:12 +05:30
ashilkn 1a8ec9fb4c [mob] minor change to change log 2024-04-13 15:02:43 +05:30
Prateek Sunal 17507cce68 fix: remove unused constants 2024-04-13 14:09:52 +05:30
Prateek Sunal 51d02177ad chore: bump dependencies 2024-04-13 14:07:20 +05:30
Prateek Sunal 0a06ee1f55 chore: lint fix 2024-04-13 14:04:06 +05:30
Prateek Sunal 564ca440e7 fix: remove unwanted line 2024-04-13 14:03:54 +05:30
Prateek Sunal de06c8f38b fix: use better way to remove quotes 2024-04-13 14:02:29 +05:30
Prateek Sunal 780ec7f9d6 fix: generalize xml parser logic 2024-04-13 14:02:29 +05:30
Prateek Sunal 2b9db5cbfb fix: only multipart when count is greater than 1 2024-04-13 14:02:29 +05:30
Prateek Sunal baeac73339 fix: complete url xml 2024-04-13 14:02:29 +05:30
Prateek Sunal 69394fc8a6 fix: separate xml parser util 2024-04-13 14:02:29 +05:30
Prateek Sunal 99d84821c7 feat: add multipart upload support 2024-04-13 14:02:29 +05:30
ashilkn 8fa18e1ffe [mob] update change log 2024-04-13 13:37:03 +05:30
ashilkn 703ba5ad9b [mob] bump up to v0.8.79 2024-04-13 13:22:38 +05:30
laurenspriem 5cf10c9c9b [mob] Rename face clustering service 2024-04-13 13:10:20 +05:30
laurenspriem c58a8dc773 [mob] Better face clustering logging 2024-04-13 13:08:34 +05:30
ashilkn 04e45b7908 fix: call updateEmail after initState to avoid runtime exception
updateEmail uses getEnteColorScheme() which adds an inherited widget as dependency to the widget. Adding an inherited widget as dependency before init state is completed throws an exception
2024-04-13 12:42:55 +05:30
laurenspriem c67a1fa52a [mob] Make clustering in buckets the default 2024-04-13 11:32:03 +05:30