Compare commits

..

3096 Commits

Author SHA1 Message Date
laurenspriem
a694bf9b6c flutter downgrade dependencies 2025-07-24 09:02:05 +02:00
laurenspriem
bfcfa691a2 upgrade frb and run frb gen command 2025-07-23 17:55:07 +02:00
laurenspriem
2703c6a33a Bump to be up to date with internal branch 2025-07-23 17:39:19 +02:00
laurenspriem
3ad94f362a Resolve merge conflicts 2025-07-23 17:06:54 +02:00
laurenspriem
8508ca74f2 Merge branch 'main' into usearch_again 2025-07-23 15:05:06 +02:00
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
Manav Rathi
efa82b7fb7 Scaffold 2025-07-18 18:05:28 +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
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
Manav Rathi
8a177bbe2c Cleanup 2025-07-18 15:44:35 +05:30
Manav Rathi
943a524ba9 Rename 2025-07-18 15:35:16 +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
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
Manav Rathi
a97658b67d Rename 2025-07-16 14:35:15 +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
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
Manav Rathi
b68fda70ef Start deduping 2025-07-16 10:49:22 +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
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
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
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
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
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
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
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
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
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
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
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
Manav Rathi
8335c9ac7e Inline 2025-07-07 13:41:57 +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
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
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
Manav Rathi
2ffce031de Ensure SRP attributes are also present after signup 2025-07-04 12:10:03 +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
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
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
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
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
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
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
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
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
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
laurenspriem
83bf37c8bb Small improvements to file info face editor 2025-06-20 10:31:29 +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
laurenspriem
eed12c2089 Merge branch 'internal-15_06_2025' into usearch_again 2025-06-09 12:34:55 +05:30
laurenspriem
889aed6024 Bump for internal release 2025-06-09 12:34:29 +05:30
laurenspriem
ac7840cbfd Merge branch 'internal-15_06_2025' into usearch_again 2025-06-09 12:33:03 +05:30
laurenspriem
1f1304ca5b Upgrade usearch to fix Armv8-R issues 2025-06-09 12:31:38 +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 Gupta
94098d8a07 Bump version 2025-06-06 12:35:30 +05:30
Neeraj Gupta
4b9c5fcb73 Merge branch 'internal-15_06_2025' of https://github.com/ente-io/auth into internal-15_06_2025 2025-06-06 12:33:48 +05:30
Neeraj Gupta
6ed16e5e02 Merge branch 'main' into internal-15_06_2025 2025-06-06 12:33:21 +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
laurenspriem
82a8e504af Merge branch 'internal-15_06_2025' into usearch_again 2025-06-04 22:14:26 +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
ashilkn
cc1660d9af bump up build number" 2025-06-04 18:24:59 +05:30
ashilkn
52b6fc108b Merge branch 'memory_improvement' into internal-15_06_2025 2025-06-04 18:19:37 +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
Neeraj Gupta
8b3b20aa93 Remove unsued type 2025-06-02 18:38:45 +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 Gupta
408b0bfe2d Merge branch 'internal-15_06_2025' of https://github.com/ente-io/auth into internal-15_06_2025 2025-06-02 17:55:33 +05:30
Neeraj Gupta
655be76428 Bump version 2025-06-02 17:55:06 +05:30
Neeraj Gupta
9fedf8d6b7 Merge branch 'main' into internal-15_06_2025 2025-06-02 17:54:47 +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
ashilkn
7c4e775872 Bump build number 2025-06-02 14:56:04 +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
Neeraj Gupta
ecfa640c28 Bump version 2025-05-30 15:44:46 +05:30
Neeraj Gupta
1997eb20f3 Merge branch 'main' into internal-15_06_2025 2025-05-30 15:44:30 +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
laurenspriem
726425bbb6 Put vector db behind feature flag internal 2025-05-27 14:07:34 +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
laurenspriem
c068f26604 Aggressive logging of vectorDB migration 2025-05-22 11:32:36 +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
laurenspriem
e60c2b1192 GC hints 2025-05-22 11:19:19 +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
laurenspriem
beb049f817 Reduce batch size in migration 2025-05-22 10:38:43 +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
laurenspriem
7021c9fe02 Bump for internal release 2025-05-12 17:05:31 +05:30
laurenspriem
c2d5dece9e Merge branch 'main' into usearch_again 2025-05-12 17:04:42 +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
laurenspriem
b76d41b84d Specify rust version in readme 2025-05-12 15:48:27 +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
laurenspriem
3b9c76649d Update readme to include rust 2025-05-12 15:12:31 +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
laurenspriem
62ed8b6975 Log vector db stats when opening connection 2025-05-12 14:46:55 +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
laurenspriem
2422dba4d4 vector db more stats logging 2025-05-12 14:23:16 +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
laurenspriem
eb1916e3a3 integrate vector db in magic search 2025-05-12 11:39:02 +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
laurenspriem
df0d9137a6 Integration clip embeddings in vector db 2025-05-11 13:09:56 +05:30
laurenspriem
fc36b87965 Clip migration method 2025-05-11 13:09:20 +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
laurenspriem
63d90ea275 Class for vector db stats 2025-05-09 16:36:39 +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
laurenspriem
bb7f8a5eef More testing 2025-05-09 15:59:46 +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
laurenspriem
2f5a02ec43 delete table option 2025-05-09 12:57:44 +05:30
laurenspriem
d411d91966 vector db api ensure capacity safety 2025-05-09 12:56:59 +05:30
laurenspriem
54b712953a vector db api let clear include capacity reset 2025-05-09 10:49:03 +05:30
mngshm
f4e158dab6 clarifying instructions about admin actions for CLI 2025-05-08 17:45:57 +05:30
laurenspriem
27ad020adc Testing clip migration to vector DB 2025-05-08 17:40:01 +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
laurenspriem
ce112bd4d7 Index stats method 2025-05-08 15:23:23 +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
laurenspriem
2ffb73d053 Consistent method parameters 2025-05-08 15:07:50 +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
laurenspriem
6478d438b5 vector db api ensure never duplicate keys 2025-05-08 14:30:51 +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
laurenspriem
d87069eb4c vectordb api add documentation 2025-05-08 12:31:09 +05:30
laurenspriem
5447350ab1 vector db api add check for key 2025-05-08 12:29:41 +05:30
laurenspriem
ea1a2960bf First implementation of clip vector db 2025-05-08 12:08:55 +05:30
laurenspriem
832f2c451e Add bulk get method to vector db api 2025-05-08 11:47:50 +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
laurenspriem
715c7c23a7 Add bulk remove embeddings api 2025-05-08 10:29:25 +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
laurenspriem
e9c2e40a43 Update to latest usearch 2025-05-07 13:25:40 +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
laurenspriem
603c275c09 Update basic usearch test 2025-05-07 12:01:45 +05:30
Manav Rathi
ae925a240e fix 2025-05-07 11:58:13 +05:30
laurenspriem
7b9d6df2fd Fix ios build issue 2025-05-07 11:32:53 +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
laurenspriem
a4afecef3d Fix ios config 2025-05-07 10:50:39 +05:30
laurenspriem
4d9bfb89ae macos config 2025-05-07 10:36:17 +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
laurenspriem
f2a74bd35e Merge branch 'main' into usearch_again 2025-05-06 15:34:59 +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
ashilkn
cd3b9defcd Update build number for Auth app 2025-04-15 14:55:31 +05:30
ashilkn
aa9e8abf0e Bump up auth version to 4.3.4 2025-04-15 14:08:29 +05:30
laurenspriem
6c412e5803 Fix not person bug 2025-04-14 14:51:01 +05:30
laurenspriem
8113a9aa97 Simplify memories update lock 2025-04-14 14:02:54 +05:30
Neeraj Gupta
c6b4cba8b4 [server] Auto recovery post deletion 1/x 2025-04-12 13:47:46 +05:30
laurenspriem
8c65a21b86 don't generate for web 2025-04-10 13:03:52 +05:30
laurenspriem
a07e8477fb format 2025-04-09 15:34:06 +05:30
laurenspriem
8b489e9ced Give distances in bulk search 2025-04-09 15:31:03 +05:30
laurenspriem
77e2bb1d46 Stop our own vector comparisons in benchmark 2025-04-09 15:21:20 +05:30
laurenspriem
4ce24e080a logging of benchmarking 2025-04-09 14:22:39 +05:30
laurenspriem
4e5ca3dca6 Benchmark face embeddings 2025-04-09 13:43:39 +05:30
laurenspriem
2ed155ab47 ignore trailing commas in generated code 2025-04-09 13:14:26 +05:30
laurenspriem
65e71e3caf Reintroduce reset_index method 2025-04-09 10:49:50 +05:30
laurenspriem
ee5efbcfcc Don't consume index if not needed 2025-04-09 10:43:07 +05:30
laurenspriem
6cf4530f7d Remove reset index 2025-04-09 10:06:46 +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
laurenspriem
e6ee09ca30 Back to basic error handling 2025-04-08 17:03:41 +05:30
laurenspriem
6d2f53b86c Update usearch 2025-04-08 14:56:47 +05:30
laurenspriem
6500748c5a Make vector db stateful in rust 2025-04-08 14:48:30 +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
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
laurenspriem
120dbeb4fc Fix null pointer crash 2025-04-05 16:56:14 +05:30
laurenspriem
c42807487b Upgrade Android NDK to r28 latest stable 2025-04-05 16:11:03 +05:30
laurenspriem
e707e24da9 first integration of usearch 2025-04-05 16:10:39 +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
laurenspriem
af817ec439 Test rust 2025-04-04 11:49:54 +05:30
laurenspriem
ddb44d8fd7 Integrate flutter_rust_bridge 2025-03-31 15:56:03 +05:30
laurenspriem
778822b12d Upgrade sdk 2025-03-31 15:47:51 +05:30
laurenspriem
9599ec3236 dart format 2025-03-31 15:34:48 +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
Prateek Sunal
9717a92142 feat: Register periodic task for iOS background app refresh and simplify setupIntentAction call 2025-03-27 18:53:33 +05:30
Prateek Sunal
cfe091b5b3 chore: Update Podfile.lock with dependency version changes 2025-03-26 23:03:30 +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
Prateek Sunal
68886d72ce Merge remote-tracking branch 'origin/mob_workmanager' into improve-bg-processing 2025-03-26 15:50: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
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
Neeraj Gupta
74072b952d Add JWT model for account recovery 2025-03-18 11:43:45 +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
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
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
3441 changed files with 91669 additions and 47802 deletions

View File

@@ -1,24 +1,21 @@
name: Report a bug
description: Let us know if something's not working the way you expected.
description: For regressions only (things that were working earlier)
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.
Before opening a new issue, **please** ensure
1. You are on the latest version,
2. You've searched for existing issues,
3. It was working earlier (otherwise use [this](https://github.com/ente-io/ente/discussions/categories/enhancements))
4. It is not about self hosting (otherwise 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)).
Describe the bug and steps to reproduce the behaviour, and how it
differs from the previously working behaviour.
validations:
required: true
- type: input
@@ -26,6 +23,17 @@ body:
label: Version
description: The version can be seen at the bottom of settings.
placeholder: e.g. v1.2.3
- type: input
attributes:
label: Last working version
description: >
The version where things were last known to be working. It is fine
if you don't remember the exact version (mention roughly then),
but **if there just isn't a last working version, then please file
it as an
[enhancement](https://github.com/ente-io/ente/discussions/categories/enhancements))**
(where the community upvotes can be used to help prioritize).
placeholder: e.g. v1.2.3
- type: dropdown
attributes:
label: What product are you using?

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

@@ -24,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

@@ -23,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

@@ -15,7 +15,7 @@ jobs:
defaults:
run:
working-directory: auth
working-directory: mobile/apps/auth
steps:
- name: Checkout code and submodules
@@ -55,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

@@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: auth
working-directory: mobile/apps/auth
steps:
- name: Checkout code and submodules
uses: actions/checkout@v4

View File

@@ -36,11 +36,11 @@ permissions:
jobs:
build-linux-latest:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
defaults:
run:
working-directory: auth
working-directory: mobile/apps/auth
steps:
- name: Checkout code and submodules
@@ -83,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 }}
@@ -93,7 +93,7 @@ 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 rpm patchelf libsqlite3-dev locate libayatana-appindicator3-dev libffi-dev libtiff6 xz-utils libarchive-tools libcurl4-openssl-dev
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
@@ -117,12 +117,14 @@ jobs:
mv dist/**/*-*-linux.deb artifacts/ente-${{ github.ref_name }}-x86_64.deb
- name: Generate checksums
run: sha256sum artifacts/ente-* >> artifacts/sha256sum-rpm-appimage
run: |
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
@@ -134,15 +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-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
@@ -172,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
@@ -190,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
@@ -200,7 +211,7 @@ jobs:
defaults:
run:
working-directory: auth
working-directory: mobile/apps/auth
steps:
- name: Checkout code and submodules
@@ -287,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

70
.github/workflows/auth-win-sign.yml vendored Normal file
View File

