Commit Graph

36687 Commits

Author SHA1 Message Date
Neeraj Gupta
543411254b [auth] Fix progress bar (#4564)
## Description

## Tests
2025-01-01 17:04:35 +05:30
Neeraj Gupta
a3b9b6bb90 [mob] Add authentication for trashed section (#4561)
## Description

## Tests
2025-01-01 17:04:24 +05:30
Manav Rathi
5b9e1abec3 [web] Remove hardcoded URLs (#4562)
Museum now supports configuring the URL that the clients should use for
cast, accounts (passkeys) and families portal.

Changes are in main, and also the latest published Docker image.

If you're using the old method (which was only supported by the web app,
unlike the new method which is supported by both mobile and web) of
configuring the custom environment variables, then you should instead
use the corresponding setting in the museum configuration.

```
NEXT_PUBLIC_ENTE_ACCOUNTS_URL => apps.account
NEXT_PUBLIC_ENTE_FAMILY_URL => apps.family
```

Reference: [apps block in
local.yaml](fe2771f2e0/server/configurations/local.yaml (L75-L89))
2025-01-01 16:38:23 +05:30
Neeraj Gupta
a1e97239c3 [server] Skip sending ott during signup when registrations are disabled (#4563)
## Description

## Tests
2025-01-01 14:39:00 +05:30
Manav Rathi
2f372cdbe1 Doesn't work outside of the next process 2025-01-01 14:19:12 +05:30
Manav Rathi
9910049d1d [web] Remove hardcoded URLs
Museum now supports configuring the URL that the clients should use for cast,
accounts (passkeys) and families portal.

If you're using the old method (which was only supported by the web app, unlike
the new method which is supported by both mobile and web, and also for cast) of
configuring the custom environment variables, then you should instead use the
corresponding setting in the museum configuration:

- NEXT_PUBLIC_ENTE_ACCOUNTS_URL => apps.account
- NEXT_PUBLIC_ENTE_FAMILY_URL => apps.family

Reference: [apps block in
local.yaml](fe2771f2e0/server/configurations/local.yaml (L75-L89))
2025-01-01 14:12:38 +05:30
github-actions[bot]
fe2771f2e0 [auth] New translations (#4539)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-01-01 13:47:54 +05:30
Rui Chen
2e517535b3 [cli] Switch to go v1.23 (#4556)
## Description

feat: update to use go1.23

---

relates to https://github.com/Homebrew/homebrew-core/pull/201919
(homebrew side always use latest go for building the artifact)

also love a new cli release for some patches so that we can proceed with
the homebrew PR

Signed-off-by: Rui Chen <rui@chenrui.dev>
2025-01-01 13:47:39 +05:30
Alan Moyano
e459fb5686 [auth] Adding icon for Belo (#4548)
## Description
Belo is a popular fintech in Argentina and Brazil.
2025-01-01 13:46:12 +05:30
Neeraj Gupta
9498571c10 [auth] Update Amazon icon (#4554)
## Description

- Update Amazon icon to comply with new branding.
2025-01-01 13:44:16 +05:30
Neeraj Gupta
f2a9675911 [server] Speed up deletion (#4560)
## Description

## Tests
2025-01-01 13:42:04 +05:30
Neeraj Gupta
ede505d939 [server] Speed up deletion 2025-01-01 13:40:48 +05:30
Manav Rathi
65a92f1a77 [web] Remove unnecessary queuing primitive for non-async function (#4558)
The useEffect that underlay useMemoSingleThreaded shouldn't be having
any impact none of this code has an async dispatch, and all of it
already runs serially on the main thread.
2025-01-01 10:14:28 +05:30
Manav Rathi
56cdb9064d [web] Remove unnecessary queuing primitive for non-async function
The useEffect that underlay useMemoSingleThreaded shouldn't be having any impact
none of this code has an async dispatch, and all of it already runs serially on
the main thread.
2025-01-01 10:08:48 +05:30
Tanguy
7ddf70eb86 Update Amazon icon to new branding 2024-12-31 15:31:44 +01:00
Vishnu Mohandas
4bd416fd10 [auth] add caixa icon (#4551)
Solves [issue](https://github.com/ente-io/ente/issues/4531)
2024-12-31 15:47:10 +05:30
Aman Raj
634ae71a5d [auth] add caixa icon 2024-12-31 15:10:28 +05:30
Neeraj Gupta
0ae1557508 [mobile] New translations (#4538)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-12-31 02:03:31 +05:30
Manav Rathi
93071af19a [server] Add workaround for intermittent Safari CORS errors (#4540)
At times, Safari will fail our API responses because its CORS preflight
fails. The errors are reproducible, but intermittently, and not on
localhost. We seem not to be the first ones to hit
[this](https://github.com/processing/p5.js-web-editor/issues/3156).

Based on a hint from:


https://github.com/supabase/supabase/issues/20982#issuecomment-2548329565

Modify our CORS responses to use 200 instead of 204 to try and fix
Safari.
2024-12-30 18:54:31 +05:30
Manav Rathi
ab15263a17 [web] Use urls from museum response instead of hardcoded ones (#4546)
Next step will be to remove the hardcoded ones completely (this is
pending on a new museum image release).
2024-12-30 17:26:28 +05:30
Manav Rathi
d2d02f3591 lf 2024-12-30 17:18:51 +05:30
Manav Rathi
1e79409f73 fam 2024-12-30 16:54:56 +05:30
Manav Rathi
866d2bb00a Use 2024-12-30 16:51:10 +05:30
Manav Rathi
1832005d72 Use 2024-12-30 16:46:51 +05:30
Manav Rathi
b054c070ad Parse 2024-12-30 16:45:14 +05:30
Manav Rathi
64a47694d0 Type 2024-12-30 16:37:05 +05:30
Manav Rathi
a4e09a40e8 Doc 2024-12-30 16:19:10 +05:30
Manav Rathi
82fc1a1434 Opt 2024-12-30 16:15:33 +05:30
Manav Rathi
b511aeb401 zod type 2024-12-30 16:01:28 +05:30
Manav Rathi
6812527607 Use accounts url 2024-12-30 15:44:34 +05:30
Manav Rathi
2263eb684c Use 2024-12-30 15:44:34 +05:30
Manav Rathi
8df68cf529 Parse cast URL 2024-12-30 15:44:34 +05:30
Manav Rathi
ba11a5a755 [desktop] Prettier upgrade (#4545)
And then some.

Sibling of https://github.com/ente-io/ente/pull/4542
2024-12-30 15:42:58 +05:30
Manav Rathi
e31b55499b Upd 2024-12-30 15:37:38 +05:30
Manav Rathi
89f917220d Fix 2024-12-30 15:34:56 +05:30
Manav Rathi
fad26a960d Elsewhere 2024-12-30 14:55:44 +05:30
Manav Rathi
6e3d285428 Manually run in code too 2024-12-30 14:54:13 +05:30
Manav Rathi
2198eeb372 Prettier upgraed 2024-12-30 14:53:37 +05:30
Manav Rathi
184c044377 [docs] Prettier and vitepress update (#4543)
Run `yarn pretty` afterwords.

Sibling of https://github.com/ente-io/ente/pull/4542
2024-12-30 14:51:32 +05:30
Manav Rathi
63d41434a9 yarn pretty 2024-12-30 14:47:46 +05:30
Manav Rathi
310f180c5a Update prettier and vitepress 2024-12-30 14:45:10 +05:30
Manav Rathi
5da05467d6 Elsewhere 2024-12-30 14:45:10 +05:30
Manav Rathi
a2decb5030 Workers 2024-12-30 14:45:10 +05:30
Manav Rathi
6f891a45de [web] Prettier upgrade (#4542)
The list formatting changed (again).
2024-12-30 14:31:45 +05:30
Manav Rathi
4e7d764722 numered lists too 2024-12-30 14:23:48 +05:30
Manav Rathi
9aae713207 Update comments to match prettier defaults
These comments were earlier written to match the way prettier formatted
markdown, but they've changed that upstream with 3.4, so revert back to the more
natural style that prettier also uses.
2024-12-30 14:18:36 +05:30
Manav Rathi
17aa1b67c1 [web] Prettier upgrade 2024-12-30 14:10:54 +05:30
Manav Rathi
5e22c95bfb [server] Retain published image commit as branch instead of tag (#4541)
Overwriting tags is clunky (besides being generally discouraged). e.g.
pulling the overwritten tags locally requires `git fetch --force
--tags`. So instead use the branch `server/ghcr` to point to the commit
from which the latest published ghcr docker image has been built.
2024-12-30 14:03:41 +05:30
Manav Rathi
182fd89356 [server] Retain published image commit as branch instead of tag
Overwriting tags is clunky (besides being generally discouraged). e.g. pulling
the overwritten tags locally requires `git fetch --force --tags`. So instead use
the branch `server/ghcr` to point to the commit from which the latest published
ghcr docker image has been built
2024-12-30 13:58:08 +05:30
Manav Rathi
6516b457cb [server] Add workaround for intermittent Safari CORS errors
At times, Safari will fail our API responses because its CORS preflight fails.
The errors are reproducible, but intermittently, and not on localhost.  We seem
not to be the first ones to hit [this](https://github.com/processing/p5.js-web-editor/issues/3156).

Based on a hint from:

https://github.com/supabase/supabase/issues/20982#issuecomment-2548329565

Modify our CORS responses to use 200 instead of 204 to try and fix Safari.
2024-12-30 12:13:53 +05:30