Compare commits

...

1161 Commits

Author SHA1 Message Date
Prateek Sunal
29c67bd5dd fix: refactor Theme.of(context) to a variable 2025-08-22 02:27:35 +05:30
Prateek Sunal
da15842597 fix: deprecated normal functions for getting theme 2025-08-22 02:27:00 +05:30
Prateek Sunal
eb959046cd fix: all theme undefined errors 2025-08-22 01:27:16 +05:30
Prateek Sunal
1178ae26d0 fix: get things back 2025-08-21 23:54:47 +05:30
Prateek Sunal
4a2f5b4676 Merge remote-tracking branch 'origin/main' into optimize-widget-dependencies 2025-08-21 23:49:48 +05:30
Prateek Sunal
9fe15d7ff0 [mob][photos] remove generated locals (#6925)
## Description

We depended on intl_utils but that had problems + it was not
auto-generating things when running `flutter pub get`

Now we are using pure intl implementation of l10n, by which generated
code would be less.

- [x] Removes generated locals

## Tests
2025-08-21 22:27:09 +05:30
Prateek Sunal
28a2afe275 Merge remote-tracking branch 'origin/main' into remove-intl_utils 2025-08-21 22:26:54 +05:30
Aman Raj Singh Mourya
c072097c11 Add custom icons (#6924)
## Description
Adds custom SVG icons for "CoinTracing", "VHV Versicherungen (German
Insurance Company)" and "HR Document Box".
SVG sourced from official CoinTracking press assets.
SVG sourced from Wikipedia for VHV Versicherungen.
For HR Document Box was no svg available, so i used a png to svg
converter.

## Tests
2025-08-21 19:27:57 +05:30
Prateek Sunal
0fece5666b feat: optimize ente color scheme and text theme 2025-08-21 19:04:56 +05:30
Prateek Sunal
26e564aec2 fix: optimize theme dependencies for many files 2025-08-21 18:50:44 +05:30
Prateek Sunal
dd420a80a4 Merge remote-tracking branch 'origin/main' into remove-intl_utils 2025-08-21 18:08:31 +05:30
Prateek Sunal
3dc0620e18 chore: update flutter again for auth 2025-08-21 18:04:29 +05:30
Prateek Sunal
173d075f8b feat: remove generated locals 2025-08-21 18:04:20 +05:30
Daniel
48283282e5 Merge branch 'ente-io:main' into main 2025-08-21 14:30:49 +02:00
Laurens Priem
fa555c448f [mob][photos] Various similar images improvements (#6922)
## Description

Various improvements for similar images, mainly caching and UI changes.

## Tests

Tested in debug mode on my pixel phone.
2025-08-21 17:59:13 +05:30
laurenspriem
6f6770d677 Selection options 2025-08-21 17:58:43 +05:30
Daniel
0b894e9724 Update custom-icons.json 2025-08-21 14:21:02 +02:00
Daniel
0670550cb1 Add files via upload 2025-08-21 14:18:48 +02:00
Daniel
45783cf527 Update custom-icons.json 2025-08-21 14:07:32 +02:00
Daniel
1615779eb8 Add files via upload 2025-08-21 14:05:48 +02:00
Daniel
02e4c9d8fd Add files via upload 2025-08-21 14:00:23 +02:00
Daniel
6eab6457ee Update custom-icons.json 2025-08-21 13:34:14 +02:00
Daniel
25490a7238 Add files via upload 2025-08-21 13:30:49 +02:00
Neeraj
f519ff8a51 [auth] Option to scan image using native plugin (#6920)
## Description

## Tests
Tested on physical device (android and ios)
2025-08-21 16:20:45 +05:30
Neeraj Gupta
afebe1ade1 Clean up 2025-08-21 16:15:44 +05:30
laurenspriem
3862644dd5 Show info at top 2025-08-21 16:07:52 +05:30
Neeraj Gupta
274a7d207d Improve scanning 2025-08-21 15:59:53 +05:30
laurenspriem
add2f0c8de Debug option for full refresh 2025-08-21 15:34:05 +05:30
Neeraj Gupta
8e807616e0 Bump version 2025-08-21 15:29:08 +05:30
laurenspriem
70f4325c71 Refresh for small size 2025-08-21 15:18:05 +05:30
Neeraj Gupta
38ea2248b8 Show option on mobile only 2025-08-21 15:16:21 +05:30
laurenspriem
9600b26359 More stable sort 2025-08-21 15:10:40 +05:30
Neeraj Gupta
5b3e996aaa Option to scan image using native plugin 2025-08-21 15:08:11 +05:30
laurenspriem
4d4cce091f Fix json decoding issue 2025-08-21 14:13:49 +05:30
Neeraj
aaca140d1b [mobile] Use same lint rule file (#6917)
## Description
Had verified that hash for these rules were same.
## Tests
2025-08-21 14:06:37 +05:30
Neeraj Gupta
596ffcd4c4 [mobile] Use same lint rule file 2025-08-21 14:04:04 +05:30
laurenspriem
41ef85a294 Add scroll bars 2025-08-21 13:08:51 +05:30
Neeraj
f722d82835 [server]: add one click verify button for verification email (#5654)
OG (ott.html):

<img width="701" height="590" alt="image"
src="https://github.com/user-attachments/assets/80b926d1-c65f-44a8-9de4-7b591258bf3c"
/>



New (ott_mobile.html):

<img width="642" height="811" alt="image"
src="https://github.com/user-attachments/assets/aa18a778-1161-4b4e-ad82-cf472da06ff7"
/>
2025-08-21 12:44:24 +05:30
Neeraj Gupta
cbb3096534 use mobile ott template for only photos 2025-08-21 12:41:56 +05:30
laurenspriem
f635e1e856 Merge branch 'main' into smart_dedupe 2025-08-21 12:22:29 +05:30
laurenspriem
c6734a5cb7 More logging 2025-08-21 12:15:37 +05:30
laurenspriem
e26b4796d3 Match to closest group 2025-08-21 12:04:31 +05:30
laurenspriem
99c0194c0f Check cache parameters 2025-08-21 11:54:10 +05:30
laurenspriem
e824c02d7f Fix bug 2025-08-21 11:45:08 +05:30
laurenspriem
a11f66b51d Caching and partial compute logic for similar files calculation 2025-08-21 11:35:42 +05:30
laurenspriem
f202fef266 JSON caching of similar files 2025-08-21 11:35:12 +05:30
Neeraj
ff8cfd3e87 [auth] Additional import option (#6916)
## Description

## Tests
2025-08-21 11:22:04 +05:30
Neeraj Gupta
431ab7fcc7 [auth] Additional import option 2025-08-21 11:11:48 +05:30
Ashil
2ac1d58dac [mob][photos] Fix jank when scrolling gallery when lot of selected items are in view (#6913)
## Description

Using `ColorFiltered` with `Blendmode.darken` introduces a performance
[issue](https://github.com/flutter/flutter/issues/174118) with flutter's
new rendering engine Impeller.

The fix uses an alternative method to that maintains the same UI
appearance as before.
2025-08-20 19:09:46 +05:30
ashilkn
5533e6a71d Fix performance issue (jank) when scrolling gallery when lot of selected items in view
This was only bad enough to be noticed on one device (Samsung A54) out of few
2025-08-20 18:46:32 +05:30
laurenspriem
a8ae0727a8 Fix potential duplicates 2025-08-20 18:24:21 +05:30
Aman Raj Singh Mourya
6955788724 Add custom icon for Mobile01 (#6908)
Custom icon for [Mobile01](https://www.mobile01.com/)

- Add optimised SVG file
- Add entry to custom-icons.json
2025-08-20 15:49:42 +05:30
Neeraj Gupta
f6dd35f5e7 Update templates 2025-08-20 15:11:28 +05:30
Neeraj Gupta
9148916d88 Merge remote-tracking branch 'origin/main' into ott_email_one_click 2025-08-20 15:02:57 +05:30
Neeraj
68545f8947 [auth] add import from gallery using zxing2 (#6909)
This pr implements the feature to add a 2FA account by importing a QR
code image from the device gallery..
Adds a new "Import from gallery" button to the Floating Action Button
menu.

The button's text is localized, and its styling is consistent with the
app's theme.

How to Test:

    Open the FAB menu and tap "Import from gallery".
    
1) Test with a valid 2FA QR code image. Expected: The account gets added
successfully.
2) Test with an image that has no QR code. Expected: A "No QR code
found" toast message appears.
3) Test with a QR code of plain text (like "hello "). Expected: An
"Invalid QR Code" dialog appears.
2025-08-20 14:44:02 +05:30
Neeraj
76c5c12c53 [mobile] Setup melos (#6907)
## Description

```
dart pub global activate melos
```
Run following command to get all dependencies for projects
```
melos bootstrap
```


## Tests
2025-08-20 14:36:10 +05:30
Dxball ☕
8d749a2dc8 Add custom icon fo Mobile01 2025-08-20 09:01:14 +00:00
a5xwin
56af818482 add qr code scanning from gallery using zxing2 2025-08-20 14:28:41 +05:30
Neeraj
fc1096c985 [mob] Include mobile flag during ott (#6906)
## Description
Need this to identify which OTT template to send from backend.
Ref: https://github.com/ente-io/ente/pull/5654
## Tests
2025-08-20 14:25:22 +05:30
Neeraj Gupta
88260a05e3 Setup melos 2025-08-20 14:14:35 +05:30
Neeraj Gupta
4b5f91a428 [mob] Send ismobile flag 2025-08-20 13:14:59 +05:30
Neeraj
29b12fc6b5 [docs] Lint (#6905)
## Description

## Tests
2025-08-20 11:01:44 +05:30
Neeraj Gupta
c3eec71d60 [docs] Lint 2025-08-20 11:01:25 +05:30
Neeraj
2fccdee0d6 [server] Add optional TLS/SSL encryption for SMTP (#6863)
## Description

Implement TLS/SSL encryption for sending emails via SMTP. When an SMTP
provider explicitly requires TLS/SSL communication the current
implementation runs in a timeout and fails. A new configuration
parameter for smtp was added to enable TLS/SSL communication.

This would solve #5958 

## Tests

I built a local docker image of my branch. The email provider I was
using is mailbox.org and using the tls configuration. Registering a new
user then resulted in a sent email containing the verification code.

I did not test a setup without TLS/SSL.
2025-08-20 11:00:36 +05:30
Neeraj
8f053e7a7b [m][photos] Fix for duplicate entries for local file (#6904)
## Description

## Tests
2025-08-20 10:42:41 +05:30
Neeraj
de7291f5d4 [mobile][photos] don't show lock screen on deep link (#6899)
## Description

Fixes the clicking on widget behavior

## Tests
2025-08-20 10:06:06 +05:30
Neeraj Gupta
e09c952198 Fix for duplicate enteries for file 2025-08-20 10:01:51 +05:30
laurenspriem
28a842b006 Show size 2025-08-20 09:51:27 +05:30
laurenspriem
19eb342f59 Move internal things to debug mode only 2025-08-20 09:47:36 +05:30
laurenspriem
2b82c79be9 Merge branch 'main' into smart_dedupe 2025-08-20 09:13:43 +05:30
Prateek Sunal
86a9dee49d fix: add note, revert old code, remove default redirect 2025-08-20 00:25:33 +05:30
Vishnu Mohandas
33b1a7e4f8 [mob] Remove generated code (#6901) 2025-08-19 20:22:51 +05:30
vishnukvmd
de783e91dc Ignore build 2025-08-19 20:22:22 +05:30
vishnukvmd
554c8f4b7a Remove noise 2025-08-19 20:22:11 +05:30
Vishnu Mohandas
f438142646 [locker] Icon (#6900) 2025-08-19 19:00:07 +05:30
vishnukvmd
aa6c010562 Update Android icon 2025-08-19 18:59:33 +05:30
vishnukvmd
2830c89bde Set icons 2025-08-19 18:58:21 +05:30
Prateek Sunal
4de530b882 fix: don't show lock sreen if not required 2025-08-19 18:27:33 +05:30
Vishnu Mohandas
62d7c87dc7 [locker] Update deps (#6898) 2025-08-19 18:23:51 +05:30
vishnukvmd
3a1b6dbf15 [locker] Update deps 2025-08-19 18:23:19 +05:30
laurenspriem
58182cc8ab Remove slider interface in release 2025-08-19 17:11:12 +05:30
Laurens Priem
5e0bba390b [mob][photos] Decoded image minor refactor (#6897)
## Description

Minor refactor (no functional change) in the way we're decoding and
returning images for indexing.
2025-08-19 16:42:24 +05:30
Vishnu Mohandas
df6a3b94db [mobile][locker] Add Drawer & Setting section in locker (#6895) 2025-08-19 15:35:41 +05:30
AmanRajSinghMourya
72b7e12768 Merge branch 'main' into drawer 2025-08-19 15:24:29 +05:30
AmanRajSinghMourya
3a7d82a799 Add setting section 2025-08-19 14:58:15 +05:30
Neeraj
5f1cfb9ba5 [server] Fail request on customDomain mismatch (#6893)
## Description

## Tests
2025-08-19 14:23:00 +05:30
Neeraj Gupta
298e3695c7 [server] Fail request on customDomain mismatch 2025-08-19 12:34:31 +05:30
Vishnu Mohandas
621713d0b4 [mob] Remove unused import (#6892) 2025-08-19 12:33:15 +05:30
vishnukvmd
34813d2fae [mob] Remove unused import 2025-08-19 12:32:58 +05:30
laurenspriem
bb177bc3f6 Merge branch 'main' into smart_dedupe 2025-08-19 11:47:19 +05:30
Vishnu Mohandas
d8e4418d78 Remove ignore (#6890) 2025-08-19 11:43:36 +05:30
vishnukvmd
9771a5bc5d Remove ignore 2025-08-19 11:41:44 +05:30
laurenspriem
65f7e3f6c6 Exclude rust_builder in linter 2025-08-19 11:39:03 +05:30
laurenspriem
49b9d83f05 refactor to not use ui.image unnecessarily everywhere 2025-08-19 10:52:59 +05:30
laurenspriem
273d7bd00a ignore rust_builder linting errors 2025-08-19 10:38:08 +05:30
laurenspriem
4e8991dc10 remove unused import 2025-08-19 10:25:42 +05:30
Neeraj
aa4207f878 [auth] New translations (#6877)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-08-19 10:13:12 +05:30
Manav Rathi
3176ba8a93 pin to specific release of debian to avoid collation mismatch (#6886)
## Description

this pins the postgres container to a specific version of debian to
prevent issues with updated glibc in newer deb release

https://github.com/docker-library/postgres/issues/1356

## Tests
2025-08-19 09:09:04 +05:30
Matthias Wirtz
fcf038c4d8 pin to specific release of debian to avoid collation mismatch 2025-08-18 20:54:12 +02:00
Prateek Sunal
46aad76039 [mob][photos] fix widget tap on iOS (#6882)
## Description

Widget tap was not opening the specified photo because the app group id
was not setting correctly when the method was being called.

## Tests
2025-08-18 22:23:36 +05:30
Prateek Sunal
9a654988f8 chore: remove unused prefs 2025-08-18 22:23:15 +05:30
Prateek Sunal
1ce749e93e fix: update code to check correctly 2025-08-18 22:22:54 +05:30
Prateek Sunal
db88432b9d fix: update swift file to handle homeWidget deep link 2025-08-18 21:54:00 +05:30
Prateek Sunal
354bcc715f fix: remove iOS widget tap issue from change log 2025-08-18 20:56:46 +05:30
Prateek Sunal
5541198967 fix: combine functions 2025-08-18 20:55:07 +05:30
Prateek Sunal
3e2dbe2c1b fix: take prefs from ServiceLocation & setAppGroup whenever needed 2025-08-18 20:47:01 +05:30
Prateek Sunal
5d3d18f347 fix: add some logs + init prefs at one place 2025-08-18 19:59:15 +05:30
Prateek Sunal
9a876f3d59 fix: update internal and store change logs for widget tap issues on iOS 2025-08-18 19:11:10 +05:30
Prateek Sunal
3b7600ae7b chore: update lock files 2025-08-18 19:09:57 +05:30
Prateek Sunal
8bacf8ff93 fix: widget tap not working on iOS by giving preferences to init 2025-08-18 19:09:44 +05:30
Vishnu Mohandas
b356e5d0a5 Hey Locker! (#6881) 2025-08-18 18:44:44 +05:30
vishnukvmd
777516446d Hey Locker! 2025-08-18 18:43:14 +05:30
laurenspriem
37c1d0f6a8 Unify UI 2025-08-18 18:23:14 +05:30
laurenspriem
be1bf28cd8 Add cacheExtend for smoother scroll 2025-08-18 17:25:44 +05:30
Vishnu Mohandas
de5f0fbb39 [docs] update bucket-level configuration for S3 (#6873)
## Description

This PR updates documentation for S3 configuration with bucket-level
configuration for URL style and local buckets and updates needed
configuration that will make it intuitive for self-hosters.
2025-08-18 15:48:38 +05:30
Vishnu Mohandas
48fa2bd6de [mobile] Remove unused script for dependency fetching in mobile packages (#6878)
## Description

## Tests
2025-08-18 12:49:14 +05:30
AmanRajSinghMourya
df584f34e9 Remove unused script for dependency fetching in mobile packages 2025-08-18 12:36:05 +05:30
Vishnu Mohandas
0241ad1fe5 [mobile] Refactor project to extract and centralize common code into packages (#6768)
## Description
Refactored the codebase to move shared logic into reusable packages
under packages/.
Cleaned up old code, fixed builds, applied lint fixes, and updated
dependencies.

### Extracted reusable logic into dedicated packages:

- packages/accounts
- packages/base
- packages/configuration
- packages/lock screen
- packages/logging
- packages/network
- packages/strings
- packages/ui
- packages/utils

### Removed legacy or redundant code:
- Password re-entry
- Recovery key flow
- Password verification logic
- Applied lint fixes across multiple modules like accounts, base,
configuration, events, lock_screen, logging, network, strings, ui, utils

###  Build Fixes
Fixed Android build issues
Upgraded Flutter to version 3.24.3 and resolved related dependency
errors
2025-08-18 12:26:17 +05:30
AmanRajSinghMourya
435ed212c6 Fix build issues 2025-08-18 12:13:15 +05:30
AmanRajSinghMourya
1e9a6a1e14 Merge branch 'main' into test-com 2025-08-18 11:37:45 +05:30
Manav Rathi
a7ba3079cb [web] New translations (#6875)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-08-18 11:33:05 +05:30
Neeraj
97f1bb71c7 [mobile/photos] New translations (#6876)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-08-18 10:55:31 +05:30
laurenspriem
cad8613e81 Remove "select extra" button 2025-08-18 10:28:57 +05:30
laurenspriem
b46e51f64d Prefer smaller names 2025-08-18 10:25:06 +05:30
laurenspriem
e6bf64548c Use cached files 2025-08-18 10:21:28 +05:30
laurenspriem
5729e0cf3e no shared or hidden files 2025-08-18 10:11:04 +05:30
laurenspriem
b353539328 Sort by highest size first 2025-08-18 09:54:31 +05:30
Crowdin Bot
f2049ac7fa New Crowdin translations by GitHub Action 2025-08-18 01:18:04 +00:00
Crowdin Bot
e82ba882d6 New Crowdin translations by GitHub Action 2025-08-18 01:05:17 +00:00
Crowdin Bot
eecd7ed355 New Crowdin translations by GitHub Action 2025-08-18 00:43:39 +00:00
Keerthana
bc70b4e725 [docs] fix linting for self-hosting 2025-08-18 01:52:26 +05:30
Keerthana
a52cebf0e5 [cli] remove dead code in init 2025-08-18 00:49:29 +05:30
Keerthana
4c31a7bcd6 [docs] update bucket configuration 2025-08-17 23:55:43 +05:30
Kilian Hohm
cf938eca91 Add CLI command to send a test email via admin API 2025-08-16 10:33:23 +02:00
Prateek Sunal
deef13ece9 [auth] update plugins & gradle (#6861)
## Description

Fix for compiling with flutter 3.32.8

## Tests
2025-08-15 19:35:21 +05:30
Kilian Hohm
a3d3ee24f8 Document optional TLS/SSL encryption for sending emails via SMTP 2025-08-15 15:48:59 +02:00
Kilian Hohm
6b37cc46a5 Add optional TLS/SSL encryption for sending emails via SMTP 2025-08-15 15:48:41 +02:00
Prateek Sunal
3132373c26 chore: update plugins & add desugaring 2025-08-15 18:13:08 +05:30
Prateek Sunal
5b4ff1d01a chore: update gradle and kotlin 2025-08-15 17:34:04 +05:30
AmanRajSinghMourya
20d8a42239 Add broken-icon 2025-08-14 22:23:50 +05:30
Aman Raj Singh Mourya
5d85dea5fe [auth] Show black color as default background color for privacy-screen (#6854)
## Description]
When switching between tabs on mobile, a white flash appear when
lockscreen is enable.
This PR fixes that by setting the background color to black for both
light and dark theme.
2025-08-14 21:54:33 +05:30
AmanRajSinghMourya
b19814dd2c Add onBoardingBodyColor to CustomColorScheme extension for light and dark themes 2025-08-14 21:18:53 +05:30
laurenspriem
ad39694026 report changes at correct place 2025-08-14 19:06:03 +05:30
Laurens Priem
a28f402f35 [mob][photos] Memories misc improv (#6851)
## Description

Few miscellaneous improvements for memories. Taking text embeddings from
assets, and better caching and choosing of which persons to show.

## Tests

Tested in debug mode on my pixel phone.
2025-08-14 17:59:53 +05:30
laurenspriem
5596e3d2e5 Merge branch 'main' into memories_misc_improv 2025-08-14 17:34:16 +05:30
laurenspriem
00b9d277d2 load text embeddings for memories from assets 2025-08-14 17:29:37 +05:30
Laurens Priem
f48c21bd4e [mob][photos] Specify rust version in mobile builds (#6850)
## Description

Specify rust version in mobile builds
2025-08-14 13:56:26 +05:30
laurenspriem
9b23ec5953 No dependency on rust version specifically 2025-08-14 13:55:34 +05:30
laurenspriem
b917592901 specify rust version 2025-08-14 13:47:30 +05:30
Laurens Priem
a1606b99d1 [mob][photos] Similar images debug screen (#6845)
## Description

Introduces the similar images (debug) screen and similar images
functionality in the app. It doesn't include the final design, this PR
is more to get some things in main, so that the entire team can start
testing it. This PR also finally introduces functional rust code into
the mobile app, as well as a vector DB.

(Note that flutter_rust_bridge, needed for rust integration,
automatically formats certain dart code when generating bindings. So
some file changes in this PR are simply automatic formats and can be
ignored. Similarly, the `rust_builder` directory is mainly generated and
can be ignored.)

## Tests

Tested on my own device in both debug and release mode.
2025-08-14 13:13:53 +05:30
laurenspriem
38ed141d0e Re-add rust builder 2025-08-14 13:05:43 +05:30
laurenspriem
64dde88b63 Delete rust_builder for PR issue 2025-08-14 13:05:09 +05:30
Manav Rathi
af628a72fa [web] New translations (#6849)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-08-14 12:39:59 +05:30
laurenspriem
634e5e9624 Merge branch 'main' into similar_images_debug 2025-08-14 12:37:38 +05:30
Crowdin Bot
6db71d7995 New Crowdin translations by GitHub Action 2025-08-14 07:04:33 +00:00
Manav Rathi
83378094b5 [web] Move custom domain related strings to translations (#6848) 2025-08-14 12:33:54 +05:30
laurenspriem
9afa40764e Remove more old refs 2025-08-14 12:25:46 +05:30
laurenspriem
9899298500 Remove old gitsubmodule refs 2025-08-14 12:21:41 +05:30
Aman Raj Singh Mourya
ad58bc1d5f [auth] Add custom icon for Skyscanner (#6843)
## Description
Custom icon for [Skyscanner](https://www.skyscanner.net/)
- Add optimised SVG file
- Add entry to `custom-icons.json`
2025-08-14 12:05:00 +05:30
Manav Rathi
d76c9ce6db [web] Move custom domain related strings to translations 2025-08-14 11:58:22 +05:30
Manav Rathi
0606401d29 [docs] Custom domains troubleshooting (#6847) 2025-08-14 10:35:06 +05:30
Manav Rathi
0e9556603e [docs] Custom domains troubleshooting 2025-08-14 10:32:17 +05:30
laurenspriem
f4c0899e02 Use slicing 2025-08-14 09:30:59 +05:30
laurenspriem
10ae4c5f92 Merge branch 'main' into similar_images_debug 2025-08-14 09:11:46 +05:30
laurenspriem
eb967709dd Put vectorDB behind feature flag 2025-08-14 08:53:38 +05:30
laurenspriem
b72b118299 Note change 2025-08-14 08:41:04 +05:30
gfrcsd
556c04aca2 Add custom icon for Skyscanner 2025-08-13 22:12:50 +01:00
AmanRajSinghMourya
72ede1a109 Add onLongPress callback to MenuItemWidget 2025-08-14 00:09:48 +05:30
Aman Raj Singh Mourya
4b89e92dd0 [auth] add custom icon for RaiderIO (#6839)
- Added Raider.IO SVG icon.
- Updated custom-icons.json to include the new icon.

Raider.IO is a platform that tracks World of Warcraft players'
performance.
2025-08-13 23:39:46 +05:30
sayimburak
6b93125b5d [auth] add custom icon for RaiderIO
- Added Raider.IO SVG icon.
- Updated custom-icons.json to include the new icon.

Raider.IO is a platform that tracks World of Warcraft players' performance.
2025-08-13 16:44:01 +03:00
Manav Rathi
4a3d9fd752 [web] Custom domains (#6837) 2025-08-13 17:45:44 +05:30
laurenspriem
39c1e54cc9 Delete with symlink 2025-08-13 14:56:53 +05:30
laurenspriem
cb3f1a5edc sort menu 2025-08-13 14:24:48 +05:30
Prateek Sunal
6112d6a780 [mob] update target api to 35 (android 15) & compileSdk to latest (36) (#6833)
## Description

targetSdk -> 35, compileSdk -> 36

- [x] Solves Target api issue for auth and photos

## Tests
2025-08-13 14:19:09 +05:30
laurenspriem
b34a769773 Sort on name within individual files group 2025-08-13 14:18:13 +05:30
Prateek Sunal
e265d4b4d2 fix: only bump target sdk to 35 2025-08-13 13:14:01 +05:30
Prateek Sunal
f95410a5b1 fix: only bump target sdk to 35 2025-08-13 13:13:37 +05:30
Manav Rathi
0eb56a8437 yarn pretty 2025-08-13 12:53:25 +05:30
Manav Rathi
eb9f8021ae Integrate 2025-08-13 12:30:13 +05:30
Manav Rathi
fdc3cb8f85 Images 2025-08-13 12:11:06 +05:30
AmanRajSinghMourya
5fe86858ef Update dependencies and upgrade SDK version; replace qr_code_scanner with qr_code_scanner_plus 2025-08-13 11:38:27 +05:30
Manav Rathi
0c9f9a60b7 Help 2025-08-13 11:23:37 +05:30
laurenspriem
4db135d5d0 Don't log clip queries 2025-08-13 10:55:54 +05:30
laurenspriem
8c5f7e62be Don't log clip queries 2025-08-13 10:55:23 +05:30
laurenspriem
ed011e93dc Merge branch 'main' into memories_misc_improv 2025-08-13 10:36:11 +05:30
AmanRajSinghMourya
7546d8cad2 Merge branch 'main' into test-com 2025-08-13 10:13:50 +05:30
laurenspriem
a98385c3a3 Dependencies 2025-08-13 09:49:51 +05:30
laurenspriem
68639dfd55 Update cargokit with upgraded flutter version 2025-08-13 09:49:42 +05:30
Neeraj
1fe2a941ff [mobile/photos] New translations (#6808)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-08-13 09:35:47 +05:30
laurenspriem
d7f88c1890 use rust in gh actions internal releases 2025-08-13 09:25:45 +05:30
Manav Rathi
357b7c58a1 Subscription check 2025-08-13 09:12:44 +05:30
Manav Rathi
f300573604 Simplify 2025-08-13 09:12:44 +05:30
Manav Rathi
4e622fc48a [web] Update yarn.lock (#6835) 2025-08-13 09:09:26 +05:30
Manav Rathi
b11d0e7c94 [web] Update yarn.lock 2025-08-13 09:04:53 +05:30
laurenspriem
d65ddaec02 Merge branch 'main' into smart_dedupe 2025-08-13 08:54:07 +05:30
Manav Rathi
ea0e2ed664 [infra] Caddy (#6831)
For custom domain TLS provisioning
2025-08-12 18:01:24 +05:30
Manav Rathi
01d70d1b5e Fix HTTPS connection with upstream 2025-08-12 17:49:48 +05:30
Prateek Sunal
de44b1813e chore: update target api & compile sdk to 36 (android 16) 2025-08-12 17:34:56 +05:30
Neeraj
7165db3cd9 [server] Support for configuring custom-domains (#6827)
## Description

## Tests
- Verified server db migrations is on 103
- Verified that duplicate custom domain results in error
- basic sanity testing for custom domain validation.
2025-08-12 17:25:47 +05:30
Neeraj
ee3829675b [auth] Update assets for f-droid (#6832)
## Description

## Tests
2025-08-12 16:26:56 +05:30
Neeraj
9ee86fc6a0 [mob] upgrade flutter to latest stable (#6254)
## Description

This PR upgrades flutter to stable version i.e. Flutter 3.32.8

- [x] Bump dependencies
- [x] Replace .withOpacity( with .withValues(alpha:
- [x] Fix broken l10n
- [x] Did some lint fixes
- [x] Update deprecated methods and arguments
- [x] Fix flutter_gen not found for Photos app (by removing the
l10n.yaml, fixing delegates, using `intl_utils/Flutter Intl`)

## Tests

- [x] Test app
- [x] Check upgraded deps
- [x] Test Deep links/Passkeys - Android
- [ ] Test Deep links/Passkeys - iOS
2025-08-12 16:22:09 +05:30
Neeraj Gupta
c46c009bee Update auth description 2025-08-12 16:18:55 +05:30
Prateek Sunal
e9786d8ee5 fix: bump remaining flutter sdk versions 2025-08-12 16:09:16 +05:30
Neeraj Gupta
dbc36c7129 Update assets 2025-08-12 16:05:15 +05:30
Prateek Sunal
e00c9795f0 chore: lint fix 2025-08-12 16:03:06 +05:30
Prateek Sunal
db7a7c3f7a chore: bump intl 2025-08-12 15:58:17 +05:30
Prateek Sunal
33b8039348 Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-08-12 15:46:31 +05:30
laurenspriem
4070d47d0f Merge branch 'main' into smart_dedupe 2025-08-12 15:41:33 +05:30
Neeraj Gupta
249206eadf [auth] Update assets for f-droid 2025-08-12 15:32:43 +05:30
laurenspriem
11ef667433 Select all to select extra 2025-08-12 15:29:41 +05:30
Neeraj
2bf24be08e [auth] Fix path for auth workflows & delete oversized icons (#6830)
## Description

## Tests
2025-08-12 15:29:23 +05:30
laurenspriem
e9feed59cd Use person faces to differentiate too 2025-08-12 15:26:11 +05:30
Neeraj Gupta
7cc4ab57f3 Remove oversized assets 2025-08-12 15:24:38 +05:30
Manav Rathi
c84c29ed74 Caddy 2025-08-12 14:55:06 +05:30
Neeraj Gupta
cb03173c46 Fix path for auth linters 2025-08-12 14:52:05 +05:30
Neeraj
13a015434b [mob] Support for handling Custom domain (#6829)
## Description

## Tests
2025-08-12 14:49:30 +05:30
Neeraj Gupta
249009ae7e Clean up 2025-08-12 14:44:06 +05:30
Neeraj Gupta
b82956792a Separate change logs 2025-08-12 14:30:03 +05:30
Neeraj Gupta
4ba03d9a6a Update workflow 2025-08-12 13:53:21 +05:30
Neeraj Gupta
d6b4eec9b4 Merge remote-tracking branch 'origin/main' into custom_domain_handling 2025-08-12 13:50:26 +05:30
Neeraj Gupta
fb2743a8fe Update changelog 2025-08-12 13:50:16 +05:30
Prateek Sunal
c9c39b30ec chore: update changelog 2025-08-12 13:46:02 +05:30
Prateek Sunal
9eeb7efd4f [mob][photos] run ffmpeg in isolate (#5743)
## Description

- [x] Create a new service to use for FFmpeg in an isolate'ed
environment
- [x] Apply this service wherever we use FFmpeg Kit
- [x] Make FFMpeg accessible in an isolate (background)

## Tests

- [x] Test FFmpeg intergrations
2025-08-12 13:44:45 +05:30
Prateek Sunal
9fb52b8f95 fix: update changes 2025-08-12 13:44:01 +05:30
Prateek Sunal
8e7a6d2034 fix: rename variables 2025-08-12 13:43:38 +05:30
laurenspriem
5e52036f7a Better memory management 2025-08-12 13:38:29 +05:30
Prateek Sunal
9568c4819f chore: update timeout 2025-08-12 13:36:31 +05:30
Prateek Sunal
6e6ed7ea64 fix: logs 2025-08-12 13:31:25 +05:30
Neeraj Gupta
da590a643f Lint fixes 2025-08-12 13:28:00 +05:30
Neeraj Gupta
21c8af01a2 Update query 2025-08-12 13:25:39 +05:30
Prateek Sunal
00549d413e Merge remote-tracking branch 'origin/flutter-upgrade' into isolated-ffmpeg 2025-08-12 13:13:24 +05:30
Prateek Sunal
75e7fa5cde Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-08-12 13:13:09 +05:30
Prateek Sunal
1e81abf9d9 Merge branch 'flutter-upgrade' into isolated-ffmpeg 2025-08-12 13:12:58 +05:30
Neeraj Gupta
e9c41aed1e Alert for origin mismatch 2025-08-12 13:03:42 +05:30
Manav Rathi
0784da5b4e [web] Custom albums build for custom domains (#6826) 2025-08-12 12:39:01 +05:30
Manav Rathi
633caa7883 Custom albums build for custom domains 2025-08-12 12:29:09 +05:30
Manav Rathi
d4635c415b [web] Custom domains - WIP (#6825) 2025-08-12 12:02:27 +05:30
Neeraj Gupta
f3e5297878 Merge remote-tracking branch 'origin/main' into custom_domain_handling 2025-08-12 11:55:46 +05:30
Neeraj Gupta
5e993b9526 Support for custom domain url replacement 2025-08-12 11:55:24 +05:30
Neeraj Gupta
29d316349b Allow empty string 2025-08-12 11:49:32 +05:30
laurenspriem
d61c18a6ef Use search with keys in similar images service 2025-08-12 11:38:44 +05:30
laurenspriem
5f4cf302a1 use search with keys in ml computer 2025-08-12 11:38:25 +05:30
laurenspriem
cb2b33eedb use rust search with potential keys in clip vector db 2025-08-12 11:38:03 +05:30
laurenspriem
856a87f01c Rust api to do entire search with potential keys in rust 2025-08-12 11:36:38 +05:30
Manav Rathi
95ed8d23de Prep for merge 2025-08-12 11:31:46 +05:30
Manav Rathi
97d8d9fa8d Handle errors 2025-08-12 11:19:29 +05:30
Manav Rathi
149eb6c38d Not required 2025-08-12 11:19:29 +05:30
Manav Rathi
4c57c6b30f Tweak 2025-08-12 11:19:29 +05:30
Manav Rathi
3d12812671 Use 2025-08-12 11:19:29 +05:30
Manav Rathi
440818f1af Read from remote store 2025-08-12 11:19:29 +05:30
Manav Rathi
18e7a52848 Sketch 1 2025-08-12 11:19:28 +05:30
Manav Rathi
b099d16a32 Screen outline 2025-08-12 11:19:28 +05:30
Manav Rathi
46c588c512 Button 2025-08-12 11:19:28 +05:30
Neeraj Gupta
f248dbabe0 Refactor publicUrl construction logic 2025-08-12 11:10:34 +05:30
Neeraj Gupta
799e844de3 Parse fields for custom domain 2025-08-12 11:07:34 +05:30
Manav Rathi
5090e16d54 Make public 2025-08-12 10:25:24 +05:30
Neeraj Gupta
1d649c5a79 Store only domain 2025-08-12 10:01:32 +05:30
Neeraj Gupta
9d4474393e Merge branch 'main' into refactor_remote_store 2025-08-12 09:39:48 +05:30
Manav Rathi
073235c294 [web] New translations (#6807)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-08-12 09:26:28 +05:30
Neeraj
fe8da0b332 [mob] Use Github workflow's run_number for bumping up the versionCode (#6824)
## Description

## Tests
2025-08-12 09:03:05 +05:30
Neeraj Gupta
b98294c073 Update workflow 2025-08-12 09:01:48 +05:30
Neeraj
c962508987 [mobile] Fix Image editor (#6819)
## Description
- Fix bottom navigation bar color in light theme
- Fix initial color in paint editor
- Tap to reset tune adjustment value (brightness, exposure, etc..) and
add haptics when crossing zero
2025-08-12 08:55:22 +05:30
Neeraj Gupta
4ff211868e Update changes 2025-08-12 08:54:56 +05:30
Neeraj Gupta
527f2557b6 Merge remote-tracking branch 'origin/main' into fix-image-editor 2025-08-12 08:53:30 +05:30
Neeraj
a945753629 [auth] Remove hex from some multi-color icons (#6820)
This PR removes the hex value from some multi-color icons that were
added in #6694. Removing the hex will fix broken icons like this:
<img width="270" height="284" alt="image"
src="https://github.com/user-attachments/assets/8603ce89-b47d-4b4b-a809-5d67b7b30c6a"
/>
<img width="229" height="262" alt="image"
src="https://github.com/user-attachments/assets/c38a8bce-57c5-4607-ac7b-47c677ea3871"
/>
<img width="334" height="293" alt="image"
src="https://github.com/user-attachments/assets/fe1f95e5-66b6-49ce-9458-5fe17c98e0fa"
/>
<img width="302" height="269" alt="image"
src="https://github.com/user-attachments/assets/4c7f59d8-534a-47e2-95bc-b6f70a1f2921"
/>
2025-08-12 08:52:59 +05:30
Sven
22c60fb83e Remove hex from multi-color icons 2025-08-11 19:12:32 +02:00
Aman Raj Singh Mourya
740ba4a9bf [auth] Add allegro icon (#6814)
## Description
Added 1 new custom SVG icon:

- **allegro.svg**

-## Tests
2025-08-11 18:29:47 +05:30
Aman Raj Singh Mourya
229bfdc7ec Fix formatting 2025-08-11 18:28:20 +05:30
Neeraj
93b1af6ec0 [mob] FIx change log parsing (#6817)
## Description

## Tests
2025-08-11 17:37:01 +05:30
laurenspriem
dbf6f6aa37 Proper rust init in MLComputer isolate 2025-08-11 17:24:36 +05:30
Neeraj Gupta
e8dde48688 Update workflow 2025-08-11 17:13:24 +05:30
Neeraj
d9145353b2 [mob] Modify daily build workflow (#6816)
## Description

## Tests
2025-08-11 17:04:39 +05:30
Neeraj Gupta
49c966f50c [mob] Modify daily build workflow 2025-08-11 17:03:58 +05:30
Neeraj
0ad83a3924 [mob] Add daily release workflow for photos (#6815)
## Description

## Tests
2025-08-11 16:33:02 +05:30
Neeraj Gupta
187a60ec3a Add daily release workflow for photos 2025-08-11 16:32:01 +05:30
Kremiorspokke
cabae4cca0 Update custom-icons.json 2025-08-11 12:32:39 +02:00
Kremiorspokke
cdfb9a7d0e Merge pull request #1 from Kremiorspokke/Kremiorspokke-patch-1
Add 1 new icon
2025-08-11 12:30:55 +02:00
Kremiorspokke
4860236f66 Add 1 new icon
Add polish e-commerce platfrom icon allegro
2025-08-11 12:22:41 +02:00
laurenspriem
ad90d2e37a Fix delete group bug 2025-08-11 15:43:30 +05:30
AmanRajSinghMourya
903762f283 fix: set initial color for painting editor 2025-08-11 15:34:02 +05:30
laurenspriem
6223a1529f bulk vector search in MLComputer isolate 2025-08-11 14:11:00 +05:30
Neeraj
143d758b5b [auth] Fix "Copied to Clipboard" text behind clipboard (#6791)
## Description
This fixes https://github.com/ente-io/ente/issues/324
2025-08-11 13:39:08 +05:30
AmanRajSinghMourya
1d25f23053 fix: update haptic feedback when reached zero 2025-08-11 12:56:59 +05:30
Neeraj
67d661eeb6 [auth] New translations (#6809)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-08-11 12:25:08 +05:30
Neeraj Gupta
fe86363b1f Bump version 2025-08-11 12:22:38 +05:30
Neeraj Gupta
15967713a0 Merge branch 'flutter-upgrade' of https://github.com/ente-io/auth into flutter-upgrade 2025-08-11 12:22:21 +05:30
Neeraj Gupta
2dafd62e14 Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-08-11 12:22:00 +05:30
Neeraj
46865eff26 [mob] Gracefully handle decompress image exception (#6811)
## Description
On Android 16 with flutter upgrade, we are seeing `Could not decompress
image.` error for heic images taken from Iphone 16.
Instead of showing broken image, rendering the compressed version of the
image on UI.

Also, increased the minWidth/minWidth from default 1920/1080 to 8000/800

Refer:
https://pub.dev/packages/flutter_image_compress#minwidth-and-minheight
> If your image width is smaller than minWidth or height smaller than
minHeight, scale will be 1, that is, the size will not change.

```
E/FlutterJNI( 7914): Failed to decode image
E/FlutterJNI( 7914): java.io.IOException: getPixels failed with error invalid input
E/FlutterJNI( 7914):     at android.graphics.ImageDecoder.nDecodeBitmap(Native Method)
E/FlutterJNI( 7914):     at android.graphics.ImageDecoder.decodeBitmapInternal(ImageDecoder.java:1676)
E/FlutterJNI( 7914):     at android.graphics.ImageDecoder.decodeBitmapImpl(ImageDecoder.java:1865)
E/FlutterJNI( 7914):     at android.graphics.ImageDecoder.decodeBitmap(ImageDecoder.java:1850)
E/FlutterJNI( 7914):     at io.flutter.embedding.engine.FlutterJNI.decodeImage(FlutterJNI.java:571)
```

## Tests

Tested locally on Simulator with sample image.
2025-08-11 11:56:07 +05:30
Neeraj Gupta
36d45c7774 Change min Width/Height value during compress 2025-08-11 11:32:34 +05:30
Neeraj Gupta
fc0b86ffe6 Gracefully handle image decompress error 2025-08-11 11:32:07 +05:30
laurenspriem
1c75259e8f Merge branch 'isolate_issue' into flutter-upgrade 2025-08-11 11:28:53 +05:30
laurenspriem
67e493b27f use different deprecated method replacement 2025-08-11 11:00:17 +05:30
AmanRajSinghMourya
a74908214d Update password entry page to use a fixed color for valid field value 2025-08-11 10:38:44 +05:30
Crowdin Bot
6ac19de2af New Crowdin translations by GitHub Action 2025-08-11 01:18:24 +00:00
Crowdin Bot
a4e8a70c31 New Crowdin translations by GitHub Action 2025-08-11 01:05:16 +00:00
Crowdin Bot
4875ddf30c New Crowdin translations by GitHub Action 2025-08-11 00:44:23 +00:00
AmanRajSinghMourya
72f9d9e756 refactor: fix bottom navigation bar colors 2025-08-09 23:34:15 +05:30
AmanRajSinghMourya
e32698e4be update editor background color across image and video editor components 2025-08-09 23:33:36 +05:30
AmanRajSinghMourya
0b73388b0b fix search view background color 2025-08-09 11:35:00 +05:30
Neeraj
8fa63ba9fb [server] Fix typo in file link grouping (#6798) 2025-08-09 10:42:19 +05:30
Neeraj
15175a261a [mobile/photos] New translations (#6743)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-08-09 09:01:50 +05:30
Neeraj Gupta
b0eb362037 Fix typo in file link grouping 2025-08-09 06:19:54 +05:30
AmanRajSinghMourya
6bd5327d50 refactor: show black color as default background color in hideAppContent 2025-08-08 20:00:14 +05:30
Aman Raj Singh Mourya
8c2cb6dcad [auth] add AvistaZ network icons (#6789)
## Description
Add custom icons for AvistaZ.to network (Private Torrent tracker).
Including:
- [AvistaZ](https://avistaz.to/)
- [AnimeZ](https://animez.to/)
- [CinemaZ](https://cinemaz.to/)
- [ExoticaZ](https://exoticaz.to/)
- [PrivateHD](https://privatehd.to/)
## Tests
2025-08-08 17:33:28 +05:30
Aman Raj Singh Mourya
692f77c9bc [auth] add icon for capcom (#6790)
- added an icon for capcom
- added a json entry for capcom
2025-08-08 17:32:25 +05:30
Neeraj Gupta
7996ab4a3e Minor fixes 2025-08-08 16:36:50 +05:30
eYdr1en
d4bfbbf04c fix comments 2025-08-08 12:40:51 +02:00
eYdr1en
92a03ce585 [auth] fix Copied to Clipboard text behind clipboard 2025-08-08 12:37:15 +02:00
Neeraj Gupta
1c37332f37 Endpoint to check domain claim 2025-08-08 15:40:05 +05:30
Neeraj Gupta
23103c3bcc Handle claimed domain error 2025-08-08 15:31:14 +05:30
Neeraj Gupta
920702c5dd Add validation 2025-08-08 15:31:02 +05:30
Neeraj Gupta
3167d85f06 Add index for customDomain 2025-08-08 15:25:04 +05:30
Brook
dd2a5d6191 [auth] add icon for capcom 2025-08-08 11:37:06 +03:00
Neeraj Gupta
bc1ae62477 Ability to configure cname 2025-08-08 14:06:26 +05:30
Neeraj Gupta
1af834aa7a Remove unused field 2025-08-08 14:02:36 +05:30
Hieu Pham
e66045dc74 [auth] add AvistaZ network icons
Add custom icons for AvistaZ.to network (Private Torrent tracker)
2025-08-08 15:08:08 +07:00
Prateek Sunal
69f6fdc9c7 Merge branch 'main' into flutter-upgrade 2025-08-08 13:25:52 +05:30
Prateek Sunal
1327a1f8cf chore: bump version 2025-08-08 13:24:50 +05:30
Prateek Sunal
52d2577236 chore: bump version 2025-08-08 13:23:19 +05:30
Neeraj Gupta
f2dc157e8a Support for customDomain flag 2025-08-08 13:10:57 +05:30
AmanRajSinghMourya
94e398dc89 Bump version 4.4.6+446 2025-08-08 12:40:30 +05:30
AmanRajSinghMourya
a5a19581fc Revert "Bump version to 4.4.6+445"
This reverts commit ea409fc266.
2025-08-08 12:39:12 +05:30
AmanRajSinghMourya
ea409fc266 Bump version to 4.4.6+445 2025-08-08 12:16:47 +05:30
Aman Raj Singh Mourya
0e9d7106f7 [mobile] Fix packages to support Auth theme (#6788) 2025-08-08 12:14:08 +05:30
AmanRajSinghMourya
6fe89fdc0e Add theme configuration and update color scheme in recovery key and lock screen pages 2025-08-08 12:05:08 +05:30
Neeraj
d9e860466c [auth] Auto hide dock icon macos (#6772)
## Description
After closing app or hidding the window on macos the dock icon still
appears even when the app is in tray which shouldn't happen this fixes
it
2025-08-07 20:54:30 +05:30
AmanRajSinghMourya
193e1374e1 Refactor GradientButton to use ClipRRect 2025-08-07 20:01:12 +05:30
AmanRajSinghMourya
e11a6ace80 Refactor theme usage in dynamic FAB and dialog widget; improve imports and color scheme references 2025-08-07 19:40:39 +05:30
AmanRajSinghMourya
9033bd8cec Fix formatting in custom-icons.json 2025-08-07 19:40:07 +05:30
AmanRajSinghMourya
085551b5a7 Add ente_strings package and update localization delegates 2025-08-07 19:39:58 +05:30
Manav Rathi
1633c478e3 [photos] [web] Handle XMP files interspersed with live photos (#6778) 2025-08-07 15:55:09 +05:30
Manav Rathi
5eb7cadc4d Fix multi-file scenarios 2025-08-07 15:49:50 +05:30
Manav Rathi
af5de77880 [photos] [web] Handle XMP files interspersed with live photos 2025-08-07 15:30:32 +05:30
Neeraj
58279b668b [mob][photos] Reduce logs on startup (#6775)
## Description

## Tests
2025-08-07 14:08:28 +05:30
Ashil
7537614fc2 [mob][photos] More gallery scroll improvements (#6776) 2025-08-07 14:00:10 +05:30
Ashil
0db2385dbd Merge branch 'main' into gallery_scroll_improvement 2025-08-07 13:59:59 +05:30
Neeraj
fbb5397217 [auth] Add monochrome icon style for macos tray (#6771)
## Description
This fixes this issue https://github.com/ente-io/ente/issues/5173
2025-08-07 13:34:38 +05:30
ashilkn
f4605f86a4 Bump up build number 2025-08-07 13:18:27 +05:30
ashilkn
1f1cad181f Reduce galleryThumbnailDiskLoadDeferDuration 2025-08-07 13:14:21 +05:30
laurenspriem
cf81d58604 Prettify 2025-08-07 13:13:58 +05:30
laurenspriem
2560e5934f Delete method 2025-08-07 13:07:16 +05:30
Aman Raj Singh Mourya
7942c4d642 Added logos for meesman.nl, isc2.org, scouting.nl, zivver.com (#6770)
Fixed linting error in custom_icons.json (line 1733, superfluous comma)
and added the aforementioned logos.
2025-08-07 12:15:17 +05:30
Aman Raj Singh Mourya
625410852b [auth] add icon for Dresden University of Technology (#6774)
## Description

Add custom SVG icon for Dresden University of Technology.

Icon optimized with SVGOMG.
2025-08-07 12:10:54 +05:30
Neeraj Gupta
970ca59077 Clean up localSettings log 2025-08-07 11:13:18 +05:30
laurenspriem
2a407b5928 track fileIDs, not size for similar files group 2025-08-07 11:12:47 +05:30
Neeraj Gupta
3ee021c9de Reduce heartbeat logs 2025-08-07 11:08:58 +05:30
ashilkn
0f8a8a7579 Perf: Skip recreation/modification of ImageProvider of Image used in thumbnail 2025-08-07 11:02:18 +05:30
ashilkn
33703072eb remove todo 2025-08-07 10:56:32 +05:30
laurenspriem
019141ef3b animation 2025-08-07 10:34:53 +05:30
laurenspriem
44e9103942 bottom buttons 2025-08-07 10:29:14 +05:30
Muhammad Talal Anwar
83395641ef chore: add TU Dresden icon 2025-08-07 04:49:40 +00:00
Ashil
8cbdd4cc98 Gallery perf tweaks (#6754) 2025-08-07 10:00:10 +05:30
laurenspriem
a9e31aec8f Show more accurate size 2025-08-06 22:21:30 +05:30
laurenspriem
901e1a73dc auto select files 2025-08-06 22:13:59 +05:30
Prateek Sunal
6c614f2649 fix: re-add pro_image_editor 2025-08-06 22:11:39 +05:30
laurenspriem
184ea915fc Make files selectable 2025-08-06 21:51:05 +05:30
laurenspriem
d58f96fb60 Change default sort to shortest distance 2025-08-06 21:30:08 +05:30
eYdr1en
df5a7d6c19 auto hide dock icon macos 2025-08-06 15:24:57 +02:00
eYdr1en
95347022e8 add isTemplate for correct macos look on wallpaper 2025-08-06 15:20:44 +02:00
eYdr1en
4f224e7eba add monochrome icon style for macos tray 2025-08-06 15:10:42 +02:00
Prateek Sunal
fc593e86ee chore: update locks 2025-08-06 17:38:15 +05:30
Prateek Sunal
5c489f3358 Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-08-06 17:37:16 +05:30
Prateek Sunal
899993a23b chore: bump everywhere 2025-08-06 17:07:07 +05:30
Prateek Sunal
6dd23fa5ff chore: bump things 2025-08-06 17:05:54 +05:30
AmanRajSinghMourya
210a0a45c1 Bump version to 4.4.5+445 2025-08-06 16:44:08 +05:30
AmanRajSinghMourya
ee035681ab Bump version to 4.4.3+444 2025-08-06 15:40:14 +05:30
laurenspriem
98598053c7 Proper text scheme 2025-08-06 15:04:48 +05:30
Ashil
1c2f8a74c4 Merge branch 'main' into gallery_perf_tweks 2025-08-06 14:46:33 +05:30
ashilkn
d86f9d2ffa refactor 2025-08-06 14:45:03 +05:30
AmanRajSinghMourya
cc2d65d796 Fix string 2025-08-06 14:35:25 +05:30
AmanRajSinghMourya
0e61b3dfd4 Minor changes in packages's pubspec to match dependencies 2025-08-06 14:35:03 +05:30
AmanRajSinghMourya
0a3035e5d5 Update Android build configuration: enable core library desugaring, increase minSdkVersion to 22, and upgrade Gradle version to 8.4. Add ProGuard rules to suppress warnings. 2025-08-06 14:33:19 +05:30
laurenspriem
8046c6837c Better spacing 2025-08-06 14:07:09 +05:30
laurenspriem
30641a2df6 Empty delete button 2025-08-06 14:01:49 +05:30
laurenspriem
c82cd54b7b Figma design 2025-08-06 12:52:03 +05:30
AmanRajSinghMourya
7adb1c0a6c Minor fix 2025-08-06 12:07:21 +05:30
AmanRajSinghMourya
cb55be1e5c Fix android build 2025-08-06 11:38:10 +05:30
AmanRajSinghMourya
d7a7144b33 Fix android build 2025-08-06 11:38:04 +05:30
AmanRajSinghMourya
e6a867a859 Cleanup 2025-08-06 11:37:04 +05:30
AmanRajSinghMourya
a9c8e4476f Remove old password reentry, recovery key, recovery, and password verification pages; refactor imports and update references in settings and home page. 2025-08-06 11:36:51 +05:30
AmanRajSinghMourya
f914263b2f Remove old password reentry, recovery key, recovery, and password verification pages; refactor imports and update references in settings and home page. 2025-08-06 11:36:46 +05:30
AmanRajSinghMourya
6f94d91afb More code refractor in auth/accounts section 2025-08-06 11:36:26 +05:30
AmanRajSinghMourya
57569e79fe Add ente_ui dependency to pubspec.yaml and update its lock status in pubspec.lock 2025-08-06 11:35:49 +05:30
AmanRajSinghMourya
b695db80ab Refactor HomePage to extend BaseHomePage for improved structure 2025-08-06 11:35:32 +05:30
AmanRajSinghMourya
ae1a43b8bf Refractor accounts section to use common code from packages/accounts 2025-08-06 11:35:13 +05:30
AmanRajSinghMourya
d9d9acfa3e Refractor accounts section to use common code from packages/accounts 2025-08-06 11:35:06 +05:30
AmanRajSinghMourya
d430936ae8 Refractor accounts section to use common code from packages/accounts 2025-08-06 11:34:44 +05:30
AmanRajSinghMourya
b02acc579f Update ente_accounts dependency 2025-08-06 11:33:58 +05:30
AmanRajSinghMourya
e87be4b9af Update flutter_inappwebview dependencies 2025-08-06 11:33:36 +05:30
AmanRajSinghMourya
399148aa59 Introduced lock screen package from packages/lockscreen 2025-08-06 11:33:23 +05:30
AmanRajSinghMourya
abd733934b Introduced lock screen package from packages/lockscreen 2025-08-06 11:33:13 +05:30
vishnukvmd
661e1f92d5 Add developer settings page 2025-08-06 11:31:56 +05:30
vishnukvmd
97b36681dc Consistency 2025-08-06 11:31:23 +05:30
vishnukvmd
5dd5756a41 Lint utils 2025-08-06 11:29:02 +05:30
vishnukvmd
d2cfa374bd Lint utils 2025-08-06 11:28:54 +05:30
vishnukvmd
fb64c8aa4c Lint ui 2025-08-06 11:28:43 +05:30
vishnukvmd
86b54e2241 Lint strings 2025-08-06 11:28:27 +05:30
vishnukvmd
c33396ea60 Lint network 2025-08-06 11:28:11 +05:30
vishnukvmd
24f48b5054 Lint logging 2025-08-06 11:27:56 +05:30
vishnukvmd
094c92c8b6 Lint lock_screen 2025-08-06 11:27:41 +05:30
vishnukvmd
c2922a0cb2 Lint lock_screen 2025-08-06 11:27:36 +05:30
vishnukvmd
9a357a716d Lint events 2025-08-06 11:27:21 +05:30
vishnukvmd
5574fd748e Lint configuration 2025-08-06 11:27:06 +05:30
vishnukvmd
f2be25667f Lint base 2025-08-06 11:26:48 +05:30
vishnukvmd
053d0cfcaa Fix minor lint 2025-08-06 11:26:27 +05:30
vishnukvmd
0ff8184f47 Lint accounts 2025-08-06 11:26:11 +05:30
vishnukvmd
f971835ae7 Remove noise 2025-08-06 11:25:56 +05:30
vishnukvmd
694e3ca121 Remove changelog 2025-08-06 11:25:42 +05:30
vishnukvmd
be850c27c6 Fix dependency 2025-08-06 11:25:08 +05:30
vishnukvmd
3aaf11ba1d Setup common accounts package 2025-08-06 11:24:46 +05:30
vishnukvmd
3019d858c9 Setup common accounts package 2025-08-06 11:24:35 +05:30
vishnukvmd
81e926ef2d Setup common accounts package 2025-08-06 11:17:59 +05:30
vishnukvmd
016d646971 Update common ui 2025-08-06 11:14:26 +05:30
vishnukvmd
1f100566ad Update common lockscreen 2025-08-06 11:13:56 +05:30
vishnukvmd
d69595e744 Setup common lockscreen 2025-08-06 11:13:25 +05:30
vishnukvmd
7a91e714fe Setup common lockscreen 2025-08-06 11:13:13 +05:30
vishnukvmd
e352de8b9c Update strings 2025-08-06 11:11:18 +05:30
vishnukvmd
e36831b599 Update strings 2025-08-06 11:11:09 +05:30
vishnukvmd
df74c7d54d Update strings 2025-08-06 11:10:50 +05:30
Manav Rathi
ffdc21d15c [rust] Make CI fail on warnings (#6763)
https://doc.rust-lang.org/stable/clippy/continuous_integration/github_actions.html
2025-08-06 10:55:37 +05:30
vishnukvmd
d7986b5c7c Update utils 2025-08-05 23:58:46 +05:30
vishnukvmd
3e888876d1 Update utils 2025-08-05 23:58:41 +05:30
vishnukvmd
6af494206e Add developer settings page 2025-08-05 23:57:41 +05:30
vishnukvmd
93f32de8c1 Update strings 2025-08-05 23:57:27 +05:30
vishnukvmd
e0b3e6464e Update strings 2025-08-05 23:57:20 +05:30
vishnukvmd
c67d2f0836 Consistency 2025-08-05 23:56:50 +05:30
vishnukvmd
49106a3dd9 Pull existing translations 2025-08-05 23:56:39 +05:30
vishnukvmd
b61c75dc84 Lint utils 2025-08-05 23:56:28 +05:30
vishnukvmd
465fc7c7d3 Lint ui 2025-08-05 23:56:13 +05:30
vishnukvmd
487e4ef559 Lint strings 2025-08-05 23:56:03 +05:30
vishnukvmd
34bf4f6bba Lint network 2025-08-05 23:55:51 +05:30
vishnukvmd
af36978ede Lint logging 2025-08-05 23:55:41 +05:30
vishnukvmd
a375dfdc2e Lint lock_screen 2025-08-05 23:55:28 +05:30
vishnukvmd
a5b0e66e9d Lint lock_screen 2025-08-05 23:55:23 +05:30
vishnukvmd
2b3b7a5e2a Lint events 2025-08-05 23:54:44 +05:30
vishnukvmd
b1dc9272a0 Lint configuration 2025-08-05 23:54:30 +05:30
vishnukvmd
7c33c160b2 Lint base 2025-08-05 23:54:15 +05:30
vishnukvmd
be232efbc6 Fix minor lint 2025-08-05 23:53:59 +05:30
vishnukvmd
bbac09b4a6 Lint accounts 2025-08-05 23:53:41 +05:30
vishnukvmd
a4626ae7a1 Remove noise 2025-08-05 23:53:27 +05:30
vishnukvmd
e8551df8b9 Remove changelog 2025-08-05 23:53:10 +05:30
vishnukvmd
77cb40aef4 Update strings 2025-08-05 23:52:50 +05:30
vishnukvmd
827090fb24 Fix dependency 2025-08-05 23:52:31 +05:30
vishnukvmd
39b9670fcc Setup common accounts package 2025-08-05 23:52:11 +05:30
vishnukvmd
d227a2bf20 Setup common accounts package 2025-08-05 23:52:03 +05:30
vishnukvmd
0b766415a4 Setup common accounts package 2025-08-05 23:51:32 +05:30
vishnukvmd
3b727549d5 Update common ui 2025-08-05 23:49:03 +05:30
vishnukvmd
dbdf19ee8d Update common lockscreen 2025-08-05 23:48:45 +05:30
vishnukvmd
2e3d621077 Update strings 2025-08-05 23:44:26 +05:30
vishnukvmd
0455481f3d Lint lock_screen 2025-08-05 23:38:42 +05:30
vishnukvmd
c9a7918397 Lint events 2025-08-05 23:38:42 +05:30
vishnukvmd
957f0bc041 Lint configuration 2025-08-05 23:38:42 +05:30
vishnukvmd
24f5a5813a Lint base 2025-08-05 23:38:42 +05:30
vishnukvmd
860b2895f6 Fix minor lint 2025-08-05 23:38:42 +05:30
vishnukvmd
a510320d0e Lint accounts 2025-08-05 23:38:42 +05:30
vishnukvmd
de04f18cb2 Remove noise 2025-08-05 23:38:42 +05:30
vishnukvmd
b84b73fda2 Remove changelog 2025-08-05 23:38:42 +05:30
vishnukvmd
12b0618149 Update strings 2025-08-05 23:38:42 +05:30
vishnukvmd
28a43393f9 Fix dependency 2025-08-05 23:38:42 +05:30
vishnukvmd
21b3bdf204 Setup common accounts package 2025-08-05 23:38:42 +05:30
vishnukvmd
3436fb7fb1 Update common ui 2025-08-05 23:38:42 +05:30
vishnukvmd
045b40b2b2 Update common lockscreen 2025-08-05 23:38:42 +05:30
vishnukvmd
c09922d1a3 Update strings 2025-08-05 23:38:42 +05:30
vishnukvmd
3e9032588e Setup common lockscreen 2025-08-05 23:34:58 +05:30
vishnukvmd
14e570b676 Update strings 2025-08-05 23:34:49 +05:30
vishnukvmd
a412aa4886 Update strings 2025-08-05 23:34:44 +05:30
vishnukvmd
a7a162d375 Update utils 2025-08-05 23:34:38 +05:30
vishnukvmd
b444bdc5ec Add re-usable base home page 2025-08-05 23:34:33 +05:30
vishnukvmd
f9299e7950 Reduce noise 2025-08-05 23:34:27 +05:30
vishnukvmd
8a9f73ada5 Refactor utils 2025-08-05 23:34:10 +05:30
vishnukvmd
d5c1970ca2 Update common ui 2025-08-05 23:34:01 +05:30
vishnukvmd
f8aff3e12b Update common strings 2025-08-05 23:33:52 +05:30
vishnukvmd
490759243b Setup common UI components 2025-08-05 23:33:46 +05:30
vishnukvmd
e8a9e509a8 Update common strings 2025-08-05 23:33:39 +05:30
vishnukvmd
c392ad5dcb Update utils 2025-08-05 23:33:23 +05:30
vishnukvmd
9bb084d610 Add typedefs to base 2025-08-05 23:33:13 +05:30
vishnukvmd
00b05e2d7c Update common utils 2025-08-05 23:33:00 +05:30
vishnukvmd
93736fe57a Update common strings 2025-08-05 23:32:46 +05:30
vishnukvmd
995ae50418 Refactor common utils 2025-08-05 23:32:24 +05:30
vishnukvmd
42e6dff0f5 Remove redundant test 2025-08-05 23:32:17 +05:30
vishnukvmd
150513d3e5 Refactor common strings 2025-08-05 23:32:04 +05:30
vishnukvmd
13ed1e76bc Use common network package 2025-08-05 23:31:55 +05:30
vishnukvmd
a7d0e2eef5 Refactor network 2025-08-05 23:31:36 +05:30
vishnukvmd
134314c285 Common config 2025-08-05 23:30:56 +05:30
vishnukvmd
eb3e3db8e6 Base config 2025-08-05 23:30:33 +05:30
vishnukvmd
3b9b886ae9 Refactor 2025-08-05 23:30:20 +05:30
vishnukvmd
d88df36c3d Packages 2025-08-05 23:30:06 +05:30
vishnukvmd
62d7311780 ignore surprises 2025-08-05 23:29:42 +05:30
vishnukvmd
9d76ccc173 init config 2025-08-05 23:27:17 +05:30
peterv99
abe5548202 Added logos for meesman.nl, isc2.org, scouting.nl, zivver.com
Fixed linting error in custom_icons.json (line 1733, superfluous comma) and added the aforementioned logos.
2025-08-05 19:52:36 +02:00
ashilkn
769adb75c5 Different cache extents for different photoGridSizes 2025-08-05 20:31:10 +05:30
ashilkn
1648f62da6 Add repaint boundary over each gird item in gallery 2025-08-05 16:49:48 +05:30
Manav Rathi
97d66a3afa [rust] Make CI fail on warnings
https://doc.rust-lang.org/stable/clippy/continuous_integration/github_actions.html
2025-08-05 14:39:01 +05:30
laurenspriem
e8f7f9ad62 Grid of three 2025-08-05 13:31:33 +05:30
Aman Raj Singh Mourya
99556dbbcd [auth] Fixed CONTRIBUTING.md broken link and added new icons (#6749)
## Description

Fixed the broken link to custom-icons.md in CONTRIBUTING.md.

Also added new icons for Twitter (before rebrand), Animal Crossing, Best
Buy, Chucklefish, Toyhouse, and Art Fight.

I realized right after uploading a Best Buy icon that the Best Buy icon
already exists in the custom icon repositories. It doesn't show up when
I search for it in the Ente app (iOS), though, and I checked and there
are no updates for my app. I guess it wasn't pushed to the mobile app
yet?

My icon is called `best_buy.svg`. The one that was already there is
`bestbuy.svg`. Should I remove mine?

Thanks in advance!
2025-08-05 12:10:12 +05:30
laurenspriem
a3330705b3 Fix deprecated method 2025-08-05 12:05:00 +05:30
laurenspriem
d8b40c1a55 Exact search off by default 2025-08-05 11:59:22 +05:30
laurenspriem
b5113dd420 Add option for exact search of similar files 2025-08-05 11:52:03 +05:30
Neeraj
d7fdca78f7 Update pubspec.yaml 2025-08-05 10:20:49 +05:30
Neeraj
f7858a96ed [mob][photos] Log info about lock (#6745)
## Description

## Tests
2025-08-05 10:18:23 +05:30
ashilkn
63f24966ce Incrase cacheExtent of gallery 2025-08-05 06:53:54 +05:30
NylaTheWolf
047c2954f8 Actually fix broken link in CONTRIBUTING.md
It's easier to just put everything in one pull request.

The link to the adding-icons.md file was broken, so I fixed it.
2025-08-04 17:25:11 -04:00
NylaTheWolf
11786057e2 Moving broken link fix to another pull request 2025-08-04 17:10:34 -04:00
NylaTheWolf
12648ce726 Update custom-icons.json 2025-08-04 17:00:23 -04:00
NylaTheWolf
782618d26f Merge pull request #1 from NylaTheWolf/patch-1
Fix broken link to adding-icons.md in CONTRIBUTING.md
2025-08-04 16:34:50 -04:00
NylaTheWolf
824b071af4 Added more icons
Icons for Twitter (before rebrand), Art Fight, Toyhouse, Animal Crossing, Best Buy, and Chucklefish.
I wasn't able to find an official SVG of Toyhouse's icon or get it through inspect element, but I got it from here: https://logos.fandom.com/wiki/Toyhouse

Animal Crossing Leaf: Nintendo, Public domain, via Wikimedia Commons

Original Twitter logo: Martin Grasser, per source, Apache License 2.0 <http://www.apache.org/licenses/LICENSE-2.0>, via Wikimedia Commons

Best Buy: Best Buy, Public domain, via Wikimedia Commons

Chucklefish: https://en.wikipedia.org/wiki/File:Chucklefish.svg (Warns that this is not a free logo)
2025-08-04 16:28:45 -04:00
NylaTheWolf
f1f84af3a7 Add Smogon to custom-icons.json 2025-08-04 15:40:27 -04:00
NylaTheWolf
8d484528e7 Delete mobile/apps/auth/assets/custom-icons/icons/Smogon.svg 2025-08-04 15:32:50 -04:00
NylaTheWolf
e95aa55339 Added Smogon icon (filename fixed)
The previous file name was "Smogon.svg." This time it's all lowercase.
2025-08-04 15:32:06 -04:00
NylaTheWolf
0d139df652 Added Smogon icon 2025-08-04 15:30:14 -04:00
NylaTheWolf
568c5393a8 Fix broken link to adding-icons.md in CONTRIBUTING.md
The link to the adding-icons.md file was broken, so I fixed it.
2025-08-04 15:25:36 -04:00
Neeraj
8d8ce6487f [Server] Single file link (#6566)
## Description
Adds 4 authenticate API for
- Creating link for individual file
- Update Link
- Delete Link
- Fetch all links (based on header, the server will return particular
app's link)

For link preview
- API to get Info (pending discussion)
- API to get file attributes (pending discussion)
- APIs to get thumbnail and file
- API to verify password


Pending
- [x] Clean up on account deletion
- [x] Clean up on file deletion
- [x] Clean up history for disabled links

## Tests

Basic santiy check during client integration
2025-08-04 14:41:50 +05:30
laurenspriem
a41b7f5535 null check error 2025-08-04 14:24:36 +05:30
laurenspriem
8304bca71c empty list error 2025-08-04 14:19:04 +05:30
Neeraj Gupta
658ba49186 [mob][photos] Log info about lock 2025-08-04 12:42:27 +05:30
Crowdin Bot
fa230333a4 New Crowdin translations by GitHub Action 2025-08-04 01:06:03 +00:00
Aman Raj Singh Mourya
75bc07f08f updated ubiquiti auth custom icon (#6728)
## Description
Updated Ubiquiti icon to new design, fix #6726
2025-08-03 00:37:40 +05:30
Rafael Ieda
b7ff0ca985 updated ubiquiti auth custom icon 2025-08-02 10:27:27 -03:00
Manav Rathi
a9cba0c7a6 [mob] Update broken relative links (#6722)
## Description
Update broken links in photos from the `Move auth/ to mobile/apps/auth`
in 99d7685be2

Updated the auth's contributing link to be consistent with the photos

## Tests
🔗
2025-08-02 11:30:43 +05:30
ian
a4b938b5d5 Update README.md 2025-08-02 00:07:37 +08:00
ian
0174d82829 Update README.md 2025-08-02 00:02:32 +08:00
laurenspriem
6dfcc58144 Add exact search to vectorDB 2025-08-01 16:55:02 +02:00
laurenspriem
9528b4ce8d Fix showing the same file twice 2025-08-01 16:21:43 +02:00
laurenspriem
73928092c4 Sort distance descending 2025-08-01 13:03:13 +02:00
laurenspriem
79d3c7f9a2 Merge conflict left 2025-08-01 12:40:15 +02:00
laurenspriem
108d9f84fc Merge branch 'main' into smart_dedupe 2025-08-01 12:39:54 +02:00
laurenspriem
0854fc3493 Merge branch 'main' into memories_misc_improv 2025-08-01 12:01:30 +02:00
Ashil
101458e5cd [mobile] Extract strings + Cleanup Image editor (#6716)
## Description
Removed old image editor package and related file
Extracted strings for image editor
## Tests
2025-08-01 12:37:34 +05:30
AmanRajSinghMourya
6fbea6232e Merge branch 'main' into extract_strings 2025-08-01 12:25:11 +05:30
AmanRajSinghMourya
ecf236ad54 Add localization strings for editing tools and remove filtered_image.dart 2025-08-01 12:21:08 +05:30
AmanRajSinghMourya
3c8d8067c1 Remove image_editor dependency from pubspec.yaml and pubspec.lock 2025-08-01 12:19:46 +05:30
AmanRajSinghMourya
7cd95e6369 Minor refractor 2025-08-01 12:19:14 +05:30
AmanRajSinghMourya
1487362366 Remove old image editor 2025-08-01 12:18:56 +05:30
Neeraj
54911cce15 [mob][photos] Upgrade media_kit (#6715)
## Description
```
flutter pub upgrade media_kit media_kit_libs_ios_video media_kit_libs_video media_kit_video
```
## Tests
```
flutter run
```
2025-08-01 10:46:34 +05:30
Neeraj Gupta
5a9684f251 [mob][photos] Upgrade motionphoto (iOS) pkg 2025-08-01 10:43:00 +05:30
Ashil
0f6ae20402 [mob][photos] Keep fullscreen between swipes (#6706)
## Description

Fixes #6667
2025-08-01 10:37:43 +05:30
Neeraj Gupta
2fe3c61621 [mob][photos] Upgrade media_kit 2025-08-01 10:34:53 +05:30
Ashil
e5afa0f88f [mob][photos] Bump up build number (#6711) 2025-08-01 09:28:19 +05:30
ashilkn
783d70a8f1 bump up build number 2025-07-31 22:38:04 +05:30
ashilkn
1c14896fd6 bump up build number 2025-07-31 22:36:49 +05:30
Ashil
640f8c6867 [mobile][photos] Fix Add to Album in search section (#6675)
## Description
When creating a new album from the search tab, the album is created and
then it pop back to the search screen after sometime.

#### Before

https://github.com/user-attachments/assets/7e172227-5a35-4d7c-b0f3-e6afd46441ed

#### After


https://github.com/user-attachments/assets/c94eaac4-c51c-4dd3-a573-a8fd17221fec


## Tests
2025-07-31 22:30:58 +05:30
laurenspriem
86967175f7 Better values 2025-07-31 16:58:26 +02:00
laurenspriem
a6b29525d2 Better frequency for people type 2025-07-31 16:51:49 +02:00
laurenspriem
d6c3cf3b8f Better frequency for people memories 2025-07-31 15:40:04 +02:00
Prateek Sunal
7beba5fb99 [mob][photos] add more logs for smart albums (#6708)
## Description

- This PR adds more logs for smart albums.

- Removes support of favorites and uncategorized for smart albums.

- Don't delete entry for smartConfig if collection is still present.

## Tests
2025-07-31 19:00:11 +05:30
Prateek Sunal
b4ebc8482f fix: remove support for favorites and uncateogrized albums 2025-07-31 17:55:04 +05:30
Prateek Sunal
9b42f06152 fix: change log level to info for syncing smart albums 2025-07-31 17:53:01 +05:30
Prateek Sunal
574cfd5165 fix: improve error logging in smart album config saving 2025-07-31 17:52:16 +05:30
Prateek Sunal
19e353453b fix: don't delete entity if collection null 2025-07-31 17:41:36 +05:30
Prateek Sunal
927e1fef80 fix: only delete if collection is deleted or null 2025-07-31 17:40:55 +05:30
Prateek Sunal
767703c383 chore: more sync logs 2025-07-31 16:42:05 +05:30
Prateek Sunal
fa47f34e74 fix: add logs 2025-07-31 16:39:50 +05:30
Manav Rathi
545b8d21bd [rust] Setup PR checks (#6707) 2025-07-31 15:59:11 +05:30
ashilkn
557563e1b7 Keep InheritedDetailPageState and DetailPage's body in different widgets to avoid InheritedDetailPageState from getting reinitialized and losing it's state when body of DetailPage rebuilds 2025-07-31 15:48:50 +05:30
Manav Rathi
bd9dd0a839 [rust] Setup PR checks 2025-07-31 15:41:04 +05:30
AmanRajSinghMourya
8da1f638e1 extract string + code refractor 2025-07-31 15:15:51 +05:30
Manav Rathi
97b4b6080a Hello, Rust (#6703)
https://crates.io/crates/ente-rs
2025-07-31 12:27:59 +05:30
Manav Rathi
e2dd3b462f Hello, Rust 2025-07-31 12:09:30 +05:30
laurenspriem
ec502f3f4e Copy 2025-07-31 08:27:11 +02:00
Ashil
f060d10802 [mob][photos] Release 1.2.0 change log (#6691) 2025-07-31 09:56:40 +05:30
Ashil
bd2dff3a8a Merge branch 'main' into release_1.2.0 2025-07-31 09:56:24 +05:30
Prateek Sunal
fd0ee96808 [mob][photos] smart album (#6610)
## Description

Smart Album, without anything else.

### Auto-add people

Using this you can add person's automatically to the album you want.

## Tests

- [x] Files that are already hidden are not auto-added to the album
- [ ] Files that belong to some other users are not added to the album.
This will trigger a copy event, where file will be copied to user's
namespace.
2025-07-31 09:29:28 +05:30
Neeraj
f53a27a60d [auth] update relative links to assets (#6701)
## Description

PR to patch relative links to assets

## Current Error

<img width="1053" height="343" alt="image"
src="https://github.com/user-attachments/assets/48bd5a74-ba60-41dc-89fc-7d025ee9630a"
/>

## Patch

<img width="1086" height="491" alt="image"
src="https://github.com/user-attachments/assets/8244d220-b1f2-47c4-8963-3e5d996b7fbd"
/>
2025-07-31 09:26:06 +05:30
Daniel T
22e1b68ea8 docs: update relative links to assets 2025-07-30 18:02:56 -05:00
Prateek Sunal
92d6a6af8e chore: remove unused import of dart:ui 2025-07-31 02:33:31 +05:30
Prateek Sunal
7b528a7e20 fix: rename remoteId 2025-07-30 22:15:16 +05:30
Prateek Sunal
655336a92c fix: make it non-nullable 2025-07-30 22:14:45 +05:30
laurenspriem
a7a23e9e97 UI improvements 2025-07-30 16:05:27 +02:00
laurenspriem
492b959204 Lower default 2025-07-30 15:47:32 +02:00
Prateek Sunal
851ce8147c chore: update locals 2025-07-30 19:15:38 +05:30
Prateek Sunal
9d6c9b659c chore: switch back 2025-07-30 18:20:39 +05:30
Prateek Sunal
40d5b26301 chore: switch back 2025-07-30 18:20:22 +05:30
Prateek Sunal
a4d29adaf4 fix: don't go in other users owned files block when not trying to copy 2025-07-30 18:09:49 +05:30
Prateek Sunal
40f979ae2d fix: don't touch ml stuff 2025-07-30 17:58:59 +05:30
Prateek Sunal
9d2986157d Merge remote-tracking branch 'origin/main' into smart-album-nothingelse 2025-07-30 17:53:16 +05:30
Prateek Sunal
6ea6493cbc Merge remote-tracking branch 'origin/main' into smart-album-nothingelse 2025-07-30 17:51:04 +05:30
Laurens Priem
856ca0447e [mob][photos] Ignored person issues (#6677)
## Description

- Fixes ignored person showing up in suggestions
- Don't ask for contact linking for ignored persons
2025-07-30 14:17:55 +02:00
Ashil
4076d1d7af [mobile][photos] Advance image editor (#6618)
## Description
This PR integrates a fully-featured advanced image editor which supports
the following features

- Added image adjustment tools (e.g., brightness, contrast, saturation)
- Enabled text annotations on images
- Added freehand drawing support
- Included sticker placement functionality
2025-07-30 17:44:24 +05:30
laurenspriem
da53831cf1 Merge branch 'main' into hidden_issues 2025-07-30 14:11:11 +02:00
Laurens Priem
1ab9b38c79 [mob][photos] Missing cover fix (#6695)
## Description

Fixes issue in face thumbnail generation when the file is not present.

## Tests

Tested in debug mode on my pixel phone.
2025-07-30 13:40:02 +02:00
Ashil
af1fa494d8 [mob][photos] Gallery/Memories settings UI clean up (#6692) 2025-07-30 16:53:55 +05:30
laurenspriem
fe8fd519a9 Resolve potential outdated cache 2025-07-30 13:20:01 +02:00
laurenspriem
75ae1bf2e6 Fix sql error 2025-07-30 13:04:58 +02:00
Aman Raj Singh Mourya
401d5f44a1 [auth] add 22 custom icons (#6694) 2025-07-30 16:10:30 +05:30
Aman Raj Singh Mourya
13247b153c [auth] add Tally.so custom icon (#6689)
Add custom SVG icon for [Tally.so](https://tally.so/help/press-kit) in
accordance with their media kit to enhance branding.
Icon optimized with SVGOMG.
2025-07-30 16:06:43 +05:30
Aman Raj Singh Mourya
2a1620cb36 [auth] add Charles Schwab custom icon (#6690)
Add custom SVG icon for [Charles Schwab](https://www.schwab.com/) to
enhance branding.
Icon optimized with SVGOMG.
2025-07-30 16:05:57 +05:30
AmanRajSinghMourya
bc00276316 feat: add Glacier filter with matrix adjustments for saturation, contrast, hue, and temperature 2025-07-30 16:03:45 +05:30
AmanRajSinghMourya
9840d65f40 Merge branch 'advance_image_editor' of https://github.com/ente-io/ente into advance_image_editor 2025-07-30 15:26:24 +05:30
Vishnu Mohandas
fcf3cadb21 [docs] update troubleshooting for desktop and object storage (#6693)
## Description

This PR updates docs for network status reporting in Ente Desktop on
Linux and removes documentation for object storage configuration which
will only be available in latest server image to reduce confusion.
2025-07-30 15:18:01 +05:30
ashilkn
be5e1a9840 Update pubspec.lock 2025-07-30 14:49:57 +05:30
AmanRajSinghMourya
d62f1d50ca fix: update filter names and orders in image editor 2025-07-30 14:41:03 +05:30
Anand Desai
bf90190b38 chore: missed onlinesbi alt name for SBI 2025-07-30 14:25:16 +05:30
Keerthana
19979b4f61 [docs] push photos faq to troubleshooting for incorrect network status reporting 2025-07-30 14:18:08 +05:30
Anand Desai
9df9830fd0 chore: missed capitalization in DeepSeek 2025-07-30 14:17:14 +05:30
Keerthana
1148e524f0 [docs] update FAQ for desktop and object storage 2025-07-30 14:14:38 +05:30
Anand Desai
516396fb85 chore: add 22 custom icons 2025-07-30 14:12:04 +05:30
ashilkn
2c842c9c65 Gallery settings & memory setting fixes 2025-07-30 13:34:05 +05:30
ashilkn
fe7ba3895d Remove unused file 2025-07-30 13:25:03 +05:30
ashilkn
fe7486ea68 Update currentChangeLogVersion 2025-07-30 13:12:53 +05:30
ashilkn
198cd89eb1 Update change log + add translations 2025-07-30 13:12:05 +05:30
Anand Desai
ae2145f51f chore: add Charles Schwab custom icon 2025-07-30 12:07:53 +05:30
Anand Desai
41143cb20a chore: add tally.so custom icon 2025-07-30 11:58:29 +05:30
ashilkn
3ee300a294 bump up to v1.2.0 2025-07-30 11:29:46 +05:30
Ashil
d077d5dcbb [mob][photos] Gallery improvements (#6688)
## Description
- Better scrolling performance
- Gallery grouping options (day, week, month & year)
- New scrollbar
- Pinned to top header for each group in gallery.
2025-07-30 11:25:09 +05:30
ashilkn
6e59c4e915 chore 2025-07-30 11:19:30 +05:30
ashilkn
21b930d617 Add attribution for aves 2025-07-30 10:54:23 +05:30
ashilkn
644fdd16f5 Chore 2025-07-30 10:54:06 +05:30
ashilkn
3ce835cf31 chore 2025-07-30 10:25:08 +05:30
ashilkn
1ab4cf5fd7 chore 2025-07-30 10:22:04 +05:30
ashilkn
c62a7c8265 chore 2025-07-30 10:18:06 +05:30
ashilkn
a3333e48f6 Rename file 2025-07-30 09:59:35 +05:30
Aman Raj Singh Mourya
669cecb4a0 [auth] add exaroton custom icon (#6682)
Add custom SVG icon for [exaroton ](https://exaroton.com) to enhance
branding.
Optimized icon with SVGOMG
2025-07-30 09:24:08 +05:30
Aman Raj Singh Mourya
0ea5783e23 [auth] add NumberBarn custom icon (#6683)
Add custom SVG icon for [NumberBarn](https://www.numberbarn.com/) to
enhance branding.
Icon optimized with SVGOMG.
2025-07-30 09:23:39 +05:30
Aman Raj Singh Mourya
7a6a5892b0 [auth] add United States Department of Homeland Security custom icon (#6684)
Add custom SVG icon for [U.S. DHS](https://www.dhs.gov/) to enhance
branding.
Icon optimized with SVGOMG. It is relatively large because it is
elaborate and complex compared to most other icons.
I tried my best to minimize and strip unnecessary metadata and paths.

United States Department of Homeland Security (DHS) also shares the same
icon and branding for `altNames` provided:

- [United States Citizenship and Immigration Services
(USCIS)](https://www.uscis.gov/)
- [United States Immigration and Customs Enforcement
(ICE)](https://www.ice.gov/)
- [United States Customs and Border Protection
(CBP)](https://www.cbp.gov/)

since they are all subsidiaries of the former department.
2025-07-30 09:23:20 +05:30
Aman Raj Singh Mourya
cf590e8e02 [auth] add Rose-Hulman Institute of Technology custom icon (#6685)
Add custom SVG icon for [Rose-Hulman Institute of
Technology](https://www.rose-hulman.edu/) to enhance branding.
Icon optimized with SVGOMG.
2025-07-30 09:23:06 +05:30
Anand Desai
709d4d121a fix: accidentally changed whitespace and formatting. oops 2025-07-30 01:56:42 +05:30
Anand Desai
556f933d19 fix: accidentally changed whitespace and formatting. oops 2025-07-30 01:55:25 +05:30
Anand Desai
90d307ab1c fix: accidentally changed whitespace and formatting. oops 2025-07-30 01:53:45 +05:30
Anand Desai
42f0ee26b6 fix: accidentally changed whitespace and formatted. oops 2025-07-30 01:51:05 +05:30
Anand Desai
5e367f9165 chore: reverted accidental whitespace deletion 2025-07-30 01:34:45 +05:30
Anand Desai
5d5cafad72 chore: add rose-hulman icon 2025-07-30 01:29:18 +05:30
Anand Desai
37707f9db3 chore: add US DHS icon 2025-07-30 01:25:03 +05:30
Anand Desai
da08e1cb09 chore: add numberbarn icon 2025-07-30 01:15:21 +05:30
Anand Desai
05f530283f Revert "chore: add NumberBarn icon"
This reverts commit 5b16dcdce4.
2025-07-30 00:24:55 +05:30
Anand Desai
5b16dcdce4 chore: add NumberBarn icon 2025-07-30 00:24:24 +05:30
Anand Desai
cdc2a1f63c chore: add exaroton icon 2025-07-30 00:19:54 +05:30
ashilkn
dccc880b68 Fix build error 2025-07-29 20:16:20 +05:30
ashilkn
aaa53d7dc4 Fix build error 2025-07-29 20:15:33 +05:30
Prateek Sunal
38008cb760 chore: update locks 2025-07-29 19:57:50 +05:30
Prateek Sunal
92590e51c2 feat: Auto add option in people selection page 2025-07-29 19:57:29 +05:30
ashilkn
438eb32872 Merge branch 'main' into advance_image_editor 2025-07-29 19:54:07 +05:30
AmanRajSinghMourya
02a09ea206 fix: remove unused google_fonts dependency and update related configurations 2025-07-29 19:32:25 +05:30
Prateek Sunal
435a803eab fix: refresh app bar on add files + delete config if no person selected 2025-07-29 17:43:26 +05:30
laurenspriem
973c1f872a strings 2025-07-29 13:19:16 +02:00
laurenspriem
e45db814fa Don't suggest for ignored persons in all people page 2025-07-29 13:04:07 +02:00
ashilkn
d0196a1813 Merge branch 'main' into gallery_rewrite 2025-07-29 16:13:11 +05:30
ashilkn
fcdbef557a Fix state issue with gallery layout selector 2025-07-29 16:11:23 +05:30
laurenspriem
e3b3cbc1b2 Don't ask to contact link hidden person 2025-07-29 12:33:47 +02:00
laurenspriem
e1d3e2dac4 Clarify hidden vs ignored flag 2025-07-29 12:22:35 +02:00
ashilkn
19b41d365e Use same scroll bar thumb color on gallery for iOS and Android 2025-07-29 15:44:55 +05:30
ashilkn
b5c47734da Fix depricated enum 2025-07-29 15:06:02 +05:30
Prateek Sunal
bf0e4cc8e0 fix: only run sync and show option if granted ml consent 2025-07-29 14:52:02 +05:30
Prateek Sunal
24e81f9dc0 fix: handle potential null collection in sync logic 2025-07-29 14:49:16 +05:30
AmanRajSinghMourya
ec0520bd2f fix: update text editor configuration to disable text editing 2025-07-29 14:44:22 +05:30
Laurens Priem
d4c3063ecf [mob][photos] Revert error on rotated image decoding for indexing (#6673)
## Description

Revert error on rotated image decoding for indexing
2025-07-29 10:33:14 +02:00
laurenspriem
c8e84c9af3 More neutral log line for heic 2025-07-29 10:25:20 +02:00
Prateek Sunal
85efa544b6 fix: refactor sync logic to use Set for pending files 2025-07-29 13:48:01 +05:30
laurenspriem
b1f6c57601 Revert error on rotated image decoding for indexing 2025-07-29 10:16:53 +02:00
Prateek Sunal
3c1bd34058 fix: duplication 2025-07-29 13:44:57 +05:30
AmanRajSinghMourya
6d31cf40da Merge branch 'main' into advance_image_editor 2025-07-29 13:21:19 +05:30
Aman Raj Singh Mourya
278156b11d [mobile] Add custom filter to image editor (#6671)
## Description
Add 10 custom filter to image editor and made it compatible with flutter
3.24.0
## Tests
2025-07-29 13:17:55 +05:30
AmanRajSinghMourya
ce48e2610a feat: enable zoom in main editor and refractor code 2025-07-29 13:13:31 +05:30
AmanRajSinghMourya
926715a4a8 fix: handle zero display value in circular progress animation 2025-07-29 13:07:10 +05:30
Manav Rathi
e152c04a65 [web] Handle nullish count in pub-mm of old public albums (#6666) 2025-07-29 13:06:30 +05:30
Prateek Sunal
03d21bc3ff chore: update addFiles logic 2025-07-29 13:00:37 +05:30
Prateek Sunal
79fdfdd72b fix: remove redundant await 2025-07-29 12:48:51 +05:30
Prateek Sunal
27d3acb192 fix: remove async from addFiles method 2025-07-29 12:48:10 +05:30
Prateek Sunal
82c8ce3f86 fix: check if collection not deleted 2025-07-29 12:47:20 +05:30
AmanRajSinghMourya
93259dc28c feat: update filter presets and improve filter selection handling in image editor 2025-07-29 12:38:15 +05:30
AmanRajSinghMourya
064da1be08 fix: downgrade pro_image_editor dependency from 7.2.0 to 6.0.0 for compatibility 2025-07-29 08:48:31 +05:30
AmanRajSinghMourya
dd0cfc4656 Fix: update padding in crop rotate bar and rename paint editor state 2025-07-29 08:48:17 +05:30
laurenspriem
dde67479be Logging 2025-07-28 16:59:09 +02:00
laurenspriem
a6c163a705 Exclude videos from similar dedupe 2025-07-28 16:39:05 +02:00
Manav Rathi
62049275f3 Handle old public albums
e.g. "Trip to Sikkim" from the blog post
2025-07-28 19:25:33 +05:30
laurenspriem
159dd57f0c Fix migration issue 2025-07-28 14:43:48 +02:00
laurenspriem
0cff1642c5 Similar files page mvp 2025-07-28 14:21:38 +02:00
ashilkn
9aa6023720 Bump up version 2025-07-28 17:43:51 +05:30
ashilkn
660bf78123 Merge branch 'main' into gallery_rewrite 2025-07-28 17:41:06 +05:30
ashilkn
35ede58e78 Move memories settings to General > Memories 2025-07-28 17:18:20 +05:30
laurenspriem
ee55002bf1 Similar files change 2025-07-28 11:05:31 +02:00
Manav Rathi
2cba00c45c Prettier: Make it work better with markdown (#6664)
Ref:
- https://prettier.io/blog/2017/12/05/1.9.0#markdown
- https://github.com/ente-io/ente/pull/6642#issuecomment-3118225419
2025-07-28 14:29:57 +05:30
Manav Rathi
3133a757ce Run prettier 2025-07-28 14:22:46 +05:30
laurenspriem
05b4350496 Similar images service mvp 2025-07-28 10:41:36 +02:00
Manav Rathi
f621461ba8 Prettier: preserve proseWrap
Always inserts linebreaks in positions that can break markdown content.
2025-07-28 13:41:37 +05:30
Neeraj
2aebeef31d [auth] New translations (#6663)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2025-07-28 12:16:22 +05:30
ashilkn
ba9337a3b6 Gallery performance improvement 2025-07-28 11:57:14 +05:30
Manav Rathi
203357f2c8 [web] New translations (#6661)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2025-07-28 11:49:08 +05:30
AmanRajSinghMourya
a0d7a88a6b Fix add new album flow 2025-07-28 11:13:40 +05:30
Neeraj
50dc5d3b4b [mobile/photos] New translations (#6662)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2025-07-28 10:11:07 +05:30
Crowdin Bot
58bf661e19 New Crowdin translations by GitHub Action 2025-07-28 01:18:16 +00:00
Crowdin Bot
a7f56d3dab New Crowdin translations by GitHub Action 2025-07-28 01:05:39 +00:00
Crowdin Bot
3e51fa1f83 New Crowdin translations by GitHub Action 2025-07-28 00:45:26 +00:00
laurenspriem
b68150a007 Bulk search first API 2025-07-27 17:38:15 +02:00
Keerthana
99720996bf [docs] refactor troubleshooting for docker (#6655)
## Description

This PR updates troubleshooting for Docker, adds information for
configuration of DB and fixes a dead link for configuration section.
2025-07-26 20:08:55 +05:30
Keerthana
050d5ea3e9 [docs] refactor troubleshooting for docker 2025-07-26 20:03:39 +05:30
Vishnu Mohandas
89078d2adf [docs] update Ente CLI troubleshooting and configuration for email (#6653)
## Description
This PR updates Ente CLI troubleshooting and email configuration along
with object storage configuration in configuration document.

This provides clarity for users who are facing keyring issues or with
bucket configuration.
2025-07-26 17:31:52 +05:30
ashilkn
cdd1353bb2 Delete old gallery files 2025-07-26 17:31:09 +05:30
ashilkn
3680ccddfd Change color 2025-07-26 17:24:18 +05:30
Keerthana
e5c658fcd7 [docs] refine Ente CLI secrets and email configuration for verification code 2025-07-26 16:58:44 +05:30
Prateek Sunal
111b4c40c7 fix: final state fix 2025-07-26 15:58:40 +05:30
Prateek Sunal
277189ca88 fix: things again 2025-07-26 15:46:33 +05:30
Prateek Sunal
2f991272a2 Merge remote-tracking branch 'origin/main' into smart-album-nothingelse 2025-07-26 15:42:04 +05:30
Prateek Sunal
58baa04df3 fix: selection update logic 2025-07-26 15:41:32 +05:30
Prateek Sunal
de481cc689 fix: don't show filters if empty 2025-07-26 15:19:03 +05:30
Prateek Sunal
0bbd32873f fix: only allow save when changed 2025-07-26 15:18:55 +05:30
Aman Raj Singh Mourya
b0c11911eb feat(ente-auth): Add custom icons for CrowdSec, FileCloud, JetBrains … (#6648)
## Description
feat(ente-auth): Add custom icons for CrowdSec, FileCloud, JetBrains
YouTrack, MailCow and NetBird
2025-07-26 15:10:15 +05:30
Keerthana
8a55131025 [docs] add tip for generation of secrets for installation procedures 2025-07-26 15:08:27 +05:30
Prateek Sunal
17632a07e8 fix: sort checked first 2025-07-26 15:07:04 +05:30
Prateek Sunal
701f42fa74 chore: fix adding 2025-07-26 14:57:49 +05:30
ashilkn
88eb935d2f UI/UX improvement 2025-07-26 14:21:29 +05:30
Neeraj
d71f50b79b [CD] Github action for iOS test flight (#6650)
## Description

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

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

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

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

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

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

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

## Tests
Add more test cases to the test file.
2025-07-25 15:06:06 +05:30
Neeraj Gupta
fcc90c6725 Bump version 2025-07-25 15:05:16 +05:30
Neeraj Gupta
7037d67a45 Merge branch 'main' into single_file_link 2025-07-25 14:58:49 +05:30
Prateek Sunal
0a19245c76 fix: re-add setState 2025-07-25 14:07:59 +05:30
Prateek Sunal
a60172473b chore: remove color scheme 2025-07-25 14:06:11 +05:30
Prateek Sunal
b66348f277 Merge remote-tracking branch 'origin/main' into smart-album-nothingelse 2025-07-25 13:01:21 +05:30
Prateek Sunal
e4b1adfd1d feat: empty state for collection 2025-07-25 12:58:18 +05:30
Aman Raj Singh Mourya
7325b7a385 [auth] add custom icon for lifemiles (#6632)
## Description

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

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

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

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

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

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

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

## Tests
2025-07-24 16:28:59 +05:30
Neeraj Gupta
0906fddfc6 [mob][photos] Fix query to remove dup enteries 2025-07-24 16:24:54 +05:30
Keerthana
637f11ac23 [docs] complete installation procedures 2025-07-24 16:21:13 +05:30
AmanRajSinghMourya
e9da23aff9 Refactor: remove unused safe area configurations from image editor 2025-07-24 16:00:36 +05:30
AmanRajSinghMourya
d466b77f0e Fix: show custom warning dialog 2025-07-24 15:59:34 +05:30
laurenspriem
5e84774737 Dependencies after merging main 2025-07-24 12:21:32 +02:00
laurenspriem
773419b25f Merge branch 'main' into smart_dedupe 2025-07-24 12:12:05 +02:00
laurenspriem
09668c2f67 Don't use vectorDB for magic search 2025-07-24 11:58:10 +02:00
Neeraj
4e0fa8fecf [server] Use IS FALSE to match partial index (#6624)
## Description

## Tests
2025-07-24 15:19:32 +05:30
Neeraj Gupta
f951880ed1 [server] Use IS FALSE to match partial index 2025-07-24 15:16:24 +05:30
laurenspriem
072e5b492b Dependencies for 3.27 2025-07-24 11:22:22 +02:00
Aman Raj Singh Mourya
050d7d3725 [mobile] Advance Date Search (#6537)
## Description
This PR introduces a comprehensive date parsing service that enables
users to search for photos using natural language date queries and
various date formats.

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

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

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

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

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

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

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

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

## Tests

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

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

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

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

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

    Merge branch 'isolated-ffmpeg' into smart-album

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

    chore: update locals

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

    chore: use locals

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

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

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

    fix: don't use isolate for now

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

    fix: save remote_id and updatedAt as well

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

    fix: dialog time

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

    chore: update locks

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

    chore: update locks

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

    fix: popup menu item & smart people selection

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

    Merge branch 'flutter-upgrade' into smart-album

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

    Merge branch 'isolated-ffmpeg' into smart-album

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

    fix: use existing progress dialog

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

    fix: better decode of SmartAlbumConfig

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

    fix: track if bg properly

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

    fix: don't fetch files based on collection id

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

    fix: use correct method to remove files from collection

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

    fix: try to add remove people dialog popup

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

    fix: handle duplicate case

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

    fix: update merge function to updatedAt

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

    chore: add note

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

    fix: pass remote id

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

    fix: add option in overflow & other fixes

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

    fix: revamp and use EntityService

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

    fix: issues

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

    fix: selection bug + initial empty files bug

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

    chore: renaming things

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

    fix: remove shared preferences instance call

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

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

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

    fix: optimize things (1)

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

    feat: init smart albums concept
2025-07-23 14:45:09 +05:30
Prateek Sunal
78055a25d0 Merge branch 'flutter-upgrade' into isolated-ffmpeg 2025-07-23 14:40:14 +05:30
Prateek Sunal
b050f683c8 Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-07-23 14:39:52 +05:30
Prateek Sunal
9141db8d47 Merge branch 'flutter-upgrade' into isolated-ffmpeg 2025-07-23 14:39:17 +05:30
laurenspriem
b16c9af36b Logging in super isolate when starting operation 2025-07-23 10:47:01 +02:00
Neeraj Gupta
6b5131ec45 Merge remote-tracking branch 'origin/main' into single_file_link 2025-07-23 14:12:47 +05:30
Neeraj Gupta
4e8fa3babd Merge branch 'main' into single_file_link 2025-07-23 14:12:32 +05:30
laurenspriem
1cc3499019 face thumbnail fix pragma entry point 2025-07-23 10:34:19 +02:00
laurenspriem
4260c3c769 Remove redundant code 2025-07-23 10:33:31 +02:00
laurenspriem
209291e09a Rename isolate components for clarity 2025-07-23 10:32:58 +02:00
ashilkn
c34d214313 Stop using custom object and use simple map for message passing compatibility between isolates 2025-07-23 12:13:00 +05:30
ashilkn
b209779f59 Use records for making data compatible for message passing between isolates 2025-07-23 12:04:21 +05:30
Aman Raj Singh Mourya
dd08ca82fe add unitedhealthgroup icona and added more altnames to previously added colorado icon (#6607)
## Description

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

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

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

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

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

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

Prevent showing duplicate files in people page due to a face getting
incorrectly tagged when a correct face is already there.
2025-07-21 14:27:14 +05:30
ashilkn
6b5db8d85b Dedupe gallery on pick person avatar screen 2025-07-21 13:53:21 +05:30
laurenspriem
ba56908d2d Fix duplicate people files 2025-07-21 10:05:11 +02:00
Neeraj Gupta
8b6d7e049a Remove link when files are trashed 2025-07-21 11:22:36 +05:30
Murad Khalil
054ad8b480 add numerai and nasdaq icons 2025-07-20 23:15:27 +02:00
Prateek Sunal
4ff77067dc chore: update flutter version for auth build 2025-07-21 00:36:21 +05:30
Prateek Sunal
437b3d028a chore: update locks 2025-07-21 00:34:27 +05:30
Prateek Sunal
8afc4bb0cb fix: switch to old version lock 2025-07-21 00:23:24 +05:30
Prateek Sunal
ecd3ce850f chore: update lock file 2025-07-21 00:04:34 +05:30
Prateek Sunal
bc61727e8b Merge branch 'flutter-upgrade' into isolated-ffmpeg 2025-07-21 00:04:06 +05:30
Prateek Sunal
32f987e551 chore: downgrade to 3.29.3 2025-07-21 00:03:27 +05:30
Prateek Sunal
3596d0e42d fix: downgrade flutter upgrade to 3.29.3 2025-07-21 00:02:34 +05:30
ashilkn
50ea38d471 Make hero animation work when opening a gallery 2025-07-18 19:06:03 +05:30
ashilkn
43c06d93c7 Rename final scrollbar 2025-07-18 18:09:07 +05:30
ashilkn
ecad643ea6 Remove old scrollbar 2025-07-18 18:08:19 +05:30
ashilkn
9241755d44 Minor change 2025-07-18 18:07:19 +05:30
ashilkn
3ff0356dd2 Fix flutter error 2025-07-18 17:57:32 +05:30
ashilkn
3fdb906834 Support limitSelectionToOne and showSelect all on new gallery 2025-07-18 17:40:36 +05:30
ashilkn
f32b98c1bc Clean up 2025-07-18 16:05:49 +05:30
Neeraj Gupta
e69276cf5f Rename 2025-07-18 16:00:15 +05:30
Neeraj Gupta
eb8737cb46 Add verify password endpoint 2025-07-18 15:58:40 +05:30
ashilkn
764921ec69 Make it possible to pass different vertical paddings for scrollbar 2025-07-18 15:56:41 +05:30
Neeraj Gupta
02b93b12fc Fix typo 2025-07-18 15:54:50 +05:30
ashilkn
06397a4992 Add empty state for gallery 2025-07-18 15:38:24 +05:30
Neeraj Gupta
2d0d914fd3 Hook APIs to get file or thumbnail from fileLink 2025-07-18 15:27:02 +05:30
Neeraj Gupta
dbb1ad66d3 Rename and minor fixes 2025-07-18 14:50:57 +05:30
ashilkn
f232fc401d Add support for disableScroll in galler 2025-07-18 14:45:11 +05:30
ashilkn
a10dcd01b0 Add support for GroupType.none 2025-07-18 14:36:42 +05:30
AmanRajSinghMourya
552003600a Add pro_image_editor package 2025-07-18 13:47:58 +05:30
Neeraj Gupta
3aa419b430 Add config for locker url 2025-07-18 13:23:55 +05:30
Neeraj Gupta
944bdfc7fa Rename 2025-07-18 13:09:12 +05:30
Neeraj Gupta
13420e4440 Endpoints for create,edit,delete and fetch links 2025-07-18 13:04:21 +05:30
ashilkn
9b289d7845 Minor UI change 2025-07-17 16:37:38 +05:30
ashilkn
21a843fb3b Remove stale code 2025-07-17 16:34:29 +05:30
Neeraj Gupta
51c00eefd4 Support for link password validation 2025-07-17 15:27:21 +05:30
ashilkn
401c8e160a Custom ScrollPhysics to avoid extreme overscroll when using scrollbar 2025-07-17 14:43:53 +05:30
ashilkn
c2374ed14e Double tap home button to animate to start of home gallery 2025-07-17 14:43:15 +05:30
Neeraj Gupta
8d108dc719 Rename 2025-07-17 14:39:20 +05:30
Neeraj Gupta
2e49f581c4 File link token middleware 2025-07-17 14:10:37 +05:30
ashilkn
dc6221c977 Simplify figuring out where to pin PinnedGroupHeader and change it when height of gallery's header changes 2025-07-17 14:01:41 +05:30
Neeraj Gupta
c5d9b2408f Implement all repo method 2025-07-17 13:33:25 +05:30
Neeraj Gupta
46ba71a15a Fix queries 2025-07-16 17:12:33 +05:30
ashilkn
5b4d4b86f7 Add docs 2025-07-16 16:48:40 +05:30
ashilkn
6423901165 Remove shadow of PeopleAppBar 2025-07-16 15:37:50 +05:30
ashilkn
4672b44d48 Do not show shadow on PinnedGroupHeader if scroll offset of gallery is zero. This is to give the illusion that the header is only pinned when gallery is scrolled from 0 offset 2025-07-16 15:09:30 +05:30
ashilkn
576f85055e Add top padding for gallery scrollbar 2025-07-16 14:33:46 +05:30
ashilkn
8a4ef26a6e Update animation duration 2025-07-16 14:14:45 +05:30
ashilkn
8541657ee0 Enlarge PinnedGroupHeader when using scrollbar for better UX 2025-07-16 12:39:11 +05:30
ashilkn
7340e5a100 Fix scroll bar divisions not appearing 2025-07-16 11:14:29 +05:30
ashilkn
30f8162ee4 Fix logic 2025-07-16 10:57:16 +05:30
Neeraj Gupta
99f4d4ca4d Update schema 2025-07-16 10:56:12 +05:30
ashilkn
ef08c4bd96 Remove shadow under GalleryAppBar to fix UI issue when group header is pinned to top 2025-07-16 10:47:25 +05:30
ashilkn
776c3158a7 Do not show scrollbar divisions if gallery isn't long enough 2025-07-16 10:34:30 +05:30
ashilkn
56d0acc501 Add corrections to where the scroll dividers are placed 2025-07-15 19:20:39 +05:30
ashilkn
e3a5cd060d Update haptic feedback type 2025-07-15 19:01:50 +05:30
ashilkn
e4f10d0e69 Add haptic feedback when going through sections when using the scrollbar 2025-07-15 15:53:37 +05:30
ashilkn
03c116c2ba Avoid redundant setState call 2025-07-15 15:52:42 +05:30
Neeraj Gupta
47f0722687 Merge branch 'main' into single_file_link 2025-07-15 13:01:29 +05:30
ashilkn
c318162feb Add solid color for background of PinnedGroupHeader 2025-07-15 12:48:07 +05:30
ashilkn
60485e98c2 UI for elements depicting scroll bar divisions 2025-07-15 12:38:08 +05:30
Keerthana
76e30fe959 [docs] refine requirements 2025-07-15 12:22:49 +05:30
ashilkn
2bee2fe71c Remove first scrollbar division since it doesn't add value in terms of UX 2025-07-15 12:11:42 +05:30
ashilkn
1b1e82ebbd Add bottom padding to new gallery scrollbar 2025-07-15 12:07:38 +05:30
ashilkn
d319b244ee Filter out scroll position divisions that are too close to each other 2025-07-15 11:45:28 +05:30
ashilkn
880594398d Make the scrollbar divisions meant for years actually show years 2025-07-14 18:27:52 +05:30
ashilkn
a475cc9933 Create a new scrollbar tha works like a normal scrollbar but intended to also show scroll positions of different years. UI works, need to next show the actual values at positions 2025-07-14 15:18:28 +05:30
Keerthana
b260648192 [docs] linting and complete get started 2025-07-14 15:04:18 +05:30
AmanRajSinghMourya
be6f596b79 Minor improvements around date search parsing 2025-07-14 15:02:58 +05:30
Prateek Sunal
99d84a1154 fix: remove log level 2025-07-14 14:43:00 +05:30
Prateek Sunal
126a96326f fix: don't use computer for ffmpeg isolate 2025-07-14 11:59:55 +05:30
Prateek Sunal
b7ead2004a fix: do isolate things without combine package 2025-07-14 11:39:25 +05:30
Keerthana
034eb69473 [docs] simplify S3 configuration 2025-07-14 09:52:25 +05:30
Keerthana
f06403adc7 [docs] refactor standalone and from source docs 2025-07-14 09:52:25 +05:30
Keerthana
b580d6ce35 [docs] refactor get started 2025-07-14 09:52:25 +05:30
Keerthana
caf664f11d [docs] restructure administration section 2025-07-14 09:52:25 +05:30
Keerthana
2d90c14890 [docs] restructure installation and guides section 2025-07-14 09:52:25 +05:30
Keerthana
4d078c094c [docs] restructure self-hosting navigation 2025-07-14 09:52:25 +05:30
Keerthana
cbfcbe8da2 [docs] reduce verbose description in quickstart 2025-07-14 09:52:25 +05:30
Keerthana
d0f637b154 [server][script] enhance reading choice and refactor choice 2025-07-14 09:52:25 +05:30
Prateek Sunal
87fad99863 Merge remote-tracking branch 'origin/flutter-upgrade' into isolated-ffmpeg 2025-07-14 09:00:19 +05:30
ashilkn
4d8d0d1b07 Make selection work on the new group header widget 2025-07-12 17:20:24 +05:30
ashilkn
59b07f3507 Use bouncing scroll physics for gallery 2025-07-12 15:32:44 +05:30
ashilkn
38e5135878 Fix bug in PinnedGroupHeader when gallery is reloaded or setState is called in gallery 2025-07-12 15:31:57 +05:30
ashilkn
2426b7405c Improve performance of deciding what title to show on the PinnedGroupHeader based on group 2025-07-12 14:37:08 +05:30
Prateek Sunal
9f727bb95d feat: upgrade auth to flutter 3.32 2025-07-11 20:28:43 +05:30
AmanRajSinghMourya
57ec62e45e Implement advance date search service 2025-07-11 17:00:23 +05:30
Prateek Sunal
bd42a4d1f6 Merge branch 'flutter-upgrade' into isolated-ffmpeg 2025-07-11 16:10:32 +05:30
Prateek Sunal
22e0cd2168 chore: update locks 2025-07-11 16:09:53 +05:30
Prateek Sunal
0662baac73 Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-07-11 16:09:12 +05:30
Prateek Sunal
ef3c561cf1 fix: no log output 2025-07-11 15:27:28 +05:30
Prateek Sunal
6f07399b5a Merge remote-tracking branch 'origin/flutter-upgrade' into isolated-ffmpeg 2025-07-11 12:31:11 +05:30
Prateek Sunal
8524742c92 Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-07-11 12:30:56 +05:30
Prateek Sunal
9125090a3d fix: bg changes 2025-07-10 19:04:32 +05:30
Prateek Sunal
4a552fbcb4 Merge remote-tracking branch 'origin/flutter-upgrade' into isolated-ffmpeg 2025-07-10 18:53:46 +05:30
Prateek Sunal
85ef085084 chore: lint fix 2025-07-10 18:53:23 +05:30
Prateek Sunal
f1d128f6b0 Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-07-10 18:53:07 +05:30
Prateek Sunal
c925ed2117 fix: issues 2025-07-10 18:52:46 +05:30
Prateek Sunal
142a5f9661 fix: issue 2025-07-10 18:52:36 +05:30
ashilkn
567582b423 Resolve merge conflicts and merge main 2025-07-10 15:01:50 +05:30
ashilkn
937af3da37 clean up 2025-07-10 11:59:27 +05:30
ashilkn
da4e0aa826 chore 2025-07-09 16:52:44 +05:30
ashilkn
372c4d9086 Create a widget (yet to be stateful) that acts as a 'pinned header' for each group in gallery when gallery is scrolled 2025-07-09 16:43:10 +05:30
ashilkn
80e28ee1a3 chore 2025-07-09 16:34:58 +05:30
Prateek Sunal
ae0c83b1aa Merge branch 'flutter-upgrade' into isolated-ffmpeg 2025-07-08 18:47:50 +05:30
Prateek Sunal
8f1ee2ef15 Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-07-08 18:47:35 +05:30
Prateek Sunal
f1d978fbf7 fix: use combine for method channel communication 2025-07-08 18:46:51 +05:30
Prateek Sunal
4604280ef8 fix: move ffmpeg and ffprobe to isolate 2025-07-07 18:41:03 +05:30
ashilkn
6e14aaaad7 Create a working custom scroll bar without support for header and footer 2025-07-07 15:55:07 +05:30
ashilkn
28be02bb9a Create a scrollOffsetToGroupID map to be used in custom scroll bar 2025-07-07 14:00:32 +05:30
ashilkn
93851db27a Refactor 2025-07-07 13:59:26 +05:30
ashilkn
8a0f61a1c7 Refactor + add header and footer of gallery 2025-07-07 13:38:41 +05:30
Prateek Sunal
18ab4060b2 Merge remote-tracking branch 'origin/flutter-upgrade' into isolated-ffmpeg 2025-07-07 13:17:08 +05:30
Prateek Sunal
9a4d465672 chore: update runner scheme 2025-07-07 13:16:49 +05:30
Prateek Sunal
7ea9483cca fix: dependency 2025-07-07 13:10:59 +05:30
Prateek Sunal
d9add4f827 chore: update locks 2025-07-07 11:56:43 +05:30
Prateek Sunal
3c19c00a70 Merge remote-tracking branch 'origin/flutter-upgrade' into isolated-ffmpeg 2025-07-07 11:52:46 +05:30
Prateek Sunal
12c19d1ed1 Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-07-07 11:52:24 +05:30
Prateek Sunal
c757b837f1 fix: update flutter version in all sources 2025-07-07 11:44:42 +05:30
Prateek Sunal
a9f1c0dbd4 fix: fetch the ffmpeg source at first 2025-07-07 11:42:35 +05:30
Prateek Sunal
896d77a83e fix: upgrade plugins 2025-07-07 11:28:56 +05:30
Prateek Sunal
b1210e1d15 Merge remote-tracking branch 'origin/flutter-upgrade' into isolated-ffmpeg 2025-07-04 16:55:15 +05:30
Prateek Sunal
127df30242 fix: readd workmanager 2025-07-04 16:55:04 +05:30
Prateek Sunal
c0c17af51a Merge remote-tracking branch 'origin/flutter-upgrade' into isolated-ffmpeg 2025-07-04 16:48:16 +05:30
Prateek Sunal
d92ec2276e chore: update lock files 2025-07-04 16:44:43 +05:30
Prateek Sunal
1f99727ab9 fix: update git ignore 2025-07-04 16:43:52 +05:30
Prateek Sunal
85784920a9 fix: remove unwanted files 2025-07-04 16:41:12 +05:30
Prateek Sunal
d7b3af063b Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-07-04 16:38:37 +05:30
ashilkn
f70c284b58 Use better name 2025-07-04 14:34:09 +05:30
ashilkn
27faef415f Use better names 2025-07-04 12:32:43 +05:30
ashilkn
fd05961303 Improve performance of group building function by not eagerly computing each group header's title and instead, offload it to the GroupHeaderWidget to compute lazily when it's built 2025-07-04 12:31:12 +05:30
ashilkn
23728107a3 Remove unused parameter 2025-07-04 12:11:17 +05:30
ashilkn
cde42eb43a Use better name 2025-07-04 11:53:16 +05:30
ashilkn
ce380b3b7a Log time taken for computing GalleryGroups and it's sectionLayout + add keys to GalleryFileWidget to fix issues 2025-07-04 11:03:25 +05:30
ashilkn
1cc80aab75 Make selection work with new gallery 2025-07-03 16:18:43 +05:30
ashilkn
0d55ae1a6d Fix spacing issue 2025-07-03 15:34:14 +05:30
ashilkn
ad892c1055 Fix incorrect logic of finding index of file in gallery 2025-07-03 15:24:56 +05:30
ashilkn
29f7a54950 Layout calculation fixes and use better names 2025-07-03 11:41:30 +05:30
ashilkn
2b258f984d Change names 2025-07-03 10:56:39 +05:30
ashilkn
3cf4d3ee31 Merge branch 'main' into gallery_rewrite 2025-07-03 10:40:35 +05:30
ashilkn
b1386b8f57 Extract group building code to a function for better readability 2025-07-03 10:37:59 +05:30
ashilkn
6d576adce0 Display group header widget 2025-06-20 17:09:23 +05:30
ashilkn
af6942e99d Populate grid rows with actual thumbnails 2025-06-20 16:26:33 +05:30
ashilkn
bb75627383 Populate grid rows with placeholders 2025-06-20 16:00:21 +05:30
ashilkn
828ade2609 Get a bare-bones structure of the new gallery working 2025-06-20 14:54:47 +05:30
ashilkn
36880fac6d Custom render sliver for a completely lazyloading gallery and improved scroll performance 2025-06-20 10:40:28 +05:30
ashilkn
328b2f5961 Create FixedExtentSectionLayout to keep layout data of each section (group) in gallery 2025-06-20 09:51:57 +05:30
ashilkn
3244686058 Create GallerySections model for holding data about a gallery 2025-06-20 09:50:16 +05:30
Prateek Sunal
baa3d49d4b fix: add desugaring for flutter_local_notifications to work 2025-06-18 16:00:27 +05:30
Prateek Sunal
d2c2062256 fix: upgeade gradle 2025-06-18 16:00:13 +05:30
Prateek Sunal
c646909765 fix: don't pin collection and path 2025-06-18 14:00:31 +05:30
Prateek Sunal
8b4f03b256 fix: temp commit, to revert 2025-06-17 14:44:25 +05:30
Prateek Sunal
976bd0134c fix: log string 2025-06-17 14:44:16 +05:30
Prateek Sunal
8a785aac8f Merge branch 'flutter-upgrade' into isolated-ffmpeg 2025-06-16 17:21:17 +05:30
Prateek Sunal
452812af11 chore(ios): update lock files 2025-06-16 17:18:49 +05:30
Prateek Sunal
44fb8fec1a Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-06-16 17:17:55 +05:30
Prateek Sunal
1d8fc7aba8 fix: revert back to old l10n 2025-06-16 17:08:51 +05:30
Prateek Sunal
654db76175 fix: format files 2025-06-16 17:06:50 +05:30
Prateek Sunal
364170f38d fix: DialogTheme 2025-06-16 17:04:10 +05:30
Prateek Sunal
0cd7c92672 fix: add intl based locals as well 2025-06-16 17:04:02 +05:30
Prateek Sunal
962aaa1b7a Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-06-16 14:54:37 +05:30
Prateek Sunal
6ec0c550a3 chore: lock deps 2025-06-16 14:53:25 +05:30
Prateek Sunal
b67fcdb9ed fix: map and image editor related issues 2025-06-16 14:46:51 +05:30
Prateek Sunal
2f4c3c7777 feat: upgrade deps (incomplete) 2025-06-16 12:58:13 +05:30
Prateek Sunal
cb84164466 Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-06-12 18:44:10 +05:30
Prateek Sunal
7b6aed426d Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-06-12 16:55:23 +05:30
anandbaburajan
1752192688 [email]: different ott templates for with and without verify btn 2025-06-09 19:21:49 +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
Prateek Sunal
81c539979d Merge remote-tracking branch 'origin/main' into flutter-upgrade 2025-06-06 14:35:39 +05:30
Prateek Sunal
3cffd969b4 feat: bump flutter to 3.29 2025-06-06 14:35:30 +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
laurenspriem
82a8e504af Merge branch 'internal-15_06_2025' into usearch_again 2025-06-04 22:14:26 +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
Neeraj Gupta
8b3b20aa93 Remove unsued type 2025-06-02 18:38:45 +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
ashilkn
7c4e775872 Bump build number 2025-06-02 14:56:04 +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
Neeraj Gupta
bbf4462c6c temp 2025-05-28 10:31:49 +05:30
laurenspriem
726425bbb6 Put vector db behind feature flag internal 2025-05-27 14:07:34 +05:30
Neeraj Gupta
cf5aabbde1 Merge branch 'main' into single_file_link 2025-05-27 10:28:28 +05:30
laurenspriem
c068f26604 Aggressive logging of vectorDB migration 2025-05-22 11:32:36 +05:30
laurenspriem
e60c2b1192 GC hints 2025-05-22 11:19:19 +05:30
laurenspriem
beb049f817 Reduce batch size in migration 2025-05-22 10:38:43 +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
laurenspriem
b76d41b84d Specify rust version in readme 2025-05-12 15:48:27 +05:30
Neeraj Gupta
b9b239c207 move refactor 2025-05-12 15:18:13 +05:30
laurenspriem
3b9c76649d Update readme to include rust 2025-05-12 15:12:31 +05:30
laurenspriem
62ed8b6975 Log vector db stats when opening connection 2025-05-12 14:46:55 +05:30
laurenspriem
2422dba4d4 vector db more stats logging 2025-05-12 14:23:16 +05:30
laurenspriem
eb1916e3a3 integrate vector db in magic search 2025-05-12 11:39:02 +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
Neeraj Gupta
aa181b1f1f Merge branch 'main' into single_file_link 2025-05-11 10:31:13 +05:30
laurenspriem
63d90ea275 Class for vector db stats 2025-05-09 16:36:39 +05:30
laurenspriem
bb7f8a5eef More testing 2025-05-09 15:59:46 +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
laurenspriem
27ad020adc Testing clip migration to vector DB 2025-05-08 17:40:01 +05:30
laurenspriem
ce112bd4d7 Index stats method 2025-05-08 15:23:23 +05:30
laurenspriem
2ffb73d053 Consistent method parameters 2025-05-08 15:07:50 +05:30
laurenspriem
6478d438b5 vector db api ensure never duplicate keys 2025-05-08 14:30:51 +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
laurenspriem
715c7c23a7 Add bulk remove embeddings api 2025-05-08 10:29:25 +05:30
Neeraj Gupta
daec225ef8 Add DB Scheme for file URL 2025-05-07 16:57:59 +05:30
laurenspriem
e9c2e40a43 Update to latest usearch 2025-05-07 13:25:40 +05:30
laurenspriem
603c275c09 Update basic usearch test 2025-05-07 12:01:45 +05:30
laurenspriem
7b9d6df2fd Fix ios build issue 2025-05-07 11:32:53 +05:30
Neeraj Gupta
c94878e190 Model for single file sharing 2025-05-07 10:51:17 +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
laurenspriem
f2a74bd35e Merge branch 'main' into usearch_again 2025-05-06 15:34:59 +05:30
Prateek Sunal
fbb15adf11 Merge remote-tracking branch 'origin/main' into isolated-ffmpeg 2025-05-02 10:56:28 +05:30
Prateek Sunal
3efd36ab7b fix: statitify things and log error 2025-04-29 00:55:40 +05:30
Prateek Sunal
11cb355e98 fix: remove init from main 2025-04-29 00:54:14 +05:30
Prateek Sunal
caadca9a48 fix: reencode audio as aac 2025-04-29 00:54:04 +05:30
Prateek Sunal
0a50e33023 Merge remote-tracking branch 'origin/main' into isolated-ffmpeg 2025-04-28 13:09:03 +05:30
Prateek Sunal
5eef2a5816 fix: update isolated function 2025-04-28 13:08:42 +05:30
Prateek Sunal
fe4bf5c217 Merge remote-tracking branch 'origin/main' into isolated-ffmpeg 2025-04-28 12:10:47 +05:30
anandbaburajan
873ee3ac14 [email]: different views for mobile and desktop 2025-04-18 16:54:21 +05:30
anandbaburajan
cfce2d00f5 [email]: add one click verify button for verification email 2025-04-18 13:45:04 +05:30
Prateek Sunal
912fc72600 Add ffmpeg framework support and refactor video processing to isolated service 2025-04-17 03:39:59 +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
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
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
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
1632 changed files with 131840 additions and 76844 deletions

View File

@@ -1,39 +1,22 @@
name: Report a bug
description: For regressions only (things that were working earlier)
description: Things that were working earlier but don't anymore
labels: []
body:
- type: markdown
attributes:
value: |
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))
**Checklist**
1. You've searched existing [issues](https://github.com/search?q=repo%3Aente-io%2Fente+&type=issues) and [discussions](https://github.com/search?q=repo%3Aente-io%2Fente+&type=discussions)
2. It was working earlier (otherwise use [enhancements](https://github.com/ente-io/ente/discussions/categories/enhancements))
3. It is not about self hosting (for those use [this](https://github.com/ente-io/ente/discussions/categories/q-a))
- type: textarea
attributes:
label: Description
description: >
Describe the bug and steps to reproduce the behaviour, and how it
differs from the previously working behaviour.
validations:
required: true
- type: input
attributes:
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

@@ -5,7 +5,7 @@ on:
branches: [main]
paths:
# Run workflow when auth's intl_en.arb is changed
- "auth/lib/l10n/arb/app_en.arb"
- "mobile/apps/auth/lib/l10n/arb/app_en.arb"
# Or the workflow itself is changed
- ".github/workflows/auth-crowdin.yml"

View File

@@ -4,7 +4,7 @@ on:
workflow_dispatch: # Allow manually running the action
env:
FLUTTER_VERSION: "3.24.3"
FLUTTER_VERSION: "3.32.8"
permissions:
contents: write

View File

@@ -4,11 +4,11 @@ on:
# Run on every pull request (open or push to it) that changes auth/
pull_request:
paths:
- "auth/**"
- "mobile/apps/auth/**"
- ".github/workflows/auth-lint.yml"
env:
FLUTTER_VERSION: "3.24.3"
FLUTTER_VERSION: "3.32.8"
permissions:
contents: read

View File

@@ -29,7 +29,7 @@ on:
- "auth-v*"
env:
FLUTTER_VERSION: "3.24.3"
FLUTTER_VERSION: "3.32.8"
permissions:
contents: write

View File

@@ -1,70 +0,0 @@
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

View File

@@ -0,0 +1,149 @@
name: "Internal release (photos)"
on:
schedule:
# Runs daily at 12:30 UTC (6:00 PM IST)
- cron: "30 12 * * *"
workflow_dispatch: # Allow manual trigger
env:
FLUTTER_VERSION: "3.32.8"
RUST_VERSION: "1.85.1"
permissions:
contents: read
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: Increment version code for build
run: |
CURRENT_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //')
VERSION_NAME=$(echo $CURRENT_VERSION | cut -d'+' -f1)
CURRENT_BUILD=$(echo $CURRENT_VERSION | cut -d'+' -f2)
NEW_BUILD=$((CURRENT_BUILD + ${{ github.run_number }}))
NEW_VERSION="${VERSION_NAME}+${NEW_BUILD}"
sed -i "s/^version: .*/version: $NEW_VERSION/" pubspec.yaml
echo "Building with version ${NEW_VERSION}"
# Store version for later use
echo "NEW_VERSION=${NEW_VERSION}" >> $GITHUB_ENV
- name: Prepare and validate changelog for Play Store
run: |
mkdir -p whatsnew
CHANGELOG_FILE="scripts/store_changes.txt"
DISCORD_FILE="scripts/internal_changes.txt"
OUTPUT_FILE="whatsnew/whatsnew-en-US"
# Use provided changelog or fallback
if [ -f "$CHANGELOG_FILE" ]; then
head -c 500 "$CHANGELOG_FILE" > "$OUTPUT_FILE"
else
echo "Bug fixes and improvements" > "$OUTPUT_FILE"
fi
# Validate: file exists
if [ ! -s "$OUTPUT_FILE" ]; then
echo "❌ Changelog is empty."
exit 1
fi
# Validate: <= 500 chars
LENGTH=$(wc -m < "$OUTPUT_FILE")
if [ "$LENGTH" -gt 500 ]; then
echo "❌ Changelog exceeds 500 characters ($LENGTH)."
exit 1
fi
# Validate: no markdown or HTML
if grep -Eq '[\*\_\<\>\[\]\(\)]' "$OUTPUT_FILE"; then
echo "❌ Changelog contains markdown/HTML formatting."
exit 1
fi
echo "✅ Changelog valid:"
cat "$OUTPUT_FILE"
# Store changelog for Play Store (with escaped newlines)
CHANGELOG_PLAYSTORE=$(cat "$OUTPUT_FILE" | sed ':a;N;$!ba;s/\n/\\n/g' | sed 's/"/\\"/g')
echo "CHANGELOG=${CHANGELOG_PLAYSTORE}" >> $GITHUB_ENV
# Store changelog for Discord (with proper newlines)
CHANGELOG_DISCORD=$(cat "$DISCORD_FILE" | sed 's/"/\\"/g')
echo "CHANGELOG_DISCORD<<EOF" >> $GITHUB_ENV
echo "$CHANGELOG_DISCORD" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- 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
whatsNewDirectory: mobile/apps/photos/whatsnew
mappingFile: mobile/apps/photos/build/app/outputs/mapping/playstoreRelease/mapping.txt
- name: Notify Discord
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_INTERNAL_RELEASE_WEBHOOK }}
nodetail: true
title: "🏆 Daily release Photos v${{ env.NEW_VERSION }} (Branch: ${{ github.ref_name }})"
description: |
**Version:** ${{ env.NEW_VERSION }}
**Flutter:** ${{ env.FLUTTER_VERSION }}
**Commit:** [${{ github.sha }}](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
**Download:** [Play Store](https://play.google.com/store/apps/details?id=io.ente.photos)
**Changes:**
${{ env.CHANGELOG_DISCORD }}
color: 0x00ff00

View File

@@ -1,77 +0,0 @@
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

@@ -1,10 +1,11 @@
name: "Internal release (photos)"
name: "Old Internal release (photos)"
on:
workflow_dispatch: # Allow manually running the action
env:
FLUTTER_VERSION: "3.24.3"
FLUTTER_VERSION: "3.32.8"
RUST_VERSION: "1.85.1"
permissions:
contents: write
@@ -35,6 +36,14 @@ jobs:
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:

View File

@@ -8,7 +8,7 @@ on:
- ".github/workflows/mobile-lint.yml"
env:
FLUTTER_VERSION: "3.24.3"
FLUTTER_VERSION: "3.32.8"
permissions:
contents: read

View File

@@ -9,7 +9,7 @@ on:
- "photos-v*"
env:
FLUTTER_VERSION: "3.24.3"
FLUTTER_VERSION: "3.32.8"
permissions:
contents: write

View File

@@ -0,0 +1,126 @@
name: "Internal Release V2 (photos)"
on:
workflow_dispatch: # Manual trigger only
env:
FLUTTER_VERSION: "3.32.8"
ANDROID_KEYSTORE_PATH: "keystore/ente_photos_key.jks"
jobs:
build:
runs-on: macos-latest # Required for iOS builds
environment: "ios-build"
permissions:
contents: write
defaults:
run:
working-directory: mobile/apps/photos
steps:
# Common Setup
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
# Android Build
- name: Setup Android signing key
uses: timheuer/base64-to-file@v1
with:
fileName: ${{ env.ANDROID_KEYSTORE_PATH }}
encodedString: ${{ secrets.SIGNING_KEY_PHOTOS }}
# - name: Build Android AAB
# run: |
# flutter build appbundle \
# --dart-define=cronetHttpNoPlay=true \
# --release \
# --flavor playstore
# env:
# SIGNING_KEY_PATH: ${{ env.ANDROID_KEYSTORE_PATH }}
# SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS_PHOTOS }}
# SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD_PHOTOS }}
# SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD_PHOTOS }}
# iOS Build (new secure implementation)
- name: Install fastlane
run: gem install fastlane
- name: Create ExportOptions.plist
run: |
cat <<EOF > ios/ExportOptions.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>app-store</string>
<key>teamID</key>
<string>${{ secrets.IOS_TEAM_ID }}</string>
</dict>
</plist>
EOF
- name: Setup App Store Connect API Key
run: |
echo '${{ secrets.IOS_API_KEY }}' > api_key.json
chmod 600 api_key.json
- name: Build iOS IPA
run: |
flutter build ipa \
--release \
--export-options-plist=ExportOptions.plist \
--dart-define=cronetHttpNoPlay=true
env:
SIGNING_TEAM_ID: ${{ secrets.IOS_TEAM_ID }}
# Uploads
# - name: Upload to Play Store
# uses: r0adkll/upload-google-play@v1
# with:
# serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
# packageName: io.ente.photos
# releaseFiles: build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
# track: internal
- name: Upload to TestFlight
run: |
fastlane pilot upload \
--api_key_path api_key.json \
--ipa "build/ios/ipa/Ente Photos.ipa" \
--skip_waiting_for_build_processing \
--apple_id ${{ secrets.IOS_APPLE_ID }} \
--app_identifier "io.ente.photos"
env:
APP_STORE_CONNECT_API_KEY_ID: ${{ secrets.IOS_API_KEY_ID }}
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.IOS_ISSUER_ID }}
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{ secrets.IOS_APP_SPECIFIC_PASSWORD }}
- name: Clean sensitive files
run: |
rm -f api_key.json
rm -f ${{ env.ANDROID_KEYSTORE_PATH }}
- name: Notify Discord
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_INTERNAL_RELEASE_WEBHOOK }}
title: "🚀 Dual Platform Release Uploaded"
description: |
**Android**: [Play Store Internal](https://play.google.com/store/apps/details?id=io.ente.photos)
**iOS**: TestFlight build processing
color: 0x00ff00

44
.github/workflows/rust-lint.yml vendored Normal file
View File

@@ -0,0 +1,44 @@
name: "Lint (rust)"
on:
# Run on every pull request (open or push to it) that changes rust/
pull_request:
paths:
- "rust/**"
- ".github/workflows/rust-lint.yml"
permissions:
contents: read
# Cancel in-progress lint runs when a new commit is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
RUSTFLAGS: -D warnings
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: rust
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: cargo fmt --check
- run: cargo clippy --all-targets --all-features
- run: cargo build

View File

@@ -54,6 +54,18 @@ jobs:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy --project-name=ente --commit-dirty=true --branch=deploy/photos web/apps/photos/out
- name: Build custom-albums
run: yarn build:photos
env:
NEXT_PUBLIC_ENTE_ONLY_SERVE_ALBUMS_APP: 1
- name: Publish custom-albums
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/custom-albums web/apps/photos/out
- name: Build accounts
run: yarn build:accounts

View File

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

View File

@@ -142,6 +142,22 @@ var _updateFreeUserStorage = &cobra.Command{
},
}
var _sendMail = &cobra.Command{
Use: "send-mail <to-email> <from-email> <from-name>",
Args: cobra.ExactArgs(3),
Short: "Sends a test mail via the admin api",
RunE: func(cmd *cobra.Command, args []string) error {
recoverWithLog()
var flags = &model.AdminActionForUser{}
cmd.Flags().VisitAll(func(f *pflag.Flag) {
if f.Name == "admin-user" {
flags.AdminEmail = f.Value.String()
}
})
return ctrl.SendTestMail(context.Background(), *flags, args[0], args[1], args[2])
},
}
func init() {
rootCmd.AddCommand(_adminCmd)
_ = _userDetailsCmd.MarkFlagRequired("admin-user")
@@ -159,5 +175,6 @@ func init() {
_updateFreeUserStorage.Flags().StringP("user", "u", "", "The email of the user to update subscription for. (required)")
// add a flag with no value --no-limit
_updateFreeUserStorage.Flags().String("no-limit", "True", "When true, sets 100TB as storage limit, and expiry to current date + 100 years")
_adminCmd.AddCommand(_userDetailsCmd, _disable2faCmd, _disablePasskeyCmd, _updateFreeUserStorage, _listUsers, _deleteUser)
_sendMail.Flags().StringP("admin-user", "a", "", "The email of the admin user. ")
_adminCmd.AddCommand(_userDetailsCmd, _disable2faCmd, _disablePasskeyCmd, _updateFreeUserStorage, _listUsers, _deleteUser, _sendMail)
}

View File

@@ -2,11 +2,12 @@ package cmd
import (
"fmt"
"github.com/ente-io/cli/pkg"
"github.com/spf13/cobra/doc"
"os"
"runtime"
"github.com/ente-io/cli/pkg"
"github.com/spf13/cobra/doc"
"github.com/spf13/viper"
"github.com/spf13/cobra"
@@ -20,11 +21,6 @@ var ctrl *pkg.ClICtrl
var rootCmd = &cobra.Command{
Use: "ente",
Short: "CLI tool for exporting your photos from ente.io",
// Uncomment the following line if your bare application
// has an action associated with it:
Run: func(cmd *cobra.Command, args []string) {
fmt.Sprintf("Hello World")
},
}
func GenerateDocs() error {

View File

@@ -139,5 +139,28 @@ func (c *Client) UpdateFreePlanSub(ctx context.Context, userDetails *models.User
}
}
return nil
}
func (c *Client) SendTestMail(ctx context.Context, toEmail, fromEmail, fromName string) error {
body := map[string]interface{}{
"to": []string{toEmail},
"fromName": fromName,
"fromEmail": fromEmail,
"subject": "Test mail from Ente",
"body": "This is a test mail from Ente",
}
r, err := c.restClient.R().
SetContext(ctx).
SetBody(body).
Post("/admin/mail")
if err != nil {
return err
}
if r.IsError() {
return &ApiError{
StatusCode: r.StatusCode(),
Message: r.String(),
}
}
return nil
}

View File

@@ -156,6 +156,23 @@ func (c *ClICtrl) UpdateFreeStorage(ctx context.Context, params model.AdminActio
return nil
}
func (c *ClICtrl) SendTestMail(ctx context.Context, params model.AdminActionForUser, to, from, fromName string) error {
accountCtx, err := c.buildAdminContext(ctx, params.AdminEmail)
if err != nil {
return err
}
err = c.Client.SendTestMail(accountCtx, to, from, fromName)
if err != nil {
if apiErr, ok := err.(*api.ApiError); ok && apiErr.StatusCode == 400 && strings.Contains(apiErr.Message, "Token is too old") {
fmt.Printf("Error: old admin token, please re-authenticate using `ente account add` \n")
return nil
}
return err
}
fmt.Printf("Successfully sent test email to %s\n", to)
return nil
}
func (c *ClICtrl) buildAdminContext(ctx context.Context, adminEmail string) (context.Context, error) {
accounts, err := c.GetAccounts(ctx)
if err != nil {

View File

@@ -44,8 +44,7 @@ jobs:
# If triggered by a tag, checkout photosd-$tag from the source
# repository. Otherwise checkout $source (default: "main").
repository: ente-io/ente
ref:
"${{ startsWith(github.ref, 'refs/tags/v') &&
ref: "${{ startsWith(github.ref, 'refs/tags/v') &&
format('photosd-{0}', github.ref_name) || ( inputs.source
|| 'main' ) }}"
@@ -110,8 +109,7 @@ jobs:
env:
# macOS notarization credentials key details
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_APP_SPECIFIC_PASSWORD:
${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
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

View File

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

View File

@@ -1,4 +1,3 @@
{
"tabWidth": 4,
"proseWrap": "always"
"tabWidth": 4
}

View File

@@ -26,6 +26,9 @@ export default defineConfig({
},
},
sidebar: sidebar,
outline: {
level: [2, 3],
},
socialLinks: [
{ icon: "github", link: "https://github.com/ente-io/ente/" },
{ icon: "twitter", link: "https://twitter.com/enteio" },

View File

@@ -26,6 +26,10 @@ export const sidebar = [
text: "Collecting photos",
link: "/photos/features/collect",
},
{
text: "Custom domains",
link: "/photos/features/custom-domains/",
},
{
text: "Deduplicate",
link: "/photos/features/deduplicate",
@@ -207,22 +211,22 @@ export const sidebar = [
text: "Migration",
collapsed: true,
items: [
{ text: "Introduction", link: "/auth/migration-guides/" },
{ text: "Introduction", link: "/auth/migration/" },
{
text: "From Authy",
link: "/auth/migration-guides/authy/",
link: "/auth/migration/authy/",
},
{
text: "From Steam",
link: "/auth/migration-guides/steam/",
link: "/auth/migration/steam/",
},
{
text: "From others",
link: "/auth/migration-guides/import",
link: "/auth/migration/import",
},
{
text: "Exporting your data",
link: "/auth/migration-guides/export",
link: "/auth/migration/export",
},
],
},
@@ -239,76 +243,84 @@ export const sidebar = [
],
},
{
text: "Self hosting",
text: "Self-hosting",
collapsed: true,
items: [
{ text: "Getting started", link: "/self-hosting/" },
{
text: "Connecting to custom server",
link: "/self-hosting/guides/custom-server/",
text: "Quickstart",
link: "/self-hosting/",
},
{
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",
text: "Installation",
collapsed: true,
items: [
{ text: "Introduction", link: "/self-hosting/guides/" },
{
text: "Administering your server",
link: "/self-hosting/guides/admin",
text: "Requirements",
link: "/self-hosting/installation/requirements",
},
{
text: "Configuring CLI for your instance",
link: "/self-hosting/guides/selfhost-cli",
text: "Quickstart script (Recommended)",
link: "/self-hosting/installation/quickstart",
},
{
text: "Running Ente from source",
link: "/self-hosting/guides/from-source",
text: "Docker Compose",
link: "/self-hosting/installation/compose",
},
{
text: "Running Ente without Docker",
link: "/self-hosting/guides/standalone-ente",
text: "Manual setup (without Docker)",
link: "/self-hosting/installation/manual",
},
{
text: "Environment variables and defaults",
link: "/self-hosting/installation/env-var",
},
{
text: "Configuration",
link: "/self-hosting/installation/config",
},
{
text: "Post-installation steps",
link: "/self-hosting/installation/post-install/",
},
{
text: "Upgrade",
link: "/self-hosting/installation/upgrade",
},
],
},
{
text: "Troubleshooting",
text: "Administration",
collapsed: true,
items: [
{
text: "General",
link: "/self-hosting/troubleshooting/misc",
text: "User management",
link: "/self-hosting/administration/users",
},
{
text: "Bucket CORS",
link: "/self-hosting/troubleshooting/bucket-cors",
text: "Reverse proxy",
link: "/self-hosting/administration/reverse-proxy",
},
{
text: "Uploads",
link: "/self-hosting/troubleshooting/uploads",
text: "Object storage",
link: "/self-hosting/administration/object-storage",
},
{
text: "Docker / quickstart",
link: "/self-hosting/troubleshooting/docker",
text: "Ente CLI",
link: "/self-hosting/administration/cli",
},
{
text: "Ente CLI secrets",
link: "/self-hosting/troubleshooting/keyring",
text: "Backup",
link: "/self-hosting/administration/backup",
},
],
},
{
text: "Development",
collapsed: true,
items: [
{
text: "Building mobile apps",
link: "/self-hosting/development/mobile-build",
},
],
},
@@ -321,31 +333,30 @@ export const sidebar = [
link: "/self-hosting/guides/tailscale",
},
{
text: "Ente with External S3",
link: "/self-hosting/guides/external-s3",
text: "Running Ente using systemd",
link: "/self-hosting/guides/systemd",
},
],
},
{
text: "FAQ",
text: "Troubleshooting",
collapsed: true,
items: [
{ text: "General", link: "/self-hosting/faq/" },
{
text: "Verification code",
link: "/self-hosting/faq/otp",
text: "General",
link: "/self-hosting/troubleshooting/misc",
},
{
text: "Shared albums",
link: "/self-hosting/faq/sharing",
text: "Docker / quickstart",
link: "/self-hosting/troubleshooting/docker",
},
{
text: "Backups",
link: "/self-hosting/faq/backup",
text: "Uploads",
link: "/self-hosting/troubleshooting/uploads",
},
{
text: "Environment variables",
link: "/self-hosting/faq/environment",
text: "Ente CLI",
link: "/self-hosting/troubleshooting/cli",
},
],
},

View File

@@ -105,8 +105,7 @@ Ente Auth offers various import and export options for your codes.
automatically via the CLI.
- **Import:** Import codes from various other authentication apps.
For detailed instructions, refer to the
[migration guides](../migration-guides/).
For detailed instructions, refer to the [migration guides](../migration/).
### Deduplicate codes

View File

@@ -1,7 +1,6 @@
---
title: Migrating to Ente Auth
description:
Guides for migrating your existing 2FA tokens into or out of Ente Auth
description: Guides for migrating your existing 2FA tokens into or out of Ente Auth
---
# Migrating to/from Ente Auth

0
docs/docs/cli/index.md Normal file
View File

View File

@@ -6,7 +6,7 @@ description: >
# Welcome!
![Ducky: Ente's Mascot](/public/ducky.png){width=50% style="margin: 0 auto"}
![Ducky: Ente's Mascot](/ducky.png){width=50% style="margin: 0 auto"}
## Introduction
@@ -14,16 +14,16 @@ 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
- **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.
Ente was founded by Vishnu Mohandas (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
@@ -76,7 +76,7 @@ and stay updated:
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)
[support@ente.io](mailto:support@ente.io).
For community support, please post your queries on
[Discord](https://discord.gg/z2YVKkycX3)
For community support, please post your queries on our
[Discord](https://discord.gg/z2YVKkycX3) server.

View File

@@ -1,7 +1,6 @@
---
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

View File

@@ -67,7 +67,7 @@ reliable as any one can be.
If you would like to fund the development of this project, please consider
[subscribing](https://ente.io/download).
## How do I pronounce ente?
## How do I pronounce Ente?
It's like cafe 😊. kaf-_ay_. en-_tay_.

View File

@@ -1,7 +1,6 @@
---
title: Security and Privacy FAQ
description:
Comprehensive information about security and privacy measures in Ente Photos
description: Comprehensive information about security and privacy measures in Ente Photos
---
# Security and Privacy FAQ

View File

@@ -1,7 +1,6 @@
---
title: Cast
description:
Casting your photos on to a large screen or a TV or a Chromecast device
description: Casting your photos on to a large screen or a TV or a Chromecast device
---
# Cast

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@@ -0,0 +1,105 @@
---
title: Custom domains
description: Use your own domain when sharing photos and videos stored in Ente Photos
---
# Custom domains
Custom domains allow you to serve your public links with your own personalized domain.
For example, if I have an Ente album and wish to share it with my friends, I can go to the album's sharing settings and create a public link. When I copy this link, it will of the form of
```
https://albums.ente.io/?t=...
```
The custom domains feature allows you to instead create a link that uses your own domain, say
```
https://pics.example.org/?t=...
```
You don't need to run any servers or manage any services, Ente will still host and serve your album for you, the only thing that changes is that you can serve your links using your personalized domain.
## Availability
The custom domains feature requires the ability to publicly share albums which for abuse prevention reasons can only be done by people with an active Ente subscription.
## Setup
The setup involves two steps:
1. Letting Ente know about the domain you wish to use for serving your public links
2. Updating your DNS settings to point your domain (or subdomain) to **my.ente.io**
For people who are comfortable with changing DNS settings on their domain provider, this entire process is very simple will take a minute. For people who are not comfortable with changing DNS, we will provide a more detailed breakdown below.
Let's dive in.
To make the process concrete, let's assume we're trying to use _pics.example.org_ as our custom domain. Note that there is no restriction to use a subdomain, a top level domain can be used as a custom domain too. That is, either of _example.org_ or _subdomain.example.org_ is fine, Ente will work with both.
### Step 1 - Link your domain
The first step is to let Ente know about the domain or subdomain you wish to use by linking it to your account.
> [!WARNING]
>
> Currently (Aug 2025) the ability to link a custom domain is only present in Ente's web app, [web.ente.io](https://web.ente.io). It will come to Ente mobile and desktop when their next versions get released.
Head over to Preferences > Custom domains, in the domain field enter "pics.example.org" (replace with your subdomain) and press "Save". That's it. The linking is done.
### Step 2 - Add DNS entry
The second step is to add a CNAME entry in your DNS provider that forwards requests for pics.example.org (replace with your subdomain) to **my.ente.io**.
Specifically, you need to add a `CNAME record` from the domain (or subdomain) of your choice to `my.ente.io`. You can leave the `TTL` at its default.
| Record Type | Name | Value | TTL |
| ----------- | :------------------------: | -----------: | -------------- |
| CNAME | Your subdomain, e.g `pics` | `my.ente.io` | Auto (default) |
The exact steps for doing this depend on the DNS provider that you're using.
> Your DNS provider usually is the service from which you bought your domain. The domain name seller will provide some sort of an admin panel where you can configure your DNS settings.
As concrete examples, here is how this step would look for Cloudflare:
![Adding a CNAME for custom domain in Cloudflare](cf.png)
Note that orange proxy option is off. And here is how it would look for Namecheap:
![Adding a CNAME for custom domain in Namecheap](nc.png)
> [!NOTE]
>
> The examples are using "pics" as the subdomain, but that's just an example, you can use anything you like (or use "@" if you'd like to use the root domain itself).
The time it takes for DNS records to update is dependent on your DNS provider. Usually the changes should start reflecting within a few minutes, and should almost always reflect within an hour.
Once the DNS changes have been applied, then you can take any public link to your shared albums, replace `albums.ente.io` with your choice (e.g. `pics.example.org`), and the link will still work.
You don't need to do this manually though, the apps will do it for you. More on this in the next section. But first, some troubleshooting tips.
### Troubleshooting
If your domain is not working, go through the following checklist.
- The CNAME should be from your domain to my.ente.io, not the other way around. That is, `pics.example.org => my.ente.io`.
- If you're using Cloudflare DNS, make sure that the "Orange" proxy status toggle is off, and the Proxy status is the "Grey" DNS only.
## Using
Using is trivial. When you go to an album's sharing options and copy the link to it, Ente will automatically copy the link that uses your configured domain.
> [!WARNING]
>
> Currently (Aug 2025) the ability to automatically substitute your custom domain is only present in Ente's web app, [web.ente.io](https://web.ente.io). It will come to Ente mobile and desktop when their next versions get released.
## Unsetting
To stop using your custom domain, we need to undo the two steps we did during setup.
1. Unlink your domain in Ente. This can be done just by going to Preferences > Custom Domains, clearing the value in the "Domain" input and pressing "Update".
2. Remove the CNAME record you added during setup in your DNS provider.

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -1,7 +1,6 @@
---
title: Family plans
description:
Share your Ente Photos plan with your family members with no extra cost
description: Share your Ente Photos plan with your family members with no extra cost
---
# Family plans

View File

@@ -1,7 +1,6 @@
---
title: Watch folder
description:
Automatic syncing of selected folders using the Ente Photos desktop app
description: Automatic syncing of selected folders using the Ente Photos desktop app
---
# Watch folders

View File

@@ -1,7 +1,6 @@
---
title: Import from local hard disk
description:
Migrating to Ente Photos by importing data from your local hard disk
description: Migrating to Ente Photos by importing data from your local hard disk
---
# Import photos from your local hard disk

View File

@@ -99,3 +99,17 @@ If you do want to run it from the command line, you can do so by passing the
For more details, see this upstream issue on
[electron](https://github.com/electron/electron/issues/17972).
### Application reporting offline despite Internet connectivity
Due to unreliability of usage of `navigator.onLine` in Linux, the app may report that you are offline, even though the internet connection is functional.
You can resolve the issue by adding a dummy network interface using the following command:
```shell
ip link add dummy0 type dummy
ip addr add 10.10.10.1/24 dev dummy0
ip link set dummy0 up
```
Once the interface is up, Ente correctly detects that the system is online.

View File

@@ -1,7 +1,6 @@
---
title: Files not uploading
description:
Troubleshooting when files are not uploading from your Ente Photos app
description: Troubleshooting when files are not uploading from your Ente Photos app
---
# Files not uploading

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -0,0 +1,47 @@
---
title: Backups - Self-hosting
description: General introduction to backing up your self hosted Ente instance
---
# Backing up your Ente instance
A functional Ente backend needs three things:
1. Museum (the API server)
2. Postgres (the database)
3. Object storage (any S3-compatible object storage)
Thus, when thinking about backups:
1. For Museum, you should backup your `museum.yaml`, `credentials.yaml` or any
other custom configuration that you created.
2. The entire data volume needs to be backed up for the database and object
storage.
A common oversight is taking a lot of care for backing up the object storage,
even going as far as enabling replication and backing up the the multiple object
storage volumes, but not applying the same care to the database backup.
While the actual encrypted photos are indeed stored in the object storage,
**this encrypted data will not be usable without the database** since the
database contains information like a file specific encryption key.
Viewed differently, to decrypt your data you need three pieces of information:
1. The encrypted file data itself (which comes from the object storage backup).
2. The encrypted file and collection specific encryption keys (which come from
the database backup).
3. The master key (which comes from your password).
If you're starting out with self hosting, we recommend keeping plaintext backup
of your photos.
[You can use the CLI or the desktop app to automate this](/photos/faq/export).
Once you get more comfortable with the various parts, you can try backing up
your instance.
If you rely on your instance backup, ensure that you do full restoration to
verify that you are able to access your data.
As the industry saying goes, a backup without a restore is no backup at all.

View File

@@ -0,0 +1,83 @@
---
title: Ente CLI for Self-hosted Instance - Self-hosting
description: Guide to configuring Ente CLI for Self Hosted Instance
---
# Ente CLI for self-hosted instance
If you are self-hosting, you can configure Ente CLI to export data & perform
basic administrative actions.
## Step 1: Configure endpoint
To do this, first configure the CLI to use your server's endpoint.
Define `config.yaml` and place it in `~/.ente/` or directory specified by
`ENTE_CLI_CONFIG_DIR` or directory where Ente CLI is present.
```yaml
# Set the API endpoint to your domain where Museum is being served.
endpoint:
api: http://localhost:8080
```
## Step 2: Whitelist admins
You can whitelist administrator users by following this
[guide](/self-hosting/administration/users#whitelist-admins).
## Step 3: Add an account
::: info You can not create new accounts using Ente CLI.
You can only log in to your existing accounts.
To create a new account, use Ente Photos (or Ente Auth) web application, desktop
or mobile.
:::
You can add your existing account using Ente CLI.
```shell
ente account add
```
This should prompt you for authentication details and export directory. Your
account should be added after successful authentication.
It can be used for exporting data (for plain-text backup), managing Ente Auth
and performing administrative actions.
## Step 4: Increase storage and account validity
You can use `ente admin update-subscription` to increase storage quota and
account validity (duration).
For infinite storage and validity, use the following command:
```shell
ente admin update-subscription -a <admin-user-mail> -u <user-email-to-update> --no-limit
# Set a limit
ente admin update-subscription -a <admin-user-mail> -u <user-email-to-update> --no-limit False
```
::: info The users must be registered on the server with same e-mail address.
If the commands are failing, ensure:
1. `<admin-user-mail>` is whitelisted as administrator user in `museum.yaml`.
For more information, check this
[guide](/self-hosting/administration/users#whitelist-admins).
2. `<user-email-to-update>` is a registered user with completed verification.
:::
For more information, check out the documentation for setting
[storage and account validity](https://github.com/ente-io/ente/blob/main/cli/docs/generated/ente_admin_update-subscription.md)
using the CLI.
## References
1. [Ente CLI Documentation](https://github.com/ente-io/ente/blob/main/cli/docs/generated)

View File

@@ -0,0 +1,142 @@
---
title: Configuring Object Storage - Self-hosting
description:
Configure Object Storage for storing files along with some troubleshooting
tips
---
# Configuring Object Storage
Ente relies on [S3-compatible](https://docs.aws.amazon.com/s3/) cloud storage
for storing files (photos, thumbnails and videos) as objects.
Ente ships MinIO as S3-compatible storage by default in quickstart and Docker
Compose for quick testing.
This document outlines configuration of S3 buckets and enabling replication for
further usage.
## Museum
The S3-compatible buckets have to be configured in `museum.yaml` file.
### General Configuration
Some of the common configuration that can be done at top-level are:
1. **SSL Configuration:** If you need to configure SSL (i. e., the buckets are
accessible via HTTPS), you'll need to set `s3.are_local_buckets` to `false`.
2. **Path-style URLs:** Disabling `s3.are_local_buckets` also switches to the
subdomain-style URLs for the buckets. However, some S3 providers such as
MinIO do not support this.
Set `s3.use_path_style_urls` to `true` for such cases.
### Replication
> [!IMPORTANT]
>
> Replication works only if all 3 storage buckets are configured (2 hot and 1
> cold storage).
>
> For more information, check
> [this discussion](https://github.com/ente-io/ente/discussions/3167#discussioncomment-10585970)
> and our article on ensuring [reliability](https://ente.io/reliability/).
Replication is disabled by default in self-hosted instance. Only the first
bucket (`b2-eu-cen`) is used.
Only the names are specifically fixed, you can put any other keys in
configuration body.
Use the `s3.hot_storage.primary` option if you'd like to set one of the other
pre-defined buckets as the primary bucket.
### Bucket configuration
The keys `b2-eu-cen` (primary storage), `wasabi-eu-central-2-v3` (secondary
storage) and `scw-eu-fr-v3` (cold storage) are hardcoded, however, the keys and
secret can be anything.
It has no relation to Backblaze, Wasabi or Scaleway.
Each bucket's endpoint, region, key and secret should be configured accordingly
if using an external bucket.
If a bucket has SSL support enabled, set `s3.are_local_buckets` to `false`. Enable path-style URL by setting `s3.use_path_style_urls` to `true`.
::: note
You can configure this for individual buckets over defining top-level configuration if you are using the latest server image (August 2025)
:::
A sample configuration for `b2-eu-cen` is provided, which can be used for other 2 buckets as well:
```yaml
b2-eu-cen:
are_local_buckets: true
use_path_style_urls: true
key: <key>
secret: <secret>
endpoint: localhost:3200
region: eu-central-2
bucket: b2-eu-cen
```
## CORS (Cross-Origin Resource Sharing)
If you cannot upload a photo due to CORS error, you need to fix the CORS
configuration of your bucket.
Use the content provided below for creating a `cors.json` file:
```json
{
"CORSRules": [
{
"AllowedOrigins": ["*"],
"AllowedHeaders": ["*"],
"AllowedMethods": ["GET", "HEAD", "POST", "PUT", "DELETE"],
"MaxAgeSeconds": 3000,
"ExposeHeaders": ["Etag"]
}
]
}
```
You may have to change the `AllowedOrigins` to allow only certain origins (your
Ente web apps and Museum) for security.
Assuming you have AWS CLI on your system and that you have configured it with
your access key and secret, you can execute the below command to set bucket
CORS. Make sure to enter the right path for the `cors.json` file.
```shell
aws s3api put-bucket-cors --bucket YOUR_S3_BUCKET --cors-configuration /path/to/cors.json
```
### MinIO
Assuming you have configured an alias for MinIO account using the command:
```shell
mc alias set storage-account-alias minio-endpoint minio-key minio-secret
```
where,
1. `storage-account-alias` is a valid storage account alias name
2. `minio-endpoint` is the endpoint where MinIO is being served without the
protocol (http or https). Example: `localhost:3200`
3. `minio-key` is the MinIO username defined in `MINIO_ROOT_USER`
4. `minio-secret` is the MinIO password defined in `MINIO_PASSWORD`
To set the `AllowedOrigins` Header, you can use the following command:.
```shell
mc admin config set storage-account-alias 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.

View File

@@ -0,0 +1,101 @@
---
Title: Configuring Reverse Proxy - Self-hosting
Description: Configuring reverse proxy for Museum and other services
---
# Reverse proxy
Reverse proxy helps in making application services accessible via the Internet
without exposing multiple ports for various services.
It also allows configuration of HTTPS through SSL certificate management.
We highly recommend using HTTPS for Museum (Ente's server). For security
reasons, Museum will not accept incoming HTTP traffic.
## Pre-requisites
1. **Reverse Proxy:** We recommend using Caddy for simplicity of configuration
and automatic certificate generation and management, although you can use
other alternatives such as NGINX, Traefik, etc.
Install Caddy using the following command on Debian/Ubuntu-based systems:
```shell
sudo apt install caddy
```
Start the service and enable it to start upon system boot.
```shell
sudo systemctl start caddy
sudo systemctl enable caddy
```
## Step 1: Configure A or AAAA records
Set up the appropriate records for the endpoints in your DNS management
dashboard (usually associated with your domain registrar).
`A` or `AAAA` records pointing to your server's IP address are sufficient.
DNS propagation can take a few minutes to take effect.
![cloudflare](/cloudflare.png)
## Step 2: Configure reverse proxy
After installing Caddy, `Caddyfile` is created at `/etc/caddy/`. Edit
`/etc/caddy/Caddyfile` to configure reverse proxies.
You can edit the minimal configuration provided below for your own needs.
> yourdomain.tld is an example. Replace it with your own domain.
```groovy
# For Museum
api.ente.yourdomain.tld {
reverse_proxy http://localhost:8080
}
# For Ente Photos web app
web.ente.yourdomain.tld {
reverse_proxy http://localhost:3000
}
# For Ente Accounts web app
accounts.ente.yourdomain.tld {
reverse_proxy http://localhost:3001
}
# For Ente Albums web app
albums.ente.yourdomain.tld {
reverse_proxy http://localhost:3002
}
# For Ente Auth web app
auth.ente.yourdomain.tld {
reverse_proxy http://localhost:3003
}
# For Ente Cast web app
cast.ente.yourdomain.tld {
reverse_proxy http://localhost:3004
}
```
## Step 3: Reload reverse proxy
Reload Caddy for changes to take effect.
```shell
sudo systemctl caddy reload
```
## Step 4: Verify the setup
Ente Photos web app should be up on https://web.ente.yourdomain.tld and Museum
at https://api.ente.yourdomain.tld.
> [!TIP] If you are using other reverse proxy servers such as NGINX, Traefik,
> etc., please check out their documentation.

View File

@@ -0,0 +1,126 @@
---
title: User Management - Self-hosting
description: Guide to configuring Ente CLI for Self Hosted Instance
---
# User Management
You may wish to self-host Ente for your family or close circle. In such cases,
you may wish to enable administrative access for few users, disable new
registrations, manage one-time tokens (OTTs), etc.
This document covers the details on how you can administer users on your server.
## Whitelist admins
The administrator users have to be explicitly whitelisted in `museum.yaml`. You
can achieve this the following steps:
1. Connect to `ente_db` (the database used for storing data related to Ente).
```shell
# Change the DB name and DB user name if you use different
# values.
# If using Docker
docker exec -it <postgres-ente-container-name>
psql -U pguser -d ente_db
# Or when using psql directly
psql -U pguser -d ente_db
```
2. Get the user ID of the first user by running the following SQL query:
```sql
SELECT * from users;
```
3. Edit `internal.admins` or `internal.admin` (if you wish to whitelist only
single user) in `museum.yaml` to add the user ID you wish to whitelist.
- For multiple admins:
```yaml
internal:
admins:
- <user_id>
```
- For single admin:
```yaml
internal:
admin: <user_id>
```
4. Restart Museum by restarting the cluster
::: tip Restart your Compose clusters whenever you make changes
If you have edited the Compose file or configuration file (`museum.yaml`), make
sure to recreate the cluster's containers.
You can do this by the following command:
```shell
docker compose down && docker compose up -d
```
:::
## Increase storage and account validity
You can use Ente CLI for increasing storage quota and account validity for users
on your instance. Check this guide for more
[information](/self-hosting/administration/cli#step-4-increase-storage-and-account-validity)
## Handle user verification codes
Ente currently relies on verification codes for completion of registration.
These are accessible in server logs. If using Docker Compose, they can be
accessed by running `sudo docker compose logs` in the cluster folder where
Compose file resides.
However, you may wish to streamline this workflow. You can follow one of the 2
methods if you wish to have many users in the system.
### Use hardcoded OTTs
You can configure to use hardcoded OTTs only for specific emails, or based on
suffix.
A sample configuration for the same is provided below, which is to be used in
`museum.yaml`:
```yaml
internal:
hardcoded-ott:
emails:
- "example@example.org,123456"
local-domain-suffix: "@example.org"
local-domain-value: 012345
```
This sets OTT to 123456 for the email address example@example.com and 012345 for
emails having @example.com as suffix.
### Send email with verification code
You can configure SMTP for sending verification code e-mails to users, if you do
not wish to hardcode OTTs and have larger audience.
For more information on configuring email, check out the
[email configuration](/self-hosting/installation/config#email) section.
## Disable registrations
For security purposes, you may choose to disable registrations on your instance.
You can disable new registrations by using the following configuration in
`museum.yaml`.
```yaml
internal:
disable-registration: true
```

View File

@@ -1,27 +0,0 @@
---
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

@@ -1,65 +0,0 @@
---
title: Backups
description: General introduction to backing up your self hosted Ente instance
---
# Backing up your Ente instance
> [!WARNING]
>
> This is not meant to be a comprehensive and bullet proof guide. There are many
> moving parts, and small mistakes might make your backups unusable.
>
> Please treat this only as a general introduction. And remember to test your
> restores.
At the minimum, a functional Ente backend needs three things:
1. Museum (the API server)
2. Postgres (the database)
3. Object storage (any S3-compatible object storage)
When thinking about backups, this translates into backing up the relevant state
from each of these:
1. For museum, you'd want to backup your `museum.yaml`, `credentials.yaml` or
any other custom configuration that you created. In particular, you should
backup the
[secrets that are specific to your instance](https://github.com/ente-io/ente/blob/74377a93d8e20e969d9a2531f32f577b5f0ef090/server/configurations/local.yaml#L188)
(`key.encryption`, `key.hash` and `jwt.secret`).
2. For postgres, the entire data volume needs to be backed up.
3. For object storage, the entire data volume needs to be backed up.
A common oversight is taking a lot of care for backing up the object storage,
even going as far as enabling replication and backing up the the multiple object
storage volumes, but not applying the same care to the database backup.
While the actual encrypted photos are indeed stored in the object storage,
**this encrypted data will not be usable without the database** since the
database contains information like a file specific encryption key.
Viewed differently, to decrypt your data you need three pieces of information:
1. The encrypted file data itself (which comes from the object storage backup).
2. The ([encrypted](https://ente.io/architecture/)) file and collection specific
encryption keys (which come from the database backup).
3. The master key (which comes from your password).
---
If you're starting out with self hosting, our recommendation is to start by
keeping a plaintext backup of your photos.
[You can use the CLI or the desktop app to automate this](/photos/faq/export).
Once you get more comfortable with the various parts, you can try backing up
your instance. As a reference,
[this document outlines how Ente itself treats backups](https://ente.io/reliability).
If you stop doing plaintext backups and instead rely on your instance backup,
ensure that you do the full restore process also to verify you can get back your
data. As the industry saying goes, a backup without a restore is no backup at
all.

View File

@@ -1,52 +0,0 @@
---
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

@@ -1,47 +0,0 @@
---
title: FAQ - Self hosting
description: Frequently asked questions about self hosting Ente
---
# Frequently Asked Questions
### Do Ente Photos and Ente Auth share the same backend?
Yes. The apps share the same backend, the same database and the same object
storage namespace. The same user account works for both of them.
### Can I just self host Ente Auth?
Yes, if you wish, you can self-host the server and use it only for the 2FA auth
app. The starter Docker compose will work fine for either Photos or Auth (or
both!).
> You currently don't need to configure the S3 object storage (e.g. minio
> containers) if you're only using your self hosted Ente instance for auth.
### Can I use the server with _X_ as the object storage?
Yes. As long as whatever X you're using provides an S3 compatible API, you can
use it as the underlying object storage. For example, the starter self-hosting
Docker compose file we offer uses MinIO, and on our production deployments we
use Backblaze/Wasabi/Scaleway. But that's not the full list - as long as the
service you intend to use has a S3 compatible API, it can be used.
### How do I increase storage space for users on my self hosted instance?
See the [guide for administering your server](/self-hosting/guides/admin). In
particular, you can use the `ente admin update-subscription` CLI command to
increase the
[storage and account validity](https://github.com/ente-io/ente/blob/main/cli/docs/generated/ente_admin_update-subscription.md)
of accounts on your instance.
### How can I become an admin on my self hosted instance?
The first user you create on your instance is treated as an admin.
If you want, you can modify this behaviour by providing an explicit list of
admins in the [configuration](/self-hosting/guides/admin#becoming-an-admin).
### Can I disable registration of new accounts on my self hosted instance?
Yes. See `internal.disable-registration` in local.yaml.

View File

@@ -1,45 +0,0 @@
---
title: Verification code
description: Getting the OTP for a self hosted Ente
---
# Verification code
The self-hosted Ente by default does not send out emails, so you can pick the
verification code by:
- Getting it from the server logs, or
- 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
> your verification code via emails by using the `smtp` section in the config.
You can also set pre-defined hardcoded OTTs for certain users when running
locally by creating a `museum.yaml` and adding the `internal.hardcoded-ott`
configuration setting to it. See
[local.yaml](https://github.com/ente-io/ente/blob/main/server/configurations/local.yaml)
in the server source code for details about how to define this.
> [!NOTE]
>
> If you're not able to get the OTP with the above methods, make sure that you
> are actually connecting to your self hosted instance and not to Ente's
> production servers. e.g. you can use the network requests tab in the browser
> console to verify that the API requests are going to your server instead of
> `api.ente.io`.

View File

@@ -1,104 +0,0 @@
---
title: Album sharing
description: Getting album sharing to work using an self-hosted Ente
---
# Is public sharing available for self-hosted instances?
Yes.
You'll need to run two instances of the web app, one is regular web app, but
another one is the same code but running on a different origin (i.e. on a
different hostname or different port).
Then, you need to tell the regular web app to use your second instance to
service public links. You can do this by setting the
`NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT` to point to your second instance when running
or building the regular web app.
For more details, see
[.env](https://github.com/ente-io/ente/blob/main/web/apps/photos/.env) and
[.env.development](https://github.com/ente-io/ente/blob/main/web/apps/photos/.env.development).
As a concrete example, assuming we have a Ente server running on
`localhost:8080`, we can start two instances of the web app, passing them
`NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT` that points to the origin
("scheme://host[:port]") of the second "albums" instance.
The first one, the normal web app
```sh
NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 \
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 \
yarn dev:photos
```
The second one, the same code but acting as the "albums" app (the only
difference is the port it is running on):
```sh
NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 \
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 \
yarn dev:albums
```
If you also want to change the prefix (the origin) in the generated public
links, to use your custom albums endpoint in the generated public link instead
of albums.ente.io, set `apps.public-albums` property in museum's configuration
For example, when running using the starter docker compose file, you can do this
by creating a `museum.yaml` and defining the following configuration there:
```yaml
apps:
public-albums: http://localhost:3002
```
(For more details, see
[local.yaml](https://github.com/ente-io/ente/blob/main/server/configurations/local.yaml)
in the server's source code).
## Dockerfile example
Here is an example of a Dockerfile by @Dylanger on our community Discord. This
runs a standalone self-hosted version of the public albums app in production
mode.
```Dockerfile
FROM node:20-alpine as builder
WORKDIR /app
COPY . .
ARG NEXT_PUBLIC_ENTE_ENDPOINT=https://your.ente.example.org
ARG NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=https://your.albums.example.org
RUN yarn install && yarn build
FROM node:20-alpine
WORKDIR /app
COPY --from=builder /app/apps/photos/out .
RUN npm install -g serve
ENV PORT=3000
EXPOSE ${PORT}
CMD serve -s . -l tcp://0.0.0.0:${PORT}
```
Note that this only runs the public albums app, but the same principle can be
used to run both the normal Ente photos app and the public albums app. There is
a slightly more involved example showing how to do this also provided by in a
community contributed guide about
[configuring external S3](/self-hosting/guides/external-s3).
You will also want to tell museum about your custom shared albums endpoint so
that it uses that instead of the default URL when creating share links. You can
configure that in museum's `config.yaml`:
```
apps:
public-albums: https://your.albums.example.org
```

View File

@@ -1,88 +0,0 @@
---
title: Server admin
description: Administering your custom self-hosted Ente instance using the CLI
---
## Becoming an admin
By default, the first user (and only the first user) created on the system is
considered as an admin.
This facility is provided as a convenience for people who are getting started
with self hosting. For more serious deployments, we recommend creating an
explicit whitelist of admins.
> [!NOTE]
>
> The first user is only treated as the admin if the list of admins in the
> configuration is empty.
>
> Also, if at some point you delete the first user, then you will need to define
> a whitelist to make some other user as the admin if you wish (since the first
> account has been deleted).
To whitelist the user IDs that can perform admin actions on the server, use the
following steps:
- Create a `museum.yaml` in the directory where you're starting museum from. For
example, if you're running using `docker compose up`, then this file should be
in the same directory as `compose.yaml` (generally, `server/museum.yaml`).
> Docker might've created an empty `museum.yaml` _directory_ on your machine
> previously. If so, delete that empty directory and create a new file named
> `museum.yaml`.
- In this `museum.yaml` we can add overrides over the default configuration.
For whitelisting the admin userIDs we need to define an `internal.admins`. See
the "internal" section in
[local.yaml](https://github.com/ente-io/ente/blob/main/server/configurations/local.yaml)
in the server source code for details about how to define this.
Here is an example. Suppose we wanted to whitelist a user with ID
`1580559962386440`, we can create the following `museum.yaml`
```yaml
internal:
admins:
- 1580559962386440
```
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

@@ -1,123 +0,0 @@
---
title: Configuring S3 buckets
description:
Configure S3 endpoints to fix upload errors or use your self hosted ente
from outside localhost
---
# Architecture
![Client, Museum, S3](/client-museum-s3.png)
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)
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.
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
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 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`) 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.png)
<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).
>
> [Reference](https://github.com/ente-io/ente/discussions/3167#discussioncomment-10585970)
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.
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
with `b2`, `wasabi` or even `scaleway`.
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
> [!NOTE]
>
> 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 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 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
An example `museum.yaml` when you're trying to connect to museum running on your
computer from your phone on the same WiFi network:
```yaml
s3:
are_local_buckets: true
b2-eu-cen:
key: test
secret: testtest
endpoint: http://<YOUR-WIFI-IP>:3200
region: eu-central-2
bucket: b2-eu-cen
```

View File

@@ -1,115 +0,0 @@
---
title: Custom server
description: Using a custom self-hosted server with Ente client apps and CLI
---
# Connecting to a custom server
You can modify various Ente client apps and CLI to connect to a self hosted
custom server endpoint.
[[toc]]
## Mobile
The pre-built Ente apps from GitHub / App Store / Play Store / F-Droid can be
easily configured to use a custom server.
You can tap 7 times on the onboarding screen to bring up a page where you can
configure the endpoint the app should be connecting to.
![Setting a custom server on the onboarding screen](custom-server.png)
## Desktop and web
Same as the mobile app, you can tap 7 times on the onboarding screen to
configure the endpoint the app should connect to.
<div align="center">
![Setting a custom server on the onboarding screen on desktop or self-hosted web
apps](web-dev-settings.png){width=400px}
</div>
This works on both the desktop app and web app (if you deploy on your own).
To make it easier to identify when a custom server is being used, app will
thereafter show the endpoint in use (if not Ente's production server) at the
bottom of the login prompt:
![Custom server indicator on the onboarding screen](web-custom-endpoint-indicator.png)
Similarly, it'll be shown at other screens during the login flow. After login,
you can also see it at the bottom of the sidebar.
Note that the custom server configured this way is cleared when you reset the
state during logout. In particular, the app also does a reset when you press the
change email button during the login flow.
### Building from source
Alternatively (e.g. if you don't wish to configure this setting and just want to
change the endpoint the client connects to by default), you can build the app
from source and use the `NEXT_PUBLIC_ENTE_ENDPOINT` environment variable to tell
it which server to connect to. For example:
```sh
NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 yarn dev:photos
```
For more details, see
[hosting the web app](https://help.ente.io/self-hosting/guides/web-app).
## CLI
> [!NOTE]
>
> You can download the CLI from
> [here](https://github.com/ente-io/ente/releases?q=tag%3Acli-v0)
Define a config.yaml and put it either in the same directory as where you run
the CLI from ("current working directory"), or in the path defined in env
variable `ENTE_CLI_CONFIG_PATH`:
```yaml
endpoint:
api: "http://localhost:8080"
```
(Another
[example](https://github.com/ente-io/ente/blob/main/cli/config.yaml.example))
## Find the hostname of your server
If you want to access your museum within your own network, you can use the
`hostname` command to find a addressable local network hostname or IP for your
computer, and then use it by suffixing it with the port number.
First, run
```sh
hostname
```
The result will look something like this
```sh
my-computer.local
```
You will need to replace the server endpoint with an address that uses your
server's hostname and the port number. Here's an example:
```
http://my-computer.local:8080
```
Note that this will only work within your network. To access it from outside the
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.

View File

@@ -1,158 +0,0 @@
---
title: DB Migration
description:
Migrating your self hosted Postgres 12 database to newer Postgres versions
---
# Migrating Postgres 12 to 15
The old sample docker compose file used Postgres 12, which is now nearing end of
life, so we've updated it to Postgres 15. Postgres major versions changes
require a migration step. This document mentions some approaches you can use.
> [!TIP]
>
> Ente itself does not use any specific Postgres 12 or Postgres 15 features, and
> will talk to either happily. It should also work with newer Postgres versions,
> but let us know if you run into any problems and we'll update this page.
### Taking a backup
`docker compose exec` allows us to run a command against a running container. We
can use it to run the `pg_dumpall` command on the postgres container to create a
plaintext backup.
Assuming your cluster is already running, and you are in the `ente/server`
directory, you can run the following (this command uses the default credentials,
you'll need to change these to match your setup):
```sh
docker compose exec postgres env PGPASSWORD=pgpass PGUSER=pguser PG_DB=ente_db pg_dumpall >pg12.backup.sql
```
This will produce a `pg12.backup.sql` in your current directory. You can open it
in a text editor (it can be huge!) to verify that it looks correct.
We won't be needing this file, this backup is recommended just in case something
goes amiss with the actual migration.
> If you need to restore from this plaintext backup, you could subsequently run
> something like:
>
> ```sh
> docker compose up postgres
> cat pg12.backup.sql | docker compose exec -T postgres env PGPASSWORD=pgpass psql -U pguser -d ente_db
> ```
## The migration
At the high level, the steps are
1. Stop your cluster.
2. Start just the postgres container after changing the image to
`pgautoupgrade/pgautoupgrade:15-bookworm`.
3. Once the in-place migration completes, stop the container, and change the
image to `postgres:15`.
#### 1. Stop the cluster
Stop your running Ente cluster.
```sh
docker compose down
```
#### 2. Run `pgautoupgrade`
Modify your `compose.yaml`, changing the image for the "postgres" container from
"postgres:12" to "pgautoupgrade/pgautoupgrade:15-bookworm"
```diff
diff a/server/compose.yaml b/server/compose.yaml
postgres:
- image: postgres:12
+ image: pgautoupgrade/pgautoupgrade:15-bookworm
ports:
```
[pgautoupgrade](https://github.com/pgautoupgrade/docker-pgautoupgrade) is a
community docker image that performs an in-place migration.
After making the change, run only the `postgres` container in the cluster
```sh
docker compose up postgres
```
The container will start and peform an in-place migration. Once it is done, it
will start postgres normally. You should see something like this is the logs
```
postgres-1 | Automatic upgrade process finished with no errors reported
...
postgres-1 | ... starting PostgreSQL 15...
```
At this point, you can stop the container (`CTRL-C`).
#### 3. Finish by changing image
Modify `compose.yaml` again, changing the image to "postgres:15".
```diff
diff a/server/compose.yaml b/server/compose.yaml
postgres:
- image: pgautoupgrade/pgautoupgrade:15-bookworm
+ image: postgres:15
ports:
```
And cleanup the temporary containers by
```sh
docker compose down --remove-orphans
```
Migration is now complete. You can start your Ente cluster normally.
```sh
docker compose up
```
## Migration elsewhere
The above instructions are for Postgres running inside docker, as the sample
docker compose file does. There are myriad other ways to run Postgres, and the
migration sequence then will depend on your exact setup.
Two common approaches are
1. Backup and restore, the `pg_dumpall` + `psql` import sequence described in
[Taking a backup](#taking-a-backup) above.
2. In place migrations using `pg_upgrade`, which is what the
[pgautoupgrade](#the-migration) migration above does under the hood.
The first method, backup and restore, is low tech and will work similarly in
most setups. The second method is more efficient, but requires a bit more
careful preparation.
As another example, here is how one can migrate 12 to 15 when running Postgres
on macOS, installed using Homebrew.
1. Stop your postgres. Make sure there are no more commands shown by
`ps aux | grep '[p]ostgres'`.
2. Install postgres15.
3. Migrate data using `pg_upgrade`:
```sh
/opt/homebrew/Cellar/postgresql@15/15.8/bin/pg_upgrade -b /opt/homebrew/Cellar/postgresql@12/12.18_1/bin -B /opt/homebrew/Cellar/postgresql@15/15.8/bin/ -d /opt/homebrew/var/postgresql@12 -D /opt/homebrew/var/postgresql@15
```
4. Start postgres 15 and verify version using `SELECT VERSION()`.

View File

@@ -1,261 +0,0 @@
---
title: External S3 buckets
description:
Self hosting Ente's server and photos web app when using an external S3
bucket
---
# Hosting server and web app using external S3
> [!NOTE]
>
> This is a community contributed guide, and some of these steps ~~might be~~
> ARE out of sync with the upstream changes. This document is retained for
> reference purposes, but if something is not working correctly, please see the
> latest [READMEs](https://github.com/ente-io/ente/blob/main/server/README.md)
> in the repository and/or other guides in [self-hosting](/self-hosting/).
This guide is for self hosting the server and the web application of Ente Photos
using docker compose and an external S3 bucket. So we assume that you already
have the keys and secrets for the S3 bucket. The plan is as follows:
1. Create a `compose.yaml` file
2. Set up the `.credentials.env` file
3. Run `docker-compose up`
4. Create an account and increase storage quota
5. Fix potential CORS issue with your bucket
## 1. Create a `compose.yaml` file
After cloning the main repository with
```bash
git clone https://github.com/ente-io/ente.git
# Or git clone git@github.com:ente-io/ente.git
cd ente
```
Create a `compose.yaml` file at the root of the project with the following
content (there is nothing to change here):
```yaml
services:
museum:
build:
context: server
args:
GIT_COMMIT: local
ports:
- 8080:8080 # API
- 2112:2112 # Prometheus metrics
depends_on:
postgres:
condition: service_healthy
# Wait for museum to ping pong before starting the webapp.
healthcheck:
test: [
"CMD",
"echo",
"1", # I don't know what to put here
]
environment:
# no need to touch these
ENTE_DB_HOST: postgres
ENTE_DB_PORT: 5432
ENTE_DB_NAME: ente_db
ENTE_DB_USER: pguser
ENTE_DB_PASSWORD: pgpass
env_file:
- ./.credentials.env
volumes:
- custom-logs:/var/logs
- museum.yaml:/museum.yaml:ro
networks:
- internal
web:
build:
context: web
ports:
- 8081:80
- 8082:80
depends_on:
museum:
condition: service_healthy
env_file:
- ./.credentials.env
postgres:
image: postgres:12
ports:
- 5432:5432
environment:
POSTGRES_USER: pguser
POSTGRES_PASSWORD: pgpass
POSTGRES_DB: ente_db
# Wait for postgres to be accept connections before starting museum.
healthcheck:
test: ["CMD", "pg_isready", "-q", "-d", "ente_db", "-U", "pguser"]
interval: 1s
timeout: 5s
retries: 20
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- internal
volumes:
custom-logs:
postgres-data:
networks:
internal:
```
It maybe be added in the future, but if it does not exist, create a `Dockerfile`
in the `web` directory with the following content:
```Dockerfile
# syntax=docker/dockerfile:1
FROM node:21-bookworm-slim as ente-builder
WORKDIR /app
RUN apt update && apt install -y ca-certificates && rm -rf /var/lib/apt/lists/*
COPY . .
RUN yarn install
ENV NEXT_PUBLIC_ENTE_ENDPOINT=DOCKER_RUNTIME_REPLACE_ENDPOINT
ENV NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=DOCKER_RUNTIME_REPLACE_ALBUMS_ENDPOINT
RUN yarn build
FROM nginx:1.25-alpine-slim
COPY --from=ente-builder /app/apps/photos/out /usr/share/nginx/html
COPY <<EOF /etc/nginx/conf.d/default.conf
server {
listen 80 default_server;
root /usr/share/nginx/html;
location / {
try_files \$uri \$uri.html \$uri/ =404;
}
error_page 404 /404.html;
location = /404.html {
internal;
}
}
EOF
ARG ENDPOINT="http://localhost:8080"
ENV ENDPOINT "$ENDPOINT"
ARG ALBUMS_ENDPOINT="http://localhost:8082"
ENV ALBUMS_ENDPOINT "$ALBUMS_ENDPOINT"
COPY <<EOF /docker-entrypoint.d/replace_ente_endpoints.sh
echo "Replacing endpoints"
echo " Endpoint: \$ENDPOINT"
echo " Albums Endpoint: \$ALBUMS_ENDPOINT"
replace_enpoints() {
sed -i -e 's,DOCKER_RUNTIME_REPLACE_ENDPOINT,'"\$ENDPOINT"',g' \$1
sed -i -e 's,DOCKER_RUNTIME_REPLACE_ALBUMS_ENDPOINT,'"\$ALBUMS_ENDPOINT"',g' \$1
}
for jsfile in `find '/usr/share/nginx/html' -type f -name '*.js'`
do
replace_enpoints "\$jsfile"
done
EOF
RUN chmod +x /docker-entrypoint.d/replace_ente_endpoints.sh
```
This runs nginx inside to handle both the web & album URLs so we don't have to
make two web images with different port.
- `DOCKER_RUNTIME_REPLACE_ENDPOINT` this is your public museum API URL.
- `DOCKER_RUNTIME_REPLACE_ALBUMS_ENDPOINT` this is the shared albums URL (for
more details about configuring shared albums, see
[faq/sharing](/self-hosting/faq/sharing)).
Note how above we had updated the `compose.yaml` file for the server with
```yaml
web:
build:
context: web
ports:
- 8081:80
- 8082:80
```
so that web and album both point to the same container and nginx will handle it.
## 2. Set up the `.credentials.env` file
Create a `.credentials.env` file at the root of the project with the following
content (here you need to set the correct value of each variable):
<!-- The following code block should have language env, but vitepress currently
doesn't support that language, so use sh as a reasonable fallback instead. -->
```sh
# run `go run tools/gen-random-keys/main.go` in the server directory to generate the keys
ENTE_KEY_ENCRYPTION=
ENTE_KEY_HASH=
ENTE_JWT_SECRET=
# if you deploy it on a server under a domain, you need to set the correct value of the following variables
# it can be changed later
# The backend server URL (Museum) to be used by the webapp
ENDPOINT=http://localhost:8080
# The URL of the public albums webapp (also need to be updated in museum.yml so the correct links are generated)
ALBUMS_ENDPOINT=http://localhost:8082
```
Create the `museum.yaml` with additional configuration, this will be mounted
(read-only) into the container:
```yaml
s3:
are_local_buckets: false
# For some self-hosted S3 deployments you (e.g. Minio) you might need to disable bucket subdomains
use_path_style_urls: true
# The key must be named like so
b2-eu-cen:
key: $YOUR_S3_KEY
secret: $YOUR_S3_SECRET
endpoint: $YOUR_S3_ENDPOINT
region: $YOUR_S3_REGION
bucket: $YOUR_S3_BUCKET_NAME
# The same value as the one specified in ALBUMS_ENDPOINT
apps:
public-albums: http://localhost:8082
```
## 3. Run `docker-compose up`
Run `docker-compose up` at the root of the project (add `-d` to run it in the
background).
## 4. Create an account and increase storage quota
Open `http://localhost:8080` or whatever Endpoint you mentioned for the web app
and create an account. If your SMTP related configurations are all set and
right, you will receive an email with your OTT in it. There are two work arounds
to retrieve the OTP, checkout
[this document](https://help.ente.io/self-hosting/faq/otp) for getting your
OTT's..
If you successfully log in, select any plan and increase the storage quota with
the following command:
```bash
docker compose exec -i postgres psql -U pguser -d ente_db -c "INSERT INTO storage_bonus (bonus_id, user_id, storage, type, valid_till) VALUES ('self-hosted-myself', (SELECT user_id FROM users), 1099511627776, 'ADD_ON_SUPPORT', 0)"
```
After few reloads, you should see 1 To of quota.
## Related
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

@@ -1,229 +0,0 @@
---
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

@@ -1,5 +1,5 @@
---
title: Self Hosting
title: Guides - Self-hosting
description: Guides for self hosting Ente Photos and/or Ente Auth
---
@@ -10,14 +10,12 @@ walkthroughs, tutorials and other FAQ pages in this directory.
See the sidebar for existing guides. In particular:
- If you're just looking to get started, see
[configure custom server](custom-server/).
- If you're just looking to get started, see installation.
- For various admin related tasks, e.g. increasing the storage quota on your
self hosted instance, see [administering your custom server](admin).
- For various administrative tasks, e.g. increasing the storage quota for user
on your self-hosted instance, see
[user management](/self-hosting/administration/users).
- For configuring your S3 buckets to get the object storage to work from your
mobile device or for fixing an upload errors, see
[configuring S3](configuring-s3). There is also a longer
[community contributed guide](external-s3) for a more self hosted setup of
both the server and web app using external S3 buckets for object storage.
[object storage](/self-hosting/administration/object-storage).

View File

@@ -1,39 +0,0 @@
---
title: CLI for Self Hosted Instance
description: Guide to configuring Ente CLI for Self Hosted Instance
---
## Self Hosting
If you are self-hosting the server, you can still configure CLI to export data &
perform basic admin actions.
To do this, first configure the CLI to point to your server. Define a
config.yaml and put it either in the same directory as CLI binary or path
defined in env variable `ENTE_CLI_CONFIG_DIR`
```yaml
endpoint:
api: "http://localhost:8080"
```
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.
For the admin actions, you first need to whitelist admin users. You can create
`server/museum.yaml`, and whitelist add the admin userID `internal.admins`. See
[local.yaml](https://github.com/ente-io/ente/blob/main/server/configurations/local.yaml#L211C1-L232C1)
in the server source code for details about how to define this.
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.
```yaml
internal:
admins:
# - 1580559962386440
```

View File

@@ -1,116 +0,0 @@
---
title: Installing Ente Standalone (without Docker)
description: Installing and setting up Ente standalone without docker.
---
# Installing and Deploying Ente Standalone (without Docker)
## Running Museum (Ente's server) without Docker
First, start by installing all the dependencies to get your machine ready for
development.
```sh
# For MacOS
brew tap homebrew/core
brew update
brew install go
# For Ubuntu based distros
sudo apt update && sudo apt upgrade
sudo apt install golang-go
```
Alternatively, you can also download the latest binaries from
['All Release'](https://go.dev/dl/) page from the official website.
```sh
brew install postgres@15
# Link the postgres keg
brew link postgresql@15
brew install libsodium
# For Ubuntu based distros
sudo apt install postgresql
sudo apt install libsodium23 libsodium-dev
```
The package `libsodium23` might be installed already in some cases.
Installing pkg-config
```sh
brew install pkg-config
# For Ubuntu based distros
sudo apt install pkg-config
```
## Starting Postgres
### With pg_ctl
```sh
pg_ctl -D /usr/local/var/postgres -l logfile start
```
Dependeing on the Operating System type the path for postgres binary or
configuration file might be different, please check if the command keeps failing
for you.
Ideally, if you are on a Linux system with systemd as the init. You can also
start postgres as a systemd service. After Installation execute the following
commands:
```sh
sudo systemctl enable postgresql
sudo systemctl daemon-reload && sudo systemctl start postgresql
```
### Create user
```sh
createuser -s postgres
```
## Start Museum
Start by cloning ente to your system.
```sh
git clone https://github.com/ente-io/ente
```
```sh
export ENTE_DB_USER=postgres
cd ente/server
go run cmd/museum/main.go
```
You can also add the export line to your shell's RC file, to avoid exporting the
environment variable every time.
For live reloads, install [air](https://github.com/air-verse/air#installation).
Then you can just call air after declaring the required environment variables.
For example,
```sh
ENTE_DB_USER=postgres
air
```
## Museum as a background service
Please check the below links if you want to run Museum as a service, both of
them are battle tested.
1. [How to run museum as a systemd service](https://gist.github.com/mngshm/a0edb097c91d1dc45aeed755af310323)
2. [Museum.service](https://github.com/ente-io/ente/blob/23e678889189157ecc389c258267685934b83631/server/scripts/deploy/museum.service#L4)
Once you are done with setting and running Museum, all you are left to do is run
the web app and reverse_proxy it with a webserver. You can check the following
resources for Deploying your web app.
1. [Hosting the Web App](https://help.ente.io/self-hosting/guides/web-app).
2. [Running Ente Web app as a systemd Service](https://gist.github.com/mngshm/72e32bd483c2129621ed0d74412492fd)

View File

@@ -1,14 +0,0 @@
---
title: System requirements
description: System requirements for running Ente's server
---
# System requirements
There aren't any "minimum" system requirements as such, the server process is
very light weight - it's just a single go binary, and it doesn't do any server
side ML, so I feel it should be able to run on anything reasonable.
We've used the server quite easily on small cloud instances, old laptops etc. A
community member also reported being able to run the server on
[very low-end embedded devices](https://github.com/ente-io/ente/discussions/594).

View File

@@ -0,0 +1,23 @@
---
title: Running Ente using systemd - Self-hosting
description: Running Ente services (Museum and web application) via systemd
---
# Running Ente using `systemd`
On Linux distributions using `systemd` as initialization system, Ente can be
configured to run as a background service, upon system startup by service files.
## Museum as a background service
Please check the below links if you want to run Museum as a service, both of
them are battle tested.
1. [How to run museum as a systemd service](https://gist.github.com/mngshm/a0edb097c91d1dc45aeed755af310323)
2. [Museum.service](https://github.com/ente-io/ente/blob/23e678889189157ecc389c258267685934b83631/server/scripts/deploy/museum.service#L4)
Once you are done with setting and running Museum, all you are left to do is run
the web app and set up reverse proxy. Check out the documentation for
[more information](/self-hosting/installation/manual#step-3-configure-web-application).
> **Credits:** [mngshm](https://github.com/mngshm)

View File

@@ -1,5 +1,5 @@
---
title: Self Hosting with Tailscale (Community)
title: Self-hosting with Tailscale - Self-hosting
description: Guides for self-hosting Ente Photos and/or Ente Auth with Tailscale
---
@@ -347,3 +347,5 @@ This will list all account details. Copy Acount ID.
> 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.
> **Credits:** [A4alli](https://github.com/A4alli)

View File

@@ -1,195 +0,0 @@
---
title: Hosting the web apps
description:
Building and hosting Ente's web apps, connecting it to your self-hosted
server
---
> [!WARNING] NOTE This page covers documentation around self-hosting the web app
> manually. If you want to deploy Ente hassle free, please use the
> [one line](https://ente.io/blog/self-hosting-quickstart/) command to setup
> Ente. This guide might be deprecated in the near future.
# Web app
The getting started instructions mention using `yarn dev` (which is an alias of
`yarn dev:photos`) to serve your web app.
> [!IMPORTANT] Please note that Ente's Web App supports the Yarn version 1.22.xx
> or 1.22.22 specifically. Make sure to install the right version or modify your
> yarn installation to meet the requirements. The user might end up into unknown
> version and dependency related errors if yarn is on different version.
```sh
cd ente/web
yarn install
NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 yarn dev:photos
```
This is fine for trying the web app and verifying that your self-hosted server
is working as expected etc. But if you would like to use the web app for a
longer term, then it is recommended to follow the Docker approach.
## With Docker/Docker Compose (Recommended)
> [!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://changeme.com
ENV NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=https://changeme.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, please take a note that they are not web pages 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.
```sh
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

@@ -1,37 +1,29 @@
---
title: Self Hosting
description: Getting started self hosting Ente Photos and/or Ente Auth
title: Quickstart - Self-hosting
description: Getting started with self-hosting Ente
---
# Self Hosting
# Quickstart
The entire source code for Ente is open source,
[including the servers](https://ente.io/blog/open-sourcing-our-server/). This is
the same code we use for our own cloud service.
If you're looking to spin up Ente on your server, you are in the right place!
Our entire source code,
[including the server](https://ente.io/blog/open-sourcing-our-server/) is open
source. This is the same code we use on production.
For a quick preview, make sure your system meets the requirements mentioned
below. After trying the preview, you can explore other ways of self-hosting Ente
on your server as described in the documentation.
## Requirements
### Hardware
- A system with at least 1 GB of RAM and 1 CPU core
- [Docker Compose](https://docs.docker.com/compose/)
The server is capable of running on minimal resource requirements as a
lightweight Go binary, since most of the intensive computational tasks are done
on the client. It performs well on small cloud instances, old laptops, and even
[low-end embedded devices](https://github.com/ente-io/ente/discussions/594).
> For more details, check out the
> [requirements page](/self-hosting/installation/requirements).
### Software
#### Operating System
Any Linux or \*nix operating system, Ubuntu or Debian is recommended to have a
good Docker experience. Non-Linux operating systems tend to provide poor
experience with Docker and difficulty with troubleshooting and assistance.
#### Docker
Required for running Ente's server, web application and dependent services
(database and object storage)
## Getting started
## Set up the server
Run this command on your terminal to setup Ente.
@@ -39,17 +31,60 @@ Run this command on your terminal to setup Ente.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente-io/ente/main/server/quickstart.sh)"
```
The above `curl` command pulls the Docker image, creates a directory `my-ente`
in the current working directory, prompts to start the cluster and starts all the containers required to run Ente.
This creates a directory `my-ente` in the current working directory, prompts to
start the cluster with needed containers after pulling the images required to
run Ente.
![quickstart](/quickstart.png)
::: info
![self-hosted-ente](/web-app.webp)
Make sure to modify the default values in `compose.yaml` and `museum.yaml` if
you wish to change endpoints, bucket configuration or server configuration.
> [!TIP] Important:
> If you have used quickstart for self-hosting Ente and are facing issues while > trying to run the cluster due to MinIO buckets not being created, please check [troubleshooting MinIO](/self-hosting/troubleshooting/docker#minio-provisioning-error)
>
>
:::
## Try the web app
Open Ente Photos web app at `http://<machine-ip>:3000` (or
`http://localhost:3000` if using on same local machine). Select **Don't have an
account?** to create a new user.
Follow the prompts to sign up.
<div style="display: flex; gap: 10px;">
<img alt="Onboarding screen" src="/onboarding.png" style="width: 50%; height: auto;">
<img alt="Sign up page" src="/sign-up.png" style="width: 50%; height: auto;">
</div>
Enter the verification code by checking the cluster logs using
`sudo docker compose logs`.
![Verification Code](/otp.png)
Upload a picture via the web user interface.
Alternatively, if using Ente Auth, get started by adding an account (assuming
you are running Ente Auth at `http://<machine-ip>:3002` or
`http://localhost:3002`).
## Try the mobile app
You can install Ente Photos from [here](/photos/faq/installing) and Ente Auth
from [here](/auth/faq/installing).
Connect to your server from
[mobile apps](/self-hosting/installation/post-install/#step-6-configure-apps-to-use-your-server).
## What next?
You may wish to install using a different way for your needs. Check the
"Installation" section for information regarding that.
You can import your pictures from Google Takeout or from other services to Ente
Photos. For more information, check out our
[migration guide](/photos/migration/) for more information.
You can import your codes from other authenticator providers to Ente Auth. Check
out our [migration guide](/auth/migration/) for more information.
## Queries?

View File

@@ -0,0 +1,83 @@
---
title: Docker Compose - Self-hosting
description: Running Ente with Docker Compose from source
---
# Docker Compose
If you wish to run Ente via Docker Compose from source, do the following:
## Requirements
Check out the [requirements](/self-hosting/installation/requirements) page to
get started.
## Step 1: Clone the repository
Clone the repository. Change into the `server/config` directory of the
repository, where the Compose file for running the cluster is present.
Run the following command for the same:
```sh
git clone https://github.com/ente-io/ente
cd ente/server/config
```
## Step 2: Populate the configuration file and environment variables
In order to run the cluster, you will have to provide environment variable
values.
Copy the configuration files for modification by the following command inside
`server/config` directory of the repository.
This allows you to modify configuration without having to face hassle while
pulling in latest changes.
```shell
# Inside the cloned repository's directory (usually `ente`)
cd server/config
cp example.env .env
cp example.yaml museum.yaml
```
Change the values present in `.env` file along with `museum.yaml` file
accordingly.
::: tip
Make sure to enter the correct values for the database and object storage.
You should consider generating values for JWT and encryption keys for emails if
you intend to use for long-term needs.
You can do by running the following command inside `ente/server`, assuming you
cloned the repository to `ente`:
```shell
# Change into the ente/server
cd ente/server
# Generate secrets
go run tools/gen-random-keys/main.go
```
:::
## Step 3: Start the cluster
Start the cluster by running the following command:
```sh
docker compose up --build
```
This builds Museum and web applications based on the Dockerfile and starts the
containers needed for Ente.
::: tip
Check out [post-installations steps](/self-hosting/installation/post-install/)
for further usage.
:::

View File

@@ -0,0 +1,236 @@
---
title: Configuration - Self-hosting
description:
"Information about all the configuration variables needed to run Ente with
museum.yaml"
---
# Configuration
Museum is designed to be configured either via environment variables or via
YAML. We recommend using YAML for maintaining your configuration as it can be
backed up easily, helping in restoration.
## Configuration File
Museum's configuration file (`museum.yaml`) is responsible for making database
configuration, bucket configuration, internal configuration, etc. accessible for
other internal services.
By default, Museum runs in local environment, thus `local.yaml` configuration is
loaded.
If `ENVIRONMENT` environment variable is set (say, to `production`), Museum will
attempt to load `configurations/production.yaml`.
If `credentials-file` is defined and found, it overrides the defaults.
Use `museum.yaml` file for declaring configuration over `local.yaml`.
All configuration values can be overridden via environment variables using the
`ENTE_` prefix and replacing dots (`.`) or hyphens (`-`) with underscores (`_`).
Museum reads configuration from `museum.yaml`. Any environment variables
prefixed with `ENTE_` takes precedence.
For example,
```yaml
s3:
b2-eu-cen:
endpoint:
```
in `museum.yaml` is read as `s3.b2-eu-cen.endpoint` by Museum.
`ENTE_S3_B2_EU_CEN_ENDPOINT` declared as environment variable is same as the
above and `ENTE_S3_B2_EU_CEN_ENDPOINT` overrides `s3.b2-eu-cen.endpoint`.
### General Settings
| Variable | Description | Default |
| ------------------ | --------------------------------------------------------- | ------------------ |
| `credentials-file` | Path to optional credentials override file | `credentials.yaml` |
| `credentials-dir` | Directory to look for credentials (TLS, service accounts) | `credentials/` |
| `log-file` | Log output path. Required in production. | `""` |
### HTTP
| Variable | Description | Default |
| -------------- | --------------------------------- | ------- |
| `http.use-tls` | Enables TLS and binds to port 443 | `false` |
### App Endpoints
The web apps for Ente (Auth, Cast, Albums) use different endpoints.
These endpoints are configurable in `museum.yaml` under the apps.\* section.
Upon configuration, the application will start utilizing the specified endpoints
instead of Ente's production instances or local endpoints (overridden values
used for Compose and quickstart for ease of use.)
| Variable | Description | Default |
| -------------------- | ------------------------------------------------------- | -------------------------- |
| `apps.public-albums` | Albums app base endpoint for public sharing | `https://albums.ente.io` |
| `apps.cast` | Cast app base endpoint | `https://cast.ente.io` |
| `apps.accounts` | Accounts app base endpoint (used for passkey-based 2FA) | `https://accounts.ente.io` |
### Database
The `db` section is used for configuring database connectivity. Ensure you
provide correct credentials for proper connectivity within Museum.
| Variable | Description | Default |
| ------------- | -------------------------- | ----------- |
| `db.host` | DB hostname | `localhost` |
| `db.port` | DB port | `5432` |
| `db.name` | Database name | `ente_db` |
| `db.sslmode` | SSL mode for DB connection | `disable` |
| `db.user` | Database username | |
| `db.password` | Database password | |
| `db.extra` | Additional DSN parameters | |
### Object Storage
The `s3` section within `museum.yaml` is by default configured to use local
MinIO buckets when using `quickstart.sh` or Docker Compose.
If you wish to use an external S3 provider with SSL, you can edit the configuration with
your provider's credentials, and set `s3.are_local_buckets` to `false`. Additionally, you can configure this for specific buckets in the corresponding bucket sections in the Compose file.
If you are using default MinIO, it is accessible at port `3200`. Web Console can
be accessed by enabling port `3201` in the Compose file.
For more information on object storage configuration, check our
[documentation](/self-hosting/administration/object-storage).
If you face any issues related to uploads then check out
[CORS](/self-hosting/administration/object-storage#cors-cross-origin-resource-sharing)
and [troubleshooting](/self-hosting/troubleshooting/uploads) sections.
| Variable | Description | Default |
| -------------------------------------- | -------------------------------------------- | ------- |
| `s3.b2-eu-cen` | Primary hot storage bucket configuration | |
| `s3.wasabi-eu-central-2-v3.compliance` | Whether to disable compliance lock on delete | `true` |
| `s3.scw-eu-fr-v3` | Cold storage bucket configuration | |
| `s3.wasabi-eu-central-2-v3` | Secondary hot storage configuration | |
| `s3.are_local_buckets` | | `true` |
| `s3.use_path_style_urls` | Enable path-style URLs for MinIO | `false` |
### Encryption Keys
These values are used for encryption of user e-mails. Default values are
provided by Museum.
They are generated by random in quickstart script, so no intervention is
necessary if using quickstart.
However, if you are using Ente for long-term needs and you have not installed
Ente via quickstart, consider generating values for these along with [JWT](#jwt)
by following the steps described below:
```shell
# If you have not cloned already
git clone https://github.com/ente-io/ente
# Generate the values
cd ente/server
go run tools/gen-random-keys/main.go
```
| Variable | Description | Default |
| ---------------- | ------------------------------ | ----------- |
| `key.encryption` | Key for encrypting user emails | Pre-defined |
| `key.hash` | Hash key | Pre-defined |
### JWT
| Variable | Description | Default |
| ------------ | ----------------------- | ---------- |
| `jwt.secret` | Secret for signing JWTs | Predefined |
### Email
You may wish to send emails for verification codes instead of
[hardcoding them](/self-hosting/administration/users#use-hardcoded-otts). In
such cases, you can configure SMTP (or Zoho Transmail, for bulk emails).
Set the host and port accordingly with your credentials in `museum.yaml`
You may skip the username and password if using a local relay server.
```yaml
smtp:
host:
port:
# Optional username and password if using local relay server
username:
password:
# Email address used for sending emails (this mail's credentials have to be provided)
email:
# Optional name for sender
sender-name:
# Optional encryption
encryption:
```
| Variable | Description | Default |
| ------------------ | ---------------------------- | ------- |
| `smtp.host` | SMTP server host | |
| `smtp.port` | SMTP server port | |
| `smtp.username` | SMTP auth username | |
| `smtp.password` | SMTP auth password | |
| `smtp.email` | Sender email address | |
| `smtp.sender-name` | Custom name for email sender | |
| `smtp.encryption` | Encryption method (tls, ssl) | |
| `transmail.key` | Zeptomail API key | |
### WebAuthn Passkey Support
| Variable | Description | Default |
| -------------------- | ---------------------------- | --------------------------- |
| `webauthn.rpid` | Relying Party ID | `localhost` |
| `webauthn.rporigins` | Allowed origins for WebAuthn | `["http://localhost:3001"]` |
### Internal
| Variable | Description | Default |
| -------------------------------------------- | --------------------------------------------- | ------- |
| `internal.silent` | Suppress external effects (e.g. email alerts) | `false` |
| `internal.health-check-url` | External healthcheck URL | |
| `internal.hardcoded-ott` | Predefined OTPs for testing | |
| `internal.hardcoded-ott.emails` | E-mail addresses with hardcoded OTTs | `[]` |
| `internal.hardcoded-ott.local-domain-suffix` | Suffix for which hardcoded OTT is to be used | |
| `internal.hardcoded-ott.local-domain-value` | Hardcoded OTT value for the above suffix | |
| `internal.admins` | List of admin user IDs | `[]` |
| `internal.admin` | Single admin user ID | |
| `internal.disable-registration` | Disable user registration | `false` |
### Replication
By default, replication of objects (photos, thumbnails, videos) is disabled and
only one bucket is used.
To enable replication, set `replication.enabled` to `true`. For this to work, 3
buckets have to be configured in total.
| Variable | Description | Default |
| -------------------------- | ------------------------------------ | ----------------- |
| `replication.enabled` | Enable replication across buckets | `false` |
| `replication.worker-url` | Cloudflare Worker for replication | |
| `replication.worker-count` | Number of goroutines for replication | `6` |
| `replication.tmp-storage` | Temp directory for replication | `tmp/replication` |
### Background Jobs
This configuration is for enabling background cron jobs for tasks such as
sending mails, removing unused objects (clean up) and worker configuration for
the same.
| Variable | Description | Default |
| --------------------------------------------- | --------------------------------------- | ------- |
| `jobs.cron.skip` | Skip all cron jobs | `false` |
| `jobs.remove-unreported-objects.worker-count` | Workers for removing unreported objects | `1` |
| `jobs.clear-orphan-objects.enabled` | Enable orphan cleanup | `false` |
| `jobs.clear-orphan-objects.prefix` | Prefix filter for orphaned objects | |

View File

@@ -0,0 +1,53 @@
---
title: Environment variables and defaults - Self-hosting
description:
"Information about all the configuration variables needed to run Ente along
with description on default configuration"
---
# Environment variables and defaults
The environment variables needed for running Ente and the default configuration
are documented below:
## Environment Variables
A self-hosted Ente instance has to specify endpoints for 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 environment variables that is used by the cluster:
| Service | Environment Variable | Description | Default Value |
| ---------- | --------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------- |
| `web` | `ENTE_API_ORIGIN` | Alias for `NEXT_PUBLIC_ENTE_ENDPOINT`. API Endpoint for Ente's API (Museum). | http://localhost:8080 |
| `web` | `ENTE_ALBUMS_ORIGIN` | Alias for `NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT`. Base URL for Ente Album, used for public sharing. | http://localhost:3002 |
| `postgres` | `POSTGRES_USER` | Username for PostgreSQL database | `pguser` |
| `postgres` | `POSTGRES_DB` | Name of database for use with Ente | `ente_db` |
| `postgres` | `POSTGRES_PASSWORD` | Password for PostgreSQL database's user | Randomly generated (quickstart) |
| `minio` | `MINIO_ROOT_USER` | Username for MinIO | Randomly generated (quickstart) |
| `minio` | `MINIO_ROOT_PASSWORD` | Password for MinIO | Randomly generated (quickstart) |
## Default Configuration
Self-hosted Ente clusters have certain default configuration for ease of use,
which is documented below to understand its behavior:
### Ports
The below format is according to how ports are mapped in Docker when using the
quickstart script. The mapping is of the format `<host-port>:<container-port>`
in `ports` in compose file.
| Service | Type | Host Port | Container Port |
| ------------------------------------------------------- | -------- | --------- | -------------- |
| Museum | Server | 8080 | 8080 |
| Ente Photos | Web | 3000 | 3000 |
| Ente Accounts | Web | 3001 | 3001 |
| Ente Albums | Web | 3002 | 3002 |
| [Ente Auth](https://ente.io/auth/) | Web | 3003 | 3003 |
| [Ente Cast](https://help.ente.io/photos/features/cast/) | Web | 3004 | 3004 |
| MinIO | S3 | 3200 | 3200 |
| PostgreSQL | Database | | 5432 |

View File

@@ -0,0 +1,234 @@
---
title: Manual setup (without Docker) - Self-hosting
description: Installing and setting up Ente without Docker
---
# Manual setup (without Docker)
If you wish to run Ente from source without using Docker, follow the steps
described below:
## Requirements
1. **Go:** Install Go on your system. This is needed for building Museum (Ente's
server)
```shell
sudo apt update && sudo apt upgrade
sudo apt install golang-go
```
Alternatively, you can also download the latest binaries from the
[official website](https://go.dev/dl/).
2. **PostgreSQL and `libsodium`:** Install PostgreSQL (database) and `libsodium`
(high level API for encryption) via package manager.
```shell
sudo apt install postgresql
sudo apt install libsodium23 libsodium-dev
```
Start the database using `systemd` automatically when the system starts.
```shell
sudo systemctl enable postgresql
sudo systemctl start postgresql
```
Ensure the database is running using
```shell
sudo systemctl status postgresql
```
3. **`pkg-config`:** Install `pkg-config` for dependency handling.
```shell
sudo apt install pkg-config
```
4. **yarn, npm and Node.js:** Needed for building the web application.
Install npm and Node using your package manager.
```shell
sudo apt install npm nodejs
```
Install yarn by following the
[official documentation](https://yarnpkg.com/getting-started/install)
5. **Git:** Needed for cloning the repository and pulling in latest changes
6. **Caddy:** Used for setting reverse proxy and file servers
7. **Object Storage:** Ensure you have an object storage configured for usage,
needed for storing files. You can choose to run MinIO or Garage locally
without Docker, however, an external bucket will be reliable and suited for
long-term storage.
## Step 1: Clone the repository
Start by cloning Ente's repository from GitHub to your local machine.
```shell
git clone https://github.com/ente-io/ente
```
## Step 2: Configure Museum (Ente's server)
1. Install all the needed dependencies for the server.
```shell
# Change into server directory, where the source code for Museum is
# present inside the repo
cd ente/server
# Install the needed dependencies
go mod tidy
```
2. Build the server. The server binary should be available as `./main` relative
to `server` directory
```shell
go build cmd/museum/main.go
```
3. Create `museum.yaml` file inside `server` for configuring the needed
variables. You can copy the templated configuration file for editing with
ease.
```shell
cp config/example.yaml ./museum.yaml
```
::: tip
Make sure to enter the correct values for the database and object storage.
You should consider generating values for JWT and encryption keys for emails
if you intend to use for long-term needs.
You can do by running the following command inside `ente/server`, assuming
you cloned the repository to `ente`:
```shell
# Change into the ente/server
cd ente/server
# Generate secrets
go run tools/gen-random-keys/main.go
```
:::
4. Run the server
```shell
./main
```
Museum should be accessible at `http://localhost:8080`
## Step 3: Configure Web Application
1. Install the dependencies for web application. Enable corepack if prompted.
```shell
# Change into web directory, this is where all the applications
# will be managed and built
cd web
# Install dependencies
yarn install
```
2. Configure the environment variables in your corresponding shell's
configuration file (`.bashrc`, `.zshrc`)
```shell
# Replace this with actual endpoint for Museum
export NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080
# Replace this with actual endpoint for Albums
export NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002
```
3. Build the needed applications (Photos, Accounts, Auth, Cast) as per your
needs:
```shell
# These commands are executed inside web directory
# Build photos. Build output to be served is present at apps/photos/out
yarn build
# Build accounts. Build output to be served is present at apps/accounts/out
yarn build:accounts
# Build auth. Build output to be served is present at apps/auth/out
yarn build:auth
# Build cast. Build output to be served is present at apps/cast/out
yarn build:cast
```
4. Copy the output files to `/var/www/ente/apps` for easier management.
```shell
mkdir -p /var/www/ente/apps
# Photos
sudo cp -r apps/photos/out /var/www/ente/apps/photos
# Accounts
sudo cp -r apps/accounts/out /var/www/ente/apps/accounts
# Auth
sudo cp -r apps/auth/out /var/www/ente/apps/auth
# Cast
sudo cp -r apps/cast/out /var/www/ente/apps/cast
```
5. Set up file server using Caddy by editing `Caddyfile`, present at
`/etc/caddy/Caddyfile`.
```groovy
# Replace the ports with domain names if you have subdomains configured and need HTTPS
:3000 {
root * /var/www/ente/apps/out/photos
file_server
try_files {path} {path}.html /index.html
}
:3001 {
root * /var/www/ente/apps/out/accounts
file_server
try_files {path} {path}.html /index.html
}
:3002 {
root * /var/www/ente/apps/out/photos
file_server
try_files {path} {path}.html /index.html
}
:3003 {
root * /var/www/ente/apps/out/auth
file_server
try_files {path} {path}.html /index.html
}
:3004 {
root * /var/www/ente/apps/out/cast
file_server
try_files {path} {path}.html /index.html
}
```
The web application for Ente Photos should be accessible at
http://localhost:3000, check out the
[default ports](/self-hosting/installation/env-var#ports) for more
information.
::: tip
Check out [post-installations steps](/self-hosting/installation/post-install/)
for further usage.
:::

View File

Before

Width:  |  Height:  |  Size: 246 KiB

After

Width:  |  Height:  |  Size: 246 KiB

View File

@@ -0,0 +1,172 @@
---
title: Post-installation steps - Self-hosting
description: Steps to be followed post-installation for smooth experience
---
# Post-installation steps
A list of steps that should be done after installing Ente are described below:
## Step 1: Creating first user
The first user to be created will be treated as an admin user by default.
Once Ente is up and running, the Ente Photos web app will be accessible on
`http://localhost:3000`.
Select **Don't have an account?** to create a new user. Follow the prompts to
sign up.
<div style="display: flex; gap: 10px;">
<img alt="Onboarding screen" src="/onboarding.png" style="width: 50%; height: auto;">
<img alt="Sign up page" src="/sign-up.png" style="width: 50%; height: auto;">
</div>
Enter the verification code to complete registration.
This code can be found in the server logs, which should be shown in your
terminal where you started the Docker Compose cluster.
If not, access the server logs inside the folder where Compose file resides.
```shell
sudo docker compose logs
```
If running Museum without Docker, the code should be visible in the terminal
(stdout).
![otp](/otp.png)
## Step 2: Whitelist admins
1. Connect to `ente_db` (the database used for storing data related to Ente).
```shell
# Change the DB name and DB user name if you use different
# values.
# If using Docker docker exec -it <postgres-ente-container-name>
psql -U pguser -d ente_db
# Or when using psql directly
psql -U pguser -d ente_db
```
2. Get the user ID of the first user by running the following PSQL command:
```sql
SELECT * from users;
```
3. Edit `internal.admins` or `internal.admin` (if you wish to whitelist only
single user) in `museum.yaml` to add the user ID you wish to whitelist.
- For multiple admins:
```yaml
internal:
admins:
- <user_id>
```
- For single admin:
```yaml
internal:
admin: <user_id>
```
4. Restart Museum by restarting the cluster
::: tip Restart your Compose clusters whenever you make changes
If you have edited the Compose file or configuration file (`museum.yaml`), make
sure to recreate the cluster's containers.
You can do this by the following command:
```shell
docker compose down && docker compose up -d
```
:::
## Step 3: Configure application endpoints
You may wish to access some of the applications such as Auth, Albums, Cast via
your instance's endpoints through the application instead of our production
instances.
You can do so by editing the `apps` section in `museum.yaml` to use the base
endpoints of the corresponding web applications.
```yaml
# Replace yourdomain.tld with actual domain
apps:
public-albums: https://albums.ente.yourdomain.tld
cast: https://cast.ente.yourdomain.tld
auth: https://auth.ente.yourdomain.tld
```
## Step 4: Make it publicly accessible
You may wish to access Ente on public Internet. You can do so by configuring a
reverse proxy with software such as Caddy, NGINX, Traefik.
Check out our [documentation](/self-hosting/administration/reverse-proxy) for
more information.
If you do not wish to make it accessible via Internet, we recommend you to use
[Tailscale](/self-hosting/guides/tailscale) for convenience. Alternately, you
can use your IP address for accessing the application in your local network,
though this poses challenges with respect to object storage.
## Step 5: Download mobile and desktop app
You can install Ente Photos by following the
[installation section](/photos/faq/installing).
You can also install Ente Auth (if you are planning to use Auth) by following
the [installation section](/auth/faq/installing).
## Step 6: Configure apps to use your server
You can modify Ente mobile apps and CLI to connect to your server.
### Mobile
Tap the onboarding screen 7 times to modify developer settings. Enter your Ente
server's endpoint.
<div style="display: flex; gap: 10px;">
<img src="/developer-settings.png" alt="Developer Settings" height="50%" width="50%" />
<img src="/developer-settings-endpoint.png" alt="Developer Settings - Server Endpoint" height="50%" width="50%" />
</div>
### Desktop
Tap 7 times on the onboarding screen to configure the server endpoint to be
used.
<div align="center">
![Setting a custom server on the onboarding screen on desktop or self-hosted web
apps](web-dev-settings.png){width=400px}
</div>
## Step 7: Configure Ente CLI
You can download Ente CLI from
[here](https://github.com/ente-io/ente/releases?q=tag%3Acli).
Check our [documentation](/self-hosting/administration/cli) on how to use Ente
CLI for managing self-hosted instances.
::: info For upgrading
Check out our [upgrading documentation](/self-hosting/installation/upgrade) for
various installation methods.
:::

View File

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 138 KiB

View File

@@ -0,0 +1,42 @@
---
title: Quickstart script (Recommended) - Self-hosting
description: Self-hosting Ente with quickstart script
---
# Quickstart script (Recommended)
We provide a quickstart script which can be used for self-hosting Ente on your
machine in less than a minute.
## Requirements
Check out the [requirements](/self-hosting/installation/requirements) page to
get started.
## Getting started
Run this command on your terminal to setup Ente.
```sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente-io/ente/main/server/quickstart.sh)"
```
The above `curl` command does the following:
1. Creates a directory `./my-ente` in working directory.
2. Starts the containers required to run Ente upon prompting.
You should be able to access the web application at
[http://localhost:3000](http://localhost:3000) or
[http://machine-ip:3000](http://<machine-ip>:3000)
The data accessed by Museum is stored in `./data` folder inside `my-ente`
directory. It contains extra configuration files that is to be used (push
notification credentials, etc.)
::: tip
Check out [post-installation steps](/self-hosting/installation/post-install/)
for further usage.
:::

View File

@@ -0,0 +1,41 @@
---
title: Requirements - Self-hosting
description: Requirements for self-hosting Ente
---
# Requirements
Ensure your system meets these requirements and has the needed software
installed for a smooth experience.
## Hardware
The server is capable of running on minimal resource requirements as a
lightweight Go binary, since most of the intensive computational tasks are done
on the client. It performs well on small cloud instances, old laptops, and even
[low-end embedded devices](https://github.com/ente-io/ente/discussions/594).
- **Storage:** An Unix-compatible filesystem such as ZFS, EXT4, BTRFS, etc. if
using PostgreSQL container as it requires a filesystem that supports
user/group permissions.
- **RAM:** A minimum of 1 GB of RAM is required for running the cluster (if
using quickstart script).
- **CPU:** A minimum of 1 CPU core is required.
## Software
- **Operating System:** Any Linux or \*nix operating system, Ubuntu or Debian is
recommended to have a good Docker experience. Non-Linux operating systems tend
to provide poor experience with Docker and difficulty with troubleshooting and
assistance.
- **Docker:** Required for running Ente's server, web application and dependent
services (database and object storage). Ente also requires **Docker Compose
plugin** to be installed.
> [!NOTE]
>
> Ente requires **Docker Compose version 2.30 or higher**.
>
> Furthermore, Ente uses the command `docker compose`, `docker-compose` is no
> longer supported.

View File

@@ -0,0 +1,77 @@
---
title: Upgrade - Self-hosting
description: Upgrading self-hosted Ente
---
# Upgrade your server
Upgrading Ente depends on the method of installation you have chosen.
## Quickstart
::: tip For Docker users
You can free up some disk space by deleting older images that were used by
obsolette containers.
```shell
docker image prune
```
:::
Pull in the latest images in the directory where the Compose file resides.
Restart the cluster to recreate containers with newer images.
Run the following command inside `my-ente` directory (default name used in
quickstart):
```shell
docker compose pull && docker compose up -d
```
## Docker Compose
You can pull in the latest source code from Git and build a new cluster based on
the updated source code.
1. Pull the latest changes from `main`.
```shell
# Assuming you have cloned repository to ente
cd ente
# Pull changes
git pull
```
2. Recreate the cluster.
```shell
cd server/config
# Stop and remove containers if they are running
docker compose down
# Build with latest code
docker compose up --build
```
## Manual Setup
You can pull in the latest source code from Git and build a new cluster based on
the updated source code.
1. Pull the latest changes from `main`.
```shell
# Assuming you have cloned repository to ente
cd ente
# Pull changes and only keep changes from remote.
# This is needed to keep yarn.lock up-to-date.
# This resets all changes made in the local repository.
# Make sure to stash changes if you have made any.
git fetch origin
git reset --hard main
```
2. Follow the steps described in
[manual setup](/self-hosting/installation/manual#step-3-configure-web-application)
for Museum and web applications.

View File

@@ -1,77 +0,0 @@
---
title: Configuring your server
description: Guide to writing a museum.yaml
---
# Configuring your server
Ente's monolithic server is called **museum**.
`museum.yaml` is a YAML configuration file used to configure museum. By default,
[`local.yaml`](https://github.com/ente-io/ente/tree/main/server/configurations/local.yaml)
is provided, but its settings are overridden with those from `museum.yaml`.
If you used our quickstart script, your `my-ente` directory will include a
`museum.yaml` file with preset configurations for encryption keys, secrets,
PostgreSQL and MinIO.
> [!TIP]
>
> Always do `docker compose down` inside your `my-ente` directory. If you've
> made changes to `museum.yaml`, restart the containers with
> `docker compose up -d ` to see your changes in action.
## S3 buckets
The `s3` section within `museum.yaml` is by default configured to use local
MinIO buckets.
If you wish to use an external S3 provider, you can edit the configuration with
your provider's credentials, and set `are_local_buckets` to `false`.
Check out [Configuring S3](/self-hosting/guides/configuring-s3.md) to understand
more about configuring S3 buckets.
MinIO uses the port `3200` for API Endpoints and their web app runs over
`:3201`. You can login to MinIO Web Console by opening `localhost:3201` in your
browser.
If you face any issues related to uploads then checkout
[Troubleshooting bucket CORS](/self-hosting/troubleshooting/bucket-cors) and
[Frequently encountered S3 errors](/self-hosting/guides/configuring-s3#frequently-encountered-errors).
## Web apps
The web apps for Ente Photos is divided into multiple sub-apps like albums,
cast, auth, etc. These endpoints are configurable in `museum.yaml` under the
`apps.*` section.
For example,
```yaml
apps:
public-albums: https://albums.myente.xyz
cast: https://cast.myente.xyz
accounts: https://accounts.myente.xyz
family: https://family.myente.xyz
```
> [!IMPORTANT] By default, all the values redirect to our publicly hosted
> production services. For example, if `public-albums` is not configured your
> shared album will use the `albums.ente.io` URL.
After you are done with filling the values, restart museum and the app will
start utilizing those endpoints instead of Ente's production instances.
Once you have configured all the necessary endpoints, `cd` into `my-ente` and
stop all the Docker containers with `docker compose down` and restart them with
`docker compose up -d`.
Similarly, you can use the default
[`local.yaml`](https://github.com/ente-io/ente/tree/main/server/configurations/local.yaml)
as a reference for building a functioning `museum.yaml` for many other
functionalities like SMTP, Discord notifications, Hardcoded-OTTs, etc.
## References
- [Environment variables and ports](/self-hosting/faq/environment)

View File

@@ -1,53 +0,0 @@
---
Title: Configuring Reverse Proxy
Description: configuring reverse proxy for Museum and other endpoints
---
# Reverse proxy
Ente's server (museum) runs on port `:8080`, web app on `:3000` and the other
apps from ports `3001-3004`.
We highly recommend using HTTPS for Museum (`8080`). For security reasons museum
will not accept incoming HTTP traffic.
Head over to your DNS management dashboard and setup the appropriate records for
the endpoints. Mostly, `A` or `AAAA` records targeting towards your server's IP
address should be sufficient. The rest of the work will be done by the web
server on your machine.
![cloudflare](/cloudflare.png)
### Caddy
Setting up a reverse proxy with Caddy is easy and straightforward.
Firstly, install Caddy on your server.
```sh
sudo apt install caddy
```
After the installation is complete, a `Caddyfile` is created on the path
`/etc/caddy/`. This file is used to configure reverse proxies among other
things.
```groovy
# Caddyfile - myente.xyz is just an example.
api.myente.xyz {
reverse_proxy http://localhost:8080
}
ente.myente.xyz {
reverse_proxy http://localhost:3000
}
#...and so on for other endpoints
```
After a hard-reload, the Ente Photos web app should be up on
https://ente.myente.xyz.
If you are using a different tool for reverse proxy (like nginx), please check
out their documentation.

View File

@@ -1,70 +0,0 @@
---
title: Bucket CORS
description: Troubleshooting CORS issues with S3 Buckets
---
# Fix potential CORS issues with your Buckets
## 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
::: warning
- MinIO does not support bucket CORS in the community edition which is used by
default. For more information, check
[this discussion](https://github.com/minio/minio/discussions/20841). However,
global CORS configuration is possible.
- 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.
```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.

View File

@@ -0,0 +1,52 @@
---
title: Ente CLI - Self-hosting
description: A quick hotfix for keyring errors while running Ente CLI.
---
# Ente CLI
## Secrets
Ente CLI makes use of your system keyring for storing sensitive information such
as passwords.
There are 2 ways to address keyring-related error:
### Install system keyring
This is the recommended method as it is considerably secure than the latter.
If you are using Linux for accessing Ente CLI with, you can install a system
keyring manager such as `gnome-keyring`, `kwallet`, etc. via your distribution's
package manager.
For Ubuntu/Debian based distributions, you can install `gnome-keyring` via `apt`
```shell
sudo apt install gnome-keyring
```
Now you can use Ente CLI for adding account, which will trigger your system's
keyring.
### Configure secrets path
In case of using Ente CLI on server environment, you may not be able to install
system keyring. In such cases, you can configure Ente CLI to use a text file for
saving the secrets.
Set `ENTE_CLI_SECRETS_PATH` environment variable in your shell's configuration
file (`~/.bashrc`, `~/.zshrc`, or other corresponding file)
```shell
# Replace ./secrets.txt with the path to secrets file
# that you are using for saving.
# IMPORTANT: Make sure it is stored in a secure place.
export ENTE_CLI_SECRETS_PATH=./secrets.txt
```
When you run Ente CLI, and if the file doesn't exist, Ente CLI will create it
and fill it with a random 32 character encryption key.
If you create the file, please fill it with a cryptographically generated 32
byte string.

View File

@@ -1,35 +1,36 @@
---
title: Docker Errors
description: Fixing docker related errors when trying to self host Ente
title: Troubleshooting Docker-related errors - Self-hosting
description: Fixing Docker-related errors when trying to self-host Ente
---
# Docker
# Troubleshooting Docker-related errors
## configs
Remember to restart your cluster to ensure changes that you make in the
`configs` section in `compose.yaml` get picked up.
```sh
docker compose down
docker compose up
```
> [!TIP] Restart after changes
>
> Remember to restart your cluster to ensure changes that you make in the
> `compose.yaml` and `museum.yaml` get picked up.
>
> ```shell
> docker compose down
> docker compose up
> ```
## post_start
The `server/compose.yaml` Docker compose file uses the "post_start" lifecycle
hook to provision the MinIO instance.
The Docker compose file used if relying on quickstart script or installation
using Docker Compose uses the "post_start" lifecycle hook to provision the MinIO
instance.
The lifecycle hook **requires Docker Compose version 2.30.0+**, and if you're
using an older version of docker compose you will see an error like this:
using an older version of Docker Compose you will see an error like this:
```
validating compose.yaml: services.minio Additional property post_start is not allowed
```
The easiest way to resolve this is to upgrade your Docker compose.
The easiest way to resolve this is to upgrade your Docker Compose.
If you cannot update your Docker compose version, then alternatively you can
If you cannot update your Docker Compose version, then alternatively you can
perform the same configuration by removing the "post_start" hook, and adding a
new service definition:
@@ -45,15 +46,12 @@ minio-provision:
entrypoint: |
sh -c '
#!/bin/sh
while ! mc alias set h0 http://minio:3200 your_minio_user your_minio_pass
do
echo "waiting for minio..."
sleep 0.5
done
cd /data
mc mb -p b2-eu-cen
mc mb -p wasabi-eu-central-2-v3
mc mb -p scw-eu-fr-v3
@@ -73,11 +71,11 @@ supports the `start_interval` property on the health check.
## Postgres authentication failed
If you're getting Postgres password authentication failures when starting your
If you are getting Postgres password authentication failures when starting your
cluster, then you might be using a stale Docker volume.
In more detail, if you're getting an error of the following form (pasting a full
example for easier greppability):
If you are getting an error of the following form (pasting a full example for
easier greppability):
```
museum-1 | panic: pq: password authentication failed for user "pguser"
@@ -90,57 +88,53 @@ museum-1 | /etc/ente/cmd/museum/main.go:124 +0x44c
museum-1 exited with code 2
```
Then the issue is that the password you're using is not the password postgres is
expecting (duh), and a potential scenario where that can happen is something
like this:
Then the issue is that the password you're using is not the password PostgreSQL
is expecting.
1. On a machine, you create a new cluster with `quickstart.sh`.
There are 2 possibilities:
2. Later you delete that folder, but then create another cluster with
`quickstart.sh`. Each time `quickstart.sh` runs, it creates new credentials,
and then when it tries to spin up the docker compose cluster, use them to
connect to the postgres running within.
1. If you are using Docker Compose for running Ente from source, you might not
have set the same credentials in `.env` and `museum.yaml` inside
`server/config` directory. Edit the values to make sure the correct
credentials are being used.
2. When you have created a cluster in `my-ente` directory on running
`quickstart.sh` and later deleted it, only to create another cluster with
same `my-ente` directory.
3. However, you would already have a docker volume from the first run of
`quickstart.sh`. Since the folder name is the same in both cases `my-ente`,
Docker will reuse the existing volumes (`my-ente_postgres-data`,
`my-ente_minio-data`). So your postgres is running off the old credentials,
and you're trying to connect to it using the new ones, and the error arises.
However, by deleting the directory, the Docker volumes are not deleted.
The solution is to delete the stale docker volume. **Be careful**, this will
delete all data in those volumes (any thing you uploaded etc), so first
understand if this is the exact problem you are facing before deleting those
volumes.
Thus the older volumes with previous cluster's credentials are used for new
cluster and the error arises.
If you're sure of what you're doing, the volumes can be deleted by
Deletion of the stale Docker volume can solve this. **Be careful**, this
will delete all data in those volumes (any thing you uploaded etc). Do this
if you are sure this is the exact problem.
```sh
docker volume ls
```
```shell
docker volume ls
```
to list them, and then delete the ones that begin with `my-ente` using
`docker volume rm`. You can delete all stale volumes by using
`docker system prune` with the `--volumes` flag, but be _really_ careful,
that'll delete all volumes (Ente or otherwise) on your machine that are not
currently in use by a running docker container.
to list them, and then delete the ones that begin with `my-ente` using
`docker volume rm`. You can delete all stale volumes by using
`docker system prune` with the `--volumes` flag, but be _really_ careful,
that'll delete all volumes (Ente or otherwise) on your machine that are not
currently in use by a running Docker container.
An alternative way is to delete the volumes along with removal of cluster's
containers using `docker compose` inside `my-ente` directory.
An alternative way is to delete the volumes along with removal of cluster's
containers using `docker compose` inside `my-ente` directory.
```sh
docker compose down --volumes
```
```sh
docker compose down --volumes
```
If you're unsure about removing volumes, another alternative is to rename your
`my-ente` folder. Docker uses the folder name to determine the volume name
prefix, so giving it a different name will cause Docker to create a volume
afresh for it.
If you're unsure about removing volumes, another alternative is to rename
your `my-ente` folder. Docker uses the folder name to determine the volume
name prefix, so giving it a different name will cause Docker to create a
volume afresh for it.
## MinIO provisioning error
If you have used our quickstart script for self-hosting Ente (new users will be unaffected) and are using the default MinIO container for object storage, you may run into issues while starting the cluster after pulling latest images with provisioning MinIO and creating buckets.
You may encounter similar logs while trying to start the cluster:
If you encounter similar logs while starting your Docker Compose cluster
```
my-ente-minio-1 -> | Waiting for minio...
@@ -148,30 +142,19 @@ my-ente-minio-1 -> | Waiting for minio...
my-ente-minio-1 -> | Waiting for minio...
```
MinIO has deprecated the `mc config` command in favor of `mc alias set` resulting in failure in execution of the command for creating bucket using `post_start` hook.
This can be resolved by changing `mc config host h0 add http://minio:3200 $minio_user $minio_pass` to `mc alias set h0 http://minio:3200 $minio_user $minio_pass`
This could be due to usage of deprecated MinIO `mc config` command. Changing
`mc config host h0 add` to `mc alias set h0` resolves this.
Thus the updated `post_start` will look as follows for `minio` service:
``` yaml
minio:
```yaml
minio:
...
post_start:
- command: |
sh -c '
#!/bin/sh
while ! mc alias set h0 http://minio:3200 your_minio_user your_minio_pass 2>/dev/null
do
echo "Waiting for minio..."
sleep 0.5
done
cd /data
mc mb -p b2-eu-cen
mc mb -p wasabi-eu-central-2-v3
mc mb -p scw-eu-fr-v3
...
'
```
```

View File

@@ -1,39 +0,0 @@
---
title: Ente CLI Secrets
description: A quick hotfix for keyring errors while running Ente CLI.
---
# Ente CLI Secrets
Ente CLI makes use of system keyring for storing sensitive information like your
passwords. And running the CLI straight out of the box might give you some
errors related to keyrings in some case.
Follow the below steps to run Ente CLI and also avoid keyrings errors.
Run:
```sh
# export the secrets path
export ENTE_CLI_SECRETS_PATH=./<path-to-secrets.txt>
./ente-cli
```
You can also add the above line to your shell's rc file, to prevent the need to
export manually every time.
Then one of the following:
1. If the file doesn't exist, Ente CLI will create it and fill it with a random
32 character encryption key.
2. If you do create the file, please fill it with a cryptographically generated
32 byte string.
And you are good to go.
## Ref
- [Ente CLI Secrets Path](https://www.reddit.com/r/selfhosted/comments/1gc09il/comment/lu2hox2/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button)
- [Keyrings](https://man7.org/linux/man-pages/man7/keyrings.7.html)

View File

@@ -1,8 +1,10 @@
---
title: General troubleshooting cases
title: General troubleshooting cases - Self-hosting
description: Fixing various errors when trying to self host Ente
---
# Troubleshooting
## Functionality not working on self hosted instance
If some specific functionality (e.g. album listing, video playback) does not

View File

@@ -1,5 +1,5 @@
---
title: Uploads
title: Uploads - Self-hosting
description: Fixing upload errors when trying to self host Ente
---
@@ -9,23 +9,14 @@ Here are some errors our community members frequently encountered with the
context and potential fixes.
Fundamentally in most situations, the problem is because of minor mistakes or
misconfiguration. Please make sure to reverse proxy museum and MinIO API
misconfiguration. Please make sure to reverse proxy Museum and MinIO API
endpoint to a domain and check your S3 credentials and whole configuration file
for any minor misconfigurations.
It is also suggested that the user setups bucket CORS or global CORS on MinIO or
any external S3 service provider they are connecting to. To setup bucket CORS,
please [read this](/self-hosting/troubleshooting/bucket-cors).
## What is S3 and how is it incorporated in Ente ?
S3 is an cloud storage protocol made by Amazon (specifically AWS). S3 is
designed to store files and data as objects inside buckets and it is mostly used
for online backups and storing different types of files.
Ente's Docker setup is shipped with [MinIO](https://min.io/) as its default S3
provider. MinIO supports the Amazon S3 protocol and leverages your disk storage
to dump all the uploaded files as encrypted object blobs.
please
[read this](/self-hosting/administration/object-storage#cors-cross-origin-resource-sharing).
## 403 Forbidden

View File

@@ -1,14 +0,0 @@
---
title: Yarn errors
description: Fixing yarn install errors when trying to self host Ente
---
# Yarn
If `yarn install` is failing, make sure you are using Yarn v1 (also known as
"Yarn Classic"):
- https://classic.yarnpkg.com/lang/en/docs/install
For more details, see the
[getting started instructions](https://github.com/ente-io/ente/blob/main/web/docs/new.md).

View File

@@ -0,0 +1,15 @@
{
email custom-domains@ente.io
on_demand_tls {
ask https://api.ente.io/custom-domain
}
}
https:// {
tls {
on_demand
}
reverse_proxy https://custom-albums.ente.io {
header_up Host {upstream_hostport}
}
}

View File

@@ -0,0 +1,19 @@
# Caddy
Caddy is used to terminate TLS and manage certificates for custom domains.
## Installation
```sh
sudo mkdir -p /root/caddy/conf
sudo mv Caddyfile /root/caddy/conf
sudo chown root:root /root/caddy/conf/Caddyfile
```
Rest of it works like our other systemd services.
If the Caddyfile changes, the running instance can be updated without restarts by using `sudo systemctl reload caddy`.
## Backups
The entire `/root/caddy` directory can be backed up and contains the everything needed to resurrect the same setup.

View File

@@ -0,0 +1,17 @@
[Unit]
Documentation=https://caddyserver.com/docs/running
Requires=docker.service
After=docker.service
[Service]
ExecStartPre=docker pull caddy
ExecStartPre=-docker stop caddy
ExecStartPre=-docker rm caddy
ExecStart=docker run --name caddy \
--cap-add NET_ADMIN \
-p 80:80 -p 443:443 -p 443:443/udp \
-v /root/caddy/conf:/etc/caddy \
-v /root/caddy/data:/data \
-v /root/caddy/config:/config \
caddy
ExecReload=docker exec -w /etc/caddy caddy caddy reload

View File

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

View File

@@ -1,4 +1,3 @@
{
"tabWidth": 4,
"proseWrap": "always"
"tabWidth": 4
}

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