Compare commits

...

578 Commits

Author SHA1 Message Date
Neeraj Gupta
68c2fbfec6 Bump version 2025-03-27 14:01:46 +05:30
Neeraj Gupta
fd3bcbf2a8 Add flutter submodule 2025-03-27 14:00:54 +05:30
ashilkn
78077e70c6 Update fdoird store listing metadata following the fastlane structure
Note: Not certain that this is the right way to update listing metadata. Read through this PR for a better idea why: https://github.com/ente-io/ente/pull/1313
2025-03-26 15:25:56 +05:30
ashilkn
04e2fd0262 Resolve merge conflicts and merge tag 'photos-v1.0.0' to f-droid branch 2025-03-26 12:23:17 +05:30
Prateek Sunal
3c789e9758 [mob] remove filler as a title and use years ago instead (#5403)
## Description

Remove filler title and use proper locals.

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

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

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

Refactor home widget and separate memory home widget services.

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

fix infinite loop issue

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

Fix memories fresh login issue

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

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

Resync memories on widget tap.

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

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

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

Minor fixes and changes

## Tests

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

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

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

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

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

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

Thank you.

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

## Tested by

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

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

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


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



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



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



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

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

Small fixes for memories and shift date

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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


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

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

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

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

## Design

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

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

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

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

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

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

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


## Tests

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

## add iOS album backup faq
2025-03-12 13:54:25 +05:30
Manav Rathi
c12335d5fe [web] Make the accountsUrl optional when pk is not set (#5296) 2025-03-12 13:21:26 +05:30
Manav Rathi
a9887cb235 [web] Make the accountsUrl optional when pk is not set 2025-03-12 13:15:49 +05:30
Manav Rathi
f7c47674d1 [web] File viewer code cleanup (#5294)
Cleaning pending leftovers from old viewer.
2025-03-12 12:52:14 +05:30
laurenspriem
2e70eb678d [mob][photos] Unscrew translations 2025-03-12 12:26:49 +05:30
Manav Rathi
c8b07fcae5 FileThumbnail 2025-03-12 12:18:14 +05:30
Jay
6d31ecbe2f docs-ios backup 2025-03-12 12:13:28 +05:30
laurenspriem
8375c54b9b Merge branch 'main' into bulk_edit_date 2025-03-12 12:07:57 +05:30
laurenspriem
117e4f3475 [mob][photos] Re-organize 2025-03-12 11:51:51 +05:30
laurenspriem
7f6d4027a5 [mob][photos] Properly update mmd 2025-03-12 11:23:43 +05:30
laurenspriem
faf2f39990 [mob][photos] Forgot earlier commit 2025-03-12 11:23:06 +05:30
Manav Rathi
4312b024f6 cleanup 2025-03-12 10:49:23 +05:30
Manav Rathi
500ecc3966 Prune 2025-03-12 10:34:03 +05:30
Manav Rathi
f92db38ca1 uncontext 2025-03-12 10:28:05 +05:30
Manav Rathi
c07f2f4775 types 2025-03-12 10:21:33 +05:30
Manav Rathi
57a226ed2a Rename 2025-03-12 09:35:43 +05:30
Manav Rathi
367d373c18 Semantic + better layout for long descriptions 2025-03-12 09:14:24 +05:30
laurenspriem
fc9bac09ef [mob][photos] Remove old code 2025-03-11 19:21:39 +05:30
laurenspriem
5d15905736 [mob][photos] Use in file info too 2025-03-11 19:19:33 +05:30
laurenspriem
39bb4b4400 [mob][photos] Option to not show header 2025-03-11 19:07:04 +05:30
laurenspriem
30b3af8691 [mob][photos] Extract strings 2025-03-11 17:20:22 +05:30
laurenspriem
890b8a5ac7 [mob][photos] Give option in file selection actions 2025-03-11 16:46:27 +05:30
laurenspriem
07de44b235 [mob][photos] show day of week in picker 2025-03-11 16:40:23 +05:30
laurenspriem
c62cde415f [mob][photos] Contain file name 2025-03-11 14:33:24 +05:30
laurenspriem
83404a646e [mob][photos] Align tiles 2025-03-11 14:26:49 +05:30
Prateek Sunal
45c878aa35 Merge remote-tracking branch 'origin/main' into home-widget-ios-lesgo 2025-03-11 13:29:28 +05:30
laurenspriem
54be18dac6 [mob][photos] Align components 2025-03-11 13:17:45 +05:30
laurenspriem
a1c74bb0b2 [mob][photos] newrange fix 2025-03-11 12:51:38 +05:30
laurenspriem
1977129a68 [mob][photos] am/pm 2025-03-11 10:06:49 +05:30
ashilkn
cfb2e5f1bd [mob][photos] Scaffold app icon selection screen 2025-03-10 22:32:50 +05:30
vishnukvmd
6552562d83 Fix colors 2025-03-10 21:03:45 +05:30
vishnukvmd
226d2b6925 Refactor 2025-03-10 20:55:10 +05:30
vishnukvmd
26e903b1f1 Try new plugin 2025-03-10 20:53:51 +05:30
vishnukvmd
701676beeb Update xml colors 2025-03-10 20:53:46 +05:30
vishnukvmd
fe9c236b71 Try new plugin 2025-03-10 20:53:34 +05:30
vishnukvmd
df20a6185b Fix iOS 2025-03-10 20:53:25 +05:30
Prateek Sunal
9c18de33e6 feat: widget on iOS 2025-03-10 19:32:40 +05:30
vishnukvmd
8dd1180c85 Update 2025-03-10 18:02:19 +05:30
vishnukvmd
3dec686458 Update icons 2025-03-10 17:42:40 +05:30
vishnukvmd
ac57a5d90d Update icons 2025-03-10 17:40:00 +05:30
laurenspriem
afb80f2131 [mob][photos] use ente colours everywhere 2025-03-10 16:07:09 +05:30
laurenspriem
7c520655a3 [mob][photos] Add new range UI 2025-03-10 16:02:45 +05:30
laurenspriem
812dffc231 [mob][photos] single file header 2025-03-10 15:16:28 +05:30
Neeraj Gupta
b377217ece Merge branch 'mob_6_march' into f-droid 2025-03-10 15:10:56 +05:30
laurenspriem
5898aebcf1 [mob][photos] max shift setting 2025-03-10 14:51:53 +05:30
laurenspriem
439664fcca [mob][photos] edit dates logic 2025-03-10 14:42:41 +05:30
laurenspriem
7c8599a370 [mob][photos] confirmation button 2025-03-10 14:30:07 +05:30
laurenspriem
340ca6500a [mob][photos] DateTime picker widget 2025-03-10 11:57:03 +05:30
vishnukvmd
04c591a38c Setup icons for Android 2025-03-08 17:49:30 +05:30
vishnukvmd
06c126544d Setup icons for iOS 2025-03-08 17:49:25 +05:30
vishnukvmd
53a45f7cdc Compress dev icon 2025-03-08 17:38:29 +05:30
vishnukvmd
7d664986ac Generate new icons 2025-03-08 17:37:51 +05:30
vishnukvmd
c4c542bc25 Drop dev icon generator 2025-03-08 17:37:44 +05:30
laurenspriem
7ff9031ac0 [mob][photos] Next screen 2025-03-08 14:19:52 +05:30
laurenspriem
0ad3878bbd [mob][photos] stateful widget controlling flow 2025-03-08 13:28:16 +05:30
laurenspriem
013f83cc39 [mob][photos] extract widgets 2025-03-08 13:19:32 +05:30
vishnukvmd
ee6e389fca Setup base icons 2025-03-08 11:37:56 +05:30
vishnukvmd
de252b4ad8 Upgrade icon package 2025-03-08 11:37:52 +05:30
Neeraj Gupta
7242176243 [mob] Bump version code 2025-03-06 15:46:52 +05:30
Prateek Sunal
54c8d5851b [auth] fix(workflow): remove soon to be deprecated ubuntu-20.04 workflow and switch source to ente-io of flutter_distributor 2025-03-05 19:23:53 +05:30
laurenspriem
2a98ed4815 Merge branch 'main' into bulk_edit_date 2025-03-05 11:48:23 +05:30
laurenspriem
a2b0c06a5b [mob][photos] Prettify 2025-03-03 13:31:25 +05:30
laurenspriem
d8fd5add26 [mob][photos] First bottom sheet 2025-03-03 11:56:38 +05:30
laurenspriem
0774d53efc [mob][photos] Cleanup duplicate code 2025-02-18 11:25:59 +05:30
laurenspriem
d41f1da48d [mob][photos] Add bulk edit date option 2025-02-18 11:24:08 +05:30
Neeraj Gupta
b3123a6440 Merge branch '0.9.98_release_branch' into f-droid 2025-02-14 20:07:06 +05:30
ashilkn
f4eb511beb Merge tag 'photos-v0.9.97' into f-droid 2025-02-12 22:07:36 +05:30
Neeraj Gupta
1a689b2c19 Merge branch 'main' into f-droid 2025-02-10 14:29:21 +05:30
Neeraj Gupta
b0c6ffdbb2 Merge branch 'main' into f-droid 2025-01-15 13:06:56 +05:30
Neeraj Gupta
b7ccf4aaf9 Merge branch 'f-droid' of https://github.com/ente-io/auth into f-droid 2025-01-15 13:06:47 +05:30
ashilkn
e7c8265ae1 Merge branch 'main' into f-droid 2025-01-08 12:39:54 +05:30
ashilkn
21dc35355d Merge branch 'main' into f-droid 2025-01-03 18:40:49 +05:30
ashilkn
f86994b1d3 Merge tag 'photos-v0.9.72' into f-droid 2024-12-20 11:44:00 +05:30
Neeraj Gupta
260a26d45c Merge branch 'main' into f-droid 2024-12-11 21:58:29 +05:30
ashilkn
cdfa368a8c Merge branch 'main' into f-droid 2024-12-09 12:51:05 +05:30
Neeraj Gupta
d67c6aef53 Merge branch 'main' into f-droid 2024-11-28 11:01:39 +05:30
Neeraj Gupta
6ebb5d5bf4 Merge branch 'f-droid' of https://github.com/ente-io/auth into f-droid 2024-11-28 11:00:11 +05:30
ashilkn
224b79b648 Merge tag 'photos-v0.9.58' into f-droid 2024-11-08 16:08:08 +05:30
Neeraj Gupta
7e0a3cdd6c Merge branch 'main' into f-droid 2024-10-24 13:29:54 +05:30
ashilkn
f6db381e20 [mob][photos] Resolve merge conflicts and merge main 2024-10-23 11:25:54 +05:30
ashilkn
f0c29fef5c Merge branch 'main' into f-droid 2024-10-16 17:06:01 +05:30
Neeraj Gupta
2a3e317725 Merge branch 'main' into f-droid 2024-10-15 21:01:21 +05:30
ashilkn
1a1b3ebf12 [mob][photos] Resolve merge conflicts and merge main 2024-10-09 13:52:19 +05:30
Neeraj Gupta
f995589a02 Merge branch 'main' into f-droid 2024-09-29 12:04:26 +05:30
Neeraj Gupta
6e0990d658 Merge branch 'main' into f-droid 2024-09-20 15:56:08 +05:30
Neeraj Gupta
4da4261f4c Update flutter to 3.24.3 2024-09-20 15:00:23 +05:30
Neeraj Gupta
0abe66ea8c Merge branch 'main' into f-droid 2024-09-20 14:49:17 +05:30
Neeraj Gupta
193b27a186 Merge commit '0a1e062c' into f-droid 2024-09-06 15:30:52 +05:30
Neeraj Gupta
e323096172 Merge tag 'photos-v0.9.30' into f-droid 2024-08-27 17:20:23 +05:30
ashilkn
e41f306ac8 [mob][photos] Resolve merge conflicts and merge main 2024-07-31 12:02:25 +05:30
Neeraj Gupta
01d45d7c14 Merge branch 'main' into f-droid 2024-07-19 15:53:08 +05:30
ashilkn
d55a29336f Merge branch 'main' into f-droid 2024-07-08 20:50:35 +05:30
Neeraj Gupta
cfcbd0fbb2 Merge branch 'f-droid' of https://github.com/ente-io/auth into f-droid 2024-06-17 11:47:58 +05:30
Neeraj Gupta
21174548b5 Merge branch 'main' into f-droid 2024-06-17 11:47:42 +05:30
Neeraj Gupta
910f13e9a8 [mob][fdroid] Update flutter to v3.22.0 2024-06-17 11:31:36 +05:30
ashilkn
762688db28 Merge branch 'main' into f-droid 2024-06-13 10:29:55 +05:30
ashilkn
9df1ea0c57 Merge branch 'main' into f-droid 2024-06-12 17:33:12 +05:30
ashilkn
e48ab71fa4 [mob][photos] f-droid: upgrade flutter submodule to version 3.22.2 2024-06-12 17:33:02 +05:30
ashilkn
246314367a [mob][photos] Update flutter submodule on f-droid 2024-06-04 13:14:24 +05:30
ashilkn
ad70bbb571 Merge branch 'main' into f-droid 2024-06-04 13:11:17 +05:30
Neeraj Gupta
3962c55140 Update flutter submodule: v3.22.0 2024-06-03 11:26:02 +05:30
Neeraj Gupta
82e478bb12 Merge branch 'f-droid' of https://github.com/ente-io/auth into f-droid 2024-06-03 11:25:26 +05:30
Neeraj Gupta
63c8e98492 Merge branch 'main' into f-droid 2024-06-03 11:21:35 +05:30
ashilkn
ae92d2f759 Merge branch 'main' into f-droid 2024-05-28 12:37:14 +05:30
ashilkn
761c3e6ac2 [mob][photos] Update flutter submodule on f-droid branch 2024-05-28 12:34:37 +05:30
ashilkn
f9a3009c60 [mob][photos] Resolve merge conflicts and merge 2024-05-28 12:28:03 +05:30
Neeraj Gupta
ca0474faca Updated submodule mobile/thirdparty/flutter to 3.22.1 2024-05-23 17:00:33 +05:30
Neeraj Gupta
b469985277 Removed submodule mobile/thirdparty/isar 2024-05-23 16:58:51 +05:30
Neeraj Gupta
2a5dacb460 Merge branch 'main' into f-droid 2024-05-23 16:55:27 +05:30
vishnukvmd
d16f98cf07 v0.8.95 2024-05-12 08:44:26 +05:30
vishnukvmd
8677cbb4f8 Increase JVM allocation pool 2024-05-12 08:43:55 +05:30
vishnukvmd
0e33299863 Merge branch 'main' into f-droid 2024-05-07 12:54:44 +05:30
ashilkn
93ba4e011a Merge branch 'main' into f-droid 2024-04-20 15:23:14 +05:30
vishnukvmd
7977bebcaa Update Flutter to v3.19.3 2024-04-16 11:35:32 +05:30
ashilkn
f28f49d724 Merge main 2024-04-15 11:20:03 +05:30
ashilkn
d9a93ddad6 Merge branch 'main' into f-droid 2024-04-13 15:24:56 +05:30
ashilkn
07808d6139 Merge branch 'main' into f-droid 2024-04-02 17:22:34 +05:30
vishnukvmd
1e1633bb45 Merge branch 'main' into f-droid 2024-03-13 21:57:19 +05:30
vishnukvmd
c0f33de0c8 Remove dead code 2024-03-13 21:56:09 +05:30
vishnukvmd
417621b17c Pull code for transistor-background-fetch 2024-03-13 14:14:19 +05:30
vishnukvmd
8322540732 Add submodule for Flutter 2024-03-13 14:13:40 +05:30
vishnukvmd
2d61be37bb Add submodule for Isar 2024-03-13 14:12:23 +05:30
vishnukvmd
2a10aa7d61 Merge branch 'fdroid_cleanup' into f-droid 2024-03-13 13:52:25 +05:30
vishnukvmd
004eb310b3 Prepare for F-Droid 2024-03-13 13:43:46 +05:30
586 changed files with 17782 additions and 9812 deletions

View File

@@ -32,8 +32,8 @@ env:
FLUTTER_VERSION: "3.24.3"
jobs:
build-ubuntu:
runs-on: ubuntu-20.04
build-linux-latest:
runs-on: ubuntu-latest
defaults:
run:
@@ -90,22 +90,31 @@ jobs:
- name: Install dependencies for desktop build
run: |
sudo apt-get update -y
sudo apt-get install -y libsecret-1-dev libsodium-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config libsqlite3-dev locate appindicator3-0.1 libappindicator3-dev libffi-dev libtiff5
sudo apt-get install -y libsecret-1-dev libsodium-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config rpm patchelf libsqlite3-dev locate libayatana-appindicator3-dev libffi-dev libtiff6 xz-utils libarchive-tools libcurl4-openssl-dev
sudo updatedb --localpaths='/usr/lib/x86_64-linux-gnu'
- name: Install appimagetool
run: |
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x appimagetool
mv appimagetool /usr/local/bin/
- name: Build desktop app
run: |
flutter config --enable-linux-desktop
# dart pub global activate flutter_distributor
dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
dart pub global activate --source git https://github.com/ente-io/flutter_distributor_fork --git-ref develop --git-path packages/flutter_distributor
# RPM
flutter_distributor package --platform=linux --targets=rpm --skip-clean
mv dist/**/*-*-linux.rpm artifacts/ente-${{ github.ref_name }}-x86_64.rpm
# APPIMAGE
flutter_distributor package --platform=linux --targets=appimage --skip-clean
mv dist/**/*-*-linux.AppImage artifacts/ente-${{ github.ref_name }}-x86_64.AppImage
# DEB
flutter_distributor package --platform=linux --targets=deb --skip-clean
mv dist/**/*-*-linux.deb artifacts/ente-${{ github.ref_name }}-x86_64.deb
env:
LIBSODIUM_USE_PKGCONFIG: 1
- name: Generate checksums and push to artifacts
run: |
sha256sum artifacts/ente-* > artifacts/sha256sum-apk-deb
- name: Generate checksums
run: sha256sum artifacts/ente-* >> artifacts/sha256sum-rpm-appimage
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
@@ -125,67 +134,6 @@ jobs:
releaseFiles: auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
track: internal
build-fedora-etc:
runs-on: ubuntu-latest
defaults:
run:
working-directory: auth
steps:
- name: Checkout code and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Create artifacts directory
run: mkdir artifacts
- name: Install dependencies for desktop build
run: |
sudo apt-get update -y
sudo apt-get install -y libsecret-1-dev libsodium-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config rpm patchelf libsqlite3-dev locate libayatana-appindicator3-dev libffi-dev libtiff6 xz-utils libarchive-tools libcurl4-openssl-dev
sudo updatedb --localpaths='/usr/lib/x86_64-linux-gnu'
- name: Install appimagetool
run: |
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x appimagetool
mv appimagetool /usr/local/bin/
- name: Build desktop app
run: |
flutter config --enable-linux-desktop
# dart pub global activate flutter_distributor
dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
# Run below command if it is a beta or nightly
if [[ ${{ github.ref }} =~ beta|nightly ]]; then
flutter_distributor package --platform=linux --targets=pacman --skip-clean
mv dist/**/*-*-linux.pacman artifacts/ente-${{ github.ref_name }}-x86_64.pacman
fi
flutter_distributor package --platform=linux --targets=rpm --skip-clean
mv dist/**/*-*-linux.rpm artifacts/ente-${{ github.ref_name }}-x86_64.rpm
flutter_distributor package --platform=linux --targets=appimage --skip-clean
mv dist/**/*-*-linux.AppImage artifacts/ente-${{ github.ref_name }}-x86_64.AppImage
- name: Generate checksums
run: sha256sum artifacts/ente-* >> artifacts/sha256sum-rpm-appimage
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:
artifacts: "auth/artifacts/*"
draft: true
allowUpdates: true
updateOnlyUnreleased: true
build-windows:
runs-on: windows-latest
@@ -213,7 +161,7 @@ jobs:
run: |
flutter config --enable-windows-desktop
# dart pub global activate flutter_distributor
dart pub global activate --source git https://github.com/prateekmedia/flutter_distributor --git-ref develop --git-path packages/flutter_distributor
dart pub global activate --source git https://github.com/ente-io/flutter_distributor_fork --git-ref develop --git-path packages/flutter_distributor
make innoinstall
flutter_distributor package --platform=windows --targets=exe --skip-clean
mv dist/**/*-windows-setup.exe artifacts/ente-${{ github.ref_name }}-installer.exe

View File

@@ -36,6 +36,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Update branch server/ghcr to point to source commit
- name: Update branch ghcr/server to point to source commit
run: |
git push -f origin HEAD:refs/heads/server/ghcr
git push -f origin HEAD:refs/heads/ghcr/server

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

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

3
.gitmodules vendored
View File

@@ -9,3 +9,6 @@
[submodule "auth/assets/simple-icons"]
path = auth/assets/simple-icons
url = https://github.com/simple-icons/simple-icons.git
[submodule "mobile/thirdparty/flutter"]
path = mobile/thirdparty/flutter
url = https://github.com/flutter/flutter.git

View File

@@ -350,6 +350,7 @@ class UserService {
userPassword,
_config.getKeyAttributes()!,
);
_config.resetVolatilePassword();
page = const HomePage();
} else {
throw Exception("unexpected response during passkey verification");

View File

@@ -41,14 +41,14 @@
"onnxruntime-node": "^1.20.1"
},
"devDependencies": {
"@eslint/js": "^9.21.0",
"@eslint/js": "^9.22.0",
"@tsconfig/node20": "^20.1.4",
"@types/auto-launch": "^5.0.5",
"@types/ffmpeg-static": "^3.0.3",
"ajv": "^8.17.1",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
"electron": "^34.3.1",
"electron": "^34.3.3",
"electron-builder": "^26.0.0",
"eslint": "^9",
"prettier": "3.5.3",
@@ -56,7 +56,7 @@
"prettier-plugin-packagejson": "^2.5.10",
"shx": "^0.3.4",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.0"
"typescript-eslint": "^8.26.1"
},
"packageManager": "yarn@1.22.22",
"productName": "ente"

View File

@@ -404,10 +404,11 @@ const createMainWindow = () => {
// "The unresponsive event is fired when Chromium detects that your
// webContents is not responding to input messages for > 30 seconds."
window.webContents.on("unresponsive", () => {
log.error(
"MainWindow's webContents are unresponsive, will restart the renderer process",
);
window.webContents.forcefullyCrashRenderer();
// There is a known case when this can happen: When the user to select a
// folder to upload (Upload > Folder), the browser callback to us takes
// some time. When trying to upload very large folders on slower Windows
// machines, this can take up to 30 seconds.
log.warn("MainWindow's webContents are unresponsive");
});
window.on("close", (event) => {

View File

@@ -177,10 +177,10 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.9.1.tgz#4a97e85e982099d6c7ee8410aacb55adaa576f06"
integrity sha512-xIDQRsfg5hNBqHz04H1R3scSVwmI+KUbqjsQKHKQ1DAUSaUjYPReZZmS/5PNiKu1fUvzDd6H7DEDKACSEhu+TQ==
"@eslint/js@^9.21.0":
version "9.21.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.21.0.tgz#4303ef4e07226d87c395b8fad5278763e9c15c08"
integrity sha512-BqStZ3HX8Yz6LvsF5ByXYrtigrV5AXADWLAGc7PH/1SxOb7/FIYYMszZZWiUou/GB9P2lXWk2SV4d+Z8h0nknw==
"@eslint/js@^9.22.0":
version "9.22.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.22.0.tgz#4ff53649ded7cbce90b444b494c234137fa1aa3d"
integrity sha512-vLFajx9o8d1/oL2ZkpMYbkLv8nDB6yaIwFNt7nI4+I80U/z03SxmfOMsLbvWr3p7C+Wnoh//aOu2pQW8cS0HCQ==
"@eslint/object-schema@^2.1.4":
version "2.1.4"
@@ -392,62 +392,62 @@
dependencies:
"@types/node" "*"
"@typescript-eslint/eslint-plugin@8.26.0":
version "8.26.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.26.0.tgz#7e880faf91f89471c30c141951e15f0eb3a0599e"
integrity sha512-cLr1J6pe56zjKYajK6SSSre6nl1Gj6xDp1TY0trpgPzjVbgDwd09v2Ws37LABxzkicmUjhEeg/fAUjPJJB1v5Q==
"@typescript-eslint/eslint-plugin@8.26.1":
version "8.26.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.26.1.tgz#3e48eb847924161843b092c87a9b65176b53782f"
integrity sha512-2X3mwqsj9Bd3Ciz508ZUtoQQYpOhU/kWoUqIf49H8Z0+Vbh6UF/y0OEYp0Q0axOGzaBGs7QxRwq0knSQ8khQNA==
dependencies:
"@eslint-community/regexpp" "^4.10.0"
"@typescript-eslint/scope-manager" "8.26.0"
"@typescript-eslint/type-utils" "8.26.0"
"@typescript-eslint/utils" "8.26.0"
"@typescript-eslint/visitor-keys" "8.26.0"
"@typescript-eslint/scope-manager" "8.26.1"
"@typescript-eslint/type-utils" "8.26.1"
"@typescript-eslint/utils" "8.26.1"
"@typescript-eslint/visitor-keys" "8.26.1"
graphemer "^1.4.0"
ignore "^5.3.1"
natural-compare "^1.4.0"
ts-api-utils "^2.0.1"
"@typescript-eslint/parser@8.26.0":
version "8.26.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.26.0.tgz#9b4d2198e89f64fb81e83167eedd89a827d843a9"
integrity sha512-mNtXP9LTVBy14ZF3o7JG69gRPBK/2QWtQd0j0oH26HcY/foyJJau6pNUez7QrM5UHnSvwlQcJXKsk0I99B9pOA==
"@typescript-eslint/parser@8.26.1":
version "8.26.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.26.1.tgz#0e2f915a497519fc43f52cf2ecbfa607ff56f72e"
integrity sha512-w6HZUV4NWxqd8BdeFf81t07d7/YV9s7TCWrQQbG5uhuvGUAW+fq1usZ1Hmz9UPNLniFnD8GLSsDpjP0hm1S4lQ==
dependencies:
"@typescript-eslint/scope-manager" "8.26.0"
"@typescript-eslint/types" "8.26.0"
"@typescript-eslint/typescript-estree" "8.26.0"
"@typescript-eslint/visitor-keys" "8.26.0"
"@typescript-eslint/scope-manager" "8.26.1"
"@typescript-eslint/types" "8.26.1"
"@typescript-eslint/typescript-estree" "8.26.1"
"@typescript-eslint/visitor-keys" "8.26.1"
debug "^4.3.4"
"@typescript-eslint/scope-manager@8.26.0":
version "8.26.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.26.0.tgz#b06623fad54a3a77fadab5f652ef75ed3780b545"
integrity sha512-E0ntLvsfPqnPwng8b8y4OGuzh/iIOm2z8U3S9zic2TeMLW61u5IH2Q1wu0oSTkfrSzwbDJIB/Lm8O3//8BWMPA==
"@typescript-eslint/scope-manager@8.26.1":
version "8.26.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.26.1.tgz#5e6ad0ac258ccf79462e91c3f43a3f1f7f31a6cc"
integrity sha512-6EIvbE5cNER8sqBu6V7+KeMZIC1664d2Yjt+B9EWUXrsyWpxx4lEZrmvxgSKRC6gX+efDL/UY9OpPZ267io3mg==
dependencies:
"@typescript-eslint/types" "8.26.0"
"@typescript-eslint/visitor-keys" "8.26.0"
"@typescript-eslint/types" "8.26.1"
"@typescript-eslint/visitor-keys" "8.26.1"
"@typescript-eslint/type-utils@8.26.0":
version "8.26.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.26.0.tgz#9ee8cc98184b5f66326578de9c097edc89da6f68"
integrity sha512-ruk0RNChLKz3zKGn2LwXuVoeBcUMh+jaqzN461uMMdxy5H9epZqIBtYj7UiPXRuOpaALXGbmRuZQhmwHhaS04Q==
"@typescript-eslint/type-utils@8.26.1":
version "8.26.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.26.1.tgz#462f0bae09de72ac6e8e1af2ebe588c23224d7f8"
integrity sha512-Kcj/TagJLwoY/5w9JGEFV0dclQdyqw9+VMndxOJKtoFSjfZhLXhYjzsQEeyza03rwHx2vFEGvrJWJBXKleRvZg==
dependencies:
"@typescript-eslint/typescript-estree" "8.26.0"
"@typescript-eslint/utils" "8.26.0"
"@typescript-eslint/typescript-estree" "8.26.1"
"@typescript-eslint/utils" "8.26.1"
debug "^4.3.4"
ts-api-utils "^2.0.1"
"@typescript-eslint/types@8.26.0":
version "8.26.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.26.0.tgz#c4e93a8faf3a38a8d8adb007dc7834f1c89ee7bf"
integrity sha512-89B1eP3tnpr9A8L6PZlSjBvnJhWXtYfZhECqlBl1D9Lme9mHO6iWlsprBtVenQvY1HMhax1mWOjhtL3fh/u+pA==
"@typescript-eslint/types@8.26.1":
version "8.26.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.26.1.tgz#d5978721670cff263348d5062773389231a64132"
integrity sha512-n4THUQW27VmQMx+3P+B0Yptl7ydfceUj4ON/AQILAASwgYdZ/2dhfymRMh5egRUrvK5lSmaOm77Ry+lmXPOgBQ==
"@typescript-eslint/typescript-estree@8.26.0":
version "8.26.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.26.0.tgz#128972172005a7376e34ed2ecba4e29363b0cad1"
integrity sha512-tiJ1Hvy/V/oMVRTbEOIeemA2XoylimlDQ03CgPPNaHYZbpsc78Hmngnt+WXZfJX1pjQ711V7g0H7cSJThGYfPQ==
"@typescript-eslint/typescript-estree@8.26.1":
version "8.26.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.26.1.tgz#eb0e4ce31753683d83be53441a409fd5f0b34afd"
integrity sha512-yUwPpUHDgdrv1QJ7YQal3cMVBGWfnuCdKbXw1yyjArax3353rEJP1ZA+4F8nOlQ3RfS2hUN/wze3nlY+ZOhvoA==
dependencies:
"@typescript-eslint/types" "8.26.0"
"@typescript-eslint/visitor-keys" "8.26.0"
"@typescript-eslint/types" "8.26.1"
"@typescript-eslint/visitor-keys" "8.26.1"
debug "^4.3.4"
fast-glob "^3.3.2"
is-glob "^4.0.3"
@@ -455,22 +455,22 @@
semver "^7.6.0"
ts-api-utils "^2.0.1"
"@typescript-eslint/utils@8.26.0":
version "8.26.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.26.0.tgz#845d20ed8378a5594e6445f54e53b972aee7b3e6"
integrity sha512-2L2tU3FVwhvU14LndnQCA2frYC8JnPDVKyQtWFPf8IYFMt/ykEN1bPolNhNbCVgOmdzTlWdusCTKA/9nKrf8Ig==
"@typescript-eslint/utils@8.26.1":
version "8.26.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.26.1.tgz#54cc58469955f25577f659753b71a0e117a0539f"
integrity sha512-V4Urxa/XtSUroUrnI7q6yUTD3hDtfJ2jzVfeT3VK0ciizfK2q/zGC0iDh1lFMUZR8cImRrep6/q0xd/1ZGPQpg==
dependencies:
"@eslint-community/eslint-utils" "^4.4.0"
"@typescript-eslint/scope-manager" "8.26.0"
"@typescript-eslint/types" "8.26.0"
"@typescript-eslint/typescript-estree" "8.26.0"
"@typescript-eslint/scope-manager" "8.26.1"
"@typescript-eslint/types" "8.26.1"
"@typescript-eslint/typescript-estree" "8.26.1"
"@typescript-eslint/visitor-keys@8.26.0":
version "8.26.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.26.0.tgz#a4876216756c69130ea958df3b77222c2ad95290"
integrity sha512-2z8JQJWAzPdDd51dRQ/oqIJxe99/hoLIqmf8RMCAJQtYDc535W/Jt2+RTP4bP0aKeBG1F65yjIZuczOXCmbWwg==
"@typescript-eslint/visitor-keys@8.26.1":
version "8.26.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.26.1.tgz#c5267fcc82795cf10280363023837deacad2647c"
integrity sha512-AjOC3zfnxd6S4Eiy3jwktJPclqhFHNyd8L6Gycf9WUPoKZpgM5PjkxY1X7uSy61xVpiJDhhk7XT2NVsN3ALTWg==
dependencies:
"@typescript-eslint/types" "8.26.0"
"@typescript-eslint/types" "8.26.1"
eslint-visitor-keys "^4.2.0"
"@xmldom/xmldom@^0.8.8":
@@ -1264,10 +1264,10 @@ electron-updater@^6.4.0:
semver "^7.6.3"
tiny-typed-emitter "^2.1.0"
electron@^34.3.1:
version "34.3.1"
resolved "https://registry.yarnpkg.com/electron/-/electron-34.3.1.tgz#2c337a496d923463a2c7be7eaab191ad8220459b"
integrity sha512-Vsgxc4FDGg7hjduKyvTP5qfNDxZHTliZIiWD1HlR5hHXx3BFjyVv3db/uEH1GaCU0KKyeNsBXRwS4WAOMaSH5g==
electron@^34.3.3:
version "34.3.3"
resolved "https://registry.yarnpkg.com/electron/-/electron-34.3.3.tgz#2979329d182a195756bfbf6e5687a835cd65a2ec"
integrity sha512-7m1FiO1mwc1K/UqqnnkG7Ik/kAngDzmLfHwcl+xaWgCQ+Sts9rlEqzOh6g1GHhDqebrbs4bO/aU+NDi32fCciQ==
dependencies:
"@electron/get" "^2.0.0"
"@types/node" "^20.9.0"
@@ -3209,14 +3209,14 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==
typescript-eslint@^8.26.0:
version "8.26.0"
resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.26.0.tgz#f44cafdaa6edc99e3612b33b791eb77a56286320"
integrity sha512-PtVz9nAnuNJuAVeUFvwztjuUgSnJInODAUx47VDwWPXzd5vismPOtPtt83tzNXyOjVQbPRp786D6WFW/M2koIA==
typescript-eslint@^8.26.1:
version "8.26.1"
resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.26.1.tgz#d17a638a7543bc535157b83cdf5876513c71493b"
integrity sha512-t/oIs9mYyrwZGRpDv3g+3K6nZ5uhKEMt2oNmAPwaY4/ye0+EH4nXIPYNtkYFS6QHm+1DFg34DbglYBz5P9Xysg==
dependencies:
"@typescript-eslint/eslint-plugin" "8.26.0"
"@typescript-eslint/parser" "8.26.0"
"@typescript-eslint/utils" "8.26.0"
"@typescript-eslint/eslint-plugin" "8.26.1"
"@typescript-eslint/parser" "8.26.1"
"@typescript-eslint/utils" "8.26.1"
typescript@^5.4.3:
version "5.5.4"

View File

@@ -142,6 +142,7 @@ export const sidebar = [
text: "Video streaming",
link: "/photos/faq/video-streaming",
},
{ text: "Misc", link: "/photos/faq/misc" },
],
},
{
@@ -311,6 +312,10 @@ export const sidebar = [
text: "Uploads",
link: "/self-hosting/troubleshooting/uploads",
},
{
text: "Docker",
link: "/self-hosting/troubleshooting/docker",
},
{
text: "Yarn",
link: "/self-hosting/troubleshooting/yarn",

View File

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

View File

@@ -0,0 +1,20 @@
---
title: Miscellaneous general FAQ
description: Unsorted frequently asked questions about Ente Photos
---
# Miscellaneous FAQ
## Exif Description
Ente will try to read as much information from Exif when the image is uploaded,
but after that, only the fields which have been parsed into Ente can be
searched.
The app still show all the fields in the raw Exif data in the file info panel
when someone taps on the "View all Exif" option, but otherwise the app is
unaware of these fields.
In particular, for the description associated with a photo, the exact logic to
determine the description from the Exif when uploading the image can be seen
[in this part of the code](https://github.com/ente-io/ente/blob/0dcb185744da469848b41b668fe4b647226b6fe2/web/packages/gallery/services/exif.ts#L609-L620).

View File

@@ -12,6 +12,11 @@ verification code by:
- Reading it from the DB (otts table)
> [!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

View File

@@ -9,11 +9,11 @@ description:
> [!NOTE]
>
> This is a community contributed guide, and some of these steps might be out of
> sync with the upstream documentation. If something is not working correctly,
> please also 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 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

View File

@@ -30,10 +30,6 @@ longer term, then it is recommended to follow the Docker approach.
> [!IMPORTANT]
>
> This docker image is still in testing stage and it might show up with some
> unknown variables in different scenarios. But this image has been tested on a
> production Ente site.
>
> 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.
@@ -50,8 +46,8 @@ COPY apps/ .
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
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
@@ -142,75 +138,6 @@ docker compose up -d # --build
docker compose logs <container-name>
```
## Without Docker / Docker compose
One way to run all the apps together without Docker is by using
[PM2](https://pm2.keymetrics.io/) in this setup. The configuration and usage is
very simple and just needs one configuration file for it. You can run the apps
both in dev server mode as well as static files.
The below configuration will run the apps in dev server mode.
### Install PM2
```sh
npm install pm2@latest
```
Copy the below contents to a file called `ecosystem.config.js` inside the
`ente/web` directory.
```js
module.exports = {
apps: [
{
name: "photos",
script: "yarn workspace photos next dev",
env: {
NODE_ENV: "development",
PORT: "3000"
}
},
{
name: "accounts",
script: "yarn workspace accounts next dev",
env: {
NODE_ENV: "development",
PORT: "3001"
}
},
{
name: "auth",
script: "yarn workspace auth next dev",
env: {
NODE_ENV: "development",
PORT: "3002"
}
},
{
name: "cast",
script: "yarn workspace cast next dev",
env: {
NODE_ENV: "development",
PORT: "3003"
}
}
]
};
```
Finally, start pm2.
```sh
pm2 start
# for logs
pm2 logs all
```
## Configure App Endpoints
> [!NOTE]

View File

@@ -14,7 +14,34 @@ the same code we use for our own cloud service.
> [blog post](https://ente.io/blog/open-sourcing-our-server/) announcing the
> open sourcing of our server useful.
## Getting started
## Getting started - Quickstart
Install [Docker](https://www.docker.com). Then, paste the following command in a
your terminal:
```sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente-io/ente/main/server/quickstart.sh)"
```
> [!TIP]
>
> For more details about what this does, see [the quickstart
> README](https://github.com/ente-io/ente/blob/main/server/docs/quickstart.md).
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`. The verification code will be shown in the server logs.
For the mobile or desktop apps, you don't even need to build, and can install
normal Ente apps and configure them to use your
[custom self-hosted server](guides/custom-server/).
## Getting started - From source
The quickstart method above uses pre-built images. Alternatively, if you want to
build the self hosted server images from source, you can use the steps in this
section.
#### Installing Docker
@@ -30,11 +57,6 @@ 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
@@ -53,15 +75,6 @@ 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](guides/custom-server/).
> If you want to build the mobile apps from source, see the instructions
> [here](guides/mobile-build).

View File

@@ -0,0 +1,72 @@
---
title: Docker errors
description: Fixing docker related errors when trying to self host Ente
---
# Docker
## 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
```
## post_start
The `server/compose.yaml` Docker compose file 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:
```
validating compose.yaml: services.minio Additional property post_start is not allowed
```
The easiest way to resolve this is to upgrade your Docker compose.
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:
```yaml
minio-provision:
image: minio/mc
depends_on:
- minio
volumes:
- minio-data:/data
networks:
- internal
entrypoint: |
sh -c '
#!/bin/sh
while ! mc config host add h0 http://minio:3200 changeme changeme1234
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
'
```
## start_interval
Similar to the `post_start` case above, if you are seeing an error like
```
services.postgres.healthcheck Additional property start_interval is not allowed
```
You will need to upgrade your Docker compose version to a newer version that
supports the `start_interval` property on the health check.

View File

@@ -5,7 +5,8 @@ description: Fixing yarn install errors when trying to self host Ente
# Yarn
If your `yarn install` is failing, make sure you are using Yarn Classic
If your `yarn install` is failing, make sure you are using Yarn v1 (also known
as "Yarn Classic"):
- https://classic.yarnpkg.com/lang/en/docs/install

View File

@@ -2,6 +2,7 @@ plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
id 'org.jetbrains.kotlin.plugin.serialization' version '2.1.10'
}
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
@@ -81,10 +82,6 @@ android {
dimension "default"
applicationIdSuffix ".dev"
}
face {
dimension "default"
applicationIdSuffix ".face"
}
playstore {
dimension "default"
}
@@ -137,7 +134,8 @@ flutter {
dependencies {
implementation 'io.sentry:sentry-android:2.0.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.21"
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.21'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
implementation 'com.microsoft.onnxruntime:onnxruntime-android:1.8.1'

View File

@@ -1,5 +1,27 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="io.ente.photos">
<!-- Adding the following block to prevent the app from having multiple
launcher entries. We can remove this along with the `LAUNCHER` category from
main/AndroidManifest.xml once
https://github.com/flutter/flutter/issues/38965 is fixed. -->
<application>
<activity android:name=".MainActivity"
android:launchMode="singleTask"
android:theme="@style/LaunchTheme"
android:exported="true"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER" tools:node="remove"/>
</intent-filter>
</activity>
</application>
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->

View File

@@ -1,10 +0,0 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.ente.photos">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>

View File

@@ -1,4 +0,0 @@
<resources>
<string name="app_name">Ente Face</string>
<string name="backup">backup face</string>
</resources>

View File

@@ -1,4 +1,25 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
package="io.ente.photos">
<!-- Adding the following block to prevent the app from having multiple
launcher entries. We can remove this along with the `LAUNCHER` category from
main/AndroidManifest.xml once
https://github.com/flutter/flutter/issues/38965 is fixed. -->
<application>
<activity android:name=".MainActivity"
android:launchMode="singleTask"
android:theme="@style/LaunchTheme"
android:exported="true"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER" tools:node="remove"/>
</intent-filter>
</activity>
</application>
<uses-permission android:name="com.android.vending.BILLING" tools:node="remove"/>
</manifest>

View File

@@ -0,0 +1,24 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="io.ente.photos">
<!-- Adding the following block to prevent the app from having multiple
launcher entries. We can remove this along with the `LAUNCHER` category from
main/AndroidManifest.xml once
https://github.com/flutter/flutter/issues/38965 is fixed. -->
<application>
<activity android:name=".MainActivity"
android:launchMode="singleTask"
android:theme="@style/LaunchTheme"
android:exported="true"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER" tools:node="remove"/>
</intent-filter>
</activity>
</application>
</manifest>

View File

@@ -1,9 +1,11 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="io.ente.photos">
<application android:name="${applicationName}"
<application
tools:replace="android:label"
android:name="${applicationName}"
android:label="@string/app_name"
android:icon="@mipmap/launcher_icon"
android:icon="@mipmap/icon_green"
android:usesCleartextTraffic="true"
android:requestLegacyExternalStorage="true"
android:allowBackup="false"
@@ -17,8 +19,11 @@
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="es.antonborri.home_widget.action.LAUNCH" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
@@ -85,6 +90,50 @@
</intent-filter>
</activity>
<activity-alias
android:name="${applicationId}.IconGreen"
android:icon="@mipmap/icon_green"
android:enabled="true"
android:exported="true"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity-alias>
<activity-alias
android:name="${applicationId}.IconLight"
android:icon="@mipmap/icon_light"
android:enabled="false"
android:exported="true"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity-alias>
<activity-alias
android:name="${applicationId}.IconDark"
android:icon="@mipmap/icon_dark"
android:enabled="false"
android:exported="true"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity-alias>
<activity-alias
android:name="${applicationId}.IconOG"
android:icon="@mipmap/icon_og"
android:enabled="false"
android:exported="true"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity-alias>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
@@ -96,12 +145,12 @@
android:value="https://2235e5c99219488ea93da34b9ac1cb68@sentry.ente.io/4" />
<meta-data android:name="firebase_analytics_collection_deactivated"
android:value="true" />
<receiver android:name="SlideshowWidgetProvider" android:label="Favorites" android:exported="true">
<receiver android:name="EnteMemoryWidgetProvider" android:label="Memories" android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider"
android:resource="@xml/slideshow_widget" />
android:resource="@xml/memory_widget" />
</receiver>
</application>

View File

@@ -0,0 +1,198 @@
package io.ente.photos
import android.appwidget.AppWidgetManager
import android.content.Context
import android.content.SharedPreferences
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.drawable.BitmapDrawable
import android.net.Uri
import android.util.Log
import android.view.View
import android.widget.RemoteViews
import androidx.core.content.ContextCompat
import es.antonborri.home_widget.HomeWidgetLaunchIntent
import es.antonborri.home_widget.HomeWidgetProvider
import java.io.File
import kotlinx.serialization.Serializable
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.json.Json
@Serializable
data class MemoryFileData(val title: String?, val subText: String?, val generatedId: Int?)
class EnteMemoryWidgetProvider : HomeWidgetProvider() {
override fun onUpdate(
context: Context,
appWidgetManager: AppWidgetManager,
appWidgetIds: IntArray,
widgetData: SharedPreferences
) {
appWidgetIds.forEach { widgetId ->
val views =
RemoteViews(context.packageName, R.layout.memory_widget_layout)
.apply {
val totalMemories =
widgetData.getInt("totalMemories", 0)
var randomNumber = -1
var imagePath: String? = null
if (totalMemories > 0) {
randomNumber =
(0 until totalMemories!!).random()
imagePath =
widgetData.getString(
"memory_widget_" +
randomNumber,
null
)
}
var imageExists: Boolean = false
if (imagePath != null) {
val imageFile = File(imagePath)
imageExists = imageFile.exists()
}
if (imageExists) {
val data =
widgetData.getString(
"memory_widget_${randomNumber}_data",
null
)
val decoded: MemoryFileData? =
data?.let {
Json.decodeFromString<
MemoryFileData>(it)
}
val title = decoded?.title
val subText = decoded?.subText
val generatedId = decoded?.generatedId
val deepLinkUri =
Uri.parse(
"memorywidget://message?generatedId=${generatedId}&homeWidget"
)
val pendingIntent =
HomeWidgetLaunchIntent.getActivity(
context,
MainActivity::class.java,
deepLinkUri
)
setOnClickPendingIntent(
R.id.widget_container,
pendingIntent
)
Log.d(
"EnteMemoryWidgetProvider",
"Image exists: $imagePath"
)
setViewVisibility(
R.id.widget_img,
View.VISIBLE
)
setViewVisibility(
R.id.widget_placeholder_container,
View.VISIBLE
)
setViewVisibility(
R.id.widget_subtitle,
View.VISIBLE
)
setViewVisibility(
R.id.widget_title,
View.VISIBLE
)
setViewVisibility(
R.id.widget_overlay,
View.VISIBLE
)
setViewVisibility(
R.id.widget_placeholder,
View.GONE
)
setViewVisibility(
R.id.widget_placeholder_text,
View.GONE
)
setViewVisibility(
R.id.widget_placeholder_container,
View.GONE
)
val bitmap: Bitmap =
BitmapFactory.decodeFile(imagePath)
setImageViewBitmap(R.id.widget_img, bitmap)
setTextViewText(R.id.widget_title, title)
setTextViewText(
R.id.widget_subtitle,
subText
)
} else {
// Open App on Widget Click
val pendingIntent =
HomeWidgetLaunchIntent.getActivity(
context,
MainActivity::class.java
)
setOnClickPendingIntent(
R.id.widget_container,
pendingIntent
)
Log.d(
"EnteMemoryWidgetProvider",
"Image doesn't exists"
)
setViewVisibility(
R.id.widget_img,
View.GONE
)
setViewVisibility(
R.id.widget_placeholder_container,
View.GONE
)
setViewVisibility(
R.id.widget_subtitle,
View.GONE
)
setViewVisibility(
R.id.widget_title,
View.GONE
)
setViewVisibility(
R.id.widget_overlay,
View.GONE
)
setViewVisibility(
R.id.widget_placeholder,
View.VISIBLE
)
setViewVisibility(
R.id.widget_placeholder_text,
View.VISIBLE
)
setViewVisibility(
R.id.widget_placeholder_container,
View.VISIBLE
)
val drawable =
ContextCompat.getDrawable(
context,
R.drawable
.ic_home_widget_default
)
val bitmap =
(drawable as BitmapDrawable).bitmap
setImageViewBitmap(
R.id.widget_placeholder,
bitmap
)
}
}
appWidgetManager.updateAppWidget(widgetId, views)
}
}
}

View File

@@ -1,67 +0,0 @@
package io.ente.photos
import android.appwidget.AppWidgetManager
import android.content.Context
import android.content.SharedPreferences
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.drawable.BitmapDrawable
import android.util.Log
import android.view.View
import android.widget.RemoteViews
import androidx.core.content.ContextCompat
import es.antonborri.home_widget.HomeWidgetLaunchIntent
import es.antonborri.home_widget.HomeWidgetProvider
import java.io.File
class SlideshowWidgetProvider : HomeWidgetProvider() {
override fun onUpdate(
context: Context,
appWidgetManager: AppWidgetManager,
appWidgetIds: IntArray,
widgetData: SharedPreferences
) {
appWidgetIds.forEach { widgetId ->
val views =
RemoteViews(context.packageName, R.layout.slideshow_layout).apply {
// Open App on Widget Click
val pendingIntent =
HomeWidgetLaunchIntent.getActivity(
context,
MainActivity::class.java
)
setOnClickPendingIntent(R.id.widget_container, pendingIntent)
// Show Images saved with `renderFlutterWidget`
val imagePath = widgetData.getString("slideshow", null)
var imageExists: Boolean = false
if (imagePath != null) {
val imageFile = File(imagePath)
imageExists = imageFile.exists()
}
if (imageExists) {
Log.d("SlideshowWidgetProvider", "Image exists: $imagePath")
setViewVisibility(R.id.widget_img, View.VISIBLE)
setViewVisibility(R.id.widget_placeholder, View.GONE)
val bitmap: Bitmap = BitmapFactory.decodeFile(imagePath)
setImageViewBitmap(R.id.widget_img, bitmap)
} else {
Log.d("SlideshowWidgetProvider", "Image doesn't exists")
setViewVisibility(R.id.widget_img, View.GONE)
setViewVisibility(R.id.widget_placeholder, View.VISIBLE)
val drawable =
ContextCompat.getDrawable(
context,
R.drawable.ic_home_widget_default
)
val bitmap = (drawable as BitmapDrawable).bitmap
setImageViewBitmap(R.id.widget_placeholder, bitmap)
}
}
appWidgetManager.updateAppWidget(widgetId, views)
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 KiB

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 886 B

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

View File

@@ -0,0 +1,8 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:angle="90"
android:startColor="#80000000"
android:endColor="#00000000"
android:centerY="1.0"
android:centerColor="#20000000"/>
</shape>

View File

@@ -0,0 +1,84 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/widget_container">
<!-- Main Image (if available) -->
<ImageView
android:id="@+id/widget_img"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:visibility="gone" /> <!-- Initially hidden -->
<!-- Gradient Overlay for Text Readability -->
<LinearLayout
android:id="@+id/widget_overlay"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingBottom="16dp"
android:paddingTop="4dp"
android:background="@layout/gradient_overlay"
android:visibility="gone"> <!-- Initially hidden, shown when image is available -->
<!-- Title -->
<TextView
android:id="@+id/widget_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
android:textColor="@android:color/white"
android:textSize="14sp"
android:textStyle="bold"
android:maxLines="1"
android:ellipsize="end"
android:visibility="gone"/>
<!-- Subtitle -->
<TextView
android:id="@+id/widget_subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
android:textColor="@android:color/white"
android:textSize="12sp"
android:maxLines="1"
android:ellipsize="end"
android:visibility="gone"/>
</LinearLayout>
<!-- Placeholder View (when no image available) -->
<LinearLayout
android:id="@+id/widget_placeholder_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:background="@color/widget_placeholder_bg">
<ImageView
android:id="@+id/widget_placeholder"
android:layout_width="120dp"
android:layout_height="120dp"
android:src="@drawable/ic_home_widget_default"
android:scaleType="fitCenter" />
<TextView
android:id="@+id/widget_placeholder_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Your memories will appear here"
android:textSize="14sp"
android:gravity="center_horizontal"
android:textColor="@color/widget_text_color"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:layout_marginTop="12dp"/>
</LinearLayout>
</FrameLayout>

View File

@@ -1,27 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:id="@+id/widget_container">
<ImageView
android:id="@+id/widget_placeholder"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:visibility="visible"
tools:visibility="visible"
/>
<ImageView
android:id="@+id/widget_img"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:visibility="visible"
tools:visibility="visible"
/>
</LinearLayout>

View File

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

View File

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

View File

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

View File

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

View File

@@ -2,5 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_monochrome_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

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