Commit Graph

35279 Commits

Author SHA1 Message Date
Manav Rathi
057bd3a4d2 Retain more info
Also invent a new scheme for passing around this data instead of piggy backing
on the JSON route, since the JSON route has other complications (e.g. it strips
off the "-edited" prefix) that we'd anyways would've needed to workaround.
2024-11-15 10:31:16 +05:30
Manav Rathi
708109f5e4 [web] Retain original's file creation time on edits 2024-11-15 09:10:28 +05:30
Manav Rathi
e645081b12 [web] Show files that are archived in two ways in the archive section (#4035) 2024-11-14 22:14:13 +05:30
Manav Rathi
ba314455e2 [web] Show files that are archived in two ways in the archive section 2024-11-14 22:06:34 +05:30
tigattack
a5480025e9 Create custom icon for authentik (#4029)
* Adds a custom icon for [authentik](https://goauthentik.io/).
* Fixes minor formatting issues in `custom-icons.json`.
2024-11-14 17:31:49 +05:30
Braky
916ae34bac Add three new icons (#4011)
Includes custom icons for

- Microsoft 365
- Raindrop.io
- WEB.DE
2024-11-14 16:54:01 +05:30
Neeraj Gupta
dfc6358314 [staff] Suraface error as alert & send token via header (#4033)
## Description

## Tests
2024-11-14 16:53:47 +05:30
Neeraj Gupta
ce61965ed6 [cli] Don't perform CLI secret initialisation unless needed (#4028)
## Description

Calling `GetOrCreateClISecret()` can cause issues in some unattended
scenarios.

I'm creating a Brew formula for ente CLI with the following test:

```
  test do
    assert_match "Version #{version}", shell_output("#{bin}/ente version")
  end
```

When running `brew test` for the formula, ente would fail with the
following error: `2024/11/13 11:49:56 error setting password in keyring:
exit status 154`

And I would see this pop-up:


![image](https://github.com/user-attachments/assets/ccd64b0d-1cb8-469c-9c16-be1b944d3b72)
2024-11-14 16:18:01 +05:30
Neeraj Gupta
9f9567817d [staff]Suraface error as alert & send token via header 2024-11-14 16:15:52 +05:30
Neeraj Gupta
f2210fbbae [staff] Surface error as dialog 2024-11-14 16:01:38 +05:30
Neeraj Gupta
0c3909b2d3 [staff] Fix disable 2FA (#4032)
## Description

## Tests
2024-11-14 15:11:43 +05:30
Neeraj Gupta
eb949bcad9 [staff] Lint fix 2024-11-14 15:07:24 +05:30
Neeraj Gupta
a1f0c1024b [staff] Fix disable 2FA 2024-11-14 14:59:44 +05:30
Manav Rathi
3d0cc31816 [web] Reduce use of exceptions for control flow (#4031) 2024-11-14 10:27:09 +05:30
Manav Rathi
65a2b5aeeb LF 2024-11-14 10:19:14 +05:30
Manav Rathi
d8706580c3 Inline 2024-11-14 10:15:22 +05:30
Manav Rathi
548724ae0a Remove ad-hoc retry
If this is needed, will add it back with a comment explaining why the workaround
was needed.
2024-11-14 10:07:57 +05:30
Manav Rathi
54b4c01f51 Don't use exceptions for control flow 2024-11-14 09:59:19 +05:30
Manav Rathi
86f859aaca Don't use exceptions for control flow 2024-11-14 09:49:47 +05:30
Manav Rathi
f749f9de65 Unused and inline 2024-11-14 07:55:49 +05:30
Manav Rathi
805dfdc825 Unused 2024-11-13 21:21:04 +05:30
Manav Rathi
cce3063cf1 Inline 2024-11-13 21:09:55 +05:30
Manav Rathi
2910a8ac39 Inline 2024-11-13 21:04:21 +05:30
Manav Rathi
dbf877b9bb Inline 2024-11-13 21:01:45 +05:30
tigattack
cfae8523a1 [cli] Don't perform CLI secret initialisation when not needed
Calling `GetOrCreateClISecret()` can cause issues in some unattended scenarios.
2024-11-13 12:22:08 +00:00
Laurens Priem
b8981be2e6 [mob][photos] Copy change for model download (#4026)
## Description

Copy change to avoid giving the impression that models keep getting
downloaded.
2024-11-13 16:55:15 +05:30
Manav Rathi
cbc2a8f63c Inline 2024-11-13 16:43:10 +05:30
laurenspriem
f1ca5ccbd0 [mob][photos] Copy change for model download 2024-11-13 16:38:17 +05:30
Manav Rathi
fcfc6972d1 [web] Fix search when an album only has symlinks (#4025)
The uniquification would prevent albums that only contains photos that
are
already present in another album from appearing in search results.
2024-11-13 15:57:07 +05:30
Manav Rathi
0c820a6ec4 [web] Fix search when an album only has symlinks
The uniquification would prevent albums that only contains photos that are
already present in another album from appearing in search results.
2024-11-13 15:54:12 +05:30
Manav Rathi
fab883c49a [server] Add validation for object_keys (#4022)
## Description

## Tests
2024-11-13 15:24:18 +05:30
Neeraj Gupta
bd53eaec28 [server] Add validation for object_keys 2024-11-13 12:04:55 +05:30
Neeraj Gupta
c2380de406 [mob] Clean up multipart upload on put or update error (#4021)
## Description

## Tests
2024-11-13 12:01:23 +05:30
Neeraj Gupta
3d8bdb751c [mob] Handle 401 during multipart failure (#4015)
## Description

## Tests
2024-11-13 12:00:47 +05:30
Neeraj Gupta
ff218c3e4d [mob] Clean up multipart upload on put or update error 2024-11-13 11:16:19 +05:30
Manav Rathi
4b99b1c20c [web] General refactoring - Uploads UI - Part x/x (#4020) 2024-11-13 09:28:46 +05:30
Manav Rathi
e747494ef1 Tweak 2024-11-13 07:28:23 +05:30
Manav Rathi
fc114c7d92 Inline fin 2024-11-13 07:12:45 +05:30
Manav Rathi
3e94ea8f81 Tweak 2024-11-13 07:09:57 +05:30
Manav Rathi
b7c81656a3 Inline 2024-11-13 07:01:13 +05:30
Manav Rathi
b3d2846b2f Inline 2024-11-13 06:56:19 +05:30
Manav Rathi
0794f570a8 Inline 1 2024-11-13 06:43:21 +05:30
Manav Rathi
604c4462fe Tweaks 2024-11-13 06:31:19 +05:30
Manav Rathi
c96b510997 Inline 2024-11-12 19:34:39 +05:30
Manav Rathi
f2e3daaa12 [web] New translations (#4018)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-12 19:17:15 +05:30
Crowdin Bot
6f03b72bf2 New Crowdin translations by GitHub Action 2024-11-12 13:46:09 +00:00
Manav Rathi
217c749970 [web] General refactoring - Uploads (#4017) 2024-11-12 19:15:21 +05:30
Manav Rathi
67cd42fd23 Prune unused phase
Removed in 6aed8d3002
2024-11-12 19:10:06 +05:30
Manav Rathi
57d6fb3bc9 Ref 2024-11-12 19:01:28 +05:30
Manav Rathi
8d00796a32 Rename and use same convention 2024-11-12 18:24:49 +05:30