Compare commits

..

4943 Commits

Author SHA1 Message Date
Neeraj Gupta
8378af153b Tweak 2025-07-28 10:31:39 +05:30
Neeraj Gupta
7f57fd597c Tweak order 2025-07-28 10:24:58 +05:30
Neeraj Gupta
f7515f520c Update 2025-07-28 10:22:29 +05:30
Neeraj Gupta
b0ebbce292 Remove code magic 2025-07-28 10:09:54 +05:30
Neeraj Gupta
3d409ffd77 Try adding existing cert 2025-07-28 09:49:31 +05:30
Neeraj Gupta
6d45c3c4e5 Fix 7/n 2025-07-26 15:31:28 +05:30
Neeraj Gupta
35ca600c4e Fix 5/n 2025-07-26 15:19:24 +05:30
Neeraj Gupta
6fcf2732a8 Merge branch 'internal_photos_july25_2' into internal_ios_build 2025-07-26 15:11:57 +05:30
Neeraj Gupta
311e8f3939 Fix 5/n 2025-07-26 15:10:38 +05:30
Neeraj Gupta
da1ff4131c Fix build 4/n 2025-07-26 15:02:01 +05:30
Prateek Sunal
d0bbdfec8e chore: bump version 2025-07-26 14:58:41 +05:30
Prateek Sunal
e5f2ae8ac8 Merge remote-tracking branch 'origin/smart-album-nothingelse' into internal_photos_july25_2 2025-07-26 14:58:17 +05:30
Prateek Sunal
701f42fa74 chore: fix adding 2025-07-26 14:57:49 +05:30
Neeraj Gupta
a119babe21 Fix build 4/n 2025-07-26 14:57:07 +05:30
Neeraj Gupta
9dd9a8db80 Fix build 3/n 2025-07-26 14:52:29 +05:30
Neeraj Gupta
ea4282882e Fix build 2/n 2025-07-26 14:45:42 +05:30
Neeraj Gupta
862064d2e4 Fix build 2/n 2025-07-26 14:42:58 +05:30
ashilkn
191ec62215 bump up version 2025-07-26 14:31:20 +05:30
Neeraj Gupta
dabd703803 Fix build 1/n 2025-07-26 14:31:05 +05:30
ashilkn
be6bc3747b Merge gallery_rewrite 2025-07-26 14:30:35 +05:30
Neeraj Gupta
9f9eab3644 Update build workflow 2025-07-26 14:22:15 +05:30
ashilkn
88eb935d2f UI/UX improvement 2025-07-26 14:21:29 +05:30
Neeraj Gupta
91499c7775 Merge remote-tracking branch 'origin/main' into internal_photos_july25_2 2025-07-26 14:07:52 +05:30
Neeraj
d71f50b79b [CD] Github action for iOS test flight (#6650)
## Description

## Tests
2025-07-26 14:06:40 +05:30
Neeraj Gupta
25eaee57e9 Github action for iOS test flight 2025-07-26 14:04:05 +05:30
Neeraj
cf3b5897d2 [auth] Update apple-app-site-association for auth app (#6649)
## Description
This should fix some of the auto-fill issues for the auth app. 
## Tests
2025-07-26 13:33:42 +05:30
Neeraj Gupta
c00ad310ef Update apple-app-site-association for auth app 2025-07-26 13:29:00 +05:30
ashilkn
10101c697b Chore 2025-07-26 12:40:19 +05:30
ashilkn
8ad1b94b87 Minor UI fix 2025-07-26 12:39:08 +05:30
ashilkn
783f53bfdc Add option to change gallery layout from home gallery itself 2025-07-26 12:10:24 +05:30
Keerthana
3e5ba6f939 [docs] linting and minor updates for procedures in self-hosting (#6643)
## Description

This PR updates upgrading procedure to ensure lack of merge conflicts.
A minor grammar error in home page is fixed along with it.

It also fixes linting issues and minor grammatical errors.
2025-07-26 11:07:53 +05:30
Keerthana
b3c0681d54 [docs] fix linting for self-hosting 2025-07-26 08:34:34 +05:30
Keerthana
98951e2d2a [docs] substitute upgradation with upgrade 2025-07-26 07:58:20 +05:30
Keerthana
e8edacf924 [docs] change instructions for whitelisting admins 2025-07-26 07:52:30 +05:30
AmanRajSinghMourya
f254a7841b Merge branch 'advance_image_editor' into internal_photos_july25_2 2025-07-26 00:18:50 +05:30
Keerthana
508e83acd4 [docs] update upgradation for manual setup 2025-07-25 22:44:08 +05:30
Keerthana
702b03a288 [docs] revamp documentation for self-hosting (#6642)
## Description

This PR contains major revision for self-hosting documentation. Some
major changes are:

1. Up-to-date information for various installation methods
2. Documentation for configuration with examples
3. Documentation for administrative activities
4. Refactor community guides and include credits
5. Better UX for configuration by templated configuration

The setup includes Compose file that can be used for building from
source without hassle and
includes templated configuration files for ease-of-usage.

## Tests
- [x] I have tested the Docker Compose setup on my system
- [x] I have tested quickstart on my system
2025-07-25 20:21:46 +05:30
Keerthana
2c6f4228d2 [docs] remove redundant line for cluster initialization 2025-07-25 20:21:22 +05:30
Keerthana
95228cc0a6 [docs] remove paid sub template 2025-07-25 20:09:31 +05:30
Prateek Sunal
e583794d37 Merge remote-tracking branch 'origin/main' into internal_photos_july25_2 2025-07-25 20:01:43 +05:30
Prateek Sunal
87df2add67 Merge branch 'internal_photos_july25_2' of https://github.com/ente-io/ente into internal_photos_july25_2 2025-07-25 20:01:28 +05:30
Prateek Sunal
c074f66b38 Merge branch 'smart-album-nothingelse' into internal_photos_july25_2 2025-07-25 20:01:20 +05:30
Prateek Sunal
b8c7079c94 fix: update ML service event handling and improve UI element dimensions 2025-07-25 19:56:28 +05:30
Keerthana
754dd48367 [docs] update quickstart 2025-07-25 19:52:26 +05:30
Keerthana
2b4ed5b43c [docs] fix dead links 2025-07-25 19:22:23 +05:30
Keerthana
7c87f27539 [docs] rename topics for self-hosting 2025-07-25 18:54:27 +05:30
Keerthana
aae1caf37d [docs] revamp administration and document configuration examples 2025-07-25 17:22:52 +05:30
ashilkn
9bdf6305f7 Merge gallery_rewrite 2025-07-25 16:39:56 +05:30
ashilkn
0a6558bf48 Remove 'last year' and 'last month' header titles for groups 2025-07-25 16:38:22 +05:30
ashilkn
e13e27c10e Merge branch 'gallery_rewrite' into internal_photos_july25_2 2025-07-25 16:14:49 +05:30
ashilkn
7bd22fd5b8 Padding change 2025-07-25 16:14:33 +05:30
ashilkn
d1d7d03af2 Merge branch 'gallery_rewrite' into internal_photos_july25_2 2025-07-25 16:12:57 +05:30
ashilkn
32b7081b02 Remove unused file 2025-07-25 16:12:27 +05:30
ashilkn
676c3fd22c Update scroll bar thumb 2025-07-25 16:11:23 +05:30
ashilkn
b305d3c9bf Do not show scrollbar for small galleries 2025-07-25 16:07:19 +05:30
Prateek Sunal
ad9cb3cb8d fix: disable everything ML 2025-07-25 15:29:31 +05:30
Neeraj
b833487c54 [mobile][photos] Fix date parsing (#6637)
## Description
Support more date format.

## Tests
Add more test cases to the test file.
2025-07-25 15:06:06 +05:30
Prateek Sunal
ba2cf287ce chore: push changes 2025-07-25 14:08:29 +05:30
Prateek Sunal
619d7676f6 Merge branch 'smart-album-nothingelse' into internal_photos_july25_2 2025-07-25 14:08:14 +05:30
Prateek Sunal
0a19245c76 fix: re-add setState 2025-07-25 14:07:59 +05:30
Prateek Sunal
a60172473b chore: remove color scheme 2025-07-25 14:06:11 +05:30
Prateek Sunal
0d7cbd3187 chore: bump version 2025-07-25 13:05:05 +05:30
Prateek Sunal
a292d09d8c Merge branch 'smart-album-nothingelse' into internal_photos_july25_2 2025-07-25 13:04:45 +05:30
Prateek Sunal
b66348f277 Merge remote-tracking branch 'origin/main' into smart-album-nothingelse 2025-07-25 13:01:21 +05:30
Prateek Sunal
e4b1adfd1d feat: empty state for collection 2025-07-25 12:58:18 +05:30
Aman Raj Singh Mourya
7325b7a385 [auth] add custom icon for lifemiles (#6632)
## Description

Add custom SVG icon for [LifeMiles](https://www.lifemiles.com/) to
support branding in UI components.
2025-07-25 12:49:53 +05:30
Aman Raj Singh Mourya
0f78e90aa7 [auth] add xvideos custom icon (#6630)
## Description

Add custom SVG icon for xvideos to support branding in UI components.
2025-07-25 12:48:48 +05:30
Aman Raj Singh Mourya
5c6ae7dcea [auth] add custom icon for chaturbate (#6631)
## Description

Add custom SVG icon for chaturbate to support branding in UI components.
2025-07-25 12:47:40 +05:30
Aman Raj Singh Mourya
46bcab26d5 [auth] add accredible custom icon (#6629)
## Description

Add custom SVG icon for [Accredible](https://www.accredible.com/) to
support branding in UI components.
2025-07-25 12:46:28 +05:30
Aman Raj Singh Mourya
4523a4272f [auth] add custom icon for stripchat (#6633)
## Description

Add custom SVG icon for stripchat to support branding in UI components.
2025-07-25 12:45:30 +05:30
Aman Raj Singh Mourya
4d6d3d651a Minor Fix 2025-07-25 12:44:37 +05:30
Aman Raj Singh Mourya
a71663032d [auth] add custom icon for auth digital (#6634)
## Description

Add custom SVG icon for [Auth
digital](https://autenticaciondigital.and.gov.co/) to support branding
in UI components.
2025-07-25 12:42:50 +05:30
Prateek Sunal
495d8449f7 chore: lint fixes 2025-07-25 12:33:15 +05:30
Prateek Sunal
4e7f95e999 fix: basics 2025-07-25 12:33:06 +05:30
Prateek Sunal
5890c35050 fix: remove runAllML for background 2025-07-25 12:09:10 +05:30
Prateek Sunal
bb1719c59f fix: considerate timeout for android 2025-07-25 11:52:19 +05:30
Keerthana
bd58becd38 [docs] omit dead links for bucket CORS 2025-07-25 11:39:12 +05:30
AmanRajSinghMourya
d6fa9d1257 Add tests for partial month-year and ordinal date formats 2025-07-25 11:38:52 +05:30
AmanRajSinghMourya
ee42e71168 Enhance date parsing to support month-year format 2025-07-25 11:38:41 +05:30
Prateek Sunal
0f2e7b40d0 fix: seppaku condition 2025-07-25 11:23:30 +05:30
Prateek Sunal
79b1ecfcd6 Merge remote-tracking branch 'origin/main' into smart-album-nothingelse 2025-07-25 11:13:47 +05:30
Neeraj
ecf56dfd60 [mob][photos] Fix db query & swallow error (#6636)
## Description
This also now runs query only once in a session.
## Tests
2025-07-25 11:07:24 +05:30
Keerthana
75d919e815 [docs] refactor FAQ and installation section 2025-07-25 10:46:21 +05:30
AmanRajSinghMourya
ed7cc5f8c1 Add SVG delete icon and update image editor UI to use it 2025-07-25 09:51:08 +05:30
AmanRajSinghMourya
aede55eb72 Fix: adjust spacing in the image editor app bar 2025-07-25 09:50:45 +05:30
Aman Raj Singh Mourya
50790bf241 Add custom icons for Tableau and X (#6635)
## Description
Add custom icons for [Tableau](https://www.tableau.com/) and
[X](https://x.com/)

## Tests
2025-07-25 09:19:45 +05:30
Eric Nielsen
93b7cb8bea Add custom icons for Tableau and X 2025-07-24 21:55:15 -05:00
Daniel T
8f8eeb82a9 chore: add custom icon for auth digital 2025-07-24 18:16:33 -05:00
Prateek Sunal
62baa623c9 chore: update locks 2025-07-25 02:40:49 +05:30
Prateek Sunal
b71651220b chore: revert 2025-07-25 02:40:39 +05:30
Prateek Sunal
74d930005c fix: some changes 2025-07-25 02:40:16 +05:30
Daniel T
25117f846a chore: add custom icon for stripchat 2025-07-24 15:34:51 -05:00
Daniel T
3ca5303db6 chore: add custom icon for lifemiles 2025-07-24 15:31:04 -05:00
Daniel T
bc3302157c chore: add custom icon for chaturbate 2025-07-24 15:27:05 -05:00
Daniel T
d57daf91a0 chore: add xvideos custom icon 2025-07-24 15:24:34 -05:00
Daniel T
0d162b6075 chore: add accredible custom icon 2025-07-24 15:06:16 -05:00
ashilkn
7450996f4d Merge branch 'gallery_rewrite' into internal_photos_july25_2 2025-07-24 20:13:05 +05:30
ashilkn
463602c425 Use different haptics depending on Platform that comes when using the scrollbar 2025-07-24 20:12:17 +05:30
Prateek Sunal
78864b9301 fix: controller dispose issue 2025-07-24 19:53:21 +05:30
ashilkn
f37d94a2bd Merge branch 'gallery_rewrite' into internal_photos_july25_2 2025-07-24 19:49:38 +05:30
ashilkn
ee864ee0a5 Move Gallery setting to top of General section 2025-07-24 19:49:01 +05:30
ashilkn
d48b4392f5 Merge branch 'gallery_rewrite' into internal_photos_july25_2 2025-07-24 19:45:45 +05:30
ashilkn
4c61fd248d Move Gallery settings from General->Advanced to General 2025-07-24 19:45:05 +05:30
ashilkn
8feb69d711 Merge branch 'gallery_rewrite' into internal_photos_july25_2 2025-07-24 19:24:12 +05:30
ashilkn
446195b8f6 Minor improvement 2025-07-24 19:21:26 +05:30
ashilkn
382cd90ea1 Fix group selection state not persisting on PinnedGroupHeader when scrolling 2025-07-24 19:21:12 +05:30
Prateek Sunal
4f8b2e9fa0 fix: methods and fetching of EntityType 2025-07-24 19:05:54 +05:30
Prateek Sunal
fad05f3a7f Merge remote-tracking branch 'origin/main' into smart-album-nothingelse 2025-07-24 18:15:13 +05:30
Prateek Sunal
99de753c44 chore: fix things 2025-07-24 18:11:54 +05:30
Prateek Sunal
88e0c6cdbf fix: review comments 2025-07-24 17:50:51 +05:30
AmanRajSinghMourya
7a35748e30 Minor fix 2025-07-24 17:33:27 +05:30
AmanRajSinghMourya
21d59fa0a3 Fix: adjust padding and spacing in crop rotate bar UI 2025-07-24 17:30:14 +05:30
AmanRajSinghMourya
b89a9a7307 Fix options for background selections 2025-07-24 17:28:02 +05:30
Neeraj Gupta
24266e9eca Bump version 2025-07-24 17:23:42 +05:30
Neeraj Gupta
3419197817 Merge branch 'fixNow' into internal_photos_july25_2 2025-07-24 17:23:11 +05:30
Neeraj Gupta
79eff8aa5a Fix db query & swallow errow 2025-07-24 17:22:31 +05:30
Prateek Sunal
ba07894d18 fix: add ml sync code 2025-07-24 17:18:53 +05:30
Prateek Sunal
41593eecda feat: icons, design, ownership and what not 2025-07-24 17:10:21 +05:30
Prateek Sunal
b59a23d0ac chore: update translations 2025-07-24 17:08:58 +05:30
Keerthana
d30fb6fc3c [docs] rename migration guides for auth 2025-07-24 16:50:33 +05:30
Neeraj
d06db67e3e [mob][photos] Fix query to remove dup enteries (#6625)
## Description

## Tests
2025-07-24 16:28:59 +05:30
Neeraj Gupta
6d59e51ffa Bump version 2025-07-24 16:26:38 +05:30
Neeraj Gupta
16bc189c2b Merge branch 'fixQuery' into internal_photos_july25_2 2025-07-24 16:25:39 +05:30
Neeraj Gupta
0906fddfc6 [mob][photos] Fix query to remove dup enteries 2025-07-24 16:24:54 +05:30
Keerthana
637f11ac23 [docs] complete installation procedures 2025-07-24 16:21:13 +05:30
AmanRajSinghMourya
e9da23aff9 Refactor: remove unused safe area configurations from image editor 2025-07-24 16:00:36 +05:30
AmanRajSinghMourya
d466b77f0e Fix: show custom warning dialog 2025-07-24 15:59:34 +05:30
Neeraj
4e0fa8fecf [server] Use IS FALSE to match partial index (#6624)
## Description

## Tests
2025-07-24 15:19:32 +05:30
Neeraj Gupta
f951880ed1 [server] Use IS FALSE to match partial index 2025-07-24 15:16:24 +05:30
ashilkn
c942257c5f bump up version 2025-07-24 14:55:54 +05:30
ashilkn
bc7d265812 Fix build error 2025-07-24 14:52:38 +05:30
ashilkn
f7ee1099c4 Merge flutter_3.27 2025-07-24 14:45:32 +05:30
ashilkn
f6852885b1 Change from flutter pub get 2025-07-24 14:39:34 +05:30
Aman Raj Singh Mourya
050d7d3725 [mobile] Advance Date Search (#6537)
## Description
This PR introduces a comprehensive date parsing service that enables
users to search for photos using natural language date queries and
various date formats.

## Tests
### 🔍 Natural Language Date Parsing
- Relative dates: today, tomorrow, yesterday
- Month names: Full (February), abbreviated (Feb), and partial (Febr)
- Ordinal numbers: 25th, 22nd, 3rd, 1st
- Flexible combinations: 25th Feb, February 2025, 25th of February 2025

### 📅 Structured Date Format Support
- ISO format: 2025-02-25, 2025/02/25
- Standard formats: 02/25/2025, 25/02/2025 (with MM/DD vs DD/MM
detection)
- Dot notation: 25.02.2025, 25.02.25
- Compact format: 20250225 
- Short formats: 02/25, 25/02
- Two-digit years: 25/02/25 (with century detection)

### 🎯 Smart Query Types
- Year-only queries: 2025 - find all photos from that year
- Month-year queries: February 2025 - find photos from specific
month/year
- Generic date queries: 25th Feb - find photos from that date across all
years
- Specific date queries: 25/02/2025 - find photos from exact date
2025-07-24 14:34:51 +05:30
AmanRajSinghMourya
0289a5535e Fix pubspec.lock file 2025-07-24 14:20:41 +05:30
AmanRajSinghMourya
8242916172 Merge branch 'main' into advance_image_editor 2025-07-24 14:17:31 +05:30
AmanRajSinghMourya
241dcd64bf Add comprehensive tests for date parsing functionality 2025-07-24 14:13:04 +05:30
AmanRajSinghMourya
0b8f26d0bb Fix dare parsing file 2025-07-24 14:12:46 +05:30
ashilkn
ee1686370b Merge branch 'flutter_3.27' into internal_photos_july25_2 2025-07-24 14:07:49 +05:30
ashilkn
c94e817205 update README file 2025-07-24 14:05:46 +05:30
ashilkn
4669107647 Update workflows 2025-07-24 14:05:26 +05:30
ashilkn
dcf0192257 Resolve merge conflicts and merge gallery_rewrite 2025-07-24 14:00:14 +05:30
ashilkn
7d9cfd8587 Run flutter pub get after upgrading to flutter 3.27.4 2025-07-24 13:43:05 +05:30
Neeraj
da7edac292 [server][db] Tweak autovacuum threshold for trash table (#6623)
## Description
Attempt to increase refresh rate for autovacuum to ensure that the query
planner use the index.
Based on slow query logs, and analyze command, it looks like the index
is not being used because the table stats are out of date. And the
default auto_vacumm only runs after 10% of rows have changed.

## Tests
Tested on local machine.
```
SELECT unnest(reloptions) AS option
FROM pg_class
WHERE relname = 'trash';
```

Once deployed, will monitor slow query logs and CPU usage.
2025-07-24 13:42:22 +05:30
ashilkn
a0686dc8bd Regenerate pubspec.lock after upgrading to flutter 3.27.4 2025-07-24 13:42:08 +05:30
Neeraj Gupta
daaf73664a [server][db] Tweak autovacuum threshold for trash table 2025-07-24 13:14:09 +05:30
Prateek Sunal
20fed3b65a Merge remote-tracking branch 'origin/main' into smart-album-nothingelse 2025-07-24 12:41:22 +05:30
ashilkn
8330e2902c Auto generated changes to pubspec.lock 2025-07-24 12:38:59 +05:30
ashilkn
8613d0d338 Auto genenrated translation related files changes 2025-07-24 12:38:20 +05:30
ashilkn
a33938a620 Resolve merge conflicts and merge main 2025-07-24 12:36:39 +05:30
ashilkn
506fc51675 Merge remote-tracking branch 'origin/advance_image_editor' into internal_photos_july25_2 2025-07-24 12:30:28 +05:30
ashilkn
6751648aae Merge remote-tracking branch 'origin/smart-album-nothingelse' into internal_photos_july25_2 2025-07-24 12:26:56 +05:30
Neeraj
17127b8f0e [web][auth] Lint fix (#6622)
## Description

## Tests
2025-07-24 11:50:01 +05:30
Neeraj
b9c8fdb080 [mob][photos] Remove file entry for files that are already queued (#6621)
## Description
Potential fix for duplicate file entry on home page. [Discord
Ref](https://discord.com/channels/948937918347608085/1397039940692607140/1397039940692607140)
## Tests
2025-07-24 11:46:13 +05:30
Neeraj Gupta
98868dd76f [web][auth] Lint fix 2025-07-24 11:40:26 +05:30
Neeraj Gupta
b58aeddeba [mob][photos] Remove file entry for files that are already queued 2025-07-24 11:35:12 +05:30
ashilkn
f8fe2bd7f2 Stop usage of continously animating widget which is offscreen and taken up compute 2025-07-24 11:29:43 +05:30
ashilkn
59888840b5 Fix limitSelectionToOne not working regression 2025-07-24 10:55:34 +05:30
ashilkn
be3568c3ba Remove jump to date UI hook and fix pinned header bug 2025-07-24 10:29:22 +05:30
ashilkn
d606d9c1e0 Fix jump to date bug 2025-07-24 00:28:27 +05:30
ashilkn
bb9dd31520 Fix bug in gallery 2025-07-24 00:21:47 +05:30
ashilkn
a8cc1ab4f0 Resolve merge conflicts for cherry-picking jump to date wip 2025-07-24 00:11:30 +05:30
AmanRajSinghMourya
c87065b1c2 Merge branch 'main' into advance_image_editor 2025-07-24 00:00:54 +05:30
ashilkn
88aa5fbfe1 Fix error 2025-07-23 23:55:39 +05:30
AmanRajSinghMourya
b8bb3d5730 Add google_fonts dependency and include image-editor assets 2025-07-23 23:48:07 +05:30
AmanRajSinghMourya
cf75528f5e Add new image editor functionality to detail page 2025-07-23 23:47:49 +05:30
AmanRajSinghMourya
7a6fb1ba31 Implemented new image editor 2025-07-23 23:47:03 +05:30
AmanRajSinghMourya
774292bdea Custom widget for editor & constants 2025-07-23 23:45:35 +05:30
AmanRajSinghMourya
4dd7305c46 New app bar for editor 2025-07-23 23:44:36 +05:30
AmanRajSinghMourya
3d952a2ecc Add new color for image editor 2025-07-23 23:42:58 +05:30
AmanRajSinghMourya
9386e3796c Add svg assets of image editor 2025-07-23 23:42:45 +05:30
ashilkn
77d7d358f3 Minor refactoring and removing unnecessary work on Gallery widget 2025-07-23 20:50:13 +05:30
Laurens Priem
e9ef9d55a4 [mob][photos] Face thumbnail lower severity logging (#6617)
## Description

## Tests
2025-07-23 13:50:19 +02:00
laurenspriem
968f04c04a Lower severity logging 2025-07-23 13:45:37 +02:00
Laurens Priem
59cb3f091e [mob][photos] Face thumbnail fix + smooth scroll (#6616)
## Description

- Fix internal issue with face thumbnail generation
- Make all people page scroll more smooth 

## Tests

Tested on internal build.
2025-07-23 13:40:25 +02:00
Neeraj
630f5a2706 [mob/photos] [fix] Handle duplicate fileID during addOrCopy (#6614)
## Description
If others file contains two files with same hash, we are returning same
FileID twice for add or copy operation. This change fixes that
behaviour.

## Tests
2025-07-23 16:53:13 +05:30
Neeraj Gupta
4a743be322 [mob]Handle duplicate fileID during addOrCopy 2025-07-23 16:46:37 +05:30
Neeraj
c2db1f7da9 [web] Update download link for auth apps (#6615)
## Description

## Tests
2025-07-23 16:45:35 +05:30
Neeraj
843e956a8a [web] Update download link for auth apps 2025-07-23 16:45:04 +05:30
laurenspriem
c2d1c66888 keep alive face thumbnail when scrolling fast 2025-07-23 12:45:09 +02:00
Aman Raj Singh Mourya
e2aabfb95a [auth] add custom icon for Startmail (#6611)
Adding Custom Icon for Startmail.com

## Description
Add custom SVG icon for [Startmail](https://www.startmail.com/) to
support branding in UI components.
## Tests
2025-07-23 16:05:49 +05:30
ashilkn
cd46db3d30 Show 'last year', 'last week' and 'last month' headers in gallery when appropriate 2025-07-23 16:05:03 +05:30
ashilkn
4f00296933 Fix build error 2025-07-23 15:55:09 +05:30
ashilkn
7ff2c8f424 Make group by feature functional on gallery 2025-07-23 15:54:56 +05:30
Neeraj
dbf88c7bed [mob] Skip dup fileID from src collection during copy (#6612)
## Description

## Tests
2025-07-23 15:46:16 +05:30
Neeraj Gupta
a06a5be983 [mob] Skip dup fileID from src collection during copy 2025-07-23 15:45:20 +05:30
Prateek Sunal
a3340d684f chore: naming 2025-07-23 15:43:40 +05:30
Prateek Sunal
cfbacc3b45 fix: type from string 2025-07-23 15:42:48 +05:30
Prateek Sunal
f2791abd7c fix: zip it 2025-07-23 15:41:24 +05:30
Prateek Sunal
3387361489 fix: use smart-album entityType and remove merge logic + better id 2025-07-23 15:40:49 +05:30
max977
3bba125f1c custom-icon-startmail
Adding Custom Icon for Startmail
2025-07-23 11:51:25 +02:00
Prateek Sunal
e9c084bd54 fix: remove unnecessary db read 2025-07-23 15:19:42 +05:30
Prateek Sunal
8d848050d1 chore: remove unused 2025-07-23 15:18:34 +05:30
Prateek Sunal
3756a56776 chore: nit fixes 2025-07-23 15:17:10 +05:30
laurenspriem
1718e5d1d6 More careful logging 2025-07-23 11:33:30 +02:00
Prateek Sunal
e4a0ed7ec1 fix: no delay 2025-07-23 14:51:11 +05:30
Prateek Sunal
b96e1a2536 Squashed commit of the following:
commit 2c15c0578e
Merge: 5a31d81d28 78055a25d0
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Wed Jul 23 14:40:29 2025 +0530

    Merge branch 'isolated-ffmpeg' into smart-album

commit 5a31d81d28
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Tue Jul 22 15:08:50 2025 +0530

    chore: update locals

commit 9f926383a5
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Tue Jul 22 15:05:20 2025 +0530

    chore: use locals

commit ae1e435d77
Merge: 3addc83c14 8e4e06af73
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Mon Jul 21 18:55:26 2025 +0530

    Merge remote-tracking branch 'origin/main' into smart-album

commit 3addc83c14
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Mon Jul 21 18:46:16 2025 +0530

    fix: don't use isolate for now

commit 5b47f69d93
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Mon Jul 21 18:46:00 2025 +0530

    fix: save remote_id and updatedAt as well

commit 1c02064211
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Mon Jul 21 18:45:40 2025 +0530

    fix: dialog time

commit ba01e2d181
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Mon Jul 21 17:30:40 2025 +0530

    chore: update locks

commit fdfc155add
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Mon Jul 21 17:28:38 2025 +0530

    chore: update locks

commit 3c5a29b0ab
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Mon Jul 21 17:28:32 2025 +0530

    fix: popup menu item & smart people selection

commit fa65a993c0
Merge: 418d20b336 4ff77067dc
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Mon Jul 21 15:40:27 2025 +0530

    Merge branch 'flutter-upgrade' into smart-album

commit 418d20b336
Merge: 4d9b6ecbc6 8afc4bb0cb
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Mon Jul 21 00:23:36 2025 +0530

    Merge branch 'isolated-ffmpeg' into smart-album

commit 4d9b6ecbc6
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Fri Jul 18 17:10:40 2025 +0530

    fix: use existing progress dialog

commit d7f019c4f5
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Fri Jul 18 16:35:23 2025 +0530

    fix: better decode of SmartAlbumConfig

commit 4f1db7f001
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Wed Jul 16 18:35:58 2025 +0530

    fix: track if bg properly

commit ab96fdb379
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Wed Jul 16 18:22:35 2025 +0530

    fix: don't fetch files based on collection id

commit 90650995f7
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Wed Jul 16 18:21:38 2025 +0530

    fix: use correct method to remove files from collection

commit f83cd57b6f
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Wed Jul 16 18:17:08 2025 +0530

    fix: try to add remove people dialog popup

commit f0273def2f
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Wed Jul 16 17:21:36 2025 +0530

    fix: handle duplicate case

commit d4e2317816
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Wed Jul 16 16:48:03 2025 +0530

    fix: update merge function to updatedAt

commit 2040044994
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Wed Jul 16 16:24:42 2025 +0530

    chore: add note

commit a3ee242faa
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Wed Jul 16 16:13:06 2025 +0530

    fix: pass remote id

commit 78f2bb0d7d
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Wed Jul 16 16:00:52 2025 +0530

    fix: add option in overflow & other fixes

commit b723b7daf0
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Wed Jul 16 12:47:13 2025 +0530

    fix: revamp and use EntityService

commit e2e0436830
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Tue Jul 15 19:57:41 2025 +0530

    fix: issues

commit dea67250c8
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Tue Jul 15 19:26:27 2025 +0530

    fix: selection bug + initial empty files bug

commit dc2246aa47
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Tue Jul 15 16:55:54 2025 +0530

    chore: renaming things

commit adb1c96ce6
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Tue Jul 15 16:21:42 2025 +0530

    fix: remove shared preferences instance call

commit c413111768
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Tue Jul 15 16:20:31 2025 +0530

    fix: don't show close button in people selection page

commit 6d6cd91b22
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Tue Jul 15 16:19:11 2025 +0530

    fix: optimize things (1)

commit 3708a347f5
Author: Prateek Sunal <prtksunal@gmail.com>
Date:   Mon Jul 14 18:05:58 2025 +0530

    feat: init smart albums concept
2025-07-23 14:45:09 +05:30
laurenspriem
b16c9af36b Logging in super isolate when starting operation 2025-07-23 10:47:01 +02:00
laurenspriem
1cc3499019 face thumbnail fix pragma entry point 2025-07-23 10:34:19 +02:00
laurenspriem
4260c3c769 Remove redundant code 2025-07-23 10:33:31 +02:00
laurenspriem
209291e09a Rename isolate components for clarity 2025-07-23 10:32:58 +02:00
ashilkn
c34d214313 Stop using custom object and use simple map for message passing compatibility between isolates 2025-07-23 12:13:00 +05:30
ashilkn
b209779f59 Use records for making data compatible for message passing between isolates 2025-07-23 12:04:21 +05:30
Aman Raj Singh Mourya
dd08ca82fe add unitedhealthgroup icona and added more altnames to previously added colorado icon (#6607)
## Description

## Tests
2025-07-23 00:01:21 +05:30
slacker-treat-deferred-unbuckled-jiffy
8d71a6bb58 Update custom-icons.json 2025-07-22 10:12:45 -06:00
slacker-treat-deferred-unbuckled-jiffy
c583fa4742 Add files via upload 2025-07-22 10:10:35 -06:00
Aman Raj Singh Mourya
ec0d3c4266 [auth] Add numerai and nasdaq icons (#6586)
## Description

## Tests
2025-07-22 14:09:05 +05:30
Murad Khalil
55cc92e57d Update custom-icons.json
fixed nasdaq entry
2025-07-22 10:06:25 +02:00
Murad Khalil
3f71d491e9 Merge branch 'ente-io:main' into main 2025-07-22 10:02:14 +02:00
Aman Raj Singh Mourya
304daf0b09 Minor Fix 2025-07-22 13:24:12 +05:30
Aman Raj Singh Mourya
e1281657ba Add icons for availity, bestbuy, colorado, emeritihealth, lincolnfinancial (#6601)
## Description

## Tests
2025-07-22 13:16:49 +05:30
Aman Raj Singh Mourya
595871f571 feat(ente-auth): Add custom icon for Pangolin (#6604)
## Description
This PR adds the Pangolin icon for auth
2025-07-22 13:14:22 +05:30
Manav Rathi
d31127c2e3 [docs] Simplify (#6606) 2025-07-22 12:03:22 +05:30
ashilkn
51891996a2 Handle edge case 2025-07-22 11:18:15 +05:30
ashilkn
5fd861b60a Remove uneccessary global keys and widgets 2025-07-22 11:04:20 +05:30
Manav Rathi
09d7b82c08 Simplify 2025-07-22 10:56:01 +05:30
Rafael Ieda
88c9f4943b feat(ente-auth): Add custom icon for Pangolin 2025-07-21 22:50:50 -03:00
slacker-treat-deferred-unbuckled-jiffy
cacc7dc85a Add files via upload 2025-07-21 13:55:34 -06:00
slacker-treat-deferred-unbuckled-jiffy
24a30709cd Update custom-icons.json 2025-07-21 13:55:12 -06:00
ashilkn
caa092f6c5 Increase gallery length limit threshold above which scroll bar divisions will be made visible 2025-07-21 17:27:12 +05:30
ashilkn
bbcb6dc702 Disable vertical padding on scrollbars in gallery that don't need vertical padding 2025-07-21 16:57:03 +05:30
ashilkn
662f4a3fb7 chore 2025-07-21 16:48:20 +05:30
ashilkn
b053b0082f Change bottom padding of scrollbar if file selection sheet is up/down 2025-07-21 16:43:22 +05:30
Neeraj
8e4e06af73 [server][file data] Use primary bucket as preferred bucket to read (#6596)
## Description

## Tests
2025-07-21 15:59:38 +05:30
Neeraj
439b4fdeec [server] Add Smart album type (#6597)
## Description
To avoid duplicate config entry for same album. client is expected to
pass id while creating smart album config in following format
`sa_userid_collection_id`.

Open to changing the name/prefix values for this new entity type.

## Tests
2025-07-21 15:57:47 +05:30
Neeraj Gupta
32efdf464e Use client provided entity id for smart album config 2025-07-21 15:14:24 +05:30
ashilkn
3578df0ac0 Make gallery configurable to not show PinnedGroupHeader and use it where necessary 2025-07-21 15:08:56 +05:30
Neeraj Gupta
f76fa34e5b Add SmartAlbum entity type 2025-07-21 15:07:16 +05:30
Neeraj Gupta
868c45baa4 fileData: Use primary bucket as preferred bucket to read 2025-07-21 15:02:27 +05:30
Ashil
fa1838c82e [mob][photos] Fix duplicate people files (#6593)
## Description

Prevent showing duplicate files in people page due to a face getting
incorrectly tagged when a correct face is already there.
2025-07-21 14:27:14 +05:30
ashilkn
6b5db8d85b Dedupe gallery on pick person avatar screen 2025-07-21 13:53:21 +05:30
Neeraj
9c071c0dab [auth] Fix appimage tool path in github workflow (#6594)
## Description

## Tests
2025-07-21 13:43:48 +05:30
Neeraj Gupta
73b87950de Update version 2025-07-21 13:42:23 +05:30
Neeraj Gupta
ee0c7472a1 [auth][build] Fix appimage tool path 2025-07-21 13:41:24 +05:30
laurenspriem
ba56908d2d Fix duplicate people files 2025-07-21 10:05:11 +02:00
Neeraj
b5d725e139 [auth] Bump version (#6592)
## Description

## Tests
2025-07-21 11:48:37 +05:30
Neeraj Gupta
5750d72c5a [auth] Bump version 2025-07-21 11:48:10 +05:30
Neeraj
00a430927f [mobile/photos] New translations (#6590)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-07-21 10:55:11 +05:30
Neeraj
ab57a1f8fe [auth] New translations (#6591)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-07-21 10:46:39 +05:30
Manav Rathi
cfdeb475ef [web] New translations (#6589)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-07-21 08:22:34 +05:30
Crowdin Bot
1f0f240f97 New Crowdin translations by GitHub Action 2025-07-21 01:18:10 +00:00
Crowdin Bot
2ff5058a3e New Crowdin translations by GitHub Action 2025-07-21 01:05:20 +00:00
Crowdin Bot
641dfdd11e New Crowdin translations by GitHub Action 2025-07-21 00:45:09 +00:00
Murad Khalil
054ad8b480 add numerai and nasdaq icons 2025-07-20 23:15:27 +02:00
Aman Raj Singh Mourya
b3827dd812 [auth] Add MangaDex icon (#6571)
This PR adds the MangaDex icon for auth
2025-07-19 11:51:52 +05:30
Sven
087ba629e0 add MangaDex icon and metadata to custom icons 2025-07-18 22:33:24 +02:00
ashilkn
50ea38d471 Make hero animation work when opening a gallery 2025-07-18 19:06:03 +05:30
Manav Rathi
e0c647f583 [web] Locker web scaffold (#6569) 2025-07-18 18:54:02 +05:30
Manav Rathi
e08f97e543 Setup publish 2025-07-18 18:36:30 +05:30
ashilkn
43c06d93c7 Rename final scrollbar 2025-07-18 18:09:07 +05:30
ashilkn
ecad643ea6 Remove old scrollbar 2025-07-18 18:08:19 +05:30
ashilkn
9241755d44 Minor change 2025-07-18 18:07:19 +05:30
Manav Rathi
efa82b7fb7 Scaffold 2025-07-18 18:05:28 +05:30
ashilkn
3ff0356dd2 Fix flutter error 2025-07-18 17:57:32 +05:30
ashilkn
3fdb906834 Support limitSelectionToOne and showSelect all on new gallery 2025-07-18 17:40:36 +05:30
Manav Rathi
7c325065a5 [web] File list refactoring and cleanup - Complete (#6568) 2025-07-18 16:44:29 +05:30
Manav Rathi
4a346c47d1 Complete 2025-07-18 16:34:11 +05:30
Neeraj
dee38e3ed8 [mobile/photos] New translations (#6532)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-07-18 16:18:29 +05:30
Crowdin Bot
69237fa659 New Crowdin translations by GitHub Action 2025-07-18 10:41:50 +00:00
ashilkn
f32b98c1bc Clean up 2025-07-18 16:05:49 +05:30
Neeraj
fb8a22d370 [auth] New translations (#6533)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-07-18 16:00:57 +05:30
ashilkn
764921ec69 Make it possible to pass different vertical paddings for scrollbar 2025-07-18 15:56:41 +05:30
Manav Rathi
8a177bbe2c Cleanup 2025-07-18 15:44:35 +05:30
ashilkn
06397a4992 Add empty state for gallery 2025-07-18 15:38:24 +05:30
Manav Rathi
943a524ba9 Rename 2025-07-18 15:35:16 +05:30
ashilkn
f232fc401d Add support for disableScroll in galler 2025-07-18 14:45:11 +05:30
ashilkn
a10dcd01b0 Add support for GroupType.none 2025-07-18 14:36:42 +05:30
AmanRajSinghMourya
552003600a Add pro_image_editor package 2025-07-18 13:47:58 +05:30
Manav Rathi
63746523e2 [web] File list refactoring and cleanup - Part 3 (#6563)
Mostly done, only minor touchups remain
2025-07-18 08:22:00 +05:30
Manav Rathi
b5868468bd Cleanup 2025-07-18 08:12:33 +05:30
Manav Rathi
aa48543a98 Adapt existing code 2025-07-18 07:55:37 +05:30
Manav Rathi
164da10772 Update merge logic for new schema - wip 2025-07-18 06:52:25 +05:30
Manav Rathi
291368f7ba merge wip rework take 1 2025-07-17 21:33:14 +05:30
Manav Rathi
b6d797681d wip 2 2025-07-17 20:49:15 +05:30
Manav Rathi
d67dc4b76f grouping take 2 - wip 2025-07-17 20:27:18 +05:30
ashilkn
9b289d7845 Minor UI change 2025-07-17 16:37:38 +05:30
ashilkn
21a843fb3b Remove stale code 2025-07-17 16:34:29 +05:30
ashilkn
401c8e160a Custom ScrollPhysics to avoid extreme overscroll when using scrollbar 2025-07-17 14:43:53 +05:30
ashilkn
c2374ed14e Double tap home button to animate to start of home gallery 2025-07-17 14:43:15 +05:30
ashilkn
dc6221c977 Simplify figuring out where to pin PinnedGroupHeader and change it when height of gallery's header changes 2025-07-17 14:01:41 +05:30
Neeraj
d78fa3f27d [auth] add custom icon for temu (#6548)
## Description

Add custom SVG icon for [Temu](https://www.temu.com/) to support
branding in UI components.
2025-07-17 11:40:24 +05:30
Laurens Priem
e30b8024e2 [mob][photos] Set high minimum for compression (#6549)
## Description

Setting a high minimum value for the compression settings when decoding
an image for ML indexing that doesn't have a decodable format (heic on
Android). This ensures the image is merely formatted to jpeg and not
actually decreasing in quality.
2025-07-17 08:05:55 +02:00
Manav Rathi
c95d3b8c00 Fgroups take 1 2025-07-17 11:17:54 +05:30
Manav Rathi
ec532ad2ac New pathway 2025-07-17 10:37:02 +05:30
Manav Rathi
479f2188b6 Rename 2025-07-17 08:39:52 +05:30
Manav Rathi
c7d96482cb [web] File list cleanup and refactoring - Part 2 (#6559) 2025-07-17 07:14:34 +05:30
Manav Rathi
67e1a64e7f Trace deps 2025-07-17 07:00:04 +05:30
Manav Rathi
49a8016786 Scope 2025-07-17 05:48:08 +05:30
Manav Rathi
39558a27c9 Inline 2025-07-16 21:26:20 +05:30
laurenspriem
f7d4273c1d Extract strings 2025-07-16 17:31:13 +02:00
laurenspriem
3369e14f69 Surface when file analysis failed 2025-07-16 17:17:01 +02:00
Manav Rathi
9b28996d3f [web] File list refactoring and cleanup (#6553) 2025-07-16 20:42:28 +05:30
Manav Rathi
fd98243394 Update 2025-07-16 20:28:59 +05:30
laurenspriem
9cd6784837 Locally fail indexing on different exif orientation 2025-07-16 16:58:32 +02:00
Manav Rathi
127c480855 Fix overflow 2025-07-16 18:53:57 +05:30
Manav Rathi
d1717ef308 Unwrap 2025-07-16 17:55:14 +05:30
Manav Rathi
08a43f5d64 Rework 2025-07-16 17:52:48 +05:30
laurenspriem
bcb389c56d Log higher image resolutions and store empty result 2025-07-16 13:42:32 +02:00
laurenspriem
689edebec4 Increase limit to 20000 2025-07-16 13:29:53 +02:00
ashilkn
5b4d4b86f7 Add docs 2025-07-16 16:48:40 +05:30
ashilkn
6423901165 Remove shadow of PeopleAppBar 2025-07-16 15:37:50 +05:30
ashilkn
4672b44d48 Do not show shadow on PinnedGroupHeader if scroll offset of gallery is zero. This is to give the illusion that the header is only pinned when gallery is scrolled from 0 offset 2025-07-16 15:09:30 +05:30
Manav Rathi
a97658b67d Rename 2025-07-16 14:35:15 +05:30
ashilkn
576f85055e Add top padding for gallery scrollbar 2025-07-16 14:33:46 +05:30
ashilkn
8a4ef26a6e Update animation duration 2025-07-16 14:14:45 +05:30
Manav Rathi
b6dafd5a17 Update 2025-07-16 14:00:31 +05:30
Manav Rathi
a6e78ab732 Use layoutParams 2025-07-16 13:44:26 +05:30
Manav Rathi
e3ab4eda15 lp 2025-07-16 13:19:54 +05:30
Manav Rathi
de8fa9f9e9 [web] Fix date color in the file viewer (#6552)
Also some other refactoring that I'd already started of the file list
(when I noticed this regression).
2025-07-16 12:55:07 +05:30
ashilkn
8541657ee0 Enlarge PinnedGroupHeader when using scrollbar for better UX 2025-07-16 12:39:11 +05:30
Manav Rathi
14bc47c055 Fix regression in date color 2025-07-16 12:35:07 +05:30
Manav Rathi
99a8f5152a Start using the existing function 2025-07-16 12:09:21 +05:30
ashilkn
7340e5a100 Fix scroll bar divisions not appearing 2025-07-16 11:14:29 +05:30
ashilkn
30f8162ee4 Fix logic 2025-07-16 10:57:16 +05:30
Manav Rathi
b68fda70ef Start deduping 2025-07-16 10:49:22 +05:30
ashilkn
ef08c4bd96 Remove shadow under GalleryAppBar to fix UI issue when group header is pinned to top 2025-07-16 10:47:25 +05:30
ashilkn
776c3158a7 Do not show scrollbar divisions if gallery isn't long enough 2025-07-16 10:34:30 +05:30
Neeraj
987c02fdac [server] Make use_path_style_urls and disable_ssl configurable per bucket (#6550)
## Description

I wanted to use a mix of local minio and remote buckets and therefore
needed both the `use_path_style_urls` and `disable_ssl` settings to be
configurable per bucket. These changes are backwards compatible with the
"global" settings `use_path_style_urls` and `areLocalBuckets`.

## Tests

I'm running this code in my own self hosted museum instance.
2025-07-16 10:32:33 +05:30
Florian Lippert
0f8ea1e814 Make use_path_style_urls and disable_ssl configurable per bucket 2025-07-15 20:23:33 +00:00
laurenspriem
27af2c3bbc Set high minimum for compression 2025-07-15 22:10:32 +02:00
Daniel T
96c2270062 chore: add custom icon for temu 2025-07-15 13:27:31 -05:00
ashilkn
56d0acc501 Add corrections to where the scroll dividers are placed 2025-07-15 19:20:39 +05:30
ashilkn
e3a5cd060d Update haptic feedback type 2025-07-15 19:01:50 +05:30
Laurens Priem
781583c1db [mob][photos] Fix incorrect merge (#6546)
## Description

Fixes missing file issue from incorrect PR
2025-07-15 14:23:07 +02:00
laurenspriem
06d3f679f1 Complete move 2025-07-15 14:02:17 +02:00
Laurens Priem
a809ab58b3 [mob][photos] Remove moments (#6541)
## Description

- Removes the "Moments" section for all users
- Puts memories debugging section behind internal and local setting

## Tests

Tested in debug mode on my pixel phone.
2025-07-15 14:00:16 +02:00
laurenspriem
f06314fb13 Move file 2025-07-15 14:00:04 +02:00
laurenspriem
9696409b01 Remove memories debug from sections types 2025-07-15 13:16:56 +02:00
ashilkn
e4f10d0e69 Add haptic feedback when going through sections when using the scrollbar 2025-07-15 15:53:37 +05:30
ashilkn
03c116c2ba Avoid redundant setState call 2025-07-15 15:52:42 +05:30
laurenspriem
b8d69e79f0 Add memories debug to debug section 2025-07-15 11:51:23 +02:00
Neeraj
7f3311ad36 [mob][doc] Fix broken link (#6527)
## Description
This PR fixes the broken link
[issue](https://github.com/ente-io/ente/issues/6526) in the
documentation related to
[architecture](https://github.com/ente-io/ente/blob/main/mobile/apps/auth/README.md#-architecture)
present in the README.md.

## Tests
2025-07-15 13:19:41 +05:30
ashilkn
c318162feb Add solid color for background of PinnedGroupHeader 2025-07-15 12:48:07 +05:30
ashilkn
60485e98c2 UI for elements depicting scroll bar divisions 2025-07-15 12:38:08 +05:30
Keerthana
76e30fe959 [docs] refine requirements 2025-07-15 12:22:49 +05:30
ashilkn
2bee2fe71c Remove first scrollbar division since it doesn't add value in terms of UX 2025-07-15 12:11:42 +05:30
ashilkn
1b1e82ebbd Add bottom padding to new gallery scrollbar 2025-07-15 12:07:38 +05:30
ashilkn
d319b244ee Filter out scroll position divisions that are too close to each other 2025-07-15 11:45:28 +05:30
Neeraj
18dba3f629 [mob] Improve error handling on subscription page (#6539)
## Description

## Tests
2025-07-15 09:50:18 +05:30
Neeraj
22e85b0364 [mob][ios] Remove automatic limited access alert on app start (#6538)
## Description

## Tests
Tested on simulator
2025-07-15 09:50:00 +05:30
Laurens Priem
26fbe84d9c [mob][photos] Birthday redirect fix (#6514)
## Description

- Fix bug where clicking on birthday notifications opens the person page
(as fallback) and not the person memory (as intended)
- Minor UI fixes 

## Tests

Tested in debug mode on my pixel phone.
2025-07-14 22:32:24 +02:00
ashilkn
880594398d Make the scrollbar divisions meant for years actually show years 2025-07-14 18:27:52 +05:30
laurenspriem
82cc0559b4 Remove old moments calculation logic 2025-07-14 14:53:16 +02:00
laurenspriem
1c780c4b02 Rename 2025-07-14 14:52:58 +02:00
laurenspriem
86f14f985b Option to debug memories 2025-07-14 14:46:18 +02:00
laurenspriem
fa6694e2f9 Remove moments and disable memories debug by default 2025-07-14 14:41:33 +02:00
laurenspriem
35f0251064 Remove old todos 2025-07-14 13:19:58 +02:00
Neeraj Gupta
aa60c3c71a Log error during sub fetch 2025-07-14 16:35:33 +05:30
Neeraj Gupta
d2c1437210 Make dialog dismissible 2025-07-14 16:33:02 +05:30
Neeraj Gupta
e31768afe9 [mob][ios] Remove automatic limit access alert on app start 2025-07-14 16:12:46 +05:30
ashilkn
a475cc9933 Create a new scrollbar tha works like a normal scrollbar but intended to also show scroll positions of different years. UI works, need to next show the actual values at positions 2025-07-14 15:18:28 +05:30
Keerthana
b260648192 [docs] linting and complete get started 2025-07-14 15:04:18 +05:30
AmanRajSinghMourya
be6f596b79 Minor improvements around date search parsing 2025-07-14 15:02:58 +05:30
Manav Rathi
90c1638e7d [web] New translations (#6531)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-07-14 14:54:00 +05:30
Crowdin Bot
8a4b038e86 New Crowdin translations by GitHub Action 2025-07-14 09:22:37 +00:00
Neeraj
a3dbaf7015 [server] Handle expiry buffer in user_detail computation (#6535)
## Description

## Tests
2025-07-14 11:59:27 +05:30
Neeraj Gupta
3b7d13aec0 [server] Handle expiry buffer in user_detail computation 2025-07-14 11:31:18 +05:30
Keerthana
034eb69473 [docs] simplify S3 configuration 2025-07-14 09:52:25 +05:30
Keerthana
f06403adc7 [docs] refactor standalone and from source docs 2025-07-14 09:52:25 +05:30
Keerthana
b580d6ce35 [docs] refactor get started 2025-07-14 09:52:25 +05:30
Keerthana
caf664f11d [docs] restructure administration section 2025-07-14 09:52:25 +05:30
Keerthana
2d90c14890 [docs] restructure installation and guides section 2025-07-14 09:52:25 +05:30
Keerthana
4d078c094c [docs] restructure self-hosting navigation 2025-07-14 09:52:25 +05:30
Keerthana
cbfcbe8da2 [docs] reduce verbose description in quickstart 2025-07-14 09:52:25 +05:30
Keerthana
d0f637b154 [server][script] enhance reading choice and refactor choice 2025-07-14 09:52:25 +05:30
Crowdin Bot
d2228ccd58 New Crowdin translations by GitHub Action 2025-07-14 01:18:02 +00:00
sanojsubran
9233149e25 fix: Updated the broken link in the README.md 2025-07-13 13:51:45 +02:00
ashilkn
4d8d0d1b07 Make selection work on the new group header widget 2025-07-12 17:20:24 +05:30
ashilkn
59b07f3507 Use bouncing scroll physics for gallery 2025-07-12 15:32:44 +05:30
ashilkn
38e5135878 Fix bug in PinnedGroupHeader when gallery is reloaded or setState is called in gallery 2025-07-12 15:31:57 +05:30
ashilkn
2426b7405c Improve performance of deciding what title to show on the PinnedGroupHeader based on group 2025-07-12 14:37:08 +05:30
Aman Raj Singh Mourya
0e66632337 Custom Co-Wheels icon (#6517)
I would like to add a custom auth icon for co-wheels.org.uk.
<img
src="https://github.com/user-attachments/assets/e569f3c2-23b1-42fc-a124-fae73a618bdd"
width="300" alt="cowheels">

Also some minor cleanup i noticed while preparing this pr.
2025-07-12 13:49:37 +05:30
Ashil
b092d2e250 [mob][photos] Fix free up space failing when trying to delete lot of files at one shot (#6518)
## Description

If the number of files to be deleted exceeds 20,000, the deletion will
be performed in batches, with a maximum of 20,000 files per batch. If a
batch of 20,000 files fails, it will retry with 10,000 files (half the
previous batch size). If failures continue, the batch size will keep
reducing until it is over 2,000 files.

## Tests
Tested and works as expected.
2025-07-12 11:56:04 +05:30
ashilkn
e259b06d63 Minor correction in execption 2025-07-12 11:32:44 +05:30
ashilkn
2920f77c75 If too many local files are attempted to be deleted using free up space feature, reduce the batch size and try deleting 2025-07-12 11:21:35 +05:30
TKO-GLOBAL
884e805f46 Add custom icon for Co-Wheels
Add custom authenticator icon for co-wheels.org.uk
2025-07-12 02:43:51 +01:00
laurenspriem
848771dcaa Merge branch 'minor_fix_suggestion' into birthday_redirect_fix 2025-07-11 14:54:11 +02:00
laurenspriem
97b3a3cb57 Fix redirect to person memory 2025-07-11 14:50:52 +02:00
AmanRajSinghMourya
57ec62e45e Implement advance date search service 2025-07-11 17:00:23 +05:30
Keerthana
8f55749607 [server] nudge paid users to use family (#6509)
## Description

Nudge paid users who are not using family and add family members after
30 days. They are only notified once about this as this is logged in
`notification_history`.
2025-07-11 15:13:20 +05:30
Prateek Sunal
384a2f2c0a [mob][photos] haptic fixes (#6512)
## Description

- [x] Never use strong haptic unless necessary

## Tests
2025-07-11 15:12:55 +05:30
Prateek Sunal
03c903fc5b fix: never do strong vibrate unless necessary 2025-07-11 14:38:19 +05:30
Prateek Sunal
d7d5e85618 [mob][photos] hotfixes (#6511)
## Description

- [x] Fix animations when turned off
- [x] Fix seekbar issue
- [x] Rename "People Widget" to "People" for consistency

## Tests
2025-07-11 14:29:03 +05:30
Prateek Sunal
f04b62e540 fix: issue 2025-07-11 13:45:18 +05:30
Prateek Sunal
9db925c3a6 fix: no preserve 2025-07-11 13:40:35 +05:30
Prateek Sunal
aeac72e35c fix: duration 2025-07-11 13:37:43 +05:30
Prateek Sunal
85bea417a1 fix: preserve animations 2025-07-11 13:34:23 +05:30
Prateek Sunal
cb282aa56e fix: typo 2025-07-11 13:33:03 +05:30
Neeraj
834234143a [mob] Bump version (#6510)
## Description

## Tests
2025-07-11 12:33:36 +05:30
Neeraj Gupta
4fc8f32df8 Bump version 2025-07-11 12:31:41 +05:30
Neeraj Gupta
25c962c001 Fix bad translation 2025-07-11 12:31:06 +05:30
Keerthana
9937b9f096 [server] nudge paid users to use family 2025-07-11 12:15:20 +05:30
Neeraj
407a8bd257 [mobile] New translations (#6338)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-07-11 12:02:35 +05:30
Neeraj
7eea133441 [mob] Fix throttling when multipart is disabled (#6508)
## Description
_shouldThrottleSync logic was changed to return True when multiPart was
disabled. This resulted in incorrect throttling when user had disabled
multipart and app was in fg.


## Tests
2025-07-11 11:55:40 +05:30
Neeraj
37e2ccaac3 [mobile] Fix memory edge cases (#6482)
## Description
Handle edge cases in memory tap when tapping -
1. On 1st memory of the 1st memory block - reset the animation
2. On last memory of the last memory block - do nothing 

## Test


https://github.com/user-attachments/assets/3358bf41-548e-403b-83a2-aabac7a94266
2025-07-11 11:54:29 +05:30
Neeraj Gupta
0f101110e6 Fix throttling when multipart is disabled 2025-07-11 11:23:51 +05:30
TKO-GLOBAL
69fcdcf14b Fix dead link and typo
Fix web link to adding-icons doc which have moved.
Fix paths in adding-icons to assets which have moved.
Fix typo in authenticator
2025-07-10 19:47:40 +01:00
ashilkn
567582b423 Resolve merge conflicts and merge main 2025-07-10 15:01:50 +05:30
ashilkn
937af3da37 clean up 2025-07-10 11:59:27 +05:30
Aman Raj Singh Mourya
9f028adb63 [mobile] Fix hero animation for on Ente section (#6499)
https://github.com/user-attachments/assets/1238695a-8e4a-44b3-99f1-569eacddcf1c
2025-07-10 11:51:32 +05:30
Aman Raj Singh Mourya
7e08f2ab3c [mobile] Fix corner smoothing (#6500)
<table>
  <tr>
    <td align="center">
      <strong>Before</strong><br>
<img
src="https://github.com/user-attachments/assets/2ee2bf5c-917e-459b-b8de-47c46b86c5f5"
alt="Before" width="300"/>
    </td>
    <td align="center">
      <strong>After</strong><br>
<img
src="https://github.com/user-attachments/assets/60c8d8cb-443b-4a97-8a73-48b47495bdf8"
alt="After" width="300"/>
    </td>
  </tr>
</table>
2025-07-10 11:51:07 +05:30
AmanRajSinghMourya
2595fdebae Reduce corner smoothing from 1.0 -> 0.6 2025-07-09 21:47:10 +05:30
AmanRajSinghMourya
9938db6af4 Fix hero animation 2025-07-09 21:27:44 +05:30
ashilkn
da4e0aa826 chore 2025-07-09 16:52:44 +05:30
ashilkn
372c4d9086 Create a widget (yet to be stateful) that acts as a 'pinned header' for each group in gallery when gallery is scrolled 2025-07-09 16:43:10 +05:30
ashilkn
80e28ee1a3 chore 2025-07-09 16:34:58 +05:30
AmanRajSinghMourya
abd5704ebb Minor fix 2025-07-09 13:45:22 +05:30
Neeraj
30262f82a5 [server] Prefer b2 for reading metadata (#6494)
## Description

## Tests
2025-07-08 18:38:05 +05:30
Neeraj Gupta
fddbbe5135 Prefer b2 for reading metadata 2025-07-08 18:34:22 +05:30
Manav Rathi
db981d0344 [web] Remove global eslint overrides in app/photos (#6493) 2025-07-08 17:26:41 +05:30
Manav Rathi
6f15b4178b Cleanup 2025-07-08 16:41:52 +05:30
Manav Rathi
bfd0bc116d exhaustive deps 2025-07-08 16:27:27 +05:30
Manav Rathi
ae28125a7a Update more 2025-07-08 16:05:52 +05:30
Manav Rathi
aa80f86a7a More lints 2025-07-08 15:06:35 +05:30
Manav Rathi
6221f904e4 lint 2025-07-08 14:26:38 +05:30
Manav Rathi
beb3276c53 [web] Enable strictNullChecks in photos tsconfig (#6492) 2025-07-08 13:38:21 +05:30
Manav Rathi
96276a1234 es 2025-07-08 13:28:02 +05:30
Manav Rathi
6e025945ae es 2025-07-08 13:14:29 +05:30
Manav Rathi
3fb02cf343 Remove overrides 2025-07-08 13:02:46 +05:30
Manav Rathi
6d20b9cd55 Elsewhere 2025-07-08 12:48:55 +05:30
Manav Rathi
a34a07644e tsc 2025-07-08 12:32:36 +05:30
Manav Rathi
67b9ba09fa Update 2025-07-08 12:21:23 +05:30
Manav Rathi
01d3c80240 useDeferredValue 2025-07-08 12:13:07 +05:30
Manav Rathi
be7b57f3d5 Update 2025-07-08 11:54:34 +05:30
Manav Rathi
786620a5ac More null handling 2025-07-08 11:09:35 +05:30
Manav Rathi
2a0795dd47 null assertions meanwhile 2025-07-08 10:56:40 +05:30
Manav Rathi
68d831ef3d Update 2025-07-08 10:37:40 +05:30
Manav Rathi
5b175b3734 [web] File list code cleanup (#6491) 2025-07-08 10:11:25 +05:30
Manav Rathi
1d7f9522e3 Fin 2025-07-08 10:06:19 +05:30
Manav Rathi
f9adbdf639 Extract and merge, part 2 2025-07-08 08:32:19 +05:30
Manav Rathi
d327eb027c Extract and merge, part 1 2025-07-08 08:23:39 +05:30
Manav Rathi
ef1a5358fd Rename 2025-07-08 07:55:49 +05:30
Manav Rathi
f4b909f4a7 Cleanup 2025-07-08 07:39:55 +05:30
Manav Rathi
236c6f612b Separate internal and external interfaces 2025-07-08 07:11:03 +05:30
AmanRajSinghMourya
c54ca8c7ae Minor fix 2025-07-07 23:42:39 +05:30
Manav Rathi
4c5d340b57 More tsc 2025-07-07 20:39:28 +05:30
Manav Rathi
02ea875497 [web] tsc related cleanup (#6486) 2025-07-07 19:02:49 +05:30
Manav Rathi
bafa3b5c5b More tsc fixes 2025-07-07 18:55:05 +05:30
Manav Rathi
1dc83b272a More tsc errors 2025-07-07 18:35:25 +05:30
Manav Rathi
1d3b3eb1cf More tsc fixes 2025-07-07 18:25:49 +05:30
Manav Rathi
6a5e012236 Fix more type errors 2025-07-07 17:35:56 +05:30
Manav Rathi
f1cc16ddae Pass directly 2025-07-07 16:14:53 +05:30
ashilkn
6e14aaaad7 Create a working custom scroll bar without support for header and footer 2025-07-07 15:55:07 +05:30
AmanRajSinghMourya
62a798d527 Minor fix 2025-07-07 15:41:50 +05:30
AmanRajSinghMourya
0e41627306 Fix fast animation by checking AccessibilityFeatures.disableAnimations 2025-07-07 15:12:05 +05:30
Manav Rathi
bcd5ca7bf5 [web] Various tweaks and fixes (#6483) 2025-07-07 15:08:21 +05:30
Manav Rathi
ba94427b36 Reword comment 2025-07-07 15:02:52 +05:30
AmanRajSinghMourya
b7c11998c6 Handle edge cases for memories 2025-07-07 14:38:04 +05:30
Manav Rathi
4864091202 Serial 2025-07-07 14:19:54 +05:30
Manav Rathi
72c45bd706 Special case for Twitter 2025-07-07 14:09:53 +05:30
ashilkn
28be02bb9a Create a scrollOffsetToGroupID map to be used in custom scroll bar 2025-07-07 14:00:32 +05:30
ashilkn
93851db27a Refactor 2025-07-07 13:59:26 +05:30
Manav Rathi
8335c9ac7e Inline 2025-07-07 13:41:57 +05:30
ashilkn
8a0f61a1c7 Refactor + add header and footer of gallery 2025-07-07 13:38:41 +05:30
Manav Rathi
db30b8cfe8 Move 2025-07-07 13:28:02 +05:30
Manav Rathi
65f75e3467 Inline 2025-07-07 13:23:14 +05:30
Manav Rathi
b9d9c6f65a Another 2025-07-07 13:16:01 +05:30
Manav Rathi
e07fdfb5e1 sudo-like 2025-07-07 12:39:50 +05:30
Manav Rathi
2a7b218fed [web] More code improvements to download notification handling (#6481) 2025-07-07 11:59:41 +05:30
Manav Rathi
63a9ef9455 Skip redundant 2025-07-07 11:38:24 +05:30
Manav Rathi
148a3c13db Better handling of empty albums 2025-07-07 11:32:43 +05:30
Manav Rathi
e79426e47f Types 2025-07-07 11:11:05 +05:30
Manav Rathi
a5f3085e01 + sidebar 2025-07-07 11:02:21 +05:30
Manav Rathi
ec5b5ca80d Move to gallery 2025-07-07 10:32:19 +05:30
Neeraj
2d076c3df8 [auth] New translations (#6402)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-07-07 10:07:12 +05:30
Aman Raj Singh Mourya
6e67a8b815 [mob][photos] Fix share action (#6464)
## Description
Clear selected file after share action is completed.
## Tests

### After

https://github.com/user-attachments/assets/a316409d-4d3e-45c8-ba79-38bd21e5c352

### Before

https://github.com/user-attachments/assets/4941d4ab-55a7-4d17-9504-29d15a3d1cea
2025-07-07 10:05:28 +05:30
Manav Rathi
896c2a3fe9 [web] Fix typo in preview URL (#6480) 2025-07-07 09:36:56 +05:30
Manav Rathi
cbe7d2532b Fix typo 2025-07-07 09:36:05 +05:30
Manav Rathi
099b4202c0 [web] Public albums static link preview - Take 2 (#6479) 2025-07-07 09:26:19 +05:30
Manav Rathi
6f181a7bbd Take 2 2025-07-07 09:18:47 +05:30
Manav Rathi
211fa7cc11 [web] Public albums static link preview (#6478) 2025-07-07 08:17:08 +05:30
Manav Rathi
043f8913c2 Unused 2025-07-07 08:13:42 +05:30
Manav Rathi
0748c9bf8d Albums static link preview 2025-07-07 08:07:18 +05:30
Manav Rathi
6e979c7591 [web] New translations (#6477)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-07-07 07:44:09 +05:30
Crowdin Bot
53210c2212 New Crowdin translations by GitHub Action 2025-07-07 01:17:58 +00:00
Crowdin Bot
85fb861980 New Crowdin translations by GitHub Action 2025-07-07 01:05:31 +00:00
Crowdin Bot
efc19d1262 New Crowdin translations by GitHub Action 2025-07-07 00:43:36 +00:00
Aman Raj Singh Mourya
172531c585 [auth] Update Proton suite icons (#6465)
This PR adds the Proton Pass and Proton Wallet icons. The Calendar,
Drive, and Mail icons were already included in Simple Icons as
single-color versions. However, to maintain consistency with the Proton,
Proton Pass, and Proton Wallet icons and to reflect the official brand
colors, I have updated these icons to the full-color versions from
[Proton's media kit](https://proton.me/media/kit).
2025-07-05 12:19:51 +05:30
AmanRajSinghMourya
8cc0fa7305 Fix 1st memory of 1st memory block and last memory of last memory block by reseting animation and poping to home screen respectively 2025-07-05 02:08:08 +05:30
Sven
cc19b24cc4 Add Proton suite icons and update custom icons data 2025-07-04 20:51:49 +02:00
AmanRajSinghMourya
87f04dbaa6 Minor refractor 2025-07-04 23:40:29 +05:30
AmanRajSinghMourya
bf644477dc Clear selectedFiles after share action 2025-07-04 23:39:12 +05:30
AmanRajSinghMourya
5748039371 Revert "Clear selected file after share action"
This reverts commit 7e93b52e5e.
2025-07-04 23:37:52 +05:30
AmanRajSinghMourya
7e93b52e5e Clear selected file after share action 2025-07-04 23:35:12 +05:30
Manav Rathi
e173982115 [web] Rework handling of download progress notifications (#6462) 2025-07-04 20:06:15 +05:30
Manav Rathi
4445ef8aef Tweaks 2025-07-04 19:51:16 +05:30
Manav Rathi
3b273a9e7b Sketch 6 2025-07-04 19:45:31 +05:30
Manav Rathi
ec23e869e8 Sketch 4 2025-07-04 18:15:17 +05:30
Manav Rathi
dcb4dd4944 Sketch 3 2025-07-04 17:45:51 +05:30
Manav Rathi
12f890a501 Sketch 2 2025-07-04 17:31:15 +05:30
Manav Rathi
4e474d4f29 Sketch 2025-07-04 16:52:26 +05:30
Manav Rathi
9020907b56 Sketch 2025-07-04 16:30:42 +05:30
Vishnu Mohandas
3812a92913 [mobile] Restructure folders (#6461)
## Description

## Tests
2025-07-04 16:29:30 +05:30
Neeraj Gupta
369fcddc39 Fix typo in path 2025-07-04 16:29:03 +05:30
Neeraj Gupta
b08545d40d Update workflows 2025-07-04 16:16:56 +05:30
Neeraj Gupta
99d7685be2 Move auth/ to mobile/apps/auth 2025-07-04 16:16:27 +05:30
Neeraj Gupta
9f12229b28 Move mobile/ -> mobile/app/photos 2025-07-04 16:12:46 +05:30
Manav Rathi
d1951a1f10 Rename 2025-07-04 15:58:32 +05:30
Manav Rathi
85a3a2f2ea Update 2025-07-04 15:49:22 +05:30
Manav Rathi
275c1d4705 Move 2025-07-04 15:18:00 +05:30
ashilkn
f70c284b58 Use better name 2025-07-04 14:34:09 +05:30
Manav Rathi
d3bef2e8cb [web] Reduce lint overrides (#6460) 2025-07-04 14:16:09 +05:30
Manav Rathi
522704ccb8 strictNullChecks prep - 1 2025-07-04 14:08:33 +05:30
Manav Rathi
6ae0516bd7 More lints and tsc 2025-07-04 13:48:45 +05:30
Manav Rathi
e64d66a320 More lints 2025-07-04 12:47:13 +05:30
ashilkn
27faef415f Use better names 2025-07-04 12:32:43 +05:30
ashilkn
fd05961303 Improve performance of group building function by not eagerly computing each group header's title and instead, offload it to the GroupHeaderWidget to compute lazily when it's built 2025-07-04 12:31:12 +05:30
Manav Rathi
093624a6ee Rest 2025-07-04 12:28:08 +05:30
Manav Rathi
9d87560d5c Lint 2025-07-04 12:17:57 +05:30
Manav Rathi
04a23c03d2 [web] Ensure SRP attributes are also present after signup (#6459) 2025-07-04 12:13:58 +05:30
ashilkn
23728107a3 Remove unused parameter 2025-07-04 12:11:17 +05:30
Manav Rathi
2ffce031de Ensure SRP attributes are also present after signup 2025-07-04 12:10:03 +05:30
ashilkn
cde42eb43a Use better name 2025-07-04 11:53:16 +05:30
ashilkn
ce380b3b7a Log time taken for computing GalleryGroups and it's sectionLayout + add keys to GalleryFileWidget to fix issues 2025-07-04 11:03:25 +05:30
Manav Rathi
d4d29d1957 [web] Accounts DB refactoring (complete) (#6458) 2025-07-04 10:38:55 +05:30
Manav Rathi
94b4c6b0bb Touchups
Writing the ID is necessary, the first time we get is when e.g. the pk is verified.
2025-07-04 10:32:15 +05:30
Manav Rathi
a2072c022c Don't add a history entry for automated client routing redirects 2025-07-04 09:36:29 +05:30
Manav Rathi
7dabd9545e Fin 2025-07-04 09:26:45 +05:30
Manav Rathi
46dc71ebd2 Rework 2025-07-04 09:07:53 +05:30
Manav Rathi
bbe10b1618 Update 2025-07-04 08:37:09 +05:30
Manav Rathi
c9521fb626 Update 2025-07-04 08:08:35 +05:30
Manav Rathi
70b5b8e682 Update 2025-07-04 07:30:27 +05:30
Manav Rathi
5c0b3795c2 Tweak 2025-07-04 07:23:06 +05:30
Manav Rathi
69cf09e13d Rework 2025-07-03 19:00:43 +05:30
Manav Rathi
9e4a67312f Update 2025-07-03 17:47:06 +05:30
Manav Rathi
4e8a4250dc Update 2025-07-03 16:31:20 +05:30
ashilkn
1cc80aab75 Make selection work with new gallery 2025-07-03 16:18:43 +05:30
Manav Rathi
ea5ebd0965 Perf
I didn't see it being a problem, so this is perhaps premature optimization
2025-07-03 16:10:33 +05:30
Manav Rathi
ef752a244c Handle family email 2025-07-03 15:42:19 +05:30
ashilkn
0d55ae1a6d Fix spacing issue 2025-07-03 15:34:14 +05:30
ashilkn
ad892c1055 Fix incorrect logic of finding index of file in gallery 2025-07-03 15:24:56 +05:30
Manav Rathi
6249211bca Rename 2025-07-03 15:21:17 +05:30
Manav Rathi
5b7d4a8806 Update 2025-07-03 15:13:45 +05:30
Manav Rathi
337c25b670 Update 2025-07-03 15:05:10 +05:30
Vishnu Mohandas
595e458c49 [mob] Fix strings (#6454) 2025-07-03 14:41:23 +05:30
vishnukvmd
eb92929647 Update 2025-07-03 14:40:56 +05:30
vishnukvmd
9d24914c1c Fix case 2025-07-03 14:39:56 +05:30
Manav Rathi
e68b695284 Used but missing 2025-07-03 14:00:10 +05:30
Manav Rathi
0343bdd393 Unused
Notice the typo
2025-07-03 13:54:29 +05:30
Manav Rathi
745528a9f1 [web] Accounts local DB internals refactoring - Part 2 (#6453) 2025-07-03 13:51:53 +05:30
Manav Rathi
b7e6015720 Outline 2025-07-03 13:26:40 +05:30
Manav Rathi
a3364408b7 Conv 2025-07-03 12:20:27 +05:30
Manav Rathi
67c65657a4 Split 2025-07-03 12:09:24 +05:30
ashilkn
29f7a54950 Layout calculation fixes and use better names 2025-07-03 11:41:30 +05:30
Manav Rathi
fd39c78e5d Cleanup after ourselves 2025-07-03 11:01:31 +05:30
Manav Rathi
e88a3b59e7 [web] Accounts data storage internals cleanup (#6451) 2025-07-03 10:58:10 +05:30
ashilkn
2b258f984d Change names 2025-07-03 10:56:39 +05:30
Ashil
44c73cb110 [mob][photos] Better copy for describing why device is not ready for local indexing (#6446)
## Description

#### Old
"Indexing is paused. It will automatically resume when device is ready."


#### New
"Indexing is paused. It will automatically resume when the device is
ready. The device is considered ready when its battery level, battery
health, and thermal status are within a healthy range."
2025-07-03 10:49:06 +05:30
Manav Rathi
5c4b4b9194 Rest 2025-07-03 10:43:15 +05:30
ashilkn
3cf4d3ee31 Merge branch 'main' into gallery_rewrite 2025-07-03 10:40:35 +05:30
ashilkn
b1386b8f57 Extract group building code to a function for better readability 2025-07-03 10:37:59 +05:30
Manav Rathi
802a3edf9b Handle qp 2025-07-03 08:48:03 +05:30
Manav Rathi
aec3ec718b Move 2025-07-03 08:33:20 +05:30
Manav Rathi
e856a653b8 State reset 2025-07-03 08:13:38 +05:30
Manav Rathi
21fb4e6a03 Refactor 2025-07-03 07:42:08 +05:30
Manav Rathi
ef7ff0b186 Dep 2025-07-03 07:23:19 +05:30
Manav Rathi
95c35d7df8 read and prune 2025-07-03 07:23:19 +05:30
Manav Rathi
0d5b1ef094 Blurbs 2025-07-03 07:23:19 +05:30
Manav Rathi
033caedfb5 Conv 2025-07-03 07:23:19 +05:30
Aman Raj Singh Mourya
32d1d357ba [Auth] add warner bros. icon (#6373)
## Description
Fixes #5949

## Tests

| before | after |
| ---- | ---- |
| ![Screenshot From 2025-06-26
12-48-36](https://github.com/user-attachments/assets/e8be0c70-bd3a-4a03-beb7-41ef37e353c6)
| ![Screenshot From 2025-06-26
13-02-25](https://github.com/user-attachments/assets/ba37473f-fb0d-4405-b490-3fc3625121ce)
|
2025-07-02 22:48:25 +05:30
Manav Rathi
9927cc1988 [web] Accounts DB cleanup (#6447) 2025-07-02 19:32:05 +05:30
Manav Rathi
efaab96e2c Inline 2025-07-02 19:19:21 +05:30
Manav Rathi
1a6c6d2b67 un-back 2025-07-02 19:14:10 +05:30
Manav Rathi
093e3a0061 Conv 2025-07-02 18:48:02 +05:30
Manav Rathi
f7597e5ea5 New, with fallback 2025-07-02 18:17:23 +05:30
Manav Rathi
2c57a99b5f Conv 2025-07-02 18:10:25 +05:30
Manav Rathi
d7b6c771e8 Move 2025-07-02 17:10:06 +05:30
ashilkn
1feebfdb83 Better copy 2025-07-02 16:21:03 +05:30
Manav Rathi
f1f0a77bc0 [web][desktop] Regular dependency updates (#6445) 2025-07-02 15:45:28 +05:30
Manav Rathi
a8c270433a Web deps 2025-07-02 15:33:35 +05:30
Manav Rathi
7aa327badd Jackspeak pinning isn't needed anymore
https://github.com/isaacs/jackspeak/issues/5#issuecomment-2750748920
2025-07-02 15:10:47 +05:30
Manav Rathi
042e08f504 Update desktop deps
The ONNX runtime dependency needs to use a revision since 1.22.0 has an issue
preventing it from building on Linux:
https://github.com/microsoft/onnxruntime/issues/24770
2025-07-02 15:04:48 +05:30
Manav Rathi
c2a84cd707 [web] Remove old ente-shared package (#6444) 2025-07-02 14:44:06 +05:30
Neeraj
45d89e4108 [mob][photos] Fix contact result in search section (#6443)
## Description
Fix showing contact result in the search section and also show the
albums shared by that contact like the contact section in the shared
collection tab.

## Tests
[Video](https://wormhole.app/xk6MZ4#qu9aa_r0VcGhkEDypz7l1g)
2025-07-02 14:43:54 +05:30
AmanRajSinghMourya
290df814b8 Remove check for archive collection 2025-07-02 14:35:40 +05:30
Manav Rathi
42f2d51766 Remove ente-shared 2025-07-02 14:34:43 +05:30
Manav Rathi
06656c1d88 Remove dep 2025-07-02 14:32:59 +05:30
AmanRajSinghMourya
794d1e0112 Fix: show shared collection also when searching for contacts in search section 2025-07-02 14:18:24 +05:30
Manav Rathi
d2a0c74554 Move and preamble 2025-07-02 14:16:50 +05:30
Neeraj
81e40b0872 [mob][photos] additional fixes for widgets (#6428)
## Description

Some more fixes for widgets.

## Tests
2025-07-02 14:13:00 +05:30
Manav Rathi
cd51f1f147 Use 2025-07-02 14:08:23 +05:30
Ashil
cbe7c32150 [mob][photos] Improved handling of high resolution image rendering (#6442)
## Description

Previously, images larger than 160MP were downscaled to 16MP to avoid
crashes caused by
[this](https://github.com/flutter/flutter/issues/110331) flutter issue.

This update lowers the threshold to 100MP and increases the downscaling
resolution to 50MP, for a better balance between performance and image
quality.

## Tests

- Tested with 150MP and 200MP images on a Samsung A54 (8GB RAM).
- Verified that rendering a 50MP downscaled image increases memory
usage, but remains within acceptable limits.
2025-07-02 13:56:41 +05:30
Manav Rathi
089a5835b0 Convert 2025-07-02 13:42:58 +05:30
ashilkn
06a30078da Decrease threshold of Pixels needed in image to categorize it as a 'too large image' and decrease the extent of compression from 16MP to 50MP of such images. Large images are rendered in lower resolution so that the app doesn't crash 2025-07-02 13:41:09 +05:30
Prateek Sunal
97bdcffd9d fix: isBackground check 2025-07-02 13:12:33 +05:30
Manav Rathi
c74f79e93b Prune 2025-07-02 12:39:57 +05:30
Prateek Sunal
162a2efe71 fix: move fav init to album service 2025-07-02 12:29:42 +05:30
Manav Rathi
1634c90ad9 Prune 2025-07-02 11:12:18 +05:30
Manav Rathi
2235482345 Conv 2025-07-02 11:01:57 +05:30
Manav Rathi
e2bee5d5a4 Move 2025-07-02 10:47:28 +05:30
Manav Rathi
5e4ad6e6a4 Move 2025-07-02 10:41:47 +05:30
Manav Rathi
ad7dad59bc Move 2025-07-02 10:35:21 +05:30
Manav Rathi
cf99651e2d Move 2025-07-02 10:24:40 +05:30
Manav Rathi
4a26ce1b58 Prune 2025-07-02 10:21:03 +05:30
Manav Rathi
9bdb0f6a94 Fix warning
A component is changing an uncontrolled input to be controlled. (UploaderName.tsx 111)
2025-07-02 10:17:00 +05:30
Manav Rathi
3a46f9994f [web] Remove axios (#6440) 2025-07-02 09:40:32 +05:30
Ashil
f053b7962b [mob] Update launch.json in mobile docs to include cronetHttpNoPlay=true for android (#6439) 2025-07-02 09:21:33 +05:30
Neeraj
76a479064e [mob] Update change log order (#6438)
## Description

## Tests
2025-07-02 09:19:57 +05:30
Manav Rathi
ffb19c3a65 Prune 2025-07-02 09:17:03 +05:30
ashilkn
ddcfd2ff43 Update launch.json in mobile docs to include cronetHttpNoPlay=true for android 2025-07-02 09:15:38 +05:30
Neeraj Gupta
3c7b1c6c5e [mob] Update change log order 2025-07-02 09:15:02 +05:30
Manav Rathi
d04ee0aa71 Prune 2025-07-02 09:07:42 +05:30
Manav Rathi
ce020d4398 Use 2025-07-02 08:59:03 +05:30
Manav Rathi
028a5cf827 Update 2025-07-02 08:47:52 +05:30
Manav Rathi
c60288b0df Simplify 2025-07-02 08:24:23 +05:30
Manav Rathi
2fba8a2705 Extract sort 2025-07-02 07:29:24 +05:30
laurenspriem
f66304815e Fix null error 2025-07-01 20:58:22 +02:00
laurenspriem
17ac627ddd Align icon 2025-07-01 20:52:43 +02:00
Manav Rathi
54aec6e0db Touch ups 2025-07-01 20:50:17 +05:30
Manav Rathi
7edb1fab7b Sketch 2025-07-01 20:31:34 +05:30
Manav Rathi
21738995cc Sketch 1 2025-07-01 20:03:44 +05:30
Manav Rathi
b752af7046 Swap 2025-07-01 19:52:04 +05:30
Manav Rathi
60b044e61a Impl 2025-07-01 19:44:43 +05:30
Manav Rathi
98364405c6 Sketch 1 2025-07-01 19:42:27 +05:30
Manav Rathi
23558a2584 [desktop] Start next release cycle (#6432) 2025-07-01 19:22:09 +05:30
Manav Rathi
035f40dc0a Start next release cycle 2025-07-01 19:20:35 +05:30
Prateek Sunal
910a64dc1c fix: refresh tap 2025-07-01 19:11:13 +05:30
Manav Rathi
8c5bc316f9 photosd-v1.7.14 (#6431) 2025-07-01 18:44:47 +05:30
Manav Rathi
645bb485a7 photosd-v1.7.14 2025-07-01 18:43:17 +05:30
Prateek Sunal
68fa4d87eb Merge remote-tracking branch 'origin/main' into widget 2025-07-01 18:38:06 +05:30
Prateek Sunal
f527624027 fix: only pick from non cache for memories when has any widgets 2025-07-01 18:37:30 +05:30
Prateek Sunal
fb06332272 fix: home widget sync in background 2025-07-01 18:35:59 +05:30
Manav Rathi
4fda4b5773 [web] Public albums internal code improvements - Part 2 (#6430) 2025-07-01 18:35:27 +05:30
Prateek Sunal
68efbc2bed fix: don't select first two people by default 2025-07-01 18:27:01 +05:30
Manav Rathi
e47d6a8ece Update 2025-07-01 18:23:34 +05:30
Prateek Sunal
09466f05c6 fix: get top two faces logic 2025-07-01 18:10:24 +05:30
Manav Rathi
738088e8a5 Update 2025-07-01 18:09:59 +05:30
Manav Rathi
54dde95545 Sketch 2025-07-01 17:59:08 +05:30
Prateek Sunal
7ded133caf chore: fix expandedHeight scaling 2025-07-01 17:57:56 +05:30
Prateek Sunal
fe2f066733 fix: albums logic 2025-07-01 17:52:54 +05:30
Manav Rathi
5034fb4496 Update 2025-07-01 17:43:14 +05:30
Manav Rathi
b854730533 Sketch 2025-07-01 17:39:00 +05:30
Manav Rathi
a538e852bd Update 2025-07-01 17:28:13 +05:30
Manav Rathi
436a5811cb Use 2025-07-01 17:16:37 +05:30
Manav Rathi
27a400743c Sketch 2025-07-01 17:14:31 +05:30
Prateek Sunal
4e692fce1f fix: collection service is not initialized 2025-07-01 17:01:44 +05:30
Neeraj
09de1f2d46 [mob] Minor copy change (#6429)
## Description

## Tests
2025-07-01 16:54:18 +05:30
Neeraj Gupta
2caf773bbe Update changelog title 2025-07-01 16:53:53 +05:30
Prateek Sunal
edc015d589 Merge remote-tracking branch 'origin/main' into widget 2025-07-01 16:51:30 +05:30
Prateek Sunal
d5707a030b fix: rearrange the priority of execution 2025-07-01 16:51:22 +05:30
Neeraj
8ed7fa0e4c [mob][photos] fix widget display (#6425)
## Description

The total widget count was not updated properly hence widget had no idea
of it getting updated.

This PR fixes that.

## Tests
2025-07-01 16:16:15 +05:30
Ashil
4f9e9f30aa [mob][photos] Handle play/pause animation in memory when bottom sheet open (#6427)
## Description
Play/pause memory animation when file bottom sheet is close/open
respectively
2025-07-01 16:15:55 +05:30
ashilkn
f08f72c46a Use better naming convetion 2025-07-01 16:15:30 +05:30
AmanRajSinghMourya
4885c13d86 Add ToggleMemoryAnimationEvent for memory animation control 2025-07-01 16:05:33 +05:30
Manav Rathi
46b0b7ce70 [web] Public albums internal code improvements (#6424) 2025-07-01 16:04:10 +05:30
Ashil
bd267edf3f [mob][photos] Fix/avoid recommended filters going blank on calling setState from different screens that have gallery (#6426) 2025-07-01 16:02:08 +05:30
ashilkn
b0d44f3799 Fix/avoid recommended filters going blank on calling setState from different screens that have gallery 2025-07-01 15:57:42 +05:30
Prateek Sunal
bb91471cdc chore: update milliseconds to seconds 2025-07-01 15:50:46 +05:30
Manav Rathi
7f24ffd7ef Fix uploader name not getting used in form 2025-07-01 15:49:34 +05:30
Ashil
fb03c88a5d [mob][photos] Memories improvement (#6152)
## Description
1. A subtle zoom-in/out effect for photos and replaced the black area
around landscape photos with a blurred background.
2. Auto play each image for 5 second and video for its duration with a
step progress animation.
3. Long-press to pause animation. Releasing will resume the playback.
2025-07-01 15:40:03 +05:30
Manav Rathi
07420304d0 Impl and swap 2025-07-01 15:35:47 +05:30
Prateek Sunal
aa26a48e67 fix: add more logs + no defeult selection for people 2025-07-01 15:26:35 +05:30
Manav Rathi
bd776dc98d Swap 2025-07-01 15:17:27 +05:30
Manav Rathi
dc3f0be186 Sketch 2025-07-01 15:13:37 +05:30
Manav Rathi
5cc68e5bb5 Rename 2025-07-01 14:53:27 +05:30
AmanRajSinghMourya
092d8aa9f5 Merge branch 'memory_improvement' of https://github.com/ente-io/ente into memory_improvement 2025-07-01 14:52:57 +05:30
AmanRajSinghMourya
2d87237d10 Fixed ios close button not working 2025-07-01 14:47:01 +05:30
Laurens Priem
579c2620bf [mob][photos] Suggestions on all people page (#6375)
## Description

Adds suggestions to the all people page when tapping on the people
section. Similar to the suggestion within a person gallery.

## Tests

Tested in debug mode on my pixel phone.
2025-07-01 14:41:18 +05:30
Prateek Sunal
3c2eeadec6 fix: readd total logic for widgets + essential logs 2025-07-01 14:38:17 +05:30
laurenspriem
1b178ec6ab Merge branch 'main' into faces_all_suggestion 2025-07-01 11:04:20 +02:00
ashilkn
944b2ec4b8 Remove unused file 2025-07-01 14:33:31 +05:30
laurenspriem
ac7e4eeccf Reduce face thumbnail lru further 2025-07-01 10:58:39 +02:00
Ashil
0bddd91b2e [mob][photos] Album UI improvements (#6176)
## Description

### Changes

1. Album corner radius (114 size - 12px corner radius) (100 size - 8px
corner radius)
2. Thumbnail view size 60 -  corner radius 4
3. Padding between album thumbnail and Album name is 6
4. Padding between Album name and number of photos is 2
5. Album name (text size) - Small regular , Full black (color)
6. Number of photos (text size) - Mini Regular  , Text muted (color)
7. New design for Add album thumbnail
8. Distance between album vertically & horizontally 8px
9. List view border radius 6px and thumbnail radius 4px
2025-07-01 14:27:53 +05:30
ashilkn
ae225cf89d Resolve conflicts and merge main 2025-07-01 14:27:09 +05:30
ashilkn
8569b27e8f Revert "Revert changes to arb files"
This reverts commit 236a51b0b8.
2025-07-01 14:25:46 +05:30
Manav Rathi
4f4649f7a2 Swap 2025-07-01 14:18:24 +05:30
ashilkn
b69f1bd237 Pin uncategorized album to top of collection action sheet 2025-07-01 14:17:28 +05:30
Manav Rathi
59e9967518 Fin 2025-07-01 14:14:31 +05:30
Manav Rathi
0621c3d30b Sketch save 2025-07-01 14:08:19 +05:30
ashilkn
236a51b0b8 Revert changes to arb files 2025-07-01 14:03:30 +05:30
Neeraj
c9f5c03e17 [mob] Add change log (#6423)
## Description

## Tests
2025-07-01 13:58:04 +05:30
AmanRajSinghMourya
1a3b38f219 Fix video going blank when played using media kit 2025-07-01 13:54:08 +05:30
Neeraj Gupta
ce377308e3 Add change log 2025-07-01 13:53:44 +05:30
ashilkn
155bb5a214 Merge branch 'main' into album_fixes 2025-07-01 13:42:40 +05:30
ashilkn
9d9b7a87f5 Remove merge conflict code 2025-07-01 13:38:23 +05:30
AmanRajSinghMourya
0c3b751b30 Use video_widget_media_kit.dart instead of video_widget_media_kit_new.dart 2025-07-01 13:38:18 +05:30
laurenspriem
6a8cfe31de Mounted check 2025-07-01 10:06:25 +02:00
Manav Rathi
c9175bee04 Sketch 2025-07-01 13:27:35 +05:30
Neeraj
76939691fd [mob] Cache persons entities (#6420)
## Description
- Offloads json decoding to computer.
- Frequently updates email to person cache on each db read for all
persons()

## Tests
2025-07-01 13:04:36 +05:30
Manav Rathi
c2b6bfa1ed Inline 2025-07-01 12:15:51 +05:30
Manav Rathi
0056d87009 [web] Trash improvements (#6421) 2025-07-01 12:04:18 +05:30
Manav Rathi
eaefeebe83 Recent first 2025-07-01 11:56:19 +05:30
Manav Rathi
d92183bd0b Match option order on mobile 2025-07-01 11:55:01 +05:30
Manav Rathi
27605ce156 Special case 2025-07-01 11:52:48 +05:30
Neeraj Gupta
df3a6a5a22 Clean up 2025-07-01 11:45:48 +05:30
ashilkn
eeff3d5cdf chore 2025-07-01 11:44:26 +05:30
ashilkn
0565b71653 Tweak next/previous memory animation 2025-07-01 11:44:00 +05:30
ashilkn
8e5786c6fb code cleanup 2025-07-01 11:25:56 +05:30
Neeraj Gupta
4b826d1aed Refresh cache on cgroup update 2025-07-01 11:12:42 +05:30
Neeraj Gupta
556177358e Cache persons data 2025-07-01 11:11:24 +05:30
ashilkn
19f4acfc94 Minor improvement 2025-07-01 11:06:45 +05:30
ashilkn
599e59c548 Add todos 2025-07-01 11:05:31 +05:30
Neeraj Gupta
19b508d869 Rename 2025-07-01 10:38:06 +05:30
ashilkn
c4719f7d9d Resolve merge conflicts and merge main 2025-07-01 10:37:13 +05:30
Manav Rathi
d5eea09c8a [desktop] Update to Electron 37 (#6419)
Changes: https://www.electronjs.org/blog/electron-37-0
2025-07-01 10:32:51 +05:30
Manav Rathi
04125bc30c [web] Convert the delete and fav actions to new code (#6418) 2025-07-01 10:30:20 +05:30
Manav Rathi
fda415aab1 Update to Electron 37
Changes: https://www.electronjs.org/blog/electron-37-0
2025-07-01 10:29:00 +05:30
Manav Rathi
ab052dcb89 qp 2025-07-01 10:21:05 +05:30
Neeraj Gupta
5210a5a0ba Add wrapper method for all entity changes 2025-07-01 10:20:52 +05:30
Manav Rathi
7607d2a14a Conv 2025-07-01 10:16:08 +05:30
Hailey Martin
0abf4354aa [Auth] Add LaunchDarkly to custom icons (#6399)
## Description

Adds a custom icon for the LaunchDarkly feature flag/automation service.
Icon was taken from their [press
kit](https://launchdarkly.com/press-and-analysts/) and given a hex code
to work on both dark & light modes.

## Tests

n/a
2025-07-01 10:00:55 +05:30
Manav Rathi
6c3cc168c9 [web] New translations (#6417)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-07-01 09:29:42 +05:30
Crowdin Bot
516420d872 New Crowdin translations by GitHub Action 2025-07-01 03:58:45 +00:00
Manav Rathi
358a86f18f [web] More improvements to handling of shared file operations (#6416) 2025-07-01 09:28:01 +05:30
Manav Rathi
52d024a263 Move to tr 2025-07-01 09:00:27 +05:30
Manav Rathi
da3df70544 Prevent bypass using keybinding 2025-07-01 08:57:31 +05:30
Manav Rathi
e3ed92e930 Visually better sequence 2025-07-01 08:47:57 +05:30
Manav Rathi
cfce0bc198 Also for fav 2025-07-01 08:46:10 +05:30
Neeraj
f9b2b90f4e [mob] Use cached mapping for person avatar (#6413) 2025-07-01 08:44:03 +05:30
Manav Rathi
c60aed7f0f Notify elsewhere too 2025-07-01 07:56:17 +05:30
Manav Rathi
1cc9115972 Don't use exceptions for flow control 2025-07-01 07:47:38 +05:30
Manav Rathi
332d4219ac Reusable 2025-07-01 07:38:03 +05:30
laurenspriem
3bda830156 Don't use isolate for compression 2025-06-30 19:52:38 +02:00
laurenspriem
00799c531a Single computer call for compression 2025-06-30 17:53:18 +02:00
laurenspriem
883b5b66e9 image quality 2025-06-30 17:40:49 +02:00
Manav Rathi
759bea83bb [web] Support removing from shared albums (#6412) 2025-06-30 21:05:02 +05:30
laurenspriem
51ba11cfcc Compress all face thumbnails 2025-06-30 17:28:24 +02:00
laurenspriem
4c82d6bc84 Smaller in memory cache 2025-06-30 17:17:16 +02:00
Manav Rathi
f66f6ab9be Don't show two dialogs 2025-06-30 20:43:21 +05:30
Manav Rathi
5f76391379 Fix 2025-06-30 20:35:31 +05:30
Manav Rathi
fa39effe9c Scaffold 2025-06-30 20:27:02 +05:30
Manav Rathi
61a7b4f07a Handle remove separately 2025-06-30 20:15:24 +05:30
Manav Rathi
798a03007a Catch 2025-06-30 20:02:05 +05:30
laurenspriem
8386e3a4f1 Variable width file info face thumbnail 2025-06-30 16:26:21 +02:00
Manav Rathi
3575704724 Remove from shared 2025-06-30 19:43:25 +05:30
laurenspriem
e8b68d7d28 Name truncate logic 2025-06-30 14:48:52 +02:00
Prateek Sunal
c7bf3a0a9d [mob][photos] widget fixes and cleanup (#6407)
## Description

Cleaning up and refactor widget related code.

## Tests
2025-06-30 16:44:51 +05:30
laurenspriem
66617ada86 Close button 2025-06-30 13:13:50 +02:00
ashilkn
edacaaa334 Merge branch 'clean_up_memories' into memory_improvement 2025-06-30 16:40:25 +05:30
Prateek Sunal
dfec66f971 Merge branch 'wid-fix' of https://github.com/ente-io/ente into wid-fix 2025-06-30 16:31:18 +05:30
Prateek Sunal
70faf61391 fix: don't partial sync for people 2025-06-30 16:30:57 +05:30
Neeraj Gupta
9903201fa8 Minor refactor 2025-06-30 16:21:31 +05:30
Manav Rathi
4a0f0f295d Rename 2025-06-30 16:19:06 +05:30
laurenspriem
16a2a5cc13 Fix name overflow 2025-06-30 12:43:32 +02:00
AmanRajSinghMourya
6405886aca Hide Play original option when showing memories 2025-06-30 16:07:48 +05:30
Manav Rathi
ad0cf583b5 Cleanup 2025-06-30 15:57:57 +05:30
ashilkn
2608a8c9ab Performance improvement in memories animation 2025-06-30 15:53:47 +05:30
ashilkn
d4e9bdd035 Use better names 2025-06-30 15:49:52 +05:30
laurenspriem
b6de9497d3 Bump version to match internal branch 2025-06-30 12:18:01 +02:00
ashilkn
e27f4544d0 Remove unnecessary scroll controller 2025-06-30 15:43:37 +05:30
Prateek Sunal
ac8efa9d7d fix: add debouncer to memories toggle 2025-06-30 15:42:11 +05:30
ashilkn
489c806923 Add mounted check 2025-06-30 15:36:38 +05:30
Prateek Sunal
e1a2946a2b chore: lint fixes 2025-06-30 15:36:07 +05:30
ashilkn
354c08921b Remove unnecessary AnimatedBuilder 2025-06-30 15:35:30 +05:30
Prateek Sunal
a7f89d0077 fix: replace awaited updateVariables calls with unawaited versions in MemoriesWidgetSettings 2025-06-30 15:35:23 +05:30
Manav Rathi
7d8fb296af Cleanup 2025-06-30 15:29:40 +05:30
laurenspriem
7509a367c5 Fix suggestion not using previous negative feedback 2025-06-30 11:43:22 +02:00
Prateek Sunal
5f0154f9fe fix: add unawaited to PeopleWidgetSettings 2025-06-30 15:12:28 +05:30
Manav Rathi
0c6cc8f7a1 [web] File selection handler options refactoring (#6410) 2025-06-30 15:11:02 +05:30
Manav Rathi
7f0ac9629e Lint fix 2025-06-30 15:06:56 +05:30
Prateek Sunal
c4a9b2e4f9 fix: improve album home widget service 2025-06-30 15:00:52 +05:30
Prateek Sunal
fcef3fd4e5 fix: make people and albums widget better 2025-06-30 14:46:12 +05:30
Manav Rathi
a434862b2f Rearrange 2025-06-30 14:33:10 +05:30
laurenspriem
c91ad8348e Horizontally center thumbnails 2025-06-30 11:01:58 +02:00
AmanRajSinghMourya
cac053f4e9 Minor fix 2025-06-30 14:12:53 +05:30
Manav Rathi
99b379280f Tweak 2025-06-30 13:58:48 +05:30
Neeraj
0529c8cf9b [mob] Remove old migration code (#6408)
## Description

## Tests
2025-06-30 13:50:09 +05:30
laurenspriem
5ae5341658 padding around save as another person button 2025-06-30 10:17:29 +02:00
laurenspriem
b3bff83a40 file info name fixed width 2025-06-30 10:15:32 +02:00
Manav Rathi
9efd99fd10 Extract 2025-06-30 13:19:19 +05:30
Prateek Sunal
7fc4f36970 fix: migrate most of the changes to people and albums widget as well 2025-06-30 12:39:35 +05:30
laurenspriem
fc5837ea3b Center name 2025-06-30 09:05:51 +02:00
Prateek Sunal
7ebb039b35 chore: lint fix and revert 2025-06-30 12:26:48 +05:30
Ashil
f33eb83eef [mob][auth] Bump up auth version to 4.4.1 (#6406)
## Description

For test flight release
2025-06-30 12:25:50 +05:30
Prateek Sunal
81947c61ab Merge remote-tracking branch 'origin/main' into wid-fix 2025-06-30 12:24:47 +05:30
Manav Rathi
8d3057e011 Extract 2025-06-30 11:56:48 +05:30
Prateek Sunal
d5a46f273a fix: begin widget code cleanup 2025-06-30 11:47:43 +05:30
Manav Rathi
b02e987fdc Tweak 2025-06-30 11:13:47 +05:30
ashilkn
ed6e401688 bump up auth version to 4.4.1 2025-06-30 11:12:40 +05:30
Manav Rathi
1256852259 Move 2025-06-30 10:55:44 +05:30
Manav Rathi
5b360a549a Rename etc 2025-06-30 10:44:39 +05:30
Aman Raj Singh Mourya
0337cccea4 [auth][mob] Fall back to Passcode if FaceId not detected on iOS (#6396)
## Description
Fallback to Pin/Passcode on iOS if fail to detect TouchID/FaceID
2025-06-30 10:36:58 +05:30
Manav Rathi
7514b93261 [desktop] Special case for systematic ML errors (#6405) 2025-06-30 09:52:16 +05:30
Manav Rathi
f5c5ffd86d Special case for many ML errors 2025-06-30 09:48:40 +05:30
Manav Rathi
ac4b737e89 [web] New translations (#6400)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-06-30 08:48:58 +05:30
Manav Rathi
4792775630 [destkop] Electron regular version update (#6403) 2025-06-30 08:35:02 +05:30
Manav Rathi
f22ca13205 + electron 2025-06-30 08:19:15 +05:30
Crowdin Bot
7076deb46e New Crowdin translations by GitHub Action 2025-06-30 00:42:58 +00:00
Keerthana
4eebcc03b9 [docs] Fixed typos in tailscale.md (#6393)
Fix small typing mistakes

## Description

## Tests
2025-06-29 11:51:46 +05:30
AmanRajSinghMourya
7eed321c99 Fall back to Passcode if FaceId not detected on iOS 2025-06-29 00:04:31 +05:30
AmanRajSinghMourya
9b39dd2697 Fix border radius for album items 2025-06-28 14:03:58 +05:30
Bl4ckspell
8e34fa7bf3 [auth] fix ibkr icon (#6374)
## Description
Fix the icon added in #6329 not displaying.

## Tests

| before | after |
| ---- | ---- |
| ![Screenshot From 2025-06-26
13-13-24](https://github.com/user-attachments/assets/6873aaa9-da8a-4f2d-92a4-a8c2117e05da)
| ![Screenshot From 2025-06-26
13-13-50](https://github.com/user-attachments/assets/6a5b142e-bbbb-4b54-80b9-71ddeae6c02b)
|
2025-06-28 13:39:37 +05:30
ashilkn
4be696dd6d Remove unnecessary Scaffold 2025-06-28 12:27:46 +05:30
laurenspriem
ea90f5c6cb Text under person 2025-06-28 11:22:14 +05:30
laurenspriem
ccaa00152e Yes/no buttons 2025-06-28 09:59:15 +05:30
Lappies
1b4ead7f77 Update tailscale.md
Fix small typing mistakes
2025-06-27 22:05:44 -06:00
ashilkn
a9b454a631 Update UI of title of memories and make it more visible by increasing bottom gradient when title is shown 2025-06-27 20:01:45 +05:30
ashilkn
a44db791d3 UI tweaks to full screen memory widget 2025-06-27 19:33:47 +05:30
Manav Rathi
23b017c17d [web] Collection summary refactoring (#6390) 2025-06-27 19:00:08 +05:30
Manav Rathi
4a81c56a55 Elsewhere 2025-06-27 18:55:04 +05:30
Manav Rathi
5141b04695 attr fin 2025-06-27 18:44:40 +05:30
Manav Rathi
e70d704ced attr 2025-06-27 18:44:40 +05:30
Manav Rathi
3f87fd1a5a Rename 2025-06-27 18:44:40 +05:30
Manav Rathi
72028ec9d2 attr 2025-06-27 18:44:39 +05:30
Manav Rathi
7af11786fb attr 2025-06-27 18:44:39 +05:30
Manav Rathi
61fb167cec Use 2025-06-27 18:44:39 +05:30
Manav Rathi
9fd950f928 Move up 2025-06-27 18:44:38 +05:30
Manav Rathi
a888d40722 Retain the active cs 2025-06-27 18:43:49 +05:30
Manav Rathi
5d594b4952 as attr 2025-06-27 18:43:49 +05:30
Manav Rathi
55a21c1233 only as attr 2025-06-27 18:43:49 +05:30
Manav Rathi
49e2ae3120 As attribute 2025-06-27 18:43:49 +05:30
Manav Rathi
5ee16e992b Conv 2025-06-27 18:43:49 +05:30
Manav Rathi
ad269fe995 [web] Fix avatar on share menu (#6389) 2025-06-27 18:43:29 +05:30
Manav Rathi
17937f8c54 Fix avatar on share menu 2025-06-27 18:40:02 +05:30
Keerthana
886ceec05c [email] reduce ambiguity in OTT verification (#6386)
## Description
This PR reduces ambiguity in OTT verification where some users replies
to our mail for verification instead of entering the code in the
application
2025-06-27 18:04:19 +05:30
Laurens Priem
433be55081 [mob][photos] Fix incorrectly showing ml consent bar (#6387)
## Description

Fix incorrectly showing ml consent bar

## Tests

Tested in debug mode on my pixel phone.
2025-06-27 17:14:53 +05:30
laurenspriem
e664a3ec70 Fetch user flags on login 2025-06-27 17:05:02 +05:30
laurenspriem
ad9fd6d547 show ml consent banner after syncing flags only 2025-06-27 16:51:55 +05:30
Keerthana
d921541d5d [email] reset formatting for ott mail 2025-06-27 16:48:20 +05:30
laurenspriem
6b16f7f172 Always init ml service 2025-06-27 16:44:03 +05:30
laurenspriem
e463d68688 Remove unneeded getter 2025-06-27 16:38:25 +05:30
Keerthana
41cda039ec [email] reduce ambiguity in OTT verification 2025-06-27 16:20:28 +05:30
AmanRajSinghMourya
4989204b59 Show border for device item 2025-06-27 16:05:33 +05:30
AmanRajSinghMourya
04ae708f33 Show border around album row items 2025-06-27 15:55:51 +05:30
Manav Rathi
d803c31d63 [web] Remove from collection internals refactoring (#6383) 2025-06-27 15:02:44 +05:30
Manav Rathi
903c46bae0 Sort prio 2025-06-27 14:57:37 +05:30
Manav Rathi
6b965b1aa6 Inline 2025-06-27 14:57:37 +05:30
Manav Rathi
04395739d5 Prune 2025-06-27 14:57:37 +05:30
Manav Rathi
c5ec0891c9 Conv to set 2025-06-27 14:57:37 +05:30
Manav Rathi
3213735a4d Inline 2025-06-27 14:57:36 +05:30
Manav Rathi
b854a603af Document and use 2025-06-27 14:57:36 +05:30
Manav Rathi
641f48e27d Fix 2025-06-27 14:57:36 +05:30
Manav Rathi
7016861281 Use 2025-06-27 14:57:36 +05:30
Manav Rathi
ae5144635e Sketch 2025-06-27 14:57:36 +05:30
Manav Rathi
a0a0556037 Conv 2025-06-27 14:57:36 +05:30
Manav Rathi
be8d1932b1 [web] Fallback for Map's values iterator's map method (#6382)
2025 baseline, but some customers have browsers which don't support it
yet

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Iterator/map
2025-06-27 14:41:54 +05:30
ashilkn
b127cf724b Fix memories UX when deleting a memory or closing one (from memories) 2025-06-27 14:40:25 +05:30
Manav Rathi
cc1177150b Fallback for Map-iterator values method
2025 baseline, but some customers have browsers which don't support it yet
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Iterator/map
2025-06-27 14:35:34 +05:30
Keerthana
9f82c3788b [docs] update with minio troubleshooting for deprecated command (#6381)
## Description
This PR updates documentation for users who are self-hosting Ente to
update post_start hook for MinIO provisioning and bucket creation to
work properly with the latest version of MinIO
2025-06-27 14:25:06 +05:30
ashilkn
67be26604f Show blurred background for live photos too in memories 2025-06-27 14:13:16 +05:30
Keerthana
ec4deb5179 [docs] update with minio troubleshooting for deprecated command 2025-06-27 13:38:53 +05:30
Keerthana
f02f10f832 [server][quickstart] migrate to mc alias set for creating bucket (#6380)
## Description
This PR fixes the infinite looping due to mc config not being found in
latest server images, which is replaced in favor of mc alias set,
responsible for creating buckets in post_start hook. This should fix the
issue that users run into while using our quickstart script

## Tests
- [x] I have tested with the latest MinIO server image
2025-06-27 13:30:19 +05:30
laurenspriem
eb75b2addf Fix gallery reload issue 2025-06-27 13:22:19 +05:30
ashilkn
a0061da938 Remove redundant setState rebulding VideoWidgtNative at high frequency 2025-06-27 12:27:09 +05:30
Keerthana
e5fbd5fde5 [server][quickstart] migrate to mc alias set for creating bucket 2025-06-27 12:05:21 +05:30
AmanRajSinghMourya
6c53421e36 Merge branch 'main' into album_fixes 2025-06-26 22:52:41 +05:30
Manav Rathi
e38477aa64 [web] Collection ops refactoring - Part 2 (#6379) 2025-06-26 20:30:07 +05:30
Manav Rathi
27380d3c42 Fav 2025-06-26 20:24:47 +05:30
Manav Rathi
a70f9327aa hide files 2025-06-26 20:02:33 +05:30
Manav Rathi
5dd6482937 New prim 2025-06-26 19:46:10 +05:30
Manav Rathi
6465106302 Rename 2025-06-26 19:21:49 +05:30
Manav Rathi
5b6d0e7a2a Use abstraction 2025-06-26 19:19:27 +05:30
Manav Rathi
8b46cf6bc5 [web] New collection diff implementation (#6376) 2025-06-26 18:53:20 +05:30
Manav Rathi
090e8bbf40 Simplify 2025-06-26 18:18:07 +05:30
laurenspriem
4ccb782740 Extract strings 2025-06-26 18:04:11 +05:30
laurenspriem
54722ac5c3 Different design on all people page 2025-06-26 18:00:30 +05:30
AmanRajSinghMourya
8e1711c951 Merge branch 'memory_improvement' of https://github.com/ente-io/ente into memory_improvement 2025-06-26 17:19:45 +05:30
AmanRajSinghMourya
088630ccce Enable swipe between memories when opened from notifications 2025-06-26 17:17:25 +05:30
laurenspriem
799b1b0d03 Remove redundant code 2025-06-26 16:59:31 +05:30
laurenspriem
dc787a2754 Prevent flicker on suggestion 2025-06-26 16:57:53 +05:30
Bl4ckspell
d319f42a4d [auth] add warner bros. icon 2025-06-26 13:03:35 +02:00
laurenspriem
aea62fcd2c Give least likely face thumbnail 2025-06-26 16:03:43 +05:30
AmanRajSinghMourya
b8eb200295 Enable swipe between memories when openend from widgets 2025-06-26 16:00:45 +05:30
laurenspriem
f16b75ae9c Integrate suggestion on all people screen 2025-06-26 15:31:46 +05:30
laurenspriem
47359051a1 Adapt PersonGallerySuggestion for all people 2025-06-26 15:31:24 +05:30
Manav Rathi
b273a70a3e new impl - tweak 2025-06-26 14:23:06 +05:30
Manav Rathi
3b3038ebb9 new diff impl wip 2025-06-26 14:09:31 +05:30
Manav Rathi
569a16cc5b [web] Support numeric query params in fetch helper (#6371) 2025-06-26 13:47:36 +05:30
Manav Rathi
3780d41765 Tweak 2025-06-26 13:27:56 +05:30
Manav Rathi
78b9ce1674 Conv 2025-06-26 13:09:18 +05:30
Manav Rathi
601a1d029b Support num qp 2025-06-26 12:54:13 +05:30
Manav Rathi
5c55e52cc1 New 2025-06-26 12:45:48 +05:30
Manav Rathi
2740ad75af Move 2025-06-26 12:38:21 +05:30
Manav Rathi
e3a72987ce Doc 2025-06-26 12:34:12 +05:30
Manav Rathi
6870ed24f2 [web] Prune gallery context (#6370) 2025-06-26 11:39:42 +05:30
Manav Rathi
ab2d49b162 Prune 2025-06-26 11:34:50 +05:30
laurenspriem
cd98458ada Comment 2025-06-26 11:08:14 +05:30
Manav Rathi
909cba41bc Update 2025-06-26 11:07:48 +05:30
Manav Rathi
3fdfb6c57d Forward 2025-06-26 10:49:43 +05:30
Manav Rathi
2fbce97f89 Fix gaps in notifications when downloading empty albums 2025-06-26 10:28:07 +05:30
Manav Rathi
e4fd78250d Use 2025-06-26 10:21:18 +05:30
Manav Rathi
cef3679bb3 Key warning 2025-06-26 10:10:08 +05:30
Manav Rathi
e65b5cefdc Use 2025-06-26 10:10:08 +05:30
Manav Rathi
71650df31f Use 2025-06-26 10:01:56 +05:30
Manav Rathi
b785fe69f4 Shared date select 2025-06-26 09:44:50 +05:30
Manav Rathi
67c3375ace Move 2025-06-26 09:41:05 +05:30
Manav Rathi
bdb5f5894e Forward 2025-06-26 09:14:28 +05:30
Manav Rathi
a0d4326d62 Prune 2025-06-26 08:31:04 +05:30
Manav Rathi
a16b20122d [desktop] Improve first CLIP query behaviour (#6369)
Keep some leeway so that the first CLIP query in a session also gets
resolved (on app starts after the model has been downloaded).
2025-06-26 08:23:20 +05:30
Manav Rathi
b981152dee Keep some leeway for fs.stat 2025-06-26 08:17:20 +05:30
Manav Rathi
63c1e63035 Prune 2025-06-26 08:12:18 +05:30
Manav Rathi
2c2b8f77cb sync => pull or other apropos 2025-06-26 07:50:17 +05:30
Manav Rathi
ef4b9ebc42 Rename 2025-06-26 07:45:51 +05:30
Manav Rathi
1babaf529e [web] Nomenclature cleanup (sync => pull) - Part 2 (#6368) 2025-06-26 07:41:35 +05:30
Manav Rathi
f4ec5f348d Prune 2025-06-26 07:17:01 +05:30
Manav Rathi
5a881440d9 Update 2025-06-26 07:10:58 +05:30
Manav Rathi
44f8d80b22 Use in collection share 2025-06-26 06:32:31 +05:30
Manav Rathi
477c01bc55 Update 2025-06-26 06:06:35 +05:30
Manav Rathi
b2df63e499 Doc and tweak 2025-06-26 05:43:27 +05:30
Manav Rathi
038de1d7ad [web] Serialize remote pulls (#6365) 2025-06-25 20:57:36 +05:30
Manav Rathi
5f1e393ac7 Simplify 2025-06-25 20:49:35 +05:30
Manav Rathi
e38a39200a Remove potentially illdefined forcing support 2025-06-25 20:41:21 +05:30
Manav Rathi
217b40a107 Serialize 2025-06-25 20:29:27 +05:30
Manav Rathi
938e7284d7 nerf ret 2025-06-25 20:17:34 +05:30
Manav Rathi
8fe3182b79 [web] Nomenclature cleanup (sync => pull) (#6364) 2025-06-25 20:05:21 +05:30
Manav Rathi
d271472984 Lint fix 2025-06-25 19:58:54 +05:30
Manav Rathi
3acb04f4cc Rename 3 2025-06-25 19:53:00 +05:30
Manav Rathi
9628bf8723 Rename 2 2025-06-25 19:41:51 +05:30
Manav Rathi
4161371a8e Post rename - 1 2025-06-25 19:24:51 +05:30
Manav Rathi
0bb10f2ee0 Rename 2025-06-25 18:53:41 +05:30
Manav Rathi
3f50771e18 Update 2025-06-25 18:50:50 +05:30
Manav Rathi
9d707fcb48 Update 2025-06-25 18:48:05 +05:30
ashilkn
a13db6b268 fix UI 2025-06-25 18:42:44 +05:30
Manav Rathi
2b9d80d23f Update 2025-06-25 18:40:12 +05:30
ashilkn
8706b368ba Update memories title size 2025-06-25 18:27:29 +05:30
AmanRajSinghMourya
d46b27e81f Revert memory notification and swipe improvements 2025-06-25 18:02:16 +05:30
Manav Rathi
58f3144ea0 [web] Rework the handling of hidden files (#6362) 2025-06-25 17:05:24 +05:30
ashilkn
d65aeaf181 UI tweaks 2025-06-25 16:53:32 +05:30
Manav Rathi
da8b9daff0 Retain prior behavior 2025-06-25 16:48:58 +05:30
Manav Rathi
a6a1b4baa8 file IDs 2025-06-25 16:32:50 +05:30
ashilkn
b9f6d19152 Resolve merge conflicts and merge UI/UX improvements to memory_improvement branch 2025-06-25 16:27:40 +05:30
ashilkn
324d2fbe4f Minor UI tweaks 2025-06-25 16:17:17 +05:30
ashilkn
86446ab8bf Improve FullScreenMemeory UI 2025-06-25 15:55:04 +05:30
Neeraj
380289e660 [docs] Fix git rename (#6361)
## Description

## Tests
2025-06-25 15:21:17 +05:30
Manav Rathi
c66ee58d85 norm + hidden - fin 2025-06-25 15:07:32 +05:30
Manav Rathi
37a70125b9 norm + hidden - wip 6 2025-06-25 14:56:17 +05:30
Manav Rathi
c8715ca846 norm + hidden - wip 5 2025-06-25 14:38:59 +05:30
Manav Rathi
d3491b80ee Move to reducer 2025-06-25 14:12:44 +05:30
Neeraj
fa62abb7be [auth] fix unknown hard error on windows (#6360)
## Description

Fixes https://github.com/ente-io/ente/issues/5789
https://github.com/ente-io/ente/issues/4523
https://github.com/ente-io/ente/issues/4099
https://github.com/ente-io/ente/issues/4270

## Tests
2025-06-25 14:08:48 +05:30
Manav Rathi
2b57a59b47 Tweak 2025-06-25 13:57:20 +05:30
Manav Rathi
3bf3018d22 normal + hidden - wip 4 2025-06-25 13:51:54 +05:30
Prateek Sunal
fd331c0733 fix: unknown hard error on windows 2025-06-25 13:49:31 +05:30
Manav Rathi
b5f12b56fa normal + hidden - wip 3 2025-06-25 12:52:38 +05:30
Neeraj
096a1dd043 Fix: Do not request compute lock if streaming is disabled (#6358)
## Description


## Tests
During testing, i noticed a log saying the ML lock is denied because
stream is getting generated. I hadn't enabled video streaming on that
device.
2025-06-25 12:33:58 +05:30
Manav Rathi
02e2abef07 hidden + normal - wip 2 2025-06-25 12:17:29 +05:30
Aman Raj Singh Mourya
e629db5bb1 [mob][photos] Memory notification improvement (#6359)
## Description
Enable swiping between memory blocks when opening a memory from
notification.
2025-06-25 12:07:55 +05:30
AmanRajSinghMourya
1274ea21d4 Enable swipe between memory block when opened from notification 2025-06-25 12:04:34 +05:30
Neeraj Gupta
6fda320c83 reduce log severity 2025-06-25 11:55:45 +05:30
Neeraj Gupta
7a3cd9a139 refactor 2025-06-25 11:52:51 +05:30
Manav Rathi
06a5611a56 normal and hidden files storage merge - wip 2025-06-25 11:46:29 +05:30
Neeraj Gupta
db8fa98ac6 Fix: Do not request compute lock if streaming is disabled 2025-06-25 11:45:41 +05:30
Neeraj
952f8212dc [mob][photos] Faces UX improvements (#6343)
## Description

- Show smaller clusters (solves
[#4091](https://github.com/ente-io/ente/discussions/4091))
- New suggestions in people page
- Give feedback from file info
- Multi select actions in all people page
- Better face thumbnail caching

## Tests

Tested in debug mode on my pixel phone.
2025-06-25 11:43:15 +05:30
ashilkn
24507f5f23 Use better name 2025-06-25 11:11:43 +05:30
Manav Rathi
66079b0af2 Outline 2025-06-25 11:08:14 +05:30
ashilkn
88498f11fc Start scale animation in FullScreenMemory widget only if final image is loaded 2025-06-25 10:45:19 +05:30
Manav Rathi
c5afc6d453 Conv 2025-06-25 10:38:40 +05:30
Neeraj
5d7848752f [auth] Added Zitadel icon (#6355)
The Zitadel icon is not available.
2025-06-25 09:23:02 +05:30
ashilkn
bf93e28a3d Improve UX of FullScreenMemory widget 2025-06-25 09:19:56 +05:30
Manav Rathi
124006929f Doc and tweak 2025-06-24 21:42:13 +05:30
Manav Rathi
bf8713ba21 Refactor 2025-06-24 21:42:13 +05:30
AmanRajSinghMourya
878b46631f Enable swipe to next memory block when opened from home-memory-widget 2025-06-24 18:07:39 +05:30
laurenspriem
4832739ff8 Fix reset of scroll position 2025-06-24 17:27:45 +05:30
laurenspriem
67f43453aa Change logger.finest to logger.info 2025-06-24 17:18:29 +05:30
Neeraj
43eb6ca30f [mob][photos] Schedule birthday notifications for everyone (#6354)
## Description

Makes sure that birthday notifications are scheduled even for persons
who haven't been in any recent pictures.
2025-06-24 17:15:20 +05:30
laurenspriem
2449c6d592 Specify value key 2025-06-24 16:39:11 +05:30
laurenspriem
f41bd1818d Fix state issue in face file info 2025-06-24 16:23:22 +05:30
sickjuicy
8f8056a918 Added Zitadel icon 2025-06-24 12:18:40 +02:00
Prateek Sunal
c14846f4fc [mob][photos] add hash check for people widget (#6341)
## Description

- [x] Add hash functionality to PeopleHomeWidget to track updation
- [x] Clear hash on albums widget clear

## Tests

- [x] Test if updating different people trigger it or not
2025-06-24 15:33:40 +05:30
laurenspriem
2eaa2d6ee2 schedule birthday notifications for everyone 2025-06-24 15:16:59 +05:30
laurenspriem
d183000fe3 make more tappable 2025-06-24 14:55:12 +05:30
AmanRajSinghMourya
396b893f43 Refactor FullScreenMemory layout and improve title styling 2025-06-24 14:46:57 +05:30
Prateek Sunal
fffb1e2734 refactor: rename getUpdatedAtHash to getPreHashForEntities for clarity 2025-06-24 14:38:51 +05:30
Prateek Sunal
4419090831 fix: move the concat logic to sql side 2025-06-24 14:38:19 +05:30
laurenspriem
f6e464bb21 Remove redundant code 2025-06-24 14:13:01 +05:30
laurenspriem
88d3f2388c Remove suggestion banner 2025-06-24 14:09:48 +05:30
laurenspriem
7bbbeceab5 Compress face thumbnail in regular isolate 2025-06-24 14:05:06 +05:30
AmanRajSinghMourya
8d35e16abe Preload the first unseen memory for each unseen memory 2025-06-24 13:03:35 +05:30
Prateek Sunal
282f908ffd chore: remove unwanted param 2025-06-24 12:45:39 +05:30
AmanRajSinghMourya
9f86b3fdd2 Merge branch 'memory_improvement' of https://github.com/ente-io/ente into memory_improvement 2025-06-24 11:59:09 +05:30
ashilkn
a3c011070a Clip items of page view used in memories 2025-06-24 11:51:15 +05:30
laurenspriem
ef76904b4d Use old logic for suggestions 2025-06-24 11:27:33 +05:30
ashilkn
aa4b44f8bd Add animation between the blurred thumbnails of items of a memory as a workaround for the flash between items when transitioning 2025-06-24 11:26:35 +05:30
laurenspriem
311b7ef77e Increase tappable area 2025-06-24 11:15:40 +05:30
ashilkn
2678b94433 Use ImageFilterd widget to blur image instead of BackdropFilter for better performance 2025-06-24 10:25:10 +05:30
laurenspriem
eac85d1708 String extract 2025-06-24 10:14:09 +05:30
laurenspriem
766608696d Revert memory cache 2025-06-24 10:14:02 +05:30
laurenspriem
59b761bf33 Remove duplicate time 2025-06-24 10:07:43 +05:30
laurenspriem
b93f78b3c9 Compression min dimensions 2025-06-24 09:57:47 +05:30
ashilkn
bcc293358f chore 2025-06-24 09:47:34 +05:30
laurenspriem
4c30d9d6d1 Less logging 2025-06-24 09:27:37 +05:30
laurenspriem
022dd35d5a Higher logging level in production 2025-06-24 09:22:49 +05:30
Neeraj
9351c1121e [Auth] Add custom icon - IBKR (#6329)
## Description
Add custom icon for  IBKR (Interactive Brokers) investing platform
## Tests
2025-06-24 08:57:24 +05:30
Manav Rathi
a7a69aa558 [web] Systematize trash internals (#6350) 2025-06-24 08:56:16 +05:30
laurenspriem
3923f18cd8 initState first 2025-06-24 08:48:09 +05:30
Manav Rathi
fbd0bf257e Tweak 2025-06-24 08:17:40 +05:30
Manav Rathi
86d09d997a refactor 2025-06-24 08:06:08 +05:30
Manav Rathi
241e1cbf88 Inv 2025-06-24 07:21:05 +05:30
Manav Rathi
fc4379f4e1 Prune 2025-06-24 06:54:29 +05:30
Manav Rathi
d84c42e5c1 Rework 2025-06-23 20:34:12 +05:30
Manav Rathi
b092fcaf29 rework 2025-06-23 19:26:40 +05:30
Prateek Sunal
3dd9696f75 Merge remote-tracking branch 'origin/main' into widgets-imp 2025-06-23 18:13:45 +05:30
Prateek Sunal
0eba503d2f chore: bump lock 2025-06-23 18:13:38 +05:30
Prateek Sunal
b6ea502bc3 fix: fetch from cgroup and check if preHash is empty 2025-06-23 18:13:31 +05:30
Manav Rathi
e603853e52 [web] File internals cleanup - Part 3/x (#6345) 2025-06-23 18:10:11 +05:30
Manav Rathi
fa137dcccc Move to use site 2025-06-23 17:55:43 +05:30
Prateek Sunal
7719c4604e fix: remove updatedAt from [PersonEntity], better hash logic 2025-06-23 17:27:18 +05:30
Manav Rathi
4b82516909 Move 2025-06-23 17:13:22 +05:30
Manav Rathi
17648c582a Simplify 2 2025-06-23 16:44:54 +05:30
Manav Rathi
1559ae7f42 Simplify 2025-06-23 16:28:04 +05:30
Manav Rathi
498a60d752 Discr union 2025-06-23 16:22:43 +05:30
laurenspriem
22b6707e92 Extract strings 2025-06-23 16:14:43 +05:30
laurenspriem
08b92cc560 Add save to person button to old suggestions flow 2025-06-23 16:00:57 +05:30
Manav Rathi
37bc453de6 Parse res 2025-06-23 15:50:10 +05:30
Manav Rathi
493fe4b3a5 [web] Files internals code cleanup (#6342) 2025-06-23 15:42:11 +05:30
laurenspriem
f22a065c15 Fire event only once 2025-06-23 15:40:59 +05:30
Manav Rathi
6b50b24abf Prune 2025-06-23 15:34:44 +05:30
Prateek Sunal
b0b8169e2e fix: remove redundant log 2025-06-23 15:34:34 +05:30
laurenspriem
53ab5b05c3 Stay on same page when user doesn't save as other person 2025-06-23 15:30:48 +05:30
laurenspriem
bd93fe5538 Make button more tappable 2025-06-23 15:21:55 +05:30
Prateek Sunal
96ebaf3c7f fix: add updatedAt to [PersonEntity], add hash to people widget check, clear hash on clearWidget for Albums 2025-06-23 15:18:29 +05:30
Manav Rathi
0ba9bdb666 ll edits 2025-06-23 15:14:35 +05:30
laurenspriem
f66a433442 Improve state update when added face to person 2025-06-23 15:11:18 +05:30
laurenspriem
c14021f2a7 Improve state update when removing face 2025-06-23 15:02:29 +05:30
Manav Rathi
85ac983ab9 edits time 2025-06-23 14:44:43 +05:30
Manav Rathi
3f0897ae77 Conv 2025-06-23 14:16:46 +05:30
laurenspriem
f7e96794cd Fix gallery reload issue 2025-06-23 14:12:55 +05:30
Prateek Sunal
1624ef52d7 [mob] improve background processing (#5442)
## Description

Use workmanager on android and iOS.

## Tests
2025-06-23 14:12:49 +05:30
Prateek Sunal
b7541e02e1 chore: remove internal checks 2025-06-23 14:05:18 +05:30
Prateek Sunal
db69caedf9 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-06-23 14:04:31 +05:30
Prateek Sunal
9dac908dc1 chore: bump locks 2025-06-23 14:04:21 +05:30
Prateek Sunal
7211f4992a fix: remove reference of background_fetch 2025-06-23 14:03:35 +05:30
Manav Rathi
606a838ad0 transform on read so that we can handle the other case too 2025-06-23 13:34:59 +05:30
Manav Rathi
65bf785cce tx 2025-06-23 12:51:48 +05:30
laurenspriem
3bcab0216f Generated strings 2025-06-23 11:43:54 +05:30
laurenspriem
cb83a19edf Merge branch 'main' into faces_ux 2025-06-23 11:32:38 +05:30
Manav Rathi
6df16159d0 Use 2025-06-23 10:31:25 +05:30
Manav Rathi
a840950fbb Direct 2025-06-23 10:25:11 +05:30
Manav Rathi
8ae29074c5 Bench scaffolding 2025-06-23 10:16:34 +05:30
Manav Rathi
f22372c271 Sketch 2025-06-23 10:07:44 +05:30
Manav Rathi
568d4eadff Rest 2025-06-23 09:51:57 +05:30
Manav Rathi
755de42dbe Reuse 2025-06-23 09:44:56 +05:30
Manav Rathi
1016706a6b Sketch 2025-06-23 09:31:24 +05:30
Manav Rathi
76bff25de1 [web] New translations (#6337)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-06-23 09:16:00 +05:30
Crowdin Bot
d1c393b177 New Crowdin translations by GitHub Action 2025-06-23 00:42:51 +00:00
AmanRajSinghMourya
4e52caf23b Reduce sigma values & use ClipRect to avoid zoom overflow 2025-06-22 20:31:56 +05:30
SteamRadionice
03462771a4 Add files via upload 2025-06-21 11:19:41 +00:00
SteamRadionice
c9304c1992 [Auth] Add custom icon - IBKR
Add custom icon for  IBKR (Interactive Brokers) investing platform
2025-06-21 11:03:27 +00:00
laurenspriem
2baeaf1119 Make people all page selectable 2025-06-21 15:05:37 +05:30
laurenspriem
6cdc6ce9b4 Put person face thumbnails in documents directory 2025-06-21 12:22:09 +05:30
laurenspriem
97307598f0 Compress face thumbnail if needed 2025-06-21 12:09:18 +05:30
Neeraj
de4bbf44d7 [cli] Improve support handling passkey login for selfhost (#6328)
## Description
Removed the need for specifying account's app url as server returns the
same in the response to auth challenge.

## Tests
2025-06-21 10:11:43 +05:30
Neeraj Gupta
bc39f60183 cli: Improve support handling passkey login for selfhost 2025-06-21 10:09:50 +05:30
Neeraj
45308a70a8 [mob] Fix for duplicate page open for album link (#6327)
## Description

## Tests
2025-06-21 09:49:13 +05:30
Neeraj Gupta
450c7b187f Clean up logs 2025-06-21 09:46:11 +05:30
Neeraj Gupta
f3438751ed Fix for duplicate page open for album link 2025-06-21 09:43:34 +05:30
Manav Rathi
919d1a4503 [web] Switch to new EnteFile TypeScript type (internal) (#6323) 2025-06-20 20:30:32 +05:30
Manav Rathi
de0f3205ac Update 2025-06-20 20:04:55 +05:30
Neeraj
d8f2965f82 [mob][photos] use correct tonemap logic (#6322)
## Description

Fixes the tonemap logic

## Tests
2025-06-20 19:43:19 +05:30
Manav Rathi
7954b143b5 Swap 2025-06-20 19:42:36 +05:30
Prateek Sunal
17d33fc9f6 fix: issue with streaming 2025-06-20 19:28:41 +05:30
Manav Rathi
c18b1a7e83 Split 2025-06-20 19:12:09 +05:30
Manav Rathi
21ec31d4d3 Parse 2025-06-20 19:02:40 +05:30
laurenspriem
bd0f04258a Extract strings and change colours 2025-06-20 18:39:01 +05:30
laurenspriem
7d995bd83a Make the suggestion dismissible 2025-06-20 18:13:59 +05:30
Manav Rathi
98fd2021b7 [web] File internals cleanup (#6320) 2025-06-20 18:03:04 +05:30
Manav Rathi
63fc066301 Schema 2025-06-20 17:53:49 +05:30
Manav Rathi
d9fa30dbef Unused 2025-06-20 17:48:08 +05:30
Manav Rathi
012a3bef0a Replace 2025-06-20 17:40:54 +05:30
Manav Rathi
c23cd8d2f0 Cleanup 2025-06-20 17:37:10 +05:30
Manav Rathi
9e80aeb061 Cleanup 2025-06-20 17:32:04 +05:30
laurenspriem
cbf82f464d More smooth animation 2025-06-20 17:29:25 +05:30
ashilkn
6d576adce0 Display group header widget 2025-06-20 17:09:23 +05:30
Manav Rathi
eb5a0cb1db Prune 2025-06-20 17:08:23 +05:30
laurenspriem
43b96776e4 Less aggressive precompute 2025-06-20 16:58:36 +05:30
Manav Rathi
57d919b56f [web] File viewer tweaks (#6319) 2025-06-20 16:52:13 +05:30
Manav Rathi
54b9661ddc Lint 2025-06-20 16:48:38 +05:30
Manav Rathi
b13f4c0b18 Join 2025-06-20 16:42:08 +05:30
ashilkn
af6942e99d Populate grid rows with actual thumbnails 2025-06-20 16:26:33 +05:30
Manav Rathi
d8e5526655 Rewrite
The logic is same, just afresh write
2025-06-20 16:17:07 +05:30
laurenspriem
e4de98b9d6 Prevent annoying reload 2025-06-20 16:13:13 +05:30
ashilkn
bb75627383 Populate grid rows with placeholders 2025-06-20 16:00:21 +05:30
laurenspriem
130148e5d6 Check auto merge on hiding persons 2025-06-20 15:53:02 +05:30
Manav Rathi
e2f40f1e33 Improve robustness of refresh logic 2025-06-20 15:41:50 +05:30
laurenspriem
13c9afb219 Remove redundant parameter 2025-06-20 15:14:06 +05:30
laurenspriem
a32a6e9b9e Redesign and add extra button to gallery suggestion 2025-06-20 15:13:13 +05:30
ashilkn
828ade2609 Get a bare-bones structure of the new gallery working 2025-06-20 14:54:47 +05:30
Prateek Sunal
64d04ca22d fix: move time logger to top 2025-06-20 13:41:19 +05:30
Prateek Sunal
1996bc2612 fix: update timeout to 28 second 2025-06-20 13:39:20 +05:30
laurenspriem
eaa15b0d66 (fake) squircles everywhere 2025-06-20 13:16:08 +05:30
Prateek Sunal
8003b8a6b8 fix: update freq in native code 2025-06-20 13:13:20 +05:30
Prateek Sunal
904a2c9743 fix: refactor code, decrease freq for iOS, decrease timout for iOS 2025-06-20 13:13:12 +05:30
laurenspriem
c3d4214ad0 Extract strings 2025-06-20 12:50:29 +05:30
laurenspriem
f641fac98c birthday notifications copy change 2025-06-20 12:48:26 +05:30
Prateek Sunal
b03bdfb9d6 fix: refactor code 2025-06-20 12:46:06 +05:30
laurenspriem
f3484eff79 Another minor state fix 2025-06-20 12:33:01 +05:30
Prateek Sunal
55aa8d73f0 fix: indicate android functions in separate block 2025-06-20 12:21:33 +05:30
Manav Rathi
07da6cece6 New 2025-06-20 12:19:28 +05:30
laurenspriem
6799acf965 Null safety check 2025-06-20 12:19:02 +05:30
Manav Rathi
b3bb79ecd4 Time upd 2025-06-20 12:13:29 +05:30
Prateek Sunal
858d9d3f04 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-06-20 12:07:45 +05:30
Prateek Sunal
caa180ba1a fix: init user service as well 2025-06-20 12:06:01 +05:30
Manav Rathi
d58388e5d2 Improve usability on small screens 2025-06-20 12:03:48 +05:30
laurenspriem
6b5c4f07c2 Fix people_all_page missing small person 2025-06-20 11:52:53 +05:30
Prateek Sunal
03e7ad6268 [mob][photos] fix streaming (#6316)
## Description

- [x] Add missing filter
- [x] Log only params for ffmpeg command

## Tests

- [x] Test HDR and non-HDR videos
2025-06-20 11:51:47 +05:30
Prateek Sunal
61bd4eefa7 fix: only log params used for ffmpeg command for future debug 2025-06-20 11:44:44 +05:30
Manav Rathi
92e33c8c20 Caption 2025-06-20 11:43:14 +05:30
Manav Rathi
82063ce972 Mention file rename 2025-06-20 11:24:59 +05:30
Manav Rathi
fd8bbc3c95 Take 1 2025-06-20 11:12:33 +05:30
Manav Rathi
9cca314ea9 Relay 2025-06-20 11:08:36 +05:30
laurenspriem
33a64106be Fix UI flash 2025-06-20 11:01:33 +05:30
Manav Rathi
519287805f new 2025-06-20 10:47:45 +05:30
ashilkn
36880fac6d Custom render sliver for a completely lazyloading gallery and improved scroll performance 2025-06-20 10:40:28 +05:30
laurenspriem
83bf37c8bb Small improvements to file info face editor 2025-06-20 10:31:29 +05:30
ashilkn
328b2f5961 Create FixedExtentSectionLayout to keep layout data of each section (group) in gallery 2025-06-20 09:51:57 +05:30
ashilkn
3244686058 Create GallerySections model for holding data about a gallery 2025-06-20 09:50:16 +05:30
Manav Rathi
8af2aa35d4 [web] Batched visibility updates for file selections (#6315) 2025-06-20 09:26:14 +05:30
Manav Rathi
f743dc14d5 Swap 2025-06-20 09:12:41 +05:30
Manav Rathi
573d269aac Batch 2025-06-20 09:07:51 +05:30
Manav Rathi
18ef86ddc3 Multi 2025-06-20 08:54:55 +05:30
Manav Rathi
d6a340ac79 Sketch 2025-06-20 08:47:42 +05:30
Manav Rathi
b217093bc9 Funnel 2025-06-20 07:46:45 +05:30
Manav Rathi
d265181c26 Conv 2025-06-20 07:42:44 +05:30
Manav Rathi
a022d4aaa2 [web] General code improvements (#6314) 2025-06-20 06:52:26 +05:30
Manav Rathi
c4f6ed6938 Fix 2025-06-20 06:44:19 +05:30
Manav Rathi
6e3a0b1b94 Restrict 2025-06-20 06:33:18 +05:30
Manav Rathi
f6b6cfa4d0 Tweak 2025-06-20 06:21:02 +05:30
Manav Rathi
3ba6ecc3c2 Rename 2025-06-20 06:11:48 +05:30
Manav Rathi
bdfaf6dcd2 Unused (ft enum is now a number) 2025-06-20 05:55:30 +05:30
Manav Rathi
6e5fb95e8f Re 2025-06-20 05:46:56 +05:30
Manav Rathi
0c81d2ff56 Prune 2025-06-20 05:19:10 +05:30
Manav Rathi
d1dd9aacfe [web] Handle custom errors from new API code paths (#6312) 2025-06-19 20:28:38 +05:30
Manav Rathi
7f18c4e669 Revert to older behaviour 2025-06-19 20:23:56 +05:30
Manav Rathi
fe334c0a24 Include case 2025-06-19 19:54:30 +05:30
Manav Rathi
8e0172eb03 Prune 2025-06-19 19:40:39 +05:30
Manav Rathi
95b73953d8 Use 2025-06-19 19:30:52 +05:30
Manav Rathi
34c606ddba Tweak 2025-06-19 19:16:31 +05:30
Manav Rathi
63597b3bc4 Handle in same file 2025-06-19 18:43:25 +05:30
Manav Rathi
7dd6e46543 Reduce indent 2025-06-19 18:31:57 +05:30
Manav Rathi
c090609045 case 2 2025-06-19 18:26:45 +05:30
Prateek Sunal
4c9e7956c1 fix: add missing filter 2025-06-19 18:22:41 +05:30
Manav Rathi
1b0bc7fd1e case 1 2025-06-19 18:21:36 +05:30
Manav Rathi
2baa16bba7 Reroute 2025-06-19 18:12:15 +05:30
Manav Rathi
3587f8cafd Conv 2 2025-06-19 17:55:58 +05:30
Manav Rathi
8e756215c0 Conv wip 2025-06-19 17:46:02 +05:30
Manav Rathi
6512820653 Conv 2025-06-19 17:13:48 +05:30
Manav Rathi
8dd4a178dd Outline 2025-06-19 17:01:52 +05:30
laurenspriem
89cb13ffde Fix UI alignment issues 2025-06-19 16:54:44 +05:30
Manav Rathi
81cb6c5ee4 Inline 2025-06-19 16:49:52 +05:30
Manav Rathi
d3cd20ef1a Inline 2025-06-19 16:48:15 +05:30
Manav Rathi
0670d02bb8 Inline 2025-06-19 16:44:22 +05:30
laurenspriem
eef3f19644 Fix setState after disposal 2025-06-19 16:29:08 +05:30
Manav Rathi
b1e1f877d0 Inline 2025-06-19 16:14:20 +05:30
Manav Rathi
6be2d19b35 Handle sub expired from new code 2025-06-19 15:48:04 +05:30
Manav Rathi
1b700c894d ft cleanup 2025-06-19 15:23:57 +05:30
Manav Rathi
2ec460a01e [desktop] [web] Regular dependency updates (#6310) 2025-06-19 14:54:40 +05:30
Manav Rathi
ac25abf7d5 Fixed upstream 2025-06-19 14:49:49 +05:30
Manav Rathi
19d6f437e3 web deps 2025-06-19 14:34:55 +05:30
Manav Rathi
c9edc409bc Dep updates
Removed @types/ffmpeg-static because their npm page says:

" This package has been deprecated. This is a stub types definition. ffmpeg-static provides its own type definitions, so you do not need this installed."
2025-06-19 14:26:53 +05:30
Manav Rathi
599ca52e16 [desktop] Fix macOS build - Take 2 (#6309) 2025-06-19 14:22:59 +05:30
Manav Rathi
023de8274d Fix macOS build - Take 2 2025-06-19 14:16:55 +05:30
Manav Rathi
1b77d0eca6 [desktop] Fix macOS CI build (#6308) 2025-06-19 13:09:01 +05:30
Manav Rathi
e9092fe01d Fix build - Take 2 2025-06-19 13:07:59 +05:30
Manav Rathi
8bc60f9b5b [desktop] Fix nightly build (#6307) 2025-06-19 12:36:36 +05:30
Manav Rathi
a851a1132d Fix build 2025-06-19 12:33:25 +05:30
Manav Rathi
93930d0636 [web] File handling internals refactoring (#6306) 2025-06-19 12:12:10 +05:30
Manav Rathi
d9941a7711 Use accessor 2025-06-19 11:53:16 +05:30
laurenspriem
d8be34000b Better alignment 2025-06-19 11:48:35 +05:30
Neeraj
da993fa9f6 [mob] Show download percentage (#6305)
## Description

## Tests
2025-06-19 11:38:03 +05:30
laurenspriem
f76e07337d Smaller debug info 2025-06-19 11:12:08 +05:30
Neeraj Gupta
b09f7d57a0 Show download percentage 2025-06-19 11:09:25 +05:30
Manav Rathi
2c1dd14098 fn accessor 2025-06-19 11:09:12 +05:30
Manav Rathi
6249e5e4d6 Skip parsing of fields we don't use 2025-06-19 10:50:11 +05:30
Manav Rathi
3aa6e5712b Move 2025-06-19 10:32:58 +05:30
laurenspriem
a9d2b09260 Fix no faces cases 2025-06-19 09:46:30 +05:30
laurenspriem
a964976b67 Remove redundant code 2025-06-19 09:39:13 +05:30
laurenspriem
e48caecfe0 Organize 2025-06-19 09:36:14 +05:30
laurenspriem
686ab262b2 Lower face detection threshold during indexing 2025-06-19 09:30:10 +05:30
Manav Rathi
2418c24901 Rename 2025-06-19 09:09:10 +05:30
Manav Rathi
9c5e46ee11 Sketch 2025-06-19 09:05:06 +05:30
laurenspriem
1bbdefbd41 UI improvements 2025-06-19 08:59:16 +05:30
laurenspriem
3dcd2570ad Fix buttons working 2025-06-19 08:28:35 +05:30
Manav Rathi
2ed28c3b70 [desktop] Revert HLS flag until release spec finalization (#6302) 2025-06-18 20:52:36 +05:30
Manav Rathi
3c87ef0d28 Revert HLS flag until release spec finalization 2025-06-18 20:47:56 +05:30
Manav Rathi
d0fc047fc9 [web] File handling internals refactoring (#6301)
There are quite a few TODOs, but for the only case where the new code is
running (cast), the unfinished business should not get in the way.
2025-06-18 20:40:45 +05:30
Manav Rathi
3e0448bbe5 Lint workrounds for photos tsc 2025-06-18 20:32:02 +05:30
Manav Rathi
773d98e20c Doc 2025-06-18 20:27:41 +05:30
Manav Rathi
29afe01c40 Fix error handling 2025-06-18 20:11:40 +05:30
Manav Rathi
d49288a1c0 Use new type in cast 2025-06-18 20:02:42 +05:30
Manav Rathi
d7faaa6592 Handle 2025-06-18 17:03:15 +05:30
Manav Rathi
b99b3646da Doc 2025-06-18 16:53:51 +05:30
Prateek Sunal
d4ca156f53 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-06-18 16:46:52 +05:30
Prateek Sunal
4e59a4af5f fix: run suicide and cancellable operation simultaneously 2025-06-18 16:46:11 +05:30
Neeraj
15eb0321ac [server] Gracefully handle client retry (#6285)
## Description

## Tests
2025-06-18 16:42:27 +05:30
laurenspriem
f7dfb5df24 MVP file info feedback 2025-06-18 16:39:22 +05:30
Neeraj Gupta
52103c4b2f Fix: match value instead of ptr 2025-06-18 16:23:05 +05:30
Prateek Sunal
9fd724ff2d fix: restrict initial delay to internal users 2025-06-18 16:19:23 +05:30
Prateek Sunal
230244f2e5 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-06-18 16:02:30 +05:30
Neeraj
7f14bdd0a0 [mob] Streaming minor fixes & refactoring (#6292)
## Description

- [x] Better HDR Detection
- [x] Code side all options are merged to one with more documentation
- [x] Better cutoff date
- [x] Max FPS 30
- [x] Max height 720p
- [x] Better Tonemapping
- [x] Remove redundant hls time and video bitrate

## Tests
2025-06-18 15:48:02 +05:30
laurenspriem
f71e5accce Restore face score minimum for ui 2025-06-18 15:32:44 +05:30
Neeraj
e055c750aa [mob] Log req id on network error (#6300)
## Description
We can use this to trace the request on the server (if it actually
reached server).

## Tests
2025-06-18 15:08:22 +05:30
Neeraj Gupta
11f2cce274 Log reqest id on error 2025-06-18 14:37:46 +05:30
Neeraj Gupta
69eef7043f Use nanoID for request id 2025-06-18 14:37:46 +05:30
Neeraj
60cc6fda96 [mob] Log event source for public link handling (#6298)
## Description
Opening public link within the app opens the collection twice, adding
logs to investigate the root cause.
## Tests
2025-06-18 14:36:55 +05:30
laurenspriem
ee603ba82e Log faceID issues 2025-06-18 14:26:19 +05:30
Prateek Sunal
8c8f0b46ef Merge remote-tracking branch 'origin/main' into streaming-out-of-beta 2025-06-18 14:03:30 +05:30
Prateek Sunal
231a77239f fix: disable streaming by default 2025-06-18 14:00:58 +05:30
Manav Rathi
89f58bf043 Sketch 2025-06-18 13:28:57 +05:30
Manav Rathi
4dc3421ab9 Split 2025-06-18 13:28:57 +05:30
Manav Rathi
ce9c227780 Type 2025-06-18 13:28:57 +05:30
Manav Rathi
0d77c0a49b Conv 2025-06-18 13:28:57 +05:30
Manav Rathi
f9b67e2197 R1 2025-06-18 13:28:57 +05:30
Manav Rathi
114ff5dc9b Take 1 at remote type 2025-06-18 13:28:57 +05:30
Manav Rathi
2a85d17cc1 Outline 2025-06-18 13:28:57 +05:30
Neeraj
d430a5cf31 [mob] Skip hash check for local only assets (#6295)
## Description
Also logging the stackTrace on exception
## Tests
2025-06-18 12:12:34 +05:30
Laurens Priem
f484f953fa [mob] Fix: use OS specific logic for computing device health (#6296)
## Description

## Tests
2025-06-18 12:11:36 +05:30
Francisco Pires Negromonte
c23d9cb96f [auth] Add custom icons for memed and sei (#6297)
Custom icons added for:

- Memed (a brazilian online prescription service)
- Sei! (Sistema Eletrônico de Informações)
2025-06-18 11:40:14 +05:30
Neeraj Gupta
eca8f3432e [mob] Fix: use OS specific logic for computing device health 2025-06-18 11:29:16 +05:30
Neeraj Gupta
2edce34f29 Generate l10n files 2025-06-18 11:23:40 +05:30
Neeraj Gupta
af0fccf36e Fix lint 2025-06-18 11:19:17 +05:30
Neeraj Gupta
f00d04c0b8 Fix translation 2025-06-18 11:13:54 +05:30
Neeraj Gupta
a310fbe14f Skip hash check for local only assets 2025-06-18 11:07:19 +05:30
laurenspriem
fc1e119fcd Return new clusterID 2025-06-18 11:07:12 +05:30
Laurens Priem
569423af12 [mob][photos] Various tiny changes (#6294)
## Description

Just copy and rename changes.
2025-06-18 10:02:05 +05:30
laurenspriem
8cd25252f8 Better copy 2025-06-18 09:53:35 +05:30
laurenspriem
1e63fe72cf More logging for birthday notification redirect 2025-06-18 09:49:17 +05:30
Prateek Sunal
1a5a7d71b6 fix: extract filters to simplify command 2025-06-17 20:46:26 +05:30
Prateek Sunal
91198d02e3 fix: remove the concept of cutoff date 2025-06-17 20:19:52 +05:30
Prateek Sunal
aa45fe898a Revert "fix: remove the limit for size and duration"
This reverts commit 9acfbf355c.
2025-06-17 20:07:09 +05:30
Prateek Sunal
92e013d5c9 fix: set streaming on by default 2025-06-17 20:03:43 +05:30
Prateek Sunal
9acfbf355c fix: remove the limit for size and duration 2025-06-17 20:02:03 +05:30
Prateek Sunal
59f64da447 fix: merge all options for ffmpeg hls 2025-06-17 19:56:22 +05:30
Manav Rathi
31f3958925 [web] Collection internals refactoring (#6290) 2025-06-17 19:21:03 +05:30
Manav Rathi
c78588c9c2 Fix "A component is changing an uncontrolled input to be controlled" 2025-06-17 19:15:16 +05:30
Manav Rathi
2dbeffe380 Match the behaviour of LocalCollection 2025-06-17 19:05:47 +05:30
Manav Rathi
9f9aa17cb4 Reorder 2025-06-17 18:59:15 +05:30
Manav Rathi
44ea3d92e2 Conv 2025-06-17 18:55:25 +05:30
Manav Rathi
21d3f42e2a Conv 2025-06-17 18:44:14 +05:30
Manav Rathi
b4052fcc00 Swap 2025-06-17 18:36:38 +05:30
Manav Rathi
fc7b8c18cb Fix error on unarchiving last archived item 2025-06-17 18:33:37 +05:30
Manav Rathi
6983dd9364 Pass directly 2025-06-17 18:12:42 +05:30
Manav Rathi
5877d64449 ontology 2025-06-17 18:06:15 +05:30
Manav Rathi
cc54faf78a Move 2025-06-17 17:40:26 +05:30
Manav Rathi
446b7bbd00 Conv 2025-06-17 17:21:00 +05:30
Manav Rathi
53468c9c3e Reactive 2025-06-17 17:01:53 +05:30
Manav Rathi
67e1cddfa1 Conv 2025-06-17 16:43:11 +05:30
Manav Rathi
5c83f3aa15 Outline 2025-06-17 16:34:05 +05:30
Manav Rathi
d32b44bc2d Outline 2025-06-17 15:52:32 +05:30
Manav Rathi
b70c216131 Rename 2025-06-17 15:43:51 +05:30
Manav Rathi
58e2b8ab52 Rename 2025-06-17 15:43:51 +05:30
Manav Rathi
8b7e630bed Move 2025-06-17 15:43:51 +05:30
laurenspriem
323c37c34e Change birthday copy 2025-06-17 15:35:59 +05:30
laurenspriem
b593f2d390 Rename file 2025-06-17 15:23:20 +05:30
laurenspriem
3800ba1dc9 Rename variables for clarity 2025-06-17 15:11:46 +05:30
laurenspriem
8a00cfe2e7 cluster feedback method for face level feedback 2025-06-17 15:04:29 +05:30
Manav Rathi
e8e0ff63fc [web] Collection storage internals refactoring (#6289) 2025-06-17 14:34:03 +05:30
Neeraj
c324267c5f [mob] Remove dead code (#6288)
## Description

## Tests
2025-06-17 13:33:21 +05:30
Manav Rathi
6a481f40da Impl 2025-06-17 13:29:45 +05:30
Manav Rathi
d02650047a Outline 2025-06-17 13:08:13 +05:30
Neeraj Gupta
b908fd8efb Remove dead code 2025-06-17 12:38:39 +05:30
laurenspriem
0aaed84549 Switch back to round face thumbnails 2025-06-17 12:32:28 +05:30
laurenspriem
7b980d83c1 Fix suggestion result not updating 2025-06-17 11:43:23 +05:30
Neeraj
dc9a90046e [mob][l10n] Fix arb with multiple plurals (#6287)
## Description

## Tests
2025-06-17 11:40:13 +05:30
laurenspriem
3cd5610b45 person gallery suggestion UI 2025-06-17 11:36:31 +05:30
Neeraj Gupta
48a392ef78 Fix arb 2025-06-17 11:21:25 +05:30
Neeraj Gupta
1e324b3e5c Update Podfile.lock 2025-06-17 11:06:08 +05:30
Manav Rathi
37967ecc05 Impl 1 2025-06-17 10:55:18 +05:30
Manav Rathi
b3776600e6 Sketch 2025-06-17 10:33:57 +05:30
Neeraj
90f3deb5e7 [mobile] New translations (#6269)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-06-17 10:28:39 +05:30
Neeraj Gupta
79d35f3710 Gracefully handle client retry 2025-06-17 10:16:49 +05:30
Manav Rathi
5b2463258c Take 2 2025-06-17 09:53:41 +05:30
Manav Rathi
7607003dd5 Trim 2025-06-17 09:43:52 +05:30
Manav Rathi
c4abdc3230 More details 2025-06-17 09:35:25 +05:30
laurenspriem
de079ca3b8 Fix in suggestion calc logic 2025-06-17 09:20:44 +05:30
Manav Rathi
80f1420170 Split 2025-06-17 09:13:35 +05:30
Manav Rathi
e3c7c8c994 Update 2025-06-17 08:35:09 +05:30
Manav Rathi
dabdb01ce6 Swap 2025-06-17 08:09:17 +05:30
Neeraj
6a4a971863 [mob] Refactor auth for public collections (#6278)
## Description

## Tests
2025-06-16 23:00:00 +05:30
Neeraj
de6a0ab5bc [auth] New translations (#6270)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-06-16 21:20:00 +05:30
Manav Rathi
41102dab4b Impl 1 2025-06-16 20:42:15 +05:30
Manav Rathi
9ac77d832f Take 1 2025-06-16 20:28:18 +05:30
Manav Rathi
2ab250e7db Outline 2025-06-16 20:21:45 +05:30
Manav Rathi
75e289640a Trim 2025-06-16 19:34:44 +05:30
Vishnu Mohandas
6bf4b9faf4 [auth] Remove dead code related to recovery key verification (#6281) 2025-06-16 19:27:17 +05:30
vishnukvmd
15925b47fb Remove dead code related to recovery key verification 2025-06-16 19:26:56 +05:30
Manav Rathi
a58ab7cd16 conv 2 2025-06-16 19:25:19 +05:30
Manav Rathi
e566b1596d convert wip 1 2025-06-16 17:48:33 +05:30
Manav Rathi
a61389b776 by id 2025-06-16 16:29:28 +05:30
Manav Rathi
14c9dad567 Inline 2025-06-16 16:29:28 +05:30
Manav Rathi
fc1f3d66a2 Rename 2025-06-16 16:29:28 +05:30
Manav Rathi
1d45f09162 Swap 2025-06-16 16:29:28 +05:30
Manav Rathi
33c321c7ff [photos] [desktop] Windows code signing (#6279) 2025-06-16 16:18:02 +05:30
Neeraj Gupta
6b336ed19a Remove redundant future 2025-06-16 16:08:57 +05:30
Neeraj Gupta
c6d57fe689 Refactor 2025-06-16 16:07:19 +05:30
Neeraj
154fb77a1f [mob] Add support for playing preview for shared public links (#6277)
## Description

## Tests
Tested locally and verified that I am able to play video preview
2025-06-16 16:02:26 +05:30
Neeraj Gupta
de1a87b855 Fix lint 2025-06-16 15:55:39 +05:30
Neeraj Gupta
d121bd5ed2 Refactor 2025-06-16 15:37:11 +05:30
Neeraj Gupta
fb55b785c2 Add support for playing preview for public links 2025-06-16 15:31:15 +05:30
laurenspriem
9ec9282492 Refactor methods 2025-06-16 15:03:27 +05:30
Neeraj Gupta
cf8ad57eea Merge remote-tracking branch 'origin/main' into shared_link_preview 2025-06-16 14:52:46 +05:30
Neeraj
0dad2dedeb [mob] Route to asset if sharedCollection has single asset (#6276)
## Description

## Tests
2025-06-16 14:52:31 +05:30
laurenspriem
276d75b47d Simple method for getting fast person suggestions 2025-06-16 14:41:49 +05:30
Neeraj Gupta
1230ed3018 Rename PreviewVideoStore - VideoPreviewService 2025-06-16 14:41:18 +05:30
Manav Rathi
c0d26e80b3 Windows code signing 2025-06-16 14:30:35 +05:30
laurenspriem
ea439c939f Tiny performance improvement 2025-06-16 14:29:08 +05:30
Neeraj
7976873384 [mob] Enable resumable download for all (#6275)
## Description

## Tests
2025-06-16 14:25:02 +05:30
Neeraj Gupta
bedda2cbc4 Rename 2025-06-16 14:21:46 +05:30
Neeraj Gupta
dd8a355ac4 Enable resumable download for all 2025-06-16 14:16:22 +05:30
Neeraj
f2bc7a3f20 [mob] Increase fileSize limit to 10GiB (#6274)
## Description

## Tests
2025-06-16 14:09:15 +05:30
Neeraj Gupta
5820bb6c1b Increase fileSize limit to 10GiB 2025-06-16 14:04:23 +05:30
Manav Rathi
d93f52ad1a Up 2025-06-16 13:39:11 +05:30
Manav Rathi
383c12f11b [desktop][web] Increase file size limit to 10 GB (#6273)
For all users
2025-06-16 13:31:48 +05:30
Manav Rathi
5839bbd690 Prep for release 2025-06-16 13:27:45 +05:30
Prateek Sunal
60b040f54b fix: logging in bg 2025-06-16 13:02:52 +05:30
Manav Rathi
60c7adbb8a [web] Collection APIs refactoring (#6272) 2025-06-16 11:50:57 +05:30
Manav Rathi
d45d3c38e6 Switch 2025-06-16 11:37:14 +05:30
Manav Rathi
89897aef4b Match casing 2025-06-16 11:30:25 +05:30
Manav Rathi
dc3a242dcb Close parent menu after closing child menu
Fixes the errors on console when selecting an collection sort order
2025-06-16 11:28:38 +05:30
Manav Rathi
03f418245d Update 2025-06-16 11:12:01 +05:30
Manav Rathi
8046e2fd74 New and use 2025-06-16 10:51:58 +05:30
Manav Rathi
2e05ff06f4 Use 2025-06-16 10:40:21 +05:30
Keerthana
bf831a3057 [auth] Add Ankara University icon support (#6260)
## Add Ankara University custom icon to Auth

Ankara University has recently started implementing 2FA in their student
information system.
2025-06-16 10:18:40 +05:30
Manav Rathi
8b691fe905 New 2025-06-16 10:03:28 +05:30
Manav Rathi
7b8230fa6c Sketch 2025-06-16 09:41:06 +05:30
Manav Rathi
379491f3de [web] New translations (#6268)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-06-16 08:33:28 +05:30
Crowdin Bot
9643b244f6 New Crowdin translations by GitHub Action 2025-06-16 01:17:54 +00:00
Crowdin Bot
48c16e92e9 New Crowdin translations by GitHub Action 2025-06-16 01:05:02 +00:00
Crowdin Bot
6143b68eb1 New Crowdin translations by GitHub Action 2025-06-16 00:41:45 +00:00
Vishnu Mohandas
73521f8253 [auth] Consolidate lock screen settings (#6267)
## Description

Move code related to lock screen settings from `Configuration` to
`LockScreenSettings`.
2025-06-15 20:08:12 +05:30
vishnukvmd
673ae95aa8 Typo 2025-06-15 18:56:53 +05:30
vishnukvmd
33a64c9887 Consolidate lock screen settings 2025-06-15 18:49:11 +05:30
Keerthana
576350bc1f [docs][script] update quickstart to provide choice to start cluster (#6257)
## Description
- This PR updates `quickstart.sh` to prompt user to start cluster, which
acts as a way to modify default configuration.
- Further, indication of usage of MinIO web console is provided in the
`quickstart.sh` in commented form, allowing users to administer the
object storage using web based interface.
- Updation of requirements to provide more clarity in self-hosting
documentation

## Tests
- [x] I have tested these changes on my system
2025-06-15 18:05:57 +05:30
Vishnu Mohandas
ad3a85d80b [auth] Remove dead code (#6266) 2025-06-15 17:53:36 +05:30
vishnukvmd
e27cc11a49 [auth] Remove dead code 2025-06-15 17:53:20 +05:30
Vishnu Mohandas
8504b3984a [docs] Update export/index.md 2025-06-14 21:52:25 +05:30
Laurens Priem
68f5f08df5 [mob][photos] Improve caching for memories and magic (#6252)
## Description

- Fixes issues with chinese characters
- Runs decoding in computer

## Tests

Tested in debug mode on my pixel phone.
2025-06-14 10:55:43 +05:30
Keerthana
29024b91fe [server] uncomment environment variables for web 2025-06-14 10:07:03 +05:30
Yusuf Danış
d96a24c2ca [auth] Add Ankara University icon support fix 2025-06-13 21:41:34 +03:00
Yusuf Danış
0f41eb99f2 [auth] Add Ankara University icon support 2025-06-13 21:26:13 +03:00
Manav Rathi
7ad277c666 [web] Code improvements (#6259)
(Public links etc)
2025-06-13 17:28:52 +05:30
Manav Rathi
002cfd5419 Leftovers 2025-06-13 17:17:10 +05:30
Manav Rathi
9e8e57051a Lint workarounds 2025-06-13 17:08:10 +05:30
Manav Rathi
08c446a57c Tweak 2025-06-13 16:58:04 +05:30
Manav Rathi
fe59a6f5b9 2 2025-06-13 16:40:31 +05:30
Manav Rathi
c234688542 re 2025-06-13 16:36:52 +05:30
Manav Rathi
f96e7507bc Conv 2025-06-13 16:28:07 +05:30
Manav Rathi
beac9f5756 New 2025-06-13 16:22:04 +05:30
Laurens Priem
3eb700661b Update mobile/lib/utils/cache_util.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-13 16:02:12 +05:30
Manav Rathi
17f9c8299f Re 2025-06-13 15:19:29 +05:30
Manav Rathi
7cecb80a64 Reuse 2025-06-13 14:06:16 +05:30
Manav Rathi
e4ae03a252 Tweak 2025-06-13 13:46:38 +05:30
Manav Rathi
c52df50faf wrap 2025-06-13 13:36:29 +05:30
Manav Rathi
3502579b11 Unused 2025-06-13 13:21:16 +05:30
Manav Rathi
d58c500c97 Reroute 2025-06-13 12:59:27 +05:30
Manav Rathi
3ee741abbb Impl 2025-06-13 12:21:08 +05:30
Manav Rathi
cf424e59f6 Sugar
> Because primitives can be spread into objects as well, and from the
> observation that all falsy values do not have enumerable properties, we can
> simply use a logical AND
>
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
2025-06-13 12:05:46 +05:30
Manav Rathi
634a4e595c Impl 2025-06-13 11:49:10 +05:30
Manav Rathi
3da404a714 Sketch 2025-06-13 11:10:49 +05:30
Keerthana
bdcd75a3be [docs] refactor docker compose start in quickstart 2025-06-13 10:27:59 +05:30
Manav Rathi
a75b9c0574 [web] Iterate on the new collection handling lower layers (#6258) 2025-06-13 10:27:38 +05:30
Manav Rathi
f407af363a Lint workaround 2025-06-13 10:20:35 +05:30
Manav Rathi
17378319f6 Other places too 2025-06-13 10:03:52 +05:30
Manav Rathi
86dc335137 Both 2025-06-13 09:34:25 +05:30
Manav Rathi
4d9b7fa905 Alt 2025-06-13 08:49:44 +05:30
Manav Rathi
9fde80593f Temp scaffold and cast 2025-06-13 06:40:30 +05:30
Manav Rathi
fdc428bde4 Reorder 2025-06-13 06:19:16 +05:30
Manav Rathi
4edc144255 fin 2025-06-13 06:19:16 +05:30
Manav Rathi
e5b60d434d Pub 2025-06-13 06:19:16 +05:30
Manav Rathi
7ee222925d MM type 2025-06-13 06:19:16 +05:30
Manav Rathi
42a6697531 Not really 2025-06-13 06:19:16 +05:30
Manav Rathi
223fd9a7d5 Start count at 1 (same as existing code) 2025-06-13 06:19:16 +05:30
Keerthana
9693cb3c8d [docs] Added socials to docs
## Description
Added Ente's Bluesky and Instagram accounts
2025-06-13 04:46:27 +05:30
Keerthana
898c0e31a1 [docs] update quickstart documentation 2025-06-13 03:54:53 +05:30
Keerthana
bab661914d [docs][script] provide option to start cluster and update pre-requisites 2025-06-13 03:40:33 +05:30
AmanRajSinghMourya
3c4a92612d Fix grid view size 2025-06-12 19:15:00 +05:30
AmanRajSinghMourya
000002c327 Fix text alignment 2025-06-12 18:58:51 +05:30
Manav Rathi
dc051e75e3 [web] Code improvements (#6253)
Still iterating on the code structure for this
2025-06-12 17:28:52 +05:30
Manav Rathi
b500912650 Refactor 2025-06-12 17:09:23 +05:30
Manav Rathi
7e13f8b1cc Rearrange 2025-06-12 16:32:58 +05:30
Manav Rathi
d535cfc5a4 sk 3 2025-06-12 16:08:15 +05:30
Prateek Sunal
25b96825cc Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-06-12 15:58:58 +05:30
Prateek Sunal
6d952cc89e fix: only throw notifications for sync to internal users 2025-06-12 15:52:33 +05:30
laurenspriem
e0303cd2a6 Set minimum cluster size to 2 2025-06-12 15:16:03 +05:30
Prateek Sunal
4d0a6e93ea fix(remote_sync): prioritize non-updated files, push videos to back in bg for uploads 2025-06-12 15:15:18 +05:30
laurenspriem
15f844e538 import 2025-06-12 15:09:39 +05:30
laurenspriem
56db78d699 Caching test in moments section 2025-06-12 15:09:33 +05:30
laurenspriem
a9cf299a4f Dev logging in computer 2025-06-12 15:06:23 +05:30
laurenspriem
5f75db4e1f Clean old method 2025-06-12 15:02:46 +05:30
laurenspriem
8459d7ead6 Integrate better caching methods 2025-06-12 15:01:14 +05:30
Manav Rathi
64e671b0d2 Try without it first 2025-06-12 14:39:49 +05:30
Manav Rathi
23609c4bb9 Revert the envelope terminology 2025-06-12 14:35:41 +05:30
Prateek Sunal
331521306e fix(bg): don't run HomeWidget sync in bg 2025-06-12 14:33:44 +05:30
Prateek Sunal
141b5603eb fix: simplify remote sync code 2025-06-12 14:33:10 +05:30
Manav Rathi
8585f3881c Sketch 2 2025-06-12 14:12:26 +05:30
Manav Rathi
432d44f4af Sketch 2025-06-12 13:43:46 +05:30
Manav Rathi
49b4adc843 Test a suffix 2025-06-12 13:29:14 +05:30
Manav Rathi
228bf55a8d C2 2025-06-12 12:29:36 +05:30
Manav Rathi
00aabfc283 Separate concerns 2025-06-12 12:11:41 +05:30
laurenspriem
8463dc8721 Separate caching util in computer 2025-06-12 11:54:07 +05:30
Manav Rathi
fe224b5ab2 dec 2025-06-12 11:43:01 +05:30
Manav Rathi
6e9f3bfbe2 [web] Explore alternative internal API for magic metadata (#6250) 2025-06-12 11:24:22 +05:30
Manav Rathi
d44fe31277 Implement 2025-06-12 11:14:02 +05:30
Keerthana
709a9f5996 Merge branch 'main' into docs/revamp 2025-06-12 10:43:59 +05:30
Manav Rathi
71867dd63e Move and doc 2025-06-12 09:56:43 +05:30
Manav Rathi
3db9ded294 Schema 1 2025-06-12 08:39:17 +05:30
Manav Rathi
844b893ebf Doc 2025-06-12 08:25:22 +05:30
Prateek Sunal
a6c69b80e3 fix: init hw prefs 2025-06-11 20:27:45 +05:30
Manav Rathi
7885ad18c6 Take 3 2025-06-11 20:14:53 +05:30
Manav Rathi
dab8b634bd Take 2 2025-06-11 18:51:29 +05:30
Manav Rathi
d59eed6974 Take 1 2025-06-11 18:35:30 +05:30
AmanRajSinghMourya
b1837dec75 Resolve merge conflict 2025-06-11 18:28:41 +05:30
Manav Rathi
b5edd39517 Trim 2025-06-11 18:09:19 +05:30
Manav Rathi
0931e590a9 Conv 2025-06-11 18:00:44 +05:30
Prateek Sunal
89917d6168 fix: bump version code and number 2025-06-11 17:42:16 +05:30
Prateek Sunal
41ebc50538 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-06-11 17:40:41 +05:30
Prateek Sunal
f7ace0a57f fix: re-enable foreground sync 2025-06-11 17:39:12 +05:30
Manav Rathi
b7b7d2382b [web] General code improvements (#6246) 2025-06-11 17:30:19 +05:30
Manav Rathi
49d3b033cb Update patch versions 2025-06-11 17:21:39 +05:30
Manav Rathi
5a78b77da5 Match the package.json name 2025-06-11 17:15:55 +05:30
Manav Rathi
34f3c55573 Prevent layout shift 2025-06-11 17:04:35 +05:30
Manav Rathi
6521921687 Reduce layout shift 2025-06-11 16:56:34 +05:30
Prateek Sunal
806bf2cd31 fix: update period to 60m, make BgTask cancellable, init crypto 2025-06-11 16:47:13 +05:30
Prateek Sunal
ff3d105271 chore: add async & update workmanager source 2025-06-11 16:46:10 +05:30
Prateek Sunal
4d30d8837a chore: lint fix 2025-06-11 16:45:54 +05:30
Prateek Sunal
f35e2fb49c fix: only throttle for videos when multipart is not enabled 2025-06-11 16:45:45 +05:30
Prateek Sunal
cae140b239 chore: lint fix 2025-06-11 16:45:06 +05:30
Prateek Sunal
b11452d29a fix: content type not set issue 2025-06-11 16:44:57 +05:30
Manav Rathi
155d939ae8 The button remains disabled if first input is empty 2025-06-11 16:38:33 +05:30
AmanRajSinghMourya
11383d3689 Merge branch 'main' into memory_improvement 2025-06-11 16:36:07 +05:30
Manav Rathi
00d4d27277 Update 2025-06-11 16:34:16 +05:30
Aman Raj Singh Mourya
97309e9a6e [mob][photos] Memory swipe (#6245)
## Description
Enable swipe between memories.
2025-06-11 16:31:02 +05:30
Manav Rathi
501bba0283 Unyup 2025-06-11 16:29:38 +05:30
AmanRajSinghMourya
e51506b9f8 Pause animtaion when delete/share action is performed 2025-06-11 16:28:34 +05:30
Manav Rathi
df5b46e0d3 Redo 2025-06-11 16:28:32 +05:30
AmanRajSinghMourya
55dd0ea830 Refactor tap handling in video widgets to prevent interaction when viewing memories 2025-06-11 16:27:23 +05:30
Manav Rathi
7e76f40f43 Handle 2025-06-11 15:28:29 +05:30
Manav Rathi
1c2e81353d New 2025-06-11 14:54:04 +05:30
Manav Rathi
bf53b61d03 redo 2 2025-06-11 14:33:44 +05:30
laurenspriem
6256ddfc78 Extra error handling around face thumbnail caching 2025-06-11 14:17:09 +05:30
Manav Rathi
6937701fa4 vis 2025-06-11 14:16:29 +05:30
AmanRajSinghMourya
29962197d7 Refractor 2025-06-11 14:13:22 +05:30
AmanRajSinghMourya
287e6da537 To avoid shuffling of memories when user see all the files in one memory 2025-06-11 14:13:06 +05:30
Manav Rathi
069958d220 Unyup and redo 2025-06-11 14:06:38 +05:30
Neeraj
d95fb14f8e [mob] Reduce home gallery refresh during iOS upload/indexing (#6242) 2025-06-11 13:49:56 +05:30
Manav Rathi
4c231691f6 re 2025-06-11 13:49:39 +05:30
Prateek Sunal
718a81e41d chore: bump locks 2025-06-11 13:49:13 +05:30
laurenspriem
8d67d07f27 Increase face thumbnail cache 2025-06-11 13:46:31 +05:30
Manav Rathi
e965aa370c Inline 2025-06-11 13:42:09 +05:30
Manav Rathi
daaefd8e18 Match padding 2025-06-11 13:39:50 +05:30
Manav Rathi
138b4a5cc4 Conv 2025-06-11 13:19:34 +05:30
Manav Rathi
ed48c74885 Specific 2025-06-11 13:06:44 +05:30
Manav Rathi
27b816e50e Sp 2025-06-11 13:01:06 +05:30
Manav Rathi
b5ac9a9591 Rework 2025-06-11 12:53:19 +05:30
laurenspriem
7ec1eaf334 Extract strings 2025-06-11 12:51:55 +05:30
laurenspriem
e1e66ca670 Keep button in place 2025-06-11 12:47:13 +05:30
Manav Rathi
673a8df520 unyup 2025-06-11 12:41:41 +05:30
Manav Rathi
f55e718aca Conv 2025-06-11 12:39:02 +05:30
Manav Rathi
15008d0559 Conv 2025-06-11 12:35:13 +05:30
Manav Rathi
a1a45df14e use 2025-06-11 12:29:07 +05:30
Prateek Sunal
c7b06d8a69 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-06-11 12:25:26 +05:30
laurenspriem
c0b0fa44af Smooth grid extension 2025-06-11 12:11:25 +05:30
Neeraj Gupta
38bacb17e0 Simplify 2025-06-11 11:57:47 +05:30
Neeraj Gupta
6febb54478 Ignore fileUpdate event if asset was recently requested 2025-06-11 11:53:34 +05:30
Manav Rathi
263bfa55e5 [web] SRP code improvements (#6241) 2025-06-11 11:35:10 +05:30
laurenspriem
4c9a09866b Use slivers instead 2025-06-11 11:23:41 +05:30
Manav Rathi
a43d19fb79 Obs 2025-06-11 11:13:27 +05:30
Manav Rathi
999cc91f6c Fix cyclic dep 2025-06-11 11:12:55 +05:30
Manav Rathi
488886d685 Rename 2025-06-11 11:06:32 +05:30
Manav Rathi
485fbcf393 Doc 2025-06-11 11:04:06 +05:30
Manav Rathi
f434e0dd67 Part of the subclass 2025-06-11 10:44:07 +05:30
Manav Rathi
cbb35a8e3c Rearrange 2025-06-11 10:39:22 +05:30
laurenspriem
caff966d3b More faces option 2025-06-11 10:38:00 +05:30
Manav Rathi
7539a1003c re 2025-06-11 10:34:18 +05:30
laurenspriem
ee24d12d8c Simpler fallback for little faces 2025-06-11 10:32:27 +05:30
Manav Rathi
4dc424464e Doc and cleanup 2025-06-11 10:03:21 +05:30
Manav Rathi
977552fa81 Unlog 2025-06-11 09:36:19 +05:30
Manav Rathi
644bfe72af Move to service layer 2025-06-11 09:32:33 +05:30
Manav Rathi
fc21932a34 Conv 2025-06-11 09:09:18 +05:30
Manav Rathi
a1a480f35e Rename 2025-06-11 09:04:34 +05:30
Manav Rathi
61d07242ad Conv 2025-06-11 09:03:51 +05:30
laurenspriem
ea217404e9 Early stopping for efficiency 2025-06-11 09:00:18 +05:30
laurenspriem
6f7250d179 Remove unneeded fallback 2025-06-11 08:58:13 +05:30
laurenspriem
9e27951c3e Remove old comment 2025-06-11 08:49:41 +05:30
Manav Rathi
91891fc5b5 Rearrange 2025-06-11 08:15:22 +05:30
Manav Rathi
b62ea7b28f [web] SRP related refactoring (#6239) 2025-06-10 20:44:35 +05:30
Manav Rathi
893e1e307d Conv 2025-06-10 20:34:01 +05:30
Manav Rathi
6b4653a996 Conv 2025-06-10 20:29:41 +05:30
Manav Rathi
06dcc697f9 Tweak 2025-06-10 20:06:23 +05:30
Manav Rathi
f62872808d Reorder 2025-06-10 19:50:52 +05:30
Manav Rathi
0fe5b45f8b Use 2025-06-10 19:30:51 +05:30
Manav Rathi
44e71d8b09 New 2025-06-10 19:25:21 +05:30
Manav Rathi
abc1f2cd64 Rename 2025-06-10 19:23:08 +05:30
Manav Rathi
8a8d0e4069 Reorder 2025-06-10 19:21:04 +05:30
Manav Rathi
ec3df01606 Tweak 2025-06-10 19:20:14 +05:30
Manav Rathi
851fd08d5d inline hop 2025-06-10 19:13:58 +05:30
AmanRajSinghMourya
c7cb728feb Merge branch 'main' into album_fixes 2025-06-10 19:07:27 +05:30
Manav Rathi
43ae1de2b5 Move 2025-06-10 19:07:07 +05:30
AmanRajSinghMourya
13bac40aeb Fix: resolve conflict in pubspec.yaml 2025-06-10 19:03:41 +05:30
AmanRajSinghMourya
1e5abf20cd Improve memory navigation and data handling in memory widgets 2025-06-10 18:58:19 +05:30
AmanRajSinghMourya
6a796debb8 Callback to go to next/previous memories 2025-06-10 18:56:49 +05:30
Manav Rathi
7373a07a71 Stash and unstash 2025-06-10 18:53:15 +05:30
Manav Rathi
f9fc6b83d0 schema 2025-06-10 18:46:21 +05:30
Manav Rathi
6ff586c3e9 Move 2025-06-10 18:30:29 +05:30
Manav Rathi
fc9b2a186b Unnest 2025-06-10 18:20:05 +05:30
Manav Rathi
dfbf51fa36 Conv 2025-06-10 18:16:48 +05:30
Manav Rathi
6a417750b2 [web] Translation tweaks (#6238) 2025-06-10 18:13:23 +05:30
Manav Rathi
0d08907e9c Casing 2025-06-10 18:09:33 +05:30
Manav Rathi
589acf459d Rename 2025-06-10 18:07:35 +05:30
Manav Rathi
5d0dff7172 [web] Signup flow code improvements (#6237) 2025-06-10 17:58:17 +05:30
Manav Rathi
9827ca5048 Fix 2025-06-10 17:51:24 +05:30
Manav Rathi
c7341e65e9 Below 2025-06-10 17:42:22 +05:30
Neeraj
c1a2c76a38 [mob] Fix: Take wakelock to continue video download (#6234)
## Description
Note: Review by commit, we have just removed old widget and renamed the
media_kit_new to media_kit.

Previously, while using media_kit, as we were not taking wakeload before
video playback actually starts, the download was getting paused when
dispose was getting called.

Also, increased the file size limit for internal users.



## Tests
2025-06-10 17:39:06 +05:30
AmanRajSinghMourya
3d58698bfc Use better name + code refractoring 2025-06-10 17:05:25 +05:30
laurenspriem
71c70dcc8c Fix people cascade effect 2025-06-10 17:01:33 +05:30
Manav Rathi
584ca125a6 Unyup 2025-06-10 16:35:02 +05:30
Manav Rathi
4b616dcbe1 Unnest 2025-06-10 16:31:32 +05:30
Manav Rathi
ac59eae329 Vis 2025-06-10 16:21:37 +05:30
Neeraj Gupta
44a1e6c28b Increase file size for internal users 2025-06-10 16:18:00 +05:30
Neeraj Gupta
d6500f8cb7 Fix: Take wakelock before playback to continue downloading 2025-06-10 16:15:32 +05:30
Manav Rathi
769704f0fc Use built in prop 2025-06-10 16:13:10 +05:30
Neeraj Gupta
ba7fbcc02f Rename 2025-06-10 16:12:23 +05:30
Neeraj Gupta
613a08dd3a Remove unused widget 2025-06-10 16:09:59 +05:30
Manav Rathi
7087de0c94 Form prop 2025-06-10 16:06:14 +05:30
Manav Rathi
afa0d87c76 Label 2025-06-10 15:53:52 +05:30
Manav Rathi
a6428608e6 Use majority terminology in more places 2025-06-10 15:28:16 +05:30
Manav Rathi
550d026061 Update 2025-06-10 15:22:44 +05:30
Manav Rathi
45a41497df Conv 2025-06-10 14:59:51 +05:30
Manav Rathi
a0e9d8340c Add temp check 2025-06-10 14:49:21 +05:30
Manav Rathi
a48b40fc0c Tweak 2025-06-10 14:22:11 +05:30
Keerthana
fa7d534c56 Merge branch 'main' into docs/revamp 2025-06-10 14:12:24 +05:30
Keerthana
92d1a9d335 [docs] refactor requirements 2025-06-10 14:10:22 +05:30
Manav Rathi
b8f8d90d13 Conv 2025-06-10 14:09:59 +05:30
Manav Rathi
c1c40581d5 Storage layer 2025-06-10 13:50:51 +05:30
Manav Rathi
4aacd1e47a Conv 2025-06-10 13:44:14 +05:30
Manav Rathi
4cc9311343 Schema 2025-06-10 13:34:50 +05:30
Manav Rathi
9f0e5d712f Update 2025-06-10 13:22:40 +05:30
Manav Rathi
92096e6a21 casing 2025-06-10 13:21:29 +05:30
Manav Rathi
002ef8ca5c Tweak 2025-06-10 13:17:50 +05:30
Manav Rathi
0e4ce445e0 Doc 2 2025-06-10 13:13:12 +05:30
Manav Rathi
7a11547a14 Doc 2025-06-10 13:08:49 +05:30
Manav Rathi
29ac7b7df9 Move and rename 2025-06-10 12:58:03 +05:30
Manav Rathi
3b749f0e75 Doc 2025-06-10 12:23:54 +05:30
AmanRajSinghMourya
edc9917b57 Work around for swipe between memories 2025-06-10 12:09:51 +05:30
Manav Rathi
bab5c3697b Doc 2025-06-10 12:07:04 +05:30
Manav Rathi
043b8e42c0 Outline 2025-06-10 11:46:15 +05:30
Laurens Priem
29d955933d [Docs] Ente help on local indexing and notifications (#6226)
## Description

- Add some info on (disabling) local indexing
- Add some info on notifications

## Tests
2025-06-10 11:12:32 +05:30
Manav Rathi
a3b5d8dcfd [web] SRP code refactoring (#6232) 2025-06-10 10:26:36 +05:30
Manav Rathi
86ba7a6d7a Outline 2025-06-10 10:08:33 +05:30
Manav Rathi
38bbd8a5d7 Note 2025-06-10 09:40:12 +05:30
Keerthana
8339e9e1ca [docs] fix caddy configuration 2025-06-10 09:38:16 +05:30
Manav Rathi
b359258d8b Refactor 2025-06-10 09:32:11 +05:30
Manav Rathi
f94a65fcfb Refactor 2025-06-10 09:10:47 +05:30
Manav Rathi
58c4ada254 Specific error 2025-06-10 08:29:24 +05:30
Manav Rathi
a57b2448d0 Reorder 2025-06-10 08:02:20 +05:30
Manav Rathi
f8093a65a6 Move 2025-06-10 07:57:44 +05:30
Manav Rathi
81eff305d3 Split 2025-06-10 07:57:44 +05:30
Manav Rathi
093ff9c395 Split 2025-06-10 07:57:44 +05:30
Manav Rathi
857fabadbe Tweak 2025-06-10 07:57:44 +05:30
Manav Rathi
9074441c5a Tweak 2025-06-10 07:57:44 +05:30
Manav Rathi
d2b33defa1 [desktop] Proceed gracefully if safe store is unavailable when saving (#6231) 2025-06-10 05:31:59 +05:30
Manav Rathi
aec107b6b7 [desktop] Proceed gracefully if safe store is unavailable when saving 2025-06-10 05:21:09 +05:30
Brogio
7d56db701c Add socials
Added Ente's Bluesky and Instagram accounts
2025-06-09 18:00:07 +02:00
Keerthana
de9e48aa98 [docs] revamp introduction and remove deprecations
## Description

This PR revamps introduction page to be self-contained, eliminating the
need for overview section. Dead configuration,deprecated warning and
inconsistencies have been fixed for Tailscale community guide.

A preview of the updated documentation can be tracked at:
https://ente-wy9m.vercel.app/
2025-06-09 19:00:25 +05:30
Laurens Priem
6d13535d8d [mob][photos] Lower on this day requirements (#6227)
## Description

## Tests
2025-06-09 18:54:08 +05:30
laurenspriem
0df7b20fae Lower on this day requirements 2025-06-09 18:27:57 +05:30
laurenspriem
84f7b96998 Add notifications entry 2025-06-09 18:13:38 +05:30
laurenspriem
b1810c7ea6 Add local indexing info 2025-06-09 17:50:43 +05:30
laurenspriem
6aeb508d6e Remove old info 2025-06-09 17:50:31 +05:30
Keerthana
d9d4ebdc01 [docs] remove deprecated caution on docker in Tailscale guide 2025-06-09 17:11:03 +05:30
Keerthana
2b70b22117 [docs] lint and remove unneeded vite config 2025-06-09 17:06:13 +05:30
Keerthana
a12088f2f1 [docs] update introduction page 2025-06-09 17:01:28 +05:30
github-actions[bot]
dbea39c182 [mobile] New translations (#6220)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-06-09 16:53:10 +05:30
t4ba
269e9ceea7 [auth] Custom Icon for tebex.io (#6196)
pterodactyl game panel icon and tebex icon
2025-06-09 16:51:22 +05:30
AmanRajSinghMourya
80adeecb6b Minor UI changes 2025-06-09 16:33:29 +05:30
AmanRajSinghMourya
19eb3a5141 fix: set defailt time to 10 seconds if the video duration is null & avoid un-necessary playbackCallback is isFromMemories is true 2025-06-09 16:33:05 +05:30
Manav Rathi
25bc6220b3 [web] General code improvements (#6223) 2025-06-09 15:32:21 +05:30
Manav Rathi
a938c82fc6 Join 2025-06-09 14:58:46 +05:30
Manav Rathi
147b06f08e Inline 2025-06-09 14:56:58 +05:30
Manav Rathi
55be8bc5d7 Conv 2025-06-09 14:47:15 +05:30
Manav Rathi
dfd80a136b Conv 2025-06-09 14:44:05 +05:30
Manav Rathi
31f393ad5b Tweak 2025-06-09 14:36:07 +05:30
Manav Rathi
5b3f15de34 Conv 2025-06-09 14:31:19 +05:30
Manav Rathi
009408581d Conv 2025-06-09 14:20:35 +05:30
Manav Rathi
960d2fd2b1 Tweak 2025-06-09 14:06:28 +05:30
Manav Rathi
b4b34e89bc Move 2025-06-09 13:59:22 +05:30
Manav Rathi
cc8dc77f92 re 3 2025-06-09 13:48:07 +05:30
Manav Rathi
350af6a43f re 2 2025-06-09 13:45:48 +05:30
Manav Rathi
71308f28c3 re 2025-06-09 13:40:18 +05:30
Manav Rathi
2d2f9d348d norm 2025-06-09 13:29:10 +05:30
AmanRajSinghMourya
6d5a2a956f Minor fix 2025-06-09 13:23:53 +05:30
Manav Rathi
938afa34c9 Min 2025-06-09 13:23:32 +05:30
Manav Rathi
4df59e7bf2 That's why 2025-06-09 13:21:03 +05:30
AmanRajSinghMourya
613230d218 Refactor: add border radius to NoThumbnailWidget 2025-06-09 13:08:07 +05:30
AmanRajSinghMourya
65add2e448 Fix merge conflict 2025-06-09 13:07:33 +05:30
Manav Rathi
bfa396b93f [web] General code improvements (#6222) 2025-06-09 13:01:30 +05:30
Manav Rathi
e473c1852c lint 2025-06-09 12:57:31 +05:30
Manav Rathi
088cf4adef Conv 2025-06-09 12:43:01 +05:30
Manav Rathi
5b0a04142f Outline 2025-06-09 11:56:19 +05:30
Manav Rathi
d1d7af4f7e Outline 2025-06-09 11:47:38 +05:30
Aman Raj Singh Mourya
7b0190ff8a [photos][mob] Deselect albums with back navigation in albums list (#6183)
## Description

This is very similar to #6182. However instead of the album selection in
the second home tab, it applies to the full albums list.

## Tests
2025-06-09 11:39:26 +05:30
Manav Rathi
e2d103f20f Use correct type 2025-06-09 11:34:30 +05:30
Manav Rathi
7bfb2f0fe8 Update 2025-06-09 11:21:31 +05:30
Manav Rathi
8adebbba3f Doc 2025-06-09 11:09:29 +05:30
Manav Rathi
719c8f7b9c Move and doc 2025-06-09 11:04:33 +05:30
Neeraj
af0f1600d9 [auth] New translations (#6221)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-06-09 11:00:36 +05:30
Neeraj
b014cb57c0 [auth] Add custom icon for FZJ (#6195)
Add custom icon for FZJ (Forschungszentrum Jülich)
2025-06-09 11:00:00 +05:30
Manav Rathi
1832f9f996 Conv 2025-06-09 10:40:30 +05:30
Manav Rathi
a94a0f199a Rearrange 2025-06-09 10:33:49 +05:30
Neeraj
2c0dc85d70 fix(android): allow cleartext traffic for domains other ente (#6201)
Fixes #6186

## Description

It seems that while trying to show user certificates we broke cleartext
connections. Since having an SSL certificate for self hosted ente
deployments is not mandatory, we shouldn't restrict users from making
cleartext connections
2025-06-09 10:25:16 +05:30
Manav Rathi
ca748f731e Conv 2025-06-09 08:17:52 +05:30
Manav Rathi
ebf6c15655 [web] New translations (#6219)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-06-09 08:06:44 +05:30
Crowdin Bot
95271a45b6 New Crowdin translations by GitHub Action 2025-06-09 01:18:02 +00:00
Crowdin Bot
e5d5ea9d3e New Crowdin translations by GitHub Action 2025-06-09 00:42:03 +00:00
Neeraj
94351f68fb [server] Fix expiry time for free users (#6213)
## Description
Fix the bug introduced by
69c71d23c3
where we reset the expiry-time for free users.
2025-06-09 05:47:02 +05:30
vishnukvmd
87c1877736 Fix expiry time for free users 2025-06-08 23:33:30 +05:30
Jacques Lucke
bc6529a35f Merge branch 'main' into pop-album-selection 2025-06-07 19:06:16 +02:00
Denys Vitali
d2ee45653c fix(android): allow cleartext traffic for domains other ente
Fixes #6186
2025-06-07 15:27:14 +02:00
Sam Maloney
d0d35937e8 add FZJ metadata to custom-icons.json 2025-06-06 17:29:13 +02:00
Sam Maloney
f9d428e2c1 add fzj.svg icon 2025-06-06 17:23:23 +02:00
Manav Rathi
68fda97f9e [web] Crypto API cleanup (non functional) - Part 4/4 (#6192)
Fin!
2025-06-06 18:29:56 +05:30
Manav Rathi
f8fa731a32 Simplify 2025-06-06 18:24:57 +05:30
Manav Rathi
38a4d96035 Unused 2025-06-06 18:06:10 +05:30
Manav Rathi
9cacbb4f34 Restore older behaviour
accidentally left off in 9a5bac774e
2025-06-06 17:55:23 +05:30
AmanRajSinghMourya
bc6fce30ed Merge branch 'main' into album_fixes 2025-06-06 17:41:33 +05:30
Manav Rathi
930070ad14 Swap 2025-06-06 17:36:52 +05:30
Ashil
11e5704414 [photos][mob] Deselect albums with back navigation in second tab (#6182)
## Description

Previously, back navigation would always go to the home screen, even
when albums are currently selected. This is unexpected because typically
back navigation first deselect everything if anything is selected.

This patch implements this expected behavior for albums on the second
tab. If at least one album is selected, all will be deselected when
going-back. Only when everything is deselect, the app transitions to the
first tab like before.

## Tests
2025-06-06 17:30:27 +05:30
Manav Rathi
81eca40f13 Via 2025-06-06 17:30:06 +05:30
Manav Rathi
0fdb27ccd7 Swap 2025-06-06 17:22:20 +05:30
Manav Rathi
8b4e66e37c Reorder 2025-06-06 17:17:02 +05:30
Manav Rathi
d409935ceb Tweak 2025-06-06 17:10:52 +05:30
Manav Rathi
4d985abd07 Trim 2025-06-06 17:07:38 +05:30
Manav Rathi
3a127bcd8b New 2025-06-06 17:00:26 +05:30
Manav Rathi
a1e506eb85 Impl 2025-06-06 16:52:20 +05:30
Manav Rathi
b82427a6cf Swap 2025-06-06 16:43:39 +05:30
Manav Rathi
a3b4a0b80c Swap 2025-06-06 16:37:01 +05:30
Manav Rathi
df0b8cc44e Direct 2025-06-06 16:27:06 +05:30
Manav Rathi
709eb66614 Swap 2025-06-06 16:17:10 +05:30
Manav Rathi
0381cf66dc Rename 2025-06-06 16:08:22 +05:30
Prateek Sunal
2317a4cadb fix: error 2025-06-06 16:00:21 +05:30
Prateek Sunal
5c6397e8ad Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-06-06 15:58:41 +05:30
AmanRajSinghMourya
6f0828858d Fix: update color scheme 2025-06-06 15:48:00 +05:30
Manav Rathi
76cff8d386 Swap 2025-06-06 15:47:19 +05:30
Manav Rathi
37c0fa1cd6 Scaffold more infra 2025-06-06 15:43:24 +05:30
Manav Rathi
63830b798b Save 1 2025-06-06 14:47:17 +05:30
Manav Rathi
b707b3e3dc Conv 2025-06-06 14:31:48 +05:30
Manav Rathi
af391346d1 Move 2025-06-06 14:23:39 +05:30
Manav Rathi
e96774e325 Conv 2025-06-06 14:15:56 +05:30
Manav Rathi
e3329a8d73 Conv 2025-06-06 14:04:03 +05:30
Manav Rathi
da8174bcc7 [web] General refactoring (#6190) 2025-06-06 13:57:30 +05:30
Manav Rathi
5b1b52e529 Don't keep the spinners spinning
(this handles other types of cancel too)
2025-06-06 13:40:42 +05:30
Manav Rathi
0165f07bb9 Handle cancel on the delete prompt 2025-06-06 13:35:59 +05:30
Manav Rathi
7dee2c1526 Fix dialog state not getting reset on reopening
...without going back from accounts page.
2025-06-06 13:30:54 +05:30
AmanRajSinghMourya
52d2bea970 Make album UI consistent in archive & hidden section 2025-06-06 13:08:39 +05:30
AmanRajSinghMourya
e26f78d9ed Show newly created album at top while adding photos to multiple album 2025-06-06 13:07:44 +05:30
Neeraj
e0b62ded5a [mob][photos] Birthday notification + memories decoding improvements (#6177)
## Description

- Schedule birthday notifications for named persons.
- Minor performance improvements to memories cache decoding

## Tests

Tested in debug mode on my pixel 8:

- [X]  Notifications are scheduled at correct time
- [X] Tapping notifications navigates to memory of that person
2025-06-06 12:22:00 +05:30
Neeraj
b17821685f [mob] Minor fixes for resumable download (#6189)
## Description

## Tests
2025-06-06 11:43:57 +05:30
Neeraj
a5016b0984 [auth] Add R10.net icon support (#6185)
Add custom icon support for R10.net auth.

## Changes
- Add `r10.svg` icon file to `auth/assets/custom-icons/icons/`
- Add R10.net entry to `custom-icons.json` with proper configuration
- Include alternative names: "R10", "r10.net" for better user matching
2025-06-06 11:43:34 +05:30
alewi7
b5ad82f5ba Add 5 new icons and rename existing icon (#6104)
## Description

Added 5 new custom SVG icons:

- **cronometer.svg**
- **xai.svg**
- **toshl_finance.svg**
- **aternos.svg**
- **atomic_mail.svg**

Also renamed an existing icon **'mercado_livre.svg'** to
**'mercado_libre.svg'** to match the brand's official name.

## Tests

No formal tests added. Verified manually that all SVGs open correctly in
the browser and display as expected.
2025-06-06 11:40:47 +05:30
Neeraj Gupta
14da860973 Handle incorrect pause 2025-06-06 11:37:07 +05:30
Vishnu Mohandas
2b381e7e2f [docs] Minor update (#6174)
## Description

Commits.
2025-06-06 11:22:11 +05:30
Manav Rathi
4152751d52 Fix 2025-06-06 10:38:19 +05:30
Neeraj
e8a35bf6e6 [photos][mob] Trim whitespace from new album name (#6181)
## Description

Previously, newly created albums could easily end with trailing
whitespace, especially when using auto-completion that automatically
adds the next space character. It's not super bad obviously, but I found
it slightly annoying. I can't think of any good reason for why an album
name should ever start or end with whitespace.

## Tests
2025-06-06 10:37:30 +05:30
Manav Rathi
abdc3bbca1 Alt 2025-06-06 10:08:49 +05:30
Manav Rathi
8519183013 kp 2025-06-06 09:54:39 +05:30
Manav Rathi
7c0450c364 Conv and simplify 2025-06-06 09:45:52 +05:30
Manav Rathi
eed1341003 Conv 2025-06-06 09:36:41 +05:30
Manav Rathi
3671080cfc Conv 2025-06-06 08:35:53 +05:30
Manav Rathi
c8481fdb3e Variant 2025-06-06 08:10:52 +05:30
Manav Rathi
146db578b6 Move 2025-06-06 07:29:21 +05:30
Yusuf Danış
c98726e4d0 [auth] Add R10.net icon support 2025-06-05 23:03:27 +03:00
vishnukvmd
4b49bab0bd Prettify 2025-06-05 23:57:51 +05:30
Jacques Lucke
385f35b6e5 pop album selection 2025-06-05 19:41:48 +02:00
Jacques Lucke
a86e9b8f57 still support returning to home 2025-06-05 18:20:53 +02:00
Jacques Lucke
e06ccc35a0 deselect albums on pop 2025-06-05 18:16:43 +02:00
Jacques Lucke
7bdcbcca02 trim new album name 2025-06-05 18:03:36 +02:00
Manav Rathi
e1cb8e06a1 [web] Crypto API cleanup (non functional) - Part 3 (#6180) 2025-06-05 20:27:03 +05:30
Manav Rathi
1a15bcb7e0 lint fix 2025-06-05 20:17:39 +05:30
Manav Rathi
2df06ccf61 Use 2025-06-05 20:04:30 +05:30
Manav Rathi
560533b2d4 accessor 2025-06-05 19:49:58 +05:30
Manav Rathi
60a2febe46 Move 2025-06-05 19:43:33 +05:30
Manav Rathi
ed2a98b341 Rename 2025-06-05 18:55:31 +05:30
Manav Rathi
e8187356af Rename 2025-06-05 18:48:35 +05:30
Manav Rathi
21febab897 Del 2025-06-05 18:39:30 +05:30
Manav Rathi
250aad43bc Switch 2025-06-05 18:36:45 +05:30
Manav Rathi
5e9e8bd76b Switch 2025-06-05 18:30:37 +05:30
Manav Rathi
7b3ea32963 Go the other way for better future composability 2025-06-05 18:03:35 +05:30
Manav Rathi
ac9cee8fa3 Specialize 2025-06-05 18:00:40 +05:30
Manav Rathi
4a3d503992 Dup 2025-06-05 17:55:38 +05:30
Manav Rathi
7bfc63ffc7 [web] Crypto API cleanup (non functional) (#6178) 2025-06-05 17:40:09 +05:30
laurenspriem
b359d97b95 Fix typo 2025-06-05 17:32:58 +05:30
laurenspriem
19a0a8a7ec Merge branch 'main' into birthday_notification 2025-06-05 17:29:39 +05:30
Manav Rathi
51a736dbce Adapt 2025-06-05 17:25:38 +05:30
laurenspriem
36928e4f39 memories decoding optimization 2025-06-05 17:24:33 +05:30
laurenspriem
bfe738c846 Fix duplicate memories decoding 2025-06-05 17:17:25 +05:30
AmanRajSinghMourya
47c52e31ae Fix: update border radius & colors for consistency and adjust spacing 2025-06-05 17:14:31 +05:30
Manav Rathi
d62865f9e5 Inline 2025-06-05 17:10:22 +05:30
Manav Rathi
f7dcaffc32 Move 2025-06-05 17:10:11 +05:30
Manav Rathi
c88a43d2dc Use 2025-06-05 17:10:11 +05:30
Manav Rathi
a5fe20b0e9 Rename 2025-06-05 17:10:11 +05:30
Manav Rathi
3dffebf733 Same place both 2025-06-05 17:10:11 +05:30
Manav Rathi
4be5ac8780 types 2025-06-05 17:10:11 +05:30
Manav Rathi
d858fdef75 More annotation 2025-06-05 17:10:11 +05:30
Manav Rathi
f1d9fc61c5 Annotate 2025-06-05 17:10:11 +05:30
Manav Rathi
931dafd264 Reroute 2025-06-05 17:10:11 +05:30
Manav Rathi
40f3ad592f type 2025-06-05 17:10:11 +05:30
Manav Rathi
723362fc33 Rename 2025-06-05 17:10:11 +05:30
Manav Rathi
94c5cf316b Swap 2025-06-05 17:10:11 +05:30
Manav Rathi
5de4b3c1b0 Swap 2025-06-05 17:10:11 +05:30
Manav Rathi
6eab85b7e1 enc 2025-06-05 17:10:11 +05:30
Manav Rathi
40e7d58c0b utf-8 2025-06-05 17:10:11 +05:30
Manav Rathi
c85aac613e Prune 2025-06-05 17:10:11 +05:30
Manav Rathi
9387320948 Conv 2025-06-05 17:10:11 +05:30
Manav Rathi
9e1b1b0850 Convert 2025-06-05 17:10:11 +05:30
Manav Rathi
b656d4fe1f Addendum
https://github.com/jedisct1/libsodium.js/issues/112#issuecomment-337389964
2025-06-05 17:10:11 +05:30
Manav Rathi
76cca72bec Conv 2025-06-05 17:10:11 +05:30
Manav Rathi
3f6a706e9a Conv 2025-06-05 17:10:11 +05:30
Neeraj Gupta
9245af5080 Fix oom during chunk combination 2025-06-05 16:30:51 +05:30
AmanRajSinghMourya
7953337f15 Enhance shared collections layout with consistent size across all screens 2025-06-05 16:23:29 +05:30
AmanRajSinghMourya
3facf47540 Refactor: rename NewProgressIndicator to MemoryProgressIndicator 2025-06-05 15:42:08 +05:30
AmanRajSinghMourya
629d902745 Fix reseting progress bar to full before starting new memory & improve paly/pause for video memory 2025-06-05 15:40:53 +05:30
Vishnu Mohandas
0717d12d65 [docs] Update general.md 2025-06-05 15:30:39 +05:30
vishnukvmd
107e8e665a Minor 2025-06-05 15:09:33 +05:30
vishnukvmd
d9040047ec Add a line to avoid starting articles with line-breaks that precede an H2 2025-06-05 15:09:26 +05:30
laurenspriem
4fb2be51e0 Logging 2025-06-05 14:51:47 +05:30
laurenspriem
a99cdbedc4 Fix out of range issue 2025-06-05 14:35:03 +05:30
Neeraj Gupta
a543b8c0f6 Pass token in query param for direct download 2025-06-05 14:21:38 +05:30
Neeraj Gupta
f5ca4a9d15 Logs for resumable download failure 2025-06-05 14:19:58 +05:30
Manav Rathi
5ab0299751 [web] Crypto API cleanup (non functional) (#6173) 2025-06-05 11:28:52 +05:30
Neeraj
f1097a93f7 [mob] Fix: Handle already linked email err (#6172)
## Description
While linking contact to a person, we were not gracefully handling the
error where email id is already mapped to another person. And when such
person doesn't have any face attached, they don't have any way to unlink
the email from that person entity.
## Tests
2025-06-05 11:26:56 +05:30
Manav Rathi
7bce2e358b Conv 2025-06-05 11:18:23 +05:30
Manav Rathi
75b3d2354f Simplify 2025-06-05 11:14:31 +05:30
Manav Rathi
52ee86af18 Proxy 2025-06-05 11:06:52 +05:30
Manav Rathi
462aae8f34 Fwd 2025-06-05 11:01:40 +05:30
laurenspriem
496691d236 Schedule at midnight 2025-06-05 10:41:26 +05:30
laurenspriem
f1a6af048d Cleanup 2025-06-05 10:38:44 +05:30
laurenspriem
22e32baf34 route to person memory 2025-06-05 10:36:47 +05:30
Manav Rathi
e864ea367a Rename 2025-06-05 10:30:08 +05:30
Neeraj Gupta
45cf130375 Perf: remove redundant async 2025-06-05 10:24:23 +05:30
Manav Rathi
e6fd962c75 Del 2025-06-05 10:23:02 +05:30
Manav Rathi
f5aefb445d Conv 2025-06-05 10:22:18 +05:30
Neeraj Gupta
917ce21b35 Fix: Handle already linked email err 2025-06-05 10:19:07 +05:30
Manav Rathi
0241e41f0d Tweak 2025-06-05 10:13:44 +05:30
Manav Rathi
65982b6f82 Del 2025-06-05 09:58:16 +05:30
Manav Rathi
69756d5733 Conv 2025-06-05 09:56:11 +05:30
laurenspriem
b17ba26268 Extract strings 2025-06-05 09:52:40 +05:30
Manav Rathi
594671d96c Conv 2025-06-05 09:44:22 +05:30
Manav Rathi
fa1719e3ca Conv 2025-06-05 09:43:10 +05:30
laurenspriem
e2fbb26dce Reorganize 2025-06-05 09:41:58 +05:30
Manav Rathi
6ba7841632 Conv 2025-06-05 09:39:57 +05:30
Manav Rathi
37b52b5cb5 Reduce API surface 2025-06-05 09:28:28 +05:30
Manav Rathi
2e98d8b652 Ret 3 2025-06-05 09:17:22 +05:30
Manav Rathi
ea4d6c5cf1 consistent 2025-06-05 09:15:30 +05:30
Manav Rathi
413f5479ef ret 2 2025-06-05 09:14:13 +05:30
laurenspriem
81bfc83e9d birthday notifications setting 2025-06-05 09:12:51 +05:30
Manav Rathi
92b3da1198 return type consistency 1 2025-06-05 08:53:16 +05:30
laurenspriem
cc98ca70d5 Log scheduling 2025-06-05 08:50:37 +05:30
laurenspriem
544078a40c Optional notification message 2025-06-05 08:45:36 +05:30
laurenspriem
229d438181 Remove 2025-06-05 08:39:17 +05:30
laurenspriem
aab1450c3f remove old parameter comment 2025-06-05 08:38:59 +05:30
laurenspriem
07d7635464 Merge branch 'main' into birthday_notification 2025-06-05 08:35:44 +05:30
Neeraj
88b95da04f [mob] widget customizations (+ new widgets) (#5882) 2025-06-04 20:57:22 +05:30
Manav Rathi
32707e2909 [desktop] macOS folder watch EMFILE workaround (#6170) 2025-06-04 20:18:41 +05:30
Manav Rathi
e28ee8ca66 [desktop] macOS folder watch EMFILE workaround 2025-06-04 20:15:19 +05:30
Manav Rathi
751d107518 [web] One less nit (#6169) 2025-06-04 20:09:50 +05:30
AmanRajSinghMourya
277b88f332 Refactor: removing null check for _imageProvider when calling onFinalFileLoad 2025-06-04 19:54:45 +05:30
AmanRajSinghMourya
0473bcc543 Refactor: update onFinalFileLoad method to accept memoryDuration parameter 2025-06-04 19:40:35 +05:30
Manav Rathi
439dfcab58 One less nit 2025-06-04 19:36:17 +05:30
AmanRajSinghMourya
79c1affc39 fix: update border radius and text style 2025-06-04 19:19:20 +05:30
Manav Rathi
3f9f0d6d10 [web] General code improvements (#6168) 2025-06-04 19:15:25 +05:30
Manav Rathi
506b915f65 conv 2025-06-04 19:02:55 +05:30
Manav Rathi
65a8923799 Conv 2025-06-04 18:53:14 +05:30
Manav Rathi
e6707d9fcb Move 2025-06-04 18:43:05 +05:30
Manav Rathi
3dbc336687 Doc 2025-06-04 18:36:49 +05:30
Manav Rathi
8441aafe81 Inline 2025-06-04 18:26:53 +05:30
Manav Rathi
5d3f431ee0 Doc 2025-06-04 18:25:28 +05:30
Manav Rathi
ce591e6267 Conv 2025-06-04 18:11:28 +05:30
Prateek Sunal
132a7862fe fix: clear directory on log out 2025-06-04 17:50:21 +05:30
Prateek Sunal
f4167be4b4 fix: update people changed debouncer to 1500 2025-06-04 17:42:46 +05:30
Prateek Sunal
4e17a861dc fix: separate asset resources 2025-06-04 17:41:22 +05:30
Manav Rathi
86f282bb06 Scope 2025-06-04 17:36:50 +05:30
Manav Rathi
334a996357 Scope 2025-06-04 17:27:46 +05:30
Manav Rathi
9a5bac774e Unused 2025-06-04 17:24:08 +05:30
Manav Rathi
04ae02c130 [meta] Issue template (#6166) 2025-06-04 17:13:41 +05:30
Manav Rathi
31232390e8 [meta] Issue template 2025-06-04 17:07:03 +05:30
AmanRajSinghMourya
4d27341787 Refactor: remove unnecessary calls to _resetAnimation and handle reset in onFinalFileLoad 2025-06-04 16:56:52 +05:30
Prateek Sunal
7d4ea8092a chore: readd thermal 2025-06-04 16:49:46 +05:30
AmanRajSinghMourya
45d8c236fe Update onFinalFileLoad to remove unused parameter 2025-06-04 16:48:08 +05:30
AmanRajSinghMourya
4412b016ce Refactor: rename onFileLoad to onFinalFileLoad for consistency across file handling 2025-06-04 16:44:00 +05:30
AmanRajSinghMourya
3cea8e8a90 Hide seekbar and play/pause button for videos shown in memories & long press to play/pause video 2025-06-04 16:43:34 +05:30
Manav Rathi
e80f91ca92 [web] General refactoring (#6164) 2025-06-04 16:42:28 +05:30
Manav Rathi
523d1961b7 other dep 2025-06-04 16:32:08 +05:30
Manav Rathi
6091a0d446 Lockfile updates 2025-06-04 16:28:33 +05:30
Manav Rathi
12d84d0dbe Avoid exceptions for flow control 2025-06-04 16:27:24 +05:30
Manav Rathi
a244140348 tweak 2025-06-04 16:27:24 +05:30
Manav Rathi
2715bd81b0 vis 2025-06-04 16:27:24 +05:30
Manav Rathi
d65424cef2 Document and move 2025-06-04 16:27:24 +05:30
Manav Rathi
a07d39512b Prune ids 2025-06-04 16:27:24 +05:30
Manav Rathi
223ed36d61 Conv 2025-06-04 16:27:24 +05:30
Neeraj
3e893a7b39 [mob] Use file stream to improve hashing speed (#6163)
## Description

## Tests
For 3.38 GB file on iPhone 11
Old Hashing took 24792 ms
Hashing v2 took 10365 ms

Also tested it on a smaller file

```dart
// Returns the hash for a given file, chunking it in batches of hashChunkSize
Future<Uint8List> cryptoGenericHash(Map<String, dynamic> args) async {
  final int startTime = DateTime.now().millisecondsSinceEpoch;
  final sourceFile = File(args["sourceFilePath"]);
  final sourceFileLength = await sourceFile.length();
  final inputFile = sourceFile.openSync(mode: FileMode.read);
  final state =
      Sodium.cryptoGenerichashInit(null, Sodium.cryptoGenerichashBytesMax);
  var bytesRead = 0;
  bool isDone = false;
  while (!isDone) {
    var chunkSize = hashChunkSize;
    if (bytesRead + chunkSize >= sourceFileLength) {
      chunkSize = sourceFileLength - bytesRead;
      isDone = true;
    }
    final buffer = await inputFile.read(chunkSize);
    bytesRead += chunkSize;
    Sodium.cryptoGenerichashUpdate(state, buffer);
  }
  await inputFile.close();
  final hash =
      Sodium.cryptoGenerichashFinal(state, Sodium.cryptoGenerichashBytesMax);

  final int endTime = DateTime.now().millisecondsSinceEpoch;
  final hash2 = await cryptoGenericHashV2(args);
  final endTime2 = DateTime.now().millisecondsSinceEpoch;
  if (hash.length != hash2.length) {
    throw Exception(
      "Hash length mismatch: ${hash.length} != ${hash2.length}",
    );
  }
  if (!const ListEquality().equals(hash, hash2)) {
    throw Exception("not equal: hash");
  }
  print("Hashing took ${endTime2 - startTime} ms");
  print("Hashing v2 took ${endTime2 - endTime} ms");
  return hash;
}

Future<Uint8List> cryptoGenericHashV2(Map<String, dynamic> args) async {
  final file = File(args["sourceFilePath"]);
  final state =
      Sodium.cryptoGenerichashInit(null, Sodium.cryptoGenerichashBytesMax);
  await for (final chunk in file.openRead()) {
    Sodium.cryptoGenerichashUpdate(state, Uint8List.fromList(chunk));
  }
  return Sodium.cryptoGenerichashFinal(state, Sodium.cryptoGenerichashBytesMax);
}
```
2025-06-04 14:33:47 +05:30
Neeraj
eea70db1fd Avoid redundant copy
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-04 14:31:51 +05:30
Neeraj Gupta
85c14b884b [mob] Use file stream to improve hashing speed 2025-06-04 13:43:01 +05:30
laurenspriem
9a0722ffcc todos for after merge 2025-06-04 13:25:32 +05:30
laurenspriem
49dcb55de7 schedule birthdays notifications 2025-06-04 13:22:47 +05:30
laurenspriem
fa37b11c7f Specify birthdays clearer 2025-06-04 13:20:59 +05:30
Prateek Sunal
884b3716ba fix: add debouncer 2025-06-04 12:52:48 +05:30
Prateek Sunal
6f3ee24ac1 chore: update lock files 2025-06-04 12:46:27 +05:30
Prateek Sunal
292ed5fd6d Merge remote-tracking branch 'origin/main' into widget-superpowered 2025-06-04 12:45:21 +05:30
Prateek Sunal
54d2040f2b fix: remove .fvm 2025-06-04 12:43:35 +05:30
Neeraj
15954ce396 [mob] Remember last scroll offset while adding assets from device (#6159)
## Description
Also increased the items in grid, as there's no scrollbar (pkg does not
support it yet afaik)

## Tests
2025-06-04 12:24:32 +05:30
Laurens Priem
86a9e5ec86 [mob][photos] Compute controller (#6158)
## Description

Refactored MLController (now ComputeController) so that ML and Streaming
both first have to ask for its permission to run.

## Tests
2025-06-04 12:02:57 +05:30
Manav Rathi
52c9a15c2c [web] Migrate to zod v4 (#6162) 2025-06-04 11:58:00 +05:30
Manav Rathi
3c514476c2 Reintroduce with new zod 2025-06-04 11:53:49 +05:30
laurenspriem
31b26a1b26 Reduce logs 2025-06-04 11:52:33 +05:30
Manav Rathi
5e26a895d3 passthrough => looseObject
https://zod.dev/v4/changelog?id=deprecates-strict-and-passthrough
2025-06-04 11:45:12 +05:30
Manav Rathi
4b4d9d0fd8 Migrate
https://zod.dev/v4/changelog
2025-06-04 11:45:12 +05:30
laurenspriem
a4f49b8e84 Try trigger streaming when ML is done 2025-06-04 11:11:21 +05:30
Neeraj
1722277141 [mobile] New translations (#6125)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-06-04 11:02:00 +05:30
Manav Rathi
6a6547a984 Up 2025-06-04 11:01:41 +05:30
Manav Rathi
4c78d1ab78 [web] Convert more cases of deprecated single input form (#6160) 2025-06-04 10:58:03 +05:30
Neeraj
8cd87b964a [photos][mob] Trim whitespace from search query (#6153)
## Description

Previously, when searching for e.g. `test ` would not find an album
called `test`. That's because the trailing whitespace is not ignored. On
mobile this can be especially annoying because sometimes auto-completion
automatically inserts whitespace after a word.

This patch trims whitespace of the search query in two places:
* When searching for an album name when moving photos to an album.
* When using the global search.

## Tests
2025-06-04 10:52:40 +05:30
Manav Rathi
68844eb790 Try to retain similar DOM structure as before 2025-06-04 10:52:18 +05:30
Neeraj Gupta
b24b0d340b Remember last scrollOffset while picking asset from device 2025-06-04 10:50:06 +05:30
Neeraj Gupta
47e8ccd5d8 Update asset_picker pkg 2025-06-04 10:49:41 +05:30
Manav Rathi
e0ae9eb911 vis 2025-06-04 10:48:12 +05:30
laurenspriem
c8d53faa5d Don't queue streaming if controller doesn't allow 2025-06-04 10:44:44 +05:30
laurenspriem
b494dc8cad Allow multiple request calls 2025-06-04 10:44:19 +05:30
Manav Rathi
5d3acca7ed Conv 2025-06-04 10:39:40 +05:30
laurenspriem
d6ea8d4ec3 less loging 2025-06-04 10:30:22 +05:30
Manav Rathi
1850aa1aec ref uploader name 2025-06-04 10:15:11 +05:30
laurenspriem
42239fe30d don't stop on force 2025-06-04 10:14:14 +05:30
Neeraj
35f6dc2361 [mob] Switch to exif_reader (#6154) 2025-06-04 10:01:35 +05:30
Manav Rathi
bbfae3731a Swap 2025-06-04 09:21:35 +05:30
Manav Rathi
d99b3e422b Change default to the more frequently needed value 2025-06-04 09:14:52 +05:30
Manav Rathi
5fe497df3b Swap 2025-06-04 09:06:28 +05:30
Manav Rathi
2e5deda9ae [web] Reset cast dialog view on reopen (#6157) 2025-06-04 08:54:05 +05:30
Manav Rathi
c4fc03d933 Reset cast dialog view on reopen 2025-06-04 08:40:40 +05:30
Prateek Sunal
a1c180485d Merge remote-tracking branch 'origin/main' into widget-superpowered 2025-06-04 01:18:56 +05:30
Prateek Sunal
c865e263e5 fix: remove shrink wrap and use casting for GenericSearchResult 2025-06-04 01:06:09 +05:30
Prateek Sunal
4b72acf3c0 chore: add lock files 2025-06-04 01:05:34 +05:30
Manav Rathi
083eb0516a [web] LP and video playback tweaks (#6156) 2025-06-03 21:15:45 +05:30
Manav Rathi
c5f993571e vid tweaks 2025-06-03 21:11:21 +05:30
Manav Rathi
5b698a926e z 2025-06-03 21:05:52 +05:30
Manav Rathi
760cc4b8e0 Take 2 2025-06-03 21:01:01 +05:30
Manav Rathi
5f722f50e6 Reset 2025-06-03 20:29:23 +05:30
Manav Rathi
ddef5a565f 4 2025-06-03 20:06:28 +05:30
laurenspriem
75042010e8 Integrate computeController requests 2025-06-03 19:43:50 +05:30
Manav Rathi
730746781c 3 2025-06-03 19:43:34 +05:30
laurenspriem
eeadc1d0d3 requesting to computeController methods 2025-06-03 19:43:01 +05:30
Manav Rathi
5b7c112c9a 2 2025-06-03 19:39:41 +05:30
Manav Rathi
c0d57c72bf LP tweaks 2025-06-03 19:33:03 +05:30
Manav Rathi
65abbb4126 [web] General improvements to code dealing with keys (#6155)
(Non functional)
2025-06-03 17:28:26 +05:30
Manav Rathi
113b820451 Same name 2025-06-03 16:54:17 +05:30
Neeraj Gupta
c17a8d4c38 Fix fr arb 2025-06-03 16:23:16 +05:30
Neeraj Gupta
0202cd1447 Switch to exif_reader 2025-06-03 16:23:08 +05:30
Manav Rathi
6ce7921a16 Inline 2025-06-03 16:16:08 +05:30
Manav Rathi
2d7689a6da Consolidate and move 2025-06-03 16:03:51 +05:30
Manav Rathi
f0aac696ca Conv 2025-06-03 15:50:43 +05:30
Manav Rathi
7112e96c75 Swap 2025-06-03 15:46:15 +05:30
Manav Rathi
f4ff63ec0a Swap 2025-06-03 15:41:47 +05:30
Manav Rathi
48dc3a6b69 Redirect 2025-06-03 15:38:23 +05:30
Jacques Lucke
1b62dbbb78 also trim in album search 2025-06-03 12:08:00 +02:00
laurenspriem
d9a4ffd8f7 rename to ComputeController 2025-06-03 15:32:47 +05:30
Jacques Lucke
f749e1ee22 trim search query 2025-06-03 11:59:02 +02:00
Manav Rathi
78669a8550 Match mobile and architecture docs
From libsodium source

crypto_secretbox_keygen(unsigned char k[crypto_secretbox_KEYBYTES])
{
    randombytes_buf(k, crypto_secretbox_KEYBYTES);
}

crypto_kdf_keygen(unsigned char k[crypto_kdf_KEYBYTES])
{
    randombytes_buf(k, crypto_kdf_KEYBYTES);
}
2025-06-03 15:20:20 +05:30
laurenspriem
3d5c53b041 Simplify 2025-06-03 15:04:56 +05:30
laurenspriem
e493702c64 Integrate thermal state in check 2025-06-03 14:59:23 +05:30
AmanRajSinghMourya
20314a5d2d Reduce size of 'Delete empty albums' button 2025-06-03 14:53:06 +05:30
Manav Rathi
7cdef46385 Update 2025-06-03 14:44:20 +05:30
Manav Rathi
97314b7dc1 conv 2025-06-03 14:15:15 +05:30
Manav Rathi
9d9ed0f01f Refactor API 2025-06-03 14:09:08 +05:30
Manav Rathi
5df1b12ef5 use new api 2025-06-03 14:02:33 +05:30
Manav Rathi
25cadce651 Vars 2025-06-03 13:56:41 +05:30
Manav Rathi
0e0044693c Remove unnecessary roundtrip 2025-06-03 13:56:41 +05:30
Vishnu Mohandas
32bffcb80b [docs] Update deduplicate.md 2025-06-03 13:50:40 +05:30
AmanRajSinghMourya
2bb839e26c Refactor: remove scaling and make memories widget of same size 2025-06-03 13:49:02 +05:30
Manav Rathi
241577739a doc 2025-06-03 13:21:18 +05:30
Manav Rathi
8c99a3e5af Other way 2025-06-03 13:11:54 +05:30
Manav Rathi
c92141b9dc Use 2025-06-03 13:01:52 +05:30
Manav Rathi
54b5100e89 Use 2025-06-03 13:01:52 +05:30
Manav Rathi
d6060e1194 Extract 2025-06-03 13:01:52 +05:30
AmanRajSinghMourya
63d0f23742 Fix: reset animation when switching to next/previous page before starting the next/previous page animation 2025-06-03 12:44:59 +05:30
Vishnu Mohandas
d895e6a0c3 [server] Fix migration index (#6150) 2025-06-03 12:42:54 +05:30
vishnukvmd
55fd87face [server] Fix migration index 2025-06-03 12:42:25 +05:30
AmanRajSinghMourya
36e7a664ff Make zoom-in/zoom-out animation alternate 2025-06-03 11:37:07 +05:30
Manav Rathi
6e8acbab1a [infra] Forward headers from workers + ditto cast (#6149) 2025-06-03 10:42:51 +05:30
Manav Rathi
9dd8cd3558 up 2025-06-03 10:27:52 +05:30
Manav Rathi
a227e8541d + range for files 2025-06-03 10:12:40 +05:30
Neeraj
f4f6f2906c [photos][mob] Fix: Close input dialog after album creation (#6148)
## Description

There is an annoyingly flashing dialog when creating exiting a newly
created album. The solution is to close the new-album-dialog before
entering the album so that it is not visible anymore when leaving the
album again.

The dialog is closed after the album is created and before routing to
the album. An alternative is to close it directly when tapping on the
Create button, but then the dialog disappears and it might take a while
until the album is opened which feels worse.

Old (note how the dialog is still open when leaving the album):


https://github.com/user-attachments/assets/e57d27af-2339-4ba7-a5d8-be052aede99c

New (note how there is no dialog when leaving the album):


https://github.com/user-attachments/assets/874164a3-9550-4fc3-9144-342b5888dbb7

## Tests

I don't know how to add tests for this.
2025-06-03 09:47:17 +05:30
Prateek Sunal
265bad28b0 fix: people selection logic as well 2025-06-03 09:45:02 +05:30
Prateek Sunal
9ee52b5dee fix: don't depend on FaceFilter for fetching personId 2025-06-03 09:43:06 +05:30
Prateek Sunal
1d7baf9dd6 chore: remove unwanted author copyright 2025-06-03 09:38:38 +05:30
Manav Rathi
a5f266421a Also from cast 2025-06-03 09:35:57 +05:30
Manav Rathi
dbbcd44f5b Fwd headers 2025-06-03 09:26:52 +05:30
Manav Rathi
38798e92a3 [web][desktop] Routine dep updates (#6146)
feat. MUI v7
2025-06-03 09:04:26 +05:30
Manav Rathi
fda4f47cba disabled is not a color
lint errors on ci
2025-06-03 08:52:12 +05:30
Jacques Lucke
d0ddce2803 Avoid flashing dialog when leaving newly created album 2025-06-02 20:16:12 +02:00
Manav Rathi
4bfc495f39 Fix errors on ci
[eslint] /home/runner/work/ente/ente/web/packages/new/photos/components/ImageEditorOverlay.tsx
[eslint]   1313:41  error  This assertion is unnecessary since it does not change the type of the expression  @typescript-eslint/no-unnecessary-type-assertion
[eslint]   1325:39  error  This assertion is unnecessary since it does not change the type of the expression  @typescript-eslint/no-unnecessary-type-assertion
[eslint]   1338:35  error  This assertion is unnecessary since it does not change the type of the expression  @typescript-eslint/no-unnecessary-type-assertion
[eslint]   1350:41  error  This assertion is unnecessary since it does not change the type of the expression  @typescript-eslint/no-unnecessary-type-assertion
2025-06-02 19:58:49 +05:30
Manav Rathi
7cbc80adc6 Stick to non-private imports 2025-06-02 19:49:30 +05:30
Manav Rathi
414265de4a mui update 2025-06-02 19:28:55 +05:30
Manav Rathi
a2c032e77b desktop deps 2025-06-02 19:27:11 +05:30
Manav Rathi
b567dddfc3 routine dep update 2025-06-02 19:26:47 +05:30
AmanRajSinghMourya
e9631c2eb2 Add zoom-in/out effect and background blur effect 2025-06-02 19:07:13 +05:30
Manav Rathi
dea77b5dd0 [web] Fix trash open (#6144) 2025-06-02 19:02:28 +05:30
Manav Rathi
1b8a8a2717 [web] Fix trash open 2025-06-02 18:58:34 +05:30
Keerthana
549cd74537 [docs]: lint and refactor navigation and overview structure (#6132)
## Description
This PR introduces the following changes in the documentation:
- Restructuring of sidebar for intuitive navigation for
overview/introduction. **Note:** The content covered by the section
along with rest of the documentation is still under major revision and
the skeleton of the documentation is being provided for easier access to
end-users.
- Updation of information regarding lack of availability of Bucket CORS
for MinIO community edition that's used by compose clusters by default.
- Linting for documentation for consistency with prettier.
2025-06-02 18:21:13 +05:30
Keerthana
2d6c754c15 [docs][actions] add lint checks for PRs 2025-06-02 18:18:35 +05:30
Keerthana
5fe0e424cd [docs] refactor community and help pages in overview 2025-06-02 18:16:58 +05:30
Neeraj
991bfbb7ef [mob] Enable resumable upload for all (#6141)
## Description

## Tests
2025-06-02 17:48:52 +05:30
Laurens Priem
3292ab2d95 [mob][photos] Face thumbnails refactor (#6128)
## Description

- Refactored PersonFaceWidget into separate FileFaceWidget and
PersonFaceWidget. PersonFaceWidget now only requires a person or cluster
ID, no longer is any file needed
- Face thumbnail choice is now made based on highest face score instead
of recency, meaning less changes in face thumbnails and less re-computes
- More aggressive caching of face thumbnails in memory
- Added option to change person cover from top menu
- Fixed issue with decoding HEIC for face thumbnails on Android

## Tests

Tested in debug mode on my pixel 8.
2025-06-02 16:58:18 +05:30
Neeraj Gupta
8eddf3ff4e Upload videos along with photos 2025-06-02 16:21:15 +05:30
Neeraj Gupta
2dca25778b Enable multipart upload for everyone 2025-06-02 16:18:14 +05:30
Manav Rathi
2316f6323e [web] New translations (#6135)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-06-02 16:05:46 +05:30
Neeraj
d15c11cc26 [server] Defer file data replication for 10min (#6139)
## Description

## Tests
2025-06-02 16:04:48 +05:30
Manav Rathi
f32c712c72 [meta] fr => enhancements (#6137) 2025-06-02 16:04:26 +05:30
Vishnu Mohandas
9060eaa0e5 [server] Update first-upload copy (#6138) 2025-06-02 16:01:02 +05:30
vishnukvmd
3a9d507c35 Update copy 2025-06-02 15:59:33 +05:30
Ashil
ed0c1a1ebc [mob][photos] Fix missing 'Added by' indicator in gallery file element and file info for when opening public links via deeplink (#6136)
## Description

User avatar in gallery file element and 'added by' field in file info
were missing for files in public links opened via deeplink. This PR
fixes this issue.
2025-06-02 15:58:30 +05:30
Manav Rathi
6e1b959a61 [meta] fr => enhancements 2025-06-02 15:57:41 +05:30
ashilkn
95a9baa4e2 Show avatar in gallery file element and 'added by' in file info for public links opened via deeplink 2025-06-02 15:53:05 +05:30
ashilkn
0ccc333dad chore 2025-06-02 15:52:25 +05:30
Crowdin Bot
a5224628b7 New Crowdin translations by GitHub Action 2025-06-02 10:11:04 +00:00
Manav Rathi
4d4d961628 [desktop] Post release toggles (#6134) 2025-06-02 15:40:13 +05:30
Manav Rathi
e22f74d653 bg ml and export 2025-06-02 15:33:31 +05:30
Neeraj Gupta
b4fdf441ec Defer filedata replication for 10min 2025-06-02 15:30:31 +05:30
Vishnu Mohandas
e798ac02c6 [server] Check in with paid customers (#6106)
## Description
Update the `subscriptions` table to store the time at which
subscriptions were upgraded (`upgraded_at`).

Reach out to customers who upgraded 7 days ago to make sure all is well.
<img width="628" alt="Screenshot 2025-05-31 at 1 41 09 PM"
src="https://github.com/user-attachments/assets/7d1e970a-c7fa-4666-8d4f-db13ba7c105d"
/>

Store this information within `notification_history` so they are not
contacted again (in case of admin interventions).

> Note: We will not be back-filling data for existing subscriptions.

## Tests
- [x] Tested locally to make sure only customers who upgraded 7 days ago
were pinged.
2025-06-02 15:25:23 +05:30
Manav Rathi
6c41f575c3 fav cast 2025-06-02 15:22:23 +05:30
Manav Rathi
15e211b3a5 typo 2025-06-02 15:18:33 +05:30
Manav Rathi
9ce3fe7756 post rel 2025-06-02 15:18:17 +05:30
Manav Rathi
215bb43f39 [web] FS limit test (#6133) 2025-06-02 15:17:47 +05:30
Manav Rathi
793ee58e2b fs limit test 2025-06-02 15:14:39 +05:30
Manav Rathi
a6ae092839 [desktop] Make video upload retries idempotent (#6131) 2025-06-02 14:33:33 +05:30
Keerthana
088afe7f2a [fix]: dead links in overview 2025-06-02 14:32:53 +05:30
Manav Rathi
d212d55dca Make retries idempotent 2025-06-02 14:12:37 +05:30
Manav Rathi
bc88a378b0 Note 2025-06-02 14:00:07 +05:30
Keerthana
b0bb5fc916 [docs]: lint and refactor navigation and structure for overview 2025-06-02 13:58:49 +05:30
Neeraj
b3b3f8445a [auth] New translations (#6126) 2025-06-02 12:28:10 +05:30
laurenspriem
9d87b8f303 Rename to clarify Android 2025-06-02 11:43:21 +05:30
Alexander
15e7d9658c [auth] Add new custom icons in auth (#6114)
New icons added:

- CSSBuy
- uollet
2025-06-02 11:38:33 +05:30
Neeraj
fb262c7dc4 [auth] fix: rename GIRAD icon to GERID (#6107)
Made a typo in the previous PR 😅. This PR changes it to the correct name
(GIRAD -> GERID)
2025-06-02 11:37:58 +05:30
Laurens Priem
3080859593 timeout on this day notification android at eod (#6130)
## Description

Auto dismiss 'On this day' notification at the end of the day. Only on
Android since there's no API for this on iOS.

## Tests

Tested in debug mode on my pixel 8 phone.
2025-06-02 11:25:31 +05:30
laurenspriem
9ea70c70d5 timeout on this day notification android at eod 2025-06-02 11:21:01 +05:30
Manav Rathi
a6291f34f9 [web] New translations (#6124)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-06-02 10:25:04 +05:30
Crowdin Bot
40a8449ea5 New Crowdin translations by GitHub Action 2025-06-02 01:17:53 +00:00
Crowdin Bot
765b0982ed New Crowdin translations by GitHub Action 2025-06-02 01:05:16 +00:00
Crowdin Bot
199f4acccc New Crowdin translations by GitHub Action 2025-06-02 00:41:26 +00:00
laurenspriem
026f9a2bb8 Fix heic decoding issue for face thumbnails 2025-06-01 17:58:55 +05:30
AmanRajSinghMourya
b43bc8a5bd feat: add light and dark mode SVG icons for collection and search actions 2025-05-31 20:24:45 +05:30
AmanRajSinghMourya
27932679dd Add onFileLoad callback to file_widget for better loading of progress animation 2025-05-31 18:58:48 +05:30
Sven
571995bbd9 fix: rename GIRAD icon to GERID 2025-05-31 12:44:54 +02:00
vishnukvmd
a15084374b Setup cron 2025-05-31 13:45:55 +05:30
vishnukvmd
c0ceb68dc6 Say hello to paid customers 2025-05-31 13:45:51 +05:30
vishnukvmd
0b87152057 Hello email 2025-05-31 13:45:27 +05:30
vishnukvmd
feb6a82755 Mark upgrades 2025-05-31 13:44:55 +05:30
vishnukvmd
85c418c9f6 Update query 2025-05-31 13:44:32 +05:30
vishnukvmd
cc68189004 Update model 2025-05-31 13:44:25 +05:30
vishnukvmd
21c1328428 Add column to store upgraded-at timestamps 2025-05-31 13:42:13 +05:30
vishnukvmd
1375b4df12 Fix typo 2025-05-31 13:06:52 +05:30
AmanRajSinghMourya
ab3808adbf fix: show newly created album in the collection sheet for batch operation 2025-05-31 12:52:50 +05:30
Neeraj
7f0eeece9c [auth] Bump auth version 4.4.0 (#6103)
## Description

## Tests
2025-05-31 10:14:13 +05:30
Neeraj Gupta
7fb30ed477 Add release 4.4.0 to appdata.xml 2025-05-31 10:13:23 +05:30
Neeraj Gupta
91ea5763fb Bump auth version: 4.4.0 2025-05-31 10:13:07 +05:30
Neeraj
f29f9f2a94 [auth] Sign windows binary using trust store (#6102)
## Description

## Tests
2025-05-31 10:12:23 +05:30
Neeraj Gupta
5138898d73 Sign auth windows binary using trust store 2025-05-31 10:11:13 +05:30
Neeraj Gupta
171be22113 Fix typo 2025-05-31 10:08:51 +05:30
Neeraj
6a3575feb4 [auth] Add GIRAD icon (#6100)
Add GIRAD custom icon, as requested here:
https://github.com/ente-io/ente/issues/6075
2025-05-31 09:53:35 +05:30
Neeraj Gupta
4e80c82a6f Revert "Avoid building for testing sign"
This reverts commit 0c0acd9592.
2025-05-31 09:36:56 +05:30
Neeraj Gupta
0c0acd9592 Avoid building for testing sign 2025-05-31 09:34:03 +05:30
Neeraj Gupta
26384513f2 Mention absolute path 2025-05-31 08:45:53 +05:30
Neeraj
acd05e0a55 [meta] Workflow to test windows sign (#6101)
## Description

## Tests
2025-05-31 08:12:55 +05:30
Neeraj Gupta
91a48943b7 Rename worflow 2025-05-31 08:10:58 +05:30
Neeraj Gupta
a8111eab04 Add workflow for testing trust signing 2025-05-31 08:09:37 +05:30
Sven
0084a3cf59 Add GIRAD icon and entry to custom icons list 2025-05-30 19:10:18 +02:00
Manav Rathi
82e1fd3b0a [web] Convert more uses of older single input form (#6099)
Only a handful left to go.
2025-05-30 18:36:51 +05:30
Manav Rathi
d57c68188c Update for new API methods 2025-05-30 18:32:46 +05:30
Manav Rathi
65a7a49d07 Swap 2025-05-30 18:25:52 +05:30
Manav Rathi
631c46681d Nicer animation 2025-05-30 18:12:50 +05:30
Manav Rathi
023d8ab8b3 Format 2025-05-30 18:07:50 +05:30
Manav Rathi
a1e3cdd5d2 Remove inconsistent trim in one direction
- No other password inputs are trimmed
- The code was trimming here, but not when verifying it
2025-05-30 18:00:13 +05:30
laurenspriem
2df9041e34 Set cover sheet in people app bar 2025-05-30 17:55:11 +05:30
Manav Rathi
b1051bbd47 Swap 2025-05-30 17:51:45 +05:30
laurenspriem
f869483c68 Change icon and reorder 2025-05-30 17:41:40 +05:30
Manav Rathi
8682e3338b Rename 2025-05-30 17:40:51 +05:30
Manav Rathi
ee96b44b74 Use 2025-05-30 17:38:14 +05:30
Manav Rathi
e992db4846 augment 2025-05-30 17:30:30 +05:30
AmanRajSinghMourya
8d8de53167 fix: remove borderRadius 2025-05-30 17:26:48 +05:30
laurenspriem
0d95f8c5a2 Remove redundant 2025-05-30 17:09:10 +05:30
laurenspriem
4b9f6619b5 Rename 2025-05-30 17:02:59 +05:30
laurenspriem
9e30d08fae Don't remove faceAvatar 2025-05-30 17:01:45 +05:30
laurenspriem
2c50b84e30 Better update in memory cache 2025-05-30 16:55:48 +05:30
Neeraj
686d04339d [auth] Fix: handle incorrect device time during code generation (#6096)
## Description

## Tests
2025-05-30 16:50:56 +05:30
Neeraj Gupta
5d0a86c248 Fix progress bar when local time is incorrect 2025-05-31 16:23:06 +05:30
Manav Rathi
2a375e56c3 [web] Update uses of deprecated collection namer (#6098) 2025-05-30 16:43:02 +05:30
laurenspriem
ba468d32f5 Refactor remove redundant method 2025-05-30 16:40:02 +05:30
Manav Rathi
ce3b6b1c1f Remove unnecessary dep 2025-05-30 16:38:26 +05:30
Manav Rathi
52451cd0af Update 2025-05-30 16:35:19 +05:30
Manav Rathi
03a25c2625 Unused 2025-05-30 16:33:51 +05:30
Manav Rathi
f425dc6eaf Use 2025-05-30 16:33:51 +05:30
Manav Rathi
26d111da42 Tweak 2025-05-30 16:33:51 +05:30
Manav Rathi
7b100e8dae Use 2025-05-30 16:33:51 +05:30
Manav Rathi
b5d059c61b Use 2025-05-30 16:33:51 +05:30
Manav Rathi
70c3c1d541 [web] New translations (#6097)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-05-30 16:33:11 +05:30
Crowdin Bot
01b05d243d New Crowdin translations by GitHub Action 2025-05-30 10:59:57 +00:00
Neeraj Gupta
b560e5b71a Fix: handle incorrect device time during code generation 2025-05-30 16:24:43 +05:30
laurenspriem
3354416543 Query typo 2025-05-30 16:15:03 +05:30
AmanRajSinghMourya
09199180f3 Add isFromMemories parameter to handle gestures 2025-05-30 16:01:27 +05:30
AmanRajSinghMourya
d9f36f1949 Added with progress animation for FullScreenMemory 2025-05-30 16:00:33 +05:30
laurenspriem
cfeca1f564 Integrate new PersonFaceWidget everywhere 2025-05-30 15:52:06 +05:30
AmanRajSinghMourya
e9b95cce62 Minor changes 2025-05-30 15:41:39 +05:30
Manav Rathi
625b562229 [web] [auth] Automatic handling of browsers with incorrect time (#6093) 2025-05-30 15:16:24 +05:30
Manav Rathi
c8d31b3a7e Mention version 2025-05-30 15:12:48 +05:30
laurenspriem
3f212aa1d1 Refactor face thumbnail caching logic 2025-05-30 14:43:59 +05:30
Neeraj
026669b0d0 [Server] Return epochTime in microSeconds (#6094)
## Description

## Tests
2025-05-30 14:21:55 +05:30
Neeraj Gupta
741aed7565 return utc epochTime in auth diff 2025-05-30 14:19:33 +05:30
Neeraj
6ee58b8e0f [mob] Video stream generation refactor (#6085)
## Description

- Avoid checking stream generation for file is duration or size
information is not available. Size information is almost always present,
and duration was missing for files uploaded via Desktop/Web until
recently. As anyways we are processing local only files, it made sense
to simplify the check and completely avoid processing such files.

**Previously, for such files where duration was missing, if my
understanding is correct, we were always downloading it to getProps
info, even for files larger than 500 MB.**

- Pause video streaming generation if ML is running
- Added delay before queuing files for video streaming immediately after
diff sync.
## Tests
2025-05-30 13:48:08 +05:30
Neeraj Gupta
61df740c01 Limit preview cache for preview with size < 50MB 2025-05-30 13:30:43 +05:30
Neeraj Gupta
3b3b41d55f Remove unused imports 2025-05-30 13:26:55 +05:30
Neeraj
0633582c7e [mob][photos] Update contacts section on PeopleChangedEvent (#6088) 2025-05-30 12:52:17 +05:30
Manav Rathi
1acd1f81f4 Use 2025-05-30 12:49:17 +05:30
Manav Rathi
2b35677227 faq 2025-05-30 12:34:33 +05:30
Manav Rathi
2b390b60c4 Handle browsers with incorrect time 2025-05-30 12:27:17 +05:30
Manav Rathi
a33af20944 [web] MUI - Don't override non-elevated backgrounds (#6092) 2025-05-30 11:10:56 +05:30
Manav Rathi
e8643c662e Alert 2025-05-30 11:04:57 +05:30
Ashil
aea57dd212 [mob][photos] Add uncategorized album in album vertical sheet (#6086)
## Description

- Show Uncategorized album on collection actions (except for collection
actions over hidden items)
- Show Uncategorized album on top

Closes #5833 


![simulator_screenshot_07BA6109-B6FA-45BF-9E75-43205697D0A7](https://github.com/user-attachments/assets/c0dc834b-c676-4cde-9006-1c77216141d0)
2025-05-30 11:04:32 +05:30
Manav Rathi
fe33469a79 Don't override non-elevated backgrounds
In particular, don't apply our shadow to variant "outlined"
2025-05-30 10:46:22 +05:30
Manav Rathi
d660f71f56 Update 2025-05-30 07:49:57 +05:30
Manav Rathi
61eb7c0e99 Swap 2025-05-30 07:49:57 +05:30
ashilkn
e438e35ccd Update contacts section on PeopleChangedEvent 2025-05-29 18:29:08 +05:30
Manav Rathi
d01348414c [desktop] Next release train (#6087) 2025-05-29 16:52:49 +05:30
Manav Rathi
2faa616cab [desktop] Next release train 2025-05-29 16:49:33 +05:30
ashilkn
78bad4e5a5 Show uncategorized album option for all CollectionActionTypes other than for hidden collection actions 2025-05-29 16:42:57 +05:30
ashilkn
466bb40a30 Show uncategorized album as the first option in collection action sheet 2025-05-29 16:34:00 +05:30
Neeraj Gupta
e55dcff9a5 Add delay before queuing files for streaming 2025-05-29 16:22:39 +05:30
Neeraj Gupta
8904916770 Pause streaming if ML is running 2025-05-29 16:22:26 +05:30
Manav Rathi
f3d19155a0 photosd-v1.7.13 (#6084) 2025-05-29 16:20:04 +05:30
Manav Rathi
75440e7c05 photosd-v1.7.13 2025-05-29 16:18:53 +05:30
Neeraj Gupta
7a7a50901f Rename 2025-05-29 16:17:44 +05:30
Neeraj Gupta
09ff43a1ef Simplify check for checking preview req 2025-05-29 16:07:53 +05:30
Neeraj Gupta
7cf4c7bf74 Avoid duplicate preview creation check 2025-05-29 15:35:40 +05:30
ashilkn
a3341202a7 Remove unused CollectionActionType 2025-05-29 15:33:07 +05:30
Neeraj Gupta
c87b2b7542 Only process files with known duration & size 2025-05-29 15:32:00 +05:30
Manav Rathi
2665d98681 [web] Tweak info panel titlebar (#6082)
Fixes https://github.com/ente-io/ente/issues/6081
2025-05-29 15:21:34 +05:30
Manav Rathi
8dd6e7d8ed Fix 6081 2025-05-29 15:17:13 +05:30
Neeraj Gupta
594c18db79 Use service locator 2025-05-29 14:56:33 +05:30
Vishnu Mohandas
320376e98d [docs] Update video-streaming.md 2025-05-29 14:28:17 +05:30
Manav Rathi
dbca5222e5 [desktop] Pre-release touchups (#6080) 2025-05-29 13:06:04 +05:30
Manav Rathi
d06c9174ac Use same constants for both 2025-05-29 13:00:31 +05:30
Manav Rathi
962fa33b04 +fav 2025-05-29 12:56:08 +05:30
Manav Rathi
c163c8ae71 [web] New translations (#6079)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-05-29 12:55:50 +05:30
Crowdin Bot
29720b350c New Crowdin translations by GitHub Action 2025-05-29 07:15:52 +00:00
Manav Rathi
b70cfe1309 [web] Split interactive and background requests (#6078) 2025-05-29 12:45:03 +05:30
Manav Rathi
cc5b2697d9 Use for HLS gen 2025-05-29 12:25:42 +05:30
Manav Rathi
1a49770e0b Outline 2025-05-29 11:38:58 +05:30
Neeraj
98137e87ab [mob] Fix: Treat sandbox file as unique file during upload (#6024) 2025-05-29 11:38:52 +05:30
Neeraj Gupta
fa0c70d633 Avoid mixing upload with preview generation to save cpu 2025-05-29 09:32:15 +05:30
Neeraj Gupta
909695ffaa Mark previewIDs as not nullable 2025-05-29 09:28:51 +05:30
Neeraj Gupta
b679d0213f Use hashMap to dedupe for uploadID 2025-05-29 09:19:19 +05:30
Neeraj Gupta
995342bbdb Clean up unused event 2025-05-29 09:05:45 +05:30
Manav Rathi
0786a355ca [desktop] Update Electron (#6077) 2025-05-29 07:46:48 +05:30
Manav Rathi
9683888d82 [web] General refactoring (#6076) 2025-05-29 07:38:13 +05:30
Manav Rathi
3ecaf9a0dc [desktop] Update Electron 2025-05-29 07:35:01 +05:30
Manav Rathi
c985fe9882 pk 2025-05-28 19:56:27 +05:30
Manav Rathi
9b5dcc9a95 custom error 2025-05-28 19:34:42 +05:30
Manav Rathi
17d6860faa optional 2025-05-28 19:21:18 +05:30
AmanRajSinghMourya
3ea09df4c0 Add NewProgressIndicator widget for step progress animation for memories 2025-05-28 19:12:37 +05:30
Manav Rathi
63a3edd053 [web] Convert deprecated titlebar uses (#6074) 2025-05-28 17:32:15 +05:30
Manav Rathi
2764256a02 Conv 2025-05-28 17:23:58 +05:30
Manav Rathi
bcc0403eb6 Last one 2025-05-28 17:19:55 +05:30
laurenspriem
ebfc1103fe Rename to fileFaceWidget 2025-05-28 17:02:31 +05:30
laurenspriem
db07fb35d2 face widget cropping functionality 2025-05-28 17:01:08 +05:30
Manav Rathi
da0d9dfdab Tweak visually 2025-05-28 16:23:51 +05:30
Manav Rathi
5171518d9b Replace 2025-05-28 16:14:59 +05:30
Manav Rathi
27d0c8a838 Pattern 2025-05-28 16:09:09 +05:30
Manav Rathi
76d7f039ea Swap 2025-05-28 16:05:31 +05:30
laurenspriem
7519ed5e15 Use new face widget in file info 2025-05-28 15:51:31 +05:30
Manav Rathi
1afc2e31bf Inline 2025-05-28 15:51:07 +05:30
Manav Rathi
d5a75707f3 Update 2025-05-28 15:47:57 +05:30
Manav Rathi
923a2a60fe re 2025-05-28 15:37:44 +05:30
Manav Rathi
d47c96aa3f Use 2025-05-28 15:22:23 +05:30
Manav Rathi
13ed68c79e Use right 2025-05-28 15:20:12 +05:30
Manav Rathi
79f5d6763c Use 2025-05-28 15:15:33 +05:30
Manav Rathi
68aaedc2d9 abstraction 2025-05-28 14:59:39 +05:30
laurenspriem
97a174ff75 Merge branch 'main' into face_thumbnails 2025-05-28 14:42:00 +05:30
Manav Rathi
2455d34553 Simplify 2025-05-28 14:34:46 +05:30
Neeraj
f045dc8e04 [server] Update limit (#6073)
## Description

## Tests
2025-05-28 14:13:30 +05:30
Neeraj Gupta
7986563443 Update limit 2025-05-28 14:00:43 +05:30
Neeraj
114dfb1f41 [server] Prefer second hot bucket for export (#6071)
## Description

## Tests
2025-05-28 13:15:40 +05:30
Manav Rathi
7ef65568d0 [web] General refactoring (#6072) 2025-05-28 13:15:12 +05:30
Manav Rathi
5a241a8153 Handle error from new fetch stack 2025-05-28 12:54:08 +05:30
Manav Rathi
cbc7c936f7 Inline 2025-05-28 12:46:39 +05:30
Neeraj Gupta
e14510f46e Remove log 2025-05-28 12:46:05 +05:30
Neeraj
f5478c7396 [mobile] New translations (#6034)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-05-28 12:45:21 +05:30
Neeraj Gupta
ea1319b13b Prefer second hot bucket for export 2025-05-28 12:44:38 +05:30
Manav Rathi
b45e270475 Unused 2025-05-28 12:31:38 +05:30
Manav Rathi
cdd82707f7 Conv 2025-05-28 12:03:17 +05:30
Manav Rathi
db33e61af9 Conv 2025-05-28 11:58:46 +05:30
Manav Rathi
36dda95b41 fv 2025-05-28 11:53:45 +05:30
Manav Rathi
61b15ba3ef Simplify 2025-05-28 11:48:05 +05:30
Manav Rathi
0690a32d59 Simplify 2025-05-28 11:42:56 +05:30
Neeraj
463ce4964b [mob] Enable resumable download for internal users (#6022)
## Description
- Enabled for internal users
- Download happens in chunk of 40MB, if individual chunk download fails,
we download that chunk from scratch (we can optimise it resume even the
chunk download, but i felt it would add redundant complexity.
- Download pauses automatically when user moves to next video/image (The
exact behaviour is yet to be decided, may be it should continue download
if on unmetered connection or always download with option to pause the
download on UI)

## Tests
Tested on simulator
2025-05-28 11:36:45 +05:30
Neeraj Gupta
ed05269a42 Merge remote-tracking branch 'origin/main' into resumableDownload 2025-05-28 11:32:04 +05:30
laurenspriem
903366a42c Refactor to simplify 2025-05-28 11:22:21 +05:30
Manav Rathi
d537b8f00b Props 2025-05-28 10:47:53 +05:30
Manav Rathi
84912c1a0e Fix missing negation
and simplify usage
2025-05-28 10:47:53 +05:30
Manav Rathi
15f427ef37 This was a no-op for disabled buttons 2025-05-28 10:47:53 +05:30
Neeraj
89837b79e8 [server] Fix: Typo in bucket name for filedata multipart url (#6070)
## Description

## Tests
2025-05-28 10:38:51 +05:30
Neeraj Gupta
7afb305dbb Fix: Typo in bucket name for filedata multipart url 2025-05-28 10:36:38 +05:30
Manav Rathi
8e6ff3b96c [web] General ref + Uploader name web only until next release (#6068) 2025-05-28 07:19:11 +05:30
Manav Rathi
deb6cfe03a Move 2025-05-28 07:12:56 +05:30
Manav Rathi
dbec318f7b for next release train 2025-05-28 07:03:18 +05:30
Manav Rathi
6f24109669 Conv 2025-05-28 06:29:58 +05:30
Manav Rathi
beda124d3f rf 2025-05-28 06:29:58 +05:30
ashilkn
87fae3e6d9 Resolve merge conflicts and merge main 2025-05-27 19:16:31 +05:30
Ashil
89cd360f93 [mob][photos] Bump up to v1.1.0 (#6065) 2025-05-27 19:15:03 +05:30
ashilkn
f1274afdd4 Bump up to v1.1.0 2025-05-27 19:09:55 +05:30
ashilkn
0a5005d064 Add scrollbar for album widget settings screen 2025-05-27 19:06:16 +05:30
ashilkn
b54fe20520 chore 2025-05-27 18:46:18 +05:30
ashilkn
204a046e0a Merge branch 'main' into widget-superpowered 2025-05-27 18:44:52 +05:30
Ashil
4f21f1e94e [mob][photos] All albums screen UI/UX and performance improvements (#6060)
<img
src="https://github.com/user-attachments/assets/c9ca2050-9e5c-48c5-b01e-7ed89885bc6b"
width="200" height="450" alt="Image 1">
<img
src="https://github.com/user-attachments/assets/39aeda32-9f68-4d2f-b156-7b9312578435"
width="200" height="450" alt="Image 2">

Plus some improvements from @ashilkn
2025-05-27 18:43:40 +05:30
ashilkn
039866cf3b Chore: fix lint warning 2025-05-27 18:42:39 +05:30
ashilkn
c4b860a8fe Use SliverPrototypeExtentList instead of just SliverList for improved (scrolling?) performance 2025-05-27 18:35:56 +05:30
ashilkn
1d1e01898f Add scrollbar to all on ente albums page 2025-05-27 18:19:04 +05:30
ashilkn
53f947b5f0 Update arrow icon size 2025-05-27 18:10:17 +05:30
laurenspriem
015321fa0d Rename widget 2025-05-27 17:51:15 +05:30
Manav Rathi
1e3a112c35 [desktop] Tweak changelog entry (#6064) 2025-05-27 17:51:15 +05:30
Manav Rathi
3dc23092a4 tweak 2025-05-27 17:48:47 +05:30
Manav Rathi
fd65e81079 [desktop] Enable stream generation for non-internal users (#6063) 2025-05-27 17:40:12 +05:30
Manav Rathi
eec0480618 [web] New translations (#6062)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-05-27 17:35:48 +05:30
Manav Rathi
fac5ab5079 [desktop] Enable stream generation for non-internal users 2025-05-27 17:34:13 +05:30
Ashil
051ce42ae6 [mob][photos] Home widget improvements (#6059)
## Description

See commits
2025-05-27 17:32:17 +05:30
laurenspriem
3e1a01c1f3 Move person_face_widget 2025-05-27 17:26:14 +05:30
laurenspriem
351cf50f73 Rename for clarity 2025-05-27 17:19:09 +05:30
Crowdin Bot
297d4bdbf5 New Crowdin translations by GitHub Action 2025-05-27 11:39:57 +00:00
Manav Rathi
9f9ad19d4b [web] Show full uploader name (#6061) 2025-05-27 17:09:22 +05:30
ashilkn
4d26de8ffd Add safety check 2025-05-27 17:05:46 +05:30
Manav Rathi
f16846b82e Added by 2025-05-27 16:49:08 +05:30
ashilkn
b44ef9f68a Prevent infinite loops 2025-05-27 16:45:37 +05:30
AmanRajSinghMourya
cf28fddfb3 Fix popup sheet background color 2025-05-27 16:17:42 +05:30
ashilkn
6c3b2ee25e Randomize memories and files shown in memories widget 2025-05-27 15:58:04 +05:30
Manav Rathi
2d8310460b [web] Use path prefix as context when collating metadata and live photos (#6058)
Fixes: 
- https://github.com/ente-io/ente/discussions/5920
- https://github.com/ente-io/ente/discussions/5950
2025-05-27 15:52:44 +05:30
Manav Rathi
0d5363c7a1 Fix typo 2025-05-27 15:48:14 +05:30
Manav Rathi
2f277bbffc lf 2025-05-27 15:38:16 +05:30
Manav Rathi
cbf3340bf2 Handle lp retry 2025-05-27 15:19:16 +05:30
Neeraj Gupta
29f9a64bfb Undo testing change 2025-05-27 15:16:16 +05:30
Manav Rathi
de918f42e6 Retain metadata 2025-05-27 15:05:37 +05:30
Manav Rathi
6bd1547e09 Impl 2025-05-27 15:05:37 +05:30
Manav Rathi
aa70b2a437 spl 2025-05-27 15:05:37 +05:30
Manav Rathi
13b74f387f reuse 2025-05-27 15:05:37 +05:30
Manav Rathi
d52e3894d8 Move 2025-05-27 15:05:37 +05:30
Manav Rathi
780c2c2493 Outline 2025-05-27 15:05:37 +05:30
Manav Rathi
405c4d1258 [web] New translations (#6057)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-05-27 15:05:15 +05:30
Crowdin Bot
5f498b01ee New Crowdin translations by GitHub Action 2025-05-27 09:33:56 +00:00
Manav Rathi
af5020e62c [web] General refactoring (#6056) 2025-05-27 15:03:10 +05:30
Manav Rathi
7ddf0f6fe1 lf 2025-05-27 14:54:15 +05:30
ashilkn
5fa951ad4b Refactor people widget settings screen 2025-05-27 14:51:23 +05:30
ashilkn
e9ceb705f6 Sort album widget settings screen's albums, showing selected ones on top. Note that sorting doesn't happen when selection is modified on the screen and only once when it's built 2025-05-27 14:38:08 +05:30
ashilkn
9dcd9d63b2 Avoid using shrinkWrap 2025-05-27 13:43:49 +05:30
ashilkn
129e9f8f49 Avoid adding empty albums in _getAlbumsWithFiles() 2025-05-27 12:32:39 +05:30
ashilkn
6f02df19c6 Improve UI of widget's empty state 2025-05-27 12:31:59 +05:30
ashilkn
c8efc1a590 Randomize albums and files shown in album widget 2025-05-27 12:02:07 +05:30
ashilkn
8b1a659d68 Avoid sorting on selecting albums in album widget settings 2025-05-27 11:47:39 +05:30
Manav Rathi
9114fbca27 Update 2025-05-27 10:55:01 +05:30
Manav Rathi
e25d71a7d4 cb 2025-05-27 10:25:18 +05:30
Manav Rathi
1018765f7c [web] General refactoring (#6054) 2025-05-27 10:00:26 +05:30
Manav Rathi
0fb984d031 missing dep 2025-05-27 09:53:16 +05:30
Manav Rathi
4ad3560387 Move 2025-05-27 08:49:00 +05:30
Manav Rathi
482b175324 Move 2025-05-27 08:40:10 +05:30
Manav Rathi
894d7382e8 inline 2025-05-27 08:29:11 +05:30
Manav Rathi
53cc78d3e3 Inline 2025-05-27 08:25:29 +05:30
Manav Rathi
a634500e55 Inline 2025-05-27 08:20:53 +05:30
Manav Rathi
ee8ecd456c [web] General refactoring (#6052) 2025-05-27 08:18:07 +05:30
Manav Rathi
d69a22a73e Fix 2025-05-27 08:08:44 +05:30
Manav Rathi
8b1af42cf0 Conv 2025-05-27 08:04:42 +05:30
Manav Rathi
41e7d0056b Swap 2025-05-27 07:48:30 +05:30
Manav Rathi
d170789446 Update 2025-05-27 07:42:33 +05:30
Manav Rathi
afbbde5f2b Update 2025-05-27 07:31:29 +05:30
Manav Rathi
4e3112a4f6 Conv 2025-05-27 07:25:31 +05:30
Manav Rathi
a4950ece53 Tweak vis 2025-05-27 07:21:36 +05:30
Manav Rathi
1a01d759b0 Fix ellipsis 2025-05-27 07:19:18 +05:30
Manav Rathi
175b51fdb3 Improve visual look 2025-05-27 07:01:18 +05:30
Manav Rathi
a4ba2edc54 Update 2025-05-27 06:31:44 +05:30
Manav Rathi
1a8a26e9e4 Update 2025-05-27 05:49:27 +05:30
Laurens Priem
a2ddcfd34f [mob][photos] Minor ML improvements (#6043)
## Description

- Expose flag for when ML and Memories is running
- UI fix for deleting all files in cluster 
- Log times ML models are loaded

## Tests

Tested in debug mode on my pixel 8.
2025-05-26 21:44:33 +05:30
Manav Rathi
95700f52f6 [web] General refactoring (#6047) 2025-05-26 20:15:45 +05:30
Manav Rathi
fc16638bfe Redo 2025-05-26 19:47:16 +05:30
Manav Rathi
5d375eb837 Move 2025-05-26 19:42:24 +05:30
Ashil
fe86d3bb34 [mob][photos] Make widget settings pages less confusing on their empty states (#6046) 2025-05-26 19:37:53 +05:30
Manav Rathi
77956d0f67 Rename 2025-05-26 19:37:04 +05:30
ashilkn
53a22a8d58 chore 2025-05-26 19:32:21 +05:30
ashilkn
a5b178d283 Extract strings 2025-05-26 19:30:54 +05:30
Manav Rathi
e651c1e328 inline 3 2025-05-26 19:24:36 +05:30
ashilkn
9069975bf0 Avoid confusion on empty widget settings pages 2025-05-26 19:22:51 +05:30
Manav Rathi
5938e755ae wip 2 2025-05-26 18:38:18 +05:30
Manav Rathi
6f7b3738b3 inline wip 1 2025-05-26 18:32:24 +05:30
Manav Rathi
4ee9f45b3a Inline 2025-05-26 18:15:45 +05:30
Manav Rathi
c835a3d009 Tweak 2025-05-26 18:11:06 +05:30
Manav Rathi
6d3e55a6d9 Inline 2025-05-26 18:08:11 +05:30
Ashil
08b7986d70 [mob][photos] Randomize people and file shown in people widget (#6044) 2025-05-26 18:06:17 +05:30
Manav Rathi
067c8b2a76 Tweak 2025-05-26 18:03:47 +05:30
Manav Rathi
d355d18acb Inline 2025-05-26 17:57:19 +05:30
ashilkn
0e2a0388ff Randomize people and thier files shown in people widget 2025-05-26 17:56:48 +05:30
Manav Rathi
2baf3a3dd7 Tweak 2025-05-26 17:54:56 +05:30
Manav Rathi
854610dd48 Inline 2025-05-26 17:53:11 +05:30
laurenspriem
61be57fef5 Log loading of ML models events 2025-05-26 17:39:04 +05:30
Manav Rathi
8d59d7e254 Update 2025-05-26 17:32:42 +05:30
Manav Rathi
1bcf728b3a Conv 2025-05-26 17:24:51 +05:30
Manav Rathi
5797be3460 Update 2025-05-26 17:17:27 +05:30
Manav Rathi
20f50e4816 Update 2025-05-26 17:11:18 +05:30
Manav Rathi
5064ebf4d3 Update 2025-05-26 17:01:15 +05:30
laurenspriem
eb783f0fff Remove redundant method 2025-05-26 16:44:06 +05:30
laurenspriem
ca8f310868 Fix duplicate notification issue 2025-05-26 16:43:15 +05:30
Neeraj
2e0a2802e7 [mob] Add change log (#6042)
## Description

## Tests
2025-05-26 16:33:47 +05:30
Neeraj Gupta
7868c2e16e Remove unused entries 2025-05-26 16:31:34 +05:30
Neeraj Gupta
ace5dc04e2 Add change log 2025-05-26 16:30:11 +05:30
laurenspriem
4249491730 More logging 2025-05-26 16:16:53 +05:30
laurenspriem
a958380a1d More logging 2025-05-26 15:56:23 +05:30
Manav Rathi
b0d940e65b [web] New translations (#6039)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-05-26 15:54:30 +05:30
Crowdin Bot
5b8472b5a9 New Crowdin translations by GitHub Action 2025-05-26 10:23:27 +00:00
Manav Rathi
6bb7627d47 [web] Minor loose ends (#6038) 2025-05-26 15:52:52 +05:30
laurenspriem
b00c406b09 Extract string 2025-05-26 15:52:45 +05:30
laurenspriem
ff9494d438 Setting to disable memories notifications 2025-05-26 15:51:59 +05:30
Neeraj
b24b5893ae [mob] Fix: Hide both shared and collect files (#6023) 2025-05-26 15:46:46 +05:30
Manav Rathi
9716ff80c4 tr 2025-05-26 15:34:37 +05:30
Manav Rathi
2808f72233 yes 2025-05-26 15:00:37 +05:30
Manav Rathi
5dd097ee09 ditto 2025-05-26 14:58:34 +05:30
Ashil
be9fddf1d4 [mob][photos] Avoid reordering selected faces (#6037) 2025-05-26 14:43:15 +05:30
ashilkn
f9b3f6e9eb Avoid reordering selected faces 2025-05-26 14:39:16 +05:30
laurenspriem
dcb73abdec Log time of scheduled notificaiton 2025-05-26 14:33:39 +05:30
ashilkn
a14c6f4d26 Merge branch 'main' into widget-superpowered 2025-05-26 14:24:35 +05:30
laurenspriem
7afdfe6ed9 Fix delete all files from person 2025-05-26 14:16:59 +05:30
Manav Rathi
8ff8981b76 Fix close button color on download failure notification 2025-05-26 13:54:02 +05:30
Manav Rathi
b89f247f42 Reduce unhandled exception logspam on transient network issues 2025-05-26 13:40:42 +05:30
Neeraj
c3e5a037c0 [auth] New translations (#6035)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-05-26 11:46:16 +05:30
Neeraj
70a1894071 [mob] Explicitly exclude app data during D2D backup/transfer (#6028)
As it breaks ente photos anyway because of KeyStore AFAICT 
Tries to fix #6027
2025-05-26 11:44:41 +05:30
Neeraj
42453675b2 [auth] Add new icons & change Mistral icon (#6014)
## Description

- Add [AR24](https://www.ar24.fr/) icon
- Add [Finary](https://finary.com/) icon
- Change [Mistral](https://mistral.ai/) icon
2025-05-26 11:40:48 +05:30
laurenspriem
bdd09e12d8 More logs 2025-05-26 10:27:46 +05:30
laurenspriem
407ad41520 Test clearing with payload 2025-05-26 10:09:52 +05:30
Manav Rathi
185759d234 [infra] Allowlist x-client-version (#6036) 2025-05-26 09:54:07 +05:30
Manav Rathi
860760784a Update doc 2025-05-26 09:33:54 +05:30
Manav Rathi
de10292a84 [infra] Allowlist x-client-version 2025-05-26 09:31:29 +05:30
Manav Rathi
95f10e5a45 [web] New translations (#6033)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-05-26 08:38:45 +05:30
Crowdin Bot
eabacf24ad New Crowdin translations by GitHub Action 2025-05-26 03:06:46 +00:00
Crowdin Bot
61ffcfdc93 New Crowdin translations by GitHub Action 2025-05-26 01:17:57 +00:00
Crowdin Bot
f73fbf4b60 New Crowdin translations by GitHub Action 2025-05-26 01:05:08 +00:00
LucasMZ
0ade0a2807 Try to not allow backup from the system in D2D
As it breaks ente photos anyway because of KeyStore AFAICT
Tries to fix #6027
2025-05-25 08:51:36 -03:00
Neeraj
1e2fb13908 [auth] Add Oracle Cloud icon (#6020)
- Added Oracle Cloud SVG icon.
- Updated custom-icons.json to include the new icon.
2025-05-24 09:02:11 +05:30
Neeraj Gupta
8ab01aefe5 Fix lint + add todo 2025-05-24 09:00:52 +05:30
Neeraj Gupta
fa33a1afd9 Fix: Treat sandbox file as unique file during upload 2025-05-24 08:20:02 +05:30
Neeraj Gupta
856e126bc8 Fix: Hide both shared and collect files 2025-05-24 08:04:19 +05:30
Neeraj Gupta
0f7aae2017 Show resumable download progress for mediaKit 2025-05-24 07:42:19 +05:30
Neeraj Gupta
c1ddb863ad Refactor 2025-05-24 07:38:22 +05:30
Burak
845d014945 [auth] add Oracle Cloud icon
- Added Oracle Cloud SVG icon.
- Updated custom-icons.json to include the new icon.
2025-05-23 19:46:44 +03:00
Ashil
d8b54f5211 [mob][photos] Add files to multiple collections at once (#6019) 2025-05-23 20:37:17 +05:30
Ashil
bc059c861f Merge branch 'widget-superpowered' into collection_sheet_batch_operation 2025-05-23 20:34:06 +05:30
ashilkn
b52ee5bbfb bump up build number to 1052 2025-05-23 20:33:11 +05:30
ashilkn
93c85a57e4 Do remote sync irrespective of error when adding files to multiple collections 2025-05-23 20:23:08 +05:30
ashilkn
e01826217d Refactor 2025-05-23 20:11:44 +05:30
Aman Raj Singh Mourya
b79b7ff3ef Refactor addToMultipleCollections to improve error handling 2025-05-23 19:40:49 +05:30
Manav Rathi
7d52e3d852 [desktop] HLS - Avoid upscaling (#6018)
https://trac.ffmpeg.org/wiki/Scaling#AvoidingUpscaling
2025-05-23 18:29:20 +05:30
Laurens Priem
9a647d6f78 [mob][photos] Fixed crashes on 200MP photos (#6017)
## Description

- Fixed crashes on 200MP photos by decoding them at lower resolution (at
trade-off of zoom)
- Fixed a text overflow issue

## Tests

Tested on a separate build with multiple 200MP photos on my pixel 8.
2025-05-23 17:59:47 +05:30
laurenspriem
6e99206523 Merge branch 'main' into some_fixes 2025-05-23 17:44:50 +05:30
laurenspriem
d7af21aa84 Fix crashes on 200MP photos 2025-05-23 17:37:22 +05:30
Manav Rathi
ced1f6e164 Avoid upscaling
https://trac.ffmpeg.org/wiki/Scaling#AvoidingUpscaling
2025-05-23 17:19:54 +05:30
Neeraj Gupta
7391f27967 Auto pause download when user move away from video 2025-05-23 17:13:54 +05:30
Manav Rathi
4ea3989a33 [desktop][web] Dependency updates (#6016)
\+ Electron 36 workaround
2025-05-23 16:57:05 +05:30
Vishnu Mohandas
641a99b823 [docs] Update export.md 2025-05-23 16:55:04 +05:30
Manav Rathi
7b48dbc1ad Dep updates 2025-05-23 16:47:54 +05:30
Manav Rathi
54c69e7aa5 Add workaround 2025-05-23 16:44:11 +05:30
Manav Rathi
f8bd8c9955 Dep 2025-05-23 16:40:04 +05:30
Neeraj Gupta
f7bb9d5974 Remove db to track download tasks 2025-05-23 16:31:28 +05:30
Manav Rathi
60246be861 [desktop] Multipart HLS video uploads (#6015) 2025-05-23 15:47:49 +05:30
Neeraj Gupta
e3b72fc929 Show part storage breakup under pending sync 2025-05-23 15:35:09 +05:30
Neeraj Gupta
92dae44a0a Refactor 2025-05-23 15:34:55 +05:30
Manav Rathi
d71016500a Equal sized parts (except last) 2025-05-23 15:33:29 +05:30
Aman Raj Singh Mourya
f44c2d14c7 Enable drag functionality in pick cover photo, person avatar, and center point widget. 2025-05-23 15:31:56 +05:30
Neeraj
9c26f4040a [server] Add multipart upload support for preview data (#5992)
## Description

## Tests
2025-05-23 15:31:11 +05:30
Manav Rathi
79e048b4b7 logout 2025-05-23 15:07:12 +05:30
Tanguy
5c0ce038d1 Change Mistral AI icon 2025-05-23 11:36:59 +02:00
Aman Raj Singh Mourya
2903388c94 Refactor CollectionActionSheet and improve UX 2025-05-23 14:48:36 +05:30
Tanguy
331a65d2a0 Add AR24 and Finary icons 2025-05-23 11:14:33 +02:00
Vishnu Mohandas
6c6ab8f463 [mob] Minor UI patch (#6013)
## Description
Increase the width of the container to prevent text overflow

## Tests
- [x] Tested on emulator
2025-05-23 14:03:22 +05:30
vishnukvmd
441a884314 Increase the width of the text container 2025-05-23 14:01:30 +05:30
Manav Rathi
3372d83c5d impl 2025-05-23 12:52:44 +05:30
Manav Rathi
0cf50513cc get 1 2025-05-23 12:39:54 +05:30
Neeraj
7ccf473190 [mob] Trust the user trust store (Android) (#5999)
## Description

It's currently not possible to use a server that has a CA that is
trusted by the _user_ trust store in Android.
This is generally due to a missing configuration of the
`networkSecurityConfig` (by default only system-level CAs are accepted).
  
With this change, the app should be able to reach out to servers that do
not use a publicly trusted CA (but that are still trusted by the user).

## Tests

None

## Remarks

I wasn't able to test my changes as the Flutter build fails with:


```
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
$HOME/.pub-cache/git/ffmpeg-kit-6d5d27a8c259eda6292f204a27fba53da70af20e/flutter/flutter/android/src/main/java/com/arthenica/ffmpegkit/flutter/FFmpegKitFlutterPlugin.java:157: error: cannot find symbol
    public static void registerWith(final io.flutter.plugin.common.PluginRegistry.Registrar registrar) {
                                                                                 ^
  symbol:   class Registrar
  location: interface PluginRegistry
$HOME/.pub-cache/git/ffmpeg-kit-6d5d27a8c259eda6292f204a27fba53da70af20e/flutter/flutter/android/src/main/java/com/arthenica/ffmpegkit/flutter/FFmpegKitFlutterPlugin.java:651: error: cannot find symbol
    protected void init(final BinaryMessenger messenger, final Context context, final Activity activity, final io.flutter.plugin.common.PluginRegistry.Registrar registrar, final ActivityPluginBinding activityBinding) {
                                                                                                                ^
  symbol:   class Registrar
  location: interface PluginRegistry
2 errors
3 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ffmpeg_kit_flutter:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 59s
```
2025-05-23 12:36:40 +05:30
laurenspriem
c1f7a01ed2 Fix text overflow issue 2025-05-23 12:31:46 +05:30
Aman Raj Singh Mourya
256243e273 Enable drag functionality in collection action sheet 2025-05-23 12:30:27 +05:30
Aman Raj Singh Mourya
dc9dc5d8f9 Single tap selection to select albums 2025-05-23 12:28:24 +05:30
Manav Rathi
6969385089 sketch 2 2025-05-23 12:27:54 +05:30
Manav Rathi
87a1c9417e sketch 1 wip 2025-05-23 12:04:34 +05:30
Manav Rathi
6d13ff5151 ver 2025-05-23 11:31:29 +05:30
Manav Rathi
0b5317867f ue 2025-05-23 11:22:20 +05:30
Neeraj Gupta
6c9107301c Add support for resumable download 2025-05-23 11:21:48 +05:30
Manav Rathi
a32c8116a2 Use 2025-05-23 11:16:10 +05:30
Manav Rathi
d8cd81c702 desktop zod
we'll need it for parsing responses for requests we'll make subsequently
2025-05-23 11:11:33 +05:30
laurenspriem
18e7bbd1ed Extract strings for i18n for existing notifications 2025-05-23 10:41:27 +05:30
laurenspriem
63850df06a Change copy and extract string 2025-05-23 10:33:58 +05:30
Manav Rathi
886ab6d106 Tweak 2025-05-23 10:07:27 +05:30
Manav Rathi
d17296216c retry enhancements 2025-05-23 09:17:37 +05:30
Manav Rathi
55ee8b90b9 more conservative to prevent unforeseen loops 2025-05-23 08:45:04 +05:30
Prateek Sunal
634561347f chore: bump version 2025-05-22 23:52:05 +05:30
Prateek Sunal
575abdb8eb Merge remote-tracking branch 'origin/widget-superpowered' into widget-superpowered 2025-05-22 23:50:22 +05:30
Prateek Sunal
e998502b53 fix: add a status key to check if partial sync was did but a full is required now
(like previously widget was not their so it was fine to sync only 5 images but now since widget is there a full sync is compulsory)
2025-05-22 23:50:07 +05:30
laurenspriem
2ada68e837 Merge remote-tracking branch 'origin/widget-superpowered' into widget-superpowered 2025-05-22 22:41:04 +05:30
laurenspriem
28822a8dc1 Swallow notification scheduling issues 2025-05-22 22:38:24 +05:30
laurenspriem
deaa9a703d Bump for internal release 2025-05-22 22:26:02 +05:30
laurenspriem
4510edf8bd Update notification dependency 2025-05-22 22:24:59 +05:30
laurenspriem
7af59a1ecf Schedule test notifications 2025-05-22 22:24:40 +05:30
Denys Vitali
e003c783f5 fix: use only system CA for ente.io 2025-05-22 18:54:12 +02:00
Denys Vitali
379d2487bd Merge branch 'main' into feature/user-trust-store-android 2025-05-22 18:53:08 +02:00
Manav Rathi
8cdbb737dc Fix 2025-05-22 21:05:39 +05:30
Prateek Sunal
d528d97a0f fix: add got all widget logic 2025-05-22 21:00:48 +05:30
Prateek Sunal
682e4a913f fix: ui stuff 2025-05-22 20:52:13 +05:30
Manav Rathi
a72041b8ba cpkg 2025-05-22 20:29:29 +05:30
Prateek Sunal
ab1a8aa592 fix: don't repeat 2025-05-22 20:21:48 +05:30
Prateek Sunal
c37a0339d2 fix: default state ui 2025-05-22 20:18:41 +05:30
Manav Rathi
3b60f4954b Impl 2025-05-22 20:05:56 +05:30
Manav Rathi
b2ea248a5c Sketch 2025-05-22 19:58:39 +05:30
Prateek Sunal
1bda14fb6f fix: redirect with correct context 2025-05-22 19:57:08 +05:30
Manav Rathi
54e8d6392d Scaffold 2025-05-22 19:46:00 +05:30
Manav Rathi
afa9e03743 ref 2025-05-22 19:39:13 +05:30
Manav Rathi
a4eaf04a33 Extract 2025-05-22 19:34:39 +05:30
Manav Rathi
d30f0fba04 pc estimate 2025-05-22 19:27:57 +05:30
Prateek Sunal
b2855cfd72 fix: rank selected first 2025-05-22 19:20:16 +05:30
Prateek Sunal
06d260f40a fix: only allow selection 2025-05-22 19:04:21 +05:30
Manav Rathi
fb16346b0d Forward 2025-05-22 18:31:05 +05:30
Manav Rathi
41b1638838 Outline 2025-05-22 18:31:05 +05:30
Manav Rathi
702b3a8868 [desktop] Split x-client-package and x-client-version to match mobile (#6008) 2025-05-22 17:49:20 +05:30
Manav Rathi
3572c4328d str 2025-05-22 17:46:08 +05:30
Manav Rathi
1c2b8061dc Include "X-Client-Version" where applicable 2025-05-22 17:41:51 +05:30
Manav Rathi
a9edcead06 [desktop] Don't add version to x-client-package 2025-05-22 17:26:28 +05:30
laurenspriem
5a574c69d3 log debug notification options 2025-05-22 16:48:01 +05:30
Neeraj Gupta
372af94da4 Merge remote-tracking branch 'origin/main' into resumableDownload 2025-05-22 16:41:21 +05:30
Manav Rathi
192905b21e [web] Multipart changes - Finish (#6007)
Finishes the set of changes from
https://github.com/ente-io/ente/pull/5997 and
https://github.com/ente-io/ente/pull/6002.
2025-05-22 16:23:38 +05:30
Manav Rathi
52a533a1e1 Fin 2025-05-22 16:08:07 +05:30
Manav Rathi
0314e94359 Up 2 2025-05-22 15:56:00 +05:30
Neeraj Gupta
cbef1a9145 ios build changes 2025-05-22 15:53:59 +05:30
Aman Raj Singh Mourya
822c33940e Skip single tap action when selection mode is enabled 2025-05-22 15:53:06 +05:30
Manav Rathi
eb29c48f0e Up 1 2025-05-22 15:50:55 +05:30
Aman Raj Singh Mourya
c77b4f176c Refactor AlbumColumnItemWidget to improve selection handling and UI layout 2025-05-22 15:49:49 +05:30
Neeraj Gupta
8bc701d104 Download by individual chunks 2025-05-22 15:35:45 +05:30
Aman Raj Singh Mourya
afcc7b1e46 Add selection functionality and action buttons to collection action sheet 2025-05-22 15:26:49 +05:30
Manav Rathi
84dda89e15 up 2025-05-22 15:26:26 +05:30
Aman Raj Singh Mourya
4bbc0d1f46 Implement addToMultipleCollections method for batch adding files to collections 2025-05-22 15:26:07 +05:30
laurenspriem
aa6d6f4e77 Bump for internal release 2025-05-22 15:04:50 +05:30
Manav Rathi
ff26dd5652 Simplify 2025-05-22 15:04:37 +05:30
Manav Rathi
b68d95d481 normal put 2025-05-22 14:50:00 +05:30
laurenspriem
ec1b54cbb1 Merge branch 'main' into widget-superpowered 2025-05-22 14:46:00 +05:30
laurenspriem
459540fe7a Flag for ML running 2025-05-22 14:38:17 +05:30
Neeraj
2255ea1b92 [meta] Update mobile-internal-release.yml (#6005)
Include branch name

## Description

## Tests
2025-05-22 14:04:25 +05:30
Neeraj
ac704f1082 Update mobile-internal-release.yml
Include branch name
2025-05-22 14:04:04 +05:30
Laurens Priem
4db2e42ee3 [mob][photos] On this day memories + notification + fix (#5998)
## Description

- Added 'On this day' memory similar to [user
request](https://github.com/ente-io/ente/discussions/5852)
- 'On this day' memory gives a notification in the morning
- Fixed [other memories
issue](https://github.com/ente-io/ente/issues/5965)


## Tests

Tested in debug mode on my pixel 8:
- No caching issues
- 'On this day' memories are computed correctly
- Scheduled notifications come at correct time
- Tapping on notification directs to the memory
2025-05-22 13:17:06 +05:30
Manav Rathi
f5949f5bd4 [web] Multipart upload tweaks (#6002)
Refactoring this now before starting on the work on porting some of it
to desktop side.
2025-05-22 12:18:53 +05:30
Manav Rathi
c4feb4b764 in body 2025-05-22 12:13:37 +05:30
Manav Rathi
29bab5705b Sep 2025-05-22 11:40:50 +05:30
Manav Rathi
2ebeed3b6f Unused 2025-05-22 11:35:44 +05:30
Manav Rathi
a0dbcd3dbe Prune 2025-05-22 11:31:12 +05:30
Neeraj
81137652d4 Fix: Return correct status code for maxPassKey err (#6001)
## Description

## Tests
2025-05-22 11:29:55 +05:30
Manav Rathi
4e1418b11a package 2025-05-22 11:29:22 +05:30
Neeraj Gupta
91268341be Fix: Return correct status code for maxPassKey err 2025-05-22 11:27:31 +05:30
Manav Rathi
fb8fc051a9 wrkr 2025-05-22 11:15:28 +05:30
Manav Rathi
d99914c4e9 off by 1 2025-05-22 11:03:30 +05:30
Manav Rathi
736b3fc613 Upload progress 2025-05-22 09:08:52 +05:30
Manav Rathi
ef7f45aa3d Alt 2025-05-22 08:56:09 +05:30
Denys Vitali
4dc741151b fix(mobile): trust the user trust store (Android) 2025-05-22 02:14:11 +02:00
Manav Rathi
e4471af4cb Pass 2025-05-21 21:04:43 +05:30
Manav Rathi
057df349b7 Move retry to service 2025-05-21 20:47:28 +05:30
Manav Rathi
24c7b49132 custom 2025-05-21 19:39:36 +05:30
Manav Rathi
5df009c7c7 Revert because of ERR_H2_OR_QUIC_REQUIRED
Chrome throws ERR_H2_OR_QUIC_REQUIRED when we try to use a stream body on a
non-TLS HTTP request. This will break both dev setups on localhost, and perhaps
some self hosting setups, so is not a feasible path forward for an essential
endpoint to the use of the app.
2025-05-21 19:29:12 +05:30
Manav Rathi
1d276c795c transform 1 2025-05-21 17:56:09 +05:30
Manav Rathi
bc762b972f take 1 2025-05-21 17:39:58 +05:30
laurenspriem
36e4c06dd6 Merge branch 'main' into on_this_day 2025-05-21 17:15:55 +05:30
laurenspriem
ceb3d3fe42 Fix hidden persons in memories 2025-05-21 16:59:50 +05:30
laurenspriem
1dc806d270 Don't await on page route 2025-05-21 16:58:22 +05:30
laurenspriem
8d03df5c36 Remove old debug options 2025-05-21 16:57:56 +05:30
laurenspriem
a1ef8d33d3 Simplify notification ID 2025-05-21 16:56:51 +05:30
Manav Rathi
4f347c1afd [web] Remove unnecessary sax dependency by reworking multipart uploads (#5997) 2025-05-21 16:39:35 +05:30
laurenspriem
8171d56168 Route notification to memory 2025-05-21 16:35:57 +05:30
Manav Rathi
7e7751b5be Nicer 2025-05-21 16:27:25 +05:30
Manav Rathi
d19a0fccda Remove dependency 2025-05-21 16:22:52 +05:30
Manav Rathi
5b38ef394b More debug info 2025-05-21 16:10:27 +05:30
Manav Rathi
ad87470c25 2 2025-05-21 16:10:26 +05:30
Manav Rathi
67140fe7f2 s2 2025-05-21 16:10:26 +05:30
Manav Rathi
b372ba47ba Swap 2025-05-21 16:10:26 +05:30
Manav Rathi
24c66a9b6b impl 2025-05-21 16:10:26 +05:30
Manav Rathi
201ef60f07 Outline 2025-05-21 16:10:26 +05:30
Manav Rathi
89294f2a76 Outline 2025-05-21 16:10:26 +05:30
Manav Rathi
4772557f7a Tweak 2025-05-21 16:10:26 +05:30
Manav Rathi
073d2c5684 2 2025-05-21 16:10:26 +05:30
Manav Rathi
e022e7ae5b 1 2025-05-21 16:10:26 +05:30
Manav Rathi
2cdeb88b4d Outline 2025-05-21 16:10:26 +05:30
Neeraj Gupta
78e70a1c05 Merge branch 'main' into resumableDownload 2025-05-21 16:03:58 +05:30
Neeraj
ca319e501e [mob][auth] Update copy for change email dialog (#5996)
## Description

## Tests
2025-05-21 15:32:05 +05:30
Neeraj Gupta
05898dfbe2 Update copy for change email dialog 2025-05-21 15:28:01 +05:30
Neeraj
c129cc15b5 [server] Increase file size limit 5 -> 10 GiB (#5995)
## Description

## Tests
2025-05-21 15:26:31 +05:30
Neeraj Gupta
a683883733 Increase file size limit 5 -> 10 GiB 2025-05-21 15:20:12 +05:30
laurenspriem
69b575cc66 Log cache update due to caching issue 2025-05-21 14:39:12 +05:30
laurenspriem
63a4972839 Fix caching issue 2025-05-21 14:37:38 +05:30
Neeraj
6188578d18 [docs] Update example config (#5951)
## Description
In my testing web apps only worked with https:// in front of them.
## Tests
2025-05-21 13:38:56 +05:30
laurenspriem
5a4d8950af Integrate notifications to OnThisDay memories 2025-05-21 12:36:04 +05:30
Neeraj
5007204944 [server] Change file_data.obj_size column type (#5994)
## Description

## Tests
Tested locally
2025-05-21 11:24:52 +05:30
Neeraj Gupta
4a19fc077e Change file_data.obj_size column type 2025-05-21 11:13:05 +05:30
Ashil
2b29f55587 [mob][photos] Album UI Revamp (#5661)
## Description
This update introduces a redesigned user interface for album management,
featuring a new layout for albums. Improve user experience by providing
intuitive navigation and efficient batch operations.

## Tests
1. A new grid & list layout for the album screen. The first cell is
dedicated to quickly adding new albums.
2. App Bar Enhancements
    - Sort Options: Organize albums by name, latest, or time.
    - View Toggle: Switch between grid and list views with ease.
    - Search Functionality: Quickly find albums using the search icon.
3. Long-press to select albums for batch actions. A bottom sheet
provides options to delete, share, hide, or pin selected albums.
2025-05-21 11:01:48 +05:30
laurenspriem
4cc8ff2fb1 Notification scheduling working 2025-05-21 10:57:49 +05:30
Aman Raj Singh Mourya
de29246304 move the collection.type == CollectionType.favorites check before isEmptyCollection check to handle the case where favourite collection is empty 2025-05-21 10:47:01 +05:30
laurenspriem
8deb52301a Android permissions for notifications 2025-05-21 10:30:01 +05:30
Manav Rathi
16a20e8b0d [web] Hash functions - Document and namespace (#5993)
No functional changes.
2025-05-21 08:56:29 +05:30
Manav Rathi
3824bfbdd5 namespace 2025-05-21 08:51:22 +05:30
Prateek Sunal
c996c794fd fix: launch people page before launching the file previewer 2025-05-21 08:47:03 +05:30
Manav Rathi
ef245e5c02 outline 2025-05-21 08:36:34 +05:30
Neeraj Gupta
4dc6890afc Add multipart upload support for preview data 2025-05-21 08:14:53 +05:30
Prateek Sunal
87195f3801 chore: fix incorrect widget count 2025-05-21 04:15:57 +05:30
Prateek Sunal
8ce45a4fa8 chore: bump version 2025-05-21 04:06:02 +05:30
Prateek Sunal
520e5d4ae7 fix: update routing 2025-05-21 04:01:37 +05:30
Prateek Sunal
2a8e167e42 fix: don't listen to collection route 2025-05-21 03:51:20 +05:30
Prateek Sunal
2f7bde36bd chore: bump version to 1.0.17 2025-05-21 03:27:49 +05:30
Prateek Sunal
ace375b7f6 fix: get effective selected people code 2025-05-21 03:27:38 +05:30
Prateek Sunal
cde6ebfa39 fix: pass and parse mainKey correctly 2025-05-21 03:12:19 +05:30
Prateek Sunal
a1e56a457f fix: update people default illustration 2025-05-21 03:04:21 +05:30
Prateek Sunal
a4ebf972e1 fix: count home widget for android 2025-05-21 02:56:32 +05:30
Prateek Sunal
7d5bed0493 fix: iOS build 2025-05-21 02:20:43 +05:30
Prateek Sunal
d449bd0f90 chore: update version 2025-05-21 02:16:48 +05:30
Prateek Sunal
5d14ca8439 fix: handle PeopleChangedEvent, add better limit for files, better behavior on save 2025-05-21 02:15:23 +05:30
Prateek Sunal
619f6795e2 fix: don't show un-named person 2025-05-21 01:44:12 +05:30
Prateek Sunal
04cd1d3bb3 fix: update code to look clean 2025-05-21 01:28:14 +05:30
Prateek Sunal
0960f189ce Merge remote-tracking branch 'origin/main' into widget-superpowered 2025-05-21 01:11:56 +05:30
Prateek Sunal
734b836a7a chore: update locals 2025-05-21 01:11:48 +05:30
Prateek Sunal
91447cdc77 fix: widgets code 2025-05-21 01:11:40 +05:30
Manav Rathi
961501a6fb [desktop] HLS newlines - Take 2 (#5990) 2025-05-20 20:07:22 +05:30
Manav Rathi
914893eae6 Fix 2025-05-20 20:01:44 +05:30
Manav Rathi
7a10f4c145 Note results of tests and add extra checks 2025-05-20 19:58:10 +05:30
ashilkn
092f64c3ca Refactor CollectionsFlexiGridViewWidget 2025-05-20 17:44:27 +05:30
laurenspriem
bdecb04398 Add timezone package for finding OS timezone 2025-05-20 17:38:04 +05:30
Neeraj
e25418e5a6 [server] Fix err handling during stream upload (#5986)
## Description

## Tests
2025-05-20 16:37:29 +05:30
Neeraj Gupta
a062c1ccc3 Fix err handling 2025-05-20 16:35:22 +05:30
Aman Raj Singh Mourya
d1ae4d52dd refactor: update padding and width to make sure thumbnail is perfect square 2025-05-20 16:04:53 +05:30
Manav Rathi
3c532cd4f4 [desktop] Fix HLS regex for Windows (#5984)
`$` eol should match both `\r\n` (windows) and `\n` (rest)
2025-05-20 16:02:56 +05:30
Manav Rathi
013389c696 Fix regex for Windows 2025-05-20 15:57:41 +05:30
Neeraj
9ca418d915 [auth] Script to creating tag & modifying flatback metadata (#5983)
## Description

## Tests
Tested locally
2025-05-20 14:57:09 +05:30
Neeraj Gupta
a52a3e5e57 Remove unused variable 2025-05-20 14:54:27 +05:30
Neeraj Gupta
2d739ef4de [auth] Bump version 4.3.8 2025-05-20 14:47:30 +05:30
Neeraj Gupta
300300a8b9 Add script to add tag 2025-05-20 14:47:10 +05:30
Neeraj Gupta
be00cbaa51 Add release 4.3.8 to appdata.xml 2025-05-20 14:44:53 +05:30
Neeraj Gupta
43641b0b9e Add script to validate & create release tag 2025-05-20 14:31:54 +05:30
Aman Raj Singh Mourya
43cdd10e85 Merge branch 'album_UI_revamp' of https://github.com/ente-io/ente into album_UI_revamp 2025-05-20 14:25:30 +05:30
Aman Raj Singh Mourya
539145d38d refactor: simplify layout calculations in flex grid view 2025-05-20 14:25:16 +05:30
Neeraj Gupta
a5ccae4390 Merge branch 'main' into resumableDownload 2025-05-20 14:21:27 +05:30
Neeraj
08bb2f25fb [mob] Fix: Switch to original video playback for android (#5982)
## Description
Bug: When filePath was not null due to preview playlist, we kept playing
the preview video, and where not showing any progress indicator for
video download.

## Tests
Tested locally on physical device.
2025-05-20 14:07:34 +05:30
Neeraj Gupta
55264445b2 Fix: Switch to original video playback 2025-05-20 13:59:05 +05:30
Manav Rathi
bdadf8dc9c [desktop] Avoid stdout max buffer error when converting very large videos (#5981) 2025-05-20 12:41:16 +05:30
Manav Rathi
1c3428d89d Avoid stdout max buffer error when converting very large videos 2025-05-20 12:35:14 +05:30
Neeraj Gupta
34b53f8443 Show download progress for internal users 2025-05-20 12:29:17 +05:30
Neeraj Gupta
8448be6c68 move model out + clean up 2025-05-20 12:01:13 +05:30
ashilkn
6e4a856ea4 Use better colors 2025-05-20 11:57:19 +05:30
ashilkn
40ff361af1 Add Todo comment 2025-05-20 11:28:59 +05:30
Neeraj
11fae5e87c [server] Whitelist range header (#5978) 2025-05-20 10:48:25 +05:30
Neeraj Gupta
465e69b254 Whitelist range header 2025-05-20 10:13:12 +05:30
laurenspriem
63b0cee589 Add timezone dependency for scheduling notifications 2025-05-20 09:13:56 +05:30
Prateek Sunal
574eea58fc fix: add robust logic for album home widget service 2025-05-20 07:06:57 +05:30
Manav Rathi
f848fe0938 [web] Minor notes and null checks (#5974) 2025-05-19 20:04:32 +05:30
Prateek Sunal
138310b8f8 fix: update get collection by id function 2025-05-19 19:54:24 +05:30
Prateek Sunal
3d63ded84d fix: blockers, getter function for albums hw service 2025-05-19 19:54:09 +05:30
Manav Rathi
b7cd55aec3 ctx
"OwnerEmail currently is always present for shared collection but missing for owned collection."
2025-05-19 19:53:31 +05:30
Manav Rathi
aadab316f6 + 2025-05-19 19:26:06 +05:30
Manav Rathi
8bad8b87b1 more context from chat 2025-05-19 19:23:37 +05:30
Prateek Sunal
2ff69f661e Merge branch 'main' into widget-superpowered 2025-05-19 19:20:26 +05:30
Prateek Sunal
10c65f13c8 fix: update get total function for memory home widget 2025-05-19 19:19:30 +05:30
Prateek Sunal
761c976d7e Merge remote-tracking branch 'origin/on_this_day' into widget-superpowered 2025-05-19 19:13:47 +05:30
Prateek Sunal
423a7eec37 fix: show on this day to both ml & non-ml users 2025-05-19 19:10:29 +05:30
Manav Rathi
1f7e74131b + 2025-05-19 19:05:37 +05:30
Prateek Sunal
c8b23f80e2 feat: add selection and save/get from db for people widget settings 2025-05-19 18:53:41 +05:30
Manav Rathi
191db47d79 type 2025-05-19 18:22:27 +05:30
Manav Rathi
34621dd00f notes 2025-05-19 18:21:06 +05:30
Prateek Sunal
d127199ade feat: complete save and selection logic for memories and albums settings 2025-05-19 17:35:33 +05:30
Aman Raj Singh Mourya
f44e90801f refractor: revert back copy of sort options 2025-05-19 17:23:25 +05:30
Aman Raj Singh Mourya
ded497d421 fix: make album sqaure and show file count 2025-05-19 17:22:08 +05:30
Neeraj
a3e48706de [mob] Refactor download url lookup (#5968)
## Description

## Tests
2025-05-19 16:58:54 +05:30
Neeraj Gupta
7f3d4db9a5 Add scaffold (llm) for resumable download 2025-05-19 16:57:41 +05:30
Neeraj Gupta
2709f69f2a Remove unused import 2025-05-19 15:26:53 +05:30
Neeraj Gupta
2b32cd4277 Refactor 2025-05-19 15:25:11 +05:30
Neeraj Gupta
57934f612e Refactor 2025-05-19 15:11:34 +05:30
Neeraj Gupta
eae5e12c71 Clean up 2025-05-19 15:07:20 +05:30
Neeraj Gupta
aef50f3f95 Rename & move downloadQueue 2025-05-19 14:41:56 +05:30
Neeraj
6772027c27 [mob] Fix: Clean up origin file for hard upload failures (#5954)
## Description
The value of this variable was incorrectly set to `false` (as as initial
value).

## Tests
2025-05-19 14:26:35 +05:30
Neeraj
f386a0a72e [cli] Specify ott purpose (#5966)
## Description

## Tests
2025-05-19 14:25:58 +05:30
Neeraj Gupta
9c94bcffaa [cli] Specify ott purpose 2025-05-19 14:21:52 +05:30
Manav Rathi
6b703e9601 [web] Add more CSP cases (#5964) 2025-05-19 14:18:22 +05:30
Prateek Sunal
22bae0292d feat: add new widget services 2025-05-19 14:04:42 +05:30
Prateek Sunal
4c7121fd6c chore: update generated messages 2025-05-19 14:04:19 +05:30
Prateek Sunal
f53745bbb0 Merge remote-tracking branch 'origin/album_UI_revamp' into widget-superpowered 2025-05-19 14:00:13 +05:30
ashilkn
1c6e343994 Use StatelessWidget instead of helper method 2025-05-19 13:51:52 +05:30
Manav Rathi
949807bc97 rep-endp
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Reporting-Endpoints
2025-05-19 13:48:34 +05:30
Manav Rathi
fea46532f9 Example 2025-05-19 13:37:51 +05:30
Manav Rathi
8824df29d4 They're POST 2025-05-19 11:51:10 +05:30
Manav Rathi
2da2616ec1 Update deps 2025-05-19 11:39:01 +05:30
laurenspriem
2144f57ee0 remove null check 2025-05-19 11:08:00 +05:30
laurenspriem
476fe1b624 Assign IDs to memories 2025-05-19 11:06:39 +05:30
Manav Rathi
fb7fc53263 csp-rep 2025-05-19 10:06:03 +05:30
Neeraj
a842cdfe4e [auth] add Cryptee icon (#5959)
I added the Cryptee icon. Cryptee is similar to Ente, as it is also a
secure photo service
2025-05-19 10:03:32 +05:30
Neeraj
d5de1b5ce2 [auth] New translations (#5963)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-05-19 09:57:11 +05:30
Neeraj
a1801435bd [mobile] New translations (#5962)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-05-19 09:55:12 +05:30
Manav Rathi
bc02238fd8 video streaming 2025-05-19 09:53:40 +05:30
Manav Rathi
49ef8a693b [web] New translations (#5961)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-05-19 08:31:15 +05:30
Crowdin Bot
6f585c3ad0 New Crowdin translations by GitHub Action 2025-05-19 01:18:00 +00:00
Crowdin Bot
18f9f0048a New Crowdin translations by GitHub Action 2025-05-19 01:04:58 +00:00
Crowdin Bot
6a7ba4156f New Crowdin translations by GitHub Action 2025-05-19 00:41:15 +00:00
UmmIt
30995b3b73 [auth] add Cryptee icon 2025-05-19 01:14:53 +08:00
laurenspriem
ff705280c7 Rename variable 2025-05-18 11:58:42 +05:30
laurenspriem
6ff6594a81 Include onThisDay in widget api 2025-05-18 11:40:23 +05:30
laurenspriem
69f12125ec Merge branch 'memories_widget_api' into on_this_day 2025-05-18 11:26:53 +05:30
laurenspriem
862b11c530 Calc onThisDay even when ML is off 2025-05-18 11:23:05 +05:30
laurenspriem
e40afac212 Rename for clarity 2025-05-18 11:09:48 +05:30
Neeraj Gupta
8c66d9dac0 Fix: Clean up origin file for hard upload failures 2025-05-18 10:48:10 +05:30
Ferdinand Saurenbach
a880726f16 Update museum.md 2025-05-17 16:43:36 +02:00
Manav Rathi
b2ab0679b4 [web] Handle shared favorites (#5947) 2025-05-16 21:46:41 +05:30
Manav Rathi
d63ecf518e Tweak 2025-05-16 21:42:34 +05:30
Manav Rathi
c5cdaf3e0b fix warning 2025-05-16 21:27:32 +05:30
Manav Rathi
61f1cd6952 Fix mui warnings 2025-05-16 21:24:29 +05:30
Manav Rathi
e6d4a779c5 int 2025-05-16 20:50:15 +05:30
Manav Rathi
14087ec5e9 more cases 2025-05-16 20:38:48 +05:30
Manav Rathi
15daa9e453 case 2025-05-16 20:15:14 +05:30
Manav Rathi
73728e60e0 dep 2025-05-16 20:01:57 +05:30
Manav Rathi
5c925c4265 fav 2025-05-16 19:39:39 +05:30
Manav Rathi
83bf336101 [web] Minor code improvements (#5945) 2025-05-16 19:39:01 +05:30
Manav Rathi
d5b9a0a92b [web] Unicode search (#5944)
Fixes: https://github.com/ente-io/ente/issues/5942
2025-05-16 19:35:47 +05:30
Manav Rathi
40d84f10a8 [web] Unicode search
Fixes: https://github.com/ente-io/ente/issues/5942
2025-05-16 19:29:52 +05:30
Prateek Sunal
bffd4d83a5 fix: update the deep link 2025-05-16 18:41:21 +05:30
Aman Raj Singh Mourya
59a534225c [mob][photos] Refactor add participant page (#5940) 2025-05-16 17:49:02 +05:30
ashilkn
810ee3d9fe Merge album_UI_revamp after resolving merge conflicts 2025-05-16 16:19:45 +05:30
ashilkn
9605637e50 Refactor add participants page 2025-05-16 16:15:53 +05:30
laurenspriem
9016394ccc Integrate on this day into gallery memories 2025-05-16 15:08:40 +05:30
Prateek Sunal
a518bbd608 fix(home-widget): update default image caption & rename totalMemories 2025-05-16 15:07:45 +05:30
Aman Raj Singh Mourya
1c4ebcccb1 fix: allow to leave favourite albums 2025-05-16 14:44:48 +05:30
Aman Raj Singh Mourya
793fd5ba39 fix: avoid poping of delete dialog to avoid poping of main screen 2025-05-16 14:39:56 +05:30
Prateek Sunal
9b1eacf736 fix: update the preview images 2025-05-16 14:37:33 +05:30
Aman Raj Singh Mourya
cae9988c9a fix: avoid poping of delete dialog as it pop the main screen 2025-05-16 14:37:02 +05:30
Prateek Sunal
538a5df32d feat: add preview images for both android & iOS 2025-05-16 14:30:13 +05:30
laurenspriem
853b916cf1 Exclude certain collections 2025-05-16 14:25:31 +05:30
Aman Raj Singh Mourya
93d6f58660 fix: code refractor 2025-05-16 14:22:53 +05:30
Neeraj Gupta
7b145f0898 Bump version code 2025-05-16 14:15:30 +05:30
Neeraj Gupta
add09a601d Merge branch 'main' into album_UI_revamp 2025-05-16 14:15:06 +05:30
Neeraj
cab711d88e [mob] Fix: Duration computation from playlist (#5939)
## Description

## Tests
2025-05-16 14:14:35 +05:30
Neeraj Gupta
c392bd2fd2 Fix: Duration computation from playlist 2025-05-16 14:12:21 +05:30
laurenspriem
5dda596544 Max of 20 photos spread across years 2025-05-16 13:52:05 +05:30
Neeraj Gupta
8101bee2fd Update intl_pt.arb 2025-05-16 12:50:13 +05:30
Neeraj Gupta
c234bc7be8 Fix lint 2025-05-16 12:45:41 +05:30
Neeraj Gupta
27fd372d62 Bump version v1.0.14 2025-05-16 12:42:58 +05:30
laurenspriem
66f23283c1 Only memories spread across multiple years 2025-05-16 12:42:00 +05:30
Neeraj Gupta
8d7bc81c20 Merge branch 'main' into album_UI_revamp 2025-05-16 12:40:56 +05:30
Neeraj
5e3ebd4a60 [mob][Fix] Fallback to email forname if personService init is pending (#5938)
## Description

## Tests
2025-05-16 12:39:31 +05:30
Neeraj Gupta
f4a4f71135 [mob][Fix] Fallback to email for userName if personService init is pending 2025-05-16 12:36:38 +05:30
Aman Raj Singh Mourya
41e870f7a0 [mob][photos] Contacts section performance improvements (#5923)
## Description

- Defer the initial load until the Shared Collection tab is in view to
avoid unnecessary work at app startup.
- Remove the computation previously done for the Search tab sections
that was intended for the Contacts section, as it is no longer present.
2025-05-16 11:59:14 +05:30
Aman Raj Singh Mourya
0342e1ef56 Merge branch 'album_UI_revamp' of https://github.com/ente-io/ente into album_UI_revamp 2025-05-16 11:57:33 +05:30
Aman Raj Singh Mourya
efed42ce4a refractor: used better code format 2025-05-16 11:56:55 +05:30
Neeraj
185c5f5c43 [mob] Fix seekBar duration for videos with missing duration in metadata (#5937)
## Description

## Tests
Tested locally
2025-05-16 11:40:30 +05:30
Neeraj Gupta
6f5b33ea01 Fix lint 2025-05-16 11:36:33 +05:30
Aman Raj Singh Mourya
ef9d925686 fix: alignment of icons 2025-05-16 11:34:37 +05:30
Neeraj Gupta
d6a8373e5d Clean up 2025-05-16 11:33:14 +05:30
laurenspriem
e84f46f435 correct translation use 2025-05-16 11:31:47 +05:30
laurenspriem
c1193be61c Extract strings 2025-05-16 11:31:23 +05:30
laurenspriem
9b460ca1dc Init onThisDay method 2025-05-16 11:30:44 +05:30
Neeraj Gupta
bd0ad0d1b4 Fix seekBar duration for preview videos with missing duration in metadata 2025-05-16 11:26:06 +05:30
Manav Rathi
d19322c1ae Remove column dependency
And add a dev canary
2025-05-16 11:16:52 +05:30
Manav Rathi
e71f5cecc7 alt 2025-05-16 11:16:52 +05:30
Manav Rathi
622a368b45 swap 2025-05-16 11:16:52 +05:30
Manav Rathi
72aec4bc5a swap 2025-05-16 11:16:52 +05:30
Manav Rathi
c899725ed1 Fix warning 2025-05-16 11:16:52 +05:30
Neeraj
e15eb8d7c7 [auth] Add cronetHttpNoPlay flag for playstore builds (#5932)
## Description

Fixes https://github.com/ente-io/ente/issues/5901

## Tests
2025-05-16 11:03:26 +05:30
Neeraj Gupta
b38c49502b Fix seekBar color at other places 2025-05-16 10:33:57 +05:30
Neeraj
0fdee342eb [mobile] New translations (#5935)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-05-16 10:30:10 +05:30
Crowdin Bot
0641ce389d New Crowdin translations by GitHub Action 2025-05-16 04:56:56 +00:00
Manav Rathi
f34ac356e9 [infra] Increase backup wait (#5931) 2025-05-16 07:45:33 +05:30
Neeraj Gupta
120f9cef4d [auth] Add cronetHttpNoPlay flag for playstore builds 2025-05-16 07:43:31 +05:30
Manav Rathi
9b4247680a [infra] Increase backup wait 2025-05-16 07:43:00 +05:30
Neeraj
5d69376b54 [mob] Change seekBar color for video to backgroundElevatedLight (#5929)
## Description
![Uploading image.png…]()


## Tests
2025-05-16 07:22:16 +05:30
Bl4ckspell
64260896a0 [auth] fix bonify icon (#5930)
## Description
Icon was not displaying.

| before | after |
| --- | --- |
|![Screenshot From 2025-05-16
02-40-15](https://github.com/user-attachments/assets/59d84c64-3bc5-4b03-8704-ccabb4dc80af)|![Screenshot
From 2025-05-16
03-01-49](https://github.com/user-attachments/assets/ade3df70-043a-4ac8-abca-d0f2d8cf4f59)|
2025-05-16 06:41:08 +05:30
Neeraj Gupta
2af46f62c8 Fix lint 2025-05-16 06:40:28 +05:30
Neeraj Gupta
a53701bc41 Copy update 2025-05-16 05:49:59 +05:30
Neeraj Gupta
7a408a6242 Change video seekBar color to backgroundElevatedLight 2025-05-16 05:48:51 +05:30
Manav Rathi
6b9885c5d7 [web] New translations (#5927)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-05-15 20:32:54 +05:30
Crowdin Bot
caa453d49d New Crowdin translations by GitHub Action 2025-05-15 15:01:14 +00:00
Manav Rathi
dd80acd4f4 [web] General code improvements (#5926) 2025-05-15 20:30:29 +05:30
Manav Rathi
5aa7682812 lf 2025-05-15 20:25:01 +05:30
Manav Rathi
cb9a88e636 tr 2025-05-15 20:25:01 +05:30
Manav Rathi
3a32659dd4 [desktop] Update to Electron 36.2.1 (#5925)
Regular dep update. Also update a minor dev dep.
2025-05-15 20:15:36 +05:30
Manav Rathi
d5b5a26d9a [desktop] Use a tighter HDR check (#5924)
Otherwise video conversion fails with

[Parsed_zscale_2 @ 0x12de1b040] code 3074: no path between colorspaces

Some sample video stream lines of videos where it failed:

- `Stream #0:0[0x1](und): Video: mpeg4 (Simple Profile) (mp4v /
0x7634706D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 2204 kb/s, 30 fps, 30
tbr, 30 tbn (default)`
- `Stream #0:1[0x1e0]: Video: mpeg1video, yuv420p(tv), 640x480 [SAR 1:1
DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn`
- `Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D),
yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 15379 kb/s, 30 fps, 30
tbr, 30 tbn`
- `Stream #0:0[0x1](eng): Video: h263 (s263 / 0x33363273), yuv420p,
176x144 [SAR 12:11 DAR 4:3], 96 kb/s, 15.27 fps, 15.42 tbr, 15750 tbn
(default)`
2025-05-15 20:03:01 +05:30
Manav Rathi
d2980abb7a [desktop] Update to Electron 36.2.1
Regular dep update. Also update a minor dev dep.
2025-05-15 20:01:48 +05:30
Manav Rathi
1a2f606d94 Use a tighter check
Otherwise video conversion fails with

    [Parsed_zscale_2 @ 0x12de1b040] code 3074: no path between colorspaces

Some sample video stream lines of videos where it failed:

- `Stream #0:0[0x1](und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 2204 kb/s, 30 fps, 30 tbr, 30 tbn (default)`
- `Stream #0:1[0x1e0]: Video: mpeg1video, yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn`
- `Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 15379 kb/s, 30 fps, 30 tbr, 30 tbn`
- `Stream #0:0[0x1](eng): Video: h263 (s263 / 0x33363273), yuv420p, 176x144 [SAR 12:11 DAR 4:3], 96 kb/s, 15.27 fps, 15.42 tbr, 15750 tbn (default)`
2025-05-15 19:44:37 +05:30
ashilkn
a101dba6cd Defer loading of contacts section in shared collections tab until the tab is in view for atleast 500ms. This is to avoid work at app start 2025-05-15 19:11:30 +05:30
Prateek Sunal
491de296ca feat: similar UI's for all the widgets 2025-05-15 18:18:42 +05:30
Laurens Priem
ab2719a79c [mob][photos] Show detected faces with lower score on UI (#5922)
## Description

## Tests
2025-05-15 17:35:27 +05:30
ashilkn
a614636789 Avoid computing data for contacts section for the search tab since it has been moved temporarily to the shared collections tab 2025-05-15 17:23:35 +05:30
laurenspriem
48e9032ac1 Better align widget 2025-05-15 17:20:59 +05:30
Manav Rathi
1d2e18444c sync 2025-05-15 17:10:30 +05:30
laurenspriem
7f9e01a841 Clearly log low face scores from file info 2025-05-15 16:58:40 +05:30
laurenspriem
6933c77f36 Clearly mark face info as debug only 2025-05-15 16:50:41 +05:30
laurenspriem
61cacdddc0 Set face score limit for UI to 0.7 2025-05-15 16:49:09 +05:30
Manav Rathi
936d578093 Rename 2025-05-15 16:41:50 +05:30
Manav Rathi
167a81f121 Swap 2025-05-15 16:39:14 +05:30
Manav Rathi
b550ee6b15 Alt 2025-05-15 16:39:14 +05:30
Manav Rathi
54feb7b2f9 sv 2025-05-15 16:39:14 +05:30
Manav Rathi
f9dad575ec keep both types of checks 2025-05-15 16:39:14 +05:30
Manav Rathi
a39948ccc3 Move 2025-05-15 16:39:14 +05:30
Manav Rathi
dfabd648d5 Alt 2025-05-15 16:39:14 +05:30
Manav Rathi
21e5bbb0fd Outline 2025-05-15 16:39:14 +05:30
Manav Rathi
10a0165a0f check 2025-05-15 16:39:13 +05:30
Aman Raj Singh Mourya
07c640cf90 refractor: extract string + code refractor and improvements 2025-05-15 16:33:16 +05:30
Prateek Sunal
9fa13508b8 feat: add iOS widgets 2025-05-15 16:26:16 +05:30
Aman Raj Singh Mourya
1c099a60e8 refactor: use params to store resultCollections 2025-05-15 16:25:52 +05:30
Ashil
efbdaef9ce [mob] Fix: Enable delinking email from person with no face (#5897)
## Description

When email is is linked to person that doesn't contain any file, there's
no way to unlink the email from that person.
Instead of showing generic error, added an option to edit the other
person so that users can delink the email id.

## Tests
Tested locally.
2025-05-15 15:36:22 +05:30
Manav Rathi
65ddea0f7f [desktop] Use correct unit for bitrate (#5919) 2025-05-15 15:27:20 +05:30
Neeraj
ed15b47f1b [mobile] New translations (#5918)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-05-15 15:26:56 +05:30
Crowdin Bot
6496660718 New Crowdin translations by GitHub Action 2025-05-15 09:54:04 +00:00
Neeraj Gupta
691d31d0a9 Fix lint 2025-05-15 15:21:42 +05:30
Manav Rathi
1f40901fd1 [desktop] Use correct unit for bitrate 2025-05-15 15:21:18 +05:30
Neeraj Gupta
4982c1209e Extract strings 2025-05-15 15:14:18 +05:30
laurenspriem
9170c80b26 Fix constructor 2025-05-15 14:18:46 +05:30
Neeraj Gupta
1b4cb2ed99 Handle existing link error for person update 2025-05-15 13:51:13 +05:30
Neeraj Gupta
45fe850afc Merge branch 'main' into emailAlreadyRegistered 2025-05-15 13:49:38 +05:30
Neeraj Gupta
6ae8abb492 Bump version v1.0.13 2025-05-15 10:47:45 +05:30
Neeraj Gupta
f077213c62 Merge branch 'main' into album_UI_revamp 2025-05-15 10:46:26 +05:30
Neeraj
92a8db53bd [mob][auth] Fix: respect system locale preference (#5916)
## Description
Fixes https://github.com/ente-io/ente/issues/5655
## Tests
2025-05-15 10:34:53 +05:30
Neeraj Gupta
c812b80887 [mob][auth] Fix: respect system local preference 2025-05-15 10:22:48 +05:30
Aman Raj Singh Mourya
62c1f0c6ac fix: merge conflict 2025-05-15 10:17:53 +05:30
Aman Raj Singh Mourya
cc486983ab Merge branch 'main' into album_UI_revamp 2025-05-15 10:14:40 +05:30
Ashil
a103bd4cca [mob][photos] Wrap EnteLoadingWidget with RepaintBoundary to avoid unnecessary repaints (#5915) 2025-05-15 09:11:29 +05:30
ashilkn
c56d9b312d Wrap EnteLoadingWidget with RepaintBoundary to avoid unnecessary repaints 2025-05-15 08:39:47 +05:30
Manav Rathi
6dda5d8762 [web] [desktop] Routine dependency updates (#5914) 2025-05-15 08:25:32 +05:30
Manav Rathi
3e9d78c866 Routine dependency updates 2025-05-15 08:19:21 +05:30
Manav Rathi
c3eb55b258 [desktop] Enable HLS generation for internal users (#5913) 2025-05-15 07:49:41 +05:30
Manav Rathi
0666bf56df [desktop] Enable HLS generation for internal users 2025-05-15 07:45:39 +05:30
Manav Rathi
fcd8298e10 [web] Handle video durations - WIP (#5910)
The change is complete, but currently only enabled for internal users.
2025-05-14 19:57:39 +05:30
Manav Rathi
62bd2d13d6 Match the web behaviour for sub seconds ceil 2025-05-14 18:55:30 +05:30
Manav Rathi
4263906c61 node impl 2025-05-14 18:40:56 +05:30
Manav Rathi
72acefadd4 node 2 2025-05-14 17:04:39 +05:30
Manav Rathi
2be8db783c node 1 2025-05-14 16:54:45 +05:30
Manav Rathi
f8e90e765f web side 2025-05-14 16:46:47 +05:30
Manav Rathi
9424d26f55 Show 2025-05-14 16:21:01 +05:30
Manav Rathi
bb352f3266 mobile compat 2025-05-14 15:43:32 +05:30
Neeraj
85d55c7d26 [mob] Fix: Show switch stream options for shared video files (#5908)
## Description
- This change also fixes the issue where switch stream option wasn't
available when local video streaming was disabled.
- Also cleaned up the widget by removing queue/processing relate state
from the widget.

## Tests
2025-05-14 15:42:42 +05:30
Manav Rathi
6062c20251 Attach 2025-05-14 15:29:52 +05:30
Neeraj Gupta
8861e0562f rename 2025-05-14 15:24:06 +05:30
Manav Rathi
5e4de0793a json
a sample file (ElephantsDream.mp4, might be obtainable online) was causing the
string based duration format to fail, but is working with the json variant
2025-05-14 15:23:35 +05:30
Neeraj Gupta
80d36b5a91 Show switch stream options for shared files 2025-05-14 15:22:51 +05:30
Prateek Sunal
f22ad9611f feat: populate people as well 2025-05-14 15:14:11 +05:30
Neeraj
8e038dda14 [mob] Show person's name for shared fav collection (#5905)
## Description

## Tests
2025-05-14 14:42:22 +05:30
Prateek Sunal
9cafa72ae3 fix: add color scheme based icon 2025-05-14 14:01:25 +05:30
Neeraj
a5eba40f29 [mob] Increase resumable upload rollout 20 -> 50% (#5907)
## Description

## Tests
2025-05-14 13:57:05 +05:30
Prateek Sunal
0c9d7321eb fix: nominal display limit count & disable show create album 2025-05-14 13:52:13 +05:30
Neeraj Gupta
d98d220019 Increase resumable upload rollout 20 -> 50% 2025-05-14 13:51:45 +05:30
Prateek Sunal
5fc5d0ef48 feat: add initial album grid and save button 2025-05-14 13:48:08 +05:30
Neeraj Gupta
ce6b0da630 Show person's name for shared fav collection 2025-05-14 12:51:15 +05:30
Manav Rathi
d1d91338af Dur 1 2025-05-14 12:47:09 +05:30
Manav Rathi
790c022730 Impl 2025-05-14 12:39:28 +05:30
Manav Rathi
be65f0fba8 tailored log
inputPath is a random id in this context and doesn't provide any extra info
2025-05-14 12:20:21 +05:30
Manav Rathi
3677d53ea9 Sketch 2025-05-14 12:14:48 +05:30
Prateek Sunal
84017c7397 Merge remote-tracking branch 'origin/memories_widget_api' into widget-superpowered 2025-05-14 12:13:06 +05:30
Manav Rathi
f92101eaf8 Outline 2025-05-14 11:57:57 +05:30
mangesh
1d3ca81308 [docs] clarifying instructions about admin actions for CLI (#5848) 2025-05-14 11:55:12 +05:30
Manav Rathi
e9f22cff93 case 2025-05-14 11:31:48 +05:30
Prateek Sunal
e250759999 Merge remote-tracking branch 'origin/album_grid_UI' into widget-superpowered 2025-05-14 11:21:50 +05:30
Neeraj
d5740c4b66 [server] Version check support during ml data put (#5895)
## Description

## Tests
2025-05-14 10:56:36 +05:30
Manav Rathi
07bd28381d [web] Use wasm workerfs to directly mount blob instead of reading it in memory (#5904)
https://emscripten.org/docs/api_reference/Filesystem-API.html#workerfs
2025-05-14 10:45:48 +05:30
Manav Rathi
8c8c9d7ffa Use workerfs to directly mount blob instead of reading it in memory 2025-05-14 10:27:37 +05:30
Neeraj Gupta
d06016dddc Update status code 2025-05-14 10:02:54 +05:30
Manav Rathi
f4531ef088 [desktop] Don't mark indexing failures on 409s (#5903) 2025-05-14 10:01:45 +05:30
Manav Rathi
56772521e0 Don't mark failures on 409s 2025-05-14 09:49:52 +05:30
Neeraj Gupta
244ec87a9a Rename 2025-05-14 09:40:57 +05:30
Manav Rathi
043d0936ef [desktop] Incorporate mldata version check (#5900)
Ref: https://github.com/ente-io/ente/pull/5895
2025-05-14 09:07:44 +05:30
Manav Rathi
9129910981 [web] Potential fix for pin order not being maintained (#5902) 2025-05-13 19:41:40 +05:30
Manav Rathi
4194c53d08 [web] Potential fix for pin order not being maintained 2025-05-13 19:32:07 +05:30
Manav Rathi
9d5960c6fe [desktop] Incorporate mldata version check 2025-05-13 18:35:45 +05:30
Aman Raj Singh Mourya
f088c24abe refactor: remove debug print statements 2025-05-13 18:15:35 +05:30
Aman Raj Singh Mourya
e197423c1d fix: fixed album list opening scrolled down & increase bottom padding 2025-05-13 18:10:38 +05:30
Neeraj Gupta
b22bc93e57 Send updatedAt along with fileData 2025-05-13 18:01:19 +05:30
Manav Rathi
236301dc16 [desktop] Video generation integration - WIP Part x/x (#5896) 2025-05-13 17:22:22 +05:30
Manav Rathi
b4a60fd2f4 empty state 2025-05-13 17:17:38 +05:30
Neeraj Gupta
079ac37d1f Fix lint 2025-05-13 17:15:30 +05:30
Neeraj Gupta
3deb138b77 Fix: Enable delinking email from person with no face 2025-05-13 17:04:11 +05:30
Manav Rathi
5b9b328c99 Tweak 2025-05-13 16:51:33 +05:30
Manav Rathi
e541f0522d skip case 2025-05-13 16:44:55 +05:30
Manav Rathi
93413687c9 hs 2025-05-13 16:11:14 +05:30
Neeraj
48ef4df187 [mob] Fix date-formatting as per device locale (#5894)
## Description
- For language only match, instead of returning supported locale which
many times doesn't have country code, we are now falling back to system
locale. So for en_GB, the auto-detected locale will be `en_GB` instead
of just `en`.

Fixes https://github.com/ente-io/ente/issues/5120


## Tests
- Verified that the app was translated in Spanish with `es_US`.
- Verified that date-formatting is as per device locale (at least on
birthday date picker & edit time dialog)
2025-05-13 15:20:35 +05:30
Manav Rathi
96d748dc87 status 2025-05-13 15:17:52 +05:30
Neeraj Gupta
9d28fa99a3 Version check support during ml data put 2025-05-13 15:09:55 +05:30
Neeraj Gupta
f9cce787f7 Remove log 2025-05-13 14:26:54 +05:30
Manav Rathi
dcc02db296 init 2025-05-13 14:26:53 +05:30
Neeraj Gupta
c0fd71a668 Fix: fallback to device locale on language only match 2025-05-13 14:25:20 +05:30
Manav Rathi
116f22a853 vis 2025-05-13 13:57:14 +05:30
Neeraj
501b541134 [mob] Cache video streams for shared files (#5892)
## Description
Title

## Tests
- Verified from logs that shared stream videos are getting cached
correctly.
2025-05-13 13:52:44 +05:30
laurenspriem
1785baf4af method for memories widget 2025-05-13 13:33:31 +05:30
Neeraj Gupta
b08d8de1c8 Fix date formatting in edit time 2025-05-13 13:25:46 +05:30
Manav Rathi
0284287c9c toggle 2025-05-13 13:14:14 +05:30
Manav Rathi
be2665f57f Set sv = 1 for files that are skipped 2025-05-13 12:29:17 +05:30
Neeraj Gupta
b721a84889 Fix date format in birthday date-picker 2025-05-13 12:28:34 +05:30
Manav Rathi
442d6526be sopt color
something (I'm not sure what, but I think react-select itself) overrides the
color for the option's root element to white when displaying the search bar on
the search results screen itself. as a workaround, provide a explicit color to
the text.

steps to reproduce (light mode):
- search for something (all options look normal)
- select an option
- search for something on this results screen itself
- note how the search options titles are in white
2025-05-13 11:47:54 +05:30
Manav Rathi
08346e5bcd it was already revoking 2025-05-13 11:36:00 +05:30
Manav Rathi
e35b4eac40 Refill queue even after first refill 2025-05-13 11:29:50 +05:30
Manav Rathi
7c6da77c21 [desktop] Video generation integration - WIP Part x/x (#5891) 2025-05-13 11:17:14 +05:30
Neeraj Gupta
ab59a15769 Remove internal user flag 2025-05-13 11:07:53 +05:30
Neeraj Gupta
45e07f3be0 Improve video caching + cache shared videos 2025-05-13 11:00:40 +05:30
Manav Rathi
a2df4fb48a impl 2025-05-13 10:57:43 +05:30
Manav Rathi
5a2ba82fff return current state instead of original state on errors
this should be a more graceful behaviour on errors
2025-05-13 10:46:29 +05:30
Manav Rathi
6a907d0f7d wip 1 2025-05-13 10:43:05 +05:30
Manav Rathi
20dfec2e67 Outline 2025-05-13 10:32:06 +05:30
Manav Rathi
96c3880e38 filter files in trash 2025-05-13 10:20:42 +05:30
Manav Rathi
2adabc1e24 fix hydration warning 2025-05-13 10:20:42 +05:30
Manav Rathi
a6ca7a5792 stop unnecessary reindexing on addedSymlink 2025-05-13 10:20:42 +05:30
Manav Rathi
6abea7ae6d Note 2025-05-13 10:20:42 +05:30
Manav Rathi
429b6be368 to db 2025-05-13 10:20:42 +05:30
Manav Rathi
ed9af710fe doc 2025-05-13 10:20:42 +05:30
Manav Rathi
f8ef263e6d own 2025-05-13 10:20:42 +05:30
Manav Rathi
fae47f102e mark 2025-05-13 10:20:42 +05:30
Manav Rathi
240bfdd296 ret 2025-05-13 10:20:41 +05:30
Neeraj Gupta
672123d746 Remove duplicate logic 2025-05-13 10:06:59 +05:30
Aman Raj Singh Mourya
51d55ee92b feat: Add new album row item widget and update collections grid view 2025-05-12 22:06:19 +05:30
Manav Rathi
cc3f20831a [server] 204 minor fix (#5886)
- Sibling of https://github.com/ente-io/ente/pull/5880
- Tested using https://github.com/ente-io/ente/pull/5885
2025-05-12 21:58:33 +05:30
Manav Rathi
a282f82909 [web] Use new 204 facility for playlist existence (#5885) 2025-05-12 20:49:57 +05:30
Manav Rathi
2fde22272e [web] Use new 204 facility for playlist existence 2025-05-12 20:45:37 +05:30
Manav Rathi
d63da04392 [server] 204 tweak
- Sibling of https://github.com/ente-io/ente/pull/5880
- Tested using https://github.com/ente-io/ente/pull/5885
2025-05-12 20:42:12 +05:30
Aman Raj Singh Mourya
7cd3f8e2ac [mob][photos] feat: show albums shared by contact in contact section 2025-05-12 20:12:45 +05:30
Manav Rathi
9517514396 [web] Add workaround for Safari live photo download (#5884)
Tested on Safari (obv) and Chrome.
2025-05-12 19:46:24 +05:30
Manav Rathi
41a4f3d286 [web] Add workaround for Safari live photo download 2025-05-12 19:39:19 +05:30
Prateek Sunal
91fefa7eb9 feat: memories leading icons 2025-05-12 19:12:46 +05:30
Prateek Sunal
63b9a09a2d feat: init widgets settings and default states
Next: Add Grid, make things dynamic, Add sync logic and native code
2025-05-12 19:07:58 +05:30
Neeraj
d1a2efff0e [server] Sending 204 instead of 404 for no data (#5880)
## Description

## Tests
2025-05-12 16:59:44 +05:30
Laurens Priem
00d723ca7c [infra] github actions internal release with rust (#5879)
## Description

Add Github Action for mobile release that includes the use of rust
2025-05-12 16:54:25 +05:30
Neeraj Gupta
47b2e0d0ab Sending 204 instead of 404 for no data 2025-05-12 16:53:24 +05:30
laurenspriem
ac9dbd4ee1 github actions internal release with rust 2025-05-12 16:50:49 +05:30
Prateek Sunal
8b6f6346be [workflow](auth-release) separate checksum as *-linux & *-apk (#5878)
## Description

After last change the checksum name also need to changed to suffice the
new files and the unified ubuntu workflow. Here I am modifying the
checksum so that there are two different versions, one for linux related
binaries and another for the solo apk file.

## Tests
2025-05-12 15:13:33 +05:30
Prateek Sunal
73ad6b45fb fix(workflow): separate checksum to two 2025-05-12 15:07:45 +05:30
Neeraj
020f8cea23 [mob] Play streamable video whenever available (#5877)
## Description
- This PR removes the check for local streaming video settings
- [Internal users] added support for playing video stream for shared
files.
In order to cache the playlist and encrypted video stream, we will need
make backend API changes. Once those are done, we will remove the
internal user flag.
## Tests
2025-05-12 15:07:32 +05:30
Prateek Sunal
d52accdcc9 fix: typo 2025-05-12 15:04:54 +05:30
Neeraj Gupta
975c7ae8d1 Fix typo 2025-05-12 15:03:30 +05:30
Neeraj Gupta
c4463d6251 Fix lint 2025-05-12 15:00:47 +05:30
Neeraj Gupta
e96888d2c9 Reduce ffprobe log noise in debugMode 2025-05-12 14:51:38 +05:30
Neeraj Gupta
03df804868 Restrict shared file preview playback to internal users 2025-05-12 14:49:25 +05:30
Prateek Sunal
8c58e536de Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-05-12 14:42:33 +05:30
Prateek Sunal
8eed8a67ee fix(bgsync): better fg check, init deps well, add seppuku function 2025-05-12 14:41:42 +05:30
Prateek Sunal
89ba442731 fix: remove fg sync for now 2025-05-12 14:41:04 +05:30
Prateek Sunal
81965d0d36 fix(bgtask): better logging 2025-05-12 14:40:52 +05:30
Neeraj Gupta
685e0099c8 Support for playing preview of shared files 2025-05-12 14:32:47 +05:30
Neeraj Gupta
4a924a7296 Remove check for local setting 2025-05-12 13:41:27 +05:30
Neeraj Gupta
1f4beab764 Copy update 2025-05-12 13:39:04 +05:30
Neeraj Gupta
4fd121adf1 Play video stream regardless of generate setting 2025-05-12 13:36:52 +05:30
Manav Rathi
a942e68d27 [web] Support Turkish translations (#5875) 2025-05-12 13:23:35 +05:30
Neeraj
ece63f7a8d [server] Improve handling of errors (#5860)
## Description

## Tests
2025-05-12 13:18:01 +05:30
Neeraj
dcdc26e4e8 [auth] New translations (#5873)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-05-12 13:16:39 +05:30
Neeraj
ffa8ccd0d3 [mobile] New translations (#5872)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-05-12 13:16:19 +05:30
Manav Rathi
01f612e450 [web] Support Turkish translations 2025-05-12 10:58:42 +05:30
Vishnu Mohandas
70f80c7b57 [auth] Auth reorder widgets (#5869)
![image](https://github.com/user-attachments/assets/60752fe9-7c3d-402f-a92f-7a454c191b79)
2025-05-12 10:01:44 +05:30
Manav Rathi
ab875683ed [web] New translations (#5874)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-05-12 09:39:20 +05:30
Crowdin Bot
638108a819 New Crowdin translations by GitHub Action 2025-05-12 03:38:14 +00:00
Manav Rathi
dec193599f [web] Tweak error message (#5854) 2025-05-12 09:07:37 +05:30
Manav Rathi
4913746a31 [web] New translations (#5871)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-05-12 09:07:09 +05:30
Crowdin Bot
0966ab7d19 New Crowdin translations by GitHub Action 2025-05-12 01:17:45 +00:00
Crowdin Bot
83ae436008 New Crowdin translations by GitHub Action 2025-05-12 01:05:08 +00:00
Crowdin Bot
8f2a2caac1 New Crowdin translations by GitHub Action 2025-05-12 00:41:04 +00:00
Aman Raj Singh Mourya
7cc6319d5f feat: Extract strings 2025-05-12 00:50:01 +05:30
Aman Raj Singh Mourya
eabe213207 fix: Reorder advance option widget 2025-05-12 00:41:04 +05:30
Bl4ckspell
5b7f821a26 [auth] Add Bitazza icon (#5866)
## Description
New PR with updated icon for #5757 - Add Bitazza icon

<img
src="https://github.com/user-attachments/assets/085830d4-9ed6-4ddc-95f4-434412f8f045"
width="100" />
2025-05-11 10:29:32 +05:30
Neeraj
939ab4398c [mob] Enable sharing for fav collection (#5863)
## Description

## Tests
2025-05-10 08:12:13 +05:30
Neeraj Gupta
c4effd4ef4 Enable sharing for fav collection 2025-05-10 08:11:32 +05:30
Neeraj
bcf1a044cc [server] Enable sharing for fav (#5861)
## Description

## Tests
2025-05-10 07:34:33 +05:30
Neeraj Gupta
2dd9a080c6 Enable sharing for fav 2025-05-10 07:34:06 +05:30
Neeraj Gupta
57a4e6dd15 Update err copy 2025-05-10 07:26:44 +05:30
Neeraj Gupta
93cd2d30e4 Improve handling for ott errors 2025-05-10 07:22:28 +05:30
Neeraj Gupta
f65db123f2 Refactor 2025-05-10 07:12:01 +05:30
Neeraj Gupta
d697f22896 Improve SRP response 2025-05-10 07:01:39 +05:30
Neeraj Gupta
65faa98621 Move to util 2025-05-10 06:27:25 +05:30
Manav Rathi
e4a0125f1c [desktop] Streaming video generation - WIP Part x/x (#5857) 2025-05-09 19:08:38 +05:30
Manav Rathi
98d06f975c f2 2025-05-09 19:03:03 +05:30
Manav Rathi
d0ebe65af4 f1 2025-05-09 18:54:22 +05:30
Manav Rathi
08d936be45 1 2025-05-09 18:42:50 +05:30
Manav Rathi
71596ebd8e update 2025-05-09 18:05:14 +05:30
Manav Rathi
8ededf54c7 sync 2025-05-09 17:58:02 +05:30
Manav Rathi
0520fcd7ec outline 2025-05-09 17:58:02 +05:30
Manav Rathi
b6173d6c1b sync 2025-05-09 17:58:02 +05:30
Manav Rathi
6fa07e12db pag 2025-05-09 17:58:02 +05:30
Manav Rathi
804dacef91 diff 1 2025-05-09 17:58:02 +05:30
Manav Rathi
97350005c9 Outline 2025-05-09 17:58:02 +05:30
Manav Rathi
5f36a23f4e Remove double replenish 2025-05-09 17:58:02 +05:30
Vishnu Mohandas
d336541d2c [docs] Fix typo (#5856) 2025-05-09 16:28:35 +05:30
Vishnu Mohandas
780ea55ca8 [docs] Fix typo 2025-05-09 16:28:20 +05:30
Neeraj Gupta
38663088b1 Move to util 2025-05-09 15:49:20 +05:30
Neeraj
eb9987d2c0 [server] Reduce alert noise (#5855)
## Description

## Tests
2025-05-09 14:37:20 +05:30
Prateek Sunal
674642ac7c Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-05-09 14:29:22 +05:30
Prateek Sunal
08889bd608 fix: decrease the time to 15 mins on iOS 2025-05-09 14:29:14 +05:30
Neeraj Gupta
cf4084380c Throttle discord alerts 2025-05-09 14:28:22 +05:30
Manav Rathi
691469ef5e scope 2025-05-09 14:04:50 +05:30
Manav Rathi
8106bc6940 [web] Tweak error message 2025-05-09 14:04:50 +05:30
Neeraj
deb68d5cfc [server] Improve logs (#5853)
## Description

## Tests
2025-05-09 14:02:59 +05:30
mngshm
f4e158dab6 clarifying instructions about admin actions for CLI 2025-05-08 17:45:57 +05:30
Manav Rathi
e8b0d9c25b [web] Fix duplicate display of neighbour when deleting slide (#5847) 2025-05-08 16:53:13 +05:30
Manav Rathi
43ce9edb95 Make it work when deleting the last slide in the list 2025-05-08 16:47:56 +05:30
Manav Rathi
3b4c7095c4 [web] Fix duplicate display of neighbour when deleting slide 2025-05-08 16:32:22 +05:30
Prateek Sunal
990d185e86 fix: separate BgTaskUtils for workmanager rel utils 2025-05-08 15:31:11 +05:30
Manav Rathi
d95bb0785f [desktop] Move ffmpeg processing to a (node) worker (#5846)
Smoother app during HLS gen
2025-05-08 15:15:00 +05:30
Manav Rathi
d53281500b prune 2025-05-08 15:05:56 +05:30
Manav Rathi
44199093f0 Enable 2025-05-08 15:02:07 +05:30
Manav Rathi
18442e25fc Move upload to utility process
Attempt to further lighten the load on the main thread
2025-05-08 14:53:05 +05:30
Neeraj
0fa7245144 [server] Fix invalid 5xx error for bad requests (#5842)
## Description

## Tests
Tested locally
2025-05-08 13:52:15 +05:30
Neeraj
4fc7347cb7 docs-edit file limit (#5844)
## Edit file constraints

## Tests
2025-05-08 13:11:38 +05:30
Jay
4840a44c4d docs-edit file limit 2025-05-08 13:08:23 +05:30
Prateek Sunal
109ac573c9 [mob] remove NativeAdapter to support big file upload (#5843)
## Description

Big file uploads fail when using NativeAdapter, this PR:
- [x] Removes NativeAdapter http client adapter

## Tests
2025-05-08 12:45:53 +05:30
Prateek Sunal
23559252e6 chore: bump version 2025-05-08 12:45:22 +05:30
Prateek Sunal
31b31b1a52 chore: lint update 2025-05-08 12:45:11 +05:30
Prateek Sunal
8333e2ad7b fix: not remove it for enteDio 2025-05-08 12:42:59 +05:30
Prateek Sunal
cb5c9f3170 chore: lint fix 2025-05-08 12:38:58 +05:30
Prateek Sunal
7b2e6cb1bd fix(network): remove NativeAdapter to support big file upload 2025-05-08 12:38:42 +05:30
Neeraj
d18d939489 [mob] Navigate to BackupSettings when tapping "Waiting for network" status (#5835)
## Description

## Tests
2025-05-08 11:28:59 +05:30
Neeraj Gupta
b3376f27aa Fixed typo 2025-05-08 11:27:01 +05:30
Neeraj Gupta
327bda5b30 Log validationErr details as warning 2025-05-08 11:20:53 +05:30
Neeraj Gupta
c3b1da2a7e Fix handling of unwrapped error 2025-05-08 11:19:57 +05:30
Prateek Sunal
8db7fb3842 fix: add different names for background task identifier's 2025-05-07 19:35:49 +05:30
Vishnu Mohandas
f238b55df3 [docs] env, ports and more docs in /self-hosting (#5823) 2025-05-07 19:10:54 +05:30
mngshm
d15a034869 consistency (2) 2025-05-07 19:09:07 +05:30
mngshm
7b3ae417e8 consistency 2025-05-07 18:56:00 +05:30
Manav Rathi
d35f898b70 better way of dealing with undefs
Electron postMessage wants an empty array and balks at undefined
2025-05-07 18:10:18 +05:30
Manav Rathi
6730c0c682 take 1 - fix sporadic unhandled exception
With extra logging, this is it:

    adapter postMessage {
      id: '12c1c688f6f7b4-4e5fd44d3b9bc-f746fb2a0beda-1b0c26213b6237',
      type: 'RELEASE'
    } undefined
    [error] Unhandled rejection: TypeError: transferables must be an array of MessagePorts
    TypeError: transferables must be an array of MessagePorts
        at MessagePortMain.postMessage (node:electron/js2c/browser_init:2:111057)
        at Object.postMessage (...desktop/app/main/utils/comlink.js:21:16)
        at .../desktop/node_modules/comlink/dist/umd/comlink.js:353:16
        at new Promise (<anonymous>)
        at requestResponseMessage (../desktop/node_modules/comlink/dist/umd/comlink.js:347:16)
        at releaseEndpoint (.../desktop/node_modules/comlink/dist/umd/comlink.js:199:16)
        at proxyFinalizers (.../desktop/node_modules/comlink/dist/umd/comlink.js:211:17)
2025-05-07 17:51:42 +05:30
Manav Rathi
c2c7ac8b23 Tweak 2025-05-07 17:08:09 +05:30
Neeraj Gupta
e322958b25 Navigate to BackupSettings when tapping "Waiting for network" status 2025-05-07 16:53:02 +05:30
Prateek Sunal
f18dd26716 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-05-07 16:39:47 +05:30
Neeraj
0d660f239f [mob] Bump version v1.0.9 (#5834)
## Description

Bumping version to prepare for next release.

## Tests
2025-05-07 16:24:46 +05:30
Prateek Sunal
c4a50fc9fb chore: bump version to 1039 2025-05-07 16:15:41 +05:30
Manav Rathi
2f670e316b conv 2025-05-07 14:04:41 +05:30
Manav Rathi
f47a6f7b42 rendezvous 2025-05-07 13:48:23 +05:30
Prateek Sunal
25c5efbb8c fix(work-manager): use different identifier name 2025-05-07 13:31:12 +05:30
mngshm
8856ad1520 Sidebar 2025-05-07 13:30:40 +05:30
Manav Rathi
3513b51477 trampoline 2025-05-07 13:29:19 +05:30
Manav Rathi
bd8fc08b7c rework 1
temp files will need to be handled on main process
2025-05-07 12:36:55 +05:30
Manav Rathi
ae925a240e fix 2025-05-07 11:58:13 +05:30
Manav Rathi
adf1379b9e node 1 2025-05-07 11:23:28 +05:30
mangesh
e8158ef45a [staff] show family member storage quota (#5770) 2025-05-07 10:55:02 +05:30
Manav Rathi
71d6aed1aa web side 1 2025-05-07 10:30:20 +05:30
Aman Raj Singh Mourya
6627f77d92 [mob][photos] fix: increase bottom padding 2025-05-06 20:36:44 +05:30
Manav Rathi
4fa0bf76e8 [desktop] Generisize the creation of utility processes (#5829)
ffmpeg code about to become one
2025-05-06 18:58:41 +05:30
Manav Rathi
92a9b34836 Generisize 2025-05-06 18:52:03 +05:30
Prateek Sunal
f5e0a006c8 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-05-06 18:35:35 +05:30
Prateek Sunal
5141493337 fix: add true to debug mode 2025-05-06 18:34:51 +05:30
Prateek Sunal
e0f8e791b3 fix: remove bg fetch 2025-05-06 18:34:41 +05:30
Manav Rathi
10d7162d6e Rename 2025-05-06 18:00:10 +05:30
Manav Rathi
2a1b8ae18e Generalize 2025-05-06 17:39:48 +05:30
Manav Rathi
5abf2cb35e Extract 2025-05-06 17:24:03 +05:30
Manav Rathi
367170be95 [desktop] Video stream generation - WIP Part x/x (#5827) 2025-05-06 17:05:48 +05:30
Manav Rathi
4d7cfee60f Fix slowness 2025-05-06 16:03:13 +05:30
Prateek Sunal
29152d1f85 [mob] bump to 1038 (#5817)
## Description

Bump version to 1038

## Tests
2025-05-06 15:39:25 +05:30
Neeraj
6b4ffa4822 [mob][photos] Fix share to Ente (#5821)
## Description

Fix [issue with sharing to
Ente](https://github.com/ente-io/ente/discussions/5755)

## Tests
2025-05-06 15:38:32 +05:30
Manav Rathi
2883f4bed6 Tweak 2025-05-06 15:08:52 +05:30
laurenspriem
c96275cdd1 Update load message 2025-05-06 14:48:57 +05:30
Manav Rathi
9db8324ffd Sketch 2025-05-06 14:42:23 +05:30
mngshm
0c664b94b9 Make storageLimit nullable and display 'NA' 2025-05-06 14:41:42 +05:30
Manav Rathi
c087e419d5 Outline 2025-05-06 13:00:41 +05:30
mngshm
5ba5cae5ef mark redirection info as IMPORTANT in doc 2025-05-06 12:50:27 +05:30
Manav Rathi
4ea211d923 Sketch interruptible loop 2025-05-06 12:32:57 +05:30
mngshm
8d8202adab Env and Ports 2025-05-06 12:13:48 +05:30
mngshm
267f93e41e Merge branch 'main' into fam 2025-05-06 11:05:10 +05:30
Manav Rathi
260ec952b4 Not needed 2025-05-06 10:14:28 +05:30
Prateek Sunal
5e311c2813 fix: bump to 1038 2025-05-05 20:53:51 +05:30
Prateek Sunal
1d3268916f [mob] fix ffmpeg-kit android compilation (#5813)
## Description

- [x] Fix failing android build
- [x] Don't redirect to Backup Status screen when "Preview Failed"
status is pressed.

## Tests

- [x] Test if app works and everything is fine
2025-05-05 20:23:22 +05:30
Prateek Sunal
73192cd0fd fix: remove unused import and simplify navigation logic in PreviewStatusWidget 2025-05-05 20:21:55 +05:30
Prateek Sunal
9c886b3fa3 fix: update ffmpeg kit resolved reference in pubspec.lock 2025-05-05 20:01:39 +05:30
Prateek Sunal
017832f11e feat: update ffmpeg kit source 2025-05-05 18:38:49 +05:30
Prateek Sunal
67e76bc42f chore: update locals 2025-05-05 18:38:37 +05:30
laurenspriem
9a6579c55c Refactor 2025-05-05 17:30:12 +05:30
laurenspriem
17c0cdef14 Fix backup share issue 2025-05-05 17:21:39 +05:30
mngshm
dd0cc71f36 Minor 2025-05-05 16:37:29 +05:30
mangesh
21fd6ab463 [staff] match title casing to key in the UserData interface (#5812) 2025-05-05 16:36:43 +05:30
mngshm
6e2142c605 match title casing to key in the UserData interface 2025-05-05 16:28:23 +05:30
Manav Rathi
16338682ed [docs] Mention UNC path workaround to create network drive (#5811) 2025-05-05 15:58:05 +05:30
Manav Rathi
a7e8d3dfa6 [docs] Mention UNC path workaround to create network drive 2025-05-05 15:51:03 +05:30
Manav Rathi
6e9014b915 [desktop] Tweak the backfill behaviour in case of transients (#5809) 2025-05-05 15:34:24 +05:30
Neeraj
b5e7a3f83f [mob] Bump version v1.0.7 (#5810)
## Description

## Tests
2025-05-05 15:24:19 +05:30
Neeraj Gupta
d8d76f452d Bump version v1.0.7 2025-05-05 15:23:14 +05:30
Laurens Priem
c2e475c666 Face thumbnail logging (#5808)
## Description

Change logging flow for face thumbnail generation
2025-05-05 15:03:06 +05:30
Manav Rathi
9a4bc898f0 [desktop] Tweak the backfill behaviour in case of transients 2025-05-05 15:02:28 +05:30
laurenspriem
ca92aa8c62 Include delay 2025-05-05 14:59:53 +05:30
laurenspriem
56c6d7ed3c Remove redundant reset 2025-05-05 14:49:57 +05:30
mangesh
6ee4bce676 Merge branch 'main' into fam 2025-05-05 14:47:44 +05:30
laurenspriem
ff3f01af56 Increase queue size 2025-05-05 14:47:05 +05:30
Laurens Priem
b5ba81e22b [mob][photos] Fix memories update regression (#5807)
## Description

Fixed regression in memories update scheme.
2025-05-05 14:23:04 +05:30
laurenspriem
d5aab7c6df Fix memories update regression 2025-05-05 14:18:58 +05:30
Manav Rathi
2749457611 [web] Ensure copy as PNG option is reset when we get the original (#5806)
Fixes: https://github.com/ente-io/ente/discussions/5802
2025-05-05 14:02:22 +05:30
Manav Rathi
883b14e96a [web] Ensure copy as PNG option is reset when we get the original
Fixes: https://github.com/ente-io/ente/discussions/5802
2025-05-05 13:58:13 +05:30
Neeraj
59d7e0acac [mobile] New translations (#5799)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-05-05 13:39:10 +05:30
Neeraj
68ac3503ed [server] Use access ctrl for verifying access (#5801)
## Description

## Tests
2025-05-05 13:33:26 +05:30
mngshm
58649db181 fix Linters in UpdateSubscription Component 2025-05-05 13:25:21 +05:30
mangesh
92ca4eeb15 [staff] consolidate and separate interfaces (#5765)
The codebase was too cluttered with interfaces spread all over the
codebase. Separated all the commonly usable types into a single
`types/index.ts` file. Some types which are only usable in that
particular component are left untouched.

P.S: Inspiration from families codebase.
2025-05-05 13:21:12 +05:30
Manav Rathi
d3e06e6cc9 [web] Ensure ellipsizing of caption (#5805)
`text-align: right` causes the ellipsizing to sometimes work, sometimes
not, depending on the exact contents of the line (tested in current
Chrome). Tweak the design to work with the normal text align to try and
ensure the elision is always ellipsized.
2025-05-05 13:19:22 +05:30
Manav Rathi
3cef3e9bdc [web] Ensure ellipsizing of caption
`text-align: right` causes the ellipsizing to sometimes work, sometimes not,
depending on the exact contents of the line (tested in current Chrome). Tweak
the design to work with the normal text align to try and ensure the ellision is
always ellipsized.
2025-05-05 13:12:58 +05:30
mangesh
d318952feb [quickstart] Gracefully handle case when docker compose is not present (#5804)
When docker is present but docker compose is not present, the `docker
compose` invocation would fail. We want the early exit (`set -e`), so
instead do a fallback to set dcv to an empty string so that it later
fails in the `test -z dcv` case below and prints the intended error
message.
2025-05-05 13:08:49 +05:30
Manav Rathi
6d8051dfa0 [quickstart] Gracefully handle case when docker compose is not present
When docker is present but docker compose is not present, the `docker compose`
invocation would fail. We want the early exit (`set -e`), so instead do a
fallback to set dcv to an empty string so that it later fails in the `test -z
dcv` case below and prints the intended error message.
2025-05-05 12:37:48 +05:30
Laurens Priem
6acb9cf23f [mob][photos] Deletion fixes (#5792)
## Description

- Fix issue where user is not able to delete own files in a shared album
- Fix issue where deletion of not yet uploaded files leads to showing
grey boxes in gallery

## Tests

Tested in debug mode on my pixel phone.
2025-05-05 11:46:03 +05:30
Manav Rathi
87e5457eb0 [web] New translations (#5798)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-05-05 11:43:11 +05:30
laurenspriem
5ee23118ff Don't show delete on public collection 2025-05-05 10:06:46 +05:30
Neeraj Gupta
d198f0c273 Use access ctrl for verifying access 2025-05-05 10:01:33 +05:30
Crowdin Bot
a88249de09 New Crowdin translations by GitHub Action 2025-05-05 01:05:08 +00:00
Crowdin Bot
89ded523f8 New Crowdin translations by GitHub Action 2025-05-05 00:40:34 +00:00
laurenspriem
f132a1359f Fix deletions when not uploaded yet 2025-05-03 18:59:20 +05:30
Manav Rathi
48d9d03b32 [web] Rearrange upload code - Part 2/2 (#5786)
Fix most (but not all) of the temporary escape hatches added during
https://github.com/ente-io/ente/pull/5779.
2025-05-02 20:04:17 +05:30
Manav Rathi
11aba9df96 Update 2025-05-02 19:42:38 +05:30
Manav Rathi
2c0fb5e584 Update 2025-05-02 19:39:58 +05:30
Prateek Sunal
69c6adcd06 [workflow] auth linux packages (#5783)
## Description

- [x] Rename libtiff6 to libtiff5 to be backward compatible.
- [x] Update the locks for pubspec and Podfile

## Tests
2025-05-02 19:38:06 +05:30
Manav Rathi
e6c72baef7 Fix 2025-05-02 19:35:46 +05:30
Manav Rathi
83853e579f lint 2025-05-02 19:33:23 +05:30
Manav Rathi
02652d3cfa lint 2025-05-02 19:32:33 +05:30
Manav Rathi
fe60dbbb08 lint 2025-05-02 19:30:55 +05:30
Manav Rathi
a1842be6e1 lint 2025-05-02 19:16:50 +05:30
Manav Rathi
5f644ae96d Fix 2025-05-02 19:09:16 +05:30
Manav Rathi
3f5043a104 transform doesn't require await
ref: https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream#transformchunk_controller
2025-05-02 19:03:39 +05:30
Manav Rathi
df55492984 Scope 2025-05-02 18:59:52 +05:30
Manav Rathi
b73171a329 Scope 2025-05-02 18:50:15 +05:30
Manav Rathi
b0b02e2ffe Undot
- Have forgotten why I'd reverted this

- Tested manually with a sample that it works, including a malformed JSON file
  containing `null`, `"null"`, `["null"]`.
2025-05-02 18:35:54 +05:30
Manav Rathi
7b79a42cc9 A 2025-05-02 18:20:55 +05:30
Prateek Sunal
54d1363b58 chore: bump locks 2025-05-02 18:09:40 +05:30
Prateek Sunal
8a9afc40a8 fix: auth workflow packages 2025-05-02 18:07:01 +05:30
Prateek Sunal
2bb28f83c1 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-05-02 17:39:52 +05:30
Prateek Sunal
958f569969 [mob] update backup-failed dialog (#5780)
## Description

- [x] Make Upload Backup Failed Dialog UX better

## Tests

- [x] Tested the new dialog
2025-05-02 17:35:16 +05:30
Ashil
a64214ae15 [Auth] Remove dependency override (#5781)
## Description

The dependency was overridden for [this
change](https://github.com/juliansteenbakker/flutter_secure_storage/pull/673)
which is merged now and available from flutter_secure_storage version
9.1.0.
2025-05-02 17:29:17 +05:30
ashilkn
69e8ba6743 bump up auth to 4.3.6 2025-05-02 17:27:28 +05:30
Manav Rathi
0b73c92ee6 Audit (and minor fix) 2025-05-02 17:25:51 +05:30
Ashil
196e601929 [workflow] revert to ubuntu 22.04 runner for auth-release (#5782)
## Description

- [x] Auth is dependent on GLIB 2.38 due to ubuntu latest runner, this
downgrades the ubuntu runner to fix this and support atleast GLIB 2.35

## Tests
2025-05-02 17:12:56 +05:30
Manav Rathi
6252b2c267 R 2025-05-02 17:08:19 +05:30
Manav Rathi
9f462f90ab Now it is 2025-05-02 16:43:22 +05:30
Manav Rathi
0e19f5d8b3 R 2025-05-02 16:41:06 +05:30
Prateek Sunal
3ff77ee9c0 fix: revert to ubuntu 22.04 runner 2025-05-02 16:40:54 +05:30
Manav Rathi
65c2eda941 R 2025-05-02 16:36:36 +05:30
ashilkn
f6a2deb763 Remove dependency override 2025-05-02 16:35:32 +05:30
laurenspriem
08ee4c1351 Show delete action inside collaborative album 2025-05-02 16:33:07 +05:30
laurenspriem
c713e1c22b Fix bug in deleting from collaborative album 2025-05-02 16:31:27 +05:30
Manav Rathi
c76a7c75ea Use 2025-05-02 16:30:14 +05:30
Manav Rathi
a56a086dc4 1 2025-05-02 16:20:12 +05:30
Prateek Sunal
c1903c7016 fix(backup-item-card): log warning when contact support is clicked 2025-05-02 15:54:09 +05:30
Prateek Sunal
4dfadc535f chore: bump locks 2025-05-02 15:36:18 +05:30
Prateek Sunal
8e01a5038e chore: update generated locals 2025-05-02 15:35:57 +05:30
Prateek Sunal
05a42efb1b fix: update backup failed dialog to make UX better 2025-05-02 15:35:43 +05:30
mangesh
3d924ab514 [docs] self-hosting revamp and cleanup (#5746)
1. Un-index DB Migration and Mobile Builds
2. Move Frequently Answered S3 problems to `/troubleshooting/uploads`
which was a common file for documenting fixes around uploads to Ente.
3. Un-index Yarn troubleshooting as we default most of the support
versions in the getting-started script and encourage the use of the
one=liner command more.
4. `/troubleshooting/bucket-cors` as the single document for setting up
Bucket CORS. And clean the duplicated guidelins from `/external-s3`.
2025-05-02 15:01:58 +05:30
Manav Rathi
ae34a4c41a [web] Rearrange upload code - Part 1/2 (#5779)
This does the move of the files to the gallery package (so that they can
be reused by the future separate albums app) while trying to touch
minimal code. Will make a pass over the disabled lints in as subsequent
PR.
2025-05-02 14:29:51 +05:30
Neeraj
6bc9230dc8 [server] Fix jwt token expiry time (#5778)
## Description

## Tests
2025-05-02 14:14:54 +05:30
Neeraj Gupta
93186421b1 Fix jwt token expiry time 2025-05-02 14:12:33 +05:30
Manav Rathi
8dce58713f ign 2025-05-02 14:04:27 +05:30
Laurens Priem
7b391ba08f [mob][photos] Faces queue (#5767)
## Description

Use custom task queue instead of pool package for face thumbnail
generation

## Tests

Tested in debug mode on my pixel phone.
2025-05-02 14:02:42 +05:30
Manav Rathi
199df72cf6 ign 2025-05-02 13:58:09 +05:30
Neeraj
59e998f5be [server] Render html responses for account recovery (#5772) 2025-05-02 13:53:51 +05:30
Manav Rathi
bf3373697f Update 2025-05-02 13:51:29 +05:30
Manav Rathi
509955f8c1 Move 2025-05-02 13:31:42 +05:30
laurenspriem
62279ce72f Lower amount of concurrent tasks 2025-05-02 12:28:20 +05:30
Prateek Sunal
af52644a4b fix: adjust initial delay for background task and remove unnecessary delay 2025-05-02 11:54:15 +05:30
Prateek Sunal
eb71113d73 chore: update lock files 2025-05-02 11:53:46 +05:30
Prateek Sunal
cd5288eb47 chore: bump locks 2025-05-02 10:58:38 +05:30
Prateek Sunal
c8e5246f44 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-05-02 10:58:21 +05:30
Manav Rathi
0c80c88548 [web][desktop] Routine dependency updates feat Electron 36 (#5776) 2025-05-02 09:54:07 +05:30
Manav Rathi
ce3b980e27 Newer 2025-05-02 09:49:10 +05:30
Manav Rathi
7b25e65da4 Electron 36 2025-05-02 09:45:39 +05:30
Neeraj Gupta
3510c01e6e Rename 2025-05-01 17:00:36 +05:30
Aman Raj Singh Mourya
14b70ce66e Merge branch 'album_UI_revamp' of https://github.com/ente-io/ente into album_UI_revamp 2025-05-01 10:15:12 +05:30
Aman Raj Singh Mourya
d9a5fbfe00 [mob][photos] implemented new sorting order for contact section 2025-05-01 10:14:54 +05:30
Neeraj
d20a8495d8 [mob] re-encode audio ffmpeg & update backup status screen (#5769)
## Description

- [x] Re-encode audio to aac when video is already re-encoding to
libx264
- [x] Update Backup Status screen to show the uploaded items as well.

## Tests

- [x] Backup screen now shows uploaded items correctly
2025-05-01 00:55:19 +05:30
Neeraj Gupta
b8cf6012bd Modify dockerfile to include templates 2025-05-01 00:46:23 +05:30
Neeraj Gupta
70dc4db1c5 Return happy response when account is already recovered 2025-05-01 00:45:24 +05:30
Neeraj Gupta
1fb30ceafd Render html template for account recovery 2025-05-01 00:36:14 +05:30
Neeraj Gupta
38ec62a23b Add account recovery templates 2025-05-01 00:24:02 +05:30
mngshm
0a3abb20a1 making linters happy 2025-04-30 20:10:29 +05:30
mngshm
9f9288a5c0 show family member storage quota 2025-04-30 19:59:11 +05:30
Manav Rathi
d047e05bc8 Routine dependency updates 2025-04-30 19:43:33 +05:30
mngshm
e939b06339 Minor 2025-04-30 19:13:14 +05:30
Prateek Sunal
2eaeb759c5 fix: show uploaded items in backup status correctly 2025-04-30 19:11:29 +05:30
Prateek Sunal
2f2346286d fix: use copy aac for case 2 2025-04-30 19:07:26 +05:30
Manav Rathi
8ed1d34301 [desktop] Use the live processing queue in more cases (#5766)
...to reduce the need for redownloading the source files.
2025-04-30 16:28:08 +05:30
Manav Rathi
e38152051c Minor 2025-04-30 16:05:59 +05:30
mngshm
100c1d3803 use nullish coalescing to avoid optional chaining 2025-04-30 15:57:24 +05:30
laurenspriem
7cc3ab1004 Cancel face crop task if not needed 2025-04-30 15:56:52 +05:30
Manav Rathi
0c86c53a96 Fix 2025-04-30 15:35:26 +05:30
Manav Rathi
130e751072 typo 2025-04-30 15:32:14 +05:30
mngshm
408cc05f7c fix: usage conversion import 2025-04-30 15:28:36 +05:30
mngshm
9f70aab9b5 refactor: consolidate and separate interfaces 2025-04-30 15:24:51 +05:30
Manav Rathi
39f63b6339 Remove thresholds since it is now just fs paths 2025-04-30 14:37:36 +05:30
Manav Rathi
81e3c41749 flip 2025-04-30 14:30:17 +05:30
Manav Rathi
831563317e Import 2025-04-30 14:05:18 +05:30
Manav Rathi
a3c43cb54e Use 2 2025-04-30 14:04:33 +05:30
Manav Rathi
83373c4424 Use 1 2025-04-30 13:38:33 +05:30
Manav Rathi
ad47dda614 Convert reverse 2025-04-30 13:24:28 +05:30
Manav Rathi
4466136776 Tweak 2025-04-30 12:58:51 +05:30
Manav Rathi
bc874a2292 Ontology 2025-04-30 12:43:27 +05:30
Manav Rathi
e52816feb1 Note special case 2025-04-30 11:43:54 +05:30
Neeraj
3a34fa4257 [mob] Fix: Add missing check for widget mount (#5764)
## Description
```
FlutterError (A ValueNotifier<bool> was used after being disposed.
                       Once you have called dispose() on a ValueNotifier<bool>, it can no longer be used.)
[sentry.platformError] #0      ChangeNotifier.debugAssertNotDisposed.<anonymous closure> (package:flutter/src/foundation/change_notifier.dart:183:9)
                          1  ChangeNotifier.debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:190:6)
change_notifier.dart:190
                         2    ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:416:27)
change_notifier.dart:416
                       3      ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:559:5)
change_notifier.dart:559
                       4      _LoadingPhotosWidgetState.initState.<anonymous closure> (package:photos/ui/home/loading_photos_widget.dart:42:25)
```
## Tests
2025-04-30 11:42:15 +05:30
Manav Rathi
216a3e3e10 Move and cases 2025-04-30 11:24:39 +05:30
Neeraj
c5f02a0116 [mob] Fix Splash screens stuck issues during dev with iOS simulator (#5763)
## Description

## Tests
2025-04-30 11:13:02 +05:30
Neeraj Gupta
7975de0a9a Catch uncaught exception to avoid splash screen issue 2025-04-30 11:08:19 +05:30
Neeraj Gupta
bba262e164 Disable iOS battery check in debugmode 2025-04-30 11:07:36 +05:30
laurenspriem
03a16119b9 Simplify code snippet taskqueue in thumbnails 2025-04-30 10:56:00 +05:30
Manav Rathi
2e657d88f4 sketch web side 1 2025-04-30 10:52:36 +05:30
laurenspriem
ede5e0be90 Remove old pool dependency 2025-04-30 10:52:05 +05:30
laurenspriem
e6981a8c47 Switch to task queue 2025-04-30 10:50:40 +05:30
Manav Rathi
0883ed39e3 node side 2025-04-30 10:42:33 +05:30
bilgilendir
223961bf78 Add 3 Auth Provider Icons (#5660)
**Description:**

- Added icons for the following auth providers:  
  - ImmoScout24  
  - Bonify  
  - Agentur für Arbeit

- Updated `assets/custom-icons/_data/custom-icons.json` accordingly.

- Reordered one icon name ascending
2025-04-30 09:26:20 +05:30
Neeraj
f50b3743f5 [mob] Surface storage utilisation for pending sync section (#5754)
## Description

## Tests

---------

Co-authored-by: Prateek Sunal <prtksunal@gmail.com>
2025-04-30 09:25:39 +05:30
Manav Rathi
10a7c1172b Keep both concepts 2025-04-30 09:16:09 +05:30
Manav Rathi
da60436e91 specific 2025-04-30 08:20:15 +05:30
Manav Rathi
9405d549c7 [desktop] Bifurcate the desktop upload case earlier (#5761) 2025-04-29 19:38:45 +05:30
Manav Rathi
47ee46b440 Use 2025-04-29 19:27:37 +05:30
Manav Rathi
a9d9173364 assert 2025-04-29 19:18:24 +05:30
Manav Rathi
088ebdb7b5 Clarify 2025-04-29 19:10:13 +05:30
Manav Rathi
7a85fb2e72 [web] Tonemap HDR thumbnails (#5758) 2025-04-29 17:21:39 +05:30
Manav Rathi
c63ae6fc1f Use 2025-04-29 17:14:05 +05:30
Manav Rathi
8bf9607bb8 Parse 2025-04-29 17:14:05 +05:30
Manav Rathi
dabae19cf2 ffprobe returns -1 on success 2025-04-29 17:14:05 +05:30
Neeraj Gupta
da930976ef Show pending sync breakup on long press 2025-04-29 16:59:40 +05:30
Neeraj Gupta
0c57ae3b58 Fix path prefix 2025-04-29 16:58:00 +05:30
Neeraj Gupta
543f4c43b3 Clean up names 2025-04-29 16:55:16 +05:30
Neeraj Gupta
5a8f8b8449 Fix: Pass prefix value 2025-04-29 16:54:59 +05:30
Manav Rathi
64363b70e3 Sketch 2025-04-29 16:17:55 +05:30
Manav Rathi
c84b6f6824 Route 2025-04-29 15:43:22 +05:30
Manav Rathi
fb6751a439 Use 2025-04-29 15:25:54 +05:30
Manav Rathi
802dd21200 Potential HDR check
Refs:
- https://github.com/amietn/vcsi/pull/135/files#diff-ad9111f3166bc9321ffb8c8dcd22a624457d6591fc4e9f72ec9821a644459927R535
- https://github.com/photoprism/photoprism/issues/4488#issuecomment-2495851302
2025-04-29 15:10:35 +05:30
Manav Rathi
782008e5d3 Sketch 2025-04-29 14:51:30 +05:30
Manav Rathi
94de25cb26 Handle even px requirement 2025-04-29 13:29:27 +05:30
Manav Rathi
b1efd289d3 tm thumb 2025-04-29 13:10:28 +05:30
Manav Rathi
1e1b3e9d74 Fix 2025-04-29 13:10:28 +05:30
eark39
ba0bf3dd5b [auth] Add BitKub custom icon (#5753)
## Description

## Tests
2025-04-29 12:51:14 +05:30
Neeraj Gupta
a9a2e89e49 Merge branch 'main' into pending-sync-info 2025-04-29 12:49:12 +05:30
Manav Rathi
cc1240b43c [desktop] HLS gen - WIP - Part x/x (#5752)
Four cases:

    H.264, <= 10 MB             - Skip
    H.264, <= 4000 kb/s bitrate - Don't re-encode video stream
    <= 2000 kb/s bitrate        - Don't apply the scale+fps filter
    !BT.709                     - Apply tonemap (zscale+tonemap+zscale)

Example invocation:

ffmpeg -i in.mov -vf
'scale=-2:720,fps=30,zscale=transfer=linear,tonemap=tonemap=hable:desat=0,zscale=primaries=709:transfer=709:matrix=709,format=yuv420p'
-c:v libx264 -c:a aac -f hls -hls_key_info_file out.m3u8.info
-hls_list_size 0 -hls_flags single_file out.m3u8
2025-04-29 11:57:39 +05:30
Neeraj
06830c3881 [mob] Hide ref promo banner for non-ente instance (#5740)
## Description

## Tests
2025-04-29 11:54:48 +05:30
Manav Rathi
918a7bad68 Deal with lines where res is not followed by comma 2025-04-29 11:40:03 +05:30
Manav Rathi
356f98bf52 204 requires body to be null
Otherwise the Response constructor throws
2025-04-29 11:26:36 +05:30
Manav Rathi
2d3734bf14 Relay 2025-04-29 11:18:01 +05:30
Manav Rathi
73a8d4dcda Cases 2025-04-29 11:04:28 +05:30
Manav Rathi
f9e25ed14d rescale case 2025-04-29 10:55:51 +05:30
Manav Rathi
acede69f5b Reencode case 2025-04-29 10:44:18 +05:30
Manav Rathi
0c46aa338e br 2025-04-29 10:17:36 +05:30
Manav Rathi
de42700914 Take 1 2025-04-29 09:53:57 +05:30
Manav Rathi
8a2d4a4eee codec 2025-04-29 09:24:25 +05:30
Manav Rathi
5d0ae9edb6 Outline 2025-04-29 09:17:42 +05:30
Laurens Priem
dda7b2a28e [mob][photos] Fixes 'Not person' null response (#5747)
## Description

Fixes 'Not person' null response

## Tests

Tested in debug mode on my pixel phone.
2025-04-28 20:41:37 +05:30
mangesh
7735d938a5 stray backslash
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-28 18:25:19 +05:30
mngshm
adfe701016 dedup bucket cors setup guide 2025-04-28 16:02:52 +05:30
mngshm
76c7d22754 collapse all sections 2025-04-28 16:02:09 +05:30
mngshm
54aab6738e un-yarn 2025-04-28 15:55:45 +05:30
mngshm
825dd79795 move S3 FAQ from /configuring-s3 to /troubleshooting/uploads 2025-04-28 15:47:55 +05:30
mngshm
ef5dc18442 reorganize and unindex old docs 2025-04-28 14:56:53 +05:30
Vishnu Mohandas
4521943fb1 [mob] Setup readable string for Norwegian (#5745) 2025-04-28 13:33:02 +05:30
vishnukvmd
dc82c24674 Reorder 2025-04-28 13:32:48 +05:30
vishnukvmd
6c6d524b15 [mob] Setup readable string for Norwegian 2025-04-28 13:32:17 +05:30
Neeraj Gupta
5341049bdf Merge remote-tracking branch 'origin/main' into ente_hide_banner 2025-04-28 12:34:18 +05:30
Neeraj
3f58bbf9bc [mobile] New translations (#5744)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-04-28 12:34:04 +05:30
Crowdin Bot
880cba335f New Crowdin translations by GitHub Action 2025-04-28 06:51:31 +00:00
Neeraj Gupta
cb321f49bd Remove redundant import 2025-04-28 12:14:34 +05:30
Neeraj Gupta
15b02c59cc Hide ref promo banner for non-ente instance 2025-04-28 11:59:03 +05:30
Manav Rathi
727a47cf34 [desktop] HLS gen - WIP - Part x/x (#5721)
Stream generation works during live uploads (behind a dev feature flag).
2025-04-28 09:38:50 +05:30
Neeraj Gupta
f816166743 Fix translation file 2025-04-28 09:26:57 +05:30
Neeraj Gupta
3aba4fad47 Bump version for droid internal release 2025-04-28 09:25:15 +05:30
Neeraj Gupta
60137585d1 Merge remote-tracking branch 'origin/main' into album_UI_revamp 2025-04-28 09:24:37 +05:30
Neeraj
718dbae521 [mobile] New translations (#5738)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-04-28 09:22:47 +05:30
Neeraj
2ce4e8e955 [auth] remove hex for LinkedIn icon. (#5727)
Closes #5722 
Fix LinkedIn icon rendering by removing unwanted hex code.

Before:


![image](https://github.com/user-attachments/assets/32bd8b2b-e92b-47fb-918e-c7a8fc0ae735)
2025-04-28 09:22:19 +05:30
Neeraj
df858338bc [mob] streaming hot fixes (#5724)
## Description

- [x] Don't show preview status in home as well as backup status screen
- [x] Only make streamables from local videos under 500mb and under 1
minute.

## Tests

- [x] Test general flow and display of processing text in home and
backup screen
- [x] Test cases for streaming point
2025-04-28 09:20:56 +05:30
Neeraj
43931b852f [auth] New translations (#5739)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-04-28 09:19:52 +05:30
Crowdin Bot
0db4332a02 New Crowdin translations by GitHub Action 2025-04-28 01:17:38 +00:00
Crowdin Bot
c3d121e4ac New Crowdin translations by GitHub Action 2025-04-28 01:05:09 +00:00
Prateek Sunal
b8476769d6 fix(streaming): issue in init check for video 2025-04-27 20:55:20 +05:30
Vishnu Mohandas
aeb3142d23 [docs] Self-hosting (#5728) 2025-04-26 19:45:56 +05:30
vishnukvmd
8bb5b9406d [docs] Update 2025-04-26 19:39:50 +05:30
Alvin Joy
da1e7788f9 remove hex 2025-04-26 18:37:13 +05:30
vishnukvmd
7098e93ae8 [docs] Refactor 2025-04-26 16:44:55 +05:30
Prateek Sunal
1a71513723 fix(file_util): remove async from _getLocalDiskFile function signature 2025-04-26 02:57:36 +05:30
Prateek Sunal
331675091a fix(preview_video_store): modify file check logic to skip files exceeding size and duration limits 2025-04-26 02:57:29 +05:30
Prateek Sunal
106338508d fix(files_db): add conditions for file size and duration 2025-04-26 02:11:46 +05:30
Prateek Sunal
500a9481cb fix(streaming): only upload local files 2025-04-26 00:52:17 +05:30
Prateek Sunal
e4771320b1 chore: update lock file 2025-04-25 23:45:35 +05:30
Prateek Sunal
39e0f34b2d fix: remove preview status from backup and home 2025-04-25 23:45:22 +05:30
Aman Raj Singh Mourya
59316c263f [mob][photos] fix: Reduce main axis spacing from 4px -> 2px 2025-04-25 22:39:20 +05:30
Aman Raj Singh Mourya
44682404ff Merge branch 'album_UI_revamp' of https://github.com/ente-io/ente into album_UI_revamp 2025-04-25 21:48:57 +05:30
Aman Raj Singh Mourya
83c864df2b [mob][photos] minor fix 2025-04-25 21:41:06 +05:30
Manav Rathi
9ce9fa2dbf Reducing threshold 2025-04-25 19:20:01 +05:30
Manav Rathi
6b8800f151 Implement node side 2025-04-25 18:47:00 +05:30
Manav Rathi
d95864be1c Rename for incoming increased scope 2025-04-25 18:36:17 +05:30
Manav Rathi
b01f6d9482 4 cases 2025-04-25 18:17:41 +05:30
Ashil
5bf3f01de6 Fix auth not building for iOS 18.4 (#5719)
## Description

Fix build failing on iOS 18.4 by [upgrading
sentry](https://github.com/getsentry/sentry-dart/issues/2771#issuecomment-2717968324)
2025-04-25 18:08:49 +05:30
Neeraj
4fcd938575 [mob] Enable gradual rollout for resumable upload (#5718)
## Description

## Tests
2025-04-25 17:46:31 +05:30
ashilkn
500cb9d0f2 Fix auth not building for iOS 18.4 2025-04-25 17:39:25 +05:30
Manav Rathi
34233875bd Split 2025-04-25 17:37:03 +05:30
Manav Rathi
8871902594 Split 2025-04-25 17:12:02 +05:30
Neeraj Gupta
184882fae2 Bump version for droid internal release 2025-04-25 16:16:10 +05:30
Neeraj Gupta
e59e600a35 Merge branch 'album_UI_revamp' of https://github.com/ente-io/auth into album_UI_revamp 2025-04-25 16:14:57 +05:30
Neeraj Gupta
6f5c5a0b06 Merge branch 'main' into album_UI_revamp 2025-04-25 16:14:32 +05:30
Aman Raj Singh Mourya
3d4ff93e65 [mob][photos] Move Contacts section from search tab to shared tab 2025-04-25 16:11:02 +05:30
Manav Rathi
912d52ea6b Cleanup 2025-04-25 16:04:52 +05:30
Neeraj Gupta
27f635dfaa [mob] Enable gradual rollout for resumable upload 2025-04-25 16:01:05 +05:30
Aman Raj Singh Mourya
d88621ab5a [mob][photos] feat: implement ascending/descending sort direction 2025-04-25 15:52:09 +05:30
Aman Raj Singh Mourya
95e6a86b10 [mob][photos] feat: update sharing functionality improve UI flow 2025-04-25 15:45:38 +05:30
Manav Rathi
7ff6785860 stream 2025-04-25 15:43:47 +05:30
Ashil
d6665b1dbf [mob][Auth] Release v4.3.5 (#5717) 2025-04-25 15:42:42 +05:30
Vishnu Mohandas
1cbc783bc6 [docs] Add Features page for Auth (#5716)
Added a Features page for Ente Auth to the docs, briefly describing all
the available key features. Also fixed a small typo on
`/photos/features/trash.md`
2025-04-25 15:34:37 +05:30
Manav Rathi
e6b446c95f Cont 2025-04-25 15:24:49 +05:30
Sven
480e8682f9 Merge branch 'ente-io:main' into main 2025-04-25 11:26:02 +02:00
Sven
bb997039c8 Add features page for Ente Auth 2025-04-25 11:24:54 +02:00
Manav Rathi
a2debd6746 log 2025-04-25 14:44:28 +05:30
Manav Rathi
f454221634 Upload 2025-04-25 14:44:28 +05:30
Manav Rathi
6614e4468d Web side 2025-04-25 14:44:28 +05:30
Manav Rathi
8c0cbc7343 Still doesn't work - ERR_H2_OR_QUIC_REQUIRED
Committing for posterity. I also realized that the retries will not work once
the stream has been read. So all this needs to be moved to the node side.
2025-04-25 14:44:28 +05:30
Manav Rathi
22f05f73a9 chain 2025-04-25 14:44:28 +05:30
Manav Rathi
d53d5090e0 Tweak 2025-04-25 14:44:28 +05:30
Manav Rathi
64afcc0c70 Dimensions 2025-04-25 14:44:28 +05:30
Manav Rathi
d904aab804 [desktop] Start next release train (#5715) 2025-04-25 14:04:21 +05:30
Manav Rathi
1d8aaa49e7 [desktop] Start next release train 2025-04-25 14:03:17 +05:30
Neeraj
39509813c6 [server] Support for self-recovery on account deletion (#5712)
## Description

## Tests
2025-04-25 13:39:49 +05:30
Manav Rathi
f362943ab6 photosd-v1.7.12 (#5714) 2025-04-25 13:36:13 +05:30
Manav Rathi
976eee005c photosd-v1.7.12 2025-04-25 13:33:48 +05:30
Aman Raj Singh Mourya
e5d63fe9e7 [mob][photos] feat: enable selection on album screen itself 2025-04-25 12:57:27 +05:30
Neeraj Gupta
9b15ab2f2f Remove log 2025-04-25 12:12:26 +05:30
Neeraj Gupta
31f6671626 Gracefully handle bad or expired tokens 2025-04-25 12:11:43 +05:30
Neeraj Gupta
c32e4be8be copy change 2025-04-25 11:57:23 +05:30
Neeraj Gupta
6ae9003585 rename 2025-04-25 11:39:36 +05:30
Neeraj Gupta
851aed6a78 Add link in delete email to auto-recover account 2025-04-25 11:37:25 +05:30
Neeraj Gupta
7732f9eee9 Fix case 2025-04-25 10:03:03 +05:30
Manav Rathi
06099f00c6 [desktop] Video stream generation - WIP x/x (#5711) 2025-04-24 19:38:49 +05:30
Manav Rathi
8e0b0da68f hah! 2025-04-24 19:22:20 +05:30
Manav Rathi
55dbc3a8db Propgagate
The ! (definite assigment assertion) is needed to get tsc to stop emitting an
error about dimensions not being assigned.

Docs for it: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#definite-assignment-assertions
2025-04-24 19:17:17 +05:30
Manav Rathi
f6744d4b47 Full playlist 2025-04-24 18:57:13 +05:30
Manav Rathi
fbf626b578 Fix warning
"Cannot use both -hls_key_info_file and -hls_enc, ignoring -hls_enc"
25b0a8e295/libavformat/hlsenc.c (L1869)
2025-04-24 17:05:14 +05:30
Manav Rathi
9508695bba red 2025-04-24 16:42:06 +05:30
Manav Rathi
645014460b [desktop] Video stream generation - WIP Part x/x (#5710) 2025-04-24 15:27:51 +05:30
Manav Rathi
e32af8e0e5 Alternative dimension
Our currently bundled ffmpeg balks with
"Option allowed_extensions not found."
2025-04-24 15:19:12 +05:30
Manav Rathi
6e2f645905 Read playlist 2025-04-24 14:38:54 +05:30
Manav Rathi
5e091af787 vdim 2025-04-24 14:32:19 +05:30
Ashil
f9dbbb8cc9 [mob][photos] Video editor improvements (#5709)
## Description

- #### Better UX on exporting an edited video
If a video is large enough (even an 8s 4k video), the export process can
take a while. Previously, we were only showing a 'Saving edits...'
message in a dialog, which gave users no indication of how much time it
would take and some even thought the app was stuck. I’ve resolved this
by adding a linear progress indicator to show the progress.
    

https://github.com/user-attachments/assets/b078337f-0e29-4738-a8b6-f8f94474a4c8

- #### Fix video previewing in a flipped state upon opening video editor
(Bug exists only android).
2025-04-24 13:48:14 +05:30
Manav Rathi
1fc72383a3 turn of desat
In my test video (recorded from iPhone, viewing on macOS), this made a
substantial difference (the default desaturation was dulling out the test video
visually).
2025-04-24 13:44:36 +05:30
Manav Rathi
c040ae9dcc tonemap filterchain 1 2025-04-24 13:36:23 +05:30
ashilkn
f70148d652 Update documentation 2025-04-24 13:17:38 +05:30
ashilkn
60f94362d2 Animate linear progress indicator of LinearProgressDialog 2025-04-24 13:14:56 +05:30
ashilkn
a9bf825dde Do video rotation correction only on Android since the bug is absent on iOS 2025-04-24 13:14:42 +05:30
Manav Rathi
004525ddeb Outline
More Refs:
- https://www.canva.dev/blog/engineering/a-journey-through-colour-space-with-ffmpeg/
- https://jimmyhoke.net/wp/?p=412
2025-04-24 10:51:44 +05:30
mangesh
2ff03d7303 [server] don't send OTT if registration is disabled Fixes #5684 (#5695)
fixes #5684
2025-04-24 10:35:54 +05:30
Manav Rathi
fcaf46fcd1 Regex 2025-04-24 09:24:47 +05:30
ashilkn
d8c50ce3fa Update text style of LinearProgressDialog 2025-04-24 08:49:36 +05:30
ashilkn
15ed5e9d7b Show progress dialog when exporting edited video for better UX 2025-04-24 08:41:49 +05:30
Manav Rathi
ef6e4ebbcd pprobe 2025-04-24 08:33:30 +05:30
ashilkn
60b3e0977e Add docs 2025-04-24 07:20:15 +05:30
Aman Raj Singh Mourya
1265002d5a Merge branch 'album_UI_revamp' of https://github.com/ente-io/ente into album_UI_revamp 2025-04-24 02:32:20 +05:30
Aman Raj Singh Mourya
c7aecc9b30 [mob][photos] minor fix 2025-04-24 02:31:24 +05:30
Aman Raj Singh Mourya
dba837c62c [mob][photos] refactor: allow favourite album selection for better UX 2025-04-24 02:31:10 +05:30
mngshm
f183c56c20 minor reorganizations of checks 2025-04-24 01:45:11 +05:30
Aman Raj Singh Mourya
e5bdd74fa9 [mob][photos] refractor: update icon colors to use blurStrokePressed 2025-04-24 01:14:33 +05:30
Aman Raj Singh Mourya
0f31278965 [mob][photos] refactor: remove create album option and update item limit count 2025-04-23 22:24:49 +05:30
Manav Rathi
01e9d79a22 [desktop] Streaming video generation - WIP Part x/x (#5705) 2025-04-23 19:57:00 +05:30
Manav Rathi
ff22c69ca6 trac recommendations 2025-04-23 19:53:58 +05:30
ashilkn
016b031bf1 Fix flipped version of video being shown in video editor 2025-04-23 17:09:15 +05:30
Manav Rathi
c7a2001405 scale/fps 2025-04-23 15:36:41 +05:30
Manav Rathi
3871a538ab Start sculpting 2025-04-23 15:26:35 +05:30
ashilkn
b52ac3ff5d Log when video editor page is initialized and built 2025-04-23 14:55:07 +05:30
Neeraj Gupta
be3e434bec Bump version 2025-04-23 14:46:54 +05:30
Aman Raj Singh Mourya
9d9a7b548d [mob][photos] minor fix 2025-04-23 13:53:54 +05:30
Manav Rathi
be33ee5a1c [web] New translations (#5703)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-04-23 13:51:16 +05:30
Crowdin Bot
8df7c1b9a4 New Crowdin translations by GitHub Action 2025-04-23 08:19:06 +00:00
Manav Rathi
e8997c16a6 [web] Use top level as fallback for leaf files to avoid confusing error (#5702)
Also some visual fixes.
2025-04-23 13:48:20 +05:30
Manav Rathi
141d761ecb Visual fixes 2025-04-23 13:44:34 +05:30
Aman Raj Singh Mourya
3708819e6b Merge branch 'album_UI_revamp' of https://github.com/ente-io/ente into album_UI_revamp 2025-04-23 13:32:30 +05:30
Aman Raj Singh Mourya
389220357e [mob][photos] feat: enable album selection actions for incoming collections 2025-04-23 13:31:56 +05:30
Manav Rathi
fe5feb0394 Use top level as fallback for leaf files to avoid confusing error 2025-04-23 13:26:40 +05:30
Neeraj Gupta
d9925f29d8 Merge branch 'main' into album_UI_revamp 2025-04-23 13:14:58 +05:30
mangesh
7ec0c6dbdb [docs] separate all sections from getting-started (revamp part x/x) (#5692) 2025-04-23 09:14:21 +05:30
Ashil
be84e1856d [mob][photos] Update dark mode app icon following iOS design docs to make it look consistent with other iOS app icons (#5701)
## Description

#### Before
<img width="334" alt="Screenshot 2025-04-23 at 7 58 31 AM"
src="https://github.com/user-attachments/assets/482779dc-7a37-4294-8d6f-751df62da873"
/>


#### After
<img width="334" alt="Screenshot 2025-04-23 at 8 03 06 AM"
src="https://github.com/user-attachments/assets/99a158a9-53a7-4475-ac12-603abfaf9d03"
/>
2025-04-23 09:10:16 +05:30
ashilkn
9808ea5d8e Reupload dark mode app icon following apple iOS docs to make it look consisent with other iOS app icons 2025-04-23 08:05:06 +05:30
mngshm
2577b9c93a remove redundant code 2025-04-22 21:55:50 +05:30
Manav Rathi
0981ba5989 [web] Add UX feedback when copying links (#5700) 2025-04-22 20:15:48 +05:30
Manav Rathi
c2959d06b0 elsewhere 2025-04-22 20:09:18 +05:30
Manav Rathi
eed42c9df5 elsewhere 2025-04-22 20:06:50 +05:30
Manav Rathi
ec30ace822 copy feedback 2025-04-22 20:02:05 +05:30
Manav Rathi
7fa9e2a627 [desktop] Handle dock icon for macOS fullscreen (#5698) 2025-04-22 19:40:18 +05:30
Manav Rathi
ac0c96ae29 macOS fs 2025-04-22 19:37:12 +05:30
Manav Rathi
9900c346b5 [web] Use correct translation key (#5697) 2025-04-22 19:27:17 +05:30
Manav Rathi
2108461450 Fix tr key 2025-04-22 19:20:14 +05:30
Manav Rathi
270dd02e20 [desktop] Debounce cluster refresh during uploads (#5696) 2025-04-22 19:17:09 +05:30
mngshm
e6deea1533 separate ott generation purpose checks 2025-04-22 19:10:42 +05:30
Manav Rathi
d303a40cc7 Use promise variant 2025-04-22 18:49:53 +05:30
Manav Rathi
08d435b920 Debounce cluster refresh during uploads 2025-04-22 18:08:40 +05:30
mngshm
efa4c46f6e fixes #5684: don't send OTT if disable registration == true 2025-04-22 16:43:59 +05:30
mangesh
3cd5127488 [server] trivial but better error messages (#5693) 2025-04-22 14:20:44 +05:30
Ashil
e77a8cdf9b [mob][photos] Fix wakelock bugs (#5691)
## Description

#### New `EnteWakelockService` singleton that wraps wakelock_plus APIs
- Persist enable/disable (across sessions) state in `SharedPreferences` 
- Re apply wakelock on app init based on stored state
- Makes sure the wakelock setting across sessions if set is respected
when wakelock is updated for other non-across-session purposes.


### Bugs fixed:
- App not staying awake after disabling auto lock in back up settings
when killed and reopened.
- App not staying awake when video is playing (only on
native_video_player)

## Tests

Tested all cases.
2025-04-22 14:02:42 +05:30
mngshm
77e4506d2a trivial: better error messages 2025-04-22 13:55:19 +05:30
mngshm
c170384607 Separate everything 2025-04-22 13:14:14 +05:30
Aman Raj Singh Mourya
0dab15b703 [mpb][photos] feat: collections and optimize grid/list item rendering 2025-04-22 13:02:04 +05:30
ashilkn
ce7a564cbd Refactor 2025-04-22 12:56:48 +05:30
ashilkn
0d6f71c193 Update documentation 2025-04-22 12:51:24 +05:30
Aman Raj Singh Mourya
2449dbe0cd [mob][photos] feat: update selection logic to exclude favorite collections from actions 2025-04-22 12:42:40 +05:30
ashilkn
ab04bd66a5 Fix screen timing out and fading when viewing video played in native video player 2025-04-22 12:31:27 +05:30
ashilkn
9f3c4c8542 Handle edge case where on disposing media_kit player, wakelock state if enabled across app sessions is not respected 2025-04-22 11:59:19 +05:30
ashilkn
879f16a2dd Add wakelock service wrapper for persistent wakelock state across sessions 2025-04-22 11:53:48 +05:30
Manav Rathi
136f8d17cc [web] Tweak nav behaviour (#5690) 2025-04-22 11:24:54 +05:30
Manav Rathi
4539acd239 Tweak nav behaviour 2025-04-22 11:20:55 +05:30
Manav Rathi
4d37e415e7 [server] increase max pg connection 30 -> 45 (#5687)
## Description

## Tests
2025-04-22 10:10:11 +05:30
Neeraj
361283f072 [server] Add retry while putting metadata obj in s3 (#5688)
## Description

## Tests
2025-04-22 10:09:43 +05:30
Neeraj Gupta
3b4f9ecc22 [server] Add retry while putting metadata obj in s3 2025-04-22 09:52:21 +05:30
Neeraj Gupta
d1289bb467 [server] increase max pg connection 30 -> 45 2025-04-22 09:43:53 +05:30
Manav Rathi
b81098f88d [desktop] Routine dependency updates (#5683) 2025-04-21 19:17:08 +05:30
Manav Rathi
432883685d [web] New translations (#5682)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-04-21 19:16:57 +05:30
Manav Rathi
55094b7f2a [desktop] Routine dependency updates 2025-04-21 19:15:16 +05:30
Crowdin Bot
5c9d6610c1 New Crowdin translations by GitHub Action 2025-04-21 13:42:12 +00:00
Manav Rathi
da1ac0696b [web] Tweak translation (#5681)
This jumps around between 1 and 2 lines when there are many files (and
in non-English languages with longer strings). Also the message keeps
moving as the counts change. So I'll omit the message, only retain the
counts, since the
context should make sense from the title.
2025-04-21 19:11:37 +05:30
Manav Rathi
c61667290b tr
this jumps around between 1 and 2 lines when there are many files (and in
non-English languages with longer strings). Also the message keeps moving as the
counts change. So I'll omit the message, only retain the counts, since the
context should make sense from the title
2025-04-21 19:06:08 +05:30
Ashil
61e306e1b3 [mob][photos] Log whether resource intensive features are enabled (#5678) 2025-04-21 17:35:46 +05:30
Manav Rathi
da565172fc [web] The last of the capital keys (#5680) 2025-04-21 17:13:14 +05:30
Manav Rathi
c686c75141 tr 2025-04-21 17:10:07 +05:30
Manav Rathi
d8617cb782 [web] New translations (#5679)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-04-21 17:04:42 +05:30
Crowdin Bot
7a12f6edde New Crowdin translations by GitHub Action 2025-04-21 11:32:23 +00:00
Manav Rathi
f0c489587f [web] Indicate skipped (#5677) 2025-04-21 17:01:40 +05:30
ashilkn
b9a81c3693 Log whether resource intensive features are enabled 2025-04-21 17:01:39 +05:30
Manav Rathi
f143add013 Split 2025-04-21 16:50:52 +05:30
Manav Rathi
7d71a0c9a4 Unprefix 2025-04-21 16:31:53 +05:30
Manav Rathi
fb5bd0bdec prefix ellipsised 2025-04-21 16:31:06 +05:30
Manav Rathi
adbaba8a44 Retain what we can, add new 2025-04-21 16:26:40 +05:30
mangesh
01d0915004 [docs] minor change in index.md (#5671) 2025-04-21 16:20:28 +05:30
Manav Rathi
332e759e6a New 2025-04-21 15:59:38 +05:30
Manav Rathi
a1557e8d27 R 2025-04-21 15:46:05 +05:30
Manav Rathi
8d667333e3 R 2025-04-21 15:39:10 +05:30
Manav Rathi
2843cc36d9 sp 2025-04-21 15:36:58 +05:30
Manav Rathi
1019047eb2 R 2025-04-21 15:35:22 +05:30
Manav Rathi
42a085221c Case 2025-04-21 15:31:14 +05:30
Manav Rathi
e08b228d05 R 2025-04-21 15:28:56 +05:30
Manav Rathi
3eee5a5fdc reorg 2025-04-21 15:27:30 +05:30
Manav Rathi
97c03a4985 [web] Improved thumbnail loading experience (#5675) 2025-04-21 15:04:30 +05:30
Manav Rathi
f3974cdb8a [web] Improved thumbnail loading experience 2025-04-21 14:53:34 +05:30
Ashil
dc402b7bca [mob][photos] Remove setting audio session category (iOS) (#5673)
## Description

Audio session category had to be explicitly set because an older version
of [native_video_player](https://pub.dev/packages/native_video_player)
had an issue.
The version of the package that we currently use includes a [fix for
this](https://github.com/albemala/native_video_player/issues/22#issuecomment-2569092092).

## Tests

Confirmed that video playback on iOS simulator has audio on silent and
ring mode.
2025-04-21 14:39:47 +05:30
Ashil
5082343708 [mob][photos] Fix build failing due to translation error (#5674) 2025-04-21 14:36:25 +05:30
ashilkn
4e34ecd580 fix build failing dur to translation error 2025-04-21 14:25:53 +05:30
ashilkn
fb897d237d Auto generated changes 2025-04-21 14:24:25 +05:30
ashilkn
b6a1a77bf7 Revert "[mob][photos] Fix: audio not playing on iOS when in silent mode"
This reverts commit dc6fde9f77.
2025-04-21 14:09:43 +05:30
Manav Rathi
168ef20e0f [web] Enable new video player for all (#5672)
+ Enable arabic
2025-04-21 14:02:16 +05:30
Manav Rathi
d880255fc8 Enable ar-SA 2025-04-21 13:53:15 +05:30
Manav Rathi
1b1c33977d Enable new player for all 2025-04-21 13:47:45 +05:30
mngshm
07f89bb1d6 rem 2025-04-21 13:43:20 +05:30
Neeraj
47b0d51f22 [auth] Add custom icon for fortrabbit (#5666)
## Description

This MR adds an SVG to be used as custom icon for
[fortrabbit](https://www.fortrabbit.com/).

The icon was taken from the official [fortrabbit logo and corporate
identity repository](https://github.com/fortrabbit/art), and optimized
using [SVGOMG](https://jakearchibald.github.io/svgomg/).
2025-04-21 11:12:08 +05:30
Neeraj
5e489843fa [mobile] New translations (#5669)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-04-21 10:44:56 +05:30
Neeraj
5dea3fd8b0 [docs] self-hosting docs clean up & revamp (part x/x) (#5647) 2025-04-21 10:43:57 +05:30
Neeraj
8dd9dc16ad [auth] New translations (#5670)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-04-21 10:43:36 +05:30
Aman Raj Singh Mourya
7f96a11e07 [mob][photos] refactor: remove debug print statements and update parameter naming 2025-04-21 10:18:44 +05:30
Aman Raj Singh Mourya
d7cb5c29cf [mob][photos] feat: reflect SelectAll action change on UI 2025-04-21 10:18:05 +05:30
Aman Raj Singh Mourya
399ecdfd7d [mob][photos] feat: support for multiple selected albums and add SelectAllAlbumsButton 2025-04-21 10:17:12 +05:30
Manav Rathi
d31db6d678 [web] New translations (#5668)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-04-21 09:18:06 +05:30
Crowdin Bot
a928e87747 New Crowdin translations by GitHub Action 2025-04-21 01:17:37 +00:00
Crowdin Bot
064092a3e6 New Crowdin translations by GitHub Action 2025-04-21 01:05:13 +00:00
Crowdin Bot
a76561ebe9 New Crowdin translations by GitHub Action 2025-04-21 00:39:52 +00:00
Ben Peachey
6321f50e6c Add custom icon for fortrabbit. 2025-04-20 17:35:27 +02:00
Aman Raj Singh Mourya
f4580c8fdf [mob][photos] feat: add support for sharing and deleting multiple collections with action sheets 2025-04-19 21:45:49 +05:30
Aman Raj Singh Mourya
13f78ecc19 [mob][photos] feat: enhance AddParticipantPage to support multiple collections and update album selection actions 2025-04-19 21:43:01 +05:30
Aman Raj Singh Mourya
9267c4012b feat: integrate album selection management into collection list and flex grid views 2025-04-19 00:14:54 +05:30
Aman Raj Singh Mourya
a8e80717aa [mob][photos] fix: use selected albums for showing selected/unselected state 2025-04-19 00:14:34 +05:30
Aman Raj Singh Mourya
8e552c57bb [mob][photos] feat: implement album selection management and action overlay components 2025-04-19 00:13:10 +05:30
mngshm
93dd0c4943 reorganize(4): might be bad to let beginners read about S3 straight after getting started 2025-04-18 12:18:12 +05:30
mngshm
83fdda46a3 reorganize (3): separate community contributed guides 2025-04-18 11:53:49 +05:30
Manav Rathi
23943aae89 [desktop] Generate streamable video variant - WIP Part x/x (#5649) 2025-04-17 20:13:33 +05:30
Manav Rathi
f01d0ff274 Update comments 2025-04-17 20:05:16 +05:30
mngshm
d158db9499 Tone (2) and re-organize (x) 2025-04-17 20:04:49 +05:30
mngshm
9186b272b6 Tone up 2025-04-17 19:48:42 +05:30
mngshm
60f1172033 separate bucket-cors troubleshooting guide
sidebar
2025-04-17 19:46:41 +05:30
Manav Rathi
5843aee3d6 Upload 2025-04-17 19:45:36 +05:30
mngshm
f6b186a167 reorganize sidebar & deprecate old community contributed guide 2025-04-17 19:30:48 +05:30
mngshm
aa9096134d "with caddy" and update endpoint.png 2025-04-17 19:29:44 +05:30
Manav Rathi
1370f0523c Preview URL 2025-04-17 19:14:30 +05:30
mngshm
c1051b8a10 Forgot the examples earlier 💀 2025-04-17 18:52:38 +05:30
Manav Rathi
b4d532bb41 PUT video-data 2025-04-17 18:42:18 +05:30
Manav Rathi
4327fbb9e5 Remove output.ts.tmp 2025-04-17 17:56:14 +05:30
mngshm
636d2a8069 merge /system-requirements into /getting-started 2025-04-17 17:55:42 +05:30
Manav Rathi
21e0edcb85 output.ts 2025-04-17 17:49:47 +05:30
Manav Rathi
8b11989e0f Provide the key
[main] [hls @ 0x14e607410] Cannot generate a strong random key
2025-04-17 17:37:23 +05:30
mngshm
5bc6505cb8 getting-started, reverse-proxy, writing museum.yaml 2025-04-17 17:32:07 +05:30
mngshm
a0184013f8 make dead link checker happy 2025-04-17 17:02:34 +05:30
Manav Rathi
d0b5f84854 replace 2025-04-17 16:56:48 +05:30
mngshm
4bb2aea5d2 clean stuff from the merge 2025-04-17 16:54:27 +05:30
Manav Rathi
298faf8e0a Sketch 2025-04-17 16:41:58 +05:30
Neeraj
e816504576 [mob] Refactor & remove unused methods (#5648)
## Description

## Tests
2025-04-17 16:16:45 +05:30
Neeraj Gupta
1506009a55 doc 2025-04-17 16:12:45 +05:30
Neeraj Gupta
8930a0ddbc Simplify 2025-04-17 15:59:09 +05:30
mangesh
8611d5644d Merge branch 'main' into sh-revamp 2025-04-17 15:48:28 +05:30
Neeraj Gupta
5df815da58 Remove unused method 2025-04-17 15:45:02 +05:30
Neeraj Gupta
59e2906bdc Remove unused method 2025-04-17 15:41:26 +05:30
Neeraj Gupta
79e8fffc7a Simplify 2025-04-17 15:40:46 +05:30
Bl4ckspell
bbd81a6385 [auth] fix luma icon (#5640)
## Description
Because the icon (added in #5276) is black, it was not visible when the
app was in darkmode.
I added `mix-blend-mode: difference` to the svg source.
Now in darkmode, the icon turns white:

![Screenshot From 2025-04-16
22-22-25](https://github.com/user-attachments/assets/45e5b156-6645-4e8c-ae67-133ad19231fc)
![Screenshot From 2025-04-16
22-22-32](https://github.com/user-attachments/assets/074e6a15-c4a3-4d36-905f-efef078ec6ac)
2025-04-17 15:21:05 +05:30
Bl4ckspell
1ba31e9442 [auth] fix coinspot icon (#5641)
## Description
some elements of the coinspot icon added in #5186 were displayed as
black.
i fixed the source code using the [Oh My SVG
App](https://flathub.org/apps/re.sonny.OhMySVG)

|  | before | fixed |
|-------|-------|------|
| light | ![Screenshot From 2025-04-16
22-51-12](https://github.com/user-attachments/assets/45a8ebd0-278c-4783-86bb-1680d7ceaa9b)
| ![Screenshot From 2025-04-16
22-50-04](https://github.com/user-attachments/assets/02bafd51-55b9-4885-95d7-3eee3d3d21f0)
|
| dark | ![Screenshot From 2025-04-16
22-51-21](https://github.com/user-attachments/assets/336e50b4-2982-44f2-b465-7d91182a4d7a)
| ![Screenshot From 2025-04-16
22-50-12](https://github.com/user-attachments/assets/ea11c18b-3aca-4041-b9c7-5016d5de69db)
|
2025-04-17 15:20:45 +05:30
Bl4ckspell
7cf8ccdc7e [auth] fix bingx icon (#5637)
## Description
the bingx icon added in #5186 was displayed as black.
i fixed the source using [this
code](https://github.com/Bl4ckspell7/svg-css-to-inline-styling)

|  | old | fixed |
|-------|-------|------|
| light |![Screenshot From 2025-04-16
14-14-13](https://github.com/user-attachments/assets/ce0d1226-c82a-4e1b-a0d0-4a34839e8dce)|![Screenshot
From 2025-04-16
14-19-36](https://github.com/user-attachments/assets/c8955cbd-7917-49dc-9c1f-24764da37765)|
| dark |![Screenshot From 2025-04-16
14-07-42](https://github.com/user-attachments/assets/dfeec407-6a32-40c4-a57f-fbf728406238)|![Screenshot
From 2025-04-16
14-09-55](https://github.com/user-attachments/assets/3742dd50-deb2-474d-920f-f34d707983d6)|
2025-04-17 15:20:10 +05:30
Bl4ckspell
ae6e2b1349 [auth] Fix android monochrome app icon (#5484)
## Description
Removes the shadow of the app icon on the homescreen which is currently
present. Closes #3840. It is especially visible as a "glowing" in dark
mode.


| Mode       | Current Icon | Fix Icon |
|-----------|-------------|----------|
| **Light**
|![light-old](https://github.com/user-attachments/assets/f2bc791c-6ce0-4fd5-a810-1962269c5bf1)|![light-fix](https://github.com/user-attachments/assets/5c3b1280-1f19-40fe-a011-e52a88786cd4)|
| **Dark**
|![dark-old](https://github.com/user-attachments/assets/b079634d-b436-4f9c-b42b-318ce97a3654)|![dark-fix](https://github.com/user-attachments/assets/cebc2b8b-e40a-4280-992f-4a28e742d639)|
2025-04-17 15:19:54 +05:30
Bl4ckspell
a65493192f [auth] specify flutter version (#5636)
## Description
Allows to explicitly set the flutter version you want to use, by
utilizing `fvm`.

`dart pub global activate fvm`

`fvm install 3.24.3`
`fvm use 3.24.3`

`fvm flutter ...`
2025-04-17 15:17:42 +05:30
Bl4ckspell
cf538a713b [auth] add fanatical icon (#5466)
## Description

add icon for fanatical


![fanatical](https://github.com/user-attachments/assets/9d2b95eb-6da3-4a01-8e0e-7e06db577bb7)
2025-04-17 15:17:18 +05:30
Manav Rathi
3440bbd772 Route 2025-04-17 15:13:21 +05:30
Manav Rathi
657a57f46a Res 2025-04-17 15:04:56 +05:30
Manav Rathi
f6db2daaee array 2025-04-17 15:03:22 +05:30
mngshm
2d8ffae74b un-index web-app.md, surface new doc /guides/from-source 2025-04-17 14:11:54 +05:30
Manav Rathi
1efaefbf9c nn fin 2025-04-17 14:05:18 +05:30
Manav Rathi
29f5693078 nn 2025-04-17 14:01:56 +05:30
mngshm
94bd9f4dd6 note unnote 2025-04-17 14:00:46 +05:30
mngshm
ce9c08c607 removing unnecessary pm2 nonsense 2025-04-17 14:00:46 +05:30
ashilkn
a35d16e20d Merge branch 'main' into auth_release_v4.3.4 2025-04-17 13:06:49 +05:30
ashilkn
77a6508a0b Bump up auth build number and version 2025-04-17 13:05:25 +05:30
Manav Rathi
347140c14c generisize 2025-04-17 12:49:33 +05:30
Manav Rathi
97bc768092 Sketch 2025-04-17 12:09:41 +05:30
Manav Rathi
cdb81c621d Sketch 2025-04-17 11:26:11 +05:30
Manav Rathi
bd7fec03d3 Revert "cond type take 1" - It just doesn't seem to work without casts
...and we don't even need in the final goal (this is desktop only).

This reverts commit 0c904d37c8.
2025-04-17 10:58:11 +05:30
Manav Rathi
0c904d37c8 cond type take 1 2025-04-17 10:49:34 +05:30
Manav Rathi
dc9f665029 [web] Omit spurious ffmpeg logs (#5646)
We don't need to do it for the desktop code since there the deletion
function checks if the file exists first.
2025-04-17 10:28:52 +05:30
Manav Rathi
4b0536a5b2 Fix 2025-04-17 10:18:15 +05:30
Manav Rathi
c2efd198a6 Revert "omitlog" - there is already an if exists check
This reverts commit a2a74e2166.
2025-04-17 10:13:18 +05:30
Manav Rathi
a2a74e2166 omitlog
ref: https://nodejs.org/api/child_process.html#child_processexeccommand-options-callback

> in case of any error (including any error resulting in an exit code other than
  0), a rejected promise is returned...
2025-04-17 09:59:33 +05:30
Manav Rathi
b0f8258a90 Omit spurious logs 2025-04-17 09:39:57 +05:30
Manav Rathi
c75937759f [web] New translations (#5645)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-04-17 09:39:35 +05:30
Crowdin Bot
466f31bbb9 New Crowdin translations by GitHub Action 2025-04-17 04:00:53 +00:00
Manav Rathi
09f6922ccf [web] Move video streaming strings to translations (#5644) 2025-04-17 09:30:11 +05:30
Manav Rathi
eacc364498 tr 2025-04-17 09:24:39 +05:30
Manav Rathi
3c3ce516f5 [docs] Add example line to OTT faq (#5643) 2025-04-17 08:13:25 +05:30
Manav Rathi
7fe070b5ae vc 2025-04-17 08:11:36 +05:30
Prateek Sunal
b1fb5d548b Merge branch 'main' into pending-sync-info 2025-04-17 03:43:36 +05:30
Manav Rathi
13bcfe61ed [web] Enable streaming video playback for public albums app (#5633) 2025-04-16 14:20:48 +05:30
Manav Rathi
4d3926c150 Enable for albums app 2025-04-16 14:14:10 +05:30
Manav Rathi
7d92b5923b Clear transient 2025-04-16 14:07:03 +05:30
Manav Rathi
864f0317fa Outline 2025-04-16 13:05:00 +05:30
Manav Rathi
a928676280 Outline 2025-04-16 12:35:08 +05:30
Manav Rathi
2073134e7a [server] Copy only libsodium lib to Docker image (#5632)
Suggested twice:
- https://github.com/ente-io/ente/pull/3952
- https://github.com/ente-io/ente/issues/5631

Fixes: https://github.com/ente-io/ente/issues/5631

**Tested by**

Theory: On a clean alpine container, ran `apk add libsodium` then
visually glanced using
`docker container diff` that the .so is the only relevant file.

Practice: Recreated the local Docker compose using this updated file and
verified that server runs and can upload files etc.
2025-04-16 07:36:16 +05:30
Manav Rathi
5a411d1d4d [server] Copy only libsodium lib to Docker image
Suggested twice:
- https://github.com/ente-io/ente/pull/3952
- https://github.com/ente-io/ente/issues/5631

Fixes: https://github.com/ente-io/ente/issues/5631

Tested:

Theory: On a clean alpine container, ran `apk add libsodium` then visually glanced using
`docker container diff` that the .so is the only relevant file.

Practice: Recreated the local Docker compose using this updated file and
verified that server runs and can upload files etc.
2025-04-16 06:36:06 +05:30
Aman Raj Singh Mourya
28f03d3514 [mob][photos] feat: add searchable app bar and enhance collection filtering 2025-04-16 00:27:10 +05:30
Aman Raj Singh Mourya
c7047ab964 [mob][photos] feat: support album sorting by name and newest photo for shared albums 2025-04-15 22:40:25 +05:30
Manav Rathi
5f1d767b9c [meta] Ask for last known version (#5629) 2025-04-15 21:00:42 +05:30
Manav Rathi
1ecff890f0 [meta] Ask for last known version 2025-04-15 20:49:18 +05:30
Manav Rathi
38aae47445 [desktop] Show person name in the file info panel (#5628) 2025-04-15 20:10:45 +05:30
Manav Rathi
e4cd1434df Fix a stale effect 2025-04-15 20:02:05 +05:30
Manav Rathi
f907beab62 [desktop] Show person name in the file info panel 2025-04-15 19:33:46 +05:30
Aman Raj Singh Mourya
daa3fcd354 [mob][photos] fix: hide "add new album" options when any album is selected 2025-04-15 19:17:02 +05:30
Aman Raj Singh Mourya
0057e71e02 [mob][photos] fix: use "strokeFaint" instead of "strokeFainter" for better visibility 2025-04-15 19:16:01 +05:30
Neeraj
f2e336c35a [mob] Bump version 1.0.4 (#5626)
## Description

## Tests
2025-04-15 16:07:18 +05:30
Neeraj Gupta
a8b2423d77 Bump version 1.0.4 2025-04-15 16:06:48 +05:30
Neeraj
f8f2e6f7c7 [server] Preview public albums (#5601)
## Description

## Tests
[ ] Local testing pending
2025-04-15 15:11:48 +05:30
ashilkn
cd3b9defcd Update build number for Auth app 2025-04-15 14:55:31 +05:30
Manav Rathi
e103d7490e [web] Public album streaming (#5625)
Behind a ff flag, meant for testing
https://github.com/ente-io/ente/pull/5601
2025-04-15 14:24:27 +05:30
ashilkn
aa9e8abf0e Bump up auth version to 4.3.4 2025-04-15 14:08:29 +05:30
Neeraj Gupta
f068d6ef24 Fix panic 2025-04-15 14:02:33 +05:30
Manav Rathi
3ec3f9f2e1 Forward 2025-04-15 13:33:53 +05:30
Manav Rathi
25c472e584 Support for public albums 2025-04-15 13:29:08 +05:30
Neeraj
7b69c86cba [cli] Update documentation for change of export directory (#5623)
In my case to change export directory was necessary to add "--app"
2025-04-15 11:43:26 +05:30
Prateek Sunal
1d197694ef [mob] switch to custom ffmpeg kit (#5586)
## Description

Switch to custom ffmpeg kit.

Future actionables on this:
- Creating minimal ffmpeg configuration and using it
- Replace and use .aar for android plugin, currently it is fine and
using the published maven package

## Tests
2025-04-15 00:01:47 +05:30
horfnt
4c9a37f3c8 Update README.md
In my case to change export directory was necessary to add "--app"
2025-04-14 21:29:01 +03:00
Prateek Sunal
59bc454f5c Merge branch 'main' into switch-ffmpeg-kit 2025-04-14 22:52:17 +05:30
Neeraj
dd9f3f993d [Auth] Fix import from aegis (#5618)
## Description
Fixes https://github.com/ente-io/ente/issues/5438
https://github.com/ente-io/ente/issues/5324
https://github.com/ente-io/ente/issues/5188
https://github.com/ente-io/ente/issues/5064
## Tests
Tested locally
2025-04-14 16:54:59 +05:30
Neeraj
f5b20cf8d0 [auth] Add advanced options to edit period & TOTP (#5520)
**Description**
1. Add custom time period (between 10 to 60 seconds)
2. Select type of OTP from TOTP, STEAM, HOTP

**Desktop** 
<img
src="https://github.com/user-attachments/assets/494ca78c-0cd9-4c85-8ffb-c00a5e909e87"
alt="Desktop" width="300">

**Mobile** 
<img
src="https://github.com/user-attachments/assets/dc9a289e-4db5-481c-b590-2882be09f99a"
alt="Mobile" width="300">
2025-04-14 16:51:01 +05:30
Neeraj Gupta
2f9d664b05 [Auth] Fix import from aegis 2025-04-14 16:50:34 +05:30
Neeraj Gupta
2bfb52168e Update label 2025-04-14 16:41:39 +05:30
Ashil
c4fe18bbc1 [mob][auth] Fix lock screen appearing on reinstall (iOS/macOS) if previously installed instance had lock screen enabled (#5617) 2025-04-14 16:18:51 +05:30
ashilkn
d3a47eedda Fix issue where lock screen appears on installing the Auth app, if it was enabled on a previously installed instance of the app (iOS & macOS only) 2025-04-14 15:34:28 +05:30
laurenspriem
6c412e5803 Fix not person bug 2025-04-14 14:51:01 +05:30
ashilkn
28717ce2f2 Refactor 2025-04-14 14:13:00 +05:30
laurenspriem
8113a9aa97 Simplify memories update lock 2025-04-14 14:02:54 +05:30
Laurens Priem
082d15b41b [mob][photos] Advanced option to disable curated memories (#5614)
## Description

Advanced option to disable curated memories

## Tests

Tested in debug mode on my pixel phone.
2025-04-14 13:40:23 +05:30
Prateek Sunal
a582f40fa5 [mob] fix build (#5604)
## Description

This PR fixes the build on main branch for photos mobile.

## Tests
2025-04-14 13:40:09 +05:30
laurenspriem
c706904263 Extract string 2025-04-14 12:26:09 +05:30
laurenspriem
8a73b19a3e Advanced option to disable curated memories 2025-04-14 12:24:51 +05:30
Daniel Friesen
dd53cd5f47 [auth] Add Postmark logo (#5611)
## Description
Adds a logo for Postmark (https://postmarkapp.com/).

Postmarkapp doesn't have any official branding source files or use SVGs,
so Vector logo is sourced from here:
https://www.vectorlogo.zone/logos/postmarkapp/
![Postmarkapp vector from VectorLogo
Zone](https://www.vectorlogo.zone/logos/postmarkapp/postmarkapp-icon.svg)

I went with this rather than the ones on sites like
https://brandfetch.com/postmarkapp.com because the white stamp border
looks the closest to the logo that Postmark uses in their official
Zapier integration.
https://zapier.com/apps/postmark/integrations

![Postmarkapp Zapier
Logo](https://zapier-images.imgix.net/storage/services/e1cd4dba89396528988daf12ba63d35d.png?auto=format&fit=crop&q=98&w=32&h=32&dpr=3&bg=black)
2025-04-14 10:40:15 +05:30
Alex K
368b0c946a [docs] Update Authy import docs to mention Authy-iOS-MiTM (#5445)
## Description
This pull request adds mention of the Authy-iOS-MiTM method to Ente's
documentation on migrating from Authy. Currently, the only working
method to import Authy tokens into Ente is to use a rooted Android
device, which is not ideal due to most people not having rooted Android
devices. The Authy-iOS-MiTM method (that I made) only requires an iOS
device with Authy and a computer with Python and mitmproxy, making it
significantly more accessible to people looking to migrate their Authy
tokens. By mentioning my method in Ente's Authy import docs, it would
help more people discover it and would hopefully make some people's
lives easier since they wouldn't have to manually re-register 2FA on
every website. Let me know if you have any questions.

## Tests
N/A, this pull request does not modify any code
2025-04-14 10:07:02 +05:30
github-actions[bot]
6ead2ab843 [auth] New translations (#5613)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-14 10:06:26 +05:30
github-actions[bot]
eb3ec77bb6 [mobile] New translations (#5612)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-14 10:06:03 +05:30
Vishnu Mohandas
037a699790 [docs] Update export.md (#5605) 2025-04-13 07:19:43 +05:30
Vishnu Mohandas
678e97e937 [docs] Update export.md 2025-04-13 07:18:43 +05:30
Prateek Sunal
6f02a048b6 fix: rename package 2025-04-12 22:23:14 +05:30
Prateek Sunal
e1f0605345 fix: app build 2025-04-12 22:20:09 +05:30
Prateek Sunal
3cab14a1eb chore: update SDK versions and dependencies 2025-04-12 20:15:44 +05:30
github-actions[bot]
1f090642f2 [auth] New translations (#5492)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-12 15:34:26 +05:30
Neeraj Gupta
51235bf81b Add support for accessing preview url for public collections 2025-04-12 15:25:04 +05:30
Neeraj Gupta
4bd31aeea8 Refactor 2025-04-12 14:55:48 +05:30
Neeraj Gupta
f2736c43c1 Refactor 2025-04-12 14:37:33 +05:30
Prateek Sunal
145ad5d309 [mob] fix: only cache at max 50 files for memory widget (#5594)
## Description

Previously we were caching all the memories without a working limit,
this PR fixes that.

## Tests
2025-04-12 14:13:10 +05:30
Neeraj Gupta
c6b4cba8b4 [server] Auto recovery post deletion 1/x 2025-04-12 13:47:46 +05:30
vaguerant
70daffd23e [auth] Add Mbin custom icon (#5530)
## Description
Add a custom icon for the [Mbin](https://joinmbin.org/) fediverse
software. SVG sourced from the linked page and modified to remove
background. Additional `altNames` for some popular or important Mbin
instances: `kbin` (several instances), `thebrainbin` (popular instance)
and `gehirneimer` (Mbin co-developer bentigorlich's instance).

## Tests
Untested
2025-04-12 13:33:07 +05:30
Neeraj
bd4f1071e5 [mobile] New translations (#5491)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-04-12 13:22:24 +05:30
Neeraj
8abd38c57a [mob] ICU syntax fix (#5518)
- Replaces `zero` with `=0` to avoid syntax errors.
- Replaces `one` with `=1` in the context of a single item for better
compatibility with non-English languages.
- Fixes grammar.
2025-04-12 13:22:13 +05:30
Neeraj
098832ccc9 [mob] Add support for pt_PT (#5598)
## Description

## Tests
2025-04-12 13:17:26 +05:30
Neeraj Gupta
3b3e670c50 [mob] Add support for pt_PT 2025-04-12 13:11:22 +05:30
Crowdin Bot
25b39be91c New Crowdin translations by GitHub Action 2025-04-12 07:37:09 +00:00
zDqrK
f67b47183f [Auth] Added Custom Icons for RedotPay & Cwallet (#5469)
## Description
Add RedotPay SVG Icon & Data Entry 
Add Cwallet SVG Icon & Data Entry 

## Tests
None Yet
2025-04-12 12:56:53 +05:30
Prateek Sunal
18a951ccf3 fix: remove the redundant take 50 2025-04-12 02:16:30 +05:30
Prateek Sunal
ca5a2c8fa2 fix: break if 50 files are present for memory set already 2025-04-12 02:14:51 +05:30
Manav Rathi
cfe58aa248 [web] HLS gen - Part x/x (#5593) 2025-04-11 21:02:38 +05:30
Manav Rathi
4d9a1c6389 Revert "wip ocr"
This reverts commit cf5d64554a.
2025-04-11 20:57:32 +05:30
Manav Rathi
cf5d64554a wip ocr
Noticed the ocr filter in `ffmpeg -filters`. It works on CLI! trying out using wasm version.
Incantation from: https://ffmpeg-user.ffmpeg.narkive.com/wfgWXwHf/how-to-use-ocr-filter

This doesn't work because the ffmpeg wasm we have isn't complied with the ocr
filter. Still committing this experiment to git history for potential future
reference (will revert next).
2025-04-11 20:44:25 +05:30
Manav Rathi
5b9752544a Step 2025-04-11 19:02:40 +05:30
Manav Rathi
1496e9fd5a Add trace command 2025-04-11 17:23:28 +05:30
Manav Rathi
1fb3779310 Handle error 2025-04-11 17:18:28 +05:30
Manav Rathi
2d8d137029 Scaffold 2025-04-11 15:07:50 +05:30
Ashil
343108d470 [mob][photos] Use queue for more efficient fetching of local thumbnails (#5591)
## Description

Use a task queue to manage local thumbnail requests with cancellation,
priority and timeout functionality.
This significantly improves the browsing experience of galleries with a
large number of local thumbnails. Previously, scrolling down deep into a
device folder would cause the thumbnails to take a long time to load.
Now, the loading speed has improved considerably.

A `maxQueueSize` of 200 for `smallLocalThumbnailQueue` should be
appropriate, as the maximum number of mounted `Thumbnailwidget`s is 186
when using a gallery grid size of 6 on a decently sized phone screen
(the screen length is the relevant factor here). With a grid size of 6,
the maximum number of mounted ThumbnailWidgets should be around 186 ± 12
for most phone screens.

Note: Thumbnails for HEIC images on android still take some time to
load. There is improvement, but not enough for seamless UX.

## Tests

Manually tested gallery scroll performance checks and if thumbnails load
as expected.
2025-04-11 13:55:37 +05:30
Manav Rathi
7bfc5cb08d Expand 2025-04-11 13:54:54 +05:30
Manav Rathi
ae0a8028d1 [web] Add support for iOS date format (#5592)
Tested on the sample provided by the customer.
2025-04-11 13:12:48 +05:30
Manav Rathi
7215f12d76 [web] Add support for iOS date format
Tested on the sample file provided by the customer.
2025-04-11 13:04:52 +05:30
ashilkn
29d09bf143 Fix grammar 2025-04-11 12:10:55 +05:30
ashilkn
8afc337b62 Update _maxLocalThumbnailRetries 2025-04-11 12:00:03 +05:30
ashilkn
a1b0eec83b Use more descriptive names. Deferring of thumbnail loads is only used for gallery 2025-04-11 11:51:52 +05:30
ashilkn
f4de138b08 Increase thumbnailDiskLoadDeferDuration from 40ms to 500ms to avoid and edge case where if gallery (device folder is a good example) is scrolled deep enough at a specific pace using the scrollbar, thumbanils fail to render when scrolling is stopped. 2025-04-11 11:49:27 +05:30
ashilkn
1b45dfee0e Avoid retrying of local thumbnail fetch if ThumbnailWidget is not mounted 2025-04-11 11:43:48 +05:30
ashilkn
a57041d0d2 Use priority queue for more efficient fetching of local thumbnails 2025-04-11 11:39:43 +05:30
Manav Rathi
6e57cc9e79 Remove outdated FAQ item in family-plans.md (#5584)
The FAQ item mentions that it is not possible to set a storage quota for
a family member, but this is possible since v1
2025-04-11 11:37:35 +05:30
Prateek Sunal
79a73ffd09 fix(ios): switch to ffmpeg_kit_custom 2025-04-11 00:07:17 +05:30
Sven
9425f80ef5 Remove outdated FAQ item in family-plans.md 2025-04-10 20:12:13 +02:00
Laurens Priem
7de9b747a9 [mob][photos] Only smart memories if local indexing is on (#5582)
## Description

Only smart memories if local indexing is on
2025-04-10 21:26:32 +05:30
Manav Rathi
adb8c2bdd6 [web] Video streaming touchup (#5583)
And start WIP work on playlist generation.
2025-04-10 20:37:12 +05:30
Manav Rathi
069a9fba58 Make it work when reopening the file viewer 2025-04-10 20:34:01 +05:30
Manav Rathi
0268c47c45 Match mobile app's behaviour 2025-04-10 20:27:01 +05:30
Laurens Priem
b7f59a18bd [mob][photos] log avatar faceID issue (#5581)
## Description

Log issue around avatarFaceID
2025-04-10 20:26:04 +05:30
laurenspriem
8e4dd04588 Only smart memories if local indexing 2025-04-10 20:25:32 +05:30
Manav Rathi
05f2b3c43e q 2025-04-10 19:23:07 +05:30
laurenspriem
4580e04bf6 log avatar faceID issue 2025-04-10 19:03:07 +05:30
Manav Rathi
970e631808 d only 2025-04-10 18:33:09 +05:30
Manav Rathi
0a40f2fef4 hook 2025-04-10 18:14:39 +05:30
Manav Rathi
5334388041 [web] Video streaming - Playback alpha (#5579) 2025-04-10 16:19:39 +05:30
Manav Rathi
0737054363 Enable alpha 2025-04-10 16:13:04 +05:30
Manav Rathi
85c40dfe29 close 2 2025-04-10 16:08:48 +05:30
Manav Rathi
719c5584f7 close 2025-04-10 15:57:24 +05:30
Manav Rathi
93747a87ec Hide the auto option when nothing is visible 2025-04-10 15:48:31 +05:30
Manav Rathi
6cf881dd60 intercept 2 2025-04-10 11:26:08 +05:30
Manav Rathi
22539c2a2f intercept 2025-04-10 11:13:11 +05:30
Manav Rathi
6ff909d3b8 Fix swap 2025-04-10 11:03:10 +05:30
Manav Rathi
0b609a9159 Update 2025-04-10 10:46:53 +05:30
Manav Rathi
7998f8ac53 Revert "spinner"
This reverts commit 0d223a759e. Only keeping it
for reference in git history.
2025-04-10 10:45:35 +05:30
Manav Rathi
0d223a759e spinner 2025-04-10 10:40:03 +05:30
Manav Rathi
b27e5938f1 [web] Update ffmpeg dep (#5576)
Assets via:

    mkdir ffmpeg-core-0.12.10
curl -fsSLO
https://unpkg.com/@ffmpeg/core@0.12.10/dist/umd/ffmpeg-core.js
curl -fsSLO
https://unpkg.com/@ffmpeg/core@0.12.10/dist/umd/ffmpeg-core.wasm

Note that the latest core version is (0.12.10) is different from the
(latest, 0.12.15) @ffmpeg/ffmpeg version we're updating to.
2025-04-10 09:45:19 +05:30
Manav Rathi
fcaebe2256 [web] Update ffmpeg dep
Assets via:

    mkdir ffmpeg-core-0.12.10
    curl -fsSLO https://unpkg.com/@ffmpeg/core@0.12.10/dist/umd/ffmpeg-core.js
    curl -fsSLO https://unpkg.com/@ffmpeg/core@0.12.10/dist/umd/ffmpeg-core.wasm

Note that the latest core version is (0.12.10) is different from the (latest,
0.12.15) @ffmpeg/ffmpeg version we're updating to.
2025-04-10 09:31:56 +05:30
Manav Rathi
23d1c054aa [docs] Self hosting updates (#5575)
Updates for https://github.com/ente-io/ente/pull/5574
2025-04-10 08:26:00 +05:30
Manav Rathi
c0669a138a [docs] Self hosting updates
Updates for https://github.com/ente-io/ente/pull/5574
2025-04-10 08:24:33 +05:30
Manav Rathi
150fd6f153 [docs] Document some self hosting questions (#5574)
...that arose recently.
2025-04-10 08:17:34 +05:30
Manav Rathi
e8e407a249 pg 2025-04-10 08:14:59 +05:30
Manav Rathi
4cd4445e65 doc csp 2025-04-10 08:04:43 +05:30
Manav Rathi
357926806b [web] Video streaming WIP - Part x/x (#5571)
Ever so closer to enabling video streaming (playback only) for internal
users
2025-04-09 19:50:42 +05:30
Manav Rathi
223043e75c Include playlist info 2025-04-09 19:39:28 +05:30
Manav Rathi
41a688357c More focused hiding 2025-04-09 19:12:25 +05:30
Manav Rathi
ca83e781dd More robust hiding 2025-04-09 19:01:00 +05:30
Manav Rathi
5535fdead5 Enable int 2025-04-09 18:43:37 +05:30
Manav Rathi
96194bdfe4 [desktop] Write timestamps as string for GT consistency; Read either (#5570)
Fixes: https://github.com/ente-io/ente/issues/5568
2025-04-09 17:06:25 +05:30
Manav Rathi
e31d132855 [desktop] Write timestamps as string for GT consistency; Read either
Fixes: https://github.com/ente-io/ente/issues/5568
2025-04-09 16:56:21 +05:30
Manav Rathi
77aef5db3f [docs] Tweaks for recently merged external PRs (#5566) 2025-04-09 12:08:04 +05:30
Manav Rathi
79415880fc Tweak 2025-04-09 12:06:54 +05:30
Manav Rathi
959a2d65a4 tweak 2025-04-09 12:02:43 +05:30
Manav Rathi
5abc0e3dc1 Update index.md (#5556)
* Added explanation to find hostname
* Added explanation of format for the server endpoint address

## Description

## Tests
2025-04-09 11:50:56 +05:30
Manav Rathi
b43d8e0851 Update index.md (#5557)
* Expanded verification code explanation
* Added link to website for app downloads

## Description

## Tests
2025-04-09 11:42:10 +05:30
Manav Rathi
3b577b1881 [web] Run typos on web and desktop (#5565)
* https://github.com/crate-ci/typos
* Manually verified the changes
* Didn't run it on server, but corrected a grammar mistake I recently
noticed.
2025-04-09 11:37:49 +05:30
Manav Rathi
0a1f984082 grammar 2025-04-09 11:32:32 +05:30
Manav Rathi
798977e395 typos web 2025-04-09 11:27:48 +05:30
Manav Rathi
cca47db499 typos desktop 2025-04-09 11:16:35 +05:30
Manav Rathi
1030f8eda8 [web] Yarn dedup (#5564)
npx yarn-deduplicate yarn.lock

https://github.com/scinos/yarn-deduplicate
2025-04-09 10:56:51 +05:30
Manav Rathi
279cbb3938 type 2025-04-09 10:51:42 +05:30
Manav Rathi
9afa495d7e [web] Yarn dedup
npx yarn-deduplicate yarn.lock

https://github.com/scinos/yarn-deduplicate
2025-04-09 10:32:50 +05:30
Manav Rathi
69874bbcf6 [web] Misc tweaks (#5563) 2025-04-09 10:08:04 +05:30
Manav Rathi
787beb951d Un-triple-eq some unambiguious string comparisons 2025-04-09 10:01:09 +05:30
Manav Rathi
4c820b7bf8 Misc tweaks 2025-04-09 09:50:27 +05:30
Manav Rathi
d25fe9296b [web] Node 20 => 22 (#5562)
Contributors do not necessarily need to update to node 22, I tested that
the dev server works with node 20 also.

That said, if someone wishes to update - here is the dance I needed to
do on macOS. Garnish to taste and OS.
```sh
brew uninstall node@20
brew install node@22
brew link node@22
corepack disable
corepack enable
```
2025-04-09 09:12:41 +05:30
Manav Rathi
51f13191b3 Node 20 => 22 2025-04-09 08:43:52 +05:30
Manav Rathi
9d4d3dc159 [web] Node 20 => 22 2025-04-09 08:23:51 +05:30
Manav Rathi
76e7f694f1 [web] Routine dependency updates (#5561) 2025-04-09 07:59:14 +05:30
Manav Rathi
60b484a2ad Fix type errors by ensuring single react types 2025-04-09 07:51:43 +05:30
Manav Rathi
75385a6e02 Same issue in more places 2025-04-09 07:25:57 +05:30
Aman Raj Singh Mourya
50fabee1e0 [mob][photos] feat: enhance AlbumRowItemWidget with selection handling 2025-04-09 00:13:19 +05:30
Aman Raj Singh Mourya
227d76db29 [mob][photos] feat: enhance CollectionsFlexiGridViewWidget with selection mode and album creation options 2025-04-09 00:12:50 +05:30
Aman Raj Singh Mourya
9207b0c7b8 [mob][photos] feat: add album view type settings 2025-04-09 00:12:08 +05:30
Aman Raj Singh Mourya
9b8c48ca6e [mob][photos] feat: implement AlbumListItemWidget for displaying album in vertical layout 2025-04-09 00:10:30 +05:30
Aman Raj Singh Mourya
dc05e254cb [mob][photos] feat: add NewAlbumRowItemWidget for creating new albums in grid view 2025-04-09 00:09:44 +05:30
Manav Rathi
575f1744a2 yarn lint 2025-04-08 19:55:29 +05:30
Manav Rathi
90f05021c5 Fix unmet peers warning for media-chrome 2025-04-08 19:38:06 +05:30
Manav Rathi
c9fc6f9e3e Routine dependency updates 2025-04-08 19:36:24 +05:30
Manav Rathi
1d2de2ab76 [desktop] Dependency updates (#5559) 2025-04-08 18:58:40 +05:30
Manav Rathi
a51dfb2d7f Electron 35 uses node 22
https://www.electronjs.org/blog#stack-changes
2025-04-08 18:54:09 +05:30
Manav Rathi
3c2a821045 New lints 2025-04-08 18:46:30 +05:30
Manav Rathi
fdefd2720c app.dock is now only defined on macOS
https://www.electronjs.org/docs/latest/api/app#appdock-macos-readonly
2025-04-08 18:44:43 +05:30
Manav Rathi
c57b93f0d9 Upgrade to Electron 35 (+ others) 2025-04-08 18:37:23 +05:30
Manav Rathi
1cbb00ec3d Update to chokidar v4
We don't use globs so this shouldn't be a breaking change for us
https://github.com/paulmillr/chokidar?tab=readme-ov-file#upgrading
2025-04-08 18:19:20 +05:30
Manav Rathi
ee3f4451ed [web] Video streaming WIP - Part x/x (#5558)
Playback is ready
2025-04-08 17:05:12 +05:30
Manav Rathi
aabaa89add More robust check 2025-04-08 16:53:04 +05:30
Manav Rathi
7556287716 now it was flickering vertically! 2025-04-08 16:52:27 +05:30
Manav Rathi
31ab4962f9 Handle the video quality change case 2025-04-08 16:31:15 +05:30
Manav Rathi
dfba8478b7 Fix workaround 2025-04-08 16:05:09 +05:30
Manav Rathi
5a6c385132 Keep using ente- for the class/ids (et- makes more sense for temporary vars) 2025-04-08 14:55:30 +05:30
Manav Rathi
c6827cc3f4 Tweak caption for videos 2025-04-08 14:50:54 +05:30
Laurens Priem
7002d2b464 [mob][photos] Caching fix (#5531)
## Description

Fix incorrect cache reading for incorrect utf8 encoding for memories and
magic cache.

## Tests

Tested in debug mode on my pixel phone.
2025-04-08 14:24:41 +05:30
Manav Rathi
c062cc8aae Workaround 2025-04-08 14:10:09 +05:30
cmyplay
448ad06902 Update index.md
* Added explanation to find hostname
* Added explanation of format for the server endpoint address
2025-04-08 20:26:09 +12:00
cmyplay
ae6092d2ab Update index.md
* Expanded verification code explanation
* Added link to website for app downloads
2025-04-08 20:24:27 +12:00
Manav Rathi
658b8e5297 Reflect current status 2025-04-08 12:15:12 +05:30
Manav Rathi
b164fde81b Attempt to fix slide reset 2025-04-08 11:46:57 +05:30
Manav Rathi
8593ae8fbc Fix positioning 2025-04-08 10:59:07 +05:30
Manav Rathi
d3e4771055 Fix hiding 2025-04-08 10:59:07 +05:30
Manav Rathi
41e2a93b20 Handle it for the video quality switch too 2025-04-08 10:59:07 +05:30
Manav Rathi
bfa2251d6d Use mc 2025-04-08 10:59:07 +05:30
Manav Rathi
8363b7b7d3 [desktop] Windows icon - Take 3 (#5555)
Resize to make it fit better with the other icons in the start menu.
2025-04-08 10:58:07 +05:30
Manav Rathi
cd072113bb [desktop] Windows icon - Take 3
Resize to make it fit better with the other icons in the start menu.
2025-04-08 10:56:02 +05:30
Manav Rathi
dbf4d055d4 [desktop] Match windows icon with macOS icon (#5553)
Previously in https://github.com/ente-io/ente/pull/5551 the icon.ico was
generated from icon.png. In this PR, based on user feedback we instead
generate
it from the icon.icns (the same as that used by the macOS app) - this
one has
rounded corners.
2025-04-08 07:49:27 +05:30
Manav Rathi
424fbf1169 [desktop] Match windows icon with macOS icon
Previously in https://github.com/ente-io/ente/pull/5551 the icon.ico was
generated from icon.png. In this PR, based on user feedback we instead generate
it from the icon.icns (the same as that used by the macOS app) - this one has
rounded corners.
2025-04-08 07:46:55 +05:30
Manav Rathi
bf4d15db9c [web] Video streaming WIP - Part x/x (#5552) 2025-04-07 19:54:19 +05:30
Manav Rathi
4de0421f88 LF 2025-04-07 19:51:13 +05:30
Manav Rathi
6273313df9 Unnecessary since there shouldn't be an entry at this point 2025-04-07 19:46:30 +05:30
Manav Rathi
104a9bbb94 Better esc handling 2025-04-07 19:35:07 +05:30
Manav Rathi
866958389c Update the menu state 2025-04-07 19:18:35 +05:30
Manav Rathi
c762d16fa5 Menu 1 2025-04-07 18:59:02 +05:30
Manav Rathi
8ee3fb84b1 toggle 2025-04-07 17:30:26 +05:30
Manav Rathi
901b3df9f5 add change listener 2025-04-07 17:04:40 +05:30
Manav Rathi
b9c9d76e5d qmenu 2025-04-07 15:53:13 +05:30
Manav Rathi
a173ca5cd8 Put behind ff 2025-04-07 15:19:46 +05:30
Manav Rathi
86eb974dc3 Keep media chrome in sync
Ref:
- https://github.com/muxinc/media-chrome/pull/1088
- 1b5f331dbb/src/js/media-mute-button.ts (L119)
2025-04-07 15:16:10 +05:30
Manav Rathi
099771dfe6 Prevent a scroll of the file list in the background 2025-04-07 14:57:23 +05:30
Prateek Sunal
00c0f36d71 chore: update pubspec lock 2025-04-07 14:55:01 +05:30
Prateek Sunal
aaca6d62f3 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-04-07 14:54:09 +05:30
Manav Rathi
1d0ab2cd43 eq 2025-04-07 14:54:04 +05:30
Prateek Sunal
db5a56c6f6 [mob] bump packages & replace some (#5427)
## Description

Bump packages, remove unused (used dependency_validator for detection of
them), change source to upstream for some and update comments for rest
of git deps.

## Tests

Unfortunately it is failing the Passkey deep link, will check.
2025-04-07 14:52:23 +05:30
Manav Rathi
4db1a39de2 Add staleness check 2025-04-07 14:34:38 +05:30
Prateek Sunal
255a170088 Merge branch 'main' into mob-bump-packages 2025-04-07 14:20:05 +05:30
Manav Rathi
56623099b3 Outline 2025-04-07 14:13:55 +05:30
Manav Rathi
a069b1b7e4 Revert "Attach validity"
We already convert to object URLs!
This reverts commit 55345cf60e.
2025-04-07 14:07:47 +05:30
Manav Rathi
55345cf60e Attach validity 2025-04-07 13:53:08 +05:30
Manav Rathi
d91555f8f2 Fix 2025-04-07 13:05:35 +05:30
Manav Rathi
a0049f4e78 Move 2025-04-07 13:03:06 +05:30
Manav Rathi
d4199790bb [destkop] Add windows icon variant (#5551)
Generated from icon.png using https://www.icoconverter.com/

Even though the docs (https://www.electron.build/icons.html) say that
the icon.png should automatically get used, in practice it seems to
generate start menu icons that are blurry.

The recommendation from the maintainer
(https://github.com/electron-userland/electron-builder/issues/7328#issuecomment-1499884818)
is to provide an .ico variant that'll get used for Windows.

I'm not sure if it is necessary to also mention this explicitly in the
build config. From reading the docs
(https://www.electron.build/electron-builder.interface.windowsconfiguration#icon),
'build/icon.ico' should be the default, so trying first by just adding
the file.
2025-04-07 12:40:39 +05:30
Manav Rathi
9a36c24227 [destkop] Add windows icon variant
Generated from icon.png using https://www.icoconverter.com/

Even though the docs (https://www.electron.build/icons.html) say that the
icon.png should automatically get used, in practice it seems to generate start
menu icons that are blurry.

The recommendation from the maintainer
(https://github.com/electron-userland/electron-builder/issues/7328#issuecomment-1499884818)
is to provide an .ico variant that'll get used for Windows.

I'm not sure if it is necessary to also mention this explicitly in the build
config. From reading the docs
(https://www.electron.build/electron-builder.interface.windowsconfiguration#icon),
'build/icon.ico' should be the default, so trying first by just adding the file.
2025-04-07 11:59:40 +05:30
Manav Rathi
9341c63ed0 [web] New translations (#5549)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-04-07 10:00:30 +05:30
Crowdin Bot
ca25756717 New Crowdin translations by GitHub Action 2025-04-07 00:38:15 +00:00
Prateek Sunal
f62e76eb02 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-04-06 21:05:12 +05:30
Prateek Sunal
33f29cdb41 Merge remote-tracking branch 'origin/main' into pending-sync-info 2025-04-06 21:04:04 +05:30
Aman Raj Singh Mourya
f047757c63 [mob][photos] changes: make SectionOptions tappable for incoming, outgoing, and quick links 2025-04-05 21:23:13 +05:30
Aman Raj Singh Mourya
f9711e09a1 [mob][photos] fix: show "Add new" album for "On ente" section only 2025-04-05 21:04:56 +05:30
Aman Raj Singh Mourya
a5644f292e [mob][photos] changes: add new album icon to flex grid view 2025-04-05 20:27:09 +05:30
Aman Raj Singh Mourya
f3a88dc3fa [mob][photos] changes: adjust thumbnail size and gap for 3x3 layout 2025-04-05 19:57:14 +05:30
Aman Raj Singh Mourya
9ef2a5fc62 [mob][photos] changes: move sort option into full screen view of "On ente" section & remove "View all" section 2025-04-05 00:37:01 +05:30
Aman Raj Singh Mourya
36ab2f05df [mob][photos] changes: make the complete SectionOptions tappable 2025-04-05 00:34:34 +05:30
Aman Raj Singh Mourya
723511540c [mob][photos] Show 3 albums in a row and max 3 rows i.e _kOnEnteItemLimitCount = 9 (3*3) 2025-04-04 20:40:01 +05:30
Ashil
b81448d366 [mob][photos] Bump up to v1.0.2 (#5538)
## Description

f-droid is at `1.0.1` so have to go from `1.0.0` to  `1.0.2`
2025-04-04 19:35:29 +05:30
ashilkn
d9db651ff7 Bump up photos mobile app to v1.0.2 2025-04-04 19:20:41 +05:30
Ashil
1da0870bc5 [mob][photos] Downgrade flutter_secure_storage to fix lockscreen data persisting even after reinstall on iOS (#5534)
## Description

`LockScreenSettings` and `Configuration` uses two different instances of
`FlutterSecureStorage`.

`lsSecureStorage = FlutterSecureStorage();`

```
configSecureStorage = const FlutterSecureStorage(
  iOptions: IOSOptions(
    accessibility: KeychainAccessibility.first_unlock_this_device,
  ),
);
```

On flutter_secure_storage v9.2.4, data written using `lsSecureStorage`
aren't getting deleted when calling `configSecureStorage.deleteAll()`
which is called on logging out and on initialisation of `Configuration`
because of different accessibility configurations of both instances.

v9.0.0 doesn't have this issue and so downgrading is the best solution. 
Let's wait till the
[issue](https://github.com/juliansteenbakker/flutter_secure_storage/issues/870#issuecomment-2777447937)
is resolved by the package maintainer. If not resolved and we need to
upgrade, write a migration script.

## Tests

#### Tested the following cases:
- [x] Install with v9.0.0.
- [x] Login and create PIN lock.
- [x] Reinstall app to check if PIN exists in secure storage and if lock
screen comes up.
- [x] PIN is non-existent and lock screen doesn't come up.

##### And

- [x] Install with v9.2.4
- [x] Login and create PIN lock.
- [x] Reinstall with v9.0.0 and check if PIN exists in secure storage
and if lock screen comes up.
- [x] PIN is non-existent and lock screen doesn't come up.
2025-04-04 19:09:32 +05:30
Manav Rathi
1e2027b6a9 [web] Ignore self email from family suggestions in share list (#5537) 2025-04-04 18:19:17 +05:30
Manav Rathi
579afbd6b5 Tweak 2025-04-04 18:15:10 +05:30
Manav Rathi
fec0b867fe Exclude family self 2025-04-04 18:10:29 +05:30
Manav Rathi
2977a91d17 types 2025-04-04 18:02:15 +05:30
Manav Rathi
e30cb93502 un 2025-04-04 18:00:57 +05:30
Manav Rathi
1b59ea1377 Move 2025-04-04 18:00:14 +05:30
ashilkn
fc8a0b2f37 Fix version number of comment 2025-04-04 17:46:26 +05:30
Manav Rathi
93ad3d65fd [desktop] Potential live photo workaround for Linux-en (#5536) 2025-04-04 17:44:21 +05:30
Manav Rathi
b261f72864 Add another case 2025-04-04 17:33:49 +05:30
Manav Rathi
55e0a8de6f Potential live photo workaround for Linuxen 2025-04-04 17:29:43 +05:30
Ashil
bd12d1e885 [mob][photos]Bump up to v1.0.1 (#5535) 2025-04-04 17:21:58 +05:30
ashilkn
0aabee9e3b Bump up version to 1.0.1 2025-04-04 17:20:37 +05:30
ashilkn
5d28c0038a Refactor 2025-04-04 17:01:28 +05:30
ashilkn
7a31cc982a Auto generated changes 2025-04-04 16:59:40 +05:30
ashilkn
bad8d9bf2a Downgrade flutter_secure_storage to fix lockscreen data persisting even after reinstall on iOS 2025-04-04 16:59:14 +05:30
Manav Rathi
73d67277b7 [web] File URL generator internal API cleanup (#5533) 2025-04-04 16:00:21 +05:30
Manav Rathi
b5130f1ab6 rework 3 2025-04-04 15:43:45 +05:30
Manav Rathi
d8e3807049 step 2 wip 2025-04-04 15:43:45 +05:30
Manav Rathi
1388e34659 transition 1 2025-04-04 15:43:45 +05:30
Manav Rathi
ee2c836a2a Update 2025-04-04 15:43:45 +05:30
Manav Rathi
6379cdd70b Unused 2025-04-04 15:43:45 +05:30
Manav Rathi
fe9989fd5f Revert "[desktop] Show/hide the window on tray icon double click on Linux/Win" (#5532)
Reverts ente-io/ente#5526. Like macOS, the double click interferes with
the click event that shows the context menu on Linux too.
2025-04-04 13:49:16 +05:30
Manav Rathi
34cdefe028 Revert "[desktop] Show/hide the window on tray icon double click on Linux/Win" 2025-04-04 13:44:55 +05:30
laurenspriem
15ec21f3c8 old dependecy pubspec 2025-04-04 12:31:01 +05:30
laurenspriem
2efc645c31 fix incorrect utf8 cache encoding for magic cache too 2025-04-04 12:30:46 +05:30
laurenspriem
ea7109e577 fix incorrect utf8 cache encoding 2025-04-04 12:30:00 +05:30
laurenspriem
444e1a1490 format 2025-04-04 12:28:50 +05:30
Manav Rathi
969b0c1655 [server] Update service definition for recent env var lookup changes (#5529)
**Tested by**

Modifying the compose.yaml to provide an environment variable:
```diff
      environment:
        ENTE_CREDENTIALS_FILE: /credentials.yaml
+       ENTE_HTTP_USE_TLS: 1
```
then observing that museum is honoring it 
```
...
[GIN-debug] Listening and serving HTTPS on :443
```
2025-04-04 11:13:25 +05:30
Manav Rathi
bdd5036cf8 Update comment 2025-04-04 11:07:19 +05:30
Manav Rathi
6fd2db8d0b Augment not replace 2025-04-04 10:54:22 +05:30
Manav Rathi
7eae2936bd [server] Update service definition for recent env var lookup changes 2025-04-04 10:16:07 +05:30
Manav Rathi
f29b8f933b [desktop] Show/hide the window on tray icon double click on Linux/Win (#5526)
Ref: https://github.com/ente-io/ente/discussions/4521
2025-04-03 19:48:56 +05:30
Manav Rathi
ad27bd3b35 [desktop] Show/hide the window on tray icon double click on Linux/Win
Ref: https://github.com/ente-io/ente/discussions/4521
2025-04-03 19:45:16 +05:30
Manav Rathi
21fd608ed7 [web] Better fallback when editing screenshots without exif (#5524) 2025-04-03 19:08:37 +05:30
Vishnu Mohandas
4229238768 [server] Relax criteria for closing families (#5525)
## Description

Users can create a family, leave it and then join another.

In the `families` table, there will be one entry for each such family
they have been a part of (against their `admin_id`).

This PR removes this constraint for only a single row to be affected, so
users who have historically been associated with more than one family
can have a fresh start.
2025-04-03 19:07:19 +05:30
vishnukvmd
d86f4de8ce Relax criteria for closing families 2025-04-03 18:57:39 +05:30
Manav Rathi
f0b8e3b4af Better fallback 2025-04-03 18:55:55 +05:30
Manav Rathi
aa422889f3 [web] Prevent potential npe 2025-04-03 18:33:04 +05:30
Vishnu Mohandas
0738caaa2b [docs] 5GB > 10GB (#5523) 2025-04-03 17:30:03 +05:30
vishnukvmd
c981af5470 [docs] 5GB > 10GB 2025-04-03 17:29:42 +05:30
Manav Rathi
f5eca5b671 [web] Use browser's native HEIC support when detected (#5521) 2025-04-03 15:52:33 +05:30
Manav Rathi
74036bad60 Apparently 17 had it too
https://caniuse.com/heif
2025-04-03 15:47:18 +05:30
Manav Rathi
95f7735164 Add test 2025-04-03 15:28:53 +05:30
Manav Rathi
740c1093ff Cleanup 2025-04-03 15:10:28 +05:30
Aman Raj Singh Mourya
04bf4527d8 [auth] implemented logic for period & TOTP 2025-04-03 15:04:37 +05:30
Manav Rathi
b9a8f58dec scaffold wip 2
Ref: 8d15007530
2025-04-03 15:04:16 +05:30
Aman Raj Singh Mourya
5c66511a31 [auth] added totp selector widget 2025-04-03 15:03:02 +05:30
Aman Raj Singh Mourya
4c204e2a2a [auth] minor changes 2025-04-03 15:01:58 +05:30
Manav Rathi
291833e1e1 scaffold wip 2025-04-03 14:31:36 +05:30
Manav Rathi
be99d92bf2 [web] Reduce flicker when resizing gallery window (#5519) 2025-04-03 12:28:55 +05:30
Manav Rathi
e94b1966bd Fin 2025-04-03 12:19:04 +05:30
Manav Rathi
bc0399dfeb Prune 2 2025-04-03 12:10:57 +05:30
Manav Rathi
c4822a1caf Prune 1 2025-04-03 11:59:15 +05:30
DanteMS
a390d3ff2e [mob] ICU syntax fix 2025-04-03 14:22:07 +08:00
Manav Rathi
3d8d4bd8bf Update to pick the performance improvement
> Changed width and height values to be based om getBoundingClientRect rather
  than offsetWidth and offsetHeight (which are integers and can cause
  rounding/flickering problems in some cases).
>
> https://github.com/bvaughn/react-virtualized-auto-sizer/releases/tag/1.0.26
2025-04-03 11:33:01 +05:30
Manav Rathi
8555358fa3 [desktop] [macOS] Hide dock icon on Window close (#5517)
Based on customer feedback. The dock icon will hide when the window is
closed by using the "x" without quitting the app.

The menu bar icon remains as it is, and so does the existing preferences
(whose value is also retained if it were set explicitly).
2025-04-03 09:22:21 +05:30
Manav Rathi
9999ffa52c centralize 2025-04-03 09:12:39 +05:30
Manav Rathi
9d60e980f8 [desktop] [macOS] Hide dock icon on Window close
Based on customer feedback. The dock icon will hide when the window is closed by
using the "x" without quitting the app. The menu bar icon remains as it is, and
so does the existing preferences (whose value is also retained if set
explicitly).
2025-04-03 08:48:19 +05:30
mangesh
b680129af5 Update mc command for cors (#5504)
## Description

Took me all night to figure this one out. Hopefull no one has to deep
dive like this.

Ref to why it changed:
https://github.com/minio/minio/tree/master/docs/config#api

## Tests
2025-04-02 19:01:09 +05:30
Manav Rathi
732fa6b3d9 [web] Prepare for eventual yarn => npm migration (#5507)
npm doesn't support the "@" character in package names (it's used for
scopes). We eventually want to move from yarn to npm, so in preparation,
rename
our internal packages accordingly so that they also work with npm
workspaces.

Methodology: No manual code changes, just automatic search replace of

```
"@/accounts => "ente-accounts
"@/utils => "ente-utils
...
"@ente/shared => "ente-shared
```

Then reran prettier.

--

EDIT: Updated the docs too later manually in a separate commit.
2025-04-02 19:00:42 +05:30
Manav Rathi
c3a7952c42 Update the docs too 2025-04-02 18:47:32 +05:30
Manav Rathi
fdb4b0374c Prepare for eventual yarn => npm migration
npm doesn't support the "@" character in package names (it's used for
scopes). We eventually want to move from yarn to npm, so in preparation, rename
our internal packages accordingly so that they also work with npm workspaces.

Methodology: No manual code changes, just automatic search replace of

```
"@/accounts => "ente-accounts
"@/utils => "ente-utils
...
"@ente/shared => "ente-shared
```

Then reran prettier.
2025-04-02 18:37:16 +05:30
Manav Rathi
250bc3edcf [web] Video streaming WIP - Part x/x (#5506) 2025-04-02 17:40:08 +05:30
Manav Rathi
822285fd3d Fin 2025-04-02 17:19:18 +05:30
mangesh
f5ea4b0a05 [server] Replace EnvVarKey "-" with "_" (#5496)
Fixes #5493
2025-04-02 16:47:51 +05:30
mngshm
174d9fb82e doc 2025-04-02 16:13:00 +05:30
mngshm
101e27514b Comment 2025-04-02 16:02:52 +05:30
Manav Rathi
fc480e8ce6 Tried tr
https://www.media-chrome.org/docs/en/internationalization/adding-language-support
2025-04-02 15:55:47 +05:30
Manav Rathi
2cbc4998df Couldn't connect when I tried it
Cast is also not supported by hls-video, can investigate both these together.
2025-04-02 14:53:34 +05:30
Manav Rathi
40812ec7c3 More robust 2025-04-02 14:44:57 +05:30
Manav Rathi
09b4025f11 cap 2025-04-02 14:28:11 +05:30
Manav Rathi
7b169fe903 focus workaround 2025-04-02 13:59:19 +05:30
Manav Rathi
9d222cd007 hk 2025-04-02 13:55:31 +05:30
Manav Rathi
cfe6343d63 Fix partial clipped lines showing through on the caption 2025-04-02 13:55:31 +05:30
Manav Rathi
e15fb04ee0 Caption positioning 2025-04-02 13:55:31 +05:30
Manav Rathi
6bbfcb1d13 abs
ref https://github.com/muxinc/media-chrome/discussions/890
2025-04-02 13:55:31 +05:30
Manav Rathi
b9bb7c074d Pause 2025-04-02 13:55:31 +05:30
Manav Rathi
5a7f83212b Tweak 2025-04-02 13:55:31 +05:30
Manav Rathi
01071676ce [meta] Update workflow permissions (#5505)
Continuation of https://github.com/ente-io/ente/pull/5456
2025-04-02 13:34:06 +05:30
Manav Rathi
aadacda2f6 [meta] Update workflow permissions
Continuation of https://github.com/ente-io/ente/pull/5456
2025-04-02 13:31:44 +05:30
Athul Cyriac Ajay
bc0d832105 Update mc command for cors 2025-04-02 02:33:13 +05:30
Manav Rathi
0a1c1e441e [web] Video streaming WIP - Part x/x (#5502) 2025-04-01 20:00:22 +05:30
Manav Rathi
4e95f4b36f settings icon from MUI icon
https://mui.com/material-ui/material-icons/?query=settings&selected=Settings
2025-04-01 19:41:41 +05:30
Manav Rathi
5a3b72b141 Restore clicks on the next/prev arrows 2025-04-01 19:09:55 +05:30
Manav Rathi
c88e04535c style 2025-04-01 18:47:28 +05:30
Manav Rathi
b12a4dd235 speed 2025-04-01 17:52:40 +05:30
Manav Rathi
f24d6b882d take 2 2025-04-01 17:41:30 +05:30
Manav Rathi
199c2d0c95 take 1 2025-04-01 17:41:30 +05:30
Manav Rathi
7508d9c86b Log message
Saw this when working with media-chrome. In WIP code, I am getting

   [error] Unhandled error: ResizeObserver loop completed with undelivered notifications.

but that string comes as event.message (event.error is null).
2025-04-01 17:41:30 +05:30
Manav Rathi
b586281207 [web] Fix assignment typo in previous PR (#5499)
https://github.com/ente-io/ente/pull/5498
2025-04-01 17:38:20 +05:30
Manav Rathi
8510a88e9e Fix assignment 2025-04-01 17:31:43 +05:30
Manav Rathi
2dc202d984 [web] Reduce unnecessary rerenders during upload (#5498)
setTimeout was showing up prominently in the profiler
2025-04-01 14:40:47 +05:30
Manav Rathi
48aec5df86 Reduce unnecessary rerenders during upload 2025-04-01 14:34:21 +05:30
Manav Rathi
2440c38530 [web] Fix expiry date in link settings (#5495) 2025-04-01 12:16:12 +05:30
Manav Rathi
b1ce3edf28 Graceful deg 2025-04-01 12:13:05 +05:30
Manav Rathi
80ea75e2d2 [web] Fix expiry date in link settings 2025-04-01 12:13:05 +05:30
mngshm
f592d73d87 note in local.yaml 2025-04-01 12:10:24 +05:30
mngshm
28295e2b83 Replace '-' with '_' 2025-04-01 12:04:42 +05:30
Manav Rathi
6be4b29331 [web] New translations (#5490)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-04-01 10:58:19 +05:30
Ashil
ba435ad974 Correct typo in cli (#5483)
Corrected "expirty" typo in ente admin update-subscription --no-limit
False success workflow.

## Description
Fixed typo "expirty" to "expiry" in file limit success flow.


## Tests
2025-03-31 08:26:20 +05:30
Ashil
799f9f2878 Updated subscription FAQ (#5479)
Corrected the free storage from 5 GB to 10 GB.
2025-03-31 08:25:16 +05:30
Laurens Priem
39e1f7bfe7 [mob][photos] Improve tag "me" flow (#5426)
## Description

Simplified the action of assigning "me" by sticky-ing the users email on
top (in case "me" is not assigned).

## Tests

Tested in debug mode on my pixel phone.
2025-03-31 07:53:21 +05:30
Crowdin Bot
5d7ce9f542 New Crowdin translations by GitHub Action 2025-03-31 00:38:58 +00:00
deancommasteven
eefd740a4d Correct typo in cli
Corrected "expirty" typo in ente admin update-subscription --no-limit False success workflow.
2025-03-30 14:20:20 -04:00
Niika
ef6e859e76 Updated subscription FAQ
Corrected the free storage from 5 GB to 10 GB.
2025-03-29 23:34:14 +01:00
Vishnu Mohandas
404e8c3214 [mob] Enable translations for Norwegian (#5472) 2025-03-29 16:38:53 +05:30
vishnukvmd
c47ddab7ba Enable translations for Norwegian 2025-03-29 16:38:28 +05:30
Vishnu Mohandas
74849bd257 [mob] Enable translations for Romanian (#5470) 2025-03-29 15:51:32 +05:30
vishnukvmd
a76a7abc2a Enable translations for Romanian 2025-03-29 15:49:57 +05:30
Neeraj
bd7a16a85c [mob][photos] Remove datepicker dependency (#5463)
## Description

Switched to our own date picker in the last place we were using package
(link expiry page) and removed package.

## Tests

Tested in debug mode on my pixel phone.
2025-03-29 05:04:16 +05:30
Manav Rathi
cd634b98a0 [desktop] Next release train (#5465) 2025-03-28 18:28:25 +05:30
Manav Rathi
7b871195c8 [desktop] Next release train 2025-03-28 18:25:48 +05:30
Vishnu Mohandas
bed0b0f902 [docs] Update links for photos (#5462) 2025-03-28 18:14:50 +05:30
vishnukvmd
cdf46acd8b Fix 2025-03-28 18:14:04 +05:30
vishnukvmd
af7698e29e Fix links 2025-03-28 18:13:14 +05:30
laurenspriem
713972af9b Remove redundant dependency 2025-03-28 18:03:35 +05:30
laurenspriem
1c2b9634db Cleanup file 2025-03-28 18:02:52 +05:30
laurenspriem
bf8173708d use own datepicker 2025-03-28 18:01:57 +05:30
laurenspriem
125eca1847 datepicker sheet method 2025-03-28 18:01:34 +05:30
laurenspriem
112a4844ee Cleanup file 2025-03-28 17:02:15 +05:30
vishnukvmd
eb9e97080f [docs] Update links for photos 2025-03-28 16:49:41 +05:30
Prateek Sunal
633184852e fix: deep link experience 2025-03-28 16:47:39 +05:30
Vishnu Mohandas
46a090535f [server] Up free storage (#5461)
## Description

## Tests
2025-03-28 16:46:29 +05:30
Prateek Sunal
886cb06590 feat: Remove temporary directory after processing video preview 2025-03-28 14:53:04 +05:30
Prateek Sunal
cd2094f75e feat: Add Pending Sync Info Screen and enhance path storage viewer 2025-03-28 14:50:05 +05:30
Laurens Priem
360223bd2f [mob][photos] Image embedding caching perf (#5459)
## Description

Made changes to more efficiently handle image embeddings caching,
keeping them cached only in MLComputer and only for limited times when
the user needs it.

## Tests

Tested in debug mode on my pixel phone.
2025-03-28 14:13:42 +05:30
laurenspriem
d11ff14ecd Remove embeddings cache after inactivity 2025-03-28 13:55:23 +05:30
Manav Rathi
60781ba86b [meta] Allow running CodeQL manually (#5458)
Necessary to get GitHub to resync the status until the next time it runs
2025-03-28 13:50:38 +05:30
Manav Rathi
02d2db3e43 [meta] Allow running CodeQL manually
Necessary to get GitHub to resync the status until the next time it runs
2025-03-28 13:49:53 +05:30
Manav Rathi
4035a06040 [meta] Create custom codeql.yml (#5457)
Here is the original autogenerated template on which this is based:

```yaml
# For most projects, this workflow file will not need changing; you simply need # to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed, # or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages.
#
name: "CodeQL Advanced"

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]
  schedule:
    - cron: '22 1 * * 1'

jobs:
  analyze:
    name: Analyze (${{ matrix.language }}) # Runner size impacts CodeQL analysis time. To learn more, please see:
    #   - https://gh.io/recommended-hardware-resources-for-running-codeql
    #   - https://gh.io/supported-runners-and-hardware-resources
    #   - https://gh.io/using-larger-runners (GitHub.com only)
    # Consider using larger runners or machines with greater resources for possible analysis time improvements.
    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
    permissions:
      # required for all workflows
      security-events: write

      # required to fetch internal or private CodeQL packs
      packages: read

      # only required for workflows in private repositories
      actions: read
      contents: read

    strategy: fail-fast: false matrix: include:
        - language: actions build-mode: none
        - language: c-cpp build-mode: autobuild - language: go build-mode: autobuild - language: java-kotlin build-mode: autobuild - language: javascript-typescript build-mode: none - language: ruby build-mode: none - language: swift build-mode: autobuild # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' # Use `c-cpp` to analyze code written in C, C++ or both # Use 'java-kotlin' to analyze code written in Java, Kotlin or both # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages steps:
    - name: Checkout repository uses: actions/checkout@v4

    # Add any setup steps before running the `github/codeql-action/init` action.
    # This includes steps like installing compilers or runtimes (`actions/setup-node`
    # or others). This is typically only required for manual builds.
    # - name: Setup runtime (example)
    #   uses: actions/setup-example@v1

    # Initializes the CodeQL tools for scanning.
    - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file.

        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
        # queries: security-extended,security-and-quality

    # If the analyze step fails for one of the languages you are analyzing with
    # "We were unable to automatically build your code", modify the matrix above
    # to set the build mode to "manual" for that language. Then modify this step
    # to build your code.
    # ℹ️ Command-line programs to run using the OS shell.
    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
    - if: matrix.build-mode == 'manual' shell: bash run: | echo 'If you are using a "manual" build mode for one or more of the' \ 'languages you are analyzing, replace this with the commands to build' \ 'your code, for example:' echo '  make bootstrap' echo '  make release' exit 1

    - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}"
```
2025-03-28 13:47:51 +05:30
Manav Rathi
2d16d958e3 [meta] Create custom codeql.yml
Here is the original autogenerated template from which this is based:

----

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL Advanced"

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]
  schedule:
    - cron: '22 1 * * 1'

jobs:
  analyze:
    name: Analyze (${{ matrix.language }})
    # Runner size impacts CodeQL analysis time. To learn more, please see:
    #   - https://gh.io/recommended-hardware-resources-for-running-codeql
    #   - https://gh.io/supported-runners-and-hardware-resources
    #   - https://gh.io/using-larger-runners (GitHub.com only)
    # Consider using larger runners or machines with greater resources for possible analysis time improvements.
    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
    permissions:
      # required for all workflows
      security-events: write

      # required to fetch internal or private CodeQL packs
      packages: read

      # only required for workflows in private repositories
      actions: read
      contents: read

    strategy:
      fail-fast: false
      matrix:
        include:
        - language: actions
          build-mode: none
        - language: c-cpp
          build-mode: autobuild
        - language: go
          build-mode: autobuild
        - language: java-kotlin
          build-mode: autobuild
        - language: javascript-typescript
          build-mode: none
        - language: ruby
          build-mode: none
        - language: swift
          build-mode: autobuild
        # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
        # Use `c-cpp` to analyze code written in C, C++ or both
        # Use 'java-kotlin' to analyze code written in Java, Kotlin or both
        # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
        # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
        # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
        # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
        # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
    steps:
    - name: Checkout repository
      uses: actions/checkout@v4

    # Add any setup steps before running the `github/codeql-action/init` action.
    # This includes steps like installing compilers or runtimes (`actions/setup-node`
    # or others). This is typically only required for manual builds.
    # - name: Setup runtime (example)
    #   uses: actions/setup-example@v1

    # Initializes the CodeQL tools for scanning.
    - name: Initialize CodeQL
      uses: github/codeql-action/init@v3
      with:
        languages: ${{ matrix.language }}
        build-mode: ${{ matrix.build-mode }}
        # If you wish to specify custom queries, you can do so here or in a config file.
        # By default, queries listed here will override any specified in a config file.
        # Prefix the list here with "+" to use these queries and those in the config file.

        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
        # queries: security-extended,security-and-quality

    # If the analyze step fails for one of the languages you are analyzing with
    # "We were unable to automatically build your code", modify the matrix above
    # to set the build mode to "manual" for that language. Then modify this step
    # to build your code.
    # ℹ️ Command-line programs to run using the OS shell.
    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
    - if: matrix.build-mode == 'manual'
      shell: bash
      run: |
        echo 'If you are using a "manual" build mode for one or more of the' \
          'languages you are analyzing, replace this with the commands to build' \
          'your code, for example:'
        echo '  make bootstrap'
        echo '  make release'
        exit 1

    - name: Perform CodeQL Analysis
      uses: github/codeql-action/analyze@v3
      with:
        category: "/language:${{matrix.language}}"
2025-03-28 13:44:49 +05:30
laurenspriem
a682fb4ece cleanup 2025-03-28 13:43:40 +05:30
laurenspriem
bc65e2c256 don't cache embeddings on startup 2025-03-28 13:41:16 +05:30
laurenspriem
3457cc1369 log embeddings retrieval time 2025-03-28 13:40:58 +05:30
laurenspriem
5ffd513826 Speed up embedding db call 2025-03-28 13:39:55 +05:30
Manav Rathi
d1df2962cb [meta] Granular action permissions (#5456) 2025-03-28 13:08:45 +05:30
Manav Rathi
cf7d46fd70 go-rel
ref: https://github.com/wangyoucao577/go-release-action?tab=readme-ov-file#basic-example
2025-03-28 13:02:19 +05:30
Manav Rathi
875a747e24 granular perms / release
"only required permissions for the action specified (which is contents: write)"
- https://github.com/ncipollo/release-action?tab=readme-ov-file#notes
2025-03-28 12:57:41 +05:30
Manav Rathi
0e4fa1ad4c ro 2025-03-28 12:57:41 +05:30
laurenspriem
939d1a5d40 properly clear isolate cache 2025-03-28 12:47:22 +05:30
Manav Rathi
0f62c4fa79 granular perms / docker-push
ref: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#authenticating-to-package-registries-with-repository-scoped-permissions
2025-03-28 12:32:33 +05:30
Manav Rathi
038f6b33e1 granular perms [crowdin] 2025-03-28 12:22:59 +05:30
laurenspriem
bd0818ec7d Reduce time to isolate disposal 2025-03-28 11:57:21 +05:30
laurenspriem
1267587ae5 Fix using plugins in regular isolates 2025-03-28 11:51:34 +05:30
laurenspriem
168a4936f8 cache clip embeddings inside MLComputer isolate 2025-03-28 11:42:06 +05:30
Manav Rathi
eb11d80d79 [desktop] photosd-v1.7.11 (#5455) 2025-03-28 11:15:31 +05:30
Manav Rathi
dbc1cec05a [desktop] photosd-v1.7.11 2025-03-28 11:12:50 +05:30
Manav Rathi
95c9f5877c [docs] AppImage icon FAQ (#5454) 2025-03-28 11:09:58 +05:30
Manav Rathi
34034a77a2 Fix link 2025-03-28 11:08:55 +05:30
Manav Rathi
1da4770728 [docs] AppImage icon FAQ 2025-03-28 11:06:58 +05:30
Manav Rathi
353b2274d1 [docs] Add linux icon update FAQ (#5453) 2025-03-28 08:47:45 +05:30
Manav Rathi
56f15a33af [docs] Add linux icon update FAQ 2025-03-28 08:46:10 +05:30
Manav Rathi
85e0fef80b [server] Quickstart: don't rely on the -w flag for base64 (#5452)
Tested on macOS, Ubuntu (docker), Alpine (docker)
2025-03-28 08:15:30 +05:30
Manav Rathi
f3eb4c9acf Don't silently fail if docker is not installed 2025-03-28 08:10:03 +05:30
Manav Rathi
70924b7416 Don't rely on the -w flag for base64 2025-03-28 08:06:43 +05:30
Neeraj
21028e4985 [mob] Improve ignored file identifier for android (#5451)
## Description
Handle the case where some files were incorrectly ignored for upload
because device reused deleted file name.

## Tests
2025-03-28 07:28:35 +05:30
Neeraj Gupta
4ba22fd677 Improve ignored file identifier for android 2025-03-28 07:19:55 +05:30
Prateek Sunal
9717a92142 feat: Register periodic task for iOS background app refresh and simplify setupIntentAction call 2025-03-27 18:53:33 +05:30
laurenspriem
ac43ecf45b Make MLComputer a regular isolate 2025-03-27 16:07:28 +05:30
laurenspriem
a974a95fb2 Auto dispose face thumbnail generator isolate 2025-03-27 16:06:36 +05:30
laurenspriem
eb7f350102 Separate face thumbnail generator from embeddings 2025-03-27 16:04:13 +05:30
Manav Rathi
b2e4b82d5c [web] Video streaming WIP - Part x/x (#5449) 2025-03-27 14:30:33 +05:30
Neeraj
a88e281800 [mob] Log sync status when uploadIcon is hidden (#5448)
## Description

## Tests
2025-03-27 14:18:12 +05:30
Neeraj
279319bd52 [mob] Fix discovery section reload condition (#5447)
## Description
Previous condition didn't handle the case when the cities were not
loaded when discovery section was getting computed.
## Tests
2025-03-27 14:18:00 +05:30
Neeraj Gupta
6a3c3d5b5b Log sync status when uploadIcon is hidden 2025-03-27 14:17:10 +05:30
Neeraj Gupta
f36cc9ec06 [mob] Fix discovery section reload condition 2025-03-27 14:08:36 +05:30
Manav Rathi
8981668052 Tweaks 2025-03-27 13:29:46 +05:30
Manav Rathi
cba4f538f8 grad 2025-03-27 12:56:26 +05:30
Manav Rathi
8b787c7373 rgba => rgb
"The rgba() functional notation is an alias for rgb(). They are exactly equivalent. It is recommended to use rgb()." - MDN

https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
2025-03-27 12:50:50 +05:30
Manav Rathi
30c4a72e69 2l 2 2025-03-27 12:37:48 +05:30
Manav Rathi
bfd9a0d760 two line 2025-03-27 10:59:22 +05:30
Manav Rathi
2d2696e4ee two line? 2025-03-27 10:33:45 +05:30
Manav Rathi
4f0bee517e Use type 2025-03-27 10:06:56 +05:30
Manav Rathi
e536e34808 Move 2025-03-27 10:00:04 +05:30
Manav Rathi
8a13c9071c Same as mobile 2025-03-27 08:05:40 +05:30
Manav Rathi
e35fae6c3c Notes
Ref: 476e5abdd0/packages/hls-video-element/hls-video-element.js (L73)
2025-03-27 08:04:29 +05:30
Neeraj
313a7064f8 [mob] Search & filter by uploader's name (#5443)
## Description

## Tests
2025-03-27 00:17:13 +05:30
Neeraj Gupta
a550dcce57 Enable search filter for uploader name 2025-03-26 23:44:32 +05:30
Prateek Sunal
cfe091b5b3 chore: Update Podfile.lock with dependency version changes 2025-03-26 23:03:30 +05:30
Neeraj Gupta
63b9b926a1 Show seperate result for different uploader 2025-03-26 22:54:39 +05:30
Prateek Sunal
a450004c19 Merge remote-tracking branch 'origin/main' into improve-bg-processing 2025-03-26 22:47:10 +05:30
Prateek Sunal
939b30c1b2 feat: Remove background_fetch dependency and update workmanager to use git source 2025-03-26 22:46:35 +05:30
Neeraj Gupta
4500a8f620 Add support to search by uploader name 2025-03-26 22:16:11 +05:30
Manav Rathi
90bf99c20b [web] Video streaming WIP - Part x/x (#5440) 2025-03-26 21:05:22 +05:30
Manav Rathi
838b7e2a88 loading indicator 2025-03-26 18:48:50 +05:30
Laurens Priem
99f882043b [mob][photos] Onnx debug options (#5439)
## Description

Some ONNX logging and cleaner menu for loading separate models. 

## Tests
2025-03-26 17:55:32 +05:30
laurenspriem
dd0c5ed770 Focused menu for loading separate models 2025-03-26 17:19:57 +05:30
Manav Rathi
2f3c00fc99 quot 2025-03-26 15:53:39 +05:30
Manav Rathi
acad6895e8 More controls 2025-03-26 15:53:39 +05:30
Prateek Sunal
68886d72ce Merge remote-tracking branch 'origin/mob_workmanager' into improve-bg-processing 2025-03-26 15:50:40 +05:30
laurenspriem
1774a8019f Always log OrtVersion on init 2025-03-26 15:09:08 +05:30
laurenspriem
f5ce53d8ca consistent logging in onnx plugin 2025-03-26 15:04:29 +05:30
Manav Rathi
e5720c1906 More controls 2025-03-26 14:16:17 +05:30
Manav Rathi
9803720603 Via CSS 2025-03-26 12:55:15 +05:30
Manav Rathi
86ba1eed5d Workaround: defer setting mediacontroller attribute until next tick 2025-03-26 12:31:06 +05:30
laurenspriem
9ab55ed1e4 Remove "this is me" button 2025-03-26 12:23:38 +05:30
laurenspriem
bf7e10eab6 Make own email stickied at top 2025-03-26 12:18:44 +05:30
Manav Rathi
8383d7dd56 HLS playlists are provided as data: 2025-03-26 11:56:49 +05:30
Manav Rathi
7174cbac3b [web] Video streaming WIP - Part x/x (#5436) 2025-03-26 10:21:59 +05:30
Manav Rathi
52c7c1b4ed LF 2025-03-26 10:21:46 +05:30
Manav Rathi
2187b3ec6e Trim 2025-03-26 10:06:15 +05:30
Manav Rathi
d1af77dbef also for hls
476e5abdd0/packages/hls-video-element/index.html (L52)
2025-03-26 09:35:00 +05:30
Manav Rathi
33ee599f3c Inline playback of live photos on mobile browsers 2025-03-26 09:30:41 +05:30
Manav Rathi
0247d3f458 first slide 2025-03-26 08:31:01 +05:30
Manav Rathi
38c64ac05f move out and link - wip 2025-03-26 07:34:57 +05:30
Manav Rathi
220a6cbc4b Retain dimensions from playlist 2025-03-26 06:08:23 +05:30
Prateek Sunal
4797e03119 fix(pubspec): suggest package alternative 2025-03-26 04:14:43 +05:30
Prateek Sunal
02d730eaae chore: update dependencies in pubspec.yaml and remove unused packages 2025-03-26 03:56:18 +05:30
Prateek Sunal
070907fc69 Merge branch 'main' into mob-bump-packages 2025-03-25 22:58:08 +05:30
Manav Rathi
01b65eb608 wip 2025-03-25 20:36:15 +05:30
Manav Rathi
3ab8c348b0 Move controls out 2025-03-25 16:31:29 +05:30
Manav Rathi
7af57bd7c8 Start adding controls 2025-03-25 16:31:29 +05:30
Manav Rathi
1ac64b5a31 +media-chrome 2025-03-25 16:31:29 +05:30
Manav Rathi
2431c81c44 Use 2025-03-25 16:31:29 +05:30
Manav Rathi
f0b23a495c hls.js + hls-video-element 2025-03-25 16:31:29 +05:30
Manav Rathi
677ad0dc00 Works in Safari 2025-03-25 16:31:29 +05:30
Manav Rathi
142020e26a Add file extension and mime type 2025-03-25 16:31:29 +05:30
Manav Rathi
195bd114f9 [web] Fix video tabbing (#5434) 2025-03-25 16:30:43 +05:30
Manav Rathi
6b91228273 Fix video tabbing 2025-03-25 16:25:06 +05:30
Prateek Sunal
1166b53383 feat: replace uni_links with app_links in Podfile and update dependencies 2025-03-25 15:02:29 +05:30
Neeraj
041a657877 [mob] Delete old identifier for shared-media files (#5433)
## Description

## Tests
2025-03-25 14:28:48 +05:30
Neeraj Gupta
d0ee33131e [mob] Delete old identifier for shared-media files 2025-03-25 14:21:29 +05:30
Neeraj
2e193d3ac0 [auth] Misc fixes & locale improvements (#5432)
## Description

## Tests
2025-03-25 10:43:08 +05:30
Neeraj Gupta
4a1540b63b Bump version 2025-03-25 10:39:38 +05:30
Neeraj Gupta
18b71dbc0c [auth] Increase initial window height 2025-03-25 10:34:49 +05:30
Neeraj Gupta
b3ba9a6aa7 [auth] Change macos min target from 10.14 to 10.15 2025-03-25 10:32:32 +05:30
Neeraj Gupta
e2878ec454 [auth] Enable l10n for Romanian & Hebrew language 2025-03-25 10:25:09 +05:30
Neeraj Gupta
cfebf632dc l10n generated changes 2025-03-25 10:18:34 +05:30
Neeraj Gupta
b97e77a4f8 [auth] Support both Chinese Simplified and Traditional 2025-03-25 10:17:14 +05:30
Neeraj Gupta
9df375b2e9 [auth] Require min ios 13.0 for cuptertino_http 2025-03-25 10:16:01 +05:30
Manav Rathi
e0f9e6f586 [web] Video streaming WIP - Part x/x (#5431) 2025-03-25 10:13:56 +05:30
Manav Rathi
fa32ab55c6 LF 2025-03-25 10:09:30 +05:30
Manav Rathi
fcd6a621e0 +hls.js 2025-03-25 10:01:45 +05:30
Manav Rathi
afea991e16 elsewhere 2025-03-25 09:55:14 +05:30
Manav Rathi
2d245ea8e4 URL 2025-03-25 09:55:14 +05:30
Manav Rathi
f29ed595de More notes 2025-03-25 09:55:13 +05:30
github-actions[bot]
b901e4b210 [auth] New translations (#5330)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-03-25 09:43:55 +05:30
Manav Rathi
17c8d9d372 [desktop] Update icons (#5430)
Also update Electron to pick the latest patch release in the current
series.
2025-03-25 09:16:03 +05:30
Manav Rathi
9319aeee6f Update icons
general note of commands which were needed:

    mkdir build/icon.iconset
    touch build/icon.iconset/icon_512x512@2x.png
    iconutil --convert icns --output build/icon.icns build/icon.iconset
    # general resizing
    sips -Z 48 build/taskbar-icon@3x.png

for the icns while just the above worked, here is fuller script that also uses
the size variants (rom
https://stackoverflow.com/questions/12306223/how-to-manually-create-icns-files-using-iconutil),
the final asset used this.

    mkdir MyIcon.iconset
    sips -z 16 16     Icon1024.png --out MyIcon.iconset/icon_16x16.png
    sips -z 32 32     Icon1024.png --out MyIcon.iconset/icon_16x16@2x.png
    sips -z 32 32     Icon1024.png --out MyIcon.iconset/icon_32x32.png
    sips -z 64 64     Icon1024.png --out MyIcon.iconset/icon_32x32@2x.png
    sips -z 128 128   Icon1024.png --out MyIcon.iconset/icon_128x128.png
    sips -z 256 256   Icon1024.png --out MyIcon.iconset/icon_128x128@2x.png
    sips -z 256 256   Icon1024.png --out MyIcon.iconset/icon_256x256.png
    sips -z 512 512   Icon1024.png --out MyIcon.iconset/icon_256x256@2x.png
    sips -z 512 512   Icon1024.png --out MyIcon.iconset/icon_512x512.png
    cp Icon1024.png MyIcon.iconset/icon_512x512@2x.png
    iconutil -c icns MyIcon.iconset
    rm -R MyIcon.iconset

for the taskbar icons I used this ad-hoc script:

    #!/bin/sh

    set -e

    sips -Z 16 ~/Downloads/Taskbar.png --out build/taskbar-icon.png
    sips -Z 32 ~/Downloads/Taskbar.png --out build/taskbar-icon@2x.png
    sips -Z 48 ~/Downloads/Taskbar.png --out build/taskbar-icon@3x.png

    sips -Z 16 ~/Downloads/Taskbar-Template.png --out build/taskbar-icon-Template.png
    sips -Z 32 ~/Downloads/Taskbar-Template.png --out build/taskbar-icon-Template@2x.png
    sips -Z 48 ~/Downloads/Taskbar-Template.png --out build/taskbar-icon-Template@3x.png
2025-03-25 09:04:04 +05:30
github-actions[bot]
7dfa822b0f [mobile] New translations (#5421)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-03-25 06:39:15 +05:30
antoniohg
edf1fe19e5 [auth][icon] add Pionex custom icon and entry to the icon data (#5394)
## Description
Create a custom icon for Pionex, one of the most popular crypto trading
bot platform
## Tests
Icon change only, no code changes.
2025-03-25 06:37:59 +05:30
mangesh
164df3edef [server] log.Error log.Info (#5425) 2025-03-25 06:36:54 +05:30
Neeraj
bce91b6d38 [mob] Fix npe in featureFlag service (#5429)
## Description

## Tests
2025-03-25 06:36:17 +05:30
Neeraj
7829913c48 [auth][icon] Patient Access (#5413)
## Description
Hi, sincere apologies if there are any issues I’ve created. I’m new to
pull requests. I attach a Patient Access icon for Ente Auth. If
everything goes well I (if it’s okay) will be happy to help in the
future.

Kind regards,
Jack
2025-03-25 06:14:30 +05:30
Neeraj Gupta
ca40eaa377 [mob] Fix npe in featureFlag service 2025-03-25 06:13:18 +05:30
Prateek Sunal
a33ace26dd chore: update comments 2025-03-24 19:25:53 +05:30
Prateek Sunal
d8826199e0 chore: update comment 2025-03-24 19:22:08 +05:30
Prateek Sunal
e389a2c4a2 chore: update comments for packages 2025-03-24 19:21:17 +05:30
Prateek Sunal
2283f4a25d feat(deprecate): use app_links instead of uri_links 2025-03-24 19:15:50 +05:30
Manav Rathi
67a0ff55b4 Update electron 2025-03-24 19:10:01 +05:30
Prateek Sunal
e55ddefa21 chore(photos-mobile): bump figma_squicircle to latest 2025-03-24 19:08:36 +05:30
laurenspriem
76b9c30332 error log 2025-03-24 16:34:58 +05:30
laurenspriem
ce681d83da Add "this is me" to link email screen 2025-03-24 16:32:21 +05:30
laurenspriem
11bc17e766 Separate util method to check if me is assigned 2025-03-24 16:08:31 +05:30
vishnukvmd
69c71d23c3 Migrate existing free folks 2025-03-24 14:45:38 +05:30
vishnukvmd
214573e0c2 Increase free storage to 10gb 2025-03-24 14:45:28 +05:30
Manav Rathi
9d87aa2228 [web] Dockerfile accounts fix (#5424)
try_files $uri/ matches the passkeys/ folder in accounts app, causing
nginx to
try loading (e.g.)  http://localhost:3001/passkeys/?xxx instead of
http://localhost:3001/passkeys?xxx

The way Next is currently generating the static renders, we anyways
don't need
the slug/index.html lookup, the only index.html we have is at the root,
rest of
them are of the form slug.html.
2025-03-24 11:56:51 +05:30
Manav Rathi
fe3c3f8a49 [web] Dockerfile accounts fix
try_files $uri/ matches the passkeys/ folder in accounts app, causing nginx to
try loading (e.g.)  http://localhost:3001/passkeys/?xxx instead of
http://localhost:3001/passkeys?xxx

The way Next is currently generating the static renders, we anyways don't need
the slug/index.html lookup, the only index.html we have is at the root, rest of
them are of the form slug.html.
2025-03-24 11:37:50 +05:30
Manav Rathi
c2ba851076 [web] New translations (#5420)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-03-24 10:48:16 +05:30
Crowdin Bot
ba8e8302c7 New Crowdin translations by GitHub Action 2025-03-24 00:37:55 +00:00
Prateek Sunal
f37777885e [auth] Fix drop review copy (#5412) 2025-03-23 00:04:43 +05:30
mngshm
ffdf5960c0 log.Error log.Info 2025-03-23 00:00:25 +05:30
Aman Raj Singh Mourya
bb6b4ba49d minor fix 2025-03-22 23:59:34 +05:30
Jack Roberts
3d3f200168 Add files via upload 2025-03-22 18:13:03 +00:00
Jack Roberts
40649f172a Update custom-icons.json 2025-03-22 18:11:37 +00:00
Aman Raj Singh Mourya
b8f144132b [auth] fix copy 2025-03-22 22:53:57 +05:30
Manav Rathi
4b3cc007aa [docs] Add callout for the importance of museum.yaml (#5406) 2025-03-21 20:37:50 +05:30
Manav Rathi
803d36c915 Add callout 2025-03-21 20:26:04 +05:30
Prateek Sunal
3c789e9758 [mob] remove filler as a title and use years ago instead (#5403)
## Description

Remove filler title and use proper locals.

## Tests
2025-03-21 17:15:29 +05:30
Prateek Sunal
e430d4a47d chore: bump version number 2025-03-21 17:12:48 +05:30
Prateek Sunal
fa88396072 fix: check for blockers inside lock as well 2025-03-21 17:09:10 +05:30
Manav Rathi
f4760187ab [web] Fix viewer close on deletion of last file (#5405) 2025-03-21 17:04:52 +05:30
Prateek Sunal
3644993964 refactor: replace S.load with LanguageService for localization 2025-03-21 17:04:00 +05:30
Prateek Sunal
4bdf879a50 refactor: rename variable 'locale' to 'local' for clarity 2025-03-21 17:02:58 +05:30
Prateek Sunal
6484419839 fix: revert to original like 2025-03-21 17:02:35 +05:30
Prateek Sunal
1440c7e07a chore: remove getTitle 2025-03-21 17:00:43 +05:30
Prateek Sunal
85c899b41d Merge remote-tracking branch 'origin/memories_fillers' into fix-filler-title 2025-03-21 16:59:13 +05:30
Manav Rathi
a4ab3168ad Add note 2025-03-21 16:59:10 +05:30
Manav Rathi
5a524fa5b0 Fix viewer close on deletion of last file 2025-03-21 16:57:05 +05:30
Prateek Sunal
c597c2596c feat(language): integrate LanguageService for localized titles and dates 2025-03-21 16:52:16 +05:30
laurenspriem
916c748479 Clear internal flag in moments 2025-03-21 16:48:12 +05:30
laurenspriem
45ef2b6976 Remove backup on memories widget 2025-03-21 16:46:11 +05:30
laurenspriem
a4141bb296 Fix fillers showing filler when ML disabled 2025-03-21 16:45:56 +05:30
Prateek Sunal
4f6eff1034 fix(memory-widget): remove filler as a title and use years ago instead 2025-03-21 16:38:46 +05:30
Manav Rathi
0ab2e2834a [docs] Add a misc FAQ page (#5402) 2025-03-21 15:07:02 +05:30
Manav Rathi
d84bdb645b Title 2025-03-21 15:04:05 +05:30
Manav Rathi
99bb2b1d98 [docs] Add a misc FAQ page 2025-03-21 15:02:54 +05:30
Vishnu Mohandas
0dcb185744 [mob][photos] v1 🚀 (#5400) 2025-03-21 13:46:49 +05:30
Manav Rathi
12ba72e87c [server] Autogenerate credentials during quickstart (#5395) 2025-03-21 13:40:44 +05:30
ashilkn
350a0159c9 v1 🚀 2025-03-21 13:37:14 +05:30
Manav Rathi
f5f323cf3e Improve UX 2025-03-21 13:35:04 +05:30
Laurens Priem
f493f4d444 [mob][photos] Memory final fix (#5398)
## Description

Last minor fix for memories
2025-03-21 13:27:51 +05:30
Ashil
85cc0af308 [mob][photos] Handle if InheritedWidget is not an ancestor (#5399) 2025-03-21 13:18:23 +05:30
ashilkn
2d88f4f6d7 Use maybeOf instead of .of to avoid null check error if the InheritedWidget is not an ancestor 2025-03-21 13:10:46 +05:30
Manav Rathi
8b52d5583c Mention open port 2025-03-21 13:08:14 +05:30
Manav Rathi
3fdbd8c735 Inline and split 2025-03-21 12:52:48 +05:30
Manav Rathi
dbb2ae79c6 Remove unnecessary forwards
localhost is user's host
2025-03-21 12:28:14 +05:30
Manav Rathi
58ffbc5eb4 Start implementing outline 2025-03-21 12:20:24 +05:30
laurenspriem
1a764779ba Do the same for magic cache 2025-03-21 12:19:30 +05:30
Vishnu Mohandas
7a35558175 [mob] Update changelog (#5397) 2025-03-21 12:18:07 +05:30
vishnukvmd
d7f5ee6039 All green 2025-03-21 12:17:29 +05:30
Manav Rathi
e8cf80bfde Update links 2025-03-21 12:15:48 +05:30
laurenspriem
f03d269a5f Only clear cache if there is cache 2025-03-21 12:13:16 +05:30
Vishnu Mohandas
e286696552 [mob] Update copy for iOS widget (#5396) 2025-03-21 12:13:06 +05:30
vishnukvmd
8142a7460b Update copy for iOS widget 2025-03-21 12:12:29 +05:30
Manav Rathi
2216c2c746 Outline new approach and move doc 2025-03-21 12:06:52 +05:30
Manav Rathi
d5488954b3 creds are autogened 2025-03-21 09:23:21 +05:30
Manav Rathi
a6f9f3565d fix 2025-03-21 08:55:38 +05:30
Manav Rathi
aada6bf415 tr 2025-03-21 08:30:38 +05:30
Manav Rathi
822d74b65b base64url
Test harness:

while true; do gen_jwt_secret | node -e 'const s = require("fs").readFileSync(0, "utf8").trim(); const ls = require("libsodium-wrappers-sumo"); ls.ready.then(() => console.log(s, ls.from_base64(s, 5).length))'; sleep 1; done
2025-03-21 08:23:00 +05:30
Manav Rathi
cfc76b7e14 Disable b64 wrap 2025-03-21 07:38:54 +05:30
Manav Rathi
bb8a25bf63 autogen 2025-03-20 21:52:38 +05:30
Manav Rathi
74eff4d50b Apparently more portable 2025-03-20 21:03:26 +05:30
Manav Rathi
d01fdd966f b check 2025-03-20 20:59:38 +05:30
Manav Rathi
0758c8a623 Outline 2025-03-20 20:47:11 +05:30
Manav Rathi
47e6419e23 Prep 2025-03-20 20:34:50 +05:30
Prateek Sunal
137208f088 [mob][photos] make bottom caption of fullscreen memory better looking (#5391) 2025-03-20 20:09:28 +05:30
Prateek Sunal
e69d466ff2 [mob][photos] refactor home widget (#5389)
## Description

Refactor home widget and separate memory home widget services.

## Tests
2025-03-20 20:06:38 +05:30
ashilkn
ff9473425c Make bottom caption of fullscreen memory better looking 2025-03-20 20:05:29 +05:30
Prateek Sunal
34dd088a9d fix: streamline memory widget initialization by removing login checks and adding blocker validation 2025-03-20 20:03:10 +05:30
Prateek Sunal
92fa3488b4 fix: don't keep updating if show memories is off 2025-03-20 19:59:33 +05:30
Prateek Sunal
a5c9ef207d chore: bump again 2025-03-20 19:51:50 +05:30
Prateek Sunal
4ebbb75ef6 fix: enhance memory widget initialization and logging 2025-03-20 19:50:37 +05:30
Prateek Sunal
b5909ac3b2 fix: don't duplicate complete icon set 2025-03-20 19:50:14 +05:30
Prateek Sunal
ea0c02a662 fix: update iOS class name as well 2025-03-20 19:06:17 +05:30
Prateek Sunal
25e4cae14b fix: update android class name 2025-03-20 18:54:44 +05:30
Prateek Sunal
4611db3983 fix(memory-hw): update copies, auto logout clear behavior, 2025-03-20 18:51:57 +05:30
Prateek Sunal
ca7ff8cd16 refactor(memory-home-widget): streamline memory update logic and improve synchronization handling 2025-03-20 18:26:25 +05:30
Manav Rathi
c872f9177d [server] Add docker compose version check to quickstart script (#5390) 2025-03-20 17:48:40 +05:30
Manav Rathi
b82df80864 mention start_interval in troubleshooting docs 2025-03-20 17:45:58 +05:30
Manav Rathi
c3fe7ab171 HEAD => main 2025-03-20 17:42:17 +05:30
Manav Rathi
f2acf75b4a min ver check 2025-03-20 17:34:01 +05:30
Prateek Sunal
9327238d19 fix(home-widget-service): remove unnecessary ignore call in init method 2025-03-20 17:26:17 +05:30
Prateek Sunal
7342963f96 fix(home-widget-service): correct ignore call in init method 2025-03-20 17:24:14 +05:30
Prateek Sunal
3579d44c78 Merge remote-tracking branch 'origin/main' into final-memory-winget 2025-03-20 17:20:55 +05:30
Prateek Sunal
35f5c7271b refactor(home-widget): use MemoryHomeWidgetService and update related methods 2025-03-20 17:20:49 +05:30
Laurens Priem
6521e09056 [mob][photos] Fix widget infinite load (#5388)
## Description

fix infinite loop issue

## Tests
2025-03-20 17:14:09 +05:30
laurenspriem
aa57c1a827 Fix widget infinite load 2025-03-20 17:11:31 +05:30
Manav Rathi
a0b4315842 docker check 2025-03-20 17:06:42 +05:30
Manav Rathi
4254a54071 [server][web] Quickstart doc cleanup (#5386) 2025-03-20 16:45:54 +05:30
Manav Rathi
df7d49d2cc Update 2025-03-20 16:35:28 +05:30
Manav Rathi
0a33a44752 Update 2025-03-20 16:25:38 +05:30
Vishnu Mohandas
bf52a6923d [mobile] Fix path to icon (#5384) 2025-03-20 16:19:59 +05:30
vishnukvmd
778c72e33b Rename in correct case 2025-03-20 16:18:34 +05:30
vishnukvmd
eb874b8907 Temporary rename 2025-03-20 16:18:16 +05:30
Manav Rathi
c06175cf11 Doc 2025-03-20 16:10:02 +05:30
Vishnu Mohandas
b4a5c0c594 [mob] Update splash image (#5382)
## Tests
- [x] Tested on emulator for both light and dark modes
2025-03-20 14:55:39 +05:30
vishnukvmd
8830bb65a7 Update splash image 2025-03-20 14:39:25 +05:30
Laurens Priem
36bc214497 [mob][photos] Fix memories fresh login issue (#5381)
## Description

Fix memories fresh login issue

## Tests
2025-03-20 14:14:30 +05:30
Laurens Priem
0f08280f2f Merge branch 'main' into memories_login_regression 2025-03-20 14:12:17 +05:30
laurenspriem
292187ee9c Bump for internal release 2025-03-20 14:09:36 +05:30
laurenspriem
ee7fba3c11 Fix memories fresh loging 2025-03-20 14:08:06 +05:30
Manav Rathi
b37c2bc047 Update 2025-03-20 13:58:39 +05:30
laurenspriem
29ef3d4522 Remove redundant lines 2025-03-20 13:55:28 +05:30
Manav Rathi
08d6fa3b6b Rearrange 2025-03-20 13:54:24 +05:30
laurenspriem
0d181361a7 Cleanup 2025-03-20 13:48:00 +05:30
Manav Rathi
f4d4e1ad6b doc 2025-03-20 13:46:26 +05:30
Manav Rathi
d91201a25b [server] Rename hello.sh to quickstart.sh (#5380) 2025-03-20 13:10:56 +05:30
Manav Rathi
fbf0f934fb [server] Rename hello.sh to quickstart.sh 2025-03-20 13:08:09 +05:30
Manav Rathi
5abc106494 [server] Create quickstart hello (#5379) 2025-03-20 12:51:24 +05:30
Manav Rathi
9ffba2fe91 Fancier 2025-03-20 12:45:27 +05:30
Neeraj
4f55310145 [mob] Update change log (#5378)
## Description

## Tests
2025-03-20 12:31:01 +05:30
Neeraj Gupta
ee7f6c3021 update changelog version 2025-03-20 12:27:14 +05:30
Neeraj Gupta
940de19b7d Bump version 2025-03-20 12:24:23 +05:30
Neeraj Gupta
38c17bd813 Change title 2025-03-20 12:23:21 +05:30
Neeraj Gupta
82fb3324a7 Add translation 2025-03-20 12:22:26 +05:30
Manav Rathi
f7a6a5e115 Create quickstart hello 2025-03-20 12:18:50 +05:30
Neeraj Gupta
bdda47656c Extract strings 2025-03-20 12:17:03 +05:30
Neeraj Gupta
cc1b1a70f0 Delete unused strings 2025-03-20 12:11:03 +05:30
Neeraj Gupta
8b22d1e03f Update change log 2025-03-20 11:53:40 +05:30
Manav Rathi
b4d22996c8 [web] Increase yarn install timeout (#5377)
Workaround for the image build failing no the arm64 runners (it works
fine on the amd64 runner):
https://github.com/ente-io/ente/actions/runs/13962703146/job/39086814540
2025-03-20 11:22:14 +05:30
Manav Rathi
cd20b22eae [web] Increase yarn install timeout
Workaround for the image build failing no the arm64 runners (it works fine on
the amd64 runner):
https://github.com/ente-io/ente/actions/runs/13962703146/job/39086814540
2025-03-20 11:20:38 +05:30
Manav Rathi
149fba11f1 [web] Add workflow to publish Docker images (#5376) 2025-03-20 11:06:54 +05:30
Manav Rathi
1da0455b77 Add web variant 2025-03-20 11:03:53 +05:30
Manav Rathi
9222b029b2 Increas hamming distance 2025-03-20 10:54:11 +05:30
Manav Rathi
938e2dcadb Tweak 2025-03-20 10:50:31 +05:30
Manav Rathi
ebf85c15c3 [server] Change server/ghcr => ghcr/server (#5375)
In prep for its new baby sibling, ghcr/web.
2025-03-20 10:47:20 +05:30
Manav Rathi
91494f7823 [server] Change server/ghcr => ghcr/server
In prep for its new baby sibling, ghcr/web.
2025-03-20 10:42:42 +05:30
Manav Rathi
39f7af7932 [server] Add quickstart variant of docker compose - WIP (#5374)
Pending items (should be done shortly):
- Publish and use the web docker image instead of the placeholder
- Add hello.sh
2025-03-20 10:36:40 +05:30
Manav Rathi
960399b0a5 Add web 2025-03-20 10:27:01 +05:30
Manav Rathi
9a93cc121c Rejig 2025-03-20 10:14:42 +05:30
Manav Rathi
6d3cb97ab0 ditto and swap 2025-03-20 09:42:09 +05:30
Manav Rathi
970c1229c4 Use default network 2025-03-20 09:37:53 +05:30
Manav Rathi
f213e9ad8c Outline 2025-03-20 09:33:11 +05:30
Manav Rathi
d943586faf Remove extra volume
This is an appendage from when this compose file was used for a test network,
and not relevant to self hosting, at least not in the starter sample.
2025-03-20 08:04:05 +05:30
Manav Rathi
27fe549e15 Shorten 2025-03-20 08:02:55 +05:30
Vishnu Mohandas
c1d1a3540a [mob][photos] resync memories on widget tap (#5373)
## Description

Resync memories on widget tap.

## Tests
2025-03-20 02:19:53 +05:30
Prateek Sunal
df64413478 fix: improve memory sync logic in HomeWidgetService 2025-03-20 02:15:02 +05:30
Prateek Sunal
2cd31826e7 fix: rename changeMemories & tap behavior fix 2025-03-20 01:54:47 +05:30
Prateek Sunal
a5ef3461d8 [mob][photos] memory widget revamp (#5343)
## Description

Supercharged memory widget with title, sub title and on tap behavior and a nice preview image.

## Tests
2025-03-20 01:08:31 +05:30
Prateek Sunal
97e5b251c1 chore: bump version 2025-03-20 01:06:32 +05:30
Prateek Sunal
fd31cb3433 fix: update preview snapshot 2025-03-20 01:06:07 +05:30
Prateek Sunal
c1b6006f12 fix: update preview image base 64 and remove unwanted text 2025-03-20 00:59:39 +05:30
Prateek Sunal
5d72070890 feat(memories): introduce MemorySeenEvent and update widget subscriptions 2025-03-20 00:33:52 +05:30
Prateek Sunal
4e3bec7ad7 fix(memory-widget: add init method for service and update ios widget 2025-03-20 00:14:29 +05:30
Prateek Sunal
a002b26114 Merge remote-tracking branch 'origin/main' into migrate-things 2025-03-19 23:58:48 +05:30
Prateek Sunal
99e6425408 refactor(home_widget_service): simplify initHomeWidget parameters and improve memory sync logic 2025-03-19 23:58:39 +05:30
Manav Rathi
daae621770 [server] Inline config in compose file, and prune unnecessary ports (#5372) 2025-03-19 21:05:35 +05:30
Manav Rathi
c56801c024 Notes 2025-03-19 20:42:44 +05:30
Manav Rathi
551d099c4a Reduce default ports 2025-03-19 20:35:47 +05:30
Manav Rathi
d615614985 Stop exposing postgres externally entirely
Museum can directly access it via the shared network
2025-03-19 20:29:14 +05:30
Manav Rathi
d80b220ad4 Avoid using default postgres port 2025-03-19 20:25:53 +05:30
Manav Rathi
3916d2b7d8 Prune 2025-03-19 20:21:15 +05:30
Manav Rathi
4cdc72bc29 Move config inline 2025-03-19 20:09:23 +05:30
Manav Rathi
b5e429ebc5 [server] Remove extra container by using a post_start lifecycle hook (#5370) 2025-03-19 19:55:17 +05:30
Manav Rathi
c329b30e49 [server] Remove extra container by using a post_start lifecycle hook 2025-03-19 19:50:55 +05:30
Laurens Priem
0285cd6b8c [mob][photos] Memories minor fixes and changes (#5368)
## Description

Minor fixes and changes

## Tests

Tested in debug mode on my pixel phone.
2025-03-19 19:31:14 +05:30
Manav Rathi
f145e0b424 [server] Inline the minio provision script (#5369)
This reduces a sidecar file that is needed by the Docker compose file
(which is a prerequisite for a future change where we will provide a
zero-build variant that doesn't require cloning the repo).
2025-03-19 19:12:17 +05:30
Manav Rathi
a4bc596b66 Inline 2025-03-19 18:25:41 +05:30
laurenspriem
5637d533ed add todo for later 2025-03-19 18:21:13 +05:30
laurenspriem
f498a986c9 Don't force compute when we have backup cache 2025-03-19 18:06:55 +05:30
Prateek Sunal
97935a5890 fix(memory-widget): this will change everything
sync logic is separated
2025-03-19 17:57:57 +05:30
laurenspriem
c5e7f233a7 Reduce birthday duration 2025-03-19 17:35:58 +05:30
Manav Rathi
675121f243 outline 2025-03-19 17:31:46 +05:30
laurenspriem
543fec4e4e error handling in getMemories 2025-03-19 17:26:41 +05:30
Prateek Sunal
5b3fa5e141 fix(home_widget_service): replace MemoriesService with memoriesCacheService for memory visibility check 2025-03-19 17:15:39 +05:30
Prateek Sunal
0e5bed8053 Merge remote-tracking branch 'origin/memories_qa' into migrate-things 2025-03-19 17:13:44 +05:30
Prateek Sunal
8d7333a223 feat(home_widget_service): add subscription for memories changed event and improve widget initialization logic 2025-03-19 17:13:40 +05:30
Manav Rathi
20b873d266 [web] Make the endpoints configurable without rebuilding the image (#5367)
Sibling of https://github.com/ente-io/ente/pull/5364.

**Tested by**
```sh
docker build -t web-test .

# Uses provided values
docker run -it --rm -p 3000:3000 -p 3090:3002 -e ENTE_API_ORIGIN=http://localhost:8090 -e ENTE_ALBUMS_ORIGIN=http://localhost:3090 web-test

# Uses defaults
docker run -it --rm -p 3000:3000 -p 3002:3002 web-test 
```
2025-03-19 17:09:52 +05:30
Manav Rathi
a80c724d0f Placeholder 2025-03-19 16:50:55 +05:30
laurenspriem
c45e4ad1d1 Prioritize last met over birthday 2025-03-19 16:36:50 +05:30
Prateek Sunal
7201e796fb fix(home_widget_service): update text when clearing widget 2025-03-19 16:29:35 +05:30
Prateek Sunal
2fdb0ccbe4 feat(home-widget): update slideshow preview android 2025-03-19 16:29:11 +05:30
laurenspriem
e05701fce2 Remove old memories service completely 2025-03-19 16:26:44 +05:30
Prateek Sunal
14b2f1aa94 fix(memory-widget): default state text align and padding + default state logic when memories are cached 2025-03-19 16:14:02 +05:30
laurenspriem
533b2193be Remove old memories widget 2025-03-19 16:07:49 +05:30
laurenspriem
603e0bdb28 cosmetic change 2025-03-19 16:07:29 +05:30
laurenspriem
8b0267cce7 Cache fillers if ML disabled 2025-03-19 16:05:05 +05:30
Manav Rathi
dfda91b99b Runtime configurable env vars 2025-03-19 16:04:36 +05:30
Prateek Sunal
43f3d4a5fe fix(slideshow-widget): remove default title and subtitle text 2025-03-19 15:26:34 +05:30
Prateek Sunal
184852295f fix(memories-cache): log warning when memory not found by generatedFileID 2025-03-19 15:20:10 +05:30
Prateek Sunal
38fd244811 fix(memory-widget): onTap widget should redirect to memory page 2025-03-19 15:18:19 +05:30
Prateek Sunal
3024384628 fix(home-widget): update memories check to showAnyMemories 2025-03-19 15:05:30 +05:30
Prateek Sunal
55ec76d5f6 Merge remote-tracking branch 'origin/memories_qa' into migrate-things 2025-03-19 15:05:01 +05:30
Prateek Sunal
2e9517d75f fix(memory-w): add force sync option for widget 2025-03-19 15:01:52 +05:30
laurenspriem
8aacb503c1 Memories widget api attempt 2025-03-19 14:54:46 +05:30
laurenspriem
743205f4c8 Fix duplicates in time memories 2025-03-19 14:54:25 +05:30
laurenspriem
80188cb8ea Copy change 2025-03-19 14:29:29 +05:30
laurenspriem
f21ed45fee Fix shuffle clip memories 2025-03-19 13:24:48 +05:30
Manav Rathi
a28932c319 [web] Don't block page load on malformed feature flags (#5365) 2025-03-19 13:22:21 +05:30
laurenspriem
e6761ac703 Add logs 2025-03-19 13:19:29 +05:30
Manav Rathi
c120cfc74b [web] Don't block page load on malformed feature flags 2025-03-19 13:19:10 +05:30
laurenspriem
6a3b5a7f0e move old memories code 2025-03-19 12:56:55 +05:30
laurenspriem
8308652d17 Move seen memories to end properly 2025-03-19 12:32:22 +05:30
laurenspriem
8e572c39d3 Don't use old memories service for marking seen 2025-03-19 12:18:54 +05:30
laurenspriem
fd40383482 extra null safety check 2025-03-19 11:34:22 +05:30
laurenspriem
b79f72930a Handle deleted files in cache 2025-03-19 11:24:39 +05:30
Neeraj
40f3ed7aad [mob] Fix formatBytes for TB unit (#5352)
## Description

## Tests
2025-03-19 10:45:50 +05:30
Manav Rathi
9c54e3f002 [web] Add web dockerfile (#5364)
References: Various community docker image examples, in particular 

* https://help.ente.io/self-hosting/faq/sharing#dockerfile-example by @
Dylanger on community discord
* https://github.com/DanteMS/ente-web by @DanteMS
* The OG community guide at
https://help.ente.io/self-hosting/guides/external-s3 by @Bramas

Thank you.

In a subsequent PR I'll also add cron jobs to publish this, add docs
etc.

## Tested by

```
docker build -t web-test .
docker run -it --rm -p 3000:3000 -p 3002:3002 -p 3003:3003 web-test 
```
2025-03-19 10:17:40 +05:30
laurenspriem
9e7833bf93 Early stop if no persons 2025-03-19 10:09:55 +05:30
Manav Rathi
0b9242c527 Add web dockerfile 2025-03-19 09:47:23 +05:30
Prateek Sunal
3912f00fb7 chore: bump build 2025-03-18 23:16:02 +05:30
Prateek Sunal
7c58dbf551 fix: only sync when memory change 2025-03-18 23:13:43 +05:30
Prateek Sunal
705c9fbf86 chore: bump number 2025-03-18 21:56:47 +05:30
Prateek Sunal
d004bfa83d Merge remote-tracking branch 'origin/main' into migrate-things 2025-03-18 21:55:55 +05:30
Manav Rathi
64d4c69159 [web] Video streaming WIP - Part 1/x (#5359) 2025-03-18 20:52:22 +05:30
Manav Rathi
f3ac886616 Not realistically happening soon, so avoid a leftover fork 2025-03-18 20:46:04 +05:30
Manav Rathi
4fef527ac2 LF 2025-03-18 20:46:00 +05:30
Manav Rathi
e9344c2ddc example 2025-03-18 20:38:18 +05:30
Vishnu Mohandas
23039eba18 [mob] Update notification icon (#5358)
## Tests
<img width="338" alt="Screenshot 2025-03-18 at 7 56 20 PM"
src="https://github.com/user-attachments/assets/4e8c56ce-95d3-4bc3-a561-b11da4d21111"
/>
2025-03-18 20:35:52 +05:30
Laurens Priem
46c7eb140e [mob][photos] Various memories fixes (#5357)
## Description

## Tests
2025-03-18 20:35:31 +05:30
Manav Rathi
280d29ffda throw on exceptional cases 2025-03-18 20:17:48 +05:30
Manav Rathi
e0843485d5 pl 2025-03-18 20:10:41 +05:30
Manav Rathi
8b427bccad dec 2025-03-18 19:56:54 +05:30
vishnukvmd
e291255838 Update notification icon 2025-03-18 19:55:39 +05:30
Manav Rathi
08594222e0 link 2025-03-18 19:40:33 +05:30
laurenspriem
26f7f85e75 Clear cache debug option 2025-03-18 19:29:16 +05:30
Manav Rathi
4ece954c3a Move 2025-03-18 19:23:23 +05:30
Prateek Sunal
c0b83df2c3 fix: overlay 2025-03-18 19:23:01 +05:30
laurenspriem
a741d4126b Fix persons not showing 2025-03-18 19:16:48 +05:30
Manav Rathi
6ef977be9c Sketch 2025-03-18 19:14:16 +05:30
Prateek Sunal
67ff3c9093 fix(android-widget): remove unnecessary attributes from gradient definition 2025-03-18 18:56:56 +05:30
Prateek Sunal
f21abd5133 feat(widget): android widget with title, subTitle, tap action & fixes for iOS widget 2025-03-18 18:54:28 +05:30
laurenspriem
04ad4a24c8 random clip memories 2025-03-18 18:50:38 +05:30
laurenspriem
86675c66bc Update clip copies 2025-03-18 18:48:03 +05:30
laurenspriem
b7ef4a4adb cleanup 2025-03-18 18:31:59 +05:30
Manav Rathi
78c35e2571 Sketch 2025-03-18 18:26:05 +05:30
laurenspriem
f9d42393a9 memories translations 2025-03-18 18:25:29 +05:30
laurenspriem
fb15ff540a Create titles on main thread 2025-03-18 17:39:38 +05:30
Manav Rathi
8f4f66987c [web] Enum cleanup (towards enabling isolatedDeclarations) (#5355)
Part 2 of https://github.com/ente-io/ente/pull/5353
2025-03-18 16:45:08 +05:30
Manav Rathi
935456bd16 For now 2025-03-18 16:40:07 +05:30
Manav Rathi
2a55215c62 Start enabling 2025-03-18 16:20:42 +05:30
Manav Rathi
16d2539bbf conv 2025-03-18 15:55:05 +05:30
Manav Rathi
2a883e48ca conv 2025-03-18 15:48:51 +05:30
Manav Rathi
96fa0a8472 conv 2025-03-18 15:43:53 +05:30
Manav Rathi
0c00433bec conv 2025-03-18 15:31:56 +05:30
Ashil
a05cf1168f [mob][photos] Use new asset for splash screen (#5354) 2025-03-18 15:22:06 +05:30
Manav Rathi
76360d7100 Tweak logging 2025-03-18 15:15:35 +05:30
Prateek Sunal
91e4ab3e4d fix(memories): sync on iOS 2025-03-18 15:11:12 +05:30
Manav Rathi
a2475c32e9 [web] Enum cleanup (towards enabling isolatedModules) - Part 1 (#5353) 2025-03-18 15:09:44 +05:30
Manav Rathi
7182ce015d conv 2025-03-18 14:57:17 +05:30
Prateek Sunal
dfca616ba5 fix: bg color on tinted mode 2025-03-18 14:49:20 +05:30
Manav Rathi
bad4ae47a4 conv 2025-03-18 14:38:39 +05:30
ashilkn
0d05b9134a Use new asset for splash screen 2025-03-18 14:34:26 +05:30
Manav Rathi
2b784d80c3 conv 2025-03-18 14:32:40 +05:30
Neeraj Gupta
2e3ac8b485 Return complete claim instead of userID 2025-03-18 14:30:24 +05:30
Neeraj Gupta
47f0c88ed8 Extract method 2025-03-18 14:27:39 +05:30
Manav Rathi
48eec72bf6 conv UploadResult 2025-03-18 14:26:15 +05:30
Neeraj Gupta
162ce32b8e omitEmpty field from claim json 2025-03-18 14:23:54 +05:30
Neeraj Gupta
a1dbdfd6ba Reuse existing claim for recovery 2025-03-18 14:22:15 +05:30
Manav Rathi
b065e20d65 conv 2025-03-18 13:58:31 +05:30
Manav Rathi
5e0991aa9c conv 2025-03-18 13:44:09 +05:30
Manav Rathi
05b0e84a2a conv 2025-03-18 13:29:27 +05:30
laurenspriem
4a478e67e3 update clip queries 2025-03-18 13:18:01 +05:30
Manav Rathi
80eb4deece Fix 2025-03-18 13:06:02 +05:30
laurenspriem
614c3e0548 Randonmize person memories pick 2025-03-18 13:00:41 +05:30
Manav Rathi
30da80f058 conv 2025-03-18 13:00:40 +05:30
Neeraj Gupta
582709f4f5 [mob] Fix formatBytes for TB unit 2025-03-18 12:58:13 +05:30
Manav Rathi
62a8b2dc88 conv 2025-03-18 12:48:05 +05:30
laurenspriem
2fa9561c8c Adjusting people clip queries to prevent NSFW 2025-03-18 11:57:55 +05:30
Neeraj Gupta
74072b952d Add JWT model for account recovery 2025-03-18 11:43:45 +05:30
Neeraj
f26a2f6c83 [mob] Avoid redundant event (#5351)
## Description

## Tests
2025-03-18 11:11:56 +05:30
Neeraj Gupta
c145412b9f Avoid redundant event 2025-03-18 11:06:39 +05:30
laurenspriem
d854019897 Better logging of memories update 2025-03-18 10:28:25 +05:30
Manav Rathi
d3d65d26cf [web] Refactor file viewer favorite to match archive code paths (#5350) 2025-03-18 10:20:04 +05:30
Manav Rathi
8c16c41b90 Omit empty collection name row in hidden section 2025-03-18 10:12:16 +05:30
Manav Rathi
58ce181a40 Fin 2025-03-18 09:59:34 +05:30
Manav Rathi
fb7fe05716 trigger 2025-03-18 09:45:36 +05:30
Manav Rathi
9551861ed7 clear 2025-03-18 09:21:47 +05:30
Manav Rathi
fb7d18e749 hook up 2025-03-18 09:14:28 +05:30
Manav Rathi
c3af3fada1 propogate 2025-03-18 08:46:48 +05:30
Manav Rathi
0455f7bd23 ditto wip 2025-03-18 08:26:13 +05:30
Ashil
7057e732d8 [mob][photos] Reupload iOS icon assets with unique names + Remove unused Asset set (#5346) 2025-03-18 05:53:19 +05:30
ashilkn
ecbb0e3ea7 [mob][photos] Remove unused Asset set 2025-03-17 23:11:27 +05:30
ashilkn
74116263a3 [mob][photos] Reupload iOS icon assets with unique names 2025-03-17 22:56:36 +05:30
Ashil
361a73075e [mob][photos] Support for iOS tinted icons + clean up (#5342)
### Different icons (Green, Light, Dark & OG) under different icon
themes (Light, Dark, Automatic & Tinted):


https://github.com/user-attachments/assets/2387cbab-59cc-4b27-a7b7-f57097460553



https://github.com/user-attachments/assets/c7e94283-f787-48de-a174-48b950f8b978



https://github.com/user-attachments/assets/c64f4999-c204-4b6e-a911-d3c7457bf916



https://github.com/user-attachments/assets/9e4ac258-a084-410b-a8c0-60a409366527
2025-03-17 22:41:17 +05:30
Manav Rathi
aa72fc2e39 [web] Gallery reducer nomenclature cleanup (#5345) 2025-03-17 20:47:22 +05:30
Prateek Sunal
f9365016c3 Merge remote-tracking branch 'origin/main' into migrate-things 2025-03-17 20:24:11 +05:30
Prateek Sunal
4ed8c2004a chore: bump things 2025-03-17 20:24:02 +05:30
Prateek Sunal
3424700cfe [mob] feat(memories): make iOS release ready 2025-03-17 20:21:35 +05:30
Manav Rathi
85143b9a24 Rename 2025-03-17 20:18:52 +05:30
Manav Rathi
278c082a38 Update gallery 2025-03-17 20:10:29 +05:30
Manav Rathi
8dee052ebb [web] Gallery reducer nomenclature cleanup 2025-03-17 19:57:28 +05:30
Vishnu Mohandas
c224b5c8f8 docs-updatedfaq (#5336)
## Description

## update faq
2025-03-17 19:50:19 +05:30
Manav Rathi
42edba6680 [web] Outline sync code (#5344) 2025-03-17 18:58:06 +05:30
Manav Rathi
d58af3f88d Upd 2025-03-17 18:48:02 +05:30
Manav Rathi
4c1bdcf3d0 Systematize 2025-03-17 18:37:32 +05:30
Prateek Sunal
2976fd7269 Merge branch 'main' into migrate-things 2025-03-17 18:30:21 +05:30
Manav Rathi
df17ac3c91 Reuse 2025-03-17 18:17:45 +05:30
Manav Rathi
8575bd83ac Also colln 2025-03-17 18:03:24 +05:30
Manav Rathi
be046cd906 Gen 2025-03-17 17:51:14 +05:30
Prateek Sunal
f0d23fe873 [mob] fix(memories): iOS tint, hide when disabled, sync on change, store generatedId 2025-03-17 17:38:13 +05:30
Neeraj
bdd6adcee3 [mob][photos] Minor fixes for memories and shift date (#5341)
## Description

Small fixes for memories and shift date

## Tests
2025-03-17 17:26:45 +05:30
ashilkn
5791bfdf76 [mob][photos] Add iOS tinted asset for OG icon to avoid an edge case where the new tinted icon is coming up instead of the old one 2025-03-17 17:09:24 +05:30
ashilkn
592e6c914b [mob][photos] Update iOS tinted icon asset 2025-03-17 16:59:07 +05:30
ashilkn
7f58b58ea9 [mob][photos] Use 'Single size' config for old app icon on iOS 2025-03-17 16:51:23 +05:30
laurenspriem
8220f5a484 [mob][photos] Less empty space 2025-03-17 16:47:57 +05:30
Neeraj
acfaf79178 [mob] SqlDB mixin class for common operations (#5338)
## Description

## Tests
2025-03-17 16:25:11 +05:30
Manav Rathi
a8cff32d04 [web] New translations (#5340)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-03-17 16:07:47 +05:30
Crowdin Bot
b2f5b58fe9 New Crowdin translations by GitHub Action 2025-03-17 10:35:44 +00:00
Manav Rathi
e36e99fa57 [web] Add an archive action in the file viewer (#5339) 2025-03-17 16:04:59 +05:30
laurenspriem
2aad26b048 [mob][photos] Fix dateformat 2025-03-17 16:01:58 +05:30
Manav Rathi
19f3cc1141 tr 2025-03-17 15:53:14 +05:30
Manav Rathi
89b8e98cd2 Fix 2025-03-17 15:48:20 +05:30
laurenspriem
7a4fa1c2ac [mob][photos] Copy 2025-03-17 15:47:01 +05:30
Manav Rathi
d032df105b Ref 2 2025-03-17 15:38:57 +05:30
laurenspriem
c1cca99973 [mob][photos] Fix you and me memory 2025-03-17 15:31:17 +05:30
Neeraj Gupta
3017f189fd [mob] Rename 2025-03-17 15:29:47 +05:30
ashilkn
71865607b7 [mob][photos] Delete unused Asset set 'AppIcon-dev' from iOS Asset Catalog 2025-03-17 15:29:07 +05:30
ashilkn
20c8d4cefa [mob][photos] Add support for iOS icon themes on the new v1 icons 2025-03-17 15:25:20 +05:30
Neeraj Gupta
109203d331 [mob] Move migrate in common mixin class 2025-03-17 15:23:16 +05:30
laurenspriem
e807747079 [mob][photos] Compute trigger 2025-03-17 15:18:06 +05:30
Manav Rathi
0024b7a400 Ref 2025-03-17 15:14:37 +05:30
Manav Rathi
7f6974697a Align 2025-03-17 15:04:22 +05:30
Neeraj Gupta
632d6119d2 [mob] move 2025-03-17 15:03:42 +05:30
Manav Rathi
ac5fc4b893 Integrate 2025-03-17 14:33:11 +05:30
Jay
f2c8383cb7 docs-updatedfaq 2025-03-17 14:19:36 +05:30
Manav Rathi
76ad97e59e Clear 2025-03-17 14:12:44 +05:30
Manav Rathi
3ad0a260e0 reorient 2025-03-17 14:05:14 +05:30
Manav Rathi
dff8ef8512 redo wip 3 2025-03-17 13:16:13 +05:30
Manav Rathi
2d003d8359 redo wip 2 2025-03-17 13:16:13 +05:30
Manav Rathi
a5e1cd2a5c redo wip 2025-03-17 13:16:13 +05:30
Manav Rathi
57f43a20e3 Part 2025-03-17 13:16:13 +05:30
Manav Rathi
0ec76545c5 Return a new file 2025-03-17 13:16:13 +05:30
Manav Rathi
346cb175b4 Outline 2025-03-17 13:16:12 +05:30
Manav Rathi
efb6656c28 Pick the latest from files 2025-03-17 13:16:12 +05:30
Manav Rathi
1f8fa69f8b Towards new layering 2025-03-17 13:16:12 +05:30
Manav Rathi
400157a46d Use alt 2025-03-17 13:16:12 +05:30
Manav Rathi
a70d2b9c05 Alt 2025-03-17 13:16:12 +05:30
Manav Rathi
0849f6d85c note 2 2025-03-17 13:16:12 +05:30
Manav Rathi
a488e4bb9f Note 1 2025-03-17 13:16:12 +05:30
Manav Rathi
df2678f358 Clear on error 2025-03-17 13:16:12 +05:30
Manav Rathi
f7d5a305b7 Handle more cases 2025-03-17 13:16:12 +05:30
Manav Rathi
0b45e6c3c0 scope 2025-03-17 13:16:12 +05:30
Manav Rathi
8f87d141ad shortcut 2025-03-17 13:16:12 +05:30
Manav Rathi
06e60d60ca Fix 2025-03-17 13:16:12 +05:30
Manav Rathi
c366d7e282 Ref 2025-03-17 13:16:12 +05:30
Manav Rathi
1db7d3aa90 All 3 2025-03-17 13:16:12 +05:30
Manav Rathi
2ba4bce241 vis 1 2025-03-17 13:16:12 +05:30
Manav Rathi
e71379e725 Forward 2025-03-17 13:16:12 +05:30
Manav Rathi
f8e1736254 wip gallery changes 2025-03-17 13:16:12 +05:30
Manav Rathi
5b896125f8 reducer 2 2025-03-17 13:16:12 +05:30
Manav Rathi
f2a3ebf1c5 wip reducer 2025-03-17 13:16:12 +05:30
Manav Rathi
810d9a7acd Sketch 2025-03-17 13:16:12 +05:30
Manav Rathi
a8e06372af sketch 2025-03-17 13:16:12 +05:30
Manav Rathi
4e6e02e300 [desktop] Minor ML tweaks (#5335) 2025-03-17 12:48:55 +05:30
Manav Rathi
accf820978 Tweak positioning 2025-03-17 12:45:07 +05:30
Manav Rathi
71646c4136 log to help debug a customer's support issue 2025-03-17 12:41:09 +05:30
Manav Rathi
7e4e72979f [desktop] Stop force resets on upload of large folders (#5334) 2025-03-17 12:37:30 +05:30
Manav Rathi
20d17ec817 [desktop] Stop force resets 2025-03-17 12:35:22 +05:30
mangesh
546f438b59 [docs] remove unnecessary dep (#5331) 2025-03-17 12:11:53 +05:30
laurenspriem
49b280d2b0 [mob][photos] Fix consistent time format 2025-03-17 11:42:20 +05:30
Manav Rathi
3461710b79 [desktop] Regular dep updates (#5333) 2025-03-17 11:07:58 +05:30
Manav Rathi
9de85946bf [desktop] Regular dep updates 2025-03-17 11:04:24 +05:30
laurenspriem
32a5399c58 [mob][photos] Log faceIDs 2025-03-17 10:55:05 +05:30
Laurens Priem
74b02130a5 Cluster remove copy (#5332)
## Description

- Added delete file option in cluster page (it's already there for named
persons, should be here too)
- Similar copy between cluster and named person for removing file
2025-03-17 10:48:47 +05:30
laurenspriem
c6da46d6fe [mob][photos] Similar copy between cluster and person 2025-03-17 10:41:19 +05:30
laurenspriem
6ad6db84ae [mob][photos] Add delete option for cluster files 2025-03-17 10:38:44 +05:30
mngshm
9825ab2a6f remove unnecessary dep & focus only on docker/compose 2025-03-17 10:21:16 +05:30
Manav Rathi
de567f9c5b [web] New translations (#5328)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-03-17 09:53:13 +05:30
Crowdin Bot
be00a108c6 New Crowdin translations by GitHub Action 2025-03-17 00:37:47 +00:00
Neeraj
2532ebc34e [auth][mob] Fix change-password flow immediately after login (#5320)
## Description

## Tests
2025-03-15 09:35:43 +05:30
Neeraj Gupta
00db0ebf25 [auth] Fix change password flow post login 2025-03-15 09:32:54 +05:30
Neeraj Gupta
f67764f9fe [mob] Fix change password on login->immedidate change password flow 2025-03-15 09:30:50 +05:30
Prateek Sunal
31652347d1 Merge remote-tracking branch 'origin/main' into migrate-things 2025-03-15 01:27:28 +05:30
Prateek Sunal
59f3687c97 fix: new captureFile with thumbnail and notify via toast when updated home widget 2025-03-15 01:27:25 +05:30
Prateek Sunal
1b501025c4 fix: fetch memories (#5319)
## Description

## Tests
2025-03-14 22:24:48 +05:30
Prateek Sunal
60203e7b0b fix: fetch memories 2025-03-14 22:09:50 +05:30
Neeraj
7fe914258e fix: add IconGreen (#5318)
## Description

## Tests
2025-03-14 21:58:45 +05:30
Prateek Sunal
4d37231561 fix: add IconGreen 2025-03-14 21:56:19 +05:30
Neeraj
9a4027de24 [mob] iOS home widget + memories (#5297)
## Description

This PR implements widgets for iOS, bringing memories to your home
screen.

## Tests
2025-03-14 21:49:52 +05:30
Prateek Sunal
b48a0aed42 chore: bump lock 2025-03-14 21:43:07 +05:30
Prateek Sunal
39082c71b9 Merge remote-tracking branch 'origin/main' into home-widget-ios-lesgo 2025-03-14 21:38:10 +05:30
Prateek Sunal
2e7f76bdba chore: push as usual 2025-03-14 21:37:30 +05:30
Neeraj
0ec87cd10f [mob] Fix ios debug build (#5317)
## Description

## Tests
2025-03-14 21:36:06 +05:30
Prateek Sunal
4a58909f03 chore: bump version 2025-03-14 21:35:33 +05:30
Neeraj Gupta
b4a32ff28a [mob] Fix ios debug build 2025-03-14 21:34:30 +05:30
Prateek Sunal
7e3d0952a7 feat: push all 2025-03-14 20:02:51 +05:30
Prateek Sunal
0168118920 Merge remote-tracking branch 'origin/main' into home-widget-ios-lesgo 2025-03-14 19:53:58 +05:30
Neeraj
8819c7ec09 [mob][photos] Memories (#5316)
## Description

## Tests
2025-03-14 19:40:15 +05:30
laurenspriem
d7c3d3d89f [mob][photos] Wait on update 2025-03-14 19:26:40 +05:30
laurenspriem
4dea737f5f [mob][photos] Fix show all activities 2025-03-14 19:26:10 +05:30
Prateek Sunal
36dd02d6f0 Merge remote-tracking branch 'origin/home-widget-ios-lesgo' into home-widget-ios-lesgo 2025-03-14 19:10:25 +05:30
Prateek Sunal
7b1c770705 Merge remote-tracking branch 'origin/home-widget-ios-lesgo' into home-widget-ios-lesgo 2025-03-14 19:09:51 +05:30
Prateek Sunal
8733758504 fix: push changes 2025-03-14 19:09:46 +05:30
Neeraj Gupta
3f476ec770 [mob] Handle empty list 2025-03-14 19:09:41 +05:30
Neeraj Gupta
31c490734b [mob] Fix typo 2025-03-14 18:57:35 +05:30
Prateek Sunal
f5acad963f fix: height and width 2025-03-14 18:53:40 +05:30
laurenspriem
7adebef19e [mob][photos] Resolved todos 2025-03-14 18:51:45 +05:30
Prateek Sunal
f1e477f140 Merge remote-tracking branch 'origin/home-widget-ios-lesgo' into home-widget-ios-lesgo 2025-03-14 18:48:56 +05:30
Prateek Sunal
b3a9ed0105 fix: finalize logic of things 2025-03-14 18:48:38 +05:30
Neeraj Gupta
920e318074 [mob] Fix bad state 2025-03-14 18:45:32 +05:30
laurenspriem
47f76dc40e [mob][photos] Park base locations for now 2025-03-14 17:59:00 +05:30
laurenspriem
ed7b646067 [mob][photos] Remove internal flag 2025-03-14 17:50:29 +05:30
laurenspriem
fd8a324f58 [mob][photos] Show seen memories last 2025-03-14 17:33:47 +05:30
laurenspriem
f05c3c98a7 [mob][photos] Clip memories 2025-03-14 16:49:52 +05:30
Prateek Sunal
35ab57f316 fix: fetch memory instead of favorites now 2025-03-14 16:05:10 +05:30
Prateek Sunal
42a60fcf85 Merge remote-tracking branch 'origin/memories_api_widget' into home-widget-ios-lesgo 2025-03-14 16:03:50 +05:30
Prateek Sunal
732d2fca97 Merge remote-tracking branch 'origin/main' into home-widget-ios-lesgo 2025-03-14 16:03:43 +05:30
laurenspriem
ae2c47f236 [mob][photos] Don't show hidden persons 2025-03-14 14:30:37 +05:30
laurenspriem
883e0f5a52 [mob][photos] Queue to recompute when people are added 2025-03-14 14:28:24 +05:30
laurenspriem
fc79d3d967 [mob][photos] Remove unneeded condition 2025-03-14 14:15:04 +05:30
Vishnu Mohandas
97f1951ba1 Icon for v1 (#5313)
## Description
New icons + icon switcher + splashscreen.

<img
src="https://github.com/user-attachments/assets/b3753ecb-bf50-4dff-b004-7360f0d36cde"
width="222px"/>
<img
src="https://github.com/user-attachments/assets/f57ca067-54aa-471d-bf74-bece72675846"
width="222px"/>

## Tests
- [x] Android
- [x] iOS 
- [x] Circle
- [x] Squircle
- [x] Monochrome
2025-03-14 13:55:45 +05:30
laurenspriem
7aead5fe11 [mob][photos] Remove limit 2025-03-14 13:49:28 +05:30
vishnukvmd
bc75cd460f Merge branch 'main' into icon 2025-03-14 13:40:43 +05:30
vishnukvmd
cdcfb35053 OG monochrome 2025-03-14 13:38:36 +05:30
vishnukvmd
5b0530013e Update monochrome icon 2025-03-14 13:34:45 +05:30
laurenspriem
71399e01f0 [mob][photos] Increase memories refresh frequency 2025-03-14 13:11:02 +05:30
laurenspriem
8245ba0f9b [mob][photos] Remove more loop syntax 2025-03-14 13:03:25 +05:30
laurenspriem
78067230aa [mob][photos] todo 2025-03-14 12:59:53 +05:30
laurenspriem
41365619b5 [mob][photos] Remove unneeded loop syntax 2025-03-14 12:57:17 +05:30
vishnukvmd
c15000dd67 Setup monochrome icon 2025-03-14 12:40:05 +05:30
vishnukvmd
7f795407d8 Generate light mode icon 2025-03-14 12:32:40 +05:30
vishnukvmd
1c44f077ba Generate dark mode icon 2025-03-14 12:32:40 +05:30
vishnukvmd
0f0270a8bd Generate default icon 2025-03-14 12:32:40 +05:30
vishnukvmd
dc2aebbffc Update e 2025-03-14 12:32:40 +05:30
vishnukvmd
91ff3f55a3 Setup monochrome 2025-03-14 12:32:39 +05:30
laurenspriem
eb19d0af97 [mob][photos] Move constants 2025-03-14 12:28:58 +05:30
laurenspriem
e099aa0e0f [mob][photos] Always show month memories 2025-03-14 11:59:28 +05:30
laurenspriem
24f0638975 [mob][photos] standardize titles 2025-03-14 11:41:05 +05:30
laurenspriem
f0328f6563 [mob][photos] Add more people activities 2025-03-14 11:23:22 +05:30
laurenspriem
60afab62b0 [mob][photos] Only recompute when going into moments section 2025-03-14 10:46:13 +05:30
laurenspriem
0e3609542c [mob][photos] Force compute new cache when needed 2025-03-14 10:15:03 +05:30
laurenspriem
5c65f6a30d [mob][photos] Memory calculations in computer 2025-03-14 10:06:49 +05:30
laurenspriem
8e0a5e4419 [mob][photos] Null safety check 2025-03-14 10:05:31 +05:30
laurenspriem
0d99c90d9f [mob][photos] Log calc time for memories update 2025-03-14 09:40:05 +05:30
Prateek Sunal
b57f553d8d Merge remote-tracking branch 'origin/main' into home-widget-ios-lesgo 2025-03-14 04:18:21 +05:30
Prateek Sunal
1394d539f0 feat: a working prototype for iOS 2025-03-14 04:18:12 +05:30
Ashil
16c2358b4d [mob][photos] Ensure that the shared data received through the intent is a photo or video before showing a dialog specific to shared photo/video. (#5310) 2025-03-13 19:04:28 +05:30
ashilkn
18671730c5 [mob][photos] Extract string 2025-03-13 18:47:40 +05:30
ashilkn
79ddde8777 [mob][photos] Remove unused file 2025-03-13 18:44:57 +05:30
ashilkn
0702ee98bc [mob][photos] Ensure that the shared data received through the intent is a photo or video before showing a dialog specific to shared media 2025-03-13 18:36:10 +05:30
laurenspriem
7391602302 [mob][photos] works even if no ML data 2025-03-13 16:19:04 +05:30
laurenspriem
1e96044a51 [mob][photos] Separate data gathering and calculations 2025-03-13 15:59:34 +05:30
ashilkn
b0a1cf0ca1 Merge branch 'main' into icon 2025-03-13 14:54:37 +05:30
Neeraj
4b862f52fc [server] Update from address for family related emails (#5308)
## Description

## Tests
2025-03-13 14:21:37 +05:30
Neeraj Gupta
629d0e69cd [server] Update from address for family related emails 2025-03-13 14:18:57 +05:30
ashilkn
8e220f474c [mob][photos] Make radio buttons tappable in app icon selector 2025-03-13 14:05:38 +05:30
Neeraj
f49cf78b2d [mob] Render image with high filter quality (#5306)
## Description

## Tests
2025-03-13 12:32:59 +05:30
Neeraj Gupta
7ca49bb753 [mob] Render image with high filter quality 2025-03-13 12:15:49 +05:30
vishnukvmd
5526a46434 Add monochrome 2025-03-13 12:07:23 +05:30
laurenspriem
1675cfc388 [mob][photos] Simplify get maps 2025-03-13 11:49:51 +05:30
laurenspriem
05f91d233c [mob][photos] Better safety checking 2025-03-13 11:41:52 +05:30
laurenspriem
217eaaea98 [mob][photos] Fallback if ML is off 2025-03-13 10:43:12 +05:30
Prateek Sunal
5670de7e01 [mob] lint fixes (#5298)
## Description

From 44 issues down to 7 issues for lint. Leftovers are related to
[`isPasswordInput`](2ccd92519b/mobile/lib/ui/components/text_input_widget.dart (L41))
and [`flutter_map`](https://pub.dev/packages/flutter_map) deprecated
params.

<img width="995" alt="image"
src="https://github.com/user-attachments/assets/a1f164bd-6be1-477f-87b2-9a28ab3adfec"
/>


## Tests
2025-03-13 09:49:14 +05:30
Ashil
d62dd4d63a [mob][photos] Update favourite icon in File's app bar (#5304)
## Description


https://github.com/user-attachments/assets/99f0e0cd-d38a-4f7b-ad3e-c75ed43c6d0b
2025-03-13 05:46:51 +05:30
ashilkn
deb458801a [mob][photos] Add haptics when favouriting from file app bar 2025-03-13 01:38:52 +05:30
ashilkn
a616e0b67e [mob][photos] Update file app bar's favourite icon's colors 2025-03-13 01:08:58 +05:30
vishnukvmd
21cc52987c Update docs 2025-03-13 00:00:22 +05:30
vishnukvmd
4009078fb0 Delete unused file 2025-03-12 23:58:56 +05:30
vishnukvmd
b82cbfb025 Sample commit for adding icon 2025-03-12 23:57:52 +05:30
vishnukvmd
40ae8d91c3 Add OG icon 2025-03-12 23:55:17 +05:30
vishnukvmd
8aab6513f2 Fix icons 2025-03-12 23:29:18 +05:30
vishnukvmd
cf3da97a50 Simplify 2025-03-12 23:08:20 +05:30
vishnukvmd
24f2ac2d8b Remove debug 2025-03-12 18:34:40 +05:30
Prateek Sunal
f27807622d fix: update code 2025-03-12 18:29:36 +05:30
ashilkn
7a090910cc Merge branch 'icon_picker_ui' into icon 2025-03-12 18:25:18 +05:30
ashilkn
50add97171 [mob][photos] chore 2025-03-12 18:24:49 +05:30
ashilkn
de7cd585ba [mob][photos] Show available icons in app icon selection screen and get selection working 2025-03-12 17:22:35 +05:30
laurenspriem
9cfd8a7671 [mob][photos] Don't use location tag for trips 2025-03-12 16:42:59 +05:30
Prateek Sunal
ab89b28ccc [mob] chore: remove unused imports 2025-03-12 16:37:52 +05:30
Prateek Sunal
fc7203d2ab [mob] fix: remove unused 2025-03-12 16:36:55 +05:30
vishnukvmd
2f7a6c7fd1 Unbreak flutter run by removing LAUNCHER nodes per flavor 2025-03-12 15:55:06 +05:30
Prateek Sunal
6746c64a66 Merge remote-tracking branch 'origin/main' into home-widget-ios-lesgo 2025-03-12 15:44:26 +05:30
Prateek Sunal
2578dec249 [mob] feat: update slideshow widget code to support iOS 2025-03-12 15:42:12 +05:30
vishnukvmd
185da3fa9a Remove unused flavor 2025-03-12 15:30:26 +05:30
Neeraj
2ccd92519b [auth] remove ubuntu-20.04 runner & more (#5232)
## Description

Remove deprecated ubuntu-20.04 workflow and merge it with the latest.

## Tests
2025-03-12 15:16:52 +05:30
Laurens Priem
b96c350c2e [mob][photos] Bulk edit date (#5131)
## Description

Improved the edit date functionality:
- Bulk edit date
- Shift dates
- New edit date UI more in line with Ente designs

## Design

<img
src="https://github.com/user-attachments/assets/ce20c6f6-5ade-4e1b-8c2f-3dd7e9612fcd"
width="300px">

<img
src="https://github.com/user-attachments/assets/66f3f68b-8557-4859-a5cf-f70f692187c5"
width="300px">

<img
src="https://github.com/user-attachments/assets/973f1ff5-9a54-4ab0-afb7-0cc68d4421d6"
width="300px">

<img
src="https://github.com/user-attachments/assets/906e5106-7264-4c60-aeb6-6f1d1586e9ec"
width="300px">

<img
src="https://github.com/user-attachments/assets/6b786bd5-58d7-4e66-85b0-73f7ef5eb817"
width="300px">

<img
src="https://github.com/user-attachments/assets/458daf34-6047-4a0a-8feb-9683dd2d7374"
width="300px">

<img
src="https://github.com/user-attachments/assets/85da4b34-8e47-40f2-ba56-05fb0818f6e3"
width="300px">


## Tests

Tested in debug mode on my pixel phone.
2025-03-12 15:16:20 +05:30
laurenspriem
0625571fdc [mob][photos] Use existing update mmd method 2025-03-12 15:12:33 +05:30
vishnukvmd
5e2fbf9c7f Remove duplicate entries from launcher, breaking flutter run 2025-03-12 15:07:01 +05:30
vishnukvmd
84f329ea9c Update 2025-03-12 15:07:01 +05:30
ashilkn
f8decd42f1 Merge branch 'icon' into icon_picker_ui 2025-03-12 14:12:37 +05:30
ashilkn
f92b7b3ea8 [mob][photos] Update spalsh screen 2025-03-12 14:02:57 +05:30
Neeraj
70418d70a7 docs-ios backup (#5293)
## Description

## add iOS album backup faq
2025-03-12 13:54:25 +05:30
Manav Rathi
c12335d5fe [web] Make the accountsUrl optional when pk is not set (#5296) 2025-03-12 13:21:26 +05:30
Manav Rathi
a9887cb235 [web] Make the accountsUrl optional when pk is not set 2025-03-12 13:15:49 +05:30
Manav Rathi
f7c47674d1 [web] File viewer code cleanup (#5294)
Cleaning pending leftovers from old viewer.
2025-03-12 12:52:14 +05:30
laurenspriem
2e70eb678d [mob][photos] Unscrew translations 2025-03-12 12:26:49 +05:30
Manav Rathi
c8b07fcae5 FileThumbnail 2025-03-12 12:18:14 +05:30
Jay
6d31ecbe2f docs-ios backup 2025-03-12 12:13:28 +05:30
laurenspriem
8375c54b9b Merge branch 'main' into bulk_edit_date 2025-03-12 12:07:57 +05:30
Neeraj
26c35d997a [mob] Reduce fully gallery reload during upload matching (#5283)
## Description

## Tests
2025-03-12 11:56:06 +05:30
laurenspriem
117e4f3475 [mob][photos] Re-organize 2025-03-12 11:51:51 +05:30
laurenspriem
7f6d4027a5 [mob][photos] Properly update mmd 2025-03-12 11:23:43 +05:30
laurenspriem
faf2f39990 [mob][photos] Forgot earlier commit 2025-03-12 11:23:06 +05:30
Manav Rathi
4312b024f6 cleanup 2025-03-12 10:49:23 +05:30
Manav Rathi
500ecc3966 Prune 2025-03-12 10:34:03 +05:30
Manav Rathi
f92db38ca1 uncontext 2025-03-12 10:28:05 +05:30
Manav Rathi
c07f2f4775 types 2025-03-12 10:21:33 +05:30
Manav Rathi
57a226ed2a Rename 2025-03-12 09:35:43 +05:30
Manav Rathi
367d373c18 Semantic + better layout for long descriptions 2025-03-12 09:14:24 +05:30
Manav Rathi
85d6552943 [web] New translations (#5290)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-03-12 08:39:01 +05:30
Crowdin Bot
56876e4a28 New Crowdin translations by GitHub Action 2025-03-12 03:01:31 +00:00
Manav Rathi
738128a7c5 [web] File viewer translation related cleanup (#5289) 2025-03-12 08:30:38 +05:30
Manav Rathi
eab1d98d2d tr 2025-03-12 08:24:05 +05:30
Manav Rathi
7aa4f5bb16 l 2025-03-12 08:15:08 +05:30
Manav Rathi
27fa57f608 More 2025-03-12 08:05:22 +05:30
Manav Rathi
f135b65d31 sc 2025-03-12 08:02:59 +05:30
Manav Rathi
9b09ebe3f0 fav 2025-03-12 07:58:26 +05:30
Vishnu Mohandas
9e64752677 [auth] Add icon for LinkedIn (#5284)
## Description

Add SVG icon for LinkedIn: https://www.linkedin.com/.

See logo being used here:
https://en.m.wikipedia.org/wiki/File:LinkedIn_icon.svg
2025-03-12 07:55:49 +05:30
Manav Rathi
563d65cc1d tr 2025-03-12 07:09:58 +05:30
Manav Rathi
68132147e7 Reuse 2025-03-12 06:53:50 +05:30
Manav Rathi
6979617d12 Prune 2025-03-12 06:46:07 +05:30
Manav Rathi
c4812abab3 Use 2025-03-12 06:36:48 +05:30
Manav Rathi
f09ef7ae10 pn 2025-03-12 06:35:56 +05:30
Manav Rathi
062bbdfa88 list join 2025-03-12 06:33:04 +05:30
Daniel Tsiang
1f87ef8cb7 [auth] Add icon for LinkedIn 2025-03-11 15:47:15 +00:00
laurenspriem
fc9bac09ef [mob][photos] Remove old code 2025-03-11 19:21:39 +05:30
laurenspriem
5d15905736 [mob][photos] Use in file info too 2025-03-11 19:19:33 +05:30
laurenspriem
39bb4b4400 [mob][photos] Option to not show header 2025-03-11 19:07:04 +05:30
Neeraj
df14f18881 [mob][perf] Improve computation for discover sections by batching lookup (#5282)
## Description
- For 14k files, this reduced the overall time to calculate discovery
section from **1600ms** to **250ms**
- This should also reduce the memory overhead as we have reduce the
number of times we are passing vector to different isolate.

## Tests
2025-03-11 17:43:37 +05:30
Neeraj Gupta
c4d8ddbf26 [mob] add docs 2025-03-11 17:32:50 +05:30
Neeraj Gupta
9132be591d [mob][perf] Avoid db reload on mapping local file to remote file 2025-03-11 17:30:00 +05:30
laurenspriem
30b3af8691 [mob][photos] Extract strings 2025-03-11 17:20:22 +05:30
Neeraj Gupta
2fa555163c [mob] Batch query lookup for discover sections 2025-03-11 16:48:54 +05:30
laurenspriem
890b8a5ac7 [mob][photos] Give option in file selection actions 2025-03-11 16:46:27 +05:30
laurenspriem
07de44b235 [mob][photos] show day of week in picker 2025-03-11 16:40:23 +05:30
Neeraj Gupta
643da1491a [mob] Add support for getting clip results for multiple queries 2025-03-11 15:07:31 +05:30
laurenspriem
c62cde415f [mob][photos] Contain file name 2025-03-11 14:33:24 +05:30
laurenspriem
83404a646e [mob][photos] Align tiles 2025-03-11 14:26:49 +05:30
Prateek Sunal
45c878aa35 Merge remote-tracking branch 'origin/main' into home-widget-ios-lesgo 2025-03-11 13:29:28 +05:30
laurenspriem
54be18dac6 [mob][photos] Align components 2025-03-11 13:17:45 +05:30
laurenspriem
a1c74bb0b2 [mob][photos] newrange fix 2025-03-11 12:51:38 +05:30
Neeraj
3b568bf914 [mob] Refactor local import (#5280)
## Description

## Tests
2025-03-11 12:32:44 +05:30
mangesh
fd325d0be5 [doc] family limits docs (#5268) 2025-03-11 11:39:59 +05:30
Neeraj
8e158677f2 Update family-plans.md 2025-03-11 11:39:44 +05:30
Sven
d8490ea4b1 [auth] Add 2 new icons (MEXC & ICONOMI) (#5271)
Add icons for MEXC and ICONOMI to Ente Auth
2025-03-11 11:38:41 +05:30
Ashil
01e258557c [mob][photo] Show file caption/description in file viewer. (#5279)
## Description

- Tapping on description/caption will open file info.

<img
src="https://github.com/user-attachments/assets/0f9422ec-49bb-43d8-9568-b57748587866"
width="300px">

<img
src="https://github.com/user-attachments/assets/43b704b4-6fc4-44ed-8d7a-97b7d27c90b0"
width="300px">

<img
src="https://github.com/user-attachments/assets/65fca334-14a7-4f01-95c4-46b231687438"
width="300px">

<img
src="https://github.com/user-attachments/assets/8e56cb29-7af6-439e-8627-3badc60aa383"
width="300px">
2025-03-11 11:36:11 +05:30
Bl4ckspell
f9dbf0efea [auth] add luma icon (#5276)
## Description

![Luma](https://github.com/user-attachments/assets/90a404bf-0302-40e9-9653-900dfbfc3a6c)

## Tests
2025-03-11 11:35:37 +05:30
ashilkn
51ef7c60fa [mob][photos] Fix render overlow 2025-03-11 11:21:55 +05:30
Neeraj
600736e70f [auth] Add support for editing number of digits & algorithm (#5190)
## Description
This PR add support to edit the number of digits (between 1 to 10) for
the 2FA codes and also give an option to select algorithms

![image](https://github.com/user-attachments/assets/be4b8c01-0d94-4881-b23d-32e03c14dbeb)
2025-03-11 10:13:31 +05:30
laurenspriem
1977129a68 [mob][photos] am/pm 2025-03-11 10:06:49 +05:30
Manav Rathi
ef3ccbd91b zoom 2025-03-11 09:58:50 +05:30
Manav Rathi
55a68f9d29 tr 2025-03-11 09:54:51 +05:30
Manav Rathi
5918698366 reuse 2025-03-11 09:36:56 +05:30
Manav Rathi
d0b58b75c8 Tweak 2025-03-11 09:32:03 +05:30
Manav Rathi
a72eb78e53 Center 2025-03-11 09:29:18 +05:30
Manav Rathi
8d07b16e09 [web] Misc minor fixes (#5278) 2025-03-11 09:09:18 +05:30
Manav Rathi
caadba3996 Fix empty space
This had been there earlier, had accidentally gotten removed during search bar refactoring
2025-03-11 09:00:24 +05:30
Manav Rathi
427cc9d414 Fix 2025-03-11 08:13:42 +05:30
ashilkn
cfb2e5f1bd [mob][photos] Scaffold app icon selection screen 2025-03-10 22:32:50 +05:30
Manav Rathi
d8995ef375 [web] File viewer code cleanup (#5275) 2025-03-10 21:18:58 +05:30
Manav Rathi
c3831230e0 Move 2025-03-10 21:10:39 +05:30
vishnukvmd
6552562d83 Fix colors 2025-03-10 21:03:45 +05:30
vishnukvmd
226d2b6925 Refactor 2025-03-10 20:55:10 +05:30
vishnukvmd
26e903b1f1 Try new plugin 2025-03-10 20:53:51 +05:30
vishnukvmd
701676beeb Update xml colors 2025-03-10 20:53:46 +05:30
vishnukvmd
fe9c236b71 Try new plugin 2025-03-10 20:53:34 +05:30
vishnukvmd
df20a6185b Fix iOS 2025-03-10 20:53:25 +05:30
Manav Rathi
76d8038899 Let PhotoSwipe show the error 2025-03-10 20:30:45 +05:30
Manav Rathi
ad0169b7e5 cc 2025-03-10 19:56:46 +05:30
Manav Rathi
76887b2205 shared shortcuts 2025-03-10 19:50:39 +05:30
Manav Rathi
7249b25180 F 2025-03-10 19:44:49 +05:30
Prateek Sunal
9c18de33e6 feat: widget on iOS 2025-03-10 19:32:40 +05:30
Manav Rathi
ffd2a55ca0 Retain previous (pre-ps5) behaviour 2025-03-10 19:27:55 +05:30
Manav Rathi
eaf576967b Chrome warnings 2025-03-10 19:24:18 +05:30
Manav Rathi
e6a9ccefe7 ts 2025-03-10 19:01:54 +05:30
Manav Rathi
d0b25b31c8 ts 2025-03-10 18:42:38 +05:30
Manav Rathi
3211e6afe6 Remove the auto hide code, it is too distracting to enable 2025-03-10 18:19:49 +05:30
Manav Rathi
a7cc5e7165 ts 2025-03-10 18:05:43 +05:30
vishnukvmd
8dd1180c85 Update 2025-03-10 18:02:19 +05:30
Manav Rathi
bea32ac7e3 Re 2025-03-10 17:56:10 +05:30
Manav Rathi
3be7f7b55e Inline 2025-03-10 17:47:56 +05:30
Manav Rathi
4a833e0799 Final two 2025-03-10 17:47:56 +05:30
Manav Rathi
10a9ad02f8 Remove no longer needed zi workarounds 2025-03-10 17:47:56 +05:30
vishnukvmd
3dec686458 Update icons 2025-03-10 17:42:40 +05:30
vishnukvmd
ac57a5d90d Update icons 2025-03-10 17:40:00 +05:30
ashilkn
ba79588090 [mob][photos] Fix text colour 2025-03-10 17:38:22 +05:30
ashilkn
3593a8e545 [mob][photos] Open file info bottom sheet when tapped on file description/caption 2025-03-10 17:29:02 +05:30
Sven
f27ad4786a Merge branch 'main' of https://github.com/sv3nnie/ente 2025-03-10 12:52:58 +01:00
Sven
cf0ef0f9f4 Decrease height for MEXC 2025-03-10 12:52:55 +01:00
Sven
00c6de0e53 Merge branch 'ente-io:main' into main 2025-03-10 12:41:06 +01:00
Manav Rathi
643a6cf413 Trim 2025-03-10 16:38:46 +05:30
ashilkn
dbb14f0a24 [mob][photos] Reflect edited caption/description immidiately on file viewer on changing it in file info bottom sheet 2025-03-10 16:36:31 +05:30
Manav Rathi
cba6676bb5 Empty state 2025-03-10 16:26:25 +05:30
laurenspriem
afb80f2131 [mob][photos] use ente colours everywhere 2025-03-10 16:07:09 +05:30
laurenspriem
7c520655a3 [mob][photos] Add new range UI 2025-03-10 16:02:45 +05:30
Manav Rathi
d43cf1fb86 Fin annotation propagation 2025-03-10 15:54:12 +05:30
Manav Rathi
f02974045b Move 2025-03-10 15:53:54 +05:30
Manav Rathi
20268c236a CL 2025-03-10 15:53:54 +05:30
Manav Rathi
0b7aa97db1 wip re 2025-03-10 15:17:58 +05:30
Manav Rathi
9a39298acd Re 2025-03-10 15:17:58 +05:30
Manav Rathi
36e1e758c5 Re 2025-03-10 15:17:58 +05:30
Manav Rathi
f74f13c7a8 web doesn't need the submodule fetch anymore 2025-03-10 15:17:57 +05:30
laurenspriem
812dffc231 [mob][photos] single file header 2025-03-10 15:16:28 +05:30
laurenspriem
5898aebcf1 [mob][photos] max shift setting 2025-03-10 14:51:53 +05:30
laurenspriem
439664fcca [mob][photos] edit dates logic 2025-03-10 14:42:41 +05:30
laurenspriem
7c8599a370 [mob][photos] confirmation button 2025-03-10 14:30:07 +05:30
Vishnu Mohandas
eb9e61579e [docs] Update README.md (#5270)
Fixes https://github.com/ente-io/ente/issues/5262.
2025-03-10 13:34:22 +05:30
Vishnu Mohandas
300b3c89a3 Update README.md 2025-03-10 13:33:52 +05:30
Laurens Priem
302d2af3d2 ;[mob][photos] Memories iteration for internal users (#5253)
## Description

Some minor iterations:
- Added base locations to location section
- More debugging options in moments section
- Performance logging
- Minor tweaks 

## Tests

Tested in debug mode on my pixel phone.
2025-03-10 13:33:51 +05:30
laurenspriem
3feee66d3a Merge branch 'main' into memories_iteration 2025-03-10 13:31:54 +05:30
ashilkn
b953d6d513 [mob][photos] Clean up 2025-03-10 13:27:04 +05:30
laurenspriem
d88b39ec46 [mob][photos] bump for internal release 2025-03-10 13:26:11 +05:30
ashilkn
145e025eea [mob][photos] Move caption/description inside seek bar's container in media kit player for consistancy of UI across players 2025-03-10 13:22:56 +05:30
ashilkn
13c36d9c40 [mob][photos] Hide/show caption with enabling/disabling full screen 2025-03-10 13:13:52 +05:30
github-actions[bot]
dd807368b2 [auth] New translations (#5266)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-03-10 12:41:36 +05:30
Iiii-I-I-I
0f0790df5f [Auth] Add two custom icons (#5267)
## Description
Add icons for:

* Federal Student Aid ([studentaid.gov](https://studentaid.gov)), rank
557 on [Similarweb](https://www.similarweb.com/website/studentaid.gov/)
* RuneScape Wiki ([runescape.wiki](https://runescape.wiki/)), rank 2,652
on [Similarweb](https://www.similarweb.com/website/runescape.wiki/)
2025-03-10 12:24:38 +05:30
mangesh
9d2e1cd502 [server] Soft error msgs when billing/payment data(config) is not found (#5269)
From discord discussion

the pr makes changes to the error strings which are thrown when
configuration reltaed to payment and billing isn't found. The error
messages are changed so to not scare self hosters while we are aware of
it on the production instance.
2025-03-10 12:24:21 +05:30
mngshm
a640a430bf tweak 2025-03-10 12:08:08 +05:30
mngshm
26cb6ad722 [server] avoid scary error msgs if payment/billing configuration is not found 2025-03-10 11:58:59 +05:30
laurenspriem
340ca6500a [mob][photos] DateTime picker widget 2025-03-10 11:57:03 +05:30
mngshm
b114dd54b9 [doc] family limits docs 2025-03-10 11:28:29 +05:30
ashilkn
b8e3d88575 [mob][photos] Show caption/description in file viewer screen 2025-03-10 11:22:50 +05:30
mangesh
b3d5731731 [docs] replication diagram by @maazy4ever (#5245) 2025-03-10 11:08:34 +05:30
vishnukvmd
04c591a38c Setup icons for Android 2025-03-08 17:49:30 +05:30
vishnukvmd
06c126544d Setup icons for iOS 2025-03-08 17:49:25 +05:30
vishnukvmd
53a45f7cdc Compress dev icon 2025-03-08 17:38:29 +05:30
vishnukvmd
7d664986ac Generate new icons 2025-03-08 17:37:51 +05:30
vishnukvmd
c4c542bc25 Drop dev icon generator 2025-03-08 17:37:44 +05:30
laurenspriem
7ff9031ac0 [mob][photos] Next screen 2025-03-08 14:19:52 +05:30
laurenspriem
0ad3878bbd [mob][photos] stateful widget controlling flow 2025-03-08 13:28:16 +05:30
laurenspriem
013f83cc39 [mob][photos] extract widgets 2025-03-08 13:19:32 +05:30
vishnukvmd
ee6e389fca Setup base icons 2025-03-08 11:37:56 +05:30
vishnukvmd
de252b4ad8 Upgrade icon package 2025-03-08 11:37:52 +05:30
Sven
4c7d92530f Add ICONOMI 2025-03-07 23:55:14 +01:00
Sven
cafbdc70e8 Add MEXC icon 2025-03-07 23:32:28 +01:00
Manav Rathi
84b880d7cf [web] Doesn't require submodules anymore (#5258) 2025-03-07 20:33:53 +05:30
Manav Rathi
3900ee609f Fix clicks on hidden buttons 2025-03-07 20:18:52 +05:30
Manav Rathi
0ee496401a Mention ps 2025-03-07 19:52:23 +05:30
Manav Rathi
511c324bad [web] Submodules required no more 2025-03-07 19:50:06 +05:30
Manav Rathi
51f2868f98 [web] Handle deletion of last slide (#5257)
...in the new file viewer.
2025-03-07 19:45:08 +05:30
Manav Rathi
2a70327153 [web] Handle deletion of last slide 2025-03-07 19:40:11 +05:30
Manav Rathi
f29341ccb2 [web] Ask prettier to not modify objectWrap in translations (#5256)
The crowdin action reverts this otherwise
2025-03-07 19:27:21 +05:30
Manav Rathi
89b35f44c3 Not needed anymore 2025-03-07 19:22:11 +05:30
Manav Rathi
beeafe4aa6 The crowdin action reverts this otherwise 2025-03-07 19:22:11 +05:30
Manav Rathi
4b631aa423 [web] New translations (#5255)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-03-07 19:16:08 +05:30
Crowdin Bot
83729aced4 New Crowdin translations by GitHub Action 2025-03-07 13:44:23 +00:00
Manav Rathi
bbcfa865d1 [web] Dependency updates + prettier's new objectWrap=collapse (#5254) 2025-03-07 19:13:03 +05:30
Manav Rathi
4bf629a44c yarn prettier --write --object-wrap=collapse 2025-03-07 18:54:04 +05:30
Manav Rathi
4e417e9490 LF 2025-03-07 18:44:45 +05:30
Manav Rathi
b6aefd1845 [web] Dependency updates 2025-03-07 18:21:05 +05:30
laurenspriem
a68f1e91c5 [mob][photos] Performance logging 2025-03-07 18:18:58 +05:30
Manav Rathi
a3e8d3c1a3 yarn prettier --write --object-wrap=collapse . 2025-03-07 17:53:58 +05:30
Manav Rathi
15473d80d8 Run linter 2025-03-07 17:47:57 +05:30
Manav Rathi
fa349caf0c [desktop] Dep updates 2025-03-07 17:36:05 +05:30
laurenspriem
920e26255c [mob][photos] Surface calculated persons 2025-03-07 16:49:47 +05:30
Manav Rathi
2a3466da63 [web] Modify the cursor on file viewer thumbnail (#5252) 2025-03-07 16:15:11 +05:30
Manav Rathi
c59da52f71 Modify the cursor on thumbnail 2025-03-07 16:08:34 +05:30
Manav Rathi
aa551463b3 Prefix 2025-03-07 14:38:06 +05:30
laurenspriem
949909631a [mob][photos] don't sort debug memories 2025-03-07 14:09:01 +05:30
laurenspriem
de2b399941 [mob][photos] datepicker for debugging memories 2025-03-07 14:06:58 +05:30
laurenspriem
6685c68c35 [mob][photos] Show ALL memories in moments section [debug] 2025-03-07 13:03:50 +05:30
Manav Rathi
02f1ac4f2f [web] Update PhotoSwipe (Complete) (#5249)
- Swaps our forked version of PhotoSwipe with the latest upstream.
- Many(!) improvements to the file viewer at the same time.

There is a further bunch of cleanup, but that can be done async later.
2025-03-07 11:31:53 +05:30
Manav Rathi
573cc787e5 Prune 2025-03-07 11:24:10 +05:30
Manav Rathi
997b87bd26 Swap fin 2025-03-07 11:15:40 +05:30
Manav Rathi
ef013473fc Swap 2025-03-07 11:07:46 +05:30
Manav Rathi
df96f42a61 Install 2025-03-07 10:35:06 +05:30
Manav Rathi
a144d39a47 Styles 2025-03-07 10:32:21 +05:30
Manav Rathi
70c98b8877 Remove the submodule version of photoswipe 2025-03-07 10:28:42 +05:30
Manav Rathi
2a5f774423 [desktop] Electron minor version update (#5248) 2025-03-07 10:27:19 +05:30
Manav Rathi
4796d8a54a [desktop] Electron minor version update 2025-03-07 10:24:23 +05:30
Manav Rathi
694a8a46dd [web] PhotoSwipe Update - Before switch over (#5247)
Final set of changes, in next PR we swap
2025-03-07 10:20:48 +05:30
Manav Rathi
61809889e9 Revert "Temporary workbench"
This reverts commit 3bb92e10e4.
2025-03-07 10:16:04 +05:30
Manav Rathi
981716fbcb vid shortcuts 2025-03-07 08:59:15 +05:30
Manav Rathi
be25081a73 Loader 2025-03-07 08:48:12 +05:30
Manav Rathi
8e3e741b1a Flip 2025-03-07 08:40:37 +05:30
Manav Rathi
a056cfd154 Start dusting 2025-03-07 07:52:00 +05:30
Manav Rathi
98987326e2 ditto 2025-03-07 07:45:57 +05:30
Manav Rathi
b9de012c28 Better counter behaviour on moving into two lines 2025-03-07 07:15:45 +05:30
Manav Rathi
50adfa7399 Fix error position 2025-03-07 07:04:21 +05:30
Manav Rathi
2d005a7d07 For future us 2025-03-07 06:58:28 +05:30
Manav Rathi
4faf938fbd fav cleanup 2025-03-07 06:57:16 +05:30
Manav Rathi
3bb92e10e4 Temporary workbench
This reverts commit 1eed87e117.
2025-03-07 06:57:16 +05:30
Ashil
9f51c2ddae [mob][photos] Log android version along with device name (#5240)
### Description 

Logging the Android version will make it easier to identify if an issue
is linked to certain Android version(s).
2025-03-07 05:21:41 +05:30
mngshm
2a453ee321 replication diagram by @maazy4ever 2025-03-06 22:04:31 +05:30
Manav Rathi
a48505205e [web] PhotoSwipe update - WIP (#5244) 2025-03-06 20:24:15 +05:30
Manav Rathi
6697cca571 Revert "Temporary workbench"
This reverts commit ae4e189848.
2025-03-06 20:16:47 +05:30
Manav Rathi
bfc0f785bc Top bar mobile 2025-03-06 20:16:47 +05:30
Manav Rathi
f3cc4f6fa0 lp fix if nearby slide 2025-03-06 19:42:44 +05:30
Manav Rathi
781de2b60b Single element 1 2025-03-06 19:37:05 +05:30
Aman Raj Singh Mourya
dfe892b54e [auth] Minor fix 2025-03-06 19:33:48 +05:30
Manav Rathi
fce9c6d01e Focus handle 2025-03-06 19:16:32 +05:30
Manav Rathi
183000526c sp 2025-03-06 19:06:45 +05:30
Manav Rathi
0b50d43d53 Fix vis 2025-03-06 18:47:59 +05:30
Manav Rathi
f48d97112c toggle 2 2025-03-06 18:13:26 +05:30
Manav Rathi
815009da9b across slides 2025-03-06 18:13:26 +05:30
Manav Rathi
e9e0b31b8a Tweak 2025-03-06 18:13:26 +05:30
Manav Rathi
b72f65d44c play 2 2025-03-06 18:13:26 +05:30
Manav Rathi
5649ee7c03 live 1 2025-03-06 18:13:26 +05:30
Manav Rathi
74f301e936 Tweak 2025-03-06 18:13:26 +05:30
Manav Rathi
03df527fb7 live 1 2025-03-06 18:13:26 +05:30
Manav Rathi
6c9887613b mark pending 2025-03-06 18:13:26 +05:30
Manav Rathi
ca7ee5e147 Consistent auto hide with slide changes 2025-03-06 18:13:26 +05:30
Manav Rathi
c8dc9c9f46 ks 2025-03-06 18:13:26 +05:30
Manav Rathi
7eaedfe138 Fixes 2025-03-06 18:13:26 +05:30
Manav Rathi
30b23e6c3b Use closures consistently 2025-03-06 18:13:26 +05:30
Manav Rathi
b578c8f0de help 2025-03-06 18:13:26 +05:30
Manav Rathi
ba95d08cdd kbd fin 2025-03-06 18:13:26 +05:30
Manav Rathi
63faa29cd4 occam 2025-03-06 18:13:25 +05:30
Manav Rathi
27ad9840d0 Reroute so that it works with kbd shortcuts 2025-03-06 18:13:25 +05:30
Manav Rathi
c96f2495ed pseudo focus 2025-03-06 18:13:25 +05:30
Manav Rathi
b1c680cccd wasd fix 2025-03-06 18:13:25 +05:30
Manav Rathi
f487e64569 wasd 2025-03-06 18:13:25 +05:30
Manav Rathi
ae4e189848 Temporary workbench
This reverts commit 1eed87e117.
2025-03-06 18:13:25 +05:30
Manav Rathi
5ab8169cd9 [desktop] Passthrough unknown entity data fields (#5241) 2025-03-06 18:04:57 +05:30
Manav Rathi
f52b6256b5 Update 2025-03-06 18:01:24 +05:30
Manav Rathi
c03f63d2b2 [desktop] Passthrough unknown entity data fields 2025-03-06 17:51:37 +05:30
laurenspriem
e2aea63276 [mob][photos] base locations in locations section 2025-03-06 16:33:41 +05:30
ashilkn
f590a43159 [mob][photos] Log android version along with device name 2025-03-06 16:15:15 +05:30
Neeraj
bc72ec1982 [mob] Refactor permission related logic (#5239)
## Description

## Tests
2025-03-06 16:14:10 +05:30
Neeraj Gupta
7050ba5f22 [mob] Lint fix 2025-03-06 16:07:47 +05:30
Neeraj Gupta
2e2cc7f3e7 Merge remote-tracking branch 'origin/main' into refactor_perm 2025-03-06 15:43:55 +05:30
Neeraj Gupta
2278b1f40e [mob] Refactor 2025-03-06 15:41:37 +05:30
Ashil
fcc249b989 [mob][photos] Properly handle and log error/exception thrown in isolate (#5234) 2025-03-06 15:24:54 +05:30
ashilkn
ff82245293 [mob][photos] Rethrow 2025-03-06 15:08:59 +05:30
Vishnu Mohandas
4bd08f02f8 [docs] Update passkeys.md 2025-03-06 15:08:06 +05:30
Neeraj Gupta
69852e436a refactor 2025-03-06 14:06:42 +05:30
Neeraj Gupta
3fe47dd4c4 [mob] Add permission service 2025-03-06 13:13:12 +05:30
Vishnu Mohandas
9650d3865a [docs] Update (#5237) 2025-03-06 12:40:04 +05:30
vishnukvmd
a4f64a73cb [docs] Update 2025-03-06 12:39:24 +05:30
Ashil
16baa84cf0 [mob][photos] Bump up build number (#5236) 2025-03-06 12:35:38 +05:30
ashilkn
db7f669198 [mob][photos] Bump up build number 2025-03-06 12:04:25 +05:30
ashilkn
5ec52541bf [mob][photos] Pass back any exceptions/errors back to main isolate when thrown from a different isolate when using _getLocalIDsAndFilesFromAssets + catch and log in the main isolate so that its reported on sentry 2025-03-06 01:13:49 +05:30
Manav Rathi
c7326c2efc [web] PhotoSwipe Update - WIP (#5233)
Nearing completion, perhaps the second last WIP PR in this series.
2025-03-05 20:08:56 +05:30
Ashil
904c93cf4e [mob][photos] Fix free up space bug (#5231)
## Description

If free up space fails, now we retry after removing `localIDs` that have
no asset returned by Photo Manager. If it still fails, we re-try after
running
[this](https://github.com/fluttercandies/flutter_photo_manager?tab=readme-ov-file#remove-all-non-exist-entities).

Note: It's not clear if this fixes received bug reports since we haven't
been able to reproduce
[deleteWithIds](https://github.com/fluttercandies/flutter_photo_manager?tab=readme-ov-file#delete-entities)
failing on using the Free up space feature.
2025-03-05 20:04:25 +05:30
Manav Rathi
d98394272e Fix formatting lints 2025-03-05 20:03:10 +05:30
Manav Rathi
1eed87e117 Revert "Temporary workbench"
This reverts commit 8ac9751891.
2025-03-05 20:00:29 +05:30
Manav Rathi
22cd3763b7 delegate 2025-03-05 19:59:03 +05:30
Manav Rathi
a18db13899 simpl 2025-03-05 19:25:42 +05:30
Prateek Sunal
54c8d5851b [auth] fix(workflow): remove soon to be deprecated ubuntu-20.04 workflow and switch source to ente-io of flutter_distributor 2025-03-05 19:23:53 +05:30
Manav Rathi
89d6ddf2c6 backdrop 2025-03-05 19:05:58 +05:30
Manav Rathi
aff27e662a More 2025-03-05 19:02:38 +05:30
Prateek Sunal
cc569eb192 chore: bump build number 2025-03-05 18:45:33 +05:30
ashilkn
8e1d931c1f [mob][photos] Extract string 2025-03-05 18:06:24 +05:30
ashilkn
abe313fff2 [mob][photos] Use better name 2025-03-05 18:03:06 +05:30
Neeraj
20095620c8 [mob][fix] share & description in android (#5229) 2025-03-05 17:57:01 +05:30
ashilkn
ec90db7b7d [mob][photos] Fix merge conflict and merge main 2025-03-05 17:48:15 +05:30
laurenspriem
5ff494320c [mob][photos] trips dont repeat early 2025-03-05 17:43:51 +05:30
ashilkn
bb781e257e [mob][photos] More logging 2025-03-05 17:41:17 +05:30
Prateek Sunal
8902b99ae7 fix: add buffering indicator for media kit player 2025-03-05 17:31:36 +05:30
laurenspriem
d49f9cc054 [mob][photos] Use constants 2025-03-05 17:12:46 +05:30
ashilkn
d5c9eea40f [mob][photos] Try checking for and handling already deleted local IDs during free up space only if freeing up space without it fails
This is to make free up space faster in most cases
2025-03-05 17:05:32 +05:30
laurenspriem
c432125113 [mob][photos] Make base locations more robust 2025-03-05 16:41:12 +05:30
Manav Rathi
4a8b130738 sc4 2025-03-05 16:22:25 +05:30
Manav Rathi
ed76b41392 sc3 2025-03-05 15:17:26 +05:30
Manav Rathi
270158dadc sc 2 2025-03-05 15:04:08 +05:30
Manav Rathi
5ea4f8b897 shortcut 1 2025-03-05 14:47:29 +05:30
Manav Rathi
e12a9aa800 fs 2 2025-03-05 14:08:10 +05:30
Manav Rathi
b4a853acc5 fs 1
Refs
 * https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API
 * https://mdn.github.io/dom-examples/fullscreen-api/index.html
2025-03-05 13:51:36 +05:30
Prateek Sunal
6c748f6c87 chore: bump locks 2025-03-05 13:36:37 +05:30
Prateek Sunal
f36666bd0a fix: show video description in previews for android 2025-03-05 13:36:22 +05:30
Manav Rathi
fb8f7901b1 Impl + shift top bar 2025-03-05 13:35:09 +05:30
Prateek Sunal
32ceac423b fix: share in android 2025-03-05 13:19:04 +05:30
laurenspriem
d25e81282d [mob][photos] Mini refactor 2025-03-05 13:13:22 +05:30
Neeraj
7bbd432294 [mob] Refactor utils (#5228)
## Description

## Tests
2025-03-05 12:59:44 +05:30
laurenspriem
2d30ac4c46 [mob][photos] include import 2025-03-05 12:43:40 +05:30
laurenspriem
49fe5f41e0 [mob][photos] easier debugging 2025-03-05 12:42:49 +05:30
Neeraj Gupta
72ba881e26 [mob] Remove assert 2025-03-05 12:36:25 +05:30
Neeraj Gupta
1c8860d08e Merge remote-tracking branch 'origin/main' into move_refactor 2025-03-05 12:28:44 +05:30
Manav Rathi
731c19d6a9 Notes of what needs to be done 2025-03-05 12:13:39 +05:30
Neeraj Gupta
3ac937a244 move 2025-03-05 12:00:02 +05:30
ashilkn
74ff170672 [mob][photos] Fix merge conflicts and merge main 2025-03-05 11:49:06 +05:30
laurenspriem
2a98ed4815 Merge branch 'main' into bulk_edit_date 2025-03-05 11:48:23 +05:30
Manav Rathi
1897285380 Don't show delete in shared
This functionality has not yet been implemented
2025-03-05 11:46:30 +05:30
Manav Rathi
7d8683640b vid 1 2025-03-05 11:19:12 +05:30
Manav Rathi
81e3593b74 PNG 2025-03-05 11:03:52 +05:30
Manav Rathi
21f87b7cba Different tack 2025-03-05 10:45:34 +05:30
Neeraj
5e4862cc3c [fix] steaming fixes (#5168)
## Description

- Update queuing logic
- Use native_video_player + exoplayer branch to fix artifacts for
android
- Support newer namespace and sdk 35
- Store failures and don't retry them
- Modify how sync file data status is happening i.e. don't remote sync
everytime we need to update previewIds, instead update it locally
- Add bandwidth check before queuing
- Remove rotate metadata parameter


Now the player decision logic is:
- Android: Native video Player for both Stream and original source
- iOS: Media Kit for stream and Native Video Player for Original

The UseMediaKitEvent is still there in case of any error or if user long
presses on that button (android) for original source.

## Tests
2025-03-05 10:43:42 +05:30
Manav Rathi
879f28599c Copy 2 2025-03-05 10:07:40 +05:30
Manav Rathi
11413ee77b Move closer to source 2025-03-05 09:47:30 +05:30
Manav Rathi
bb6c2f1656 Tweak 2025-03-05 08:12:37 +05:30
Manav Rathi
1bc8c44b54 copy 1 2025-03-05 07:56:16 +05:30
Manav Rathi
8f8cdbb13f mh 2025-03-05 07:43:38 +05:30
Manav Rathi
f3a079e734 Prevent rerenders 2025-03-05 07:32:40 +05:30
Manav Rathi
c0b3b4b38e link 2025-03-05 07:25:27 +05:30
Manav Rathi
848ec03827 Route 2025-03-05 07:12:13 +05:30
Manav Rathi
642320b1d9 icons 2 2025-03-05 06:55:57 +05:30
Manav Rathi
6f8f997f93 icons 2025-03-05 06:55:57 +05:30
Manav Rathi
fd13c737aa Download in bar 2025-03-05 06:55:57 +05:30
Manav Rathi
7fc96285f1 route 2025-03-05 06:55:57 +05:30
Manav Rathi
76efe1290c menu 2025-03-05 06:55:57 +05:30
Manav Rathi
3d44700010 Position 2025-03-05 06:55:56 +05:30
Manav Rathi
2541febb53 Download 2025-03-05 06:55:56 +05:30
Manav Rathi
62222b0228 Fix height
356b885778/packages/mui-material/src/MenuItem/MenuItem.js (L147)
2025-03-05 06:55:56 +05:30
Manav Rathi
9072766169 Fix 2025-03-05 06:55:56 +05:30
Manav Rathi
12f5c1db87 Handle singleton album deletes 2025-03-05 06:55:56 +05:30
Manav Rathi
60d3cad540 Also for favs 2025-03-05 06:55:56 +05:30
Manav Rathi
8e9eb79f2b Slightly better 2025-03-05 06:55:56 +05:30
Manav Rathi
ca276ba1fe Fix rerenders on remote sync 2025-03-05 06:55:56 +05:30
Manav Rathi
349ef3263c Workaround 2025-03-05 06:55:56 +05:30
Manav Rathi
7c1dae7c77 Update color 2025-03-05 06:55:56 +05:30
Manav Rathi
4fe12c46aa hov 2025-03-05 06:55:56 +05:30
Manav Rathi
b363e3663f del 2 2025-03-05 06:55:56 +05:30
Manav Rathi
043d3324ca del 1 2025-03-05 06:55:56 +05:30
Manav Rathi
a9540307bf Menu 2 2025-03-05 06:55:56 +05:30
Manav Rathi
35b3dbe650 Menu 1 2025-03-05 06:55:56 +05:30
Manav Rathi
e376bf00e0 Use same opacity throughout 2025-03-05 06:55:56 +05:30
Manav Rathi
fd87d196ac Handle 2025-03-05 06:55:56 +05:30
Manav Rathi
bad8a9c9b8 Rename and pass file 2025-03-05 06:55:56 +05:30
Manav Rathi
9c5adfe7cb Reset cache 2025-03-05 06:55:56 +05:30
Manav Rathi
6676668c86 alt 2025-03-05 06:55:55 +05:30
Manav Rathi
ca24541ea5 Limit text field rows 2025-03-05 06:55:55 +05:30
Manav Rathi
0e32e60dbd Tweak 2025-03-05 06:55:55 +05:30
Manav Rathi
79ac17a742 Vids 2025-03-05 06:55:55 +05:30
Manav Rathi
2490b5ca4f caption fin 2025-03-05 06:55:55 +05:30
Manav Rathi
72aab3f53c cap 2 2025-03-05 06:55:55 +05:30
Manav Rathi
a9def0ccc1 cap 1 2025-03-05 06:55:55 +05:30
Manav Rathi
8ac9751891 Temporary workbench
This reverts commit 2859e02dac.
2025-03-05 06:55:55 +05:30
Vishnu Mohandas
e2dceef8a4 [mob][photos] fix: Allow uploads when link shared from collect photos section (#5225) 2025-03-04 20:04:00 +05:30
Aman Raj Singh Mourya
6083992bfd [mob][photos] fix: Allow uploads when link shared from collect photos 2025-03-04 19:31:45 +05:30
Prateek Sunal
9507c6f882 Merge remote-tracking branch 'origin/main' into stream-queue-fix 2025-03-04 16:33:44 +05:30
Neeraj
e01a2b7d65 [mob] Remove PrimitiveWrapper & simplify FilesDB::insertMultiple (#5222)
## Description

## Tests
2025-03-04 16:27:18 +05:30
Prateek Sunal
5ef1a0d3f7 chore: bump version 2025-03-04 16:11:12 +05:30
Neeraj
9ba2010293 [mob][photos] Video memory (#5211)
## Description
This PR introduces a feature that takes a list of images as input and
generates a video output. Each image is displayed for 2 seconds before
transitioning to the next image with smooth animations (fade, slide,
etc.).
2025-03-04 15:59:03 +05:30
Prateek Sunal
ebab9fd1a0 fix: remove stop code as there is no memory leak now 2025-03-04 15:44:04 +05:30
Aman Raj Singh Mourya
017692d80f [mob][photos] fix: change title to (i) Video Memory to identify its a internal feature 2025-03-04 15:35:43 +05:30
Prateek Sunal
de2bd40401 chore: bump package and add docs to them 2025-03-04 15:35:38 +05:30
Neeraj
50a0af23aa [mob][photos] Home memories [internal] (#5223)
## Description

MVP of new memories, for internal user only.

## Tests

Tested in debug mode on my pixel phone.
2025-03-04 15:24:48 +05:30
laurenspriem
ba6b34be2a [mob][photos] Move models 2025-03-04 15:17:19 +05:30
Prateek Sunal
f41c12cde8 fix: keep r8 enabled 2025-03-04 15:15:41 +05:30
Prateek Sunal
7d9e2eccd6 fix: add info to update to latest verison whenever update is available 2025-03-04 15:13:26 +05:30
laurenspriem
8792167986 [mob][photos] Move clearCache 2025-03-04 15:12:46 +05:30
laurenspriem
dcf6d3a9e1 [mob][photos] Fix title bug 2025-03-04 15:04:31 +05:30
laurenspriem
d9691ac089 [mob][photos] Resolve merge conflixt properly 2025-03-04 15:03:48 +05:30
Prateek Sunal
610c1ffc9f fix: add conflict resolution algorithm as replace 2025-03-04 15:03:42 +05:30
Laurens Priem
35bdacdc56 Merge branch 'main' into home_memories 2025-03-04 14:50:17 +05:30
laurenspriem
2147e13af4 [mob][photos] Fix 2025-03-04 14:45:34 +05:30
Neeraj Gupta
0c722171be move 2025-03-04 14:39:37 +05:30
Prateek Sunal
1f18c65ff6 fix: add other information like objectId and objectSize to previewIds 2025-03-04 14:38:30 +05:30
Prateek Sunal
985d530aef fix: don't make failureFiles a late variable 2025-03-04 14:20:29 +05:30
Aman Raj Singh Mourya
23dc378888 [mob][photos] fix: feature flag 2025-03-04 14:09:39 +05:30
Neeraj Gupta
fd5501882b [mob] Move toast 2025-03-04 13:54:26 +05:30
laurenspriem
b922bacb78 [mob][photos] Move dot product inside MLComputer 2025-03-04 13:45:26 +05:30
Prateek Sunal
33cd46583e fix: only update init if called from correct function 2025-03-04 13:02:16 +05:30
Prateek Sunal
5a2be86524 fix: make uploadedFileID as the primary key 2025-03-04 12:57:30 +05:30
Prateek Sunal
62e55cfd96 Merge remote-tracking branch 'origin/main' into stream-queue-fix 2025-03-04 12:35:32 +05:30
Prateek Sunal
4439d97f31 chore: add doc for appendPreview 2025-03-04 12:20:17 +05:30
laurenspriem
71b7589de3 [mob][photos] method to compare embeddings in MLComputer 2025-03-04 11:40:11 +05:30
Neeraj Gupta
e145da5a8b [mob] move 2025-03-04 11:36:23 +05:30
Neeraj Gupta
3f721abc4d [mob] Simplify batch insert for files 2025-03-04 11:30:13 +05:30
mangesh
7ce9cc7468 [server][self-hosting] clear instructions to tweak compose (#5221) 2025-03-04 11:09:27 +05:30
mngshm
038692ad06 fix KEY_ID & s3 bucket url 2025-03-04 11:07:58 +05:30
mngshm
2dc71143b7 update 2025-03-04 10:45:44 +05:30
mngshm
1eec079a85 update dummy pass in minio provision script 2025-03-04 10:39:33 +05:30
mngshm
1eddf1f75a fix 2025-03-03 19:55:20 +05:30
mngshm
0940b8b3be [server] Instructions to tweak compose 2025-03-03 19:53:59 +05:30
laurenspriem
e459da3908 [mob][photos] Fix 2025-03-03 18:25:03 +05:30
laurenspriem
809fe6ab2c [mob][photos] show internal in UI only 2025-03-03 18:12:09 +05:30
laurenspriem
7b5ed1deaa [mob][photos] Fix correct sort 2025-03-03 18:03:00 +05:30
laurenspriem
d3d5aa5a8b [mob][photos] Fix 2025-03-03 17:54:24 +05:30
Neeraj
5466d80da9 [mobile] New translations (#5213)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-03-03 17:37:40 +05:30
Neeraj
52aa997807 [mob] Refactor: reorganize code (#5220)
## Description

## Tests
2025-03-03 17:33:42 +05:30
Neeraj Gupta
73efdbbf4d move 2025-03-03 17:29:03 +05:30
Neeraj Gupta
be6ca79c2d move 2025-03-03 17:21:31 +05:30
Neeraj Gupta
f2550bb253 move constant 2025-03-03 17:04:45 +05:30
Neeraj Gupta
3bf715fd46 [mob] Move 2025-03-03 17:00:50 +05:30
laurenspriem
28c19b8916 [mob][photos] filler memories 2025-03-03 16:18:39 +05:30
Neeraj
b4b5f834f7 [mob] Remove UserRemoteFlagService & switch to flagService (#5219)
## Description

## Tests
2025-03-03 16:15:13 +05:30
Caboose
ee41052eda [auth] BingX & CoinSpot Icons (#5186)
Added BingX & CoinSpot .svg files as well as updated the .JSON file to
include them
2025-03-03 16:13:04 +05:30
Neeraj Gupta
8898ac7060 clean up 2025-03-03 16:10:34 +05:30
Neeraj Gupta
976634f8c7 [mob] Show verification banner after 3 days 2025-03-03 16:08:26 +05:30
Neeraj Gupta
137a5cd772 Switch to flagService for mlConsent 2025-03-03 14:58:54 +05:30
Manav Rathi
631257de3c [web] Match mobile's internal user spec (#5217) 2025-03-03 14:33:43 +05:30
Neeraj Gupta
f556950c07 Remove unused constant 2025-03-03 14:32:38 +05:30
Neeraj Gupta
f8e2714315 [mob] Use flagservice for map consent 2025-03-03 14:30:52 +05:30
Manav Rathi
4b5618e1f2 [web] Match mobile's internal user spec 2025-03-03 14:27:10 +05:30
Neeraj Gupta
e34b70a8f9 [mob] Stop special treatment for @ente.io as internal users 2025-03-03 14:05:36 +05:30
laurenspriem
025fc46022 [mob][photos] constant for day itself duration 2025-03-03 13:40:47 +05:30
Neeraj Gupta
bcf49763e6 [mob] Avoid multiple calls to fetch flags 2025-03-03 13:32:59 +05:30
laurenspriem
a2b0c06a5b [mob][photos] Prettify 2025-03-03 13:31:25 +05:30
Manav Rathi
99b84fe4e7 [infra] Import Grafana conf (#5215) 2025-03-03 12:44:36 +05:30
Aman Raj Singh Mourya
2aa953d5b6 [auth] Minor fixes 2025-03-03 12:26:54 +05:30
Manav Rathi
2d1e6312af [infra] Import Grafana conf 2025-03-03 12:05:47 +05:30
laurenspriem
d8fd5add26 [mob][photos] First bottom sheet 2025-03-03 11:56:38 +05:30
mangesh
0b110ecead [docs] details about replication for self hosters (#5206) 2025-03-03 11:03:52 +05:30
Neeraj
dad6da26fb [auth] New translations (#5214)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-03-03 10:52:19 +05:30
Crowdin Bot
1d01b913e1 New Crowdin translations by GitHub Action 2025-03-03 01:17:41 +00:00
Crowdin Bot
f37f1c3703 New Crowdin translations by GitHub Action 2025-03-03 01:05:17 +00:00
Aman Raj Singh Mourya
d49a90c616 [mob][photos] Show video memory option on file selection action 2025-03-02 23:55:23 +05:30
Aman Raj Singh Mourya
0bfb48bde4 [mob][photos] Implemented ffmpeg to create video memory 2025-03-02 23:54:41 +05:30
laurenspriem
751e19abae [mob][photos] Adjust trip time show 2025-03-01 19:02:11 +05:30
laurenspriem
36f90014a2 [mob][photos] People surface logic 2025-03-01 18:50:06 +05:30
mngshm
74051ad6bb Some more details about Replication 2025-03-01 18:40:03 +05:30
Vishnu Mohandas
c66adcb677 [mob] Fix grammar (#5202) 2025-03-01 12:30:49 +05:30
vishnukvmd
c7bc560d53 [mob] Fix grammar 2025-03-01 12:30:27 +05:30
Neeraj
c6ea0f1fd7 [mob] Move model & remove unused file (#5201)
## Description

## Tests
2025-03-01 10:55:51 +05:30
Neeraj Gupta
8516d8364c [mob] Remove unused file 2025-03-01 10:48:03 +05:30
Neeraj Gupta
5b88b2b563 [mob] Move model 2025-03-01 10:43:37 +05:30
Prateek Sunal
2a5ba8480c chore: bump build number 2025-02-28 21:44:14 +05:30
Prateek Sunal
19607d488f Merge remote-tracking branch 'origin/main' into stream-queue-fix 2025-02-28 21:43:57 +05:30
Prateek Sunal
fcbba19129 fix: remove rotate property, add scroll widget in failure or any dialog, seekbar smooth, player ux buttons same position, failure title for preview 2025-02-28 21:43:35 +05:30
Manav Rathi
f402fb3887 [web] PhotoSwipe update - WIP (#5200) 2025-02-28 19:57:51 +05:30
Manav Rathi
7355d99299 Simplify 2025-02-28 19:54:38 +05:30
Manav Rathi
b20de9ed83 Convert deprecated prop 2025-02-28 19:46:18 +05:30
Manav Rathi
2859e02dac Revert "Temporary workbench"
This reverts commit 8e08a0d71d.
2025-02-28 19:40:39 +05:30
Manav Rathi
80859d91b0 schedule update 2025-02-28 19:40:15 +05:30
Manav Rathi
acaf1939e7 edit 2025-02-28 19:23:36 +05:30
Manav Rathi
d7587d12ed vis 2025-02-28 19:04:30 +05:30
Manav Rathi
61779a6ca7 More aria
taken from the basic example in https://mui.com/material-ui/react-menu/
2025-02-28 18:53:34 +05:30
Manav Rathi
02a7024cdc id 2025-02-28 16:57:24 +05:30
Manav Rathi
9d61eaa04d :\ 2025-02-28 16:50:07 +05:30
Manav Rathi
a73e7af704 Don't initialize face DB in non-desktop builds 2025-02-28 16:44:32 +05:30
Manav Rathi
14bfaf97f3 Update deprecated 2025-02-28 16:35:06 +05:30
Manav Rathi
cae5b2ad4d Update deps to pick up new MUI
MenuListProps are (will eventually be) deprecated, but the alternative is only
in the latest release.
2025-02-28 16:32:48 +05:30
Manav Rathi
8050422313 Fix 2025-02-28 16:32:48 +05:30
Neeraj Gupta
4323ae9422 [mob] Move 2025-02-28 16:10:53 +05:30
Manav Rathi
d3cec93c03 type 2025-02-28 16:02:55 +05:30
Manav Rathi
5adac095a6 Anchor 2025-02-28 15:59:35 +05:30
Manav Rathi
dce95ad4f1 more 2025-02-28 15:49:00 +05:30
Manav Rathi
67dc1b77d4 Fix 2025-02-28 15:32:33 +05:30
Manav Rathi
de9cad09c4 sigh 2025-02-28 15:28:43 +05:30
Manav Rathi
df21d20dd0 Workable 2025-02-28 15:23:31 +05:30
laurenspriem
374979894a [mob][photos] Cache path 2025-02-28 15:08:49 +05:30
laurenspriem
49c0e32fff [mob][photos] Fix null issue 2025-02-28 14:46:12 +05:30
Manav Rathi
0f732c0b61 Impl 2025-02-28 14:37:30 +05:30
Prateek Sunal
11a42e7ee3 fix: remove ticks from seekbar & change video source correctly 2025-02-28 14:26:42 +05:30
Neeraj
398f39e2b0 [mob] Clean up deprecated invalidFileIDs (#5199)
## Description

## Tests
2025-02-28 14:25:58 +05:30
laurenspriem
09e65e8d00 [mob][photos] Remove singleton pattern 2025-02-28 14:24:04 +05:30
laurenspriem
103901bbd3 [mob][photos] Fix ordering 2025-02-28 14:15:40 +05:30
Neeraj Gupta
2cdd919c37 [mob] Clean up deprecated invalidFileIDs 2025-02-28 14:14:32 +05:30
Manav Rathi
c1a2f226ef Move 2025-02-28 14:13:34 +05:30
laurenspriem
8e8610beda [mob][photos] More robust caching and models 2025-02-28 14:11:33 +05:30
Manav Rathi
1605f71a54 Fill in 2025-02-28 14:11:32 +05:30
Neeraj
a11ba4d14f [mob] Clean up migration for livePhoto (#5198)
## Description

## Tests
2025-02-28 13:51:23 +05:30
Manav Rathi
eb7f0c0bed Fix extra invalidations 2025-02-28 13:48:53 +05:30
Manav Rathi
ffc1db7369 err 1 2025-02-28 13:35:45 +05:30
Manav Rathi
cea88b91d2 dis 2 2025-02-28 13:24:21 +05:30
Neeraj Gupta
d98fbd6dc5 [mob] Clean up 2025-02-28 13:13:16 +05:30
Manav Rathi
28d412a12b disabled 2025-02-28 13:09:21 +05:30
Neeraj Gupta
9d601a6b4e [mob] Clean up migration for livePhoto 2025-02-28 13:06:38 +05:30
Manav Rathi
b851a30c18 Change both in sync 2025-02-28 12:42:05 +05:30
Manav Rathi
ec11bc7092 Complete 2025-02-28 12:25:35 +05:30
Manav Rathi
093ba4895d d4 2025-02-28 12:22:22 +05:30
Manav Rathi
502507abf5 d3 2025-02-28 11:00:54 +05:30
Manav Rathi
15b49816cc d2 2025-02-28 09:58:46 +05:30
Manav Rathi
15a4e3cd98 wip delegate 2025-02-28 09:20:19 +05:30
Manav Rathi
067e44e10a st 2 2025-02-28 08:48:16 +05:30
Manav Rathi
67206b013b stable ident 2025-02-28 08:31:31 +05:30
Manav Rathi
df86904e6a fav 1 2025-02-28 08:26:10 +05:30
Manav Rathi
66f43a9c9a more 2 2025-02-28 08:08:56 +05:30
Manav Rathi
561b0ea71e more 2025-02-28 06:32:46 +05:30
Manav Rathi
2fbc26c9eb scale 2025-02-28 06:25:32 +05:30
Manav Rathi
b11636bfdf zoom left 2025-02-28 05:59:01 +05:30
Manav Rathi
8e08a0d71d Temporary workbench
Revert "Prep for merge"

This reverts commit e75165d01e.
2025-02-28 05:46:02 +05:30
Aman Raj Singh Mourya
b35cd47c8a [auth] Show advance option only when code setup 2025-02-27 20:35:52 +05:30
Manav Rathi
f49fcd7984 [web] PhotoSwipe update - WIP (#5195) 2025-02-27 18:35:57 +05:30
Manav Rathi
e75165d01e Prep for merge
Revert "Temporary workbench"

This reverts commit 06b84e8067.
2025-02-27 18:28:56 +05:30
Manav Rathi
70abbeebc2 Fix hiding 2025-02-27 18:28:36 +05:30
Manav Rathi
215ed6d6c8 Fix toggle 2025-02-27 17:50:01 +05:30
Manav Rathi
e453f5bf36 icons 2025-02-27 17:34:11 +05:30
Manav Rathi
e87d596b4c fav 1 2025-02-27 17:12:07 +05:30
Prateek Sunal
e9633e48ab fix: separation is the key 2025-02-27 16:57:35 +05:30
Manav Rathi
0bfd355233 Save 2025-02-27 16:51:19 +05:30
Prateek Sunal
cf96c4dc44 chore: bump version 2025-02-27 16:30:24 +05:30
Manav Rathi
0803ef4da6 Btn 2025-02-27 16:07:23 +05:30
Prateek Sunal
daada5e1c8 fix: disable full r8 mode 2025-02-27 15:59:14 +05:30
Vishnu Mohandas
a7ea2859fa [docs] faq (#5161)
## Description

## How to reset my password if I lost it?
2025-02-27 15:54:26 +05:30
Vishnu Mohandas
8336589a22 docs-edit hiding (#5194)
## Description

Removed Hiding is currently only supported in the Ente mobile app, and
items hidden from the mobile app will not be visible in the web and
desktop app.
2025-02-27 15:53:59 +05:30
Jay
074a4d96a6 docs-edit hiding 2025-02-27 15:39:48 +05:30
Manav Rathi
e1d08899a5 Scaffold 2025-02-27 15:39:31 +05:30
Manav Rathi
5576f8379c Fix close animation 2025-02-27 15:31:03 +05:30
Prateek Sunal
42cb7902c6 chore: bump things 2025-02-27 14:51:21 +05:30
Prateek Sunal
11c7d5f0de fix: keep things light 2025-02-27 14:51:12 +05:30
Prateek Sunal
c36cee2ed1 Merge remote-tracking branch 'origin/main' into stream-queue-fix 2025-02-27 14:17:42 +05:30
Prateek Sunal
65614adc1a fix: build it finally 2025-02-27 14:15:42 +05:30
Manav Rathi
b06b8a5794 Manage fi open/close 2025-02-27 13:12:57 +05:30
Manav Rathi
25935f6219 Remaining fi props 2025-02-27 13:07:47 +05:30
Manav Rathi
51effed5a3 Other props 2025-02-27 12:51:21 +05:30
laurenspriem
7cecf84841 [mob][photos] Time as parameter 2025-02-27 12:39:40 +05:30
Manav Rathi
d50391ea13 not async 2025-02-27 12:19:58 +05:30
Manav Rathi
9c6bfaa460 Undo the effects of contentDestroy 2025-02-27 12:15:37 +05:30
Manav Rathi
ee201ff24b use orig 2025-02-27 12:04:37 +05:30
laurenspriem
7e10c077d3 [mob][photos] Logging 2025-02-27 11:51:39 +05:30
laurenspriem
75800f41e4 [mob][photos] Try catch 2025-02-27 11:45:44 +05:30
laurenspriem
7d84ed3e8b [mob][photos] Rename 2025-02-27 11:40:44 +05:30
laurenspriem
d3acd79de6 [mob][photos] Simplify 2025-02-27 11:39:25 +05:30
laurenspriem
89afa9fbc7 [mob][photos] Separate cache model 2025-02-27 11:15:06 +05:30
Manav Rathi
7fc03a71e7 Fix npe 2025-02-27 11:12:04 +05:30
Manav Rathi
06b84e8067 Temporary workbench 2025-02-27 11:01:20 +05:30
Manav Rathi
2919590b05 [desktop] Improve export_status.json writes (#5193) 2025-02-27 09:28:23 +05:30
Manav Rathi
4e6e3e7abf [desktop] Improve export_status.json writes 2025-02-27 09:20:15 +05:30
Aman Raj Singh Mourya
24759a3923 [auth] Refactoring 2025-02-26 23:44:30 +05:30
Aman Raj Singh Mourya
1fba250f74 [auth] Remove log statement 2025-02-26 23:39:04 +05:30
Aman Raj Singh Mourya
8099cbd990 [auth] Minor fixes 2025-02-26 23:32:24 +05:30
Aman Raj Singh Mourya
b1ed3a6302 [auth] Add UI to select algorithm 2025-02-26 23:31:58 +05:30
Aman Raj Singh Mourya
3a955f2b04 [auth] Add support for editing number of digits & algorithm type 2025-02-26 23:31:16 +05:30
ashilkn
9b2af45f16 [mob][photos] Bump up build number 2025-02-26 19:56:43 +05:30
Manav Rathi
8fb463028d [web] Del screen refactoring (#5189) 2025-02-26 19:49:30 +05:30
ashilkn
5307c1fda6 [mob][photos] Bump up build number 2025-02-26 19:48:49 +05:30
ashilkn
f96db9cfd3 Merge branch 'main' into fix_free_up_space_bug 2025-02-26 19:44:31 +05:30
ashilkn
afc8fbf7b2 [mob][photos] If free up space fails the first time, retry after removing non-existing assets (only for android) 2025-02-26 19:41:57 +05:30
Manav Rathi
833b564acc Promise 2025-02-26 18:53:10 +05:30
Manav Rathi
3013709540 Move 2025-02-26 18:49:20 +05:30
Manav Rathi
cba85799f0 del api 2025-02-26 18:48:02 +05:30
Manav Rathi
818fba9435 Prune 2025-02-26 18:40:47 +05:30
Manav Rathi
8ec75834e8 [web] Minor code improvements (towards removing yup) (#5187) 2025-02-26 17:17:00 +05:30
laurenspriem
e32b23409c [mob][photos] fallback on old memories 2025-02-26 17:14:16 +05:30
Manav Rathi
9103d73874 touched 2025-02-26 17:06:01 +05:30
Manav Rathi
504a8bdab6 Use newer 2025-02-26 17:02:26 +05:30
Manav Rathi
1be2286279 Move 2025-02-26 16:52:10 +05:30
Manav Rathi
059275a486 fetch 2025-02-26 16:42:57 +05:30
laurenspriem
c32974cf95 [mob][photos] Log old memories properly 2025-02-26 16:37:27 +05:30
Manav Rathi
5e583da6f0 unyup 2025-02-26 16:29:30 +05:30
Manav Rathi
bb613cd384 validate 2025-02-26 16:23:16 +05:30
Manav Rathi
359bbd2628 Unindent 2025-02-26 16:18:56 +05:30
Manav Rathi
fb869b7f44 [web] New translations (#5185)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-02-26 15:54:59 +05:30
Crowdin Bot
4455a3c793 New Crowdin translations by GitHub Action 2025-02-26 10:23:03 +00:00
Manav Rathi
d781adeba5 [web] Consolidated duplicated translation key (#5184) 2025-02-26 15:52:12 +05:30
Manav Rathi
e7d0977346 [web] Consolidated duplicated translation key 2025-02-26 15:48:11 +05:30
Manav Rathi
488ca1f6d9 [web] New translations (#5183)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-02-26 15:41:40 +05:30
Crowdin Bot
00939ff2b8 New Crowdin translations by GitHub Action 2025-02-26 10:10:18 +00:00
Manav Rathi
69488c2db6 [web] File info code cleanup (#5182) 2025-02-26 15:38:11 +05:30
Manav Rathi
c70fa4391c cap fin 2025-02-26 15:31:48 +05:30
Manav Rathi
26c4481658 cap2 2025-02-26 15:07:02 +05:30
Neeraj
f487565398 [server] Retry for size fetch & parallelize check (#5155)
## Description

## Tests
2025-02-26 15:06:45 +05:30
Manav Rathi
96b9743270 cap1 2025-02-26 14:59:31 +05:30
Neeraj Gupta
42d2136d32 Merge branch 'main' into sizeRetry 2025-02-26 14:54:56 +05:30
Neeraj
21247a892f [server] Read embeddings from different bucket & logging improvements (#5180)
## Description

## Tests
2025-02-26 14:50:28 +05:30
Manav Rathi
33e7ccb9ae Extract 2025-02-26 14:50:16 +05:30
Manav Rathi
a157273b42 Remove spurious error on saving edited file in desktop 2025-02-26 14:50:16 +05:30
Manav Rathi
d0f30a1198 Wider 2025-02-26 14:50:16 +05:30
Manav Rathi
d5987dd882 rework rename dialog 2025-02-26 14:50:16 +05:30
Manav Rathi
1bd44351d9 Unnest 2025-02-26 14:50:16 +05:30
Manav Rathi
930bd4ce2e Unwrap 2025-02-26 14:50:16 +05:30
Manav Rathi
3e527e3c41 Rearrange 2025-02-26 14:50:16 +05:30
Manav Rathi
847e647437 Inline 2025-02-26 14:50:16 +05:30
Manav Rathi
cd3bd1cdbb Move 2025-02-26 14:50:16 +05:30
Manav Rathi
82082e2cbf Move 2025-02-26 14:50:16 +05:30
Manav Rathi
7545047647 abstract 2025-02-26 14:50:16 +05:30
Manav Rathi
1c1fe7f1df Scope 2025-02-26 14:50:16 +05:30
Manav Rathi
cc2be30f53 Scope 2025-02-26 14:50:16 +05:30
Manav Rathi
9fc5483eb8 Shorten 2025-02-26 14:50:16 +05:30
Manav Rathi
3468bdea7b Fix 2025-02-26 14:50:16 +05:30
Manav Rathi
bc23f1dec9 R 2025-02-26 14:50:16 +05:30
Manav Rathi
9327cb114c rejig 2025-02-26 14:50:16 +05:30
Manav Rathi
2fee6e87f9 Use 2025-02-26 14:50:16 +05:30
Manav Rathi
052367cccb Move to base context 2025-02-26 14:50:16 +05:30
Manav Rathi
4afa486c19 R 2025-02-26 14:50:16 +05:30
Manav Rathi
4b03d1bd0c Prune 2025-02-26 14:50:16 +05:30
Manav Rathi
93108c45d8 photosd-next (#5181) 2025-02-26 14:46:43 +05:30
Manav Rathi
3b1ec81db8 photosd-next 2025-02-26 14:45:25 +05:30
Ashil
ebeeb189fd [mob][photos] Handle error + refactoring (#5172) 2025-02-26 14:33:25 +05:30
Neeraj Gupta
98ebf98d17 [server] Bump default worker for filedata replication 2025-02-26 14:32:17 +05:30
Neeraj Gupta
d494bb8d38 [server] doc 2025-02-26 14:25:45 +05:30
Neeraj Gupta
b688706935 [server] Enchance logging for metadata failure 2025-02-26 14:20:28 +05:30
Neeraj Gupta
d0ef4f234d [server] Prefer reading from b5 2025-02-26 14:04:28 +05:30
Manav Rathi
0fa664a4cb photosd-v1.7.10 (#5179) 2025-02-26 14:02:00 +05:30
Neeraj
c2833d11b0 [server] Panic instead of fatal err (#5178) 2025-02-26 14:00:17 +05:30
Manav Rathi
ec594acafc photosd-v1.7.10 2025-02-26 14:00:09 +05:30
Prateek Sunal
8ce9baf920 fix: stop then dispose for now 2025-02-26 13:59:03 +05:30
laurenspriem
1b1c5c0e7b [mob][photos] cleanup init 2025-02-26 13:20:07 +05:30
ashilkn
81124566f2 Merge branch 'main' into fix_free_up_space_bug 2025-02-26 00:36:42 +05:30
Vishnu Mohandas
0d42cc7b68 [server] Swallow file data fetch err (#5177)
## Description

## Tests
2025-02-25 22:46:00 +05:30
Neeraj Gupta
8fb5f44b62 [server] Swallow mldata fetch err 2025-02-25 22:44:05 +05:30
Vishnu Mohandas
908b0d9dc4 [server] Prefer b6 for read (#5176)
## Description

## Tests
2025-02-25 22:31:56 +05:30
Neeraj Gupta
c0086efdbc [server] Prefer b6 for read 2025-02-25 22:30:39 +05:30
Vishnu Mohandas
49101bfddb [server] Add missing bucketId (#5175)
## Description

## Tests
2025-02-25 22:12:00 +05:30
Neeraj Gupta
83b322770d [server] Add missing bucketId 2025-02-25 22:10:36 +05:30
Neeraj
72bcd8e450 [server] Wait for fileData put & fail fetch if more than 5 object fails (#5174)
## Description

## Tests
2025-02-25 21:41:45 +05:30
ashilkn
1e05c9d701 [mob][photos] Log stacktrace 2025-02-25 18:56:39 +05:30
laurenspriem
fdf4a3d336 [mob][photos] Unify all caching in cache service only 2025-02-25 17:15:45 +05:30
ashilkn
e61d212ad0 [mob][photos] Handle errors/exceptions in getThumbnailFileOfPerson 2025-02-25 17:13:09 +05:30
Prateek Sunal
837d2bbf77 fix: failure previewed case and fire bus event 2025-02-25 17:06:11 +05:30
Prateek Sunal
f7f5e924aa fix: add new table for stream upload errors 2025-02-25 16:25:24 +05:30
Neeraj Gupta
1eed650812 [server] Return custom errors 2025-02-25 15:47:41 +05:30
Neeraj Gupta
b62f82c81e Minor fix 2025-02-25 15:42:00 +05:30
Andrés Ignacio Torres
7b6fe4a9d7 [auth] Add custom icons for No-IP, Prey Project, Workflowy + extra name for Nintendo Account (#5127)
## Description

Added three new custom icons:

- No-IP
- Prey Project
- Workflowy

Additionally add one more alternate name for the Nintendo custom icon:
Nintendo Account.

These are a few of the services I noticed had no icons after migrating
my 2FA codes to Ente.

## Tests

Icon change only, no code changes.
2025-02-25 15:41:10 +05:30
Neeraj
38d207d28e [mob] Check lock before reporting file & limit retry for network errors (#5171)
## Description
This should significantly reduce the instances of
- Duplicate file uploads
- File replacement instances
## Tests
2025-02-25 15:37:44 +05:30
Prateek Sunal
05cec775aa chore: bump version 2025-02-25 15:29:25 +05:30
Prateek Sunal
19073951c8 fix: shuffle deck 2025-02-25 15:29:12 +05:30
Prateek Sunal
0b56575939 fix: add more proguard rules 2025-02-25 15:27:36 +05:30
Prateek Sunal
e9c6ad39f7 Merge remote-tracking branch 'origin/main' into stream-queue-fix 2025-02-25 15:05:28 +05:30
Prateek Sunal
655bbd36da chore: bump version code 2025-02-25 15:04:38 +05:30
Prateek Sunal
d1a5e94886 fix: aspect ratio resolution 2025-02-25 15:04:26 +05:30
Neeraj Gupta
840fc3c061 [mob] Check lock again before reporting file 2025-02-25 15:02:44 +05:30
laurenspriem
a5cb78bf95 [mob][photos] memories cache first iteration 2025-02-25 14:48:25 +05:30
Prateek Sunal
5659b93555 fix: add code to append preview 2025-02-25 14:48:24 +05:30
ashilkn
f772a48bc0 Merge branch 'main' into person_linking_improvements 2025-02-25 14:43:31 +05:30
Prateek Sunal
fc429d88c5 chore: add proguard rules 2025-02-25 14:43:31 +05:30
ashilkn
55015f4a62 Merge branch 'main' into person_linking_improvements 2025-02-25 13:37:42 +05:30
Neeraj Gupta
2ff97c29ff [mob] Limit retry to noStatusCode 2025-02-25 13:36:25 +05:30
Neeraj Gupta
1c94807c36 [mob] generated strings 2025-02-25 13:27:59 +05:30
Manav Rathi
e009151667 [web] Fix rendering of files without extension (#5170)
Fixes: https://github.com/ente-io/ente/issues/5125
2025-02-25 13:23:16 +05:30
Manav Rathi
4a03e34a20 [web] Fix rendering of files without extension
Fixes: https://github.com/ente-io/ente/issues/5125
2025-02-25 13:18:53 +05:30
Manav Rathi
6aa6b667e3 [web] Minor code reorg (#5169) 2025-02-25 12:57:46 +05:30
Prateek Sunal
99a579f7f3 fix: revert to some original code 2025-02-25 12:03:19 +05:30
Prateek Sunal
5c64a1a5e5 Merge remote-tracking branch 'origin/main' into stream-queue-fix 2025-02-25 11:53:48 +05:30
Neeraj
3c902bc1c1 [mobile] New translations (#5007)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-02-25 11:53:26 +05:30
Neeraj
0fb8ccc029 [mob] Clean up (#5165)
## Description

## Tests
2025-02-25 11:53:13 +05:30
Crowdin Bot
ba000c2304 New Crowdin translations by GitHub Action 2025-02-25 06:21:48 +00:00
Prateek Sunal
d9f15dad45 Merge remote-tracking branch 'origin/main' into stream-queue-fix 2025-02-25 11:42:03 +05:30
mangesh
07fac1a354 [server] don't allow setting storageLimit for INVITED users (#5167) 2025-02-25 11:27:41 +05:30
mngshm
3ae65e1de9 [server] don't allow setting storageLimit for INVITED users 2025-02-25 11:16:22 +05:30
Manav Rathi
62471dad3e Move 2025-02-25 10:58:30 +05:30
Neeraj Gupta
19ea1ad1f4 [mob] Clean up 2025-02-25 10:56:42 +05:30
Manav Rathi
2ece083d4d Rename 2025-02-25 10:49:12 +05:30
laurenspriem
53d71de31f [mob][photos] More central flag 2025-02-25 10:38:41 +05:30
Neeraj
3cf627a290 [server] Add index on file_data(user_id,updated_at) (#5164)
## Description

## Tests
2025-02-25 09:47:12 +05:30
Neeraj Gupta
792353bb9e [server] Add index on file_data(user_id,updated_at) 2025-02-25 09:34:26 +05:30
Manav Rathi
b0c17fee6d [web] Prevent extra submission of 2fa when a request is in progress (#5162) 2025-02-24 21:21:36 +05:30
Manav Rathi
4db25b1b8f Fix error handling 2025-02-24 20:58:37 +05:30
Manav Rathi
d0c93338fa await route changes 2025-02-24 20:48:02 +05:30
Manav Rathi
af89a2202c Cleanup 2025-02-24 20:47:22 +05:30
Manav Rathi
6208531902 Fix the double submit bug 2025-02-24 20:34:16 +05:30
Manav Rathi
47539e93f9 Simplify 2025-02-24 20:32:23 +05:30
Manav Rathi
15d77b7551 Use correct error 2025-02-24 20:25:22 +05:30
Manav Rathi
841de87a33 Combine 2025-02-24 20:23:04 +05:30
Manav Rathi
25ba019a57 Vis 2025-02-24 20:07:55 +05:30
Manav Rathi
1c8a796bec Reduce indent 2025-02-24 20:01:28 +05:30
Manav Rathi
277c7e452a Cleanup 2025-02-24 19:49:37 +05:30
Manav Rathi
9ab110c4c3 Vis 2025-02-24 19:39:29 +05:30
Manav Rathi
7420eb5a66 Vis 2025-02-24 19:35:36 +05:30
Manav Rathi
37775b9ee5 Conv 2025-02-24 19:29:14 +05:30
Manav Rathi
7d5205d57d Conv 2025-02-24 19:27:21 +05:30
Manav Rathi
16246d8d58 Conv 2025-02-24 19:24:37 +05:30
Manav Rathi
4442b3af28 Inline 2025-02-24 19:12:04 +05:30
mangesh
b67a33fcaf Create Tailscale.md (#5140)
ente photos with tailscale
2025-02-24 19:06:41 +05:30
Manav Rathi
989708cf58 Use 2025-02-24 19:05:11 +05:30
mngshm
425954257b add missing sidebar link 2025-02-24 19:04:52 +05:30
Manav Rathi
7725b14935 Conv 2025-02-24 18:50:26 +05:30
mngshm
58fe69638e Community 2025-02-24 18:49:15 +05:30
Manav Rathi
290ae40296 Conv 2025-02-24 18:42:22 +05:30
Manav Rathi
ebc310d742 z 2025-02-24 18:38:55 +05:30
Manav Rathi
28d04f7725 Inline 2025-02-24 18:36:06 +05:30
Jay
3c90b0dfca docs-faq 2025-02-24 17:21:05 +05:30
Manav Rathi
8de3619cf1 [desktop] Reattempt indexing if needed (#5160) 2025-02-24 17:20:09 +05:30
Manav Rathi
8036aae292 [desktop] Reattempt indexing if needed 2025-02-24 17:13:22 +05:30
Prateek Sunal
87555194fe chore: bump lock files 2025-02-24 16:43:33 +05:30
ashilkn
6c67f11cc0 Merge branch 'main' into person_linking_improvements 2025-02-24 16:37:14 +05:30
Neeraj Gupta
b9573c057e [server] Use cached result for canUpload 2025-02-24 16:34:57 +05:30
Neeraj Gupta
54d2813329 [server] Parallize size fetch for file & thumb 2025-02-24 15:59:11 +05:30
Prateek Sunal
7175e1d43a fix: don't show media kit button for preview 2025-02-24 15:47:15 +05:30
Prateek Sunal
8237229823 fix: loop behavior media kit 2025-02-24 15:46:13 +05:30
Prateek Sunal
a36958503d fix: smooth native video player experience 2025-02-24 15:34:25 +05:30
Neeraj Gupta
19efbad336 [server] Add retry for sizeOf fetch 2025-02-24 15:21:34 +05:30
frost
e0dd39dd95 Update Tailscale.md 2025-02-23 13:11:58 +05:00
Prateek Sunal
386554ac70 fix: don't check for preview if video streaming is disabled 2025-02-23 05:33:02 +05:30
Prateek Sunal
e99bc335d9 chore: bump deps 2025-02-23 05:32:46 +05:30
frost
48f6071f5c Create Tailscale.md
This is ente photos setup running with tailscale
2025-02-22 20:50:49 +05:00
Aman Raj Singh Mourya
34a672fb7c [mob][photos] Initial setup for Video-memory 2025-02-21 23:10:27 +05:30
Prateek Sunal
8a5cc0c221 feat: push all changes 2025-02-21 20:55:52 +05:30
ashilkn
5e6860f2cd [mob][photos] Avoid localIDs of non-existant assets from being passed to photo_manager's deleteWithIds() when using free up space feature to avoid complete failure of free up space operation 2025-02-21 20:04:12 +05:30
Prateek Sunal
10e675a81c chore: bump pod file 2025-02-21 17:53:04 +05:30
Prateek Sunal
98b890aa99 Merge remote-tracking branch 'origin/main' into stream-queue-fix 2025-02-21 17:52:21 +05:30
Prateek Sunal
0d7f87381a chore: down version 2025-02-21 17:51:11 +05:30
Prateek Sunal
d50171bf7f fix: android sdk 35 2025-02-21 17:50:44 +05:30
Prateek Sunal
64712e5600 chore: bump version again 2025-02-21 17:37:35 +05:30
Prateek Sunal
8a615c34ef fix: for media kit android 2025-02-21 17:37:22 +05:30
Prateek Sunal
8b94304754 feat: add stream switched event 2025-02-21 17:30:00 +05:30
laurenspriem
9da79dc99a [mob][photos] Don't show others in spotlight 2025-02-21 16:59:43 +05:30
Prateek Sunal
b09e911f18 fix: bump native video player 2025-02-21 16:25:52 +05:30
laurenspriem
78a7ae7c5f [mob][photos] photo selection of people memories 2025-02-21 15:28:52 +05:30
Prateek Sunal
61bb3ce16b fix: is preview player setting 2025-02-21 14:55:50 +05:30
Prateek Sunal
2688ca446e chore: bump version 2025-02-21 14:09:53 +05:30
Prateek Sunal
80e86f6f65 fix: update queuing logic 2025-02-21 14:08:48 +05:30
laurenspriem
bfe39be07e [mob][photos] Update clip query 2025-02-21 12:43:44 +05:30
ashilkn
708b17cef3 [mob][photos] Resolve merge conflicts and merge main 2025-02-20 18:35:40 +05:30
ashilkn
1746db0d44 [mob][photos] Gracefully handle no avatar of recent file for face in UI where every getThumbnailFileOfPerson is used 2025-02-20 17:38:37 +05:30
ashilkn
af676e6107 [mob][photos] Refactor 2025-02-20 17:20:41 +05:30
ashilkn
11c75dc5c8 [mob][photos] Log info 2025-02-20 16:58:27 +05:30
laurenspriem
512cf3b395 [mob][photos] More activities 2025-02-20 11:26:32 +05:30
laurenspriem
87f2957e19 [mob][photos] Lower threshold 2025-02-20 11:20:12 +05:30
laurenspriem
f4d73e683c [mob][photos] Fix lastTimeWith 2025-02-20 11:14:43 +05:30
laurenspriem
cac846f0e2 [mob][photos] Change surfacing order 2025-02-20 11:12:56 +05:30
laurenspriem
58c10ad204 [mob][photos] Increase activity threshold 2025-02-20 10:31:28 +05:30
laurenspriem
321d3d6031 [mob][photos] Small fix 2025-02-20 10:24:32 +05:30
laurenspriem
41e5cf03e4 [mob][photos] Increase activity threshold 2025-02-20 10:08:55 +05:30
laurenspriem
22b91a164b [mob][photos] Sign that smart memories are for internal users only 2025-02-20 10:08:33 +05:30
laurenspriem
4e6b86118f [mob][photos] Comment 2025-02-20 09:14:54 +05:30
laurenspriem
e222d091d8 [mob][photos] Extra check against me for lastTimeMemory 2025-02-20 09:14:16 +05:30
laurenspriem
664c40064d [mob][photos] people memories MVP 2025-02-19 19:07:46 +05:30
laurenspriem
844f969f1c [mob][photos] people memory model 2025-02-18 17:00:28 +05:30
laurenspriem
8ff8a0f0d2 [mob][photos] Don't use computer anywhere (yet) 2025-02-18 13:21:34 +05:30
laurenspriem
22e2d5edd9 [mob][photos] Init locale 2025-02-18 12:18:50 +05:30
laurenspriem
0774d53efc [mob][photos] Cleanup duplicate code 2025-02-18 11:25:59 +05:30
laurenspriem
d41f1da48d [mob][photos] Add bulk edit date option 2025-02-18 11:24:08 +05:30
laurenspriem
9298e22c5c [mob][photos] cache clip embedding 2025-02-17 17:02:38 +05:30
laurenspriem
8de380d4cf [mob][photos] Clear memories seenTime after a while 2025-02-17 16:51:48 +05:30
laurenspriem
d874882866 [mob][photos] Use seen times 2025-02-17 16:49:39 +05:30
laurenspriem
78ca393760 [mob][photos] cache methods 2025-02-17 14:47:50 +05:30
laurenspriem
19976136ab [mob][photos] todo 2025-02-17 12:25:59 +05:30
laurenspriem
5fd18807cc [mob][photos] Clean up search service 2025-02-17 11:58:44 +05:30
laurenspriem
1fe6987acf [mob][photos] Move to home gallery 2025-02-17 11:39:13 +05:30
Neeraj Gupta
7e91152431 [mob] Bump version v0.9.98+999 2025-02-14 19:35:51 +05:30
Neeraj
27e906421a [mob] Remove internal flag (#5071)
## Description

## Tests
2025-02-14 19:35:11 +05:30
laurenspriem
e13b88881e [mob][photos] Separate memory types 2025-02-14 13:10:28 +05:30
laurenspriem
9f06de3889 [mob][photos] enum 2025-02-13 15:16:58 +05:30
ashilkn
fae8200920 [mob][photos] Bump up to v0.9.97 2025-02-12 21:22:43 +05:30
Ashil
dc9292b280 [mob][photos] Join link confirmation dialog (#5046) 2025-02-12 21:21:27 +05:30
Ashil
cf43bd6698 [mobile][photos] Fix: show account owner's email in 'Link email' screen if it's not assigned to any person yet (#5045) 2025-02-12 21:19:57 +05:30
Prateek Sunal
15947c311d chore: change to if else ladder 2024-11-07 20:22:34 +05:30
Prateek Sunal
da7247357a chore: change if else format 2024-11-07 19:14:16 +05:30
Prateek Sunal
2bc84f446b fix: dependency override to support both background_fetch and workmanager 2024-11-07 00:04:37 +05:30
Prateek Sunal
c3f970b5fe fix: move work manager outside 2024-11-06 23:28:49 +05:30
Prateek Sunal
7a69ac730b chore: update translations 2024-11-06 23:25:30 +05:30
Prateek Sunal
0b83bbbe40 Merge remote-tracking branch 'origin/main' into mob_workmanager 2024-11-06 23:24:13 +05:30
Prateek Sunal
e7bf39a770 feat: update work manager methods 2024-11-06 23:18:45 +05:30
Prateek Sunal
3d1b6a40e2 Merge remote-tracking branch 'origin/main' into mob_workmanager 2024-11-05 16:27:43 +05:30
Prateek Sunal
8d55d310da fix: remove background fetch temporarily 2024-10-04 00:51:13 +05:30
3829 changed files with 138158 additions and 62583 deletions

View File

@@ -1,26 +1,17 @@
name: Report a bug
description: Let us know if something's not working the way you expected.
description: Things that were working earlier but don't anymore
labels: []
body:
- type: markdown
attributes:
value: |
Before opening a new bug report, please ensure
1. you are on the latest version (it might've already been fixed),
2. you've searched for existing issues (please add your observations as a comment there instead of creating a duplicate).
If you are self hosting, please create a community [Q&A](https://github.com/ente-io/ente/discussions/categories/q-a) instead.
**Checklist**
1. You've searched existing [issues](https://github.com/search?q=repo%3Aente-io%2Fente+&type=issues) and [discussions](https://github.com/search?q=repo%3Aente-io%2Fente+&type=discussions)
2. It was working earlier (otherwise use [enhancements](https://github.com/ente-io/ente/discussions/categories/enhancements))
3. It is not about self hosting (for those use [this](https://github.com/ente-io/ente/discussions/categories/q-a))
- type: textarea
attributes:
label: Description
description: >
Please describe the bug. If possible, also include the steps to
reproduce the behaviour, and the expected behaviour (sometimes
bugs are just expectation mismatches, in which case this would be
a good fit for [feature
requests](https://github.com/ente-io/ente/discussions/categories/feature-requests)).
validations:
required: true
- type: input
attributes:
label: Version

View File

@@ -1,5 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Feature requests and questions
- name: Enhacements, feature requests, feedback and questions
url: https://github.com/ente-io/ente/discussions
about: Please use Discussions for everything apart from the above.

View File

@@ -9,6 +9,10 @@ on:
# Or the workflow itself is changed
- ".github/workflows/auth-crowdin.yml"
permissions:
contents: write
pull-requests: write
jobs:
push-sources-to-crowdin:
runs-on: ubuntu-latest
@@ -20,8 +24,8 @@ jobs:
- name: Crowdin's action
uses: crowdin/github-action@v2
with:
base_path: "auth/"
config: "auth/crowdin.yml"
base_path: "mobile/apps/auth/"
config: "mobile/apps/auth/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: false

View File

@@ -8,6 +8,10 @@ on:
# Also allow manually running the workflow.
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
@@ -19,8 +23,8 @@ jobs:
- name: Crowdin's action
uses: crowdin/github-action@v2
with:
base_path: "auth/"
config: "auth/crowdin.yml"
base_path: "mobile/apps/auth/"
config: "mobile/apps/auth/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: true

View File

@@ -6,13 +6,16 @@ on:
env:
FLUTTER_VERSION: "3.24.3"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: auth
working-directory: mobile/apps/auth
steps:
- name: Checkout code and submodules
@@ -52,7 +55,7 @@ jobs:
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: io.ente.auth
releaseFiles: auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
releaseFiles: mobile/apps/auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
track: internal
- name: Notify Discord

View File

@@ -10,12 +10,15 @@ on:
env:
FLUTTER_VERSION: "3.24.3"
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: auth
working-directory: mobile/apps/auth
steps:
- name: Checkout code and submodules
uses: actions/checkout@v4
@@ -30,7 +33,7 @@ jobs:
exit 1
fi
done
- name: Verify all icons are less than 20KB
run: |
find assets/custom-icons -type f -name "*.svg" | while read -r file; do

View File

@@ -31,13 +31,16 @@ on:
env:
FLUTTER_VERSION: "3.24.3"
permissions:
contents: write
jobs:
build-ubuntu:
runs-on: ubuntu-20.04
build-linux-latest:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: auth
working-directory: mobile/apps/auth
steps:
- name: Checkout code and submodules
@@ -80,7 +83,7 @@ jobs:
# disable this step if release tag contains nightly or beta
if: startsWith(github.ref, 'refs/tags/auth-v') && !contains(github.ref, 'nightly') && !contains(github.ref, 'beta')
run: |
flutter build appbundle --release --flavor playstore --dart-define=app.flavor=playstore
flutter build appbundle --release --flavor playstore --dart-define=app.flavor=playstore --dart-define=cronetHttpNoPlay=true
env:
SIGNING_KEY_PATH: "/home/runner/work/_temp/keystore/ente_auth_key.jks"
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
@@ -90,27 +93,38 @@ jobs:
- name: Install dependencies for desktop build
run: |
sudo apt-get update -y
sudo apt-get install -y libsecret-1-dev libsodium-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config libsqlite3-dev locate appindicator3-0.1 libappindicator3-dev libffi-dev libtiff5
sudo apt-get install -y libsecret-1-dev libsodium-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config rpm patchelf libsqlite3-dev locate libayatana-appindicator3-dev libffi-dev libtiff5 xz-utils libarchive-tools libcurl4-openssl-dev
sudo updatedb --localpaths='/usr/lib/x86_64-linux-gnu'
- name: Install appimagetool
run: |
wget -O appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x appimagetool
mv appimagetool /usr/local/bin/
- name: Build desktop app
run: |
flutter config --enable-linux-desktop
# dart pub global activate flutter_distributor
dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
dart pub global activate --source git https://github.com/ente-io/flutter_distributor_fork --git-ref develop --git-path packages/flutter_distributor
# RPM
flutter_distributor package --platform=linux --targets=rpm --skip-clean
mv dist/**/*-*-linux.rpm artifacts/ente-${{ github.ref_name }}-x86_64.rpm
# APPIMAGE
flutter_distributor package --platform=linux --targets=appimage --skip-clean
mv dist/**/*-*-linux.AppImage artifacts/ente-${{ github.ref_name }}-x86_64.AppImage
# DEB
flutter_distributor package --platform=linux --targets=deb --skip-clean
mv dist/**/*-*-linux.deb artifacts/ente-${{ github.ref_name }}-x86_64.deb
env:
LIBSODIUM_USE_PKGCONFIG: 1
- name: Generate checksums and push to artifacts
- name: Generate checksums
run: |
sha256sum artifacts/ente-* > artifacts/sha256sum-apk-deb
sha256sum artifacts/ente-auth-*.apk >> artifacts/sha256sum-apk
sha256sum artifacts/ente-auth-*.deb artifacts/ente-auth-*.rpm artifacts/ente-auth-*.AppImage >> artifacts/sha256sum-linux
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:
artifacts: "auth/artifacts/*"
artifacts: "mobile/apps/auth/artifacts/*"
draft: true
allowUpdates: true
updateOnlyUnreleased: true
@@ -122,76 +136,16 @@ jobs:
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: io.ente.auth
releaseFiles: auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
releaseFiles: mobile/apps/auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
track: internal
build-fedora-etc:
runs-on: ubuntu-latest
defaults:
run:
working-directory: auth
steps:
- name: Checkout code and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Create artifacts directory
run: mkdir artifacts
- name: Install dependencies for desktop build
run: |
sudo apt-get update -y
sudo apt-get install -y libsecret-1-dev libsodium-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config rpm patchelf libsqlite3-dev locate libayatana-appindicator3-dev libffi-dev libtiff6 xz-utils libarchive-tools libcurl4-openssl-dev
sudo updatedb --localpaths='/usr/lib/x86_64-linux-gnu'
- name: Install appimagetool
run: |
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x appimagetool
mv appimagetool /usr/local/bin/
- name: Build desktop app
run: |
flutter config --enable-linux-desktop
# dart pub global activate flutter_distributor
dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
# Run below command if it is a beta or nightly
if [[ ${{ github.ref }} =~ beta|nightly ]]; then
flutter_distributor package --platform=linux --targets=pacman --skip-clean
mv dist/**/*-*-linux.pacman artifacts/ente-${{ github.ref_name }}-x86_64.pacman
fi
flutter_distributor package --platform=linux --targets=rpm --skip-clean
mv dist/**/*-*-linux.rpm artifacts/ente-${{ github.ref_name }}-x86_64.rpm
flutter_distributor package --platform=linux --targets=appimage --skip-clean
mv dist/**/*-*-linux.AppImage artifacts/ente-${{ github.ref_name }}-x86_64.AppImage
- name: Generate checksums
run: sha256sum artifacts/ente-* >> artifacts/sha256sum-rpm-appimage
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:
artifacts: "auth/artifacts/*"
draft: true
allowUpdates: true
updateOnlyUnreleased: true
build-windows:
runs-on: windows-latest
environment: "auth-win-build"
defaults:
run:
working-directory: auth
working-directory: mobile/apps/auth
steps:
- name: Checkout code and submodules
@@ -213,7 +167,7 @@ jobs:
run: |
flutter config --enable-windows-desktop
# dart pub global activate flutter_distributor
dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
dart pub global activate --source git https://github.com/ente-io/flutter_distributor_fork --git-ref develop --git-path packages/flutter_distributor
make innoinstall
flutter_distributor package --platform=windows --targets=exe --skip-clean
mv dist/**/*-windows-setup.exe artifacts/ente-${{ github.ref_name }}-installer.exe
@@ -221,14 +175,22 @@ jobs:
- name: Retain Windows EXE and DLLs
run: cp -r build/windows/x64/runner/Release ente-${{ github.ref_name }}-windows
- name: Code sign Windows installer and EXE
uses: dlemstra/code-sign-action@v1
- name: Sign files with Trusted Signing
uses: azure/trusted-signing-action@v0
with:
certificate: "${{ secrets.WINDOWS_CERTIFICATE }}"
password: "${{ secrets.WINDOWS_CERTIFICATE_PASSWORD }}"
files: |
auth/artifacts/ente-${{ github.ref_name }}-installer.exe
auth/ente-${{ github.ref_name }}-windows/auth.exe
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
endpoint: ${{ secrets.AZURE_ENDPOINT }}
trusted-signing-account-name: ${{ secrets.AZURE_CODE_SIGNING_NAME }}
certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }}
files: |
${{ github.workspace }}/mobile/apps/auth/artifacts/ente-${{ github.ref_name }}-installer.exe
${{ github.workspace }}/mobile/apps/auth/ente-${{ github.ref_name }}-windows/auth.exe
file-digest: SHA256
timestamp-rfc3161: http://timestamp.acs.microsoft.com
timestamp-digest: SHA256
- name: Zip Windows EXE and DLLs
run: tar.exe -a -c -f artifacts/ente-${{ github.ref_name }}-windows.zip ente-${{ github.ref_name }}-windows
@@ -239,7 +201,7 @@ jobs:
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:
artifacts: "auth/artifacts/*"
artifacts: "mobile/apps/auth/artifacts/*"
draft: true
allowUpdates: true
updateOnlyUnreleased: true
@@ -249,7 +211,7 @@ jobs:
defaults:
run:
working-directory: auth
working-directory: mobile/apps/auth
steps:
- name: Checkout code and submodules
@@ -336,7 +298,7 @@ jobs:
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:
artifacts: "auth/artifacts/*"
artifacts: "mobile/apps/auth/artifacts/*"
draft: true
allowUpdates: true
updateOnlyUnreleased: true

View File

@@ -12,6 +12,10 @@ on:
tags:
- "cli-v*"
permissions:
contents: write
packages: write
jobs:
draft-release:
runs-on: ubuntu-latest

53
.github/workflows/codeql.yml vendored Normal file
View File

@@ -0,0 +1,53 @@
# The only reason we're making a custom CodeQL configuration is because the
# default setup does not have an option to run daily / weekly instead of per
# push, which is too slow.
#
# In the future, it might become faster. Then just delete this file, and revert
# to the default configuration.
#
# References:
# https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/
name: "CodeQL"
on:
workflow_dispatch: # Allow running manually
schedule:
- cron: "22 1 * * 1"
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: 'ubuntu-latest'
permissions:
contents: read
# Required for all workflows.
security-events: write
# Required to fetch internal or private CodeQL packs.
packages: read
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: go
build-mode: autobuild
- language: javascript-typescript
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

View File

@@ -3,6 +3,9 @@ name: "Release (copycat-db)"
on:
workflow_dispatch: # Run manually
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest

View File

@@ -7,6 +7,9 @@ on:
- "desktop/**"
- ".github/workflows/desktop-lint.yml"
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
@@ -20,7 +23,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "yarn"
cache-dependency-path: "desktop/yarn.lock"

View File

@@ -10,6 +10,9 @@ on:
# Also allow manually running the workflow
workflow_dispatch:
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
@@ -25,7 +28,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"

32
.github/workflows/docs-lint.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: "Lint (docs)"
on:
# Run on every pull request (open or push to it) that changes docs/
pull_request:
paths:
- "docs/**"
- ".github/workflows/docs-lint.yml"
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 22
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
- run: yarn install
- run: yarn pretty:check

View File

@@ -10,6 +10,9 @@ on:
- "docs/**"
- ".github/workflows/docs-verify-build.yml"
permissions:
contents: read
jobs:
verify-build:
runs-on: ubuntu-latest
@@ -25,7 +28,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"

View File

@@ -10,6 +10,9 @@ on:
# Also allow manually running the workflow
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
@@ -25,7 +28,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "yarn"
cache-dependency-path: "infra/staff/yarn.lock"

View File

@@ -7,6 +7,9 @@ on:
- "infra/staff/**"
- ".github/workflows/infra-deploy-staff.yml"
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
@@ -22,7 +25,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "yarn"
cache-dependency-path: "infra/staff/yarn.lock"

View File

@@ -5,10 +5,14 @@ on:
branches: [main]
paths:
# Run workflow when mobiles's intl_en.arb is changed
- "mobile/lib/l10n/intl_en.arb"
- "mobile/apps/photos/lib/l10n/intl_en.arb"
# Or the workflow itself is changed
- ".github/workflows/mobile-crowdin.yml"
permissions:
contents: write
pull-requests: write
jobs:
push-sources-to-crowdin:
runs-on: ubuntu-latest
@@ -20,8 +24,8 @@ jobs:
- name: Crowdin's action
uses: crowdin/github-action@v2
with:
base_path: "mobile/"
config: "mobile/crowdin.yml"
base_path: "mobile/apps/photos/"
config: "mobile/apps/photos/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: false

View File

@@ -1,4 +1,4 @@
name: "Sync Crowdin translations (mobile)"
name: "Sync Crowdin translations (mobile/photos)"
on:
schedule:
@@ -8,6 +8,10 @@ on:
# Also allow manually running the workflow.
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
@@ -19,14 +23,14 @@ jobs:
- name: Crowdin's action
uses: crowdin/github-action@v2
with:
base_path: "mobile/"
config: "mobile/crowdin.yml"
base_path: "mobile/apps/photos/"
config: "mobile/apps/photos/crowdin.yml"
upload_sources: true
upload_translations: false
download_translations: true
localization_branch_name: translations/mobile
create_pull_request: true
pull_request_title: "[mobile] New translations"
pull_request_title: "[mobile/photos] New translations"
pull_request_body: "New translations from [Crowdin](https://crowdin.com/project/ente-photos-app)"
pull_request_base_branch_name: "main"
project_id: 574741

View File

@@ -0,0 +1,77 @@
name: "Internal release (photos)"
on:
workflow_dispatch: # Allow manually running the action
env:
FLUTTER_VERSION: "3.24.3"
RUST_VERSION: "1.85.1"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: mobile/apps/photos
steps:
- name: Checkout code and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Install Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Install Rust ${{ env.RUST_VERSION }}
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_VERSION }}
- name: Install Flutter Rust Bridge
run: cargo install flutter_rust_bridge_codegen
- name: Setup keys
uses: timheuer/base64-to-file@v1
with:
fileName: "keystore/ente_photos_key.jks"
encodedString: ${{ secrets.SIGNING_KEY_PHOTOS }}
- name: Build PlayStore AAB
run: |
flutter build appbundle --dart-define=cronetHttpNoPlay=true --release --flavor playstore
env:
SIGNING_KEY_PATH: "/home/runner/work/_temp/keystore/ente_photos_key.jks"
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS_PHOTOS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD_PHOTOS }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD_PHOTOS }}
- name: Upload AAB to PlayStore
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: io.ente.photos
releaseFiles: mobile/apps/photos/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
track: internal
- name: Notify Discord
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_INTERNAL_RELEASE_WEBHOOK }}
nodetail: true
title: "🏆 Internal release available for Photos"
description: "[Download](https://play.google.com/store/apps/details?id=io.ente.photos)"
color: 0x00ff00

View File

@@ -4,7 +4,10 @@ on:
workflow_dispatch: # Allow manually running the action
env:
FLUTTER_VERSION: "3.24.3"
FLUTTER_VERSION: "3.27.4"
permissions:
contents: write
jobs:
build:
@@ -12,7 +15,7 @@ jobs:
defaults:
run:
working-directory: mobile
working-directory: mobile/apps/photos
steps:
- name: Checkout code and submodules
@@ -52,14 +55,14 @@ jobs:
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: io.ente.photos
releaseFiles: mobile/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
releaseFiles: mobile/apps/photos/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
track: internal
- name: Notify Discord
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_INTERNAL_RELEASE_WEBHOOK }}
nodetail: true
title: "🏆 Internal release available for Photos"
title: "🏆 Internal release Photos (Branch: ${{ github.ref_name }})"
description: "[Download](https://play.google.com/store/apps/details?id=io.ente.photos)"
color: 0x00ff00

View File

@@ -4,19 +4,21 @@ on:
# Run on every pull request (open or push to it) that changes mobile/
pull_request:
paths:
- "mobile/**"
- "mobile/apps/photos/**"
- ".github/workflows/mobile-lint.yml"
env:
FLUTTER_VERSION: "3.27.4"
FLUTTER_VERSION: "3.24.3"
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: mobile
working-directory: mobile/apps/photos
steps:
- name: Checkout code and submodules
uses: actions/checkout@v4

View File

@@ -9,7 +9,10 @@ on:
- "photos-v*"
env:
FLUTTER_VERSION: "3.24.3"
FLUTTER_VERSION: "3.27.4"
permissions:
contents: write
jobs:
build:
@@ -17,7 +20,7 @@ jobs:
defaults:
run:
working-directory: mobile
working-directory: mobile/apps/photos
steps:
- name: Checkout code and submodules
@@ -59,5 +62,5 @@ jobs:
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:
artifacts: "mobile/build/app/outputs/flutter-apk/ente-${{ github.ref_name }}.apk,mobile/build/app/outputs/flutter-apk/sha256sum"
artifacts: "mobile/apps/photos/build/app/outputs/flutter-apk/ente-${{ github.ref_name }}.apk,mobile/apps/photos/build/app/outputs/flutter-apk/sha256sum"
draft: true

View File

@@ -0,0 +1,190 @@
name: "Internal Release V2 (photos)"
on:
workflow_dispatch: # Manual trigger only
env:
FLUTTER_VERSION: "3.27.4"
ANDROID_KEYSTORE_PATH: "keystore/ente_photos_key.jks"
jobs:
build:
runs-on: macos-15 # Required for iOS builds
environment: "ios-build"
permissions:
contents: write
defaults:
run:
working-directory: mobile/apps/photos
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Apple Certificate
env:
MAC_OS_CERTIFICATE: ${{ secrets.MAC_OS_CERTIFICATE }}
MAC_OS_CERTIFICATE_PASSWORD: ${{ secrets.MAC_OS_CERTIFICATE_PASSWORD }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
run: |
# Create variables
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
# Import certificate from secrets
echo -n "$MAC_OS_CERTIFICATE" | base64 --decode -o $CERTIFICATE_PATH
# Create temporary keychain
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
security unlock-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
# Import certificate to keychain
security import $CERTIFICATE_PATH -P "$MAC_OS_CERTIFICATE_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security set-key-partition-list -S apple-tool:,apple: -k "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
# Make the keychain the default
security list-keychain -d user -s $KEYCHAIN_PATH
- name: Add provisioning profiles
run: |
# Decode and install all provisioning profiles
PROFILES_HOME="$HOME/Library/MobileDevice/Provisioning Profiles"
mkdir -p "$PROFILES_HOME"
IFS=$'\n'
for profile in ${{ secrets.MAC_OS_PROFILES_BASE64 }}; do
PROFILE_PATH="$(mktemp "$PROFILES_HOME"/$(uuidgen).mobileprovision)"
echo "$profile" | base64 --decode > "$PROFILE_PATH"
echo "Saved provisioning profile to $PROFILE_PATH"
done
# Common Setup
- name: Setup JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Get Flutter dependencies
run: flutter pub get
# Android Build
- name: Setup Android signing key
uses: timheuer/base64-to-file@v1
with:
fileName: ${{ env.ANDROID_KEYSTORE_PATH }}
encodedString: ${{ secrets.SIGNING_KEY_PHOTOS }}
# - name: Build Android AAB
# run: |
# flutter build appbundle \
# --dart-define=cronetHttpNoPlay=true \
# --release \
# --flavor playstore
# env:
# SIGNING_KEY_PATH: ${{ env.ANDROID_KEYSTORE_PATH }}
# SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS_PHOTOS }}
# SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD_PHOTOS }}
# SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD_PHOTOS }}
# iOS Build (new secure implementation)
- name: Install fastlane
run: gem install fastlane
- name: Update CocoaPods Specs
run: pod repo update
working-directory: mobile/apps/photos/ios
- name: Install CocoaPods dependencies
run: |
rm -f Podfile.lock
pod install
working-directory: mobile/apps/photos/ios
- name: Create ExportOptions.plist
run: |
cat <<EOF > ios/ExportOptions.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>app-store</string>
<key>teamID</key>
<string>${{ secrets.IOS_TEAM_ID }}</string>
<key>provisioningProfiles</key>
<dict>
<key>io.ente.photos</key>
<string>match AppStore io.ente.photos</string>
<key>io.ente.frame</key>
<string>match AppStore io.ente.frame</string>
<key>io.ente.frame.EntePeopleWidget</key>
<string>match AppStore io.ente.frame.EntePeopleWidget</string>
<key>io.ente.frame.EnteAlbumWidget</key>
<string>match AppStore io.ente.frame.EnteAlbumWidget</string>
<key>io.ente.frame.EnteMemoryWidget</key>
<string>match AppStore io.ente.frame.EnteMemoryWidget</string>
</dict>
</dict>
</plist>
EOF
- name: Setup App Store Connect API Key
run: |
echo '${{ secrets.IOS_API_KEY }}' > api_key.json
chmod 600 api_key.json
- name: Build iOS IPA
run: |
flutter build ipa \
--release \
--export-options-plist=ios/ExportOptions.plist \
--dart-define=cronetHttpNoPlay=true
env:
SIGNING_TEAM_ID: ${{ secrets.IOS_TEAM_ID }}
# Uploads
# - name: Upload to Play Store
# uses: r0adkll/upload-google-play@v1
# with:
# serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
# packageName: io.ente.photos
# releaseFiles: build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
# track: internal
- name: Upload to TestFlight
run: |
fastlane pilot upload \
--api_key_path api_key.json \
--ipa "build/ios/ipa/Ente Photos.ipa" \
--skip_waiting_for_build_processing \
--apple_id ${{ secrets.IOS_APPLE_ID }} \
--app_identifier "io.ente.photos"
env:
APP_STORE_CONNECT_API_KEY_ID: ${{ secrets.IOS_API_KEY_ID }}
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.IOS_ISSUER_ID }}
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{ secrets.IOS_APP_SPECIFIC_PASSWORD }}
- name: Clean sensitive files
run: |
rm -f api_key.json
rm -f ${{ env.ANDROID_KEYSTORE_PATH }}
- name: Notify Discord
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_INTERNAL_RELEASE_WEBHOOK }}
title: "🚀 Dual Platform Release Uploaded"
description: |
**Android**: [Play Store Internal](https://play.google.com/store/apps/details?id=io.ente.photos)
**iOS**: TestFlight build processing
color: 0x00ff00

View File

@@ -7,6 +7,9 @@ on:
- "server/**"
- ".github/workflows/server-lint.yml"
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest

View File

@@ -7,6 +7,10 @@ on:
# Run manually if needed to publish out of schedule.
workflow_dispatch:
permissions:
contents: write # for pushing the `ghcr/server` branch
packages: write
jobs:
publish:
runs-on: ubuntu-latest
@@ -36,6 +40,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Update branch server/ghcr to point to source commit
- name: Update branch ghcr/server to point to source commit
run: |
git push -f origin HEAD:refs/heads/server/ghcr
git push -f origin HEAD:refs/heads/ghcr/server

View File

@@ -3,6 +3,9 @@ name: "Release (server)"
on:
workflow_dispatch: # Run manually
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest

View File

@@ -12,6 +12,10 @@ on:
# `gh workflow run web-crowdin-push-both.yml --ref <my-branch>`
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
push-both-to-crowdin:
runs-on: ubuntu-latest

View File

@@ -22,6 +22,15 @@ on:
# Also allow manually running the workflow.
workflow_dispatch:
# "In order to push translations and create pull requests, the Crowdin GitHub
# action requires the `GITHUB_TOKEN` to have write permission on the `contents`
# and `pull-requests`.
#
# - https://github.com/crowdin/github-action?tab=readme-ov-file#permissions
permissions:
contents: write
pull-requests: write
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest

View File

@@ -15,6 +15,9 @@ on:
- "payments"
- "photos"
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
@@ -26,13 +29,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "yarn"
cache-dependency-path: "web/yarn.lock"

View File

@@ -15,6 +15,9 @@ on:
- "payments"
- "photos"
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
@@ -26,13 +29,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "yarn"
cache-dependency-path: "web/yarn.lock"

View File

@@ -11,6 +11,9 @@ on:
# Also allow manually running the workflow
workflow_dispatch:
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
@@ -34,12 +37,11 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ steps.select-branch.outputs.branch }}
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "yarn"
cache-dependency-path: "web/yarn.lock"

View File

@@ -19,6 +19,9 @@ on:
# Also allow manually running the workflow
workflow_dispatch:
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
@@ -30,13 +33,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
@@ -92,3 +93,13 @@ jobs:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/payments web/apps/payments/dist
- name: Build locker
run: yarn build:locker
- name: Publish locker
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/locker web/apps/locker/out

View File

@@ -7,6 +7,9 @@ on:
- "web/**"
- ".github/workflows/web-lint.yml"
permissions:
contents: read
# Cancel in-progress lint runs when a new commit is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -25,7 +28,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "yarn"
cache-dependency-path: "web/yarn.lock"

38
.github/workflows/web-publish-ghcr.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: "Publish ghcr (web)"
on:
# Run automatically every Wednesday, at 07:00 UTC.
schedule:
- cron: '0 7 * * 3'
# Run manually if needed to publish out of schedule.
workflow_dispatch:
permissions:
contents: write # for pushing the `ghcr/web` branch
packages: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build and push
uses: mr-smithers-excellent/docker-build-push@v6
with:
dockerfile: web/Dockerfile
directory: web
# Resultant package name will be ghcr.io/ente-io/web
image: web
registry: ghcr.io
enableBuildKit: true
multiPlatform: true
platform: linux/amd64,linux/arm64
tags: ${{ github.sha }}, latest
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Update branch ghcr/web to point to source commit
run: |
git push -f origin HEAD:refs/heads/ghcr/web

8
.gitmodules vendored
View File

@@ -3,13 +3,9 @@
url = https://github.com/ente-io/sentry-dart.git
branch = sentry_flutter_ente
[submodule "auth/flutter"]
path = auth/flutter
path = mobile/apps/auth/flutter
url = https://github.com/flutter/flutter.git
branch = stable
[submodule "auth/assets/simple-icons"]
path = auth/assets/simple-icons
path = mobile/apps/auth/assets/simple-icons
url = https://github.com/simple-icons/simple-icons.git
[submodule "web/apps/photos/thirdparty/photoswipe"]
path = web/apps/photos/thirdparty/photoswipe
url = https://github.com/ente-io/PhotoSwipe.git
branch = single-thread

View File

@@ -1,54 +1,42 @@
# Contributing
First and foremost, thank you for your interest in contributing to Ente 🙏
There are many ways to contribute, and most of them don't require writing code.
* [Spread the word](#spread-the-word)
* [Engage with the community](#engage-with-the-community)
* [Translate](#translate)
* [Document](#document)
- [Spread the word](#spread-the-word)
- [Engage with the community](#engage-with-the-community)
- [Translate](#translate)
- [Document](#document)
## Spread the word
This is perhaps the most impactful contribution you can make. [Spread the
word](https://help.ente.io/photos/features/referral-program/). Online on your
favorite social media channels. Offline to your friends and family who are
looking for a privacy-friendly alternative to big tech.
**This is the most impactful contribution you can make**.
[Spread the word](https://help.ente.io/photos/features/referral-program/). Online on your favorite social media channels. Offline to your friends and family who are looking for a privacy-friendly alternative to big tech.
## Engage with the community
Just hang around, enjoy the vibe. Answer someone's query on our
[Discord](https://discord.gg/z2YVKkycX3), or pile on in the sporadic #off-topic
rants there. Chuckle (or wince!) at our [Twitter](https://twitter.com/enteio)
memes. Suggest a new feature in our [Github
Discussions](https://github.com/ente-io/ente/discussions/new?category=feature-requests),
or upvote the existing ones that you feel we should focus on first. Provide your
opinion on existing threads.
Just hang around, enjoy the vibe. The Ente community — the people who are building Ente, and the people who are using Ente — hang out at various places depending on their proclivity:
These might seem like small things, but it provides us energy. Knowing that
there is a community of people who care for what we are building.
- [Discord](https://discord.ente.io)
- [Mastodon](https://fosstodon.org/@ente)
- [X / Twitter](https://twitter.com/enteio)
- [Github Discussions](https://github.com/ente-io/ente/discussions)
Just being around might seem a small thing, but it provides us energy. Knowing that there is a community of people who care for what we are building, **who want us to do better**.
## Translate
If you're interested in helping out with translation, please visit our Crowdin
projects to get started:
| Project | |
| ------------- | ------------- |
| [Auth](https://crowdin.com/project/ente-authenticator-app) | [![Crowdin](https://badges.crowdin.net/ente-authenticator-app/localized.svg)](https://crowdin.com/project/ente-authenticator-app) |
| [Photos](https://crowdin.com/project/ente-photos-app) | [![Crowdin](https://badges.crowdin.net/ente-photos-app/localized.svg)](https://crowdin.com/project/ente-photos-app) |
| [Photos Web / Desktop](https://crowdin.com/project/ente-photos-web) | [![Crowdin](https://badges.crowdin.net/ente-photos-web/localized.svg)](https://crowdin.com/project/ente-photos-web) |
Visit our Crowdin projects to help with translations:
| Project | |
| ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| [Auth](https://crowdin.com/project/ente-authenticator-app) | [![Crowdin](https://badges.crowdin.net/ente-authenticator-app/localized.svg)](https://crowdin.com/project/ente-authenticator-app) |
| [Photos](https://crowdin.com/project/ente-photos-app) | [![Crowdin](https://badges.crowdin.net/ente-photos-app/localized.svg)](https://crowdin.com/project/ente-photos-app) |
| [Photos Web / Desktop](https://crowdin.com/project/ente-photos-web) | [![Crowdin](https://badges.crowdin.net/ente-photos-web/localized.svg)](https://crowdin.com/project/ente-photos-web) |
If your language is not listed for translation, please [create a GitHub
issue](https://github.com/ente-io/ente/issues/new?title=Request+for+New+Language+Translation&body=Language+name%3A+%0AProject%3A+auth%2Fphotos%2Fboth)
to have it added. It is okay to have partial translations. Once ~90% of the
strings in a language get translated, we will start surfacing it in the apps.
Thank you for your support.
## Document
The help guides and FAQs for users of Ente products are also open source, and
@@ -60,25 +48,9 @@ See [docs/](docs/README.md) for how to edit these documents.
## Code contributions
Code is a small aspect of community, and the ways mentioned above are more
important in helping us. But if you'd _really_ like to contribute code, it is
best to start small. Consider some well-scoped changes, say like adding more
[custom icons to auth](auth/docs/adding-icons.md).
If you'd like to contribute code, it is best to start small. Consider some well-scoped changes, say like adding more [custom icons to auth](auth/docs/adding-icons.md), or fixing a specific bug.
Each of the individual product/platform specific directories in this repository
have instructions on setting up a dev environment.
For anything beyond trivial bug fixes, please use [features requests and
discussions](https://github.com/ente-io/ente/discussions) instead of performing
code changes directly.
> [!TIP]
>
> Please remember that code is a important, but small, part of the overall big
> picture that makes a product a joy to use. Something that's easy in code is
> not necessarily the right choice for the product as a whole. So we'll repeat -
> there are other ways to contribute than code that we'd request you to
> consider.
Code that changes the behaviour of the product might not get merged, at least not initially. The PR can serve as a discussion bed, but you might find it easier to just start a discussion instead, or post your perspective in the (likely) existing thread about the behaviour change or new feature you wish for.
## Leave a review or star

View File

@@ -35,7 +35,7 @@ Private sharing. Collaborative albums. Family plans. Easy import, easier export.
Background uploads. The list goes on. And of course, all of this, while being
fully end-to-end encrypted across platforms.
Ente Photos is a paid service, but we offer 5GB of free storage.
Ente Photos is a paid service, but we offer 10GB of free storage.
You can also clone this repository and choose to self-host.
<br />
@@ -95,8 +95,8 @@ please see our [support guide](SUPPORT.md).
<img src=".github/assets/ente-ducky.png" width=200 alt="Ente's Mascot, Ducky,
inviting people to Ente's source code repository" />
Please visit our [community page](https://ente.io/community) for all the ways to
connect with the community.
Please visit the [community section](https://ente.io/about#community) for all the ways to
connect with our community.
[![Discord](https://img.shields.io/discord/948937918347608085?style=for-the-badge&logo=Discord&logoColor=white&label=Discord)](https://discord.gg/z2YVKkycX3)
[![Ente's Blog RSS](https://img.shields.io/badge/blog-rss-F88900?style=for-the-badge&logo=rss&logoColor=white)](https://ente.io/blog/rss.xml)

View File

@@ -1,15 +0,0 @@
<svg width="500" height="500" viewBox="0 0 500 500" fill="none" xmlns="http://www.w3.org/2000/svg">
<g style="mix-blend-mode:difference">
<path fill-rule="evenodd" clip-rule="evenodd" d="M363.636 23H409.091V477.545H363.636V23ZM0 23H45.4545V477.545H0V23ZM227.273 295.727H181.818V386.636H227.273V295.727ZM272.727 113.909H318.182V204.818H272.727V113.909Z" fill="white"/>
</g>
<path d="M136.364 386.636H45.4545V477.545H136.364V386.636Z" fill="#EA3326"/>
<path d="M500 386.636H409.091V477.545H500V386.636Z" fill="#EA3326"/>
<path d="M136.364 295.727H45.4545V386.636H136.364V295.727Z" fill="#EB5829"/>
<path d="M318.182 295.727H227.273V386.636H318.182V295.727Z" fill="#EB5829"/>
<path d="M500 295.727H409.091V386.636H500V295.727Z" fill="#EB5829"/>
<path d="M136.364 23H45.4545V113.909H136.364V23Z" fill="#F7D046"/>
<path d="M500 23H409.091V113.909H500V23Z" fill="#F7D046"/>
<path d="M227.273 113.909H45.4545V204.818H227.273V113.909Z" fill="#F2A73B"/>
<path d="M500 113.909H318.182V204.818H500V113.909Z" fill="#F2A73B"/>
<path d="M500 204.818H45.4545V295.727H500V204.818Z" fill="#EE792F"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -1,81 +0,0 @@
{
"account": "Уліковы запіс",
"unlock": "Разблакіраваць",
"recoveryKey": "Ключ аднаўлення",
"counterAppBarTitle": "Лічыльнік",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Бяспечна зрабіць рэзервовую копію кодаў 2ФА",
"onBoardingGetStarted": "Пачаць",
"setupFirstAccount": "Наладзіць ваш першы ўліковы запіс",
"importScanQrCode": "Сканіраваць код QR-код",
"qrCode": "QR-код",
"importEnterSetupKey": "Увесці ключ наладжвання",
"importAccountPageTitle": "Увесці падрабязнасці ўліковага запісу",
"secretCanNotBeEmpty": "Сакрэт не можа быць пустым",
"bothIssuerAndAccountCanNotBeEmpty": "І выдавец, і ўліковы запіс не могуць быць пустымі",
"incorrectDetails": "Няправільныя падрабязнасці",
"pleaseVerifyDetails": "Праверце падрабязнасці і паспрабуйце яшчэ раз",
"codeIssuerHint": "Выдавец",
"codeSecretKeyHint": "Сакрэтны ключ",
"secret": "Сакрэт",
"all": "Усе",
"notes": "Нататкі",
"notesLengthLimit": "Максімальная колькасць сімвалаў у нататках не больш за {count}",
"@notesLengthLimit": {
"description": "Text to indicate the maximum number of characters allowed for notes",
"placeholders": {
"count": {
"description": "The maximum number of characters allowed for notes",
"type": "int",
"example": "100"
}
}
},
"codeAccountHint": "Уліковы запіс (vy@damen.com)",
"codeTagHint": "Тэг",
"accountKeyType": "Тып ключа",
"sessionExpired": "Сеанс завяршыўся",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Аўтарызуйцеся яшчэ раз",
"loggingOut": "Выхад...",
"timeBasedKeyType": "Заснаваныя на часе (TOTP)",
"counterBasedKeyType": "Заснаваныя на лічыльніку (HOTP)",
"saveAction": "Захаваць",
"nextTotpTitle": "наступны",
"deleteCodeTitle": "Выдаліць код?",
"deleteCodeMessage": "Вы сапраўды хочаце выдаліць гэты код? Гэта дзеянне з'яўляецца незваротным.",
"trashCode": "Выдаліць код?",
"trashCodeMessage": "Вы сапраўды хочаце выдаліць код для {account}?",
"trash": "Сметніца",
"viewLogsAction": "Паглядзець журнал",
"preparingLogsTitle": "Падрыхтоўка журнала...",
"emailLogsTitle": "Адправіць журнал па электроннай пошце",
"blog": "Блог",
"changePassword": "Змяніць пароль",
"data": "Даныя",
"importLabel": "Імпарт",
"yes": "Так",
"no": "Не",
"email": "Электронная пошта",
"support": "Падтрымка",
"settings": "Налады",
"pleaseTryAgain": "Калі ласка, паспрабуйце яшчэ раз",
"delete": "Выдаліць",
"enterYourPasswordHint": "Увядзіце ваш пароль",
"faq": "Частыя пытанні",
"deleteAccount": "Выдаліць уліковы запіс",
"noDeleteAccountAction": "Не, выдаліць уліковы запіс",
"sendEmail": "Адправіць ліст",
"createNewAccount": "Стварыць новы ўліковы запіс",
"confirmPassword": "Пацвердзіць пароль",
"close": "Закрыць",
"oopsSomethingWentWrong": "Штосьці пайшло не так.",
"language": "Мова",
"security": "Бяспека",
"searchHint": "Пошук...",
"search": "Пошук"
}

View File

@@ -1,4 +0,0 @@
{
"loggingOut": "Väljalogimine...",
"useRecoveryKey": "Kasuta taastevõtit"
}

View File

@@ -1,107 +0,0 @@
{
"account": "खाता",
"unlock": "खोलें",
"recoveryKey": "पुनःप्राप्ति कुंजी",
"counterAppBarTitle": "काउंटर",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingGetStarted": "प्रारंभ करें",
"setupFirstAccount": "अपना पहला अकाउंट सेटअप करें",
"importScanQrCode": "एक QR कोड स्कैन करें",
"qrCode": "QR कोड",
"importEnterSetupKey": "",
"importAccountPageTitle": "अकाउंट विवरण डालें",
"incorrectDetails": "ग़लत विवरण",
"pleaseVerifyDetails": "कृपया विवरण सत्यापित करें और पुनः प्रयास करें",
"codeIssuerHint": "ज़ारीकर्ता",
"codeSecretKeyHint": "सीक्रेट कुंजी",
"secret": "सीक्रेट",
"all": "सभी",
"notes": "नोट्स",
"notesLengthLimit": "नोट्स अधिकतम {count} अक्षर लम्बे हो सकते हैं",
"@notesLengthLimit": {
"description": "Text to indicate the maximum number of characters allowed for notes",
"placeholders": {
"count": {
"description": "The maximum number of characters allowed for notes",
"type": "int",
"example": "100"
}
}
},
"codeAccountHint": "अकाउंट (you@domain.com)",
"codeTagHint": "टैग",
"sessionExpired": "सत्र की अवधि समाप्त",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "कृपया फिर से लॉगिन करें",
"loggingOut": "लॉग आउट हो रहा है...",
"saveAction": "सेव करें",
"deleteCodeMessage": "क्या आप वाकई इस कोड को हटाना चाहते हैं? इस क्रिया को वापस नहीं किया जा सकता",
"trashCode": "?",
"trashCodeMessage": "क्या आप वाकई {account} के लिए कोड नष्ट करना चाहते हैं?",
"trash": "नष्ट करें",
"viewLogsAction": "लॉग देखें",
"preparingLogsTitle": "लॉग तैयार किये जा रहे हैं...",
"emailLogsTitle": "लॉग ईमेल करें",
"emailLogsMessage": "कृपया {email} पर लॉग ईमेल करें",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "ईमेल कॉपी करें",
"exportLogsAction": "लॉग एक्सपोर्ट करें",
"reportABug": "बग रिपोर्ट करें",
"reportBug": "बग रिपोर्ट करें",
"emailUsMessage": "कृपया हमें {email} पर ईमेल करें",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "सपोर्ट टीम से संपर्क करें",
"rateUsOnStore": "हमें {storeName} पर रेट करें",
"blog": "ब्लॉग",
"verifyPassword": "पासवर्ड सत्यापित करें",
"pleaseWait": "कृपया प्रतीक्षा करें...",
"incorrectPasswordTitle": "ग़लत पासवर्ड",
"welcomeBack": "आपका पुनः स्वागत है!",
"changeEmail": "ईमेल बदलें",
"changePassword": "पासवर्ड बदलें",
"data": "डेटा",
"passwordEmptyError": "पासवर्ड रिक्त नहीं हो सकता है",
"importLabel": "इंपोर्ट",
"selectFile": "फ़ाइल का चयन करें",
"emailVerificationToggle": "ईमेल सत्यापन",
"ok": "ठीक है",
"cancel": "रद्द करें",
"yes": "हाँ",
"no": "नहीं",
"settings": "सेटिंग",
"pleaseTryAgain": "कृपया पुन: प्रयास करें",
"newUser": "एंटे में नए उपयोगकर्ता",
"delete": "हटाएं",
"enterYourPasswordHint": "अपना पासवर्ड दर्ज करें",
"forgotPassword": "पासवर्ड भूल गए",
"oops": "ओह",
"suggestFeatures": "विशेषताएं सुझाएं",
"faq": "अक्सर किये गए सवाल",
"somethingWentWrongMessage": "कुछ गड़बड़ हुई है, कृपया दोबारा प्रयास करें",
"leaveFamily": "परिवार छोड़ें",
"leaveFamilyMessage": "क्या आप सच में परिवार प्लान छोड़ना चाहते हैं?",
"inFamilyPlanMessage": "आप परिवार प्लान पर हैं!",
"hintForMobile": "कोड को संपादित करने या हटाने के लिए उसे लंबी देर तक दबाए।",
"hintForDesktop": "कोड को संपादित करने या हटाने के लिए उस पर राइट क्लिक करें।",
"scan": "स्कैन करें",
"scanACode": "कोड स्कैन करें",
"verify": "सत्यापित करें",
"verifyEmail": "ईमेल सत्यापित करें",
"twoFactorAuthTitle": "दो-चरणीय प्रमाणीकरण |"
}

View File

@@ -1,508 +0,0 @@
{
"account": "Tài khoản",
"unlock": "Mở khóa",
"recoveryKey": "Khóa khôi phục",
"counterAppBarTitle": "Bộ Đếm",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Sao lưu mã 2FA của bạn một cách an toàn",
"onBoardingGetStarted": "Bắt đầu",
"setupFirstAccount": "Thiết lập tài khoản đầu tiên của bạn",
"importScanQrCode": "Quét mã QR",
"qrCode": "Mã QR",
"importEnterSetupKey": "Nhập khóa thiết lập",
"importAccountPageTitle": "Nhập chi tiết tài khoản",
"secretCanNotBeEmpty": "Khoá bí mật không được để trống",
"bothIssuerAndAccountCanNotBeEmpty": "Cả nhà phát hành và tài khoản không được để trống",
"incorrectDetails": "Thông tin chi tiết không chính xác",
"pleaseVerifyDetails": "Vui lòng xác minh chi tiết và thử lại",
"codeIssuerHint": "Bên phát hành",
"codeSecretKeyHint": "Khóa bí mật",
"secret": "Khóa bí mật",
"all": "Tất cả",
"notes": "Ghi chú",
"notesLengthLimit": "Ghi chú có thể dài tối đa {count} ký tự",
"@notesLengthLimit": {
"description": "Text to indicate the maximum number of characters allowed for notes",
"placeholders": {
"count": {
"description": "The maximum number of characters allowed for notes",
"type": "int",
"example": "100"
}
}
},
"codeAccountHint": "Tài khoản (bạn@miền.com)",
"codeTagHint": "Thẻ",
"accountKeyType": "Loại khóa",
"sessionExpired": "Phiên làm việc đã hết hạn",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Vui lòng đăng nhập lại",
"loggingOut": "Đang đăng xuất...",
"timeBasedKeyType": "Dựa trên thời gian (TOTP)",
"counterBasedKeyType": "Dựa trên bộ đếm (HOTP)",
"saveAction": "Lưu",
"nextTotpTitle": "tiếp theo",
"deleteCodeTitle": "Xóa mã?",
"deleteCodeMessage": "Bạn có chắc chắn muốn xóa mã này không? Hành động này không thể đảo ngược.",
"trashCode": "Xóa mã?",
"trashCodeMessage": "Bạn có chắc chắn muốn xóa mã cho {account} không?",
"trash": "Xóa",
"viewLogsAction": "Xem các bản ghi",
"sendLogsDescription": "Thao tác này sẽ gửi nhật ký để giúp chúng tôi gỡ lỗi sự cố của bạn. Mặc dù chúng tôi thực hiện các biện pháp phòng ngừa để đảm bảo rằng thông tin nhạy cảm không được ghi lại, nhưng chúng tôi khuyến khích bạn xem các nhật ký này trước khi chia sẻ chúng.",
"preparingLogsTitle": "Đang chuẩn bị nhật ký...",
"emailLogsTitle": "Nhật ký email",
"emailLogsMessage": "Vui lòng gửi nhật ký tới {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "Sao chép email",
"exportLogsAction": "Xuất nhật ký",
"reportABug": "Báo cáo lỗi",
"crashAndErrorReporting": "Báo cáo sự cố & lỗi",
"reportBug": "Báo lỗi",
"emailUsMessage": "Vui lòng gửi email cho chúng tôi tại {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Liên hệ hỗ trợ",
"rateUsOnStore": "Đánh giá chúng tôi trên {storeName}",
"blog": "Blog",
"merchandise": "Hàng hóa",
"verifyPassword": "Xác nhận mật khẩu",
"pleaseWait": "Vui lòng chờ...",
"generatingEncryptionKeysTitle": "Đang tạo khóa mã hóa...",
"recreatePassword": "Tạo lại mật khẩu",
"recreatePasswordMessage": "Thiết bị hiện tại không đủ mạnh để xác minh mật khẩu của bạn, vì vậy chúng tôi cần tạo lại mật khẩu một lần theo cách hoạt động với tất cả các thiết bị.\n\nVui lòng đăng nhập bằng khóa khôi phục và tạo lại mật khẩu của bạn (bạn có thể sử dụng lại cùng một mật khẩu nếu muốn).",
"useRecoveryKey": "Dùng khóa khôi phục",
"incorrectPasswordTitle": "Mật khẩu không đúng",
"welcomeBack": "Chào mừng trở lại!",
"emailAlreadyRegistered": "Email đã được đăng kí.",
"emailNotRegistered": "Email chưa được đăng kí.",
"madeWithLoveAtPrefix": "được làm bằng ❤️ tại ",
"supportDevs": "Đăng ký <bold-green>ente</bold-green> để hỗ trợ dự án này.",
"supportDiscount": "Sử dụng mã giảm giá \"AUTH\" để được giảm 10% trong năm đầu tiên",
"changeEmail": "Thay đổi email",
"changePassword": "Đổi mật khẩu",
"data": "Dữ liệu",
"importCodes": "Nhập mã",
"importTypePlainText": "Văn bản thuần",
"importTypeEnteEncrypted": "Xuất key đã được mã hóa",
"passwordForDecryptingExport": "Mật khẩu để giải mã xuất",
"passwordEmptyError": "Mật khẩu không thể để trống",
"importFromApp": "Nhập mã từ {appName}",
"importGoogleAuthGuide": "Xuất dữ liệu tài khoản của bạn từ Google Authenticator sang mã QR bằng tùy chọn \"Chuyển tài khoản\". Sau đó dùng thiết bị khác quét mã QR.",
"importSelectJsonFile": "Chọn tệp JSON",
"importSelectAppExport": "Chọn {appName} tệp dữ liệu xuất",
"importEnteEncGuide": "Chọn tệp JSON được mã hóa đã xuất từ ente",
"importRaivoGuide": "Sử dụng tùy chọn \"Xuất OTP sang lưu trữ Zip\" trong cài đặt của Raivo.",
"importBitwardenGuide": "Sử dụng tùy chọn \"Xuất vault\" trong công cụ Bitwarden và nhập tệp JSON không được mã hóa.",
"importAegisGuide": "Nếu vault của bạn được mã hóa, bạn sẽ cần nhập mật khẩu vault để giải mã vault.",
"import2FasGuide": "Sử dụng tùy chọn \"Cài đặt->Sao lưu -Xuất dữ liệu\" trong 2FAS.\n\nNếu bản sao lưu của bạn được mã hóa, bạn sẽ cần nhập mật khẩu để giải mã bản sao lưu",
"importLastpassGuide": "Sử dụng tùy chọn \"Chuyển tài khoản\" trong Cài đặt Lastpass Authenticator và nhấn \"Xuất tài khoản ra tệp\". Nhập tệp JSON đã tải xuống.",
"exportCodes": "Xuất mã",
"importLabel": "Nhập",
"importInstruction": "Vui lòng chọn tệp chứa danh sách mã của bạn ở định dạng sau",
"importCodeDelimiterInfo": "Các mã có thể được phân tách bằng một dấu phẩy hoặc một dòng mới",
"selectFile": "Chọn tập tin",
"emailVerificationToggle": "Email xác thực",
"emailVerificationEnableWarning": "Để tránh bị khóa tài khoản, hãy đảm bảo lưu trữ bản sao email 2FA của bạn bên ngoài Ente Auth trước khi bật xác minh email.",
"authToChangeEmailVerificationSetting": "Vui lòng xác thực để thay đổi email",
"authenticateGeneric": "Vui lòng xác thực",
"authToViewYourRecoveryKey": "Vui lòng xác thực để xem khóa khôi phục của bạn",
"authToChangeYourEmail": "Vui lòng xác thực để thay đổi email của bạn",
"authToChangeYourPassword": "Vui lòng xác thực để thay đổi mật khẩu của bạn",
"authToViewSecrets": "Vui lòng xác thực để xem bí mật của bạn",
"authToInitiateSignIn": "Vui lòng xác thực để bắt đầu đăng nhập nhằm sao lưu.",
"ok": "Đồng ý",
"cancel": "Hủy",
"yes": "Đúng",
"no": "Không",
"email": "Thư điện tử",
"support": "Hỗ trợ",
"general": "Tổng quan",
"settings": "Cài đặt",
"copied": "Đã sao chép",
"pleaseTryAgain": "Vui lòng thử lại",
"existingUser": "Người dùng hiện tại",
"newUser": "Mới tham gia Ente",
"delete": "Xóa",
"enterYourPasswordHint": "Nhập mật khẩu của bạn",
"forgotPassword": "Quên mật khẩu",
"oops": "Rất tiếc",
"suggestFeatures": "Gợi ý tính năng",
"faq": "Câu hỏi thường gặp",
"somethingWentWrongMessage": "Đã xảy ra lỗi, xin thử lại",
"leaveFamily": "Rời khỏi gia đình",
"leaveFamilyMessage": "Bạn có chắc chắn muốn thoát khỏi gói dành cho gia đình không?",
"inFamilyPlanMessage": "Bạn đang sử dụng gói dành cho gia đình!",
"hintForMobile": "Nhấn giữ trên mã để chỉnh sửa hoặc xóa.",
"hintForDesktop": "Nhấp chuột phải vào mã để chỉnh sửa hoặc xóa.",
"scan": "Quét",
"scanACode": "Quét mã",
"verify": "Xác minh",
"verifyEmail": "Xác nhận địa chỉ Email",
"enterCodeHint": "Nhập mã gồm 6 chữ số từ ứng dụng xác thực của bạn",
"lostDeviceTitle": "Mất thiết bị?",
"twoFactorAuthTitle": "Xác thực hai yếu tố",
"passkeyAuthTitle": "Xác minh mã khóa",
"verifyPasskey": "Xác minh mã khóa",
"loginWithTOTP": "Đăng nhập bằng TOTP",
"recoverAccount": "Khôi phục tài khoản",
"enterRecoveryKeyHint": "Nhập khóa khôi phục của bạn",
"recover": "Khôi phục",
"contactSupportViaEmailMessage": "Vui lòng gửi email đến {email} từ địa chỉ email đã đăng ký của bạn",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"invalidQRCode": "Mã QR không hợp lệ",
"noRecoveryKeyTitle": "Không có khóa khôi phục?",
"enterEmailHint": "Nhập địa chỉ email của bạn",
"invalidEmailTitle": "Địa chỉ email không hợp lệ",
"invalidEmailMessage": "Xin vui lòng nhập một địa chỉ email hợp lệ.",
"deleteAccount": "Xoá tài khoản",
"deleteAccountQuery": "Chúng tôi sẽ rất tiếc khi thấy bạn đi. Bạn đang phải đối mặt với một số vấn đề?",
"yesSendFeedbackAction": "Có, gửi phản hồi",
"noDeleteAccountAction": "Không, xóa tài khoản",
"initiateAccountDeleteTitle": "Vui lòng xác thực để bắt đầu xóa tài khoản",
"sendEmail": "Gửi email",
"createNewAccount": "Tạo tài khoản mới",
"weakStrength": "Yếu",
"strongStrength": "Mạnh",
"moderateStrength": "Trung bình",
"confirmPassword": "Xác nhận mật khẩu",
"close": "Đóng",
"oopsSomethingWentWrong": "Rất tiếc, Đã xảy ra lỗi.",
"selectLanguage": "Chọn ngôn ngữ",
"language": "Ngôn ngữ",
"social": "Xã hội",
"security": "Bảo mật",
"lockscreen": "Màn hình khoá",
"authToChangeLockscreenSetting": "Vui lòng xác thực để thay đổi cài đặt màn hình khóa",
"deviceLockEnablePreSteps": "Để bật khoá thiết bị, vui lòng thiết lập mật khẩu thiết bị hoặc khóa màn hình trong cài đặt hệ thống của bạn.",
"viewActiveSessions": "Xem danh sách phiên làm việc hiện tại",
"authToViewYourActiveSessions": "Vui lòng xác thực để xem danh sách phiên làm việc của bạn",
"searchHint": "Tìm kiếm...",
"search": "Tìm kiếm",
"sorryUnableToGenCode": "Rất tiếc, không thể tạo mã cho {issuerName}",
"noResult": "Không có kết quả",
"addCode": "Thêm mã",
"scanAQrCode": "Quét mã QR",
"enterDetailsManually": "Nhập chi tiết thủ công",
"edit": "Sửa",
"share": "Chia sẻ",
"shareCodes": "Chia sẻ mã",
"shareCodesDuration": "Chọn khoảng thời gian mà bạn muốn chia sẻ mã.",
"restore": "Khôi phục",
"copiedToClipboard": "Đã sao chép vào khay nhớ tạm",
"copiedNextToClipboard": "Đã sao chép mã tiếp theo vào bảng nhớ tạm",
"error": "Lỗi",
"recoveryKeyCopiedToClipboard": "Đã sao chép khóa khôi phục vào bộ nhớ tạm",
"recoveryKeyOnForgotPassword": "Nếu bạn quên mật khẩu, cách duy nhất bạn có thể khôi phục dữ liệu của mình là sử dụng khóa này.",
"recoveryKeySaveDescription": "Chúng tôi không lưu trữ khóa này, vui lòng lưu khóa 24 từ này ở nơi an toàn.",
"doThisLater": "Để sau",
"saveKey": "Lưu khóa",
"save": "Lưu",
"send": "Gửi",
"saveOrSendDescription": "Bạn có muốn lưu vào bộ nhớ (Mặc định lưu vào thư mục Tải về) hoặc chuyển qua ứng dụng khác?",
"saveOnlyDescription": "Bạn có muốn lưu vào bộ nhớ không (Mặc định lưu vào thư mục Tải về)?",
"back": "Quay lại",
"createAccount": "Tạo tài khoản",
"passwordStrength": "Độ mạnh mật khẩu: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Mật khẩu",
"signUpTerms": "Tôi đồng ý với <u-terms>điều khoản dịch vụ</u-terms> và <u-policy>chính sách quyền riêng tư</u-policy>",
"privacyPolicyTitle": "Chính sách bảo mật",
"termsOfServicesTitle": "Điều khoản",
"encryption": "Mã hóa",
"setPasswordTitle": "Đặt mật khẩu",
"changePasswordTitle": "Thay đổi mật khẩu",
"resetPasswordTitle": "Đặt lại mật khẩu",
"encryptionKeys": "Khóa mã hóa",
"passwordWarning": "Chúng tôi không lưu trữ mật khẩu này, vì vậy nếu bạn quên, <underline>chúng tôi không thể giải mã dữ liệu của bạn</underline>",
"enterPasswordToEncrypt": "Nhập mật khẩu mà chúng tôi có thể sử dụng để mã hóa dữ liệu của bạn",
"enterNewPasswordToEncrypt": "Nhập một mật khẩu mới mà chúng tôi có thể sử dụng để mã hóa dữ liệu của bạn",
"passwordChangedSuccessfully": "Thay đổi mật khẩu thành công",
"generatingEncryptionKeys": "Đang tạo khóa mã hóa...",
"continueLabel": "Tiếp tục",
"insecureDevice": "Thiết bị không an toàn",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "Rất tiếc, chúng tôi không thể tạo khóa bảo mật trên thiết bị này.\n\nvui lòng đăng ký từ một thiết bị khác.",
"howItWorks": "Cách thức hoạt động",
"ackPasswordLostWarning": "Tôi hiểu rằng việc mất mật khẩu có thể đồng nghĩa với việc mất dữ liệu của tôi vì dữ liệu của tôi được <underline>mã hóa hai đầu</underline>.",
"loginTerms": "Bằng cách nhấp vào đăng nhập, tôi đồng ý với <u-terms>điều khoản dịch vụ</u-terms> và <u-policy>chính sách quyền riêng tư</u-policy>",
"logInLabel": "Đăng nhập",
"logout": "Đăng xuất",
"areYouSureYouWantToLogout": "Bạn có chắc chắn muốn đăng xuất?",
"yesLogout": "Có, đăng xuất",
"exit": "Thoát",
"theme": "Chủ đề",
"lightTheme": "Sáng",
"darkTheme": "Tối",
"systemTheme": "Hệ thống",
"verifyingRecoveryKey": "Đang xác minh khóa khôi phục...",
"recoveryKeyVerified": "Khóa khôi phục đã được xác thực",
"recoveryKeySuccessBody": "Tuyệt vời! Khóa khôi phục của bạn hợp lệ. Cảm ơn bạn đã xác minh.\n\nHãy nhớ sao lưu khóa khôi phục của bạn một cách an toàn.",
"invalidRecoveryKey": "Khóa khôi phục bạn đã nhập không hợp lệ. Vui lòng đảm bảo rằng nó chứa 24 từ và kiểm tra chính tả của từng từ.\n\nNếu bạn đã nhập mã khôi phục cũ hơn, hãy đảm bảo mã đó dài 64 ký tự và kiểm tra từng ký tự.",
"recreatePasswordTitle": "Tạo lại mật khẩu",
"recreatePasswordBody": "Thiết bị hiện tại không đủ mạnh để xác minh mật khẩu của bạn nhưng chúng tôi có thể tạo lại mật khẩu theo cách hoạt động với tất cả các thiết bị.\n\nVui lòng đăng nhập bằng khóa khôi phục và tạo lại mật khẩu của bạn (bạn có thể sử dụng lại cùng một mật khẩu nếu muốn).",
"invalidKey": "Khoá không hợp lệ",
"tryAgain": "Thử lại",
"viewRecoveryKey": "Hiển thị khóa khôi phục",
"confirmRecoveryKey": "Xác nhận khóa khôi phục",
"recoveryKeyVerifyReason": "Nếu bạn quên mật khẩu, khóa khôi phục là cách duy nhất để khôi phục ảnh của bạn. Bạn có thể tìm thấy khóa khôi phục của mình trong Cài đặt > Tài khoản.\n\nVui lòng nhập khóa khôi phục của bạn tại đây để xác minh rằng bạn đã lưu chính xác.",
"confirmYourRecoveryKey": "Xác nhận khóa khôi phục",
"confirm": "Xác nhận",
"emailYourLogs": "Gửi email nhật ký của bạn",
"pleaseSendTheLogsTo": "Vui lòng gửi nhật ký đến \n{toEmail}",
"copyEmailAddress": "Sao chép địa chỉ email",
"exportLogs": "Xuất nhật ký",
"enterYourRecoveryKey": "Nhập khóa khôi phục của bạn",
"tempErrorContactSupportIfPersists": "Có vẻ như đã xảy ra sự cố. Vui lòng thử lại sau một thời gian. Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ với nhóm hỗ trợ của chúng tôi.",
"networkHostLookUpErr": "Không thể kết nối đến Ente, vui lòng kiểm tra lại kết nối mạng. Nếu vẫn còn lỗi, xin vui lòng liên hệ hỗ trợ.",
"networkConnectionRefusedErr": "Không thể kết nối đến Ente, vui lòng thử lại sau. Nếu vẫn còn lỗi, xin vui lòng liên hệ hỗ trợ.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "Có vẻ như đã xảy ra sự cố. Vui lòng thử lại sau một thời gian. Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ với nhóm hỗ trợ của chúng tôi.",
"about": "Về chúng tôi",
"weAreOpenSource": "Chúng tôi có mã nguồn mở!",
"privacy": "Riêng tư",
"terms": "Điều khoản",
"checkForUpdates": "Kiểm tra cập nhật",
"checkStatus": "Kiểm tra trạng thái",
"downloadUpdate": "Tải xuống",
"criticalUpdateAvailable": "Đã có bản cập nhật quan trọng",
"updateAvailable": "Đã có bản cập nhật",
"update": "Cập nhật",
"checking": "Đang kiểm tra...",
"youAreOnTheLatestVersion": "Bạn đang sử dụng phiên bản mới nhất",
"warning": "Cánh báo",
"exportWarningDesc": "Tệp đã xuất chứa thông tin nhạy cảm. Hãy lưu trữ tệp này một cách an toàn.",
"iUnderStand": "Tôi hiểu",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Vui lòng xác thực để xuất mã của bạn",
"importSuccessTitle": "Hoan hô!",
"importSuccessDesc": "Bạn đã nhập {count} mã!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "Xin lỗi",
"importFailureDesc": "Không thể phân tích cú pháp tệp đã chọn.\nVui lòng viết thư cho support@ente.io nếu bạn cần trợ giúp!",
"pendingSyncs": "Cánh báo",
"pendingSyncsWarningBody": "Một số mã của bạn chưa được sao lưu.\n\nVui lòng đảm bảo rằng bạn có bản sao lưu cho các mã này trước khi đăng xuất.",
"checkInboxAndSpamFolder": "Vui lòng kiểm tra hộp thư đến (và thư rác) của bạn để hoàn tất xác minh",
"tapToEnterCode": "Chạm để nhập mã",
"resendEmail": "Gửi lại email",
"weHaveSendEmailTo": "Chúng tôi đã gửi thư đến <green>{email}</green>",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"manualSort": "Tùy chỉnh",
"editOrder": "Chỉnh sửa đơn hàng",
"mostFrequentlyUsed": "Thường dùng",
"mostRecentlyUsed": "Dùng gần đây",
"activeSessions": "Các phiên làm việc hiện tại",
"somethingWentWrongPleaseTryAgain": "Phát hiện có lỗi, xin thử lại",
"thisWillLogYouOutOfThisDevice": "Thao tác này sẽ đăng xuất bạn khỏi thiết bị này!",
"thisWillLogYouOutOfTheFollowingDevice": "Thao tác này sẽ đăng xuất bạn khỏi thiết bị sau:",
"terminateSession": "Kết thúc phiên?",
"terminate": "Kết thúc",
"thisDevice": "Thiết bị này",
"toResetVerifyEmail": "Để đặt lại mật khẩu, vui lòng xác minh email của bạn trước.",
"thisEmailIsAlreadyInUse": "Email này đã được sử dụng",
"verificationFailedPleaseTryAgain": "Mã xác nhận thất bại. Vui lòng thử lại",
"yourVerificationCodeHasExpired": "Mã xác minh của bạn đã hết hạn",
"incorrectCode": "Mã không chính xác",
"sorryTheCodeYouveEnteredIsIncorrect": "Xin lỗi, mã bạn đã nhập không chính xác",
"emailChangedTo": "Thay đổi email thành {newEmail}",
"authenticationFailedPleaseTryAgain": "Xác thực lỗi, vui lòng thử lại",
"authenticationSuccessful": "Xác thực thành công!",
"twofactorAuthenticationSuccessfullyReset": "Xác thực hai bước được khôi phục thành công",
"incorrectRecoveryKey": "Khóa khôi phục không chính xác",
"theRecoveryKeyYouEnteredIsIncorrect": "Khóa khôi phục bạn đã nhập không chính xác",
"enterPassword": "Nhập mật khẩu",
"selectExportFormat": "Chọn định dạng dữ liệu xuất",
"exportDialogDesc": "Xuất dữ liệu được mã hóa sẽ được bảo vệ bằng mật khẩu bạn chọn.",
"encrypted": "Đã mã hóa",
"plainText": "Văn bản thuần",
"passwordToEncryptExport": "Mật khẩu để giải mã dữ liệu xuất",
"export": "Xuất dữ liệu",
"useOffline": "Sử dụng mà không sao lưu",
"signInToBackup": "Đăng nhập để sao lưu mã của bạn",
"singIn": "Đăng nhập",
"sigInBackupReminder": "Vui lòng xuất mã của bạn để đảm bảo rằng bạn có bản sao lưu có thể khôi phục.",
"offlineModeWarning": "Bạn đã chọn tiếp tục mà không cần sao lưu. Vui lòng sao lưu thủ công để đảm bảo mã của bạn được an toàn.",
"showLargeIcons": "Hiển thị biểu tượng lớn",
"compactMode": "Chế độ thu gọn",
"shouldHideCode": "Ẩn mã",
"doubleTapToViewHiddenCode": "Bạn có thể nhấn đúp vào một mục để xem mã",
"focusOnSearchBar": "Mở tìm kiếm khi khởi động ứng dụng",
"confirmUpdatingkey": "Bạn có chắc chắn muốn cập nhật khóa bí mật không?",
"minimizeAppOnCopy": "Thu nhỏ khi sao chép",
"editCodeAuthMessage": "Xác minh để chỉnh sửa mã",
"deleteCodeAuthMessage": "Xác minh để xóa mã",
"showQRAuthMessage": "Xác minh để hiển thị mã QR",
"confirmAccountDeleteTitle": "Xác nhận xóa tài khoản",
"confirmAccountDeleteMessage": "Tài khoản này được liên kết với các ứng dụng Ente trên các nền tảng khác, nếu bạn có sử dụng.\n\nDữ liệu đã tải lên của bạn, trên mọi nền tảng, sẽ bị lên lịch xóa và tài khoản của bạn sẽ bị xóa vĩnh viễn.",
"androidBiometricHint": "Xác định danh tính",
"@androidBiometricHint": {
"description": "Hint message advising the user how to authenticate with biometrics. It is used on Android side. Maximum 60 characters."
},
"androidBiometricNotRecognized": "Không nhận dạng được. Vui lòng thử lại.",
"@androidBiometricNotRecognized": {
"description": "Message to let the user know that authentication was failed. It is used on Android side. Maximum 60 characters."
},
"androidBiometricSuccess": "Thành công",
"@androidBiometricSuccess": {
"description": "Message to let the user know that authentication was successful. It is used on Android side. Maximum 60 characters."
},
"androidCancelButton": "Hủy bỏ",
"@androidCancelButton": {
"description": "Message showed on a button that the user can click to leave the current dialog. It is used on Android side. Maximum 30 characters."
},
"androidSignInTitle": "Yêu cầu xác thực",
"@androidSignInTitle": {
"description": "Message showed as a title in a dialog which indicates the user that they need to scan biometric to continue. It is used on Android side. Maximum 60 characters."
},
"androidBiometricRequiredTitle": "Yêu cầu sinh trắc học",
"@androidBiometricRequiredTitle": {
"description": "Message showed as a title in a dialog which indicates the user has not set up biometric authentication on their device. It is used on Android side. Maximum 60 characters."
},
"androidDeviceCredentialsRequiredTitle": "Yêu cầu thông tin xác thực thiết bị",
"@androidDeviceCredentialsRequiredTitle": {
"description": "Message showed as a title in a dialog which indicates the user has not set up credentials authentication on their device. It is used on Android side. Maximum 60 characters."
},
"androidDeviceCredentialsSetupDescription": "Yêu cầu thông tin xác thực thiết bị",
"@androidDeviceCredentialsSetupDescription": {
"description": "Message advising the user to go to the settings and configure device credentials on their device. It shows in a dialog on Android side."
},
"goToSettings": "Chuyển đến cài đặt",
"@goToSettings": {
"description": "Message showed on a button that the user can click to go to settings pages from the current dialog. It is used on both Android and iOS side. Maximum 30 characters."
},
"androidGoToSettingsDescription": "Xác thực sinh trắc học chưa được thiết lập trên thiết bị của bạn. Đi tới 'Cài đặt > Bảo mật' để thêm xác thực sinh trắc học.",
"@androidGoToSettingsDescription": {
"description": "Message advising the user to go to the settings and configure biometric on their device. It shows in a dialog on Android side."
},
"iOSLockOut": "Xác thực sinh trắc học bị vô hiệu hóa. Vui lòng khóa và mở khóa màn hình của bạn để kích hoạt nó.",
"@iOSLockOut": {
"description": "Message advising the user to re-enable biometrics on their device. It shows in a dialog on iOS side."
},
"iOSGoToSettingsDescription": "Xác thực sinh trắc học chưa được thiết lập trên thiết bị của bạn. Vui lòng bật Touch ID hoặc Face ID trên điện thoại của bạn.",
"@iOSGoToSettingsDescription": {
"description": "Message advising the user to go to the settings and configure Biometrics for their device. It shows in a dialog on iOS side."
},
"iOSOkButton": "Đồng ý",
"@iOSOkButton": {
"description": "Message showed on a button that the user can click to leave the current dialog. It is used on iOS side. Maximum 30 characters."
},
"noInternetConnection": "Không có kết nối Internet",
"pleaseCheckYourInternetConnectionAndTryAgain": "Vui lòng kiểm tra kết nối internet của bạn và thử lại.",
"signOutFromOtherDevices": "Đăng xuất khỏi các thiết bị khác",
"signOutOtherBody": "Nếu bạn cho rằng ai đó có thể biết mật khẩu của mình, bạn có thể buộc đăng xuất tất cả các thiết bị khác đang sử dụng tài khoản của mình.",
"signOutOtherDevices": "Đăng xuất khỏi các thiết bị khác",
"doNotSignOut": "Không được đăng xuất",
"hearUsWhereTitle": "Bạn biết đến Ente bằng cách nào? (không bắt buộc)",
"hearUsExplanation": "Chúng tôi không theo dõi lượt cài đặt ứng dụng. Sẽ rất hữu ích nếu bạn cho chúng tôi biết nơi bạn tìm thấy chúng tôi!",
"recoveryKeySaved": "Đã lưu khoá dự phòng vào thư mục Tải về!",
"waitingForBrowserRequest": "Đang chờ yêu cầu từ trình duyệt...",
"waitingForVerification": "Đang chờ xác thực",
"passkey": "Mã khoá",
"passKeyPendingVerification": "Đang chờ xác thực",
"loginSessionExpired": "Phiên làm việc hết hạn",
"loginSessionExpiredDetails": "Phiên làm việc hết hạn. Vui lòng đăng nhập lại.",
"developerSettingsWarning": "Bạn có chắc chắn muốn thay đổi Tuỳ chọn cho nhà phát triển không?",
"developerSettings": "Cài đặt cho nhà phát triển",
"serverEndpoint": "Điểm cuối máy chủ",
"invalidEndpoint": "Điểm cuối không hợp lệ",
"invalidEndpointMessage": "Xin lỗi, điểm cuối bạn nhập không hợp lệ. Vui lòng nhập một điểm cuối hợp lệ và thử lại.",
"endpointUpdatedMessage": "Cập nhật điểm cuối thành công",
"customEndpoint": "Đã kết nối đến",
"pinText": "Ghim",
"unpinText": "Bỏ ghim",
"pinnedCodeMessage": "{code} đã được ghim",
"unpinnedCodeMessage": "{code} đã được bỏ ghim",
"pinned": "Đã ghim",
"tags": "Thẻ",
"createNewTag": "Tạo thẻ mới",
"tag": "Thẻ",
"create": "Tạo",
"editTag": "Sửa thẻ",
"deleteTagTitle": "Xóa thẻ?",
"deleteTagMessage": "Bạn có chắc chắn muốn xóa thẻ này không? Hành động này không thể đảo ngược.",
"somethingWentWrongParsingCode": "Chúng tôi không thể phân tích {x} mã.",
"updateNotAvailable": "Cập nhật không khả dụng",
"viewRawCodes": "Xem mã nguồn",
"rawCodes": "Mã nguồn",
"rawCodeData": "Dữ liệu thô",
"appLock": "Khóa ứng dụng",
"noSystemLockFound": "Không thấy khoá hệ thống",
"toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "Để bật khoá ứng dụng, vui lòng thiết lập mật khẩu thiết bị hoặc khóa màn hình trong cài đặt hệ thống của bạn.",
"autoLock": "Tự động khóa",
"immediately": "Tức thì",
"reEnterPassword": "Nhập lại mật khẩu",
"reEnterPin": "Nhập lại mã PIN",
"next": "Tiếp theo",
"tooManyIncorrectAttempts": "Quá nhiều lần thử không chính xác",
"tapToUnlock": "Nhấn để mở khóa",
"setNewPassword": "Đặt lại mật khẩu",
"deviceLock": "Khóa thiết bị",
"hideContent": "Ẩn nội dung",
"hideContentDescriptionAndroid": "Ẩn nội dung khi chuyển ứng dụng và chặn chụp màn hình",
"hideContentDescriptioniOS": "Ẩn nội dung khi chuyển ứng dụng",
"autoLockFeatureDescription": "Thời gian ứng dụng tự khoá sau khi ở trạng thái nền",
"appLockDescription": "Chọn giữa màn hình khoá mặc định của thiết bị và màn hình khoá tự chọn dùng mã PIN hoặc mật khẩu.",
"pinLock": "Mã PIN",
"enterPin": "Nhập mã PIN",
"setNewPin": "Đổi mã PIN",
"importFailureDescNew": "Không thể phân tích file đã chọn.",
"appLockNotEnabled": "Khóa ứng dụng chưa được bật",
"appLockNotEnabledDescription": "Vui lòng bật khóa ứng dụng từ Bảo mật > Khóa ứng dụng",
"authToViewPasskey": "Vui lòng xác thực để xem mã khóa",
"appLockOfflineModeWarning": "Bạn đã chọn tiếp tục mà không có bản sao lưu. Nếu bạn quên khóa ứng dụng, bạn sẽ bị khóa khỏi việc truy cập dữ liệu của mình.",
"duplicateCodes": "Mã trùng lặp",
"noDuplicates": "✨ Không có trùng lặp",
"youveNoDuplicateCodesThatCanBeCleared": "Bạn không có mã trùng lặp nào có thể được xóa",
"deduplicateCodes": "Loại bỏ mã trùng lặp",
"deselectAll": "Bỏ chọn tất cả",
"selectAll": "Chọn tất cả",
"deleteDuplicates": "Xóa trùng lặp",
"plainHTML": "HTML thuần"
}

View File

@@ -1,141 +0,0 @@
import 'dart:async';
import 'dart:io';
import 'package:collection/collection.dart';
import 'package:dio/dio.dart';
import 'package:ente_auth/core/configuration.dart';
import 'package:ente_auth/core/event_bus.dart';
import 'package:ente_auth/core/network.dart';
import 'package:ente_auth/events/notification_event.dart';
import 'package:ente_auth/services/user_service.dart';
import 'package:logging/logging.dart';
import 'package:shared_preferences/shared_preferences.dart';
class UserRemoteFlagService {
final _dio = Network.instance.getDio();
final _logger = Logger((UserRemoteFlagService).toString());
final _config = Configuration.instance;
late SharedPreferences _prefs;
UserRemoteFlagService._privateConstructor();
static final UserRemoteFlagService instance =
UserRemoteFlagService._privateConstructor();
static const String recoveryVerificationFlag = "recoveryKeyVerified";
static const String needRecoveryKeyVerification =
"needRecoveryKeyVerification";
Future<void> init() async {
_prefs = await SharedPreferences.getInstance();
}
bool shouldShowRecoveryVerification() {
if (!_prefs.containsKey(needRecoveryKeyVerification)) {
// fetch the status from remote
unawaited(_refreshRecoveryVerificationFlag());
return false;
} else {
final bool shouldShow = _prefs.getBool(needRecoveryKeyVerification)!;
if (shouldShow) {
// refresh the status to check if user marked it as done on another device
unawaited(_refreshRecoveryVerificationFlag());
}
return shouldShow;
}
}
// markRecoveryVerificationAsDone is used to track if user has verified their
// recovery key in the past or not. This helps in avoid showing the same
// prompt to the user on re-install or signing into a different device
Future<void> markRecoveryVerificationAsDone() async {
await _updateKeyValue(recoveryVerificationFlag, true.toString());
await _prefs.setBool(needRecoveryKeyVerification, false);
}
Future<void> _refreshRecoveryVerificationFlag() async {
_logger.finest('refresh recovery key verification flag');
final remoteStatusValue =
await _getValue(recoveryVerificationFlag, "false");
final bool isNeedVerificationFlagSet =
_prefs.containsKey(needRecoveryKeyVerification);
if (remoteStatusValue.toLowerCase() == "true") {
await _prefs.setBool(needRecoveryKeyVerification, false);
// If the user verified on different device, then we should refresh
// the UI to dismiss the Notification.
if (isNeedVerificationFlagSet) {
Bus.instance.fire(NotificationEvent());
}
} else if (!isNeedVerificationFlagSet) {
// Verification is not done yet as remoteStatus is false and local flag to
// show notification isn't set. Set the flag to true if any active
// session is older than 1 day.
final activeSessions = await UserService.instance.getActiveSessions();
final int microSecondsInADay = const Duration(days: 1).inMicroseconds;
final bool anyActiveSessionOlderThanADay =
activeSessions.sessions.firstWhereOrNull(
(e) =>
(e.creationTime + microSecondsInADay) <
DateTime.now().microsecondsSinceEpoch,
) !=
null;
if (anyActiveSessionOlderThanADay) {
await _prefs.setBool(needRecoveryKeyVerification, true);
Bus.instance.fire(NotificationEvent());
} else {
// continue defaulting to no verification prompt
_logger.finest('No active session older than 1 day');
}
}
}
Future<String> _getValue(String key, String? defaultValue) async {
try {
final Map<String, dynamic> queryParams = {"key": key};
if (defaultValue != null) {
queryParams["defaultValue"] = defaultValue;
}
final response = await _dio.get(
"${_config.getHttpEndpoint()}/remote-store",
queryParameters: queryParams,
options: Options(
headers: {
"X-Auth-Token": _config.getToken(),
},
),
);
if (response.statusCode != HttpStatus.ok) {
throw Exception("Unexpected status code ${response.statusCode}");
}
return response.data["value"];
} catch (e) {
_logger.info("Error while fetching bool status for $key", e);
rethrow;
}
}
// _setBooleanFlag sets the corresponding flag on remote
// to mark recovery as completed
Future<void> _updateKeyValue(String key, String value) async {
try {
final response = await _dio.post(
"${_config.getHttpEndpoint()}/remote-store/update",
data: {
"key": key,
"value": value,
},
options: Options(
headers: {
"X-Auth-Token": _config.getToken(),
},
),
);
if (response.statusCode != HttpStatus.ok) {
throw Exception("Unexpected state");
}
} catch (e) {
_logger.warning("Failed to set flag for $key", e);
rethrow;
}
}
}

View File

@@ -1,219 +0,0 @@
import 'package:bip39/bip39.dart' as bip39;
import 'package:dio/dio.dart';
import 'package:ente_auth/core/configuration.dart';
import 'package:ente_auth/ente_theme_data.dart';
import 'package:ente_auth/l10n/l10n.dart';
import 'package:ente_auth/services/local_authentication_service.dart';
import 'package:ente_auth/services/user_remote_flag_service.dart';
import 'package:ente_auth/ui/account/recovery_key_page.dart';
import 'package:ente_auth/ui/common/gradient_button.dart';
import 'package:ente_auth/ui/components/buttons/button_widget.dart';
import 'package:ente_auth/utils/dialog_util.dart';
import 'package:ente_auth/utils/navigation_util.dart';
import 'package:ente_auth/utils/platform_util.dart';
import 'package:ente_crypto_dart/ente_crypto_dart.dart';
import 'package:flutter/material.dart';
import 'package:logging/logging.dart';
class VerifyRecoveryPage extends StatefulWidget {
const VerifyRecoveryPage({super.key});
@override
State<VerifyRecoveryPage> createState() => _VerifyRecoveryPageState();
}
class _VerifyRecoveryPageState extends State<VerifyRecoveryPage> {
final _recoveryKey = TextEditingController();
final Logger _logger = Logger((_VerifyRecoveryPageState).toString());
void _verifyRecoveryKey() async {
final dialog =
createProgressDialog(context, context.l10n.verifyingRecoveryKey);
await dialog.show();
try {
final String inputKey = _recoveryKey.text.trim();
final String recoveryKey =
CryptoUtil.bin2hex(Configuration.instance.getRecoveryKey());
final String recoveryKeyWords = bip39.entropyToMnemonic(recoveryKey);
if (inputKey == recoveryKey || inputKey == recoveryKeyWords) {
try {
await UserRemoteFlagService.instance.markRecoveryVerificationAsDone();
} catch (e) {
await dialog.hide();
if (e is DioException && e.type == DioExceptionType.unknown) {
await showErrorDialog(
context,
"No internet connection",
"Please check your internet connection and try again.",
);
} else {
await showGenericErrorDialog(
context: context,
error: e,
);
}
return;
}
await dialog.hide();
// todo: change this as per figma once the component is ready
await showErrorDialog(
context,
context.l10n.recoveryKeyVerified,
context.l10n.recoveryKeySuccessBody,
);
Navigator.of(context).pop();
} else {
throw Exception("recovery key didn't match");
}
} catch (e, s) {
_logger.severe("failed to verify recovery key", e, s);
await dialog.hide();
final String errMessage = context.l10n.invalidRecoveryKey;
final result = await showChoiceDialog(
context,
title: context.l10n.invalidKey,
body: errMessage,
firstButtonLabel: context.l10n.tryAgain,
secondButtonLabel: context.l10n.viewRecoveryKey,
secondButtonAction: ButtonAction.second,
);
if (result!.action == ButtonAction.second) {
await _onViewRecoveryKeyClick();
}
}
}
Future<void> _onViewRecoveryKeyClick() async {
final hasAuthenticated =
await LocalAuthenticationService.instance.requestLocalAuthentication(
context,
"Please authenticate to view your recovery key",
);
await PlatformUtil.refocusWindows();
if (hasAuthenticated) {
String recoveryKey;
try {
recoveryKey =
CryptoUtil.bin2hex(Configuration.instance.getRecoveryKey());
await routeToPage(
context,
RecoveryKeyPage(
recoveryKey,
context.l10n.ok,
showAppBar: true,
onDone: () {
Navigator.of(context).pop();
},
),
);
} catch (e) {
// ignore: unawaited_futures
showGenericErrorDialog(
context: context,
error: e,
);
return;
}
}
}
@override
Widget build(BuildContext context) {
final enteTheme = Theme.of(context).colorScheme.enteTheme;
return Scaffold(
appBar: AppBar(
elevation: 0,
leading: IconButton(
icon: const Icon(Icons.arrow_back),
color: Theme.of(context).iconTheme.color,
onPressed: () {
Navigator.of(context).pop();
},
),
),
body: Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: LayoutBuilder(
builder: (context, constraints) {
return SingleChildScrollView(
child: ConstrainedBox(
constraints: BoxConstraints(
minWidth: constraints.maxWidth,
minHeight: constraints.maxHeight,
),
child: IntrinsicHeight(
child: Column(
children: [
const SizedBox(height: 12),
SizedBox(
width: double.infinity,
child: Text(
context.l10n.confirmRecoveryKey,
style: enteTheme.textTheme.h3Bold,
textAlign: TextAlign.left,
),
),
const SizedBox(height: 18),
Text(
context.l10n.recoveryKeyVerifyReason,
style: enteTheme.textTheme.small
.copyWith(color: enteTheme.colorScheme.textMuted),
),
const SizedBox(height: 12),
TextFormField(
decoration: InputDecoration(
filled: true,
hintText: context.l10n.enterYourRecoveryKey,
contentPadding: const EdgeInsets.all(20),
border: UnderlineInputBorder(
borderSide: BorderSide.none,
borderRadius: BorderRadius.circular(6),
),
),
style: const TextStyle(
fontSize: 14,
fontFeatures: [FontFeature.tabularFigures()],
),
controller: _recoveryKey,
autofocus: false,
autocorrect: false,
keyboardType: TextInputType.multiline,
minLines: 4,
maxLines: null,
onChanged: (_) {
setState(() {});
},
),
const SizedBox(height: 12),
Expanded(
child: Container(
alignment: Alignment.bottomCenter,
width: double.infinity,
padding: const EdgeInsets.fromLTRB(0, 12, 0, 40),
child: Column(
mainAxisAlignment: MainAxisAlignment.end,
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
GradientButton(
onTap: _verifyRecoveryKey,
text: context.l10n.confirm,
),
const SizedBox(height: 8),
],
),
),
),
const SizedBox(height: 20),
],
),
),
),
);
},
),
),
);
}
}

View File

@@ -60,7 +60,7 @@ ente account list
#### Change export directory
```shell
ente account update --email email@domain.com --dir ~/photos
ente account update --app auth/photos --email email@domain.com --dir ~/photos
```
### Export

View File

@@ -5,8 +5,6 @@
endpoint:
api: "http://localhost:8080"
# Endpoint for the account service for passkey
accounts: "http://localhost:3001"
log:
http: false # log status code & time taken by requests

View File

@@ -83,13 +83,14 @@ func (c *Client) VerifySRPSession(
return &res, nil
}
func (c *Client) SendEmailOTP(
func (c *Client) SendLoginOTP(
ctx context.Context,
email string,
) error {
var res AuthorizationResponse
payload := map[string]interface{}{
"email": email,
"email": email,
"purpose": "login",
}
r, err := c.restClient.R().
SetContext(ctx).

View File

@@ -35,6 +35,7 @@ type AuthorizationResponse struct {
ID int64 `json:"id"`
KeyAttributes *KeyAttributes `json:"keyAttributes,omitempty"`
EncryptedToken string `json:"encryptedToken,omitempty"`
AccountsUrl string `json:"accountsUrl"`
Token string `json:"token,omitempty"`
TwoFactorSessionID string `json:"twoFactorSessionID"`
PassKeySessionID string `json:"passkeySessionID"`

View File

@@ -110,7 +110,6 @@ func initConfig(cliConfigDir string) {
viper.AddConfigPath(".") // optionally look for config in the working directory
viper.SetDefault("endpoint.api", constants.EnteApiUrl)
viper.SetDefault("endpoint.accounts", constants.EnteAccountUrl)
viper.SetDefault("log.http", false)
if err := viper.ReadInConfig(); err != nil {
if _, ok := err.(viper.ConfigFileNotFoundError); ok {

View File

@@ -135,7 +135,7 @@ func (c *ClICtrl) UpdateFreeStorage(ctx context.Context, params model.AdminActio
return err
}
fmt.Printf("Updating storage for user %s to %s (old %s) with new expirty %s (old %s) \n",
fmt.Printf("Updating storage for user %s to %s (old %s) with new expiry %s (old %s) \n",
params.UserEmail,
utils.ByteCountDecimalGIB(storageSize), utils.ByteCountDecimalGIB(userDetails.Subscription.Storage),
date.Format("2006-01-02"),

View File

@@ -8,8 +8,8 @@ import (
eCrypto "github.com/ente-io/cli/internal/crypto"
"github.com/ente-io/cli/pkg/model"
"github.com/ente-io/cli/utils/browser"
"github.com/ente-io/cli/utils/constants"
"github.com/ente-io/cli/utils/encoding"
"github.com/spf13/viper"
"log"
"github.com/kong/go-srp"
@@ -145,7 +145,10 @@ func (c *ClICtrl) verifyPassKey(ctx context.Context, authResp *api.Authorization
if !authResp.IsPasskeyRequired() {
return authResp, nil
}
baseAccountUrl := viper.GetString("endpoint.accounts")
baseAccountUrl := constants.EnteAccountUrl
if authResp.AccountsUrl != "" {
baseAccountUrl = authResp.AccountsUrl
}
passkeyAuthUrl := fmt.Sprintf("%s/passkeys/verify?passkeySessionID=%s&redirect=ente-cli://passkey&clientPackage=%s", baseAccountUrl, authResp.PassKeySessionID, app.ClientPkg())
fmt.Printf("Open this url in browser to verify passkey: %s\n", passkeyAuthUrl)
err := browser.OpenURL(passkeyAuthUrl)
@@ -167,7 +170,7 @@ func (c *ClICtrl) verifyPassKey(ctx context.Context, authResp *api.Authorization
}
func (c *ClICtrl) validateEmail(ctx context.Context, email string) (*api.AuthorizationResponse, error) {
err := c.Client.SendEmailOTP(ctx, email)
err := c.Client.SendLoginOTP(ctx, email)
if err != nil {
return nil, err
}

View File

@@ -22,6 +22,9 @@ on:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
permissions:
contents: write
jobs:
release:
runs-on: ${{ matrix.os }}
@@ -45,12 +48,11 @@ jobs:
"${{ startsWith(github.ref, 'refs/tags/v') &&
format('photosd-{0}', github.ref_name) || ( inputs.source
|| 'main' ) }}"
submodules: recursive
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- name: Increase yarn timeout
# `yarn install` times out sometimes on the Windows runner,
@@ -111,6 +113,11 @@ jobs:
APPLE_APP_SPECIFIC_PASSWORD:
${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
# Windows Azure Trusted Signing related values
# https://www.electron.build/code-signing-win#using-azure-trusted-signing-beta
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
# Default is "draft", but since our nightly builds update
# existing pre-releases, set this to "prerelease".
EP_PRE_RELEASE: true

View File

@@ -1,6 +1,7 @@
{
"tabWidth": 4,
"proseWrap": "always",
"objectWrap": "collapse",
"plugins": [
"prettier-plugin-organize-imports",
"prettier-plugin-packagejson"

View File

@@ -1,11 +1,37 @@
# CHANGELOG
## v1.7.10 (Unreleased)
## v1.7.15 (Unreleased)
- .
## v1.7.14
- Increase file size limit to 10 GB.
## v1.7.13
- Generate streams for videos (beta)
> Streamable videos can be enabled in Preferences. For more details, see the
> [video streaming FAQ](https://help.ente.io/photos/faq/video-streaming).
- Support Turkish translations.
## v1.7.12
- Improved video player with streaming support (for already processed videos).
- Support Arabic translations.
## v1.7.11
- Improved file viewer.
- Improved live photo experience.
## v1.7.10
- Speed up selection for large libraries.
- Support Japanese translations.
- Fix video thumbnail generation on drag and drop.
- .
## v1.7.9

View File

@@ -10,19 +10,21 @@ To know more about Ente, see [our main README](../README.md) or visit
## Building from source
Fetch submodules
Clone this repository and change to this directory
```sh
git submodule update --init --recursive
git clone https://github.com/ente-io/ente
cd ente/desktop
```
Install dependencies
Install dependencies (requires Yarn v1):
```sh
yarn install
```
Run in development mode (supports hot reload for the renderer process)
Now you can run in development mode (supports hot reload for the renderer
process)
```sh
yarn dev

Binary file not shown.

BIN
desktop/build/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 989 B

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 607 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 B

After

Width:  |  Height:  |  Size: 935 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 458 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 655 B

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@@ -3,6 +3,7 @@
- [Electron](#electron)
- [Dev dependencies](#dev)
- [Functionality](#functionality)
- [Pinned](#pinned)
## Electron
@@ -140,3 +141,13 @@ handles to avoid reopening them for every operation.
[chokidar](https://github.com/paulmillr/chokidar) is used as a file system
watcher for the watch folders functionality.
## Pinned
- `electron-builder` is pinned to 26.0.14 because of
https://github.com/electron-userland/electron-builder/issues/9161
To reproduce this locally, add `x64ArchFiles: "ffmpeg"` to
`electron-builder.yml`, then run `node_modules/.bin/electron-builder --mac`.
- `electron-store` is pinned to 8.2.0 because subsequent versions are ESM only.

View File

@@ -14,6 +14,11 @@ win:
target:
- target: nsis
arch: [x64, arm64]
azureSignOptions:
publisherName: ENTE TECHNOLOGIES, INC.
endpoint: https://eus.codesigning.azure.net/
certificateProfileName: EnteTrustCertProfile
codeSigningAccountName: EnteTechnologiesInc
nsis:
deleteAppDataOnUninstall: true
linux:

View File

@@ -27,23 +27,26 @@ export default ts.config(
// Allow numbers to be used in template literals.
"@typescript-eslint/restrict-template-expressions": [
"error",
{
allowNumber: true,
},
{ allowNumber: true },
],
// Allow void expressions as the entire body of an arrow function.
"@typescript-eslint/no-confusing-void-expression": [
"error",
{
ignoreArrowShorthand: true,
},
{ ignoreArrowShorthand: true },
],
// Allow free standing ternary expressions.
"@typescript-eslint/no-unused-expressions": [
"error",
{
allowTernary: true,
},
{ allowTernary: true },
],
// Allow force unwrapping potentially optional values.
//
// See: [Note: non-null-assertions have better stack trace]
"@typescript-eslint/no-non-null-assertion": "off",
// Allow `while(true)` etc.
"@typescript-eslint/no-unnecessary-condition": [
"error",
{ allowConstantLoopConditions: true },
],
},
},

View File

@@ -1,6 +1,6 @@
{
"name": "ente",
"version": "1.7.10-beta",
"version": "1.7.15-beta",
"private": true,
"description": "Desktop client for Ente Photos",
"repository": "github:ente-io/photos-desktop",
@@ -8,11 +8,11 @@
"main": "app/main.js",
"scripts": {
"build": "yarn build-renderer && yarn build-main",
"build:ci": "yarn build-renderer && tsc",
"build:quick": "yarn build-renderer && yarn build-main:quick",
"build-main": "tsc && electron-builder",
"build-main:quick": "tsc && electron-builder --dir --config.compression=store --config.mac.identity=null",
"build-renderer": "cross-env-shell _ENTE_IS_DESKTOP=1 \"cd ../web && yarn install && yarn build:photos && cd ../desktop && shx rm -rf out && shx cp -r ../web/apps/photos/out out\"",
"build:ci": "yarn build-renderer && tsc",
"build:quick": "yarn build-renderer && yarn build-main:quick",
"dev": "concurrently --kill-others --success first --names 'main,rndr' \"yarn dev-main\" \"yarn dev-renderer\"",
"dev-main": "tsc && electron .",
"dev-renderer": "cross-env-shell _ENTE_IS_DESKTOP=1 \"cd ../web && yarn install && yarn workspace photos next dev -p 3008\"",
@@ -21,43 +21,39 @@
"lint-fix": "yarn prettier --write --log-level warn . && yarn eslint && yarn tsc",
"prepare": "node scripts/vips.js"
},
"resolutions": {
"jackspeak": "2.1.1"
},
"dependencies": {
"any-shell-escape": "^0.1.1",
"auto-launch": "^5.0.6",
"chokidar": "^3.6.0",
"chokidar": "^4.0.3",
"clip-bpe-js": "^0.0.6",
"comlink": "^4.4.2",
"compare-versions": "^6.1.1",
"electron-log": "^5.3.0",
"electron-log": "^5.4.1",
"electron-store": "^8.2.0",
"electron-updater": "^6.4.0",
"electron-updater": "^6.6.5",
"ffmpeg-static": "^5.2.0",
"lru-cache": "^11.0.2",
"lru-cache": "^11.1.0",
"next-electron-server": "^1.0.0",
"node-stream-zip": "^1.15.0",
"onnxruntime-node": "^1.20.1"
"onnxruntime-node": "1.22.0-rev",
"zod": "^3.25.67"
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@tsconfig/node20": "^20.1.4",
"@eslint/js": "^9.30.1",
"@tsconfig/node22": "^22.0.2",
"@types/auto-launch": "^5.0.5",
"@types/eslint__js": "^8.42.3",
"@types/ffmpeg-static": "^3.0.3",
"ajv": "^8.17.1",
"concurrently": "^9.1.2",
"concurrently": "^9.2.0",
"cross-env": "^7.0.3",
"electron": "^34.1.1",
"electron-builder": "^26.0.0",
"electron": "^37.1.0",
"electron-builder": "26.0.14",
"eslint": "^9",
"prettier": "3.4.2",
"prettier": "3.6.2",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-packagejson": "^2.5.8",
"shx": "^0.3.4",
"typescript": "^5.7.2",
"typescript-eslint": "^8.23.0"
"prettier-plugin-packagejson": "^2.5.17",
"shx": "^0.4.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.35.1"
},
"packageManager": "yarn@1.22.22",
"productName": "ente"

View File

@@ -24,7 +24,7 @@
*
* Note that `vips.js` would've already run once `beforeBuild.js` is run, but on
* our CI we prepare builds for multiple architectures in one go, so we need to
* unconditonally replace the binary with the relevant one for the current
* unconditionally replace the binary with the relevant one for the current
* architecture being built (which might be different from the one we're running
* on). `beforeBuild.js` runs for each architecture being built.
*

View File

@@ -35,6 +35,7 @@ import log, { initLogging } from "./main/log";
import { createApplicationMenu, createTrayContextMenu } from "./main/menu";
import { setupAutoUpdater } from "./main/services/app-update";
import autoLauncher from "./main/services/auto-launcher";
import { shouldHideDockIcon } from "./main/services/store";
import { createWatcher } from "./main/services/watch";
import { userPreferences } from "./main/stores/user-preferences";
import { migrateLegacyWatchStoreIfNeeded } from "./main/stores/watch";
@@ -247,12 +248,7 @@ const registerPrivilegedSchemes = () => {
corsEnabled: true,
},
},
{
scheme: "stream",
privileges: {
supportFetchAPI: true,
},
},
{ scheme: "stream", privileges: { supportFetchAPI: true } },
]);
};
@@ -390,8 +386,8 @@ const createMainWindow = () => {
const wasAutoLaunched = autoLauncher.wasAutoLaunched();
if (wasAutoLaunched) {
// Don't automatically show the app's window if we were auto-launched.
// On macOS, also hide the dock icon on macOS.
if (process.platform == "darwin") app.dock.hide();
// On macOS, also hide the dock icon.
app.dock?.hide();
} else {
// Show our window otherwise, maximizing it if we're not asked to set it
// to a specific size.
@@ -409,10 +405,11 @@ const createMainWindow = () => {
// "The unresponsive event is fired when Chromium detects that your
// webContents is not responding to input messages for > 30 seconds."
window.webContents.on("unresponsive", () => {
log.error(
"MainWindow's webContents are unresponsive, will restart the renderer process",
);
window.webContents.forcefullyCrashRenderer();
// There is a known case when this can happen: When the user to select a
// folder to upload (Upload > Folder), the browser callback to us takes
// some time. When trying to upload very large folders on slower Windows
// machines, this can take up to 30 seconds.
log.warn("MainWindow's webContents are unresponsive");
});
window.on("close", (event) => {
@@ -425,14 +422,18 @@ const createMainWindow = () => {
window.on("hide", () => {
// On macOS, when hiding the window also hide the app's icon in the dock
// if the user has selected the Settings > Hide dock icon checkbox.
if (process.platform == "darwin" && userPreferences.get("hideDockIcon"))
app.dock.hide();
// unless the user has unchecked the Settings > Hide dock icon checkbox.
if (shouldHideDockIcon()) {
// macOS emits a window "hide" event when going fullscreen, and if
// we hide the dock icon there then the window disappears. So ignore
// this scenario.
if (!window.isFullScreen()) {
app.dock?.hide();
}
}
});
window.on("show", () => {
if (process.platform == "darwin") void app.dock.show();
});
window.on("show", () => void app.dock?.show());
// Let ipcRenderer know when mainWindow is in the foreground so that it can
// in turn inform the renderer process.
@@ -613,7 +614,7 @@ const handleBackOnStripeCheckout = (window: BrowserWindow) =>
*
* But this is an issue for uploads in the self hosted apps (or when we
* ourselves are trying to test things by with an arbitrary S3 bucket without
* going via a worker). During upload, theer is no redirection, so the request
* going via a worker). During upload, there is no redirection, so the request
* ACAO is "ente://app" but the response ACAO is `null` which don't match,
* causing the request to fail.
*

View File

@@ -13,8 +13,10 @@ import type { BrowserWindow } from "electron";
import { ipcMain } from "electron/main";
import type {
CollectionMapping,
FFmpegCommand,
FolderWatch,
PendingUploads,
UtilityProcessType,
ZipItem,
} from "../types/ipc";
import { logToDisk } from "./log";
@@ -30,7 +32,7 @@ import {
openLogDirectory,
selectDirectory,
} from "./services/dir";
import { ffmpegExec } from "./services/ffmpeg";
import { ffmpegDetermineVideoDuration, ffmpegExec } from "./services/ffmpeg";
import {
fsExists,
fsFindFiles,
@@ -40,22 +42,23 @@ import {
fsRename,
fsRm,
fsRmdir,
fsStatMtime,
fsWriteFile,
fsWriteFileViaBackup,
} from "./services/fs";
import { convertToJPEG, generateImageThumbnail } from "./services/image";
import { logout } from "./services/logout";
import { createMLWorker } from "./services/ml";
import {
lastShownChangelogVersion,
masterKeyB64,
saveMasterKeyB64,
masterKeyFromSafeStorage,
saveMasterKeyInSafeStorage,
setLastShownChangelogVersion,
} from "./services/store";
import {
clearPendingUploads,
listZipItems,
markUploadedFiles,
markUploadedZipItems,
markUploadedFile,
markUploadedZipItem,
pathOrZipItemSize,
pendingUploads,
setPendingUploads,
@@ -67,6 +70,7 @@ import {
watchUpdateIgnoredFiles,
watchUpdateSyncedFiles,
} from "./services/watch";
import { triggerCreateUtilityProcess } from "./services/workers";
/**
* Listen for IPC events sent/invoked by the renderer process, and route them to
@@ -104,10 +108,12 @@ export const attachIPCHandlers = () => {
ipcMain.handle("selectDirectory", () => selectDirectory());
ipcMain.handle("masterKeyB64", () => masterKeyB64());
ipcMain.handle("masterKeyFromSafeStorage", () =>
masterKeyFromSafeStorage(),
);
ipcMain.handle("saveMasterKeyB64", (_, masterKeyB64: string) =>
saveMasterKeyB64(masterKeyB64),
ipcMain.handle("saveMasterKeyInSafeStorage", (_, masterKey: string) =>
saveMasterKeyInSafeStorage(masterKey),
);
ipcMain.handle("lastShownChangelogVersion", () =>
@@ -154,8 +160,16 @@ export const attachIPCHandlers = () => {
fsWriteFile(path, contents),
);
ipcMain.handle(
"fsWriteFileViaBackup",
(_, path: string, contents: string) =>
fsWriteFileViaBackup(path, contents),
);
ipcMain.handle("fsIsDir", (_, dirPath: string) => fsIsDir(dirPath));
ipcMain.handle("fsStatMtime", (_, path: string) => fsStatMtime(path));
ipcMain.handle("fsFindFiles", (_, folderPath: string) =>
fsFindFiles(folderPath),
);
@@ -170,20 +184,26 @@ export const attachIPCHandlers = () => {
"generateImageThumbnail",
(
_,
dataOrPathOrZipItem: Uint8Array | string | ZipItem,
pathOrZipItem: string | ZipItem,
maxDimension: number,
maxSize: number,
) => generateImageThumbnail(dataOrPathOrZipItem, maxDimension, maxSize),
) => generateImageThumbnail(pathOrZipItem, maxDimension, maxSize),
);
ipcMain.handle(
"ffmpegExec",
(
_,
command: string[],
dataOrPathOrZipItem: Uint8Array | string | ZipItem,
command: FFmpegCommand,
pathOrZipItem: string | ZipItem,
outputFileExtension: string,
) => ffmpegExec(command, dataOrPathOrZipItem, outputFileExtension),
) => ffmpegExec(command, pathOrZipItem, outputFileExtension),
);
ipcMain.handle(
"ffmpegDetermineVideoDuration",
(_, pathOrZipItem: string | ZipItem) =>
ffmpegDetermineVideoDuration(pathOrZipItem),
);
// - Upload
@@ -203,13 +223,15 @@ export const attachIPCHandlers = () => {
);
ipcMain.handle(
"markUploadedFiles",
(_, paths: PendingUploads["filePaths"]) => markUploadedFiles(paths),
"markUploadedFile",
(_, path: string, associatedPath: string | undefined) =>
markUploadedFile(path, associatedPath),
);
ipcMain.handle(
"markUploadedZipItems",
(_, items: PendingUploads["zipItems"]) => markUploadedZipItems(items),
"markUploadedZipItem",
(_, item: ZipItem, associatedItem: ZipItem | undefined) =>
markUploadedZipItem(item, associatedItem),
);
ipcMain.handle("clearPendingUploads", () => clearPendingUploads());
@@ -220,9 +242,11 @@ export const attachIPCHandlers = () => {
* the main window to do their thing.
*/
export const attachMainWindowIPCHandlers = (mainWindow: BrowserWindow) => {
// - ML
// - Utility processes
ipcMain.on("createMLWorker", () => createMLWorker(mainWindow));
ipcMain.on("triggerCreateUtilityProcess", (_, type: UtilityProcessType) =>
triggerCreateUtilityProcess(type, mainWindow),
);
};
/**

View File

@@ -0,0 +1,59 @@
/**
* A object that behaves similar to the default export of "./log", except this
* can be used from within a utility process.
*
* ---
*
* We cannot directly do
*
* import log from "../log";
*
* because that requires the Electron APIs that are not available to a utility
* process (See: [Note: Using Electron APIs in UtilityProcess]).
*
* But even if that were to work, logging will still be problematic since we'd
* try opening the log file from two different Node.js processes (this one, and
* the main one), and I didn't find any indication in the electron-log
* repository that the log file's integrity would be maintained in such cases.
*
* So instead we provide this proxy log object that uses the
* `process.parentPort` to transport the logs over to the main process, where
* the {@link processUtilityProcessLogMessage} function in the main process is
* expected to handle these (sending them to the actual log).
*/
export default {
error: (s: string, e?: unknown) =>
mainProcess("log.errorString", messageWithError(s, e)),
warn: (s: string, e?: unknown) =>
mainProcess("log.warnString", messageWithError(s, e)),
info: (...ms: unknown[]) => mainProcess("log.info", ms),
/**
* Unlike the real {@link log.debug}, this is (a) eagerly evaluated, and (b)
* accepts only strings.
*/
debugString: (s: string) => mainProcess("log.debugString", s),
};
/**
* Send a message to the main process using a barebones RPC protocol.
*/
const mainProcess = (method: string, param: unknown) =>
process.parentPort.postMessage({ method, p: param });
// Duplicated verbatim from ./log.ts
const messageWithError = (message: string, e?: unknown) => {
if (!e) return message;
let es: string;
if (e instanceof Error) {
// In practice, we expect ourselves to be called with Error objects, so
// this is the happy path so to say.
es = [`${e.name}: ${e.message}`, e.stack].filter((x) => x).join("\n");
} else {
// For the rest rare cases, use the default string serialization of e.
// eslint-disable-next-line @typescript-eslint/no-base-to-string
es = String(e);
}
return `${message}: ${es}`;
};

View File

@@ -83,6 +83,56 @@ const logDebug = (param: () => unknown) => {
}
};
/**
* Handle log messages posted from the utility process in the main process.
*
* See: [Note: Using Electron APIs in UtilityProcess]
*
* @param message The arbitrary message that was received as an argument to the
* "message" event invoked on a {@link UtilityProcess}.
*
* @returns true if the message was recognized and handled, and false otherwise.
*/
export const processUtilityProcessLogMessage = (
logTag: string,
message: unknown,
) => {
const m = message; /* shorter alias */
if (m && typeof m == "object" && "method" in m && "p" in m) {
const p = m.p;
switch (m.method) {
case "log.errorString":
if (typeof p == "string") {
logError(`${logTag} ${p}`);
return true;
}
break;
case "log.warnString":
if (typeof p == "string") {
logWarn(`${logTag} ${p}`);
return true;
}
break;
case "log.info":
if (Array.isArray(p)) {
// Need to cast from any[] to unknown[]
logInfo(logTag, ...(p as unknown[]));
return true;
}
break;
case "log.debugString":
if (typeof p == "string") {
logDebug(() => `${logTag} ${p}`);
return true;
}
break;
default:
break;
}
}
return false;
};
/**
* Ente's logger.
*

View File

@@ -7,7 +7,7 @@ import {
} from "electron";
import { allowWindowClose } from "../main";
import { forceCheckForAppUpdates } from "./services/app-update";
import { userPreferences } from "./stores/user-preferences";
import { setShouldHideDockIcon, shouldHideDockIcon } from "./services/store";
/** Create and return the entries in the app's main menu bar */
export const createApplicationMenu = (mainWindow: BrowserWindow) => {
@@ -15,7 +15,7 @@ export const createApplicationMenu = (mainWindow: BrowserWindow) => {
//
// Whenever the menu is redrawn the current value of these variables is used
// to set the checked state for the various settings checkboxes.
let shouldHideDockIcon = !!userPreferences.get("hideDockIcon");
let hideDockIcon = shouldHideDockIcon();
const macOSOnly = (options: MenuItemConstructorOptions[]) =>
process.platform == "darwin" ? options : [];
@@ -24,9 +24,9 @@ export const createApplicationMenu = (mainWindow: BrowserWindow) => {
const toggleHideDockIcon = () => {
// Persist
userPreferences.set("hideDockIcon", !shouldHideDockIcon);
setShouldHideDockIcon(!hideDockIcon);
// And update the in-memory state
shouldHideDockIcon = !shouldHideDockIcon;
hideDockIcon = !hideDockIcon;
};
const handleHelp = () =>
@@ -36,17 +36,9 @@ export const createApplicationMenu = (mainWindow: BrowserWindow) => {
{
label: "Ente Photos",
submenu: [
...macOSOnly([
{
label: "About Ente",
role: "about",
},
]),
...macOSOnly([{ label: "About Ente", role: "about" }]),
{ type: "separator" },
{
label: "Check for Updates...",
click: handleCheckForUpdates,
},
{ label: "Check for Updates...", click: handleCheckForUpdates },
{ type: "separator" },
...macOSOnly([
@@ -56,7 +48,7 @@ export const createApplicationMenu = (mainWindow: BrowserWindow) => {
{
label: "Hide Dock Icon",
type: "checkbox",
checked: shouldHideDockIcon,
checked: hideDockIcon,
click: toggleHideDockIcon,
},
],
@@ -65,20 +57,11 @@ export const createApplicationMenu = (mainWindow: BrowserWindow) => {
{ type: "separator" },
...macOSOnly([
{
label: "Hide Ente",
role: "hide",
},
{
label: "Hide Others",
role: "hideOthers",
},
{ label: "Hide Ente", role: "hide" },
{ label: "Hide Others", role: "hideOthers" },
{ type: "separator" },
]),
{
label: "Quit",
role: "quit",
},
{ label: "Quit", role: "quit" },
],
},
{
@@ -96,14 +79,8 @@ export const createApplicationMenu = (mainWindow: BrowserWindow) => {
{
label: "Speech",
submenu: [
{
role: "startSpeaking",
label: "Start Speaking",
},
{
role: "stopSpeaking",
label: "Stop Speaking",
},
{ role: "startSpeaking", label: "Start Speaking" },
{ role: "stopSpeaking", label: "Stop Speaking" },
],
},
]),
@@ -132,15 +109,7 @@ export const createApplicationMenu = (mainWindow: BrowserWindow) => {
]),
],
},
{
label: "Help",
submenu: [
{
label: "Ente Help",
click: handleHelp,
},
],
},
{ label: "Help", submenu: [{ label: "Ente Help", click: handleHelp }] },
]);
};
@@ -159,13 +128,7 @@ export const createTrayContextMenu = (mainWindow: BrowserWindow) => {
};
return Menu.buildFromTemplate([
{
label: "Open Ente",
click: handleOpen,
},
{
label: "Quit Ente",
click: handleClose,
},
{ label: "Open Ente", click: handleOpen },
{ label: "Quit Ente", click: handleClose },
]);
};

View File

@@ -10,10 +10,7 @@ class AutoLauncher {
constructor() {
if (process.platform != "darwin") {
this.autoLaunch = new AutoLaunch({
name: "ente",
isHidden: true,
});
this.autoLaunch = new AutoLaunch({ name: "ente", isHidden: true });
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,132 +1,77 @@
import pathToFfmpeg from "ffmpeg-static";
/**
* @file A bridge to the ffmpeg utility process. This code runs in the main
* process.
*/
import { wrap } from "comlink";
import fs from "node:fs/promises";
import type { ZipItem } from "../../types/ipc";
import { ensure } from "../utils/common";
import { execAsync } from "../utils/electron";
import type { FFmpegCommand, ZipItem } from "../../types/ipc";
import {
deleteTempFileIgnoringErrors,
makeFileForDataOrPathOrZipItem,
makeFileForStreamOrPathOrZipItem,
makeTempFilePath,
} from "../utils/temp";
/* Ditto in the web app's code (used by the Wasm FFmpeg invocation). */
const ffmpegPathPlaceholder = "FFMPEG";
const inputPathPlaceholder = "INPUT";
const outputPathPlaceholder = "OUTPUT";
import type { FFmpegUtilityProcess } from "./ffmpeg-worker";
import { ffmpegUtilityProcessEndpoint } from "./workers";
/**
* Run a FFmpeg command
*
* [Note: FFmpeg in Electron]
*
* There is a Wasm build of FFmpeg, but that is currently 10-20 times slower
* that the native build. That is slow enough to be unusable for our purposes.
* https://ffmpegwasm.netlify.app/docs/performance
*
* So the alternative is to bundle a FFmpeg executable binary with our app. e.g.
*
* yarn add fluent-ffmpeg ffmpeg-static ffprobe-static
*
* (we only use ffmpeg-static, the rest are mentioned for completeness' sake).
*
* Interestingly, Electron already bundles an binary FFmpeg library (it comes
* from the ffmpeg fork maintained by Chromium).
* https://chromium.googlesource.com/chromium/third_party/ffmpeg
* https://stackoverflow.com/questions/53963672/what-version-of-ffmpeg-is-bundled-inside-electron
*
* This can be found in (e.g. on macOS) at
*
* $ file ente.app/Contents/Frameworks/Electron\ Framework.framework/Versions/Current/Libraries/libffmpeg.dylib
* .../libffmpeg.dylib: Mach-O 64-bit dynamically linked shared library arm64
*
* But I'm not sure if our code is supposed to be able to use it, and how.
* Return a handle to the ffmpeg utility process, starting it if needed.
*/
export const ffmpegUtilityProcess = () =>
ffmpegUtilityProcessEndpoint().then((port) =>
wrap<FFmpegUtilityProcess>(port),
);
/**
* Implement the IPC "ffmpegExec" contract, writing the input and output to
* temporary files as needed, and then forward to the {@link ffmpegExec} running
* in the utility process.
*/
export const ffmpegExec = async (
command: string[],
dataOrPathOrZipItem: Uint8Array | string | ZipItem,
command: FFmpegCommand,
pathOrZipItem: string | ZipItem,
outputFileExtension: string,
): Promise<Uint8Array> => {
): Promise<Uint8Array> =>
withInputFile(pathOrZipItem, async (worker, inputFilePath) => {
const outputFilePath = await makeTempFilePath(outputFileExtension);
try {
await worker.ffmpegExec(command, inputFilePath, outputFilePath);
return await fs.readFile(outputFilePath);
} finally {
await deleteTempFileIgnoringErrors(outputFilePath);
}
});
export const withInputFile = async <T>(
pathOrZipItem: string | ZipItem,
f: (worker: FFmpegUtilityProcess, inputFilePath: string) => Promise<T>,
): Promise<T> => {
const worker = await ffmpegUtilityProcess();
const {
path: inputFilePath,
isFileTemporary: isInputFileTemporary,
writeToTemporaryFile: writeToTemporaryInputFile,
} = await makeFileForDataOrPathOrZipItem(dataOrPathOrZipItem);
} = await makeFileForStreamOrPathOrZipItem(pathOrZipItem);
const outputFilePath = await makeTempFilePath(outputFileExtension);
try {
await writeToTemporaryInputFile();
const cmd = substitutePlaceholders(
command,
inputFilePath,
outputFilePath,
);
await execAsync(cmd);
return await fs.readFile(outputFilePath);
return await f(worker, inputFilePath);
} finally {
if (isInputFileTemporary)
await deleteTempFileIgnoringErrors(inputFilePath);
await deleteTempFileIgnoringErrors(outputFilePath);
}
};
const substitutePlaceholders = (
command: string[],
inputFilePath: string,
outputFilePath: string,
) =>
command.map((segment) => {
if (segment == ffmpegPathPlaceholder) {
return ffmpegBinaryPath();
} else if (segment == inputPathPlaceholder) {
return inputFilePath;
} else if (segment == outputPathPlaceholder) {
return outputFilePath;
} else {
return segment;
}
});
/**
* Return the path to the `ffmpeg` binary.
*
* At runtime, the FFmpeg binary is present in a path like (macOS example):
* `ente.app/Contents/Resources/app.asar.unpacked/node_modules/ffmpeg-static/ffmpeg`
* Implement the IPC "ffmpegDetermineVideoDuration" contract, writing the input
* to temporary files as needed, and then forward to the
* {@link ffmpegDetermineVideoDuration} running in the utility process.
*/
const ffmpegBinaryPath = () => {
// This substitution of app.asar by app.asar.unpacked is suggested by the
// ffmpeg-static library author themselves:
// https://github.com/eugeneware/ffmpeg-static/issues/16
return ensure(pathToFfmpeg).replace("app.asar", "app.asar.unpacked");
};
/**
* A variant of {@link ffmpegExec} adapted to work with streams so that it can
* handle the MP4 conversion of large video files.
*
* See: [Note: Convert to MP4]
* @param inputFilePath The path to a file on the user's local file system. This
* is the video we want to convert.
* @param inputFilePath The path to a file on the user's local file system where
* we should write the converted MP4 video.
*/
export const ffmpegConvertToMP4 = async (
inputFilePath: string,
outputFilePath: string,
): Promise<void> => {
const command = [
ffmpegPathPlaceholder,
"-i",
inputPathPlaceholder,
"-preset",
"ultrafast",
outputPathPlaceholder,
];
const cmd = substitutePlaceholders(command, inputFilePath, outputFilePath);
await execAsync(cmd);
};
export const ffmpegDetermineVideoDuration = async (
pathOrZipItem: string | ZipItem,
): Promise<number> =>
withInputFile(pathOrZipItem, async (worker, inputFilePath) =>
worker.ffmpegDetermineVideoDuration(inputFilePath),
);

View File

@@ -24,12 +24,29 @@ export const fsReadTextFile = async (filePath: string) =>
export const fsWriteFile = (path: string, contents: string) =>
fs.writeFile(path, contents, { flush: true });
export const fsWriteFileViaBackup = async (path: string, contents: string) => {
const backupPath = path + ".backup";
await fs.writeFile(backupPath, contents, { flush: true });
return fs.rename(backupPath, path);
};
export const fsIsDir = async (dirPath: string) => {
if (!existsSync(dirPath)) return false;
const stat = await fs.stat(dirPath);
return stat.isDirectory();
};
export const fsStatMtime = (path: string) =>
// [Note: Integral last modified time]
//
// Whenever we need to find the modified time of a file, use the
// `mtime.getTime()` instead of `mtimeMs` of the stat; this way, it is
// guaranteed that the times are integral (we persist these values to remote
// in some cases, and the contract is for them to be integral; mtimeMs is a
// float with sub-millisecond precision), and that all places use the same
// value so that they're comparable.
fs.stat(path).then((st) => st.mtime.getTime());
export const fsFindFiles = async (dirPath: string) => {
const items = await fs.readdir(dirPath, { withFileTypes: true });
let paths: string[] = [];

View File

@@ -6,7 +6,7 @@ import { type ZipItem } from "../../types/ipc";
import { execAsync, isDev } from "../utils/electron";
import {
deleteTempFileIgnoringErrors,
makeFileForDataOrPathOrZipItem,
makeFileForStreamOrPathOrZipItem,
makeTempFilePath,
} from "../utils/temp";
@@ -61,7 +61,7 @@ const vipsPath = () =>
);
export const generateImageThumbnail = async (
dataOrPathOrZipItem: Uint8Array | string | ZipItem,
pathOrZipItem: string | ZipItem,
maxDimension: number,
maxSize: number,
): Promise<Uint8Array> => {
@@ -69,7 +69,7 @@ export const generateImageThumbnail = async (
path: inputFilePath,
isFileTemporary: isInputFileTemporary,
writeToTemporaryFile: writeToTemporaryInputFile,
} = await makeFileForDataOrPathOrZipItem(dataOrPathOrZipItem);
} = await makeFileForStreamOrPathOrZipItem(pathOrZipItem);
const outputFilePath = await makeTempFilePath("jpeg");

View File

@@ -1,8 +1,9 @@
import type { FSWatcher } from "chokidar";
import log from "../log";
import { clearConvertToMP4Results } from "../stream";
import { clearPendingVideoResults } from "../stream";
import { clearStores } from "./store";
import { watchReset } from "./watch";
import { terminateUtilityProcesses } from "./workers";
import { clearOpenZipCache } from "./zip";
/**
@@ -22,9 +23,9 @@ export const logout = (watcher: FSWatcher) => {
ignoreError("FS watch", e);
}
try {
clearConvertToMP4Results();
clearPendingVideoResults();
} catch (e) {
ignoreError("convert-to-mp4", e);
ignoreError("video", e);
}
try {
clearStores();
@@ -36,4 +37,9 @@ export const logout = (watcher: FSWatcher) => {
} catch (e) {
ignoreError("zip cache", e);
}
try {
terminateUtilityProcesses();
} catch (e) {
ignoreError("utility processes", e);
}
};

View File

@@ -15,46 +15,16 @@ import { existsSync } from "fs";
import fs from "node:fs/promises";
import path from "node:path";
import * as ort from "onnxruntime-node";
import { z } from "zod/v4";
import log from "../log-worker";
import { messagePortMainEndpoint } from "../utils/comlink";
import { ensure, wait } from "../utils/common";
import { wait } from "../utils/common";
import { writeStream } from "../utils/stream";
import { fsStatMtime } from "./fs";
/**
* We cannot do
*
* import log from "../log";
*
* because that requires the Electron APIs that are not available to a utility
* process (See: [Note: Using Electron APIs in UtilityProcess]). But even if
* that were to work, logging will still be problematic since we'd try opening
* the log file from two different Node.js processes (this one, and the main
* one), and I didn't find any indication in the electron-log repository that
* the log file's integrity would be maintained in such cases.
*
* So instead we create this proxy log object that uses `process.parentPort` to
* transport the logs over to the main process.
*/
const log = {
/**
* Unlike the real {@link log.error}, this accepts only the first string
* argument, not the second optional error one.
*/
errorString: (s: string) => mainProcess("log.errorString", s),
info: (...ms: unknown[]) => mainProcess("log.info", ms),
/**
* Unlike the real {@link log.debug}, this is (a) eagerly evaluated, and (b)
* accepts only strings.
*/
debugString: (s: string) => mainProcess("log.debugString", s),
};
log.debugString("Started ML utility process");
/**
* Send a message to the main process using a barebones RPC protocol.
*/
const mainProcess = (method: string, param: unknown) =>
process.parentPort.postMessage({ method, p: param });
log.debugString(`Started ML worker process`);
process.on("uncaughtException", (e, origin) => log.error(origin, e));
process.parentPort.once("message", (e) => {
// Initialize ourselves with the data we got from our parent.
@@ -63,12 +33,13 @@ process.parentPort.once("message", (e) => {
// parent.
expose(
{
fsStatMtime,
computeCLIPImageEmbedding,
computeCLIPTextEmbeddingIfAvailable,
detectFaces,
computeFaceEmbeddings,
},
messagePortMainEndpoint(ensure(e.ports[0])),
messagePortMainEndpoint(e.ports[0]!),
);
});
@@ -80,19 +51,12 @@ process.parentPort.once("message", (e) => {
let _userDataPath: string | undefined;
/** Equivalent to app.getPath("userData") */
const userDataPath = () => ensure(_userDataPath);
const userDataPath = () => _userDataPath!;
const MLWorkerInitData = z.object({ userDataPath: z.string() });
const parseInitData = (data: unknown) => {
if (
data &&
typeof data == "object" &&
"userDataPath" in data &&
typeof data.userDataPath == "string"
) {
_userDataPath = data.userDataPath;
} else {
log.errorString("Unparseable initialization data");
}
_userDataPath = MLWorkerInitData.parse(data).userDataPath;
};
/**
@@ -131,10 +95,8 @@ const makeCachedInferenceSession = (
const createSession = (modelPath: string) =>
createInferenceSession(modelPath);
const cachedInferenceSession = () => {
if (!session) session = download().then(createSession);
return session;
};
const cachedInferenceSession = () =>
(session ??= download().then(createSession));
return cachedInferenceSession;
};
@@ -161,7 +123,7 @@ const modelPathDownloadingIfNeeded = async (
} else {
const size = (await fs.stat(modelPath)).size;
if (size !== expectedByteSize) {
log.errorString(
log.error(
`The size ${size} of model ${modelName} does not match the expected size, downloading again`,
);
await downloadModel(modelPath, modelName);
@@ -222,14 +184,13 @@ const downloadModel = async (saveLocation: string, name: string) => {
/**
* Create an ONNX {@link InferenceSession} with some defaults.
*/
const createInferenceSession = async (modelPath: string) => {
return await ort.InferenceSession.create(modelPath, {
const createInferenceSession = (modelPath: string) =>
ort.InferenceSession.create(modelPath, {
// Restrict the number of threads to 1.
intraOpNumThreads: 1,
// Be more conservative with RAM usage.
enableCpuMemArena: false,
});
};
const cachedCLIPImageSession = makeCachedInferenceSession(
"mobileclip_s2_image_opset18_rgba_opt.onnx",
@@ -247,14 +208,12 @@ export const computeCLIPImageEmbedding = async (
) => {
const session = await cachedCLIPImageSession();
const inputArray = new Uint8Array(input.buffer);
const feeds = {
input: new ort.Tensor("uint8", inputArray, inputShape),
};
const feeds = { input: new ort.Tensor("uint8", inputArray, inputShape) };
const t = Date.now();
const results = await session.run(feeds);
log.debugString(`ONNX/CLIP image embedding took ${Date.now() - t} ms`);
/* Need these model specific casts to type the result */
return ensure(results.output).data as Float32Array;
return results.output!.data as Float32Array;
};
const cachedCLIPTextSession = makeCachedInferenceSession(
@@ -263,10 +222,7 @@ const cachedCLIPTextSession = makeCachedInferenceSession(
);
let _tokenizer: Tokenizer | undefined;
const getTokenizer = () => {
if (!_tokenizer) _tokenizer = new Tokenizer();
return _tokenizer;
};
const getTokenizer = () => (_tokenizer ??= new Tokenizer());
/**
* Compute CLIP embeddings for an text snippet.
@@ -276,9 +232,11 @@ const getTokenizer = () => {
export const computeCLIPTextEmbeddingIfAvailable = async (text: string) => {
const sessionOrSkip = await Promise.race([
cachedCLIPTextSession(),
// Wait for a tick to get the session promise to resolved the first time
// this code runs on each app start (and the model has been downloaded).
wait(0).then(() => 1),
// Wait a bit to get the session promise to resolved the first time this
// code runs on each app start (in these cases the model will already be
// downloaded, so session creation should take only a 1 or 2 ticks: file
// system stat, and ort.InferenceSession.create).
wait(50).then(() => 1),
]);
// Don't wait for the download to complete.
@@ -292,14 +250,12 @@ export const computeCLIPTextEmbeddingIfAvailable = async (text: string) => {
const session = sessionOrSkip;
const tokenizer = getTokenizer();
const tokenizedText = Int32Array.from(tokenizer.encodeForCLIP(text));
const feeds = {
input: new ort.Tensor("int32", tokenizedText, [1, 77]),
};
const feeds = { input: new ort.Tensor("int32", tokenizedText, [1, 77]) };
const t = Date.now();
const results = await session.run(feeds);
log.debugString(`ONNX/CLIP text embedding took ${Date.now() - t} ms`);
return ensure(results.output).data as Float32Array;
return results.output!.data as Float32Array;
};
const cachedFaceDetectionSession = makeCachedInferenceSession(
@@ -316,13 +272,11 @@ export const detectFaces = async (
) => {
const session = await cachedFaceDetectionSession();
const inputArray = new Uint8Array(input.buffer);
const feeds = {
input: new ort.Tensor("uint8", inputArray, inputShape),
};
const feeds = { input: new ort.Tensor("uint8", inputArray, inputShape) };
const t = Date.now();
const results = await session.run(feeds);
log.debugString(`ONNX/YOLO face detection took ${Date.now() - t} ms`);
return ensure(results.output).data;
return results.output!.data;
};
const cachedFaceEmbeddingSession = makeCachedInferenceSession(

View File

@@ -1,147 +0,0 @@
/**
* @file ML related functionality. This code runs in the main process.
*/
import {
MessageChannelMain,
type BrowserWindow,
type UtilityProcess,
} from "electron";
import { app, utilityProcess } from "electron/main";
import path from "node:path";
import log from "../log";
/** The active ML worker (utility) process, if any. */
let _child: UtilityProcess | undefined;
/**
* Create a new ML worker process, terminating the older ones (if any).
*
* [Note: ML IPC]
*
* The primary reason for doing ML tasks in the Node.js layer is so that we can
* use the binary ONNX runtime, which is 10-20x faster than the Wasm one that
* can be used directly on the web layer.
*
* For this to work, the main and renderer process need to communicate with each
* other. Further, in the web layer the ML indexing runs in a web worker (so as
* to not get in the way of the main thread). So the communication has 2 hops:
*
* Node.js main <-> Renderer main <-> Renderer web worker
*
* This naive way works, but has a problem. The Node.js main process is in the
* code path for delivering user events to the renderer process. The ML tasks we
* do take in the order of 100-300 ms (possibly more) for each individual
* inference. Thus, the Node.js main process is busy for those 100-300 ms, and
* does not forward events to the renderer, causing the UI to jitter.
*
* The solution for this is to spawn an Electron UtilityProcess, which we can
* think of a regular Node.js child process. This frees up the Node.js main
* process, and would remove the jitter.
* https://www.electronjs.org/docs/latest/tutorial/process-model
*
* It would seem that this introduces another hop in our IPC
*
* Node.js utility process <-> Node.js main <-> ...
*
* but here we can use the special bit about Electron utility processes that
* separates them from regular Node.js child processes: their support for
* message ports. https://www.electronjs.org/docs/latest/tutorial/message-ports
*
* As a brief summary, a MessagePort is a web feature that allows two contexts
* to communicate. A pair of message ports is called a message channel. The cool
* thing about these is that we can pass these ports themselves over IPC.
*
* > One caveat here is that the message ports can only be passed using the
* > `postMessage` APIs, not the usual send/invoke APIs.
*
* So we
*
* 1. In the utility process create a message channel.
* 2. Spawn a utility process, and send one port of the pair to it.
* 3. Send the other port of the pair to the renderer.
*
* The renderer will forward that port to the web worker that is coordinating
* the ML indexing on the web layer. Thereafter, the utility process and web
* worker can directly talk to each other!
*
* Node.js utility process <-> Renderer web worker
*
* The RPC protocol is handled using comlink on both ends. The port itself needs
* to be relayed using `postMessage`.
*/
export const createMLWorker = (window: BrowserWindow) => {
if (_child) {
log.debug(() => "Terminating previous ML worker process");
_child.kill();
_child = undefined;
}
const { port1, port2 } = new MessageChannelMain();
const child = utilityProcess.fork(path.join(__dirname, "ml-worker.js"));
const userDataPath = app.getPath("userData");
child.postMessage({ userDataPath }, [port1]);
window.webContents.postMessage("createMLWorker/port", undefined, [port2]);
handleMessagesFromUtilityProcess(child);
_child = child;
};
/**
* Handle messages posted from the utility process.
*
* [Note: Using Electron APIs in UtilityProcess]
*
* Only a small subset of the Electron APIs are available to a UtilityProcess.
* As of writing (Jul 2024, Electron 30), only the following are available:
*
* - net
* - systemPreferences
*
* In particular, `app` is not available.
*
* We structure our code so that it doesn't need anything apart from `net`.
*
* For the other cases,
*
* - Additional parameters to the utility process are passed alongwith the
* initial message where we provide it the message port.
*
* - When we need to communicate from the utility process to the main process,
* we use the `parentPort` in the utility process.
*/
const handleMessagesFromUtilityProcess = (child: UtilityProcess) => {
const logTag = "[ml-worker]";
child.on("message", (m: unknown) => {
if (m && typeof m == "object" && "method" in m && "p" in m) {
const p = m.p;
switch (m.method) {
case "log.errorString":
if (typeof p == "string") {
log.error(`${logTag} ${p}`);
return;
}
break;
case "log.info":
if (Array.isArray(p)) {
// Need to cast from any[] to unknown[]
log.info(logTag, ...(p as unknown[]));
return;
}
break;
case "log.debugString":
if (typeof p == "string") {
log.debug(() => `${logTag} ${p}`);
return;
}
break;
default:
break;
}
}
log.info("Ignoring unknown message from ML worker", m);
});
};

View File

@@ -24,17 +24,17 @@ export const clearStores = () => {
* On macOS, `safeStorage` stores our data under a Keychain entry named
* "<app-name> Safe Storage". In our case, "ente Safe Storage".
*/
export const saveMasterKeyB64 = (masterKeyB64: string) => {
const encryptedKey = safeStorage.encryptString(masterKeyB64);
const b64EncryptedKey = Buffer.from(encryptedKey).toString("base64");
safeStorageStore.set("encryptionKey", b64EncryptedKey);
export const saveMasterKeyInSafeStorage = (masterKey: string) => {
const encryptedKeyBuffer = safeStorage.encryptString(masterKey);
const encryptedKey = Buffer.from(encryptedKeyBuffer).toString("base64");
safeStorageStore.set("encryptionKey", encryptedKey);
};
export const masterKeyB64 = (): string | undefined => {
const b64EncryptedKey = safeStorageStore.get("encryptionKey");
if (!b64EncryptedKey) return undefined;
const keyBuffer = Buffer.from(b64EncryptedKey, "base64");
return safeStorage.decryptString(keyBuffer);
export const masterKeyFromSafeStorage = (): string | undefined => {
const encryptedKey = safeStorageStore.get("encryptionKey");
if (!encryptedKey) return undefined;
const encryptedKeyBuffer = Buffer.from(encryptedKey, "base64");
return safeStorage.decryptString(encryptedKeyBuffer);
};
export const lastShownChangelogVersion = (): number | undefined =>
@@ -42,3 +42,31 @@ export const lastShownChangelogVersion = (): number | undefined =>
export const setLastShownChangelogVersion = (version: number) =>
userPreferences.set("lastShownChangelogVersion", version);
/**
* Return true if the dock icon should be hidden when the window is closed
* [macOS only].
*
* On macOS, if this function returns true then when hiding ("closing" it with
* the x traffic light) the window we also hide the app's icon in the dock. The
* user can modify their preference using the Menu bar > ente > Settings > Hide
* dock icon checkbox.
*
* If the user has not set a value for this preference (i.e., the value is
* `undefined`), we use the default `true`. This is confusing, but this way we
* can retain the preexisting preference key instead of doing a migration.
*
* Value | Behaviour
* ----------|--------------
* undefined | default (hide)
* false | show
* true | hide
*
* On non-macOS platforms, it always returns false.
*/
export const shouldHideDockIcon = (): boolean =>
process.platform == "darwin" &&
userPreferences.get("hideDockIcon") !== false;
export const setShouldHideDockIcon = (hide: boolean) =>
userPreferences.set("hideDockIcon", hide);

View File

@@ -84,11 +84,7 @@ export const pendingUploads = async (): Promise<PendingUploads | undefined> => {
if (filePaths.length == 0 && zipItems.length == 0) return undefined;
return {
collectionName,
filePaths,
zipItems,
};
return { collectionName, filePaths, zipItems };
};
/**
@@ -139,22 +135,35 @@ export const setPendingUploads = ({
});
};
export const markUploadedFiles = (paths: string[]) => {
export const markUploadedFile = (
path: string,
associatedPath: string | undefined,
) => {
const existing = uploadStatusStore.get("filePaths") ?? [];
const updated = existing.filter((p) => !paths.includes(p));
const updated = existing.filter((p) => p != path && p != associatedPath);
uploadStatusStore.set("filePaths", updated);
// See: [Note: Integral last modified time]
return fs.stat(path).then((st) => st.mtime.getTime());
};
export const markUploadedZipItems = (
items: [zipPath: string, entryName: string][],
export const markUploadedZipItem = (
item: ZipItem,
associatedItem: ZipItem | undefined,
) => {
const existing = uploadStatusStore.get("zipItems") ?? [];
const updated = existing.filter(
(z) => !items.some((e) => z[0] == e[0] && z[1] == e[1]),
const updated = exceptZipItem(
exceptZipItem(existing, item),
associatedItem,
);
uploadStatusStore.set("zipItems", updated);
return fs.stat(item[0]).then((st) => st.mtime.getTime());
};
const exceptZipItem = (items: ZipItem[], item: ZipItem | undefined) =>
item
? items.filter((zi) => !(zi[0] == item[0] && zi[1] == item[1]))
: items;
export const clearPendingUploads = () => {
uploadStatusStore.clear();
clearOpenZipCache();

View File

@@ -28,6 +28,13 @@ export const createWatcher = (mainWindow: BrowserWindow) => {
// Ask the watcher to wait for a the file size to stabilize before
// telling us about a new file. By default, it waits for 2 seconds.
awaitWriteFinish: true,
// On macOS we start getting "EMFILE: too many open files" when watching
// large folders. This is a known regression in Chokidar v4:
// https://github.com/paulmillr/chokidar/issues/1385
//
// The recommended workaround for now is to enable usePolling. Since it
// comes at a performance cost, we only do it where needed (macOS).
...(process.platform == "darwin" ? { usePolling: true } : {}),
});
watcher

View File

@@ -0,0 +1,241 @@
/**
* @file This main process code and interface for dealing with the various
* utility processes that we create.
*/
import type { Endpoint } from "comlink";
import {
MessageChannelMain,
type BrowserWindow,
type UtilityProcess,
} from "electron";
import { app, utilityProcess } from "electron/main";
import path from "node:path";
import type { UtilityProcessType } from "../../types/ipc";
import log, { processUtilityProcessLogMessage } from "../log";
import { messagePortMainEndpoint } from "../utils/comlink";
/**
* Terminate any existing utility processes if they're running.
*
* This function is called during the logout sequence.
*/
export const terminateUtilityProcesses = () => {
terminateMLProcessIfRunning();
terminateFFmpegProcessIfRunning();
};
/** The active ML utility process, if any. */
let _utilityProcessML: UtilityProcess | undefined;
/** The active FFmpeg utility process, if any. */
let _utilityProcessFFmpeg: UtilityProcess | undefined;
/**
* A promise to a comlink {@link Endpoint} that can be used to communicate with
* the active ffmpeg utility process (if any).
*/
let _utilityProcessFFmpegEndpoint: Promise<Endpoint> | undefined;
/**
* Create a new utility process of the given {@link type}, terminating the older
* ones (if any).
*
* Currently the only type is "ml". The following note explains the reasoning
* why utility processes were used for the first workload (ML) that was handled
* this way. Similar reasoning applies to subsequent workloads (ffmpeg) that
* have been offloaded to utility processes in a slightly different manner to
* avoid stutter in the UI.
*
* [Note: ML IPC]
*
* The primary reason for doing ML tasks in the Node.js layer is so that we can
* use the binary ONNX runtime, which is 10-20x faster than the Wasm one that
* can be used directly on the web layer.
*
* For this to work, the main and renderer process need to communicate with each
* other. Further, in the web layer the ML indexing runs in a web worker (so as
* to not get in the way of the main thread). So the communication has 2 hops:
*
* Node.js main <-> Renderer main <-> Renderer web worker
*
* This naive way works, but has a problem. The Node.js main process is in the
* code path for delivering user events to the renderer process. The ML tasks we
* do take in the order of 100-300 ms (possibly more) for each individual
* inference. Thus, the Node.js main process is busy for those 100-300 ms, and
* does not forward events to the renderer, causing the UI to jitter.
*
* The solution for this is to spawn an Electron UtilityProcess, which we can
* think of a regular Node.js child process. This frees up the Node.js main
* process, and would remove the jitter.
* https://www.electronjs.org/docs/latest/tutorial/process-model
*
* It would seem that this introduces another hop in our IPC
*
* Node.js utility process <-> Node.js main <-> ...
*
* but here we can use the special bit about Electron utility processes that
* separates them from regular Node.js child processes: their support for
* message ports. https://www.electronjs.org/docs/latest/tutorial/message-ports
*
* As a brief summary, a MessagePort is a web feature that allows two contexts
* to communicate. A pair of message ports is called a message channel. The cool
* thing about these is that we can pass these ports themselves over IPC.
*
* > One caveat here is that the message ports can only be passed using the
* > `postMessage` APIs, not the usual send/invoke APIs.
*
* So we
*
* 1. In the utility process create a message channel.
* 2. Spawn a utility process, and send one port of the pair to it.
* 3. Send the other port of the pair to the renderer.
*
* The renderer will forward that port to the web worker that is coordinating
* the ML indexing on the web layer. Thereafter, the utility process and web
* worker can directly talk to each other!
*
* Node.js utility process <-> Renderer web worker
*
* The RPC protocol is handled using comlink on both ends. The port itself needs
* to be relayed using `postMessage`.
*/
export const triggerCreateUtilityProcess = (
type: UtilityProcessType,
window: BrowserWindow,
) => triggerCreateMLUtilityProcess(window);
const terminateMLProcessIfRunning = () => {
if (_utilityProcessML) {
log.debug(() => "Terminating running ML utility process");
_utilityProcessML.kill();
_utilityProcessML = undefined;
}
};
export const triggerCreateMLUtilityProcess = (window: BrowserWindow) => {
terminateMLProcessIfRunning();
const { port1, port2 } = new MessageChannelMain();
const child = utilityProcess.fork(path.join(__dirname, "ml-worker.js"));
const userDataPath = app.getPath("userData");
child.postMessage(/* MLWorkerInitData */ { userDataPath }, [port1]);
window.webContents.postMessage("utilityProcessPort/ml", undefined, [port2]);
handleMessagesFromMLUtilityProcess(child);
_utilityProcessML = child;
};
/**
* Handle messages posted from the utility process.
*
* [Note: Using Electron APIs in UtilityProcess]
*
* Only a small subset of the Electron APIs are available to a UtilityProcess.
* As of writing (Jul 2024, Electron 30), only the following are available:
*
* - net
* - systemPreferences
*
* In particular, `app` is not available.
*
* We structure our code so that it doesn't need anything apart from `net`.
*
* For the other cases,
*
* - Additional parameters to the utility process are passed alongwith the
* initial message where we provide it the message port.
*
* - When we need to communicate from the utility process to the main process,
* we use the `parentPort` in the utility process.
*/
const handleMessagesFromMLUtilityProcess = (child: UtilityProcess) => {
child.on("message", (m: unknown) => {
if (processUtilityProcessLogMessage("[ml-worker]", m)) {
return;
}
log.info("Ignoring unknown message from ML utility process", m);
});
};
/**
* A comlink endpoint that can be used to communicate with the ffmpeg utility
* process. If there is no ffmpeg utility process, a new one is created on
* demand.
*
* See [Note: ML IPC] for a general outline of why utility processes are needed
* (tl;dr; to avoid stutter on the UI).
*
* In the case of ffmpeg, the IPC flow is a bit different: the utility process
* is not exposed to the web layer, and is internal to the node layer. The
* reason for this difference is that we need to create temporary files etc, and
* doing it a utility process requires access to the `app` module which are not
* accessible (See: [Note: Using Electron APIs in UtilityProcess]).
*
* There could've been possible reasonable workarounds, but the architecture
* we've adopted of three layers:
*
* Renderer (web) <-> Node.js main <-> Node.js ffmpeg utility process
*
* The temporary file creation etc is handled in the Node.js main process, and
* paths to the files are forwarded to the ffmpeg utility process to act on.
*
* @returns an endpoint that can be used to communicate with the utility
* process. The utility process is expected to expose an object that conforms to
* the {@link ElectronFFmpegWorkerNode} interface on this endpoint.
*/
export const ffmpegUtilityProcessEndpoint = () =>
(_utilityProcessFFmpegEndpoint ??= createFFmpegUtilityProcessEndpoint());
const terminateFFmpegProcessIfRunning = () => {
if (_utilityProcessFFmpeg) {
log.debug(() => "Terminating running FFmpeg utility process");
_utilityProcessFFmpeg.kill();
_utilityProcessFFmpeg = undefined;
_utilityProcessFFmpegEndpoint = undefined;
}
};
const createFFmpegUtilityProcessEndpoint = () => {
if (_utilityProcessFFmpeg) {
throw new Error("FFmpeg utility process is already running");
}
// Promise.withResolvers is currently in the node available to us.
let resolve: ((endpoint: Endpoint) => void) | undefined;
const promise = new Promise<Endpoint>((r) => (resolve = r));
const { port1, port2 } = new MessageChannelMain();
const child = utilityProcess.fork(path.join(__dirname, "ffmpeg-worker.js"));
// Send a handle to the port (one end of the message channel) to the utility
// process (alongwith any other init data). The utility process will reply
// with an "ack" when it get it.
const appVersion = app.getVersion();
child.postMessage(/* FFmpegWorkerInitData */ { appVersion }, [port1]);
child.on("message", (m: unknown) => {
if (m && typeof m == "object" && "method" in m) {
switch (m.method) {
case "ack":
resolve!(messagePortMainEndpoint(port2));
return;
}
}
if (processUtilityProcessLogMessage("[ffmpeg-worker]", m)) {
return;
}
log.info("Ignoring unknown message from ffmpeg utility process", m);
});
_utilityProcessFFmpeg = child;
// Resolve with the other end of the message channel (once we get an "ack"
// from the utility process).
return promise;
};

View File

@@ -5,9 +5,7 @@ interface SafeStorageStore {
}
const safeStorageSchema: Schema<SafeStorageStore> = {
encryptionKey: {
type: "string",
},
encryptionKey: { type: "string" },
};
export const safeStorageStore = new Store({

View File

@@ -22,30 +22,13 @@ export interface UploadStatusStore {
}
const uploadStatusSchema: Schema<UploadStatusStore> = {
collectionName: {
type: "string",
},
filePaths: {
type: "array",
items: {
type: "string",
},
},
collectionName: { type: "string" },
filePaths: { type: "array", items: { type: "string" } },
zipItems: {
type: "array",
items: {
type: "array",
items: {
type: "string",
},
},
},
zipPaths: {
type: "array",
items: {
type: "string",
},
items: { type: "array", items: { type: "string" } },
},
zipPaths: { type: "array", items: { type: "string" } },
};
export const uploadStatusStore = new Store({

View File

@@ -23,12 +23,7 @@ interface UserPreferences {
* the app is not maximized (when the app was maximized when it was being
* quit then {@link isWindowMaximized} will be set instead).
*/
windowBounds?: {
x: number;
y: number;
width: number;
height: number;
};
windowBounds?: { x: number; y: number; width: number; height: number };
/**
* `true` if the app's main window is maximized the last time it was closed.
*/

View File

@@ -34,10 +34,7 @@ const watchStoreSchema: Schema<WatchStore> = {
},
},
},
ignoredFiles: {
type: "array",
items: { type: "string" },
},
ignoredFiles: { type: "array", items: { type: "string" } },
},
},
},

View File

@@ -7,13 +7,14 @@ import fs from "node:fs/promises";
import { Writable } from "node:stream";
import { pathToFileURL } from "node:url";
import log from "./log";
import { ffmpegConvertToMP4 } from "./services/ffmpeg";
import { ffmpegUtilityProcess } from "./services/ffmpeg";
import { type FFmpegGenerateHLSPlaylistAndSegmentsResult } from "./services/ffmpeg-worker";
import { markClosableZip, openZip } from "./services/zip";
import { ensure } from "./utils/common";
import { writeStream } from "./utils/stream";
import {
deleteTempFile,
deleteTempFileIgnoringErrors,
makeFileForStreamOrPathOrZipItem,
makeTempFilePath,
} from "./utils/temp";
@@ -57,25 +58,39 @@ const handleStreamRequest = async (request: Request): Promise<Response> => {
const { host, searchParams } = new URL(url);
switch (host) {
case "read":
return handleRead(ensure(searchParams.get("path")));
return handleRead(searchParams.get("path")!);
case "read-zip":
return handleReadZip(
ensure(searchParams.get("zipPath")),
ensure(searchParams.get("entryName")),
searchParams.get("zipPath")!,
searchParams.get("entryName")!,
);
case "write":
return handleWrite(ensure(searchParams.get("path")), request);
return handleWrite(searchParams.get("path")!, request);
case "video": {
const op = searchParams.get("op");
if (op) {
switch (op) {
case "convert-to-mp4":
return handleConvertToMP4Write(request);
case "generate-hls":
return handleGenerateHLSWrite(request, searchParams);
default:
return new Response(`Unknown op ${op}`, {
status: 404,
});
}
}
case "convert-to-mp4": {
const token = searchParams.get("token");
const done = searchParams.get("done") !== null;
return token
? done
? handleConvertToMP4ReadDone(token)
: handleConvertToMP4Read(token)
: handleConvertToMP4Write(request);
if (!token) {
return new Response("Missing token", { status: 404 });
}
return done ? handleVideoDone(token) : handleVideoRead(token);
}
default:
@@ -105,6 +120,7 @@ const handleRead = async (path: string) => {
res.headers.set("Content-Length", `${fileSize}`);
// Add the file's last modified time (as epoch milliseconds).
// See: [Note: Integral last modified time]
const mtimeMs = stat.mtime.getTime();
res.headers.set("X-Last-Modified-Ms", `${mtimeMs}`);
}
@@ -125,7 +141,12 @@ const handleReadZip = async (zipPath: string, entryName: string) => {
const { writable, readable } = new TransformStream();
const stream = await zip.stream(entry);
const nodeWritable = Writable.fromWeb(writable);
// Silence a type error about the Promise<void> returned by the close method
// of writable as not being assignable to Promise<undefined> which started
// appearing after updating to TypeScript 5.8.
//
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any
const nodeWritable = Writable.fromWeb(writable as any);
stream.pipe(nodeWritable);
nodeWritable.on("error", (e: unknown) => {
@@ -161,21 +182,21 @@ const handleReadZip = async (zipPath: string, entryName: string) => {
};
const handleWrite = async (path: string, request: Request) => {
await writeStream(path, ensure(request.body));
await writeStream(path, request.body!);
return new Response("", { status: 200 });
};
/**
* A map from token to file paths for convert-to-mp4 requests that we have
* received.
* A map from token to file paths generated as a result of stream://video
* requests we have received.
*/
const convertToMP4Results = new Map<string, string>();
const pendingVideoResults = new Map<string, string>();
/**
* Clear any in-memory state for in-flight convert-to-mp4 requests. Meant to be
* called during logout.
* Clear any in-memory state for in-flight streamed video processing requests.
* Meant to be called during logout.
*/
export const clearConvertToMP4Results = () => convertToMP4Results.clear();
export const clearPendingVideoResults = () => pendingVideoResults.clear();
/**
* [Note: Convert to MP4]
@@ -190,30 +211,32 @@ export const clearConvertToMP4Results = () => convertToMP4Results.clear();
* mode for the Web fetch API). So we need to simulate that using two different
* streaming requests.
*
* renderer → main stream://convert-to-mp4
* renderer → main stream://video?op=convert-to-mp4
* → request.body is the original video
* ← response is a token
* ← response is [token]
*
* renderer → main stream://convert-to-mp4?token=<token>
* renderer → main stream://video?token=<token>
* ← response.body is the converted video
*
* renderer → main stream://convert-to-mp4?token=<token>&done
* renderer → main stream://video?token=<token>&done
* ← 200 OK
*
* Note that the conversion itself is not streaming. The conversion still
* happens in a single shot, we are just streaming the data across the IPC
* boundary to allow us to pass large amounts of data without running out of
* memory.
* happens in a single invocation of ffmpeg, we are just streaming the data
* across the IPC boundary to allow us to pass large amounts of data without
* running out of memory.
*
* See also: [Note: IPC streams]
*/
const handleConvertToMP4Write = async (request: Request) => {
const worker = await ffmpegUtilityProcess();
const inputTempFilePath = await makeTempFilePath();
await writeStream(inputTempFilePath, ensure(request.body));
await writeStream(inputTempFilePath, request.body!);
const outputTempFilePath = await makeTempFilePath("mp4");
try {
await ffmpegConvertToMP4(inputTempFilePath, outputTempFilePath);
await worker.ffmpegConvertToMP4(inputTempFilePath, outputTempFilePath);
} catch (e) {
log.error("Conversion to MP4 failed", e);
await deleteTempFileIgnoringErrors(outputTempFilePath);
@@ -223,25 +246,112 @@ const handleConvertToMP4Write = async (request: Request) => {
}
const token = randomUUID();
convertToMP4Results.set(token, outputTempFilePath);
pendingVideoResults.set(token, outputTempFilePath);
return new Response(token, { status: 200 });
};
const handleConvertToMP4Read = async (token: string) => {
const filePath = convertToMP4Results.get(token);
const handleVideoRead = async (token: string) => {
const filePath = pendingVideoResults.get(token);
if (!filePath)
return new Response(`Unknown token ${token}`, { status: 404 });
return net.fetch(pathToFileURL(filePath).toString());
};
const handleConvertToMP4ReadDone = async (token: string) => {
const filePath = convertToMP4Results.get(token);
const handleVideoDone = async (token: string) => {
const filePath = pendingVideoResults.get(token);
if (!filePath)
return new Response(`Unknown token ${token}`, { status: 404 });
await deleteTempFile(filePath);
convertToMP4Results.delete(token);
pendingVideoResults.delete(token);
return new Response("", { status: 200 });
};
/**
* Generate a HLS playlist for the given video.
*
* See: [Note: Convert to MP4] for the general architecture of commands that do
* renderer <-> main I/O using streams.
*
* The difference here is that we the conversion generates two streams^ - one
* for the HLS playlist itself, and one for the file containing the encrypted
* and transcoded video chunks. The video stream we write to the pre-signed
* object upload URL(s), and then we return a JSON object containing the token
* for the playlist, and other metadata for use by the renderer.
*
* ^ if the video doesn't require a stream to be generated (e.g. it is very
* small and already uses a compatible codec) then a HTT 204 is returned and
* no stream is generated.
*/
const handleGenerateHLSWrite = async (
request: Request,
params: URLSearchParams,
) => {
const fileID = parseInt(params.get("fileID") ?? "", 10);
const fetchURL = params.get("fetchURL");
const authToken = params.get("authToken");
if (!fileID || !fetchURL || !authToken) throw new Error("Missing params");
let inputItem: Parameters<typeof makeFileForStreamOrPathOrZipItem>[0];
const path = params.get("path");
if (path) {
inputItem = path;
} else {
const zipPath = params.get("zipPath");
const entryName = params.get("entryName");
if (zipPath && entryName) {
inputItem = [zipPath, entryName];
} else {
const body = request.body;
if (!body) throw new Error("Missing body");
inputItem = body;
}
}
const worker = await ffmpegUtilityProcess();
const {
path: inputFilePath,
isFileTemporary: isInputFileTemporary,
writeToTemporaryFile: writeToTemporaryInputFile,
} = await makeFileForStreamOrPathOrZipItem(inputItem);
const outputFilePathPrefix = await makeTempFilePath();
let result: FFmpegGenerateHLSPlaylistAndSegmentsResult | undefined;
try {
await writeToTemporaryInputFile();
result = await worker.ffmpegGenerateHLSPlaylistAndSegments(
inputFilePath,
outputFilePathPrefix,
fileID,
fetchURL,
authToken,
);
if (!result) {
// This video doesn't require stream generation.
return new Response(null, { status: 204 });
}
const { playlistPath, dimensions, videoSize, videoObjectID } = result;
const playlistToken = randomUUID();
pendingVideoResults.set(playlistToken, playlistPath);
return new Response(
JSON.stringify({
playlistToken,
dimensions,
videoSize,
videoObjectID,
}),
{ status: 200 },
);
} finally {
if (isInputFileTemporary)
await deleteTempFileIgnoringErrors(inputFilePath);
}
};

View File

@@ -12,7 +12,7 @@
*
* yields (on POSIX shells):
*
* curl -v -H 'Location;' -H 'User-Agent: FoorBar'"'"'s so-called "Browser"' 'http://www.daveeddy.com/?name=dave&age=24'
* curl -v -H 'Location;' -H 'User-Agent: FooBar'"'"'s so-called "Browser"' 'http://www.daveeddy.com/?name=dave&age=24'
*
* or (on Windows):
*

View File

@@ -19,7 +19,7 @@ export const messagePortMainEndpoint = (mp: MessagePortMain): Endpoint => {
const listeners = new WeakMap<NL, EL>();
return {
postMessage: (message, transfer) => {
mp.postMessage(message, transfer as unknown as MessagePortMain[]);
mp.postMessage(message, (transfer ?? []) as MessagePortMain[]);
},
addEventListener: (_, eh) => {
const l: EL = (data) =>

View File

@@ -5,20 +5,21 @@
* currently a common package that both of them share.
*/
/**
* Throw an exception if the given value is `null` or `undefined`.
*/
export const ensure = <T>(v: T | null | undefined): T => {
if (v === null) throw new Error("Required value was null");
if (v === undefined) throw new Error("Required value was not found");
return v;
};
/**
* Wait for {@link ms} milliseconds
*
* This function is a promisified `setTimeout`. It returns a promise that
* resolves after {@link ms} milliseconds.
*
* Duplicated from `web/packages/utils/promise.ts`.
*/
export const wait = (ms: number) =>
new Promise((resolve) => setTimeout(resolve, ms));
/**
* Convert `null` to `undefined`, passthrough everything else unchanged.
*
* Duplicated from `web/packages/utils/transform.ts`.
*/
export const nullToUndefined = <T>(v: T | null | undefined): T | undefined =>
v === null ? undefined : v;

View File

@@ -0,0 +1,23 @@
import shellescape from "any-shell-escape";
import { exec } from "node:child_process";
import { promisify } from "node:util";
import log from "../log-worker";
/**
* Run a shell command asynchronously (utility process edition).
*
* This is an almost verbatim copy of {@link execAsync} from `electron.ts`,
* except it is meant to be usable from a utility process where only a subset of
* imports are available. See [Note: Using Electron APIs in UtilityProcess].
*/
export const execAsyncWorker = async (command: string | string[]) => {
const escapedCommand = Array.isArray(command)
? shellescape(command)
: command;
const startTime = Date.now();
const result = await execAsync_(escapedCommand);
log.debugString(`${escapedCommand} (${Date.now() - startTime} ms)`);
return result;
};
const execAsync_ = promisify(exec);

View File

@@ -0,0 +1,31 @@
export const clientPackageName = "io.ente.photos.desktop";
/**
* Reimplementation of {@link publicRequestHeaders} from the web source.
*
* @param desktopAppVersion The desktop app's version. This will get passed on
* as the "X-Client-Version" header.
*
* We cannot directly use `app.getVersion()` to obtain this value since the
* {@link app} module is not accessible to Electron utility processes which also
* calls this function.
*/
export const publicRequestHeaders = (desktopAppVersion: string) => ({
"X-Client-Package": clientPackageName,
"X-Client-Version": desktopAppVersion,
});
/**
* Reimplementation of {@link authenticatedRequestHeaders} from the web source.
*
* This builds on top of {@link publicRequestHeaders} and takes the same
* parameters, and additionally also requires the {@link authToken} that will be
* passed as the "X-Auth-Token" header.
*/
export const authenticatedRequestHeaders = (
desktopAppVersion: string,
authToken: string,
) => ({
...publicRequestHeaders(desktopAppVersion),
"X-Auth-Token": authToken,
});

View File

@@ -27,7 +27,7 @@ const writeNodeStream = async (filePath: string, fileStream: Readable) => {
fileStream.pipe(writeable);
await new Promise((resolve, reject) => {
await new Promise<void>((resolve, reject) => {
writeable.on("finish", resolve);
writeable.on("error", (err) => {
if (existsSync(filePath)) {

View File

@@ -5,7 +5,7 @@ import path from "node:path";
import type { ZipItem } from "../../types/ipc";
import log from "../log";
import { markClosableZip, openZip } from "../services/zip";
import { ensure } from "./common";
import { writeStream } from "./stream";
/**
* Our very own directory within the system temp directory. Go crazy, but
@@ -20,17 +20,21 @@ const enteTempDirPath = async () => {
/** Generate a random string suitable for being used as a file name prefix */
const randomPrefix = () => {
const ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
const randomChar = () => ensure(ch[Math.floor(Math.random() * ch.length)]);
const randomChar = () => ch[Math.floor(Math.random() * ch.length)]!;
return Array(10).fill("").map(randomChar).join("");
};
/**
* Return the path to a temporary file with the given {@link suffix}.
* Return the path to a temporary file with an optional {@link extension}.
*
* The function returns the path to a file in the system temp directory (in an
* Ente specific folder therin) with a random prefix and an (optional)
* {@link extension}.
* {@link extension}. The parent directory is guaranteed to exist.
*
* @param extension A string, if provided, is used as the extension for the
* generated path. It will be automatically prefixed by a dot, so don't include
* the dot in the provided string.
*
* It ensures that there is no existing item with the same name already.
*
@@ -64,7 +68,7 @@ export const deleteTempFile = async (tempFilePath: string) => {
};
/**
* A variant of {@link deleteTempFile} that supresses any errors, making it
* A variant of {@link deleteTempFile} that suppresses any errors, making it
* safe to call them in a sequence without needing to handle the scenario where
* one of them failing causes the rest to be skipped.
*/
@@ -76,8 +80,8 @@ export const deleteTempFileIgnoringErrors = async (tempFilePath: string) => {
}
};
/** The result of {@link makeFileForDataOrPathOrZipItem}. */
interface FileForDataOrPathOrZipItem {
/** The result of {@link makeFileForStreamOrPathOrZipItem}. */
interface FileForStreamOrPathOrZipItem {
/**
* The path to the file (possibly temporary).
*/
@@ -101,33 +105,32 @@ interface FileForDataOrPathOrZipItem {
/**
* Return the path to a file, a boolean indicating if this is a temporary path
* that needs to be deleted after processing, and a function to write the given
* {@link dataOrPathOrZipItem} into that temporary file if needed.
* {@link item} into that temporary file if needed.
*
* @param dataOrPathOrZipItem The contents of the file, or the path to an
* existing file, or a (path to a zip file, name of an entry within that zip
* file) tuple.
* @param item A {@link ReadableStream} with the contents of the file, or the
* path to an existing file, or a (path to a zip file, name of an entry within
* that zip file) tuple.
*/
export const makeFileForDataOrPathOrZipItem = async (
dataOrPathOrZipItem: Uint8Array | string | ZipItem,
): Promise<FileForDataOrPathOrZipItem> => {
export const makeFileForStreamOrPathOrZipItem = async (
item: ReadableStream | string | ZipItem,
): Promise<FileForStreamOrPathOrZipItem> => {
let path: string;
let isFileTemporary: boolean;
let writeToTemporaryFile = async () => {
/* no-op */
};
if (typeof dataOrPathOrZipItem == "string") {
path = dataOrPathOrZipItem;
if (typeof item == "string") {
path = item;
isFileTemporary = false;
} else {
path = await makeTempFilePath();
isFileTemporary = true;
if (dataOrPathOrZipItem instanceof Uint8Array) {
writeToTemporaryFile = () =>
fs.writeFile(path, dataOrPathOrZipItem);
if (item instanceof ReadableStream) {
writeToTemporaryFile = () => writeStream(path, item);
} else {
writeToTemporaryFile = async () => {
const [zipPath, entryName] = dataOrPathOrZipItem;
const [zipPath, entryName] = item;
const zip = openZip(zipPath);
try {
await zip.extract(entryName, path);

View File

@@ -66,8 +66,10 @@ import type { IpcRendererEvent } from "electron";
import type {
AppUpdate,
CollectionMapping,
FFmpegCommand,
FolderWatch,
PendingUploads,
UtilityProcessType,
ZipItem,
} from "./types/ipc";
@@ -111,10 +113,11 @@ const logout = () => {
return ipcRenderer.invoke("logout");
};
const masterKeyB64 = () => ipcRenderer.invoke("masterKeyB64");
const masterKeyFromSafeStorage = () =>
ipcRenderer.invoke("masterKeyFromSafeStorage");
const saveMasterKeyB64 = (masterKeyB64: string) =>
ipcRenderer.invoke("saveMasterKeyB64", masterKeyB64);
const saveMasterKeyInSafeStorage = (masterKey: string) =>
ipcRenderer.invoke("saveMasterKeyInSafeStorage", masterKey);
const lastShownChangelogVersion = () =>
ipcRenderer.invoke("lastShownChangelogVersion");
@@ -178,49 +181,58 @@ const fsReadTextFile = (path: string) =>
const fsWriteFile = (path: string, contents: string) =>
ipcRenderer.invoke("fsWriteFile", path, contents);
const fsWriteFileViaBackup = (path: string, contents: string) =>
ipcRenderer.invoke("fsWriteFileViaBackup", path, contents);
const fsIsDir = (dirPath: string) => ipcRenderer.invoke("fsIsDir", dirPath);
const fsStatMtime = (path: string) => ipcRenderer.invoke("fsStatMtime", path);
// - Conversion
const convertToJPEG = (imageData: Uint8Array) =>
ipcRenderer.invoke("convertToJPEG", imageData);
const generateImageThumbnail = (
dataOrPathOrZipItem: Uint8Array | string | ZipItem,
pathOrZipItem: string | ZipItem,
maxDimension: number,
maxSize: number,
) =>
ipcRenderer.invoke(
"generateImageThumbnail",
dataOrPathOrZipItem,
pathOrZipItem,
maxDimension,
maxSize,
);
const ffmpegExec = (
command: string[],
dataOrPathOrZipItem: Uint8Array | string | ZipItem,
command: FFmpegCommand,
pathOrZipItem: string | ZipItem,
outputFileExtension: string,
) =>
ipcRenderer.invoke(
"ffmpegExec",
command,
dataOrPathOrZipItem,
pathOrZipItem,
outputFileExtension,
);
// - ML
const ffmpegDetermineVideoDuration = (pathOrZipItem: string | ZipItem) =>
ipcRenderer.invoke("ffmpegDetermineVideoDuration", pathOrZipItem);
const createMLWorker = () => {
// - Utility processes
const triggerCreateUtilityProcess = (type: UtilityProcessType) => {
const portEvent = `utilityProcessPort/${type}`;
const l = (event: IpcRendererEvent) => {
void windowLoaded.then(() => {
// "*"" is the origin to send to.
window.postMessage("createMLWorker/port", "*", event.ports);
ipcRenderer.off("createMLWorker/port", l);
window.postMessage(portEvent, "*", event.ports);
ipcRenderer.off(portEvent, l);
});
};
ipcRenderer.on("createMLWorker/port", l);
ipcRenderer.send("createMLWorker");
ipcRenderer.on(portEvent, l);
ipcRenderer.send("triggerCreateUtilityProcess", type);
};
// - Watch
@@ -286,11 +298,11 @@ const pendingUploads = () => ipcRenderer.invoke("pendingUploads");
const setPendingUploads = (pendingUploads: PendingUploads) =>
ipcRenderer.invoke("setPendingUploads", pendingUploads);
const markUploadedFiles = (paths: PendingUploads["filePaths"]) =>
ipcRenderer.invoke("markUploadedFiles", paths);
const markUploadedFile = (path: string, associatedPath?: string) =>
ipcRenderer.invoke("markUploadedFile", path, associatedPath);
const markUploadedZipItems = (items: PendingUploads["zipItems"]) =>
ipcRenderer.invoke("markUploadedZipItems", items);
const markUploadedZipItem = (item: ZipItem, associatedItem?: ZipItem) =>
ipcRenderer.invoke("markUploadedZipItem", item, associatedItem);
const clearPendingUploads = () => ipcRenderer.invoke("clearPendingUploads");
@@ -332,7 +344,7 @@ const clearPendingUploads = () => ipcRenderer.invoke("clearPendingUploads");
* >
* > https://www.electronjs.org/docs/latest/api/context-bridge#methods
*
* The copy itself is relatively fast, but the problem with transfering large
* The copy itself is relatively fast, but the problem with transferring large
* amounts of data is potentially running out of memory during the copy.
*
* For an alternative, see [Note: IPC streams].
@@ -347,8 +359,8 @@ contextBridge.exposeInMainWorld("electron", {
selectDirectory,
pathForFile,
logout,
masterKeyB64,
saveMasterKeyB64,
masterKeyFromSafeStorage,
saveMasterKeyInSafeStorage,
lastShownChangelogVersion,
setLastShownChangelogVersion,
isAutoLaunchEnabled,
@@ -373,7 +385,9 @@ contextBridge.exposeInMainWorld("electron", {
rm: fsRm,
readTextFile: fsReadTextFile,
writeFile: fsWriteFile,
writeFileViaBackup: fsWriteFileViaBackup,
isDir: fsIsDir,
statMtime: fsStatMtime,
findFiles: fsFindFiles,
},
@@ -382,10 +396,11 @@ contextBridge.exposeInMainWorld("electron", {
convertToJPEG,
generateImageThumbnail,
ffmpegExec,
ffmpegDetermineVideoDuration,
// - ML
createMLWorker,
triggerCreateUtilityProcess,
// - Watch
@@ -406,7 +421,7 @@ contextBridge.exposeInMainWorld("electron", {
pathOrZipItemSize,
pendingUploads,
setPendingUploads,
markUploadedFiles,
markUploadedZipItems,
markUploadedFile,
markUploadedZipItem,
clearPendingUploads,
});

Some files were not shown because too many files have changed in this diff Show More