Commit graph

26064 commits

Author SHA1 Message Date
laurenspriem d0420ce477 [mob][photos] Better sorting of faces in file info 2024-04-25 10:03:05 +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
laurenspriem 093f48fb63 [mob][photos] Sort found suggestions based on distance 2024-04-24 11:24:25 +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
laurenspriem 7312633e02 [mob][photos] Only sort big suggestions 2024-04-23 14:26:30 +05:30
laurenspriem 3786c9def9 [mob][photos] Suggestions change parameters 2024-04-23 13:37:53 +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
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
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
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 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 6f1714e9a2
[mob][photos] Bump version : 0.8.84+604 (#1498)
## Description

## Tests
2024-04-20 15:47:22 +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 b7d002feef
[server] Support for copying files owned by others (#1496)
## Description

## Tests
Tested as part of https://github.com/ente-io/ente/pull/1484
- Verified that the client was able to download and decrypt the metadata
- Verified that storage was going up.
2024-04-20 15:27:11 +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
Vishnu Mohandas 076335ce5c
[mob][photos] Fix build failing in release workflow (#1497)
## Description

Build was failing with this error
```
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':connectivity_plus:compileReleaseJavaWithJavac'.
> error: invalid source release: 17
```

## Tests

- [x] Ran workflow to verify it's completing.
2024-04-20 15:18:31 +05:30
ashilkn b10e212e0f [mob] use flutter v3.19.3 2024-04-20 15:11:09 +05:30
ashilkn ae2e740752 [mob] fix build error in github workflow for photos 2024-04-20 15:01:07 +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