@@ -0,0 +1,70 @@
name: "Windows build & Sign (auth)"
on:
workflow_dispatch: # Allow manually running the action
env:
FLUTTER_VERSION: "3.24.3"
permissions:
contents: write
jobs:
build-windows:
runs-on: windows-latest
environment: "auth-win-build"
defaults:
run:
working-directory: mobile/apps/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: Build Windows installer
run: |
flutter config --enable-windows-desktop
# dart pub global activate 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
- name: Retain Windows EXE and DLLs
run: cp -r build/windows/x64/runner/Release ente-${{ github.ref_name }}-windows
- name: Sign files with Trusted Signing
uses: azure/trusted-signing-action@v0
with:
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
- name: Generate checksums
run: sha256sum artifacts/ente-* > artifacts/sha256sum-windows

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

@@ -5,7 +5,7 @@ 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"
@@ -24,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:
@@ -23,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

@@ -15,7 +15,7 @@ jobs:
defaults:
run:
working-directory: mobile
working-directory: mobile/apps/photos
steps:
- name: Checkout code and submodules
@@ -55,7 +55,7 @@ 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
@@ -63,6 +63,6 @@ jobs:
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,7 +4,7 @@ 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:
@@ -18,7 +18,7 @@ jobs:
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

@@ -20,7 +20,7 @@ jobs:
defaults:
run:
working-directory: mobile
working-directory: mobile/apps/photos
steps:
- name: Checkout code and submodules
@@ -62,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

@@ -93,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

4
.gitmodules vendored
View File

@@ -3,9 +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

View File

