Commit graph

25426 commits

Author SHA1 Message Date
Vishal b8100b1273 rename functions 2024-04-02 17:45:30 +05:30
Neeraj Gupta a8b154b46e Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-02 17:39:19 +05:30
Neeraj Gupta 172678dc42 [mob] Lint fixes 2024-04-02 17:39:03 +05:30
Vishal a5fcbbf901 add listmonk mailing list control (subscribe/usubscribe) 2024-04-02 17:36:53 +05:30
laurenspriem 8fefc22180 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-02 17:30:50 +05:30
Neeraj Gupta 8e6617eed5 [mob] Speed up cluster avg calculation 2024-04-02 17:29:20 +05:30
Manav Rathi 6213628aee
[web] Prefer .local files for local only configuration (#1280)
Refs: https://vitejs.dev/guide/env-and-mode.html
2024-04-02 17:22:32 +05:30
Manav Rathi a7625cd83d
[web] Enable Russian (#1288)
The translation percentage of Russian in crowdin is now 100%, it's time
to enable it as an option in the UI.

A big thank you to the translators ❤️
2024-04-02 17:22:15 +05:30
Manav Rathi cc90dd7ba5
[web] Enable Russian
The translation percentage of Russian in crowdin is now 100%, it's time to
enable it as an option in the UI.

A big thank you to the translators.
2024-04-02 17:16:33 +05:30
Manav Rathi b3630f9543
[desktop] Prevent the desktop app from getting stuck on viewing openstreetmap info (#1287)
Open the link in a new tab. This prevents the desktop app from getting
into a state where the user cannot navigate back.

Tested on the web app and desktop app.
2024-04-02 17:10:16 +05:30
Manav Rathi 9cb289e002
[desktop] Prevent the desktop app from getting stuck on viewing openstreetmap info
Open the link in a new tab. This prevents the desktop app from getting into a
state where the user cannot navigate back.
2024-04-02 17:05:23 +05:30
Ashil 1800ad0a1f
[Mobile][Photos] Bump up version to v0.8.74 (#1284) 2024-04-02 17:02:01 +05:30
Manav Rathi 3230b9275e
[web] New translations (#1281)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-02 17:00:20 +05:30
Crowdin Bot ce5627f04c New Crowdin translations by GitHub Action 2024-04-02 11:28:47 +00:00
Neeraj Gupta faa07a0704 [mob] compute suggestion in small batches 2024-04-02 16:56:55 +05:30
Manav Rathi 8dd7c100af
[web] Make the cast link clickable (#1286)
Tested locally.
2024-04-02 16:53:03 +05:30
Manav Rathi 2e7dcc6bc2
Make the cast link clickable 2024-04-02 16:51:27 +05:30
laurenspriem 57fec06d73 [mob] Bump minimum face score for clustering to 0.8 2024-04-02 16:44:34 +05:30
Manav Rathi 0e1bdfe07e
Support arbitrary ReactNodes as title 2024-04-02 14:38:37 +05:30
Neeraj Gupta e2ed836b16 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-02 14:07:18 +05:30
Neeraj Gupta bdb7ce2f03 [mob] Store image height and width 2024-04-02 14:07:02 +05:30
Vishnu Mohandas 1e106d707f
[mobile][photos] Fix colours in loading screen on light theme when viewing photos (#1283)
## Description

Before


https://github.com/ente-io/ente/assets/77285023/75304321-1fa4-4d61-9ad1-cc87ade62f92

After



https://github.com/ente-io/ente/assets/77285023/55b204b2-773c-42db-a03c-c9879f33548b
2024-04-02 14:01:41 +05:30
ashilkn 0053e814c8 nit: remove unnecessary clipping 2024-04-02 13:49:41 +05:30
ashilkn 53184da7fb fix: loading icon's color in light theme when viewing images 2024-04-02 13:49:05 +05:30
ashilkn 165bcb5c6e fix: white bg for loading state when viewing images, turned it to black.
when swiping on light theme, this comes up a 'white flash' on the right which looked odd. We use black bg when viewing images.
2024-04-02 13:47:57 +05:30
laurenspriem 255b566342 View faces with highest distance in cluster suggestion 2024-04-02 13:46:42 +05:30
Neeraj Gupta c85692360c [mob] Fix face cluster suggestion 2024-04-02 13:35:32 +05:30
Neeraj Gupta 8e322114b7 [mob] Fix reset queries for feedback & clusters 2024-04-02 12:21:14 +05:30
Neeraj Gupta 226808aadb [mob] Use vector for cosine dist 2024-04-02 11:53:40 +05:30
Neeraj Gupta 4cb7334868 [mob] Remove unused method 2024-04-02 10:43:50 +05:30
Neeraj Gupta 814c0ad4b6 [mob] Drop cluster colum from files table 2024-04-02 10:41:28 +05:30
Vishnu Mohandas d6316a1724
[mobile][photos] Prepare for release v0.8.73 (#1278) 2024-04-02 09:06:45 +05:30
Manav Rathi b95fc54adb
[web] Prefer .local files for local only configuration
Refs:
https://vitejs.dev/guide/env-and-mode.html
2024-04-01 19:59:02 +05:30
ashilkn bc0a453cbc Merge branch 'main' into prepare_for_release_v0.8.73 2024-04-01 18:41:24 +05:30
ashilkn 166e9ad1bf Update change log 2024-04-01 18:41:21 +05:30
ashilkn 841921a732 bump up version to v0.8.73 2024-04-01 18:38:17 +05:30
Vishnu Mohandas 769da989c4
[mobile][photos] Do not upload files if ACCESS_MEDIA_LOCATION is not granted (#1275)
## Tests

Tested with and without granting `ACCESS_MEDIA_LOCATION`.
2024-04-01 18:28:37 +05:30
Vishnu Mohandas 3e917bd855
[photos][mobile] Add support for viewing HEIC images with proXDR (#1171)
## Description

New Oneplus devices have a "ProXDR" feature when viewing images. These
images (when in HEIC format) decode fine on devices that supports
ProXDR, but fails to decode on other devices.

So if decoding fails, we convert it to a JPEG and use that image for
viewing it.

## Tests

- [x] Tries converting to jpeg only if decoding fails
- [x] If converting also fails, the behaviour remains the same as before
when decoding fails.
2024-04-01 18:28:28 +05:30
Neeraj Gupta 51b51ff2b1 [mob] Use separate table for storing clusters 2024-04-01 17:34:35 +05:30
Manav Rathi 7f1730b56c
[web] Fix and standardize MUI / emotion imports (#1277)
- Always import from `@mui/material`
- Component selector API doesn't work, live with it and document it
2024-04-01 17:18:05 +05:30
Manav Rathi 25e762ba57
Remove mui from list of transpiled packages
- I can't see this mentioned anywhere in the docs
- Removing it didn't break anything dev / preview
2024-04-01 17:13:06 +05:30
Manav Rathi d5f294980e
Remove use of emotion from payments 2024-04-01 17:08:54 +05:30
Manav Rathi 1e410a82f2
Remove stray use of @mui/system 2024-04-01 17:05:05 +05:30
ashilkn d013519655 refactor 2024-04-01 16:59:42 +05:30
Manav Rathi 3b3d314f9c
Remove stale import from styled-engine 2024-04-01 16:52:57 +05:30
ashilkn 855d362cca Merge branch 'main' into handle_proxdr_image_viewing 2024-04-01 16:43:19 +05:30
Manav Rathi eced463f6f
Investigate and explain why component selectors don't work with Next vanilla
Refs:
- https://github.com/mui/material-ui/issues/27380#issuecomment-928973157
- https://codesandbox.io/s/hopeful-browser-4q17t5?file=/README.md
- https://mui.com/system/styled/#how-to-use-components-selector-api
- https://github.com/vercel/next.js/issues/46973
2024-04-01 16:43:10 +05:30
Ashil f8febe12df
[mobile][photos] Reupload files with missing GPS data (#1263)
## Description

- Fixes corrupt files (missing GPS data) that were uploaded due to [this
issue](https://github.com/ente-io/ente/pull/1261)
- Refactor

## Tests

Tested and working
- Uploaded two file from a build that has missing permission for
`ACCESS_MEDIA_LOCATION` and GPS data is missing.
- Created a new build with changes in this PR.
- Deleted the file from device. 
- Remote file has GPS data when checked from file info.

---------

Co-authored-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2024-04-01 16:41:33 +05:30
ashilkn 0c44d1b789 remove unneccesary check 2024-04-01 16:18:40 +05:30
ashilkn f74af4199d only verify media location access if platform is android 2024-04-01 16:14:29 +05:30