Commit Graph

35918 Commits

Author SHA1 Message Date
Manav Rathi
926dce37f8 Extract 2024-11-28 16:53:14 +05:30
Manav Rathi
9e40d3001a Offline msg doesn't make sense for auth since it currently only fetches codes on load 2024-11-28 16:45:16 +05:30
Manav Rathi
1178a3c910 [web] General non-functional cleanup (#4233) 2024-11-28 15:37:15 +05:30
Manav Rathi
4d761f91c4 Workaround for Admins list in Environment Variables by specifying singular admin (#4228)
## Description

This allows working around an issue with Viper where it doesn't properly
unmarshal GetIntSlice from environment variables. Seems like this is a
known issue and is quite old. I'm assuming there isn't plans to fix it
on the Viper side.

https://github.com/spf13/viper/issues/339

## Tests

I'll be brutally honest, I don't know how to run Go, but this seemed
like a pretty quick low hanging fix.
2024-11-28 15:36:46 +05:30
Ashil
7b54f7910a [mob][photos] Fix misaligned hint text in search bar (#4232)
## Description

Fix for the hint text ("Search") in the search bar getting misaligned
more towards the top for smaller font sizes (normal for a big enough
majority of people).
2024-11-28 15:33:17 +05:30
Manav Rathi
4fca50f9a6 Inline and move 2024-11-28 15:30:38 +05:30
ashilkn
61791d5b9b [mob][photos] Fix alginment of hintText in search bar for smaller font sizes 2024-11-28 15:15:04 +05:30
ashilkn
0c39466d1b [mob][photos] Chore 2024-11-28 14:59:39 +05:30
Manav Rathi
8623b8323d Tweak 2024-11-28 14:41:51 +05:30
Manav Rathi
73e0a1dec2 Inline 2024-11-28 14:32:58 +05:30
Ashil
f632aa86d1 [mob][photos] Fix bug when clicking on 'collect' in shared tab to collect photos (#4229) 2024-11-28 14:24:38 +05:30
ashilkn
aed5d962e5 [mob][photos] Fix bug when clicking on 'collect' in shared tab to collect photos 2024-11-28 14:16:59 +05:30
Manav Rathi
4cf4571c31 Inline 2024-11-28 14:14:27 +05:30
Manav Rathi
8c01c7a902 Remove unused variant 2024-11-28 14:09:53 +05:30
Manav Rathi
fca6f36087 Ren 2024-11-28 13:57:43 +05:30
Neeraj Gupta
67f42d0b31 [mob][auth] Send login purpose during ott (#4227)
## Description

## Tests
2024-11-28 13:42:01 +05:30
Andy
55cd084ea8 Add support for specifying a singular admin id to workaround GetIntSlice issue 2024-11-28 03:11:52 -05:00
Neeraj Gupta
fb7080001e [mob][auth] Send login purpose during ott 2024-11-28 13:32:40 +05:30
Manav Rathi
efda227c8a [web] New translations (#4225)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-11-28 12:55:32 +05:30
Crowdin Bot
f1fbf2c95b New Crowdin translations by GitHub Action 2024-11-28 07:23:08 +00:00
Manav Rathi
b46581790a [web] Ask the user their preferred 2FA choice if both are enabled (#4224)
Sibling of mobile https://github.com/ente-io/ente/pull/4210. Unlike
mobile, we automatically redirect so we need to ask the user their pref
beforehand.
2024-11-28 12:52:22 +05:30
Manav Rathi
4bca5f8bf6 Use 2024-11-28 12:36:22 +05:30
Manav Rathi
6fed5c944b Extract 2024-11-28 12:30:14 +05:30
Neeraj Gupta
0782b00bcd [mob] Enable translation for Ukrainian & Vietnamese (#4223)
## Description

## Tests
2024-11-28 12:10:22 +05:30
Manav Rathi
ee34ed5e1f 2FA choice place 1 2024-11-28 12:08:03 +05:30
Neeraj Gupta
5b3a6049b3 [mob] Enable translation for Ukrainian & Vietnamese 2024-11-28 11:45:26 +05:30
Manav Rathi
eab95b7ed0 [web] Rework upload URL handling (#4222) 2024-11-28 10:57:13 +05:30
Manav Rathi
3298d97bbc Fail upload on dupes 2024-11-28 09:26:39 +05:30
Manav Rathi
b36df8d7ad [web] Rework upload URL handling 2024-11-28 09:21:41 +05:30
Neeraj Gupta
d2761b6be9 [mob] Bump version v0.9.65 (#4217)
## Description

## Tests
photos-v0.9.65
2024-11-28 01:21:01 +05:30
Neeraj Gupta
b2482acfc3 [mob] Hint inputType 2024-11-28 01:18:48 +05:30
Neeraj Gupta
9994499050 [mob] Bump version v0.9.65 2024-11-28 01:11:12 +05:30
Neeraj Gupta
5f1beecb8a [mob] Fix person cover refresh issue (#4216)
## Description

## Tests
2024-11-28 00:53:56 +05:30
Neeraj Gupta
35bc7dfee6 [mob] bump version 2024-11-28 00:49:20 +05:30
Neeraj Gupta
32f1a8b3a6 [mob] Fix cover refresh issue 2024-11-28 00:48:52 +05:30
Neeraj Gupta
7e9b3468d7 [mob] Handle null value 2024-11-28 00:48:09 +05:30
Ashil
d2d859a8f7 [mob][photos] Update change log (#4215)
## Description

## Tests
2024-11-27 22:26:13 +05:30
ashilkn
0373141520 [mob][photos] Bump up to v0.9.63 2024-11-27 21:26:35 +05:30
ashilkn
9f110ddc0c [mob][photos] Update change log 2024-11-27 21:26:06 +05:30
Neeraj Gupta
72d9881fe4 [mob] Enable fallback to TOTP if both passkey & totp are enabled (#4210)
## Description

## Tests
2024-11-27 20:18:51 +05:30
Neeraj Gupta
943f4ac973 [server] Create totpSession when both passkey and totp are enabled (#4211)
## Description

- When both `passkeySessionID` and `twoFactorSessionID` are set in the
response, the web will surface passkey based login while mobile will
only surface totp based login.

- For now, I have added a new field in the response
(`twoFactorSessionIDV2) for totpBased twoFactor, that will be only set
when both passkey and totp based MFA are enabled.
- Once both mobile and desktop changes are out, we can remove this new
field `twoFactorSessionIDV2` from the response

Corresponding mobile diff: https://github.com/ente-io/ente/pull/4210
## Tests
2024-11-27 15:27:10 +05:30
Neeraj Gupta
14fe9bcb72 [auth] Enable login via totp when both passkey & totp are enabled 2024-11-27 15:25:45 +05:30
Ashil
06d6706344 [mob][photos] Minor UX improvement (#4213) 2024-11-27 15:23:34 +05:30
ashilkn
9dce5fb6ad Merge branch 'main' into fixes 2024-11-27 15:16:04 +05:30
ashilkn
a1dc65d6ee [mob][photos] Make text of checkbox acknowledging enabling ML clickable 2024-11-27 15:15:42 +05:30
Neeraj Gupta
08160f251a Merge remote-tracking branch 'origin/main' into twoFactorFallBack 2024-11-27 15:03:30 +05:30
Laurens Priem
2828a6a677 [mob][photos] Fix ml banner (#4212)
## Description

Fix ml banner not going away
2024-11-27 15:03:05 +05:30
laurenspriem
29ab1ecd31 [mob][photos] Fix ml banner 2024-11-27 15:01:41 +05:30
Neeraj Gupta
04ee6f8161 [server] Create totpSession when both passkey and totp are enabled 2024-11-27 14:54:24 +05:30
Neeraj Gupta
1b9f6de6bd [mob] Enable fallback to TOTP if both passkey & totp are enabled 2024-11-27 14:50:34 +05:30