@@ -23,7 +23,7 @@ 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),
Discussions](https://github.com/ente-io/ente/discussions/new?category=enhancements),
or upvote the existing ones that you feel we should focus on first. Provide your
opinion on existing threads.
@@ -68,8 +68,8 @@ best to start small. Consider some well-scoped changes, say like adding more
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
For anything beyond trivial bug fixes, please use
[discussions](https://github.com/ente-io/ente/discussions) instead of performing
code changes directly.
> [!TIP]

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

View File

@@ -1 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 150 150"><defs><style>.e{fill:#2a54ff;}.f{fill:url(#d);}.g{fill:none;}</style><linearGradient id="d" x1="17.68" y1="116.45" x2="132.14" y2="32.11" gradientTransform="matrix(1, 0, 0, 1, 0, 0)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2a54ff"/><stop offset=".52" stop-color="#2143cb"/><stop offset="1" stop-color="#2a54ff"/></linearGradient></defs><g id="b"><path id="c" class="g" d="M0,0H150V150H0V0Z"/></g><path class="f" d="M140.2,22.33c-25.18-.09-49.79,10.83-66.63,29.47-6.06,6.27-10.1,13.95-14.96,21.06-11.64,15.93-29.81,25.14-49.5,25.13h0v28.65h0c25.17,.1,49.78-10.86,66.63-29.5,6.03-6.27,10.13-13.94,14.96-21.06,11.64-15.91,29.81-25.12,49.5-25.11V22.33h0Z"/><path class="e" d="M140.2,97.99c-19.68,0-37.86-9.2-49.5-25.11-4.81-7.12-8.92-14.78-14.94-21.06C58.95,33.18,34.3,22.24,9.13,22.35h0v28.65h0c21.8-.11,42.05,11.62,53.01,30.46,3.22,5.62,7.06,10.9,11.45,15.74,16.83,18.63,41.46,29.59,66.63,29.5l-.02-28.7h0Z"/></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -1,130 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 30 30" style="enable-background:new 0 0 30 30;" xml:space="preserve">
<style type="text/css">
.st0{fill:#C5C8CA;}
.st1{fill:#9DA4A8;}
.st2{fill:#B7BBBD;}
.st3{fill:#CBCFD1;}
.st4{fill:#BBBFC2;}
.st5{fill:#CACDCE;}
.st6{fill:#BFC3C5;}
.st7{fill:#BCC0C2;}
.st8{fill:#BDC1C4;}
.st9{fill:#C7CACC;}
.st10{fill:url(#SVGID_1_);}
.st11{fill:#FFFFFF;}
.st12{fill:#B8BCBF;}
.st13{fill:#C4C7C9;}
.st14{fill:#C1C5C7;}
.st15{fill:url(#SVGID_00000003093454306001190100000011813141018663887528_);}
.st16{fill:url(#SVGID_00000017503418065689336600000007511615486600436881_);}
.st17{fill:url(#SVGID_00000057845154053127761930000017803385842445649033_);}
.st18{fill:url(#SVGID_00000156571711195124538550000006687723982713171592_);}
.st19{fill:#DF3030;}
.st20{fill:url(#SVGID_00000001636660173574603980000008731795684331757470_);}
.st21{fill:#17181C;}
.st22{fill:url(#SVGID_00000180343933242210086490000003762167186865041053_);}
.st23{fill:url(#SVGID_00000015338415700440354440000005681408021599925436_);}
</style>
<g>
<path class="st0" d="M14.4,29.5c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.2,0H14.4z"/>
<path class="st1" d="M15.3,29.5h0.1c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0L15.3,29.5
C15.2,29.5,15.3,29.5,15.3,29.5z"/>
<path class="st2" d="M15.3,29.5L15.3,29.5l-0.2,0C15.2,29.5,15.2,29.5,15.3,29.5z"/>
<path class="st3" d="M15.5,29.5L15.5,29.5L15.5,29.5L15.5,29.5L15.5,29.5z"/>
<path class="st0" d="M14.1,29.5c0.1,0,0.1,0,0.2,0H14.1z"/>
<path class="st4" d="M13.9,29.5C13.9,29.5,14,29.5,13.9,29.5c0.1,0,0.1,0,0.2,0H13.9z"/>
<path class="st5" d="M13.6,29.5C13.6,29.5,13.6,29.5,13.6,29.5c0.1,0,0.1,0,0.1,0H13.6z"/>
<path class="st6" d="M13.7,29.5C13.8,29.5,13.8,29.5,13.7,29.5c0.1,0,0.1,0,0.1,0H13.7z"/>
<path class="st7" d="M13.3,29.4C13.3,29.4,13.3,29.4,13.3,29.4C13.4,29.4,13.4,29.4,13.3,29.4L13.3,29.4z"/>
<path class="st8" d="M13.4,29.5C13.4,29.4,13.5,29.4,13.4,29.5C13.5,29.4,13.5,29.4,13.4,29.5L13.4,29.5z"/>
<path class="st8" d="M13.1,29.4C13.1,29.4,13.1,29.4,13.1,29.4C13.1,29.4,13.1,29.4,13.1,29.4L13.1,29.4z"/>
<path class="st9" d="M13.2,29.4C13.2,29.4,13.2,29.4,13.2,29.4C13.2,29.4,13.2,29.4,13.2,29.4C13.2,29.4,13.2,29.4,13.2,29.4
C13.3,29.4,13.3,29.4,13.2,29.4L13.2,29.4z"/>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="21.8812" y1="-88.078" x2="8.2545" y2="-104.6955" gradientTransform="matrix(1 0 0 -1 0 -81.48)">
<stop offset="0" style="stop-color:#020037"/>
<stop offset="1" style="stop-color:#050F62"/>
</linearGradient>
<path class="st10" d="M15,0.4C11.1,0.4,7.5,2,4.7,4.7C2,7.4,0.5,11.1,0.5,15c0,1.7,0.3,3.4,0.9,5.1c0.3,0,0.5,0,0.8,0
c2.9,0,5.8,0.9,8.2,2.6c2.4,1.7,4.2,4.1,5.1,6.9c3.8-0.1,7.4-1.7,10-4.4c2.6-2.7,4.1-6.4,4.1-10.1c0-3.9-1.5-7.6-4.3-10.3
C22.6,2,18.9,0.4,15,0.4"/>
<path class="st11" d="M20.7,22.5C20.7,22.5,20.7,22.5,20.7,22.5L20.7,22.5c0,0.4,0.1,0.8,0.3,1c0.2,0.2,0.6,0.3,1,0.3c0,0,0,0,0,0
c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0l0,0c-0.4,0-0.7,0.1-1,0.3c-0.2,0.2-0.3,0.6-0.3,1c0,0,0,0,0,0c0,0,0,0,0,0
c0,0,0,0,0,0c0,0,0,0,0,0h0l0,0c0-0.4-0.1-0.7-0.3-1c-0.2-0.2-0.6-0.3-1-0.3c0,0,0,0,0,0l0,0c0,0,0,0,0,0s0,0,0,0c0,0,0,0,0,0
c0,0,0,0,0,0c0.4,0,0.7-0.1,1-0.3S20.7,22.9,20.7,22.5C20.7,22.5,20.7,22.5,20.7,22.5C20.7,22.5,20.7,22.5,20.7,22.5z"/>
<path class="st11" d="M6.9,15.5C6.9,15.5,6.9,15.5,6.9,15.5L6.9,15.5c0,0.4,0.1,0.8,0.3,1c0.2,0.2,0.6,0.3,1,0.3c0,0,0,0,0,0
c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0l0,0c-0.4,0-0.7,0.1-1,0.3c-0.2,0.2-0.3,0.6-0.3,1c0,0,0,0,0,0c0,0,0,0,0,0
c0,0,0,0,0,0c0,0,0,0,0,0h0l0,0c0-0.4-0.1-0.7-0.3-1c-0.2-0.2-0.6-0.3-1-0.3c0,0,0,0,0,0l0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0
c0,0,0,0,0,0c0.4,0,0.7-0.1,1-0.3C6.8,16.2,6.9,15.9,6.9,15.5C6.9,15.5,6.9,15.5,6.9,15.5C6.9,15.5,6.9,15.5,6.9,15.5z"/>
<path class="st11" d="M10.6,4.1L10.6,4.1C10.7,4.1,10.7,4.1,10.6,4.1c0,0.3,0.1,0.5,0.3,0.7c0.2,0.2,0.4,0.3,0.7,0.2h0v0l0,0l0,0
l0,0l0,0c-0.3,0-0.5,0.1-0.7,0.2c-0.2,0.2-0.3,0.4-0.2,0.7l0,0l0,0l0,0l0,0h0v0c0-0.3-0.1-0.5-0.2-0.7C10.2,5.1,10,5,9.7,5.1h0v0v0
h0C10,5,10.2,5,10.4,4.8C10.6,4.6,10.7,4.3,10.6,4.1C10.6,4.1,10.6,4.1,10.6,4.1C10.6,4.1,10.6,4.1,10.6,4.1z"/>
<path class="st12" d="M12.8,29.4C12.8,29.4,12.8,29.4,12.8,29.4C12.8,29.4,12.8,29.4,12.8,29.4C12.8,29.4,12.8,29.4,12.8,29.4
C12.8,29.4,12.8,29.4,12.8,29.4L12.8,29.4z"/>
<path class="st13" d="M13,29.4C13,29.4,13,29.4,13,29.4C13,29.4,13,29.4,13,29.4L13,29.4z"/>
<path class="st14" d="M12.9,29.4C12.9,29.4,12.9,29.4,12.9,29.4C12.9,29.4,12.9,29.4,12.9,29.4L12.9,29.4z"/>
<linearGradient id="SVGID_00000173122186048074043340000017421439166240502921_" gradientUnits="userSpaceOnUse" x1="19.2457" y1="-89.3156" x2="22.9553" y2="-91.7188" gradientTransform="matrix(1 0 0 -1 0 -81.48)">
<stop offset="0" style="stop-color:#E5E5E5"/>
<stop offset="1" style="stop-color:#B7B8C1"/>
</linearGradient>
<path style="fill:url(#SVGID_00000173122186048074043340000017421439166240502921_);" d="M21.8,1.2c-1.4,0.7-3,1.9-4.4,4.2
c-2.5,3.9-3.2,7.4-3.2,7.4L16,14l0.3,0.2l1.9,1.2c0,0,2.9-2,5.4-5.9c1.5-2.3,2-4.3,2-5.8c-0.8-0.1-1.5-0.4-2.2-0.8
C22.8,2.5,22.2,1.9,21.8,1.2z"/>
<linearGradient id="SVGID_00000127763695479642710240000017533313096818365313_" gradientUnits="userSpaceOnUse" x1="21.2378" y1="-99.9826" x2="19.0472" y2="-97.8815" gradientTransform="matrix(1 0 0 -1 0 -81.48)">
<stop offset="0" style="stop-color:#EC4F4F"/>
<stop offset="1" style="stop-color:#A91919"/>
</linearGradient>
<path style="fill:url(#SVGID_00000127763695479642710240000017533313096818365313_);" d="M20.8,16.8c0.9-1.4,0.3-3.2,0-3.8
c-0.7,0.8-1.5,1.5-2.3,2.1c0.1,0.4,0.3,0.8,0.3,1.2c0,0.1,0,0.2-0.1,0.3c-0.4,0.6-0.8,1.3-1.1,2c-0.1,0.1-0.1,0.2-0.1,0.3
c-0.1,0.2-0.1,0.3,0,0.5c0,0.3,0.2,0.5,0.3,0.8c0,0,0.1,0.1,0.1,0.1c0.1,0,0.1,0.1,0.2,0.1s0.1,0,0.2-0.1c0.1-0.1,0.3-0.2,0.4-0.4
C19.5,19,19.8,18.5,20.8,16.8z"/>
<linearGradient id="SVGID_00000060717637781723915790000002744012061535479481_" gradientUnits="userSpaceOnUse" x1="11.3158" y1="-99.2586" x2="14.8122" y2="-101.5237" gradientTransform="matrix(1 0 0 -1 0 -81.48)">
<stop offset="0" style="stop-color:#F2A518"/>
<stop offset="1" style="stop-color:#F4E23E"/>
</linearGradient>
<path style="fill:url(#SVGID_00000060717637781723915790000002744012061535479481_);" d="M15.1,15.7l-1.7-1.1c-2,3.1-3.3,7-2.4,7.5
c0.9,0.6,3.9-2.2,5.9-5.3L15.1,15.7z"/>
<linearGradient id="SVGID_00000070084874335106853820000008402293642909580433_" gradientUnits="userSpaceOnUse" x1="-4386.2534" y1="747.6443" x2="-4497.9517" y2="769.0099" gradientTransform="matrix(1 0 0 -1 0 -81.48)">
<stop offset="0" style="stop-color:#EC4F4F"/>
<stop offset="1" style="stop-color:#A91919"/>
</linearGradient>
<path style="fill:url(#SVGID_00000070084874335106853820000008402293642909580433_);" d="M15.2,9.5c-0.7-0.1-2.5,0.1-3.4,1.5
c-1.1,1.6-1.5,2.1-2,3.2c-0.1,0.2-0.1,0.3-0.2,0.5c0,0.1,0,0.1,0,0.2C9.6,15,9.7,15,9.7,15c0,0,0.1,0,0.2,0.1c0.3,0.1,0.6,0,0.8,0
c0.2,0,0.3-0.1,0.4-0.2c0.1-0.1,0.2-0.2,0.3-0.3c0.5-0.6,0.9-1.2,1.3-1.8c0.1-0.1,0.2-0.2,0.3-0.2c0.4-0.1,0.8-0.1,1.2-0.2l0,0
C14.5,11.4,14.8,10.4,15.2,9.5z"/>
<path class="st19" d="M25,0.6c-0.2-0.1-1.5-0.2-3.2,0.7c0.4,0.7,1,1.2,1.6,1.7c0.7,0.4,1.4,0.7,2.2,0.8C25.7,1.9,25.1,0.7,25,0.6z"
/>
<path class="st19" d="M18.4,15.5L14,12.7c-0.1,0-0.1,0-0.2,0l-0.9,1.4c0,0.1,0,0.1,0,0.2l4.4,2.8c0.1,0,0.1,0,0.2,0l0.9-1.4
C18.4,15.6,18.4,15.6,18.4,15.5z"/>
<linearGradient id="SVGID_00000044894753735506851200000013592864944465274029_" gradientUnits="userSpaceOnUse" x1="14.9436" y1="-95.9217" x2="16.3716" y2="-96.8468" gradientTransform="matrix(1 0 0 -1 0 -81.48)">
<stop offset="0" style="stop-color:#B71E1E"/>
<stop offset="0.44" style="stop-color:#DF3030"/>
<stop offset="1" style="stop-color:#C51D1D"/>
</linearGradient>
<path style="fill:url(#SVGID_00000044894753735506851200000013592864944465274029_);" d="M17.8,11.6c-0.4-0.2-2.1,1.6-3.2,3.3
c-0.8,1.2-1.4,3-1.1,3.2c0.4,0.2,1.7-1,2.5-2.3C17.1,14.2,18.1,11.9,17.8,11.6z"/>
<path class="st21" d="M21.2,8.6c1.3,0,2.3-1,2.3-2.3s-1-2.3-2.3-2.3c-1.3,0-2.3,1-2.3,2.3S20,8.6,21.2,8.6z"/>
<linearGradient id="SVGID_00000090987122570624474440000002432161440392897685_" gradientUnits="userSpaceOnUse" x1="20.068" y1="-87.0655" x2="22.3556" y2="-88.5473" gradientTransform="matrix(1 0 0 -1 0 -81.48)">
<stop offset="0" style="stop-color:#CED1EC"/>
<stop offset="1" style="stop-color:#FFFFFF"/>
</linearGradient>
<path style="fill:url(#SVGID_00000090987122570624474440000002432161440392897685_);" d="M21.2,7.7c0.8,0,1.4-0.6,1.4-1.4
S22,5,21.2,5c-0.8,0-1.4,0.6-1.4,1.4S20.5,7.7,21.2,7.7z"/>
<linearGradient id="SVGID_00000044151119195171880090000016489263670362291109_" gradientUnits="userSpaceOnUse" x1="14.4192" y1="-110.4727" x2="2.0973" y2="-101.7197" gradientTransform="matrix(1 0 0 -1 0 -81.48)">
<stop offset="0" style="stop-color:#B7B7BD"/>
<stop offset="0.68" style="stop-color:#EFEFEF"/>
</linearGradient>
<path style="fill:url(#SVGID_00000044151119195171880090000016489263670362291109_);" d="M2.1,20c-0.3,0-0.5,0-0.8,0
c1,2.8,2.9,5.2,5.3,6.9s5.3,2.6,8.3,2.6c0.1,0,0.3,0,0.4,0c-0.9-2.8-2.7-5.2-5.1-6.9C7.9,20.9,5.1,20,2.1,20z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 9.2 KiB

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

Submodule auth/flutter updated: 2663184aa7...5874a72aa4

View File

@@ -1,97 +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": "Адправіць журнал па электроннай пошце",
"exportLogsAction": "Экспартаваць журнал",
"reportABug": "Паведаміць пра памылку",
"reportBug": "Паведаміць пра памылку",
"contactSupport": "Звярнуцца ў службу падтрымкі",
"blog": "Блог",
"verifyPassword": "Праверыць пароль",
"pleaseWait": "Пачакайце...",
"generatingEncryptionKeysTitle": "Генерацыя ключоў шыфравання...",
"recreatePassword": "Стварыць пароль паўторна",
"useRecoveryKey": "Выкарыстоўваць ключ аднаўлення",
"incorrectPasswordTitle": "Няправільны пароль",
"welcomeBack": "З вяртаннем!",
"changePassword": "Змяніць пароль",
"data": "Даныя",
"importCodes": "Імпартаваць коды",
"passwordEmptyError": "Пароль не можа быць пустым",
"importFromApp": "Імпартаваць коды з {appName}",
"exportCodes": "Экспартаваць коды",
"importLabel": "Імпарт",
"selectFile": "Выбраць файл",
"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,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

@@ -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

@@ -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

@@ -113,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,9 +1,27 @@
# CHANGELOG
## v1.7.12 (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.

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

@@ -39,6 +39,15 @@ export default ts.config(
"error",
{ 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.12-beta",
"version": "1.7.15-beta",
"private": true,
"description": "Desktop client for Ente Photos",
"repository": "github:ente-io/photos-desktop",
@@ -21,9 +21,6 @@
"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",
@@ -31,32 +28,32 @@
"clip-bpe-js": "^0.0.6",
"comlink": "^4.4.2",
"compare-versions": "^6.1.1",
"electron-log": "^5.3.3",
"electron-log": "^5.4.1",
"electron-store": "^8.2.0",
"electron-updater": "^6.6.2",
"electron-updater": "^6.6.5",
"ffmpeg-static": "^5.2.0",
"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.24.0",
"@tsconfig/node22": "^22.0.1",
"@eslint/js": "^9.30.1",
"@tsconfig/node22": "^22.0.2",
"@types/auto-launch": "^5.0.5",
"@types/ffmpeg-static": "^3.0.3",
"ajv": "^8.17.1",
"concurrently": "^9.1.2",
"concurrently": "^9.2.0",
"cross-env": "^7.0.3",
"electron": "^35.1.4",
"electron-builder": "^26.0.12",
"electron": "^37.1.0",
"electron-builder": "26.0.14",
"eslint": "^9",
"prettier": "3.5.3",
"prettier": "3.6.2",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-packagejson": "^2.5.10",
"shx": "^0.3.4",
"prettier-plugin-packagejson": "^2.5.17",
"shx": "^0.4.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.29.1"
"typescript-eslint": "^8.35.1"
},
"packageManager": "yarn@1.22.22",
"productName": "ente"

View File

@@ -423,7 +423,14 @@ const createMainWindow = () => {
window.on("hide", () => {
// On macOS, when hiding the window also hide the app's icon in the dock
// unless the user has unchecked the Settings > Hide dock icon checkbox.
if (shouldHideDockIcon()) app.dock?.hide();
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", () => void app.dock?.show());

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,23 +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,
@@ -68,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
@@ -105,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", () =>
@@ -163,6 +168,8 @@ export const attachIPCHandlers = () => {
ipcMain.handle("fsIsDir", (_, dirPath: string) => fsIsDir(dirPath));
ipcMain.handle("fsStatMtime", (_, path: string) => fsStatMtime(path));
ipcMain.handle("fsFindFiles", (_, folderPath: string) =>
fsFindFiles(folderPath),
);
@@ -177,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
@@ -210,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());
@@ -227,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.
*

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

@@ -36,6 +36,17 @@ export const fsIsDir = async (dirPath: string) => {
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;
};
/**
@@ -159,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);
@@ -220,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",
@@ -250,7 +213,7 @@ export const computeCLIPImageEmbedding = async (
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(
@@ -269,9 +232,11 @@ const getTokenizer = () => (_tokenizer ??= new Tokenizer());
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.
@@ -290,7 +255,7 @@ export const computeCLIPTextEmbeddingIfAvailable = async (text: string) => {
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(
@@ -311,7 +276,7 @@ export const detectFaces = async (
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 =>

View File

@@ -135,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

@@ -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}`);
}
@@ -166,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]
@@ -195,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);
@@ -228,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

@@ -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

@@ -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.
*
@@ -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");
@@ -183,47 +186,53 @@ const fsWriteFileViaBackup = (path: string, contents: string) =>
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
@@ -289,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");
@@ -350,8 +359,8 @@ contextBridge.exposeInMainWorld("electron", {
selectDirectory,
pathForFile,
logout,
masterKeyB64,
saveMasterKeyB64,
masterKeyFromSafeStorage,
saveMasterKeyInSafeStorage,
lastShownChangelogVersion,
setLastShownChangelogVersion,
isAutoLaunchEnabled,
@@ -378,6 +387,7 @@ contextBridge.exposeInMainWorld("electron", {
writeFile: fsWriteFile,
writeFileViaBackup: fsWriteFileViaBackup,
isDir: fsIsDir,
statMtime: fsStatMtime,
findFiles: fsFindFiles,
},
@@ -386,10 +396,11 @@ contextBridge.exposeInMainWorld("electron", {
convertToJPEG,
generateImageThumbnail,
ffmpegExec,
ffmpegDetermineVideoDuration,
// - ML
createMLWorker,
triggerCreateUtilityProcess,
// - Watch
@@ -410,7 +421,7 @@ contextBridge.exposeInMainWorld("electron", {
pathOrZipItemSize,
pendingUploads,
setPendingUploads,
markUploadedFiles,
markUploadedZipItems,
markUploadedFile,
markUploadedZipItem,
clearPendingUploads,
});

View File

@@ -5,6 +5,8 @@
* See [Note: types.ts <-> preload.ts <-> ipc.ts]
*/
export type UtilityProcessType = "ml";
export interface AppUpdate {
autoUpdatable: boolean;
version: string;
@@ -32,3 +34,5 @@ export interface PendingUploads {
filePaths: string[];
zipItems: ZipItem[];
}
export type FFmpegCommand = string[] | { default: string[]; hdr: string[] };

File diff suppressed because it is too large Load Diff

View File

@@ -8,13 +8,6 @@ export default defineConfig({
head: [["link", { rel: "icon", type: "image/png", href: "/favicon.png" }]],
cleanUrls: true,
ignoreDeadLinks: "localhostLinks",
vite: {
build: {
rollupOptions: {
external: ['client-museum-s3.png'] // Added to handle static asset import
}
}
},
themeConfig: {
// We use the default theme (with some CSS color overrides). This
// themeConfig block can be used to further customize the default theme.

View File

@@ -52,6 +52,10 @@ export const sidebar = [
link: "/photos/features/machine-learning",
},
{ text: "Map", link: "/photos/features/map" },
{
text: "Notifications",
link: "/photos/features/notifications",
},
{
text: "Passkeys",
link: "/photos/features/passkeys",
@@ -182,6 +186,7 @@ export const sidebar = [
text: "Auth",
items: [
{ text: "Introduction", link: "/auth/" },
{ text: "Features", link: "/auth/features/" },
{
text: "FAQ",
collapsed: true,
@@ -223,6 +228,7 @@ export const sidebar = [
},
{
text: "Troubleshooting",
collapsed: true,
items: [
{
text: "Windows login",
@@ -238,58 +244,91 @@ export const sidebar = [
items: [
{ text: "Getting started", link: "/self-hosting/" },
{
text: "System requirements",
link: "/self-hosting/guides/system-requirements",
text: "Connecting to custom server",
link: "/self-hosting/guides/custom-server/",
},
{
text: "Creating accounts",
link: "/self-hosting/creating-accounts",
},
{
text: "Configuring your server",
link: "/self-hosting/museum",
},
{
text: "Configuring S3",
link: "/self-hosting/guides/configuring-s3",
},
{
text: "Reverse proxy",
link: "/self-hosting/reverse-proxy",
},
{
text: "Guides",
collapsed: true,
items: [
{ text: "Introduction", link: "/self-hosting/guides/" },
{
text: "Connect to custom server",
link: "/self-hosting/guides/custom-server/",
},
{
text: "Hosting the web app",
link: "/self-hosting/guides/web-app",
},
{
text: "Configuring S3",
link: "/self-hosting/guides/configuring-s3",
},
{
text: "Hosting Ente with external S3 (Community)",
link: "/self-hosting/guides/external-s3",
},
{
text: "DB migration",
link: "/self-hosting/guides/db-migration",
},
{
text: "Hosting Ente without Docker",
link: "/self-hosting/guides/standalone-ente",
},
{
text: "Ente via Tailscale (Community)",
link: "/self-hosting/guides/Tailscale.md",
},
{
text: "Configure CLI for Self Hosted Instance",
link: "/self-hosting/guides/selfhost-cli",
},
{
text: "Administering your server",
link: "/self-hosting/guides/admin",
},
{
text: "Mobile build",
link: "/self-hosting/guides/mobile-build",
text: "Configuring CLI for your instance",
link: "/self-hosting/guides/selfhost-cli",
},
{
text: "Running Ente from source",
link: "/self-hosting/guides/from-source",
},
{
text: "Running Ente without Docker",
link: "/self-hosting/guides/standalone-ente",
},
],
},
{
text: "Troubleshooting",
collapsed: true,
items: [
{
text: "General",
link: "/self-hosting/troubleshooting/misc",
},
{
text: "Bucket CORS",
link: "/self-hosting/troubleshooting/bucket-cors",
},
{
text: "Uploads",
link: "/self-hosting/troubleshooting/uploads",
},
{
text: "Docker / quickstart",
link: "/self-hosting/troubleshooting/docker",
},
{
text: "Ente CLI secrets",
link: "/self-hosting/troubleshooting/keyring",
},
],
},
{
text: "Community Guides",
collapsed: true,
items: [
{
text: "Ente via Tailscale",
link: "/self-hosting/guides/tailscale",
},
{
text: "Ente with External S3",
link: "/self-hosting/guides/external-s3",
},
],
},
{
text: "FAQ",
collapsed: true,
items: [
{ text: "General", link: "/self-hosting/faq/" },
{
@@ -304,41 +343,12 @@ export const sidebar = [
text: "Backups",
link: "/self-hosting/faq/backup",
},
],
},
{
text: "Troubleshooting",
items: [
{
text: "General",
link: "/self-hosting/troubleshooting/misc",
},
{
text: "Uploads",
link: "/self-hosting/troubleshooting/uploads",
},
{
text: "Docker / quickstart",
link: "/self-hosting/troubleshooting/docker",
},
{
text: "Yarn",
link: "/self-hosting/troubleshooting/yarn",
},
{
text: "Ente CLI Secrets",
link: "/self-hosting/troubleshooting/keyring",
text: "Environment variables",
link: "/self-hosting/faq/environment",
},
],
},
],
},
{
text: "About",
link: "/about/",
},
{
text: "Contribute",
link: "/about/contribute",
},
];

View File

@@ -1,15 +0,0 @@
---
title: Contribute
description: Details about how to contribute to Ente's docs
---
# Contributing
To contribute to these docs, you can use the "Edit this page" button at the
bottom of each page. This will allow you to directly edit the markdown file that
is used to generate this documentation and open a quick pull request directly
from GitHub's UI.
If you're more comfortable in contributing with your text editor, see the
`docs/` folder of our GitHub repository,
[github.com/ente-io/ente](https://github.com/ente-io/ente).

View File

@@ -1,72 +0,0 @@
---
title: About Ente
description: >
An overview of Ente: the company, and the people behind it, and the products
that we make.
---
# About
Ente is a end-to-end encrypted platform for privately, reliably, and securely
storing your data on the cloud. On top of this platform, Ente offers two
products:
- **Ente Photos** - An alternative to Google Photos and Apple Photos
- **Ente Auth** - A free 2FA alternative to Authy
Both these apps are available for all desktop (Linux, Mac, Windows) and mobile
(Android, iOS and F-Droid) platforms. They also work directly in your web
browser without you needing to install anything.
More products are in the pipeline.
## History
Ente was the founded by Vishnu Mohandas (he's also Ente's CEO) in response to
privacy concerns with major tech companies. The underlying motivation was the
understanding that big tech had no incentive to fix their act, but with
end-to-end encrypted cross platform apps, there was a way for people to take
back control over their own data without sacrificing on features.
### What does Ente mean?
In Malayalam, Vishnu's native language, "ente" means "mine". Thus "Ente Photos"
has the literal meaning "my photos".
This was a good name, but still Vishnu looked around for better ones. But one
day, he discovered that "ente" means "duck" in German. This unexpected
connection sealed the deal. We should ask him why he likes ducks so much, but
apparently he does, so this dual meaning ("mine" / "duck") led him to finalize
the name, and also led to the adoption of "Ducky", Ente's mascot:
<div align="center">
![Ente's mascot, Ducky](ducky.png){width=200px}
</div>
For the full origin story of Ducky you can check out
[this blog post](https://ente.io/blog/ducky/).
### How do I pronounce Ente?
en-_tay_. Like ca<i>fe</i>.
## Get in touch
If you have a support query that is not answered by these docs, please reach out
to our Customer Support by sending an email to support@ente.io
To stay up to date with new product launches, and behind the scenes details of
how we're building Ente, you can read our [blog](https://ente.io/blog) (or
subscribe to it via [RSS](https://ente.io/blog/rss.xml))
To suggest new features and/or offer your perspective on how we should design
planned and upcoming features, use our
[GitHub discussions](https://github.com/ente-io/ente/discussions)
Or if you'd just like to hang out, join our
[Discord](https://discord.gg/z2YVKkycX3), follow us on
[Twitter](https://twitter.com/enteio) or give us a shout out on
[Mastodon](https://mstdn.social/@ente)

View File

@@ -41,6 +41,16 @@ Usually, this discrepancy occurs because the time in your browser might be
incorrect. In particular, multiple users have reported that Firefox provides
incorrect time when certain privacy settings are enabled.
> [!TIP]
>
> Newer Ente Auth clients (upcoming 4.4.0+) will automatically try to correct
> for incorrect system time, so you should be seeing correct codes even if your
> system time is out of sync. However, this automatic correction will not work
> if you're using Ente Auth in offline mode.
>
> If you've recently changed your system time and the codes are still incorrect,
> try to refresh / restart the app if needed.
### Can I access my codes on web?
You can access your codes on the web at [auth.ente.io](https://auth.ente.io).

View File

@@ -0,0 +1,139 @@
---
title: Features - Auth
description: Features available in Ente Auth
---
# Features
This page outlines the key features available in Ente Auth.
### Icons
Ente Auth supports the icon pack provided by
[simple-icons](https://github.com/simple-icons/simple-icons). If an icon you
need is missing, please refer to the
[docs/adding-icons](https://github.com/ente-io/ente/blob/main/mobile/apps/auth/docs/adding-icons.md)
guide for instructions on how to contribute.
### Search
Quickly find your codes by searching based on issuer or account name. You can
also configure the app to focus the search bar automatically on app start by
going to **Settings → General → Focus search on app start**.
### Tags
Organize and filter your codes with ease using tags.
- **Creating a Tag:** When adding or editing a code, tap the orange (+) icon to
create a new tag.
- **Adding an existing Tag:** When adding or editing a code, select the desired
tag from the list.
### Pinning
Highlight your frequently used services by pinning them to the top of your code
list. To pin a code, long-press (mobile) or right-click (desktop) the code and
select "Pin".
### Notes
Add additional information to your codes using notes. Notes can be added during
the process of creating or modifying a code.
### Sharing
Securely share codes temporarily with others.
- Long-press (mobile) or right-click (desktop) on a code and choose "Share".
- Select a duration for the shared link: 2 minutes, 5 minutes, or 10 minutes.
- This generates a unique, time-limited link. Recipients can view the codes for
the specified duration without gaining access to the underlying secret key.
After the link expires, the recipients will no longer be able to view new
codes.
### Custom sorting
Customize the order in which your codes are displayed. Ente Auth provides
several sorting options:
- Issuer name
- Account name
- Frequently used
- Recently used
- Manual (custom drag-and-drop order)
Access the sort menu in the top-right corner (next to the search icon) to change
your sorting preference.
### Offline mode
Ente Auth can be used entirely offline. Choose "Use without backups" on the
login screen. In this mode, your codes are stored locally on your device.
Unlike when using an account, data is not synced or backed up to the cloud. You
are responsible for manually backing up your codes.
### Display options
Customize how your codes are displayed for optimal usability.
- **Show large icons:** Display codes with larger icons for enhanced visibility.
- **Compact mode:** Switch to a more compact layout to view more codes on the
screen simultaneously.
- **Hide codes:** Hide the actual code values for extra privacy. Double-tap a
code to reveal it when needed.
### App lock
Add an additional layer of protection using the app lock. Choose from the
following lock methods:
- **Device lock:** Use the existing lock configured on your device (e.g., Face
ID, Touch ID, system password).
- **PIN lock:** Set up a 4-digit PIN code to unlock the app.
- **Password lock:** Set up a password to unlock the app.
Additionally, configure **Auto lock** to automatically lock the app after a
specified period of time (options: Immediately, 5s, 15s, 1m, 5m, 30m).
### Import / Export
Ente Auth offers various import and export options for your codes.
- **Export:** Export your codes in plain text, as an encrypted file, or
automatically via the CLI.
- **Import:** Import codes from various other authentication apps.
For detailed instructions, refer to the
[migration guides](../migration-guides/).
### Deduplicate codes
If you import codes and end up with duplicates, you can easily remove them. Go
to **Settings → Data → Duplicate codes** to find and remove duplicate codes.
### Trash
Manage unwanted codes by moving them to the Trash. The Trash is not cleared
automatically, giving you the flexibility to restore or permanently delete codes
at any time.
- **Trashing a code:** Long-press (mobile) or right-click (desktop) on a code
and select "Trash" to move it to the Trash.
- **Viewing trashed codes:** If you have trashed codes, you can view them by
selecting the Trash tag.
- **Managing trashed codes:** In the Trash view, you can either permanently
delete codes or restore them back to your main list.
### Scan QR
Easily add or share entries using QR codes:
- **Add by scanning (mobile):** On mobile, you can add a new entry by scanning
the QR code provided by the service. This quickly adds the entry to Ente Auth.
- **Show entry as QR code:** On all apps, you can long-press (mobile) or
right-click (desktop) a code and select "QR". This allows you to easily share
the complete entry (including the secret) with others by letting them scan the
displayed QR code. This can also be used to easily add the same entry to
another authenticator app or service.

View File

@@ -10,8 +10,9 @@ A guide written by Green, an ente.io lover
> [!WARNING]
>
> Authy has dropped all support for its desktop apps. It is no longer possible
> to export data from Authy using methods 1 and 2. You will need either an iOS device
> and computer (method 4) or a rooted Android phone (method 3) to follow this guide.
> to export data from Authy using methods 1 and 2. You will need either an iOS
> device and computer (method 4) or a rooted Android phone (method 3) to follow
> this guide.
---
@@ -204,11 +205,24 @@ This uses the tool [Aegis Authenticator](https://getaegis.app/) from
## Method 4: Authy-iOS-MiTM
**Who should use this?** Technical iOS users of Authy that cannot export their tokens with methods 1 or 2 (due to those methods being patched) or method 3 (due to that method requiring a rooted Android device).
**Who should use this?** Technical iOS users of Authy that cannot export their
tokens with methods 1 or 2 (due to those methods being patched) or method 3 (due
to that method requiring a rooted Android device).
This method works by intercepting the data the Authy app receives while logging in for the first time, which contains your encrypted authenticator tokens. After the encrypted authenticator tokens are dumped, you can decrypt them using your backup password and convert them to an Ente token file.
This method works by intercepting the data the Authy app receives while logging
in for the first time, which contains your encrypted authenticator tokens. After
the encrypted authenticator tokens are dumped, you can decrypt them using your
backup password and convert them to an Ente token file.
For an up-to-date guide of how to retrieve the encrypted authenticator tokens and decrypt them, please see [Authy-iOS-MiTM](https://github.com/AlexTech01/Authy-iOS-MiTM). To convert the `decrypted_tokens.json` file from that guide into a format Ente Authenticator can recognize, use [this](https://gist.github.com/gboudreau/94bb0c11a6209c82418d01a59d958c93?permalink_comment_id=5317087#gistcomment-5317087) Python script. Once you have the `ente_auth_import.plain` file from that script, transfer it to your device and follow the instructions below to import it into Ente Authenticator.
For an up-to-date guide of how to retrieve the encrypted authenticator tokens
and decrypt them, please see
[Authy-iOS-MiTM](https://github.com/AlexTech01/Authy-iOS-MiTM). To convert the
`decrypted_tokens.json` file from that guide into a format Ente Authenticator
can recognize, use
[this](https://gist.github.com/gboudreau/94bb0c11a6209c82418d01a59d958c93?permalink_comment_id=5317087#gistcomment-5317087)
Python script. Once you have the `ente_auth_import.plain` file from that script,
transfer it to your device and follow the instructions below to import it into
Ente Authenticator.
## Importing to Ente Authenticator (Method 1, method 2.1, method 4)

View File

@@ -10,4 +10,4 @@ Ende-zu-Ende-verschlüsselte Authenticator-App für jedermann. Wir sind froh, da
du hier bist!
**Please note that this German translation is currently just a placeholder.**
Know German? [Help us fill this in!](/about/contribute).
Know German? [Help us fill this in!](/#contribute).

View File

@@ -1,15 +1,82 @@
---
title: Home
description: >
Introduction to Ente: Products, Community and Support
---
# Welcome!
This site contains documentation and help for Ente Photos and Ente Auth. It
describes various features, and also offers various troubleshooting suggestions.
![Ducky: Ente's Mascot](/public/ducky.png){width=50% style="margin: 0 auto"}
Use the **sidebar** menu to navigate to information about the product (Photos or
Auth) you'd like to know more about. Or use the **search** at the top to try and
jump directly to page that might contain the information you need.
## Introduction
To know more about Ente, see [about](/about/) or visit our website
[ente.io](https://ente.io).
Ente (pronounced en-_tay_) is a end-to-end encrypted platform for privately,
reliably, and securely storing your data on the cloud, over which 2 applications
have been developed and made available for mobile, web and desktop, namely:
- **Ente Photos** - An alternative to Google Photos and Apple Photos
- **Ente Auth** - A free 2FA alternative to Authy
## History
Ente was the founded by Vishnu Mohandas (he's also Ente's CEO) in response to
privacy concerns with major tech companies. The underlying motivation was the
understanding that big tech had no incentive to fix their act, but with
end-to-end encrypted cross platform apps, there was a way for people to take
back control over their own data without sacrificing on features.
### Origin of the name
In Malayalam, Vishnu's native language, "ente" means "mine", thus "Ente Photos"
literally means "my photos".
But one day, he discovered that "ente" means "duck" in German. This unexpected
connection sealed the deal after looking for alternative names and led to the
adoption of ["Ducky"](https://ente.io/blog/ducky/), representing the playfulness
and friendly nature of the community and team.
## Getting Started
We recommend reading the documentation for [Ente Photos](/photos/) or
[Ente Auth](/auth/) to get started with installation on the desired platform,
explore available features and usage.
If you are looking to self-host Ente, we recommend you to read the
[official documentation](/self-hosting/) for updated information on getting
started, installation, administration and maintenance.
## Contributing
There are many ways to support Ente and you don't have to be a programmer for
that. You can spread the word, give feedback, report bugs, help us with
translations, contribute documentation and community guides and more.
To suggest new features and/or offer your perspective on how we should design
(planned and upcoming features), use our
[GitHub discussions](https://github.com/ente-io/ente/discussions)
You can find our contribution guidelines
[here](https://github.com/ente-io/ente/blob/main/CONTRIBUTING.md).
You can always engage with our community and team to hang out, answer queries
and stay updated:
- Chat: [Discord](https://ente.io/discord)
- Discussions: [GitHub](https://github.com/ente-io/ente/discussions)
- Socials:
- Twitter: [enteio](https://twitter.com/enteio)
- Mastodon: [@ente@fosstodon.org](https://fosstodon.org/@ente)
- Bluesky: [ente.io](https://bsky.app/profile/ente.io)
- Instagram: [ente.app](https://www.instagram.com/ente.app)
- Website:
- [Blog](https://ente.io/blog)
- [RSS](https://ente.io/blog/rss.xml)
## Getting Help
If you encounter any issues with any of the products that's not answered by our
documentation, please reach out to our team by sending an email to
[support@ente.io](mailto:support@ente.io)
For community support, please post your queries on
[Discord](https://discord.gg/z2YVKkycX3)

View File

@@ -1,6 +1,7 @@
---
title: Desktop app FAQ
description: An assortment of frequently asked questions about Ente Photos desktop app
description:
An assortment of frequently asked questions about Ente Photos desktop app
---
# Desktop app FAQ
@@ -15,7 +16,8 @@ to manually update the software.
### Upload errors
**How do I identify which files experienced upload issues within the desktop app?**
**How do I identify which files experienced upload issues within the desktop
app?**
Check the sections within the upload progress bar for "Failed Uploads," "Ignored
Uploads," and "Unsuccessful Uploads."
@@ -33,6 +35,5 @@ be specific to your distro (e.g. `xdg-desktop-menu forceupdate`).
> [!NOTE]
>
> If you're using an AppImage and not seeing the icon, you'll need to [enable
> AppImage desktop
> integration](/photos/troubleshooting/desktop-install/#appimage-desktop-integration).
> If you're using an AppImage and not seeing the icon, you'll need to
> [enable AppImage desktop integration](/photos/troubleshooting/desktop-install/#appimage-desktop-integration).

View File

@@ -7,9 +7,10 @@ description: Frequently asked questions about keeping extra backups of your data
## How can I backup my data in a local drive outside Ente?
You can use our CLI tool or our desktop app to set up exports of your data
to your local drive. This way, you can use Ente in your day to day use, with an additional guarantee that a copy of your original photos and videos are
always available on your machine.
You can use our CLI tool or our desktop app to set up exports of your data to
your local drive. This way, you can use Ente in your day to day use, with an
additional guarantee that a copy of your original photos and videos are always
available on your machine.
- You can use [Ente's CLI](https://github.com/ente-io/ente/tree/main/cli#export)
to export your data in a cron job to a location of your choice. The exports
@@ -21,7 +22,7 @@ always available on your machine.
background without you needing to run any other cron jobs. See
[migration/export](/photos/migration/export/) for more details.
## Does the exported data preserve folder structure?
## Does the exported data preserve album structure?
Yes. When you export your data for local backup, it will maintain the exact
album structure how you have set up within Ente.

View File

@@ -1,7 +1,6 @@
---
title: Face recognition
description:
Frequently asked questions about Ente's face recognition
description: Frequently asked questions about Ente's face recognition
---
# Face recognition

View File

@@ -26,10 +26,6 @@ unsupported file format and we will do our best to help you out.
Yes, we currently do not support files larger than 4 GB.
If this constraint is a concern for you, please write to
[support@ente.io](mailto:support@ente.io) with your use case and we will do our
best to help you.
## Does Ente support videos?
Ente supports backing up and downloading of videos in their original format and
@@ -104,29 +100,53 @@ clicking on "Your map" under "Locations" on the search screen.
## How to reset my password if I lost it?
On the login page, enter your email and click on Forgot Password. Then, enter your recovery key and create a new password.
On the login page, enter your email and click on Forgot Password. Then, enter
your recovery key and create a new password.
# iOS Album Backup and Organization in Ente
## Can I search for photos using the descriptions Ive added?
### How does Ente handle photos that are part of multiple iOS albums?
When you select multiple albums for backup, Ente prioritizes uploading each photo to the album with the fewest photos. This means a photo will only be uploaded once, even if it exists in multiple albums on your device. If you create new albums on your device after the initial backup, those photos may not appear in the corresponding Ente album if they were already uploaded to a different album.
Yes, descriptions are searchable, making it easier to find specific photos
later. To do this, open the photo, tap the (i) button, and enter your
description.
## How does the deduplication feature work on the desktop app?
### Why dont all photos from a new iOS album appear in the corresponding Ente album?
If you create a new album on your device after the initial backup, the photos in that album may have already been uploaded to another album in Ente. To fix this, go to the "On Device" album in Ente, select all photos, and manually add them to the corresponding album in Ente.
If the app finds exact duplicates, it will show them in the deduplication. When
you delete a duplicate, the app keeps one copy and creates a symlink for the
other duplicate. This helps save storage space.
### What happens if I reorganize my photos in the iOS Photos app after backing up?
Reorganizing photos in the iOS Photos app (e.g., moving photos to new albums) wont automatically reflect in Ente. Youll need to manually add those photos to the corresponding albums in Ente to maintain consistency.
## What happens if I lose access to my email address? Can I use my recovery key to bypass email verification?
### Can I search for photos using the descriptions Ive added?
Yes, descriptions are searchable, making it easier to find specific photos later.
To do this, open the photo, tap the (i) button, and enter your description.
### How does the deduplication feature work on the desktop app?
If the app finds exact duplicates, it will show them in the deduplication. When you delete a duplicate, the app keeps one copy and creates a symlink for the other duplicate. This helps save storage space.
### What happens if I lose access to my email address? Can I use my recovery key to bypass email verification?
No, the recovery key does not bypass email verification. For security reasons, we do not disable or bypass email verification unless the account owner reaches out to us and successfully verifies their identity by providing details about their account.
No, the recovery key does not bypass email verification. For security reasons,
we do not disable or bypass email verification unless the account owner reaches
out to us and successfully verifies their identity by providing details about
their account.
If you lose access to your email, please contact our support team at
support@ente.io
---
# iOS Album Backup and Organization in Ente
## How does Ente handle photos that are part of multiple iOS albums?
When you select multiple albums for backup, Ente prioritizes uploading each
photo to the album with the fewest photos. This means a photo will only be
uploaded once, even if it exists in multiple albums on your device. If you
create new albums on your device after the initial backup, those photos may not
appear in the corresponding Ente album if they were already uploaded to a
different album.
## Why dont all photos from a new iOS album appear in the corresponding Ente album?
If you create a new album on your device after the initial backup, the photos in
that album may have already been uploaded to another album in Ente. To fix this,
go to the "On Device" album in Ente, select all photos, and manually add them to
the corresponding album in Ente.
## What happens if I reorganize my photos in the iOS Photos app after backing up?
Reorganizing photos in the iOS Photos app (e.g., moving photos to new albums)
wont automatically reflect in Ente. Youll need to manually add those photos to
the corresponding albums in Ente to maintain consistency.

View File

@@ -62,6 +62,7 @@ the upload time as the photo's creation time.
## Modifications
Ente supports modifications to the following metadata:
- File name
- Date & time
- Location

View File

@@ -1,29 +1,49 @@
---
title: Video streaming FAQ
description:
Frequently asked questions about Ente's video streaming feature
description: Frequently asked questions about Ente's video streaming feature
---
# Video streaming
> [!NOTE]
>
> Video streaming is available in beta on mobile apps starting v0.9.98.
> Video streaming is available in beta on mobile apps starting v0.9.98 and on
> desktop starting v1.7.13.
### How to enable video streaming?
#### On mobile
- Open Settings -> General -> Advanced
- Switch on the toggle for `Video streaming`
- Enable the toggle for `Streamable videos`
#### On desktop
- Open Settings -> Preferences
- Enable the toggle for `Streamable videos`
### What happens when I enable video streaming?
#### On mobile
Enabling video streaming will start processing videos captured in the last 30
days, generating streams for each. Both local and remote videos will be
processed, so this may consume bandwidth for downloading of remote files and
uploading of the generated streams.
#### On desktop
When enabled, the desktop app will generate streams both for new uploads, and
also for all existing videos that were previously uploaded.
Stream generation is CPU intensive and can take time so the app will continue
processing them in the background. Clicking on search bar will show "Processing
videos..." when stream generation is happening.
### How can I view video streams?
### On mobile
Settings -> Backup > Backup status will show details regarding the processing
status for videos. Processed videos will have a green play button next to them.
You can open these videos by tapping on them.
@@ -34,6 +54,12 @@ play the stream.
Clicking on the `Info` icon within the original video will show details about
the generated stream.
### On desktop and web
Desktop and web app will automatically play the streaming version of a video if
it has been already generated. The quality selector will show "Auto" when
playing the stream.
### What is a stream?
Stream is an encrypted HLS file with an `.m3u8` playlist that helps play a video
@@ -51,6 +77,7 @@ generated stream.
While this feature is in beta, we will not count the storage consumed by your
streams against your storage quota. This may change in the future. If it does,
we will provide an option to opt-in to one of the following:
1. Original videos only
2. Compressed streams only
3. Both

View File

@@ -43,8 +43,8 @@ need to disable this "Optimize battery usage" mode in the system settings for
Ente if you wish for Ente to automatically back up your photos in the
background.
On Android versions 15 and later, if an app is in private space and the private
space is locked, Android doesnt allow the app to run any background processes.
On Android versions 15 and later, if an app is in private space and the private
space is locked, Android doesnt allow the app to run any background processes.
As a result, background sync will not work.
### Desktop

View File

@@ -52,6 +52,11 @@ Ente also provides a tool for manual de-duplication in _Settings → Backup →
Remove duplicates_. This is useful if you have an existing library with
duplicates across different albums, but wish to keep only one copy.
During this operation, Ente will discard duplicates across all albums, retain a
single copy, and add symlinks to this copy within all existing albums. So your
existing album structure remains unchanged, while the space consumed by the
duplicate data is freed up.
## Adding to Ente album creates symlinks
Note that once a file is in Ente, adding it to another Ente album will create a

View File

@@ -24,19 +24,19 @@ In brief,
## Storage Limits
If you're an admin of a family, you will be able to set storage limits for the
If you're an admin of a family, you will be able to set storage limits for the
members in your family plan.
In brief,
In brief,
- For example, once you set a limit of 10GB for a member, their Storage
quota for uploading photos will be limited to 10GB.
- For example, once you set a limit of 10GB for a member, their Storage quota
for uploading photos will be limited to 10GB.
- Once the invited member accepts the Family invite, you will be able to see
an edit icon in the Members List. Click on it to setup a family limit.
- Once the invited member accepts the Family invite, you will be able to see an
edit icon in the Members List. Click on it to setup a family limit.
- If the admin has set a limit for any user, that limit value will be prefilled
in the input box.
in the input box.
- If you want to remove any storage limit from a members account, you
can click on the "Remove Limit" and they can upload photos without any limit.
- If you want to remove any storage limit from a members account, you can click
on the "Remove Limit" and they can upload photos without any limit.

View File

@@ -47,8 +47,20 @@ device.
The indexes are synced across all your devices automatically using the same
end-to-end encrypted security that we use for syncing your photos.
Note that the desktop app does not currently support modifying the face
groupings, that is only supported by the mobile app.
---
#### Local indexing on mobile
In general the machine learning is optimized to work well on most mobile device.
However, devices with low RAM (4-6GB) and large photo libraries might struggle
to complete the indexing without affecting performance of the app. In such case,
you might want to disable local indexing and let the desktop run it instead.
You can disable local indexing from the settings, under
`General > Advanced > Machine learning > Configuration`. This way, you can
continue to use the ML features without your phone performance taking any hit.
---
For more information on how to use Machine Learning for face recognition please
check out [the FAQ](../faq/face-recognition).

View File

@@ -0,0 +1,33 @@
---
title: Notifications
description: Details about notifications in Ente
---
# Notifications
The Ente app can send notifications to notify you of an update, or just to
remind you of some sweet or helpful memory at the right time.
## New shared photos
Receive notifications when someone adds a photo to a shared album that you're a
part of.
## "On this day" memories
Receive reminders about memories from this day in previous years. These
reminders will only be shown if there are enough photos taken across previous
years of the specific day.
## Birthday notifications
Receive reminders when it's someone's birthday. Tapping on the notification will
take you to photos of the birthday person. This requires you to first add a
birthday to a person, and will only be shown if there are enough photos of that
person.
## Notification permission
By default all notification categories are enabled if you give notification
permission. You can disable all of the above notification categories from
`Settings > Notifications`. Notifications currently only work on mobile.

View File

@@ -6,7 +6,7 @@ description: Deleting items and trash
# Trash
Whenever you delete an item from Ente, it is moved to Trash. These items will be
automatically deleted from Trash after 30 days. You can manaully select photos
automatically deleted from Trash after 30 days. You can manually select photos
to permanently delete or completely empty the trash if you wish.
Items in trash are included in your used storage calculation.

View File

@@ -66,5 +66,4 @@ If you run into any issues during your data export, please reach out to
Note that we also provide a
[CLI tool](https://github.com/ente-io/ente/tree/main/cli#export) to export your
data. You can find more information about the export in the
[export FAQ](/photos/faq/export).
data.

View File

@@ -14,9 +14,21 @@ directly stream chunks of Google Takeout zips that are stored on network drives.
In particular, the folder watch functionality suffers a lot since the app needs
access to file system events to detect changes to the users files so that they
can be uploaded whenever there are changes.
can be uploaded whenever there are changes. Network drives are less reliable in
providing these file change events correctly.
Since are high chances of the user having a subpar experience, we request
customers to avoid using the desktop app directly with network attached storage
and instead temporarily copy the files to their local storage for uploads, and
avoid watching folders that live on a network drive.
## Exporting to UNC paths
Generally, exports are likely to work better than imports, since the interaction
with the file system is relatively simpler (Note that the app still needs to
scan the folder to find existing files, esp. if the continuous export option is
enabled).
A special case is when exporting to a UNC path. In this case, the file
separators will not work as expected and the export will not start. As a
workaround, you can map your UNC path to a network drive and use that instead.

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View File

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
docs/docs/public/otp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

View File

@@ -0,0 +1,27 @@
---
title: Creating accounts
description: Creating accounts on your deployment
---
# Creating accounts
Once Ente is up and running, the Ente Photos web app will be accessible on
`http://localhost:3000`. Open this URL in your browser and proceed with creating
an account.
The default API endpoint for museum will be `localhost:8080`.
![endpoint](/endpoint.png)
To complete your account registration you will need to enter a 6-digit
verification code.
This code can be found in the server logs, which should already be shown in your
quickstart terminal. Alternatively, you can open the server logs with the
following command from inside the `my-ente` folder:
```sh
sudo docker compose logs
```
![otp](/otp.png)

View File

@@ -0,0 +1,52 @@
---
title: "Environment Variables and Ports"
description:
"Information about all the Environment Variables needed to run Ente"
---
# Environment variables and ports
A self-hosted Ente instance requires specific endpoints in both Museum (the
server) and web apps. This document outlines the essential environment variables
and port mappings of the web apps.
Here's the list of important variables that a self hoster should know about:
### Museum
1. `NEXT_PUBLIC_ENTE_ENDPOINT`
The above environment variable is used to configure Museums endpoint. Where
Museum is running and which port it is listening on. This endpoint should be
configured for all the apps to connect to your self hosted endpoint.
All the apps (regardless of platform) by default connect to api.ente.io - which
is our production instance of Museum.
### Web Apps
> [!IMPORTANT] Web apps don't need to be configured with the below endpoints.
> Web app environment variables are being documented here just so that the users
> know everything in detail. Checkout
> [Configuring your Server](/self-hosting/museum) to configure endpoints for
> particular app.
In Ente, all the web apps are separate NextJS applications. Therefore, they are
all configured via environment variables. The photos app (Ente Photos) has
information about and connects to other web apps like albums, cast, etc.
1. `NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT`
This environment variable is used to configure and declare the endpoint for the
Albums web app.
## Ports
The below format is according to how ports are mapped in Docker.
Typically,`<host>:<container-port>`
1. `8080:8080`: Museum (Ente's server)
2. `3000:3000`: Ente Photos web app
3. `3001:3001`: Ente Accounts web app
4. `3003:3003`: [Ente Auth web app](https://ente.io/auth/)
5. `3004:3004`: [Ente Cast web app](http://ente.io/cast)

View File

@@ -12,6 +12,19 @@ verification code by:
- Reading it from the DB (otts table)
The easiest option when getting started is to look for it in the server (museum)
logs. If you're already running the docker compose cluster using the quickstart
script, you should be already seeing the logs in your terminal. Otherwise you
can go to the folder (e.g. `my-ente`) where your `compose.yaml` is, then run
`docker compose logs museum --follow`. Once you can see the logs, look for a
line like:
```
... Skipping sending email to email@example.com: *Verification code: 112089*
```
That is the verification code.
> [!TIP]
>
> You can also configure your instance to send out emails so that you can get

View File

@@ -3,32 +3,6 @@ title: Server admin
description: Administering your custom self-hosted Ente instance using the CLI
---
# Administering your custom server
You can use
[Ente's CLI](https://github.com/ente-io/ente/releases?q=tag%3Acli-v0) to
administer your self hosted server.
First we need to get your CLI to connect to your custom server. Define a
config.yaml and put it either in the same directory as CLI or path defined in
env variable `ENTE_CLI_CONFIG_PATH`
```yaml
endpoint:
api: "http://localhost:8080"
```
Now you should be able to
[add an account](https://github.com/ente-io/ente/blob/main/cli/docs/generated/ente_account_add.md),
and subsequently increase the
[storage and account validity](https://github.com/ente-io/ente/blob/main/cli/docs/generated/ente_admin_update-subscription.md)
using the CLI.
> [!NOTE]
>
> The CLI command to add an account does not create Ente accounts. It only adds
> existing accounts to the list of (existing) accounts that the CLI can use.
## Becoming an admin
By default, the first user (and only the first user) created on the system is
@@ -78,6 +52,37 @@ You can use
[account list](https://github.com/ente-io/ente/blob/main/cli/docs/generated/ente_account_list.md)
command to find the user id of any account.
# Administering your custom server
> [!NOTE] For the first user (admin) to perform administrative actions using the
> CLI, their userID must be whitelisted in the `museum.yaml` configuration file
> under `internal.admins`. While the first user is automatically granted admin
> privileges on the server, this additional step is required for CLI operations.
You can use
[Ente's CLI](https://github.com/ente-io/ente/releases?q=tag%3Acli-v0) to
administer your self hosted server.
First we need to get your CLI to connect to your custom server. Define a
config.yaml and put it either in the same directory as CLI or path defined in
env variable `ENTE_CLI_CONFIG_PATH`
```yaml
endpoint:
api: "http://localhost:8080"
```
Now you should be able to
[add an account](https://github.com/ente-io/ente/blob/main/cli/docs/generated/ente_account_add.md),
and subsequently increase the
[storage and account validity](https://github.com/ente-io/ente/blob/main/cli/docs/generated/ente_admin_update-subscription.md)
using the CLI.
> [!NOTE]
>
> The CLI command to add an account does not create Ente accounts. It only adds
> existing accounts to the list of (existing) accounts that the CLI can use.
## Backups
See this [FAQ](/self-hosting/faq/backup).

View File

@@ -5,103 +5,108 @@ description:
from outside localhost
---
# Components of the Architecture
# Architecture
![Client, Museum, S3](/client-museum-s3.png)
There are three components involved in uploading:
There are three components involved in uploading a file:
1. The client (e.g. the web app or the mobile app)
2. Ente's server (museum)
3. The S3-compatible object storage (e.g. minio in the default starter)
3. The S3-compatible object storage (e.g. MinIO in the default starter)
For the uploads to work, all three of them need to be able to reach each other.
This is because the client uploads directly to the object storage. The
interaction goes something like this:
This is because the client uploads directly to the object storage.
1. Client wants to upload, it asks museum where it should upload to.
2. Museum creates pre-signed URLs for the S3 bucket that was configured.
3. Client directly uploads to the S3 buckets these URLs.
A file upload flows as follows:
1. Client that wants to upload a file asks museum where it should upload the
file to
2. museum creates pre-signed URLs for the S3 bucket that was configured
3. Client directly uploads to the S3 buckets these URLs
4. Client finally informs museum that a file has been uploaded to this URL
The upshot of this is that _both_ the client and museum should be able to reach
your S3 bucket.
## Configuring S3
## Configuring S3
The URL for the S3 bucket is configured in
[scripts/compose/credentials.yaml](https://github.com/ente-io/ente/blob/main/server/scripts/compose/credentials.yaml#L10).
You can edit this file directly when testing, though it is just simpler and more
robust to create a `museum.yaml` (in the same folder as the Docker compose file)
and put your custom configuration there (in your case, you can put an entire
`s3` config object in your `museum.yaml`).
> [!TIP]
> For more details about these configuration objects, see the documentation for
> the `s3` object in
You can edit this file directly while testing, though it is more robust to
create a `museum.yaml` (in the same folder as the Docker compose file) and to
setup your custom configuration there.
> [!TIP] For more details about these configuration objects, see the
> documentation for the `s3` object in
> [configurations/local.yaml](https://github.com/ente-io/ente/blob/main/server/configurations/local.yaml).
By default, you only need to configure the endpoint for the first bucket.
The docker compose file is shipped with MinIO as the Self Hosted S3 Compatible Storage.
By default, MinIO server is served on `localhost:3200` and the MinIO UI on
`localhost:3201`.
For example, in a localhost network situation, the way this
connection works is, Museum (`1`) and MinIO (`2`) run on the same docker network and
the web app (`3`) which will also be hosted on the localhost. This enables all the
three components of the setup being able to communicate with each other seamlessly.
The Docker compose file is shipped with MinIO as the self hosted S3 compatible
storage. By default, MinIO server is served on `localhost:3200` and the MinIO UI
on `localhost:3201`.
For example, in a localhost network situation, the way this connection works is,
museum (`1`) and MinIO (`2`) run on the same Docker network and the web app
(`3`) will also be hosted on your localhost. This enables all the three
components of the setup to communicate with each other seamlessly.
The same principle applies if you're deploying to your custom domain.
## Replication
## Replication
![Replication](/replication.png)
<p align="center">Community contributed diagram of Ente's Replication Process</p>
<p align="center">Community contributed diagram of Ente's replication process</p>
> [!IMPORTANT]
> As of now, Replication works only if all the 3 storage type
> needs are fulfilled (1 Hot, 1 Cold and 1 Glacier Storage).
>
> As of now, replication works only if all the 3 storage type needs are
> fulfilled (1 hot, 1 cold and 1 glacier storage).
>
> [Reference](https://github.com/ente-io/ente/discussions/3167#discussioncomment-10585970)
If you're wondering why there are 3 buckets on MinIO UI - that's because our
production instance uses these to perform [replication](https://ente.io/reliability/).
If you're wondering why there are 3 buckets on the MinIO UI - that's because our
production instance uses these to perform
[replication](https://ente.io/reliability/).
If you're also wondering about why the bucket names are specifically what they are,
it's because that is exactly what we are using on our production instance.
We use `b2-eu-cen` as hot, `wasabi-eu-central-2-v3` as cold (also the secondary hot)
and `scw-eu-fr-v3` as glacier storage. As of now, all of this is hardcoded.
If you're also wondering about why the bucket names are specifically what they
are, it's because that is exactly what we are using on our production instance.
We use `b2-eu-cen` as hot, `wasabi-eu-central-2-v3` as cold (also the secondary
hot) and `scw-eu-fr-v3` as glacier storage. As of now, all of this is hardcoded.
Hence, the same hardcoded configuration is applied when you self host Ente.
In a Self hosted Ente Instance replication is turned off by default.
When replication is turned off, only the first bucket (`b2-eu-cen`) is used,
and the other two are ignored. Only the names here are specifically fixed, but
in the configuration body you can put any other keys. It does not have any relation
In a self hosted Ente instance replication is turned off by default. When
replication is turned off, only the first bucket (`b2-eu-cen`) is used, and the
other two are ignored. Only the names here are specifically fixed, but in the
configuration body you can put any other keys. It does not have any relation
with `b2`, `wasabi` or even `scaleway`.
Use the `s3.hot_storage.primary` option if you'd like to set one of the other
Use the `s3.hot_storage.primary` option if you'd like to set one of the other
predefined buckets as the primary bucket.
## SSL Configuration
## SSL Configuration
> [!NOTE]
>
> If you need to configure SSL, for example if you're running over the internet,
> you'll need to turn off `s3.are_local_buckets` (which disables SSL in the
> default starter compose template).
>
> If you need to configure SSL, you'll need to turn off `s3.are_local_buckets`
> (which disables SSL in the default starter compose template).
Disabling `s3.are_local_buckets` also switches to the subdomain style URLs for
the buckets. However, not all S3 providers support these, in particular, minio
does not work with these in default configuration. So in such cases you'll
also need to then enable `s3.use_path_style_urls`.
the buckets. However, not all S3 providers support these. In particular, MinIO
does not work with these in default configuration. So in such cases you'll also
need to enable `s3.use_path_style_urls`.
## Summary
Set the S3 bucket `endpoint` in `credentials.yaml` to a `yourserverip:3200` or
some such IP/hostname that accessible from both where you are running the Ente
clients (e.g. the mobile app) and also from within the Docker compose cluster.
some such IP / hostname that is accessible from both where you are running the
Ente clients (e.g. the mobile app) and also from within the Docker compose
cluster.
#### Example
### Example
An example `museum.yaml` when you're trying to connect to museum running on your
computer from your phone on the same WiFi network:
@@ -116,50 +121,3 @@ s3:
region: eu-central-2
bucket: b2-eu-cen
```
## FAE (Frequently Answered Errors)
Here are some Frequently Answered Errors from the Community Chat with the reasoning
for a particular error and its potential fix.
In most situations, the problem turns out to be some minute mistakes or misconfigurations
on the users end and that turns out to be the bottleneck of the whole problem.
Please make sure to `reverse_proxy` Museum to a domain as well as check your S3
Credentials and whole config for any minor mis-configurations.
It is also suggested that the user setups Bucket CORS on MinIO or any external
S3 Bucket they are connecting to. To setup Bucket CORS, help yourself by upload
[this](https://help.ente.io/self-hosting/guides/external-s3#_5-fix-potential-cors-issue-with-your-bucket).
### 403 Forbidden
If museum (`2`) is able to make a network connection to your S3 bucket (`3`) but
uploads are still failing, it could be a credentials or permissions issue. A
telltale sign of this is that in the museum logs you can see `403 Forbidden`
errors about it not able to find the size of a file even though the
corresponding object exists in the S3 bucket.
To fix these, you should ensure the following:
1. The bucket CORS rules do not allow museum to access these objects.
- For uploading files from the browser, you will need to currently set
allowedOrigins to "\*", and allow the "X-Auth-Token", "X-Client-Package"
headers configuration too.
[Here is an example of a working configuration](https://github.com/ente-io/ente/discussions/1764#discussioncomment-9478204).
2. The credentials are not being picked up (you might be setting the correct
creds, but not in the place where museum picks them from).
### Mismatch in File Size
The "Mismatch in File Size" error mostly occurs in a situation where the client (`1`)
is re-uploading a file which is already in the bucket with a different File Size. The
reason for re-upload could be anything including Network issue, sudden killing of app
before the upload is complete and etc.
This is also one of Museums (`2`) Validation Checks for the size of file being
re-uploaded from the client to the size of the file which is already
uploaded to the S3 Bucket.
In most case, it is very unlikely that this error could be a cause of some mistake in
the configuration or Browser/Bucket CORS.

View File

@@ -111,5 +111,5 @@ network, you need to use the public IP or hostname.
> [!TIP]
>
> If you're having trouble uploading from your mobile app, it is likely that
> museum is not able to connect to your S3 storage. See the [Configuring
> S3](/self-hosting/guides/configuring-s3) guide for more details.
> museum is not able to connect to your S3 storage. See the
> [Configuring S3](/self-hosting/guides/configuring-s3) guide for more details.

View File

@@ -250,64 +250,6 @@ docker compose exec -i postgres psql -U pguser -d ente_db -c "INSERT INTO storag
After few reloads, you should see 1 To of quota.
## 5. Fix potential CORS issue with your bucket
### For AWS S3
If you cannot upload a photo due to a CORS issue, you need to fix the CORS
configuration of your bucket.
Create a `cors.json` file with the following content:
```json
{
"CORSRules": [
{
"AllowedOrigins": ["*"],
"AllowedHeaders": ["*"],
"AllowedMethods": ["GET", "HEAD", "POST", "PUT", "DELETE"],
"MaxAgeSeconds": 3000,
"ExposeHeaders": ["Etag"]
}
]
}
```
You may want to change the `AllowedOrigins` to a more restrictive value.
If you are using AWS for S3, you can execute the below command to get rid of
CORS. Make sure to enter the right path for the `cors.json` file.
```bash
aws s3api put-bucket-cors --bucket YOUR_S3_BUCKET --cors-configuration /path/to/cors.json
```
### For Self-hosted Minio Instance
> Important: MinIO does not take JSON CORS file as the input, instead you will
> have to build a CORS.xml file or just convert the above `cors.json` to XML.
A minor requirement here is the tool `mc` for managing buckets via command line
interface. Checkout the `mc set alias` document to configure alias for your
instance and bucket. After this you will be prompted for your AccessKey and
Secret, which is your username and password, go ahead and enter that.
```sh
mc cors set <your-minio>/<your-bucket-name /path/to/cors.xml
```
or, if you just want to just set the `AllowedOrigins` Header, you can use the
following command to do so.
```sh
mc admin config set <your-minio>/<your-bucket-name> api cors_allow_origin="*"
```
You can create also `.csv` file and dump the list of origins you would like to
allow and replace the `*` with `path` to the CSV file.
Now, uploads should be working fine.
## Related
Some other users have also shared their setups.
@@ -315,3 +257,5 @@ Some other users have also shared their setups.
- [Using Traefik](https://github.com/ente-io/ente/pull/3663)
- [Building custom images from source (Linux)](https://github.com/ente-io/ente/discussions/3778)
- [Troubleshooting Bucket CORS](/self-hosting/troubleshooting/bucket-cors)

View File

@@ -0,0 +1,229 @@
---
title: Ente from Source
description: Getting started self hosting Ente Photos and/or Ente Auth
---
# Ente from Source
> [!WARNING] NOTE The below documentation will cover instructions about
> self-hosting the web app manually. If you want to deploy Ente hassle free, use
> the [one line](https://ente.io/blog/self-hosting-quickstart/) command to setup
> Ente. This guide might be deprecated in the near future.
## Installing Docker
Refer to
[How to install Docker from the APT repository](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
for detailed instructions.
## Start the server
```sh
git clone https://github.com/ente-io/ente
cd ente/server
docker compose up --build
```
> [!TIP]
>
> You can also use a pre-built Docker image from `ghcr.io/ente-io/server`
> ([More info](https://github.com/ente-io/ente/blob/main/server/docs/docker.md))
Install the necessary dependencies for running the web client
```sh
# installing npm and yarn
sudo apt update
sudo apt install nodejs npm
sudo npm install -g yarn // to install yarn globally
```
Then in a separate terminal, you can run (e.g) the web client
```sh
cd ente/web
git submodule update --init --recursive
yarn install
NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 yarn dev
```
That's about it. If you open http://localhost:3000, you will be able to create
an account on a Ente Photos web app running on your machine, and this web app
will be connecting to the server running on your local machine at
`localhost:8080`.
For the mobile apps, you don't even need to build, and can install normal Ente
apps and configure them to use your
[custom self-hosted server](/self-hosting/guides/custom-server/).
> If you want to build the mobile apps from source, see the instructions
> [here](/self-hosting/guides/mobile-build).
## Web app with Docker and Compose
The instructoins in previous section were just a temporary way to run the web
app locally. To run the web apps as services, the user has to build a docker
image manually.
> [!IMPORTANT]
>
> Recurring changes might be made by the team or from community if more
> improvements can be made so that we are able to build a full-fledged docker
> image.
```dockerfile
FROM node:20-bookworm-slim as builder
WORKDIR ./ente
COPY . .
COPY apps/ .
# Will help default to yarn versoin 1.22.22
RUN corepack enable
# Endpoint for Ente Server
ENV NEXT_PUBLIC_ENTE_ENDPOINT=https://your-ente-endpoint.com
ENV NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=https://your-albums-endpoint.com
RUN yarn cache clean
RUN yarn install --network-timeout 1000000000
RUN yarn build:photos && yarn build:accounts && yarn build:auth && yarn build:cast
FROM node:20-bookworm-slim
WORKDIR /app
COPY --from=builder /ente/apps/photos/out /app/photos
COPY --from=builder /ente/apps/accounts/out /app/accounts
COPY --from=builder /ente/apps/auth/out /app/auth
COPY --from=builder /ente/apps/cast/out /app/cast
RUN npm install -g serve
ENV PHOTOS=3000
EXPOSE ${PHOTOS}
ENV ACCOUNTS=3001
EXPOSE ${ACCOUNTS}
ENV AUTH=3002
EXPOSE ${AUTH}
ENV CAST=3003
EXPOSE ${CAST}
# The albums app does not have navigable pages on it, but the
# port will be exposed in-order to self up the albums endpoint
# `apps.public-albums` in museum.yaml configuration file.
ENV ALBUMS=3004
EXPOSE ${ALBUMS}
CMD ["sh", "-c", "serve /app/photos -l tcp://0.0.0.0:${PHOTOS} & serve /app/accounts -l tcp://0.0.0.0:${ACCOUNTS} & serve /app/auth -l tcp://0.0.0.0:${AUTH} & serve /app/cast -l tcp://0.0.0.0:${CAST}"]
```
The above is a multi-stage Dockerfile which creates a production ready static
output of the 4 apps (Photos, Accounts, Auth and Cast) and serves the static
content with Caddy.
Looking at 2 different node base-images doing different tasks in the same
Dockerfile would not make sense, but the Dockerfile is divided into two just to
improve the build efficiency as building this Dockerfile will arguably take more
time.
Lets build a Docker image from the above Dockerfile. Copy and paste the above
Dockerfile contents in the root of your web directory which is inside
`ente/web`. Execute the below command to create an image from this Dockerfile.
```sh
# Build the image
docker build -t <image-name>:<tag> --no-cache --progress plain .
```
You can always edit the Dockerfile and remove the steps for apps which you do
not intend to install on your system (like auth or cast) and opt out of those.
Regarding Albums App, take a note that they are not apps with navigable pages,
if accessed on the web-browser they will simply redirect to ente.web.io.
## compose.yaml
Moving ahead, we need to paste the below contents into the compose.yaml inside
`ente/server/compose.yaml` under the services section.
```yaml
ente-web:
image: <image-name> # name of the image you used while building
ports:
- 3000:3000
- 3001:3001
- 3002:3002
- 3003:3003
- 3004:3004
environment:
- NODE_ENV=development
restart: always
```
Now, we're good to go. All we are left to do now is start the containers.
```sh
docker compose up -d # --build
# Accessing the logs
docker compose logs <container-name>
```
## Configure App Endpoints
> [!NOTE] Previously, this was dependent on the env variables
> `NEXT_ENTE_PUBLIC_ACCOUNTS_ENDPOINT` and etc. Please check the below
> documentation to update your setup configurations
You can configure the web endpoints for the other apps including Accounts,
Albums Family and Cast in your `museum.yaml` configuration file. Checkout
[`local.yaml`](https://github.com/ente-io/ente/blob/543411254b2bb55bd00a0e515dcafa12d12d3b35/server/configurations/local.yaml#L76-L89)
to configure the endpoints. Make sure to setup up your DNS Records accordingly
to the similar URL's you set up in `museum.yaml`.
Next part is to configure the web server.
# Web server configuration
The last step ahead is configuring reverse_proxy for the ports on which the apps
are being served (you will have to make changes, if you have cusotmized the
ports). The web server of choice in this guide is
[Caddy](https://caddyserver.com) because with caddy you don't have to manually
configure/setup SSL ceritifcates as caddy will take care of that.
```groovy
photos.yourdomain.com {
reverse_proxy http://localhost:3001
# for logging
log {
level error
}
}
auth.yourdomain.com {
reverse_proxy http://localhost:3002
}
# and so on ...
```
Next, start the caddy server :).
```sh
# If caddy service is not enabled
sudo systemctl enable caddy
sudo systemctl daemon-reload
sudo systemctl start caddy
```
## Contributing
Please start a discussion on the Github Repo if you have any suggestions for the
Dockerfile, You can also share your setups on Github Discussions.

View File

@@ -2,39 +2,56 @@
title: Self Hosting with Tailscale (Community)
description: Guides for self-hosting Ente Photos and/or Ente Auth with Tailscale
---
# Guide
This guide aims to achieve self-hosting Ente photos or Ente-Auth with tailscale (TSDPROXY) without exposing any port OR if someone is behind CGNAT and cannot open any port on the internet but want to run their own selfhosted service for themselves, friends and family only.
This guide aims to achieve self-hosting Ente photos or Ente-Auth with tailscale
(TSDPROXY) without exposing any port OR if someone is behind CGNAT and cannot
open any port on the internet but want to run their own selfhosted service for
themselves, friends and family only.
Before getting start keep the following NOTE in mind.
> [!NOTE]
> If someone is behind double or triple CGNAT; must install tailscale system wide by running `curl -fsSL https://tailscale.com/install.sh | sh` in your linux terminal and `sudo tailscale up` otherwise dns resolver will fail and uploading will not work. This is not necessary for those who are not behing CGNAT.
> This guide also work on docker rootless and normal.
> [!NOTE] If someone is behind double or triple CGNAT; must install tailscale
> system wide by running `curl -fsSL https://tailscale.com/install.sh | sh` in
> your linux terminal and `sudo tailscale up` otherwise dns resolver will fail
> and uploading will not work. This is not necessary for those who are not
> behing CGNAT. This guide also work on docker rootless and normal.
> [!CAUTION]
Remember that current docker update 28.0.0 has some bug and cannot connect to external network. Make sure to install docker-ce 27.5.0, docker-ce-rootless-extras 27.5.0 and docker-ce-cli 27.5.0. Hopefully docker 28.1.0 will resolve this issue in next week. Refrence links are [Moby Github Repo Issues 49511](https://github.com/moby/moby/issues/49511) and [Moby Github Repo Issues 49519](https://github.com/moby/moby/issues/49519)
> [!IMPORTANT]
> For Docker rootless, the user must have local permissions for all directories required by the Ente-photos self-hosted server. This can be achieved by running `sudo chown -R 1000:1000 /home/ubuntu/docker/ente`. In the Linux terminal, you can check the UID with `id -u` or simply `id`. The first user typically has UID 1000.
> To allow listening and pinging on any port without root privileges, create a file called `/etc/sysctl.d/99-rootless.conf` with the following content:
> [!IMPORTANT] For Docker rootless, the user must have local permissions for all
> directories required by the Ente-photos self-hosted server. This can be
> achieved by running `sudo chown -R 1000:1000 /home/ubuntu/docker/ente`. In the
> Linux terminal, you can check the UID with `id -u` or simply `id`. The first
> user typically has UID 1000. To allow listening and pinging on any port
> without root privileges, create a file called `/etc/sysctl.d/99-rootless.conf`
> with the following content:
>
> ```
> net.ipv4.ip_unprivileged_port_start=0
> net.ipv4.ping_group_range = 0 2147483647
> ```
> than run `sudo sysctl --system`.
> Create `~/.config/systemd/user/docker.service.d/override.conf` with the following content:
>
> then run `sudo sysctl --system`. Create
> `~/.config/systemd/user/docker.service.d/override.conf` with the following
> content:
>
> ```
> [Service]
> Environment="DOCKERD_ROOTLESS_ROOTLESSKIT_NET=slirp4netns"
> Environment="DOCKERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=slirp4netns"
> ```
> and Restart the docker daemon
> `systemctl --user restart docker`
> Instead of `--volume /var/run/docker.sock:/var/run/docker.sock` in TSDPROXY compose.yaml, use `--volume $XDG_RUNTIME_DIR/docker.sock:/var/run/docker.sock`
>
> and Restart the docker daemon `systemctl --user restart docker` Instead of
> `--volume /var/run/docker.sock:/var/run/docker.sock` in TSDPROXY compose.yaml,
> use `--volume $XDG_RUNTIME_DIR/docker.sock:/var/run/docker.sock`
## GETTING START WITH SETUP
First of all create a directory
`sudo mkdir -p /home/ubuntu/docker/tsdproxy/config` then `cd docker/tsdproxy`
and create compose.yaml file by running `sudo nano compose.yaml`. Populate it
with the following:
## GETTING START WITH SETUP ##
First of all create a directory `sudo mkdir -p /home/ubuntu/docker/tsdproxy/config` than `cd docker/tsdproxy` and create compose.yaml file by running `sudo nano compose.yaml`. Populate it with the following:
```
services:
tsdproxy:
@@ -62,9 +79,18 @@ networks:
proxy:
name: proxy
```
Now login into your tailscale account admin counsle > settings > keys > Generate authkey. Give any description and must select resuable, because the key get purged if not selected after rebooting machine. It is advisable to create **Tags** in **ACLs settings** `tag: tsdproxy` `tag: ente` `tag: minio` as well. This will create a tag nodes with no key expirory. One is safe to reboot restart docker or machine.
> Copy the generated authkey as it is shown only once.
Make tsdproxy.yaml file in `cd docker/tsdproxy/config` by running `sudo nano tsdproxy.yaml` and pupolate it with the following contant:
Now login into your tailscale account admin counsle > settings > keys > Generate
authkey. Give any description and must select resuable, because the key get
purged if not selected after rebooting machine. It is advisable to create
**Tags** in **ACLs settings** `tag: tsdproxy` `tag: ente` `tag: minio` as well.
This will create a tag nodes with no key expirory. One is safe to reboot restart
docker or machine.
> Copy the generated authkey as it is shown only once. Make tsdproxy.yaml file
> in `cd docker/tsdproxy/config` by running `sudo nano tsdproxy.yaml` and
> pupolate it with the following contant:
```
defaultproxyprovider: default
docker:
@@ -87,12 +113,20 @@ log:
json: false
proxyaccesslog: true
```
In the same directory run `sudo nano authkey` and paste the authkey just copied earlier from tailscale admin counsel.
> Here Tailscale (TSDPROXY) setup is complet in all respect. Just run `docker compose up -d`. Check your tailscale amdin counsel and you will see tsdproxy node up and running. Make sure that **HTTPS** is enabled in tailscale DNS settings.
> You can visit the TSDPROXY web GUI by https://tsdproxy.xyz.ts.net. (xyz is change value for everyone)
## ente Part ##
In the same directory run `sudo nano authkey` and paste the authkey just copied
earlier from tailscale admin counsel.
> Here Tailscale (TSDPROXY) setup is complet in all respect. Just run
> `docker compose up -d`. Check your tailscale amdin counsel and you will see
> tsdproxy node up and running. Make sure that **HTTPS** is enabled in tailscale
> DNS settings. You can visit the TSDPROXY web GUI by
> https://tsdproxy.xyz.ts.net. (xyz is change value for everyone)
## ente Part
First make the following necessary files/directories:
```
sudo mkdir -p /home/ubuntu/docker/ente/custom-logs
sudo mkdir -p /home/ubuntu/docker/ente/data
@@ -100,9 +134,14 @@ sudo mkdir -p /home/ubuntu/docker/ente/minio-data
sudo mkdir -p /home/ubuntu/docker/ente/postgres-data
sudo mkdir -p /home/ubuntu/docker/ente/scripts/compose
```
Than give user permission for each of the above directory. `sudo chown -R 1000:1000 /home/ubuntu/docker/ente/custom-logs` etc etc. Make sure not to skip `/home/ubuntu/docker/tsdproxy/config`
`cd docker/ente/script/compose` and run `sudo nano credentials.yaml` than populate it with the following:
Than give user permission for each of the above directory.
`sudo chown -R 1000:1000 /home/ubuntu/docker/ente/custom-logs` etc etc. Make
sure not to skip `/home/ubuntu/docker/tsdproxy/config`
`cd docker/ente/script/compose` and run `sudo nano credentials.yaml` than
populate it with the following:
```
db:
host: postgres
@@ -134,7 +173,9 @@ s3:
bucket: scw-eu-fr-v3
```
In the same directory run `sudo nano minio-provision.sh` and populate it with the following contant:
In the same directory run `sudo nano minio-provision.sh` and populate it with
the following contant:
```
#!/bin/sh
@@ -154,7 +195,9 @@ mc mb -p wasabi-eu-central-2-v3
mc mb -p scw-eu-fr-v3
```
Now `cd docker/ente` and run `sudo nano docker-compose.yaml` and populate it with the following:
Now `cd docker/ente` and run `sudo nano docker-compose.yaml` and populate it
with the following:
```
services:
museum:
@@ -255,32 +298,52 @@ services:
networks:
ente:
name: ente
proxy:
external: true
```
> Thats it. Run `docker compose up -d`. Wait till every container become healthy. Open web browser. Make sure tailscale is installed on the machine. Visit https://ente.xyz.ts.net/ping. It will pong. All good if you see it. First time it will take minute or two to get SSL cert. Downnload Desktop or mobile app. Tap 7 time on the screen, which will prompt developer mode. Add https://ente.xyz.ts.net. Add new user. When asked for OTP. Just go to linux terminal and run `docker logs ente-museum-1`. Search for userauth. Feed the six digit and Done.
> Thats it. Run `docker compose up -d`. Wait till every container become
> healthy. Open web browser. Make sure tailscale is installed on the machine.
> Visit https://ente.xyz.ts.net/ping. It will pong. All good if you see it.
> First time it will take minute or two to get SSL cert. Downnload Desktop or
> mobile app. Tap 7 time on the screen, which will prompt developer mode. Add
> https://ente.xyz.ts.net. Add new user. When asked for OTP. Just go to linux
> terminal and run `docker logs ente-museum-1`. Search for userauth. Feed the
> six digit and Done.
> For getting 100TB (limitless) storage. Just Install ente-cli for windows.
> Extract it and add folder. Name it **export**. Add config.yaml file along and
> populate it with the following:
> For getting 100TB (limitless) storage. Just Install ente-cli for windows. Extract it and add folder. Name it **export**. Add config.yaml file along and populate it with the following:
```
endpoint:
api: "https://ente.xyz.ts.net"
accounts: "http://localhost:3001"
log: false
```
Right-Click in the directory where you have extracted ente-cli. Select `open in terminal`. Run
Right-Click in the directory where you have extracted ente-cli. Select
`open in terminal`. Run
```
.\ente.exe account bob # change bob to yours
```
Hit Enter twice.
For export directory, just write export. As already created **export** folder earlier.
**Write email. The one which is already used befor when creating ente account in ente desktop app.**
Type the same Password used before for the account.Run
Hit Enter twice. For export directory, just write export. As already created
**export** folder earlier. **Write email. The one which is already used befor
when creating ente account in ente desktop app.** Type the same Password used
before for the account.Run
```
.\ente.ext account list
```
This will list all account details. Copy Acount ID.
> Navigate to museum.yaml file. `cd docker/ente`. Run `sudo nano museum.yaml` and add the account ID under Admins. Delete any previous entries.
Restart ente-museum-1 container from linux terminal. Run `docker restart ente-museum-1`. All well, now you will have 100TB storage. Repeat if for any other accounts you want to give unlimited storage access.
> Navigate to museum.yaml file. `cd docker/ente`. Run `sudo nano museum.yaml`
> and add the account ID under Admins. Delete any previous entries. Restart
> ente-museum-1 container from linux terminal. Run
> `docker restart ente-museum-1`. All well, now you will have 100TB storage.
> Repeat if for any other accounts you want to give unlimited storage access.

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