Commit graph

24176 commits

Author SHA1 Message Date
Manav Rathi 6fdfa24e89 Document translation 2024-03-11 15:30:24 +05:30
Manav Rathi bd84b54c5a Capitalize Ente 2024-03-11 13:27:17 +05:30
Manav Rathi af4eaac158 Remove duplicate favicon link 2024-03-11 13:26:15 +05:30
Manav Rathi de166645b0 Point to the web alias for shared albums during nightly deployments 2024-03-11 13:20:58 +05:30
Neeraj Gupta 9711e0e29e Improve log 2024-03-11 12:34:03 +05:30
Neeraj Gupta d7292dc670 [server] Release locks before initiating any other controller 2024-03-11 12:34:03 +05:30
Neeraj Gupta 6930aaf220 [server]Update freq for metadatacron 2024-03-11 12:34:03 +05:30
Neeraj Gupta 12903a3748 [server] Clean up collecitonDiff logs 2024-03-11 12:34:03 +05:30
Manav Rathi 412c872266
[web] Fix shared albums (#1001)
This flow probably got broken when the select-all-for-a-day
functionality got added in https://github.com/ente-io/ente/pull/674
(haven't dug into this, I'm just guessing since that's where this all
got touched).

Thank you to @Bramas on our Discord for pointing this out, and also
providing the fix:
https://github.com/ente-io/ente/compare/main...Bramas:ente:fix-error-on-shared-album

Tested by
---------

Run normal web app on one terminal

NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 yarn dev

Run the albums listener on another port (need to do this since we're
running on localhost, and need to bind to a different origin):

NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 yarn dev:albums

Create a shared album, copy its public link, and verify that

- Before the fix we were getting an error (trying to access properties
of `galleryContext.selectedFile`)
- After the fix the shared album is visible
2024-03-11 12:05:07 +05:30
Manav Rathi 8fab6b5e48 [web] Fix shared albums
This flow probably got broken when the select-all-for-a-day functionality got
added in https://github.com/ente-io/ente/pull/674 (haven't dug into this, I'm
just guessing since that's where this all got touched).

Thank you to @Bramas on our Discord for pointing this out, and also providing the fix:
https://github.com/ente-io/ente/compare/main...Bramas:ente:fix-error-on-shared-album

Tested by
---------

Run normal web app on one terminal

    NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 yarn dev

Run the albums listener on another port (need to do this since we're running on
localhost, and need to bind to a different origin):

    NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 yarn dev:albums

Create a shared album, copy its public link, and verify that

- Before the fix we were getting an error (trying to access properties of `galleryContext.selectedFile`)
- After the fix the shared album is visible
2024-03-11 12:00:26 +05:30
Neeraj Gupta 4af3030c81 [server] Speed up RemoveComplianceHolds 2024-03-11 11:43:02 +05:30
Neeraj Gupta c32f0a28f1 [server] Release previous locks taken by host on statup 2024-03-11 11:43:02 +05:30
Manav Rathi 38e8f7c8d7
[web] New translations (#748)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-03-11 11:09:18 +05:30
Vishnu Mohandas 72aa597f85
Update custom-icons.json (#979)
## Description

After this commit https://github.com/ente-io/ente/pull/430 those 6 icons
I tried to add do not shows the icon or default letter, but icon is
filled with hexcolor, so I guess hexcolor is not needed.
2024-03-11 11:01:44 +05:30
Manav Rathi f759ce07ae
[docs] Add a workflow to do a preflight verification of build on each PR (#999)
Tested by opening this PR and verifying that the verify build workflow
succeeded. Say verify one more time, I dare you...
2024-03-11 11:01:38 +05:30
Manav Rathi 976a76ae23 [docs] Add a workflow to do a preflight verification of build on each PR 2024-03-11 10:59:47 +05:30
Neeraj Gupta 89d761a096 Reduce lock duration 2024-03-11 10:39:46 +05:30
Neeraj Gupta e667eef951 Tweak speed for crons 2024-03-11 10:39:46 +05:30
Manav Rathi 192caedeb9
[docs] Fix build + run prettier (#997) 2024-03-11 10:32:21 +05:30
Manav Rathi fc482609b6 Fix build 2024-03-11 10:31:42 +05:30
Manav Rathi e1e0c45d88 yarn pretty 2024-03-11 10:31:07 +05:30
Manav Rathi 8f384247ba
[docs] Add more self-hosting instructions (#996)
- How to set custom server
- How to build for mobile

/ping @ua741 @vishnukvmd
2024-03-11 10:29:07 +05:30
Manav Rathi b0d396a5bd [docs] Add more self-hosting instructions
- How to set custom server
- How to build for mobile
2024-03-11 10:28:20 +05:30
Crowdin Bot 2354f5bc7e New Crowdin translations by GitHub Action 2024-03-11 01:36:36 +00:00
Vishnu Mohandas 73b4f54d42
[auth] v2.0.42 (#989) 2024-03-10 21:54:22 +05:30
vishnukvmd ccd9e2ecaf [auth] v2.0.42 2024-03-10 21:53:05 +05:30
Vishnu Mohandas 4f3d9d0798
[docs] Add article on sharing (#984) 2024-03-09 23:31:40 +05:30
vishnukvmd 5ffa8ffe2b [docs] Add article on sharing 2024-03-09 23:31:20 +05:30
Vishnu Mohandas 50cb7f7aaf
[mob][photos] Update version and change log (#981)
## Description

- Updated change log.
- Some final changes.
- Bumped up to `v0.8.66`

### Change Log

#### iOS


https://github.com/ente-io/ente/assets/77285023/10e0d1a3-cdfc-4431-be6c-1eb8718d35db

#### Android


https://github.com/ente-io/ente/assets/77285023/fed1e917-da2e-4001-b167-25fa72a1ff8c



## Tests
- [x] Builds fine on iOS and Android.
2024-03-09 19:26:32 +05:30
ashilkn 8daa7d8a8e remove worker manager related changes 2024-03-09 17:19:15 +05:30
ashilkn 5dbc300056 bump up to v0.8.66 2024-03-09 17:17:18 +05:30
iamgitcat c7a4507f96
Update custom-icons.json
After this commit https://github.com/ente-io/ente/pull/430 those 6 icons I tried to add do not shows the icon or default letter, but icon is filled with hexcolor, so I guess hexcolor is not needed.
2024-03-09 14:45:44 +03:00
ashilkn b812827480 update currentChangeLogVersion 2024-03-09 17:15:08 +05:30
ashilkn f9051c94da update change log 2024-03-09 17:12:57 +05:30
ashilkn 4c3642526e minor fix 2024-03-09 17:05:23 +05:30
ashilkn 7c86e8f903 update limit of elemets shown in each search section 2024-03-09 16:52:02 +05:30
ashilkn b4cf5761fa remove unused translation 2024-03-09 16:44:24 +05:30
ashilkn 881ece525f fix alignment of 'search' hint text in search field 2024-03-09 16:39:54 +05:30
Prateek Sunal 5acef45118
[FIX] HomeWidget improvements (#737)
## Description
- Use Background fetch as workmanager is not working as expected.
- Use new asset for empty state.
2024-03-09 16:21:04 +05:30
Vishnu Mohandas 96d1b09147
[auth] v2.0.41 (#777) 2024-03-09 11:24:44 +05:30
vishnukvmd fc390d69c7 [auth] v2.0.41 2024-03-09 11:24:15 +05:30
Manav Rathi c49cee8be6
[web] Fix a warning about MUI component switch state on using the select all checkbox (#774)
The issue here was that since the checkbox property would get
initialized to an undefined value, React would consider it to be
uncontrolled. But later on we'd try to set a value, which'd cause React
to complain.

Ref:
- Material-UI: A component is changing the uncontrolled checked state of
SwitchBase to be controlled

https://stackoverflow.com/questions/69259429/material-ui-a-component-is-changing-the-uncontrolled-checked-state-of-switchbas
2024-03-09 09:47:46 +05:30
Manav Rathi 8c9a11fc62 [web] Fix a warning about MUI component switch state on using the select all checkbox
The issue here was that since the checkbox property would get initialized to an
undefined value, React would consider it to be uncontrolled. But later on we'd
try to set a value, which'd cause React to complain.

Ref:
- Material-UI: A component is changing the uncontrolled checked state of SwitchBase to be controlled
  https://stackoverflow.com/questions/69259429/material-ui-a-component-is-changing-the-uncontrolled-checked-state-of-switchbas
2024-03-09 09:42:33 +05:30
Vishnu Mohandas 50b50409b1
[auth] Remove awaits (#773) 2024-03-09 08:42:30 +05:30
Vishnu Mohandas b52cf1605d
Merge branch 'main' into remove_awaits 2024-03-09 08:42:04 +05:30
Manav Rathi c14f2ddbd7
[docs] Add a note about how to get the OTT on self hosted instance (#771)
Documentation only change.
2024-03-08 23:07:37 +05:30
Manav Rathi a9c6196142 [docs] Add a note about how to get the OTT on self hosted instance 2024-03-08 23:06:50 +05:30
Manav Rathi 2ed8429df8
[docs] Fix build error and add a Yarn troubleshooting page (#770)
Docs only change.
2024-03-08 21:22:05 +05:30
Manav Rathi c899984f76 Add yarn troubleshooting page 2024-03-08 21:21:10 +05:30
Manav Rathi ed3b165b4b Don't consider localhost links as dead
Fixes the following error when building the site

    (!) Found dead link http://localhost:3000 in file self-hosting/index.md
    x Build failed in 1.72s
    If this is expected, you can disable this check via config. Refer: https://vitepress.dev/reference/site-config#ignoredeadlinks
2024-03-08 21:17:00 +05:30