Ashil
f67dc4893f
[mob][photos] Cache results for Magic section (only visible to internal users) ( #2282 )
...
## Description
- Use cached results for magic section so that it does't anymore have to
wait for ML framework to be initialised and doesn't have to re-compute
results every time, which means faster loading of the search tab.
- For internal users, all results in
[here](https://discover.ente.io/v1.json ) will show up.
- For non-internal users, once available, results will be limited to 4.
- 4 random prompts are selected from
[here](https://discover.ente.io/v1.json ) with non-empty results and are
cached.
- The cache updates when the data updates
[here](https://discover.ente.io/v1.json ) (checks size to compare) or in
3 days since the last update.
2024-06-25 12:33:39 +05:30
Neeraj Gupta
2f327b1929
[mobile] New translations ( #2278 )
...
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app )
2024-06-25 12:00:54 +05:30
Neeraj Gupta
b7892f4257
[auth] New translations ( #2279 )
...
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app )
2024-06-25 12:00:25 +05:30
Neeraj Gupta
f5bcdd0d9e
[mob][photos] Fix build failing ( #2284 )
...
```lib/core/error-reporting/super_logging.dart:20:8: Error: Error when reading 'lib/services/machine_learning/face_ml/face_ml_exceptions.dart': No such file or directory
import "package:photos/services/machine_learning/face_ml/face_ml_exceptions.dart";
^
lib/core/error-reporting/super_logging.dart:239:20: Error: 'CouldNotRetrieveAnyFileData' isn't a type.
if (error is CouldNotRetrieveAnyFileData ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
2024-06-25 11:59:43 +05:30
ashilkn
6736ad73ec
[mob][photos] Fix build failing
2024-06-25 10:51:19 +05:30
ashilkn
75dcf18d75
[mob][photos] Minor UI fix
2024-06-25 10:15:16 +05:30
ashilkn
e722024f8f
[mob][photos] Catch any exceptions or errors when getting results for magic section and return an empty list to avoid showing a blank search tab
2024-06-25 10:13:43 +05:30
Manav Rathi
a714c0d70b
[docs] Configure custom server - web/desktop ( #2281 )
2024-06-25 10:02:35 +05:30
Manav Rathi
51bcf02b96
[docs] Configure custom server - web/desktop
2024-06-25 10:01:01 +05:30
ashilkn
fcb79907cf
[mob][photos] Remove code that was for handling edge cases when magic section was depending on newly computed results every time instead of using cache
2024-06-25 09:51:25 +05:30
ashilkn
35b42d4743
[mob][photos] clean up
2024-06-25 09:43:50 +05:30
ashilkn
8fae7719b5
[mob][photos] Update magic cache every 3 days
2024-06-25 09:31:24 +05:30
Crowdin Bot
64aa3ac0e8
New Crowdin translations by GitHub Action
2024-06-25 02:09:30 +00:00
Crowdin Bot
c7f3390e59
New Crowdin translations by GitHub Action
2024-06-25 01:59:59 +00:00
Manav Rathi
d095f52051
[web] Dev settings: avoid the red error state before first submit ( #2274 )
2024-06-24 20:08:49 +05:30
Manav Rathi
153850742d
Avoid the red error state before first submit
2024-06-24 19:59:54 +05:30
Laurens Priem
c2cdb4e38b
Face cleanup ( #2273 )
...
## Description
Cleaned up a lot of old and unused code.
## Tests
Tested in debug mode on my pixel phone.
2024-06-24 18:26:00 +05:30
laurenspriem
33ab69e2d8
Merge branch 'main' into face_cleanup
2024-06-24 17:50:16 +05:30
laurenspriem
b95e93778b
[mob][photos] old code
2024-06-24 17:35:41 +05:30
laurenspriem
160f279464
[mob][photos] Remove old face crop widget
2024-06-24 17:33:35 +05:30
ashilkn
69bd1c8670
Merge branch 'main' into cache_magic_section
2024-06-24 17:31:58 +05:30
ashilkn
b21fe76b3f
[mob][photos] Save magic cache to local path instead of saving it in shared preferences
2024-06-24 17:30:33 +05:30
laurenspriem
6ea449bd83
[mob][photos] Move ml exceptions
2024-06-24 17:29:21 +05:30
ashilkn
b99b2d1381
[mob][photos] Remove commented out code that was used before using data from magic cache
2024-06-24 16:55:36 +05:30
ashilkn
84f2c6d102
[mob][photos] Show 4 instead of 6 magic results in magic section for non-internal users
2024-06-24 16:53:20 +05:30
ashilkn
908e37f56f
[mob][photos] Update MagicCache every 3 days
2024-06-24 16:48:25 +05:30
Manav Rathi
108ff34763
[web] New translations ( #2272 )
...
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web )
2024-06-24 16:11:45 +05:30
Crowdin Bot
8ce3126c92
New Crowdin translations by GitHub Action
2024-06-24 10:38:53 +00:00
Manav Rathi
b1006e0843
[web/desktop] Allow self-hosters to set custom endpoints ( #2271 )
2024-06-24 16:08:05 +05:30
Manav Rathi
ca0af1f53a
Also on standalone pages
2024-06-24 16:04:25 +05:30
ashilkn
9cb4420bbf
[mob][photos] Show magic section in search tab from cached results
2024-06-24 15:43:56 +05:30
ashilkn
98c444fab9
[mob][photos] Make methods private
2024-06-24 15:43:16 +05:30
Manav Rathi
51c9094da4
Prevent layout shift
2024-06-24 15:39:03 +05:30
ashilkn
815a730d59
[mob][photos] Schedule update magic cache in 10 seconds if remote asset has changed
2024-06-24 15:29:56 +05:30
Manav Rathi
4651c6f6d1
Reactive
2024-06-24 15:29:06 +05:30
ashilkn
11666eeb33
[mob][photos] Write function that selected 4 prompts from list of prompts at random and returns them as MagicCache objects
2024-06-24 15:28:31 +05:30
Laurens Priem
18ec275d75
Clip fix unusable formats ( #2270 )
...
## Description
When a certain image format cannot be decoded, clip will store a local
empty result instead of infinitely retrying.
2024-06-24 15:22:08 +05:30
Manav Rathi
073c22ae47
Reuse
2024-06-24 15:11:55 +05:30
Manav Rathi
6926167f3d
System props
2024-06-24 15:09:19 +05:30
Manav Rathi
899d1ff6a4
Custom component
2024-06-24 15:08:18 +05:30
laurenspriem
47128ab52d
[mob][photos] Store local empty clip result on errors
2024-06-24 15:04:01 +05:30
Manav Rathi
21fa0ee7a7
On email verification page
2024-06-24 14:47:29 +05:30
Manav Rathi
04f4103314
Landing page
2024-06-24 13:46:56 +05:30
atyabbin
66b23d111d
Dashboard improvement ( #2264 )
...
Added options for Delete Account and Update Subscription in the
dashboard, Clicking on Update Subscription option opens a popup window
for taking user input
2024-06-24 13:18:24 +05:30
Manav Rathi
eccde54afe
Use same format in sidebar
2024-06-24 11:44:01 +05:30
Manav Rathi
2db166bcf7
Add a convenience function to avoid code duplication
2024-06-24 11:42:49 +05:30
Manav Rathi
e81e088b02
Also show in signup section
2024-06-24 11:36:33 +05:30
Manav Rathi
9e3a3d852e
Show on login
2024-06-24 11:21:00 +05:30
Manav Rathi
f40c277aa8
Show in sidebar
2024-06-24 11:00:45 +05:30
laurenspriem
ef0396983b
[mob][photos] Remove unused method
2024-06-24 10:59:57 +05:30