Commit graph

24316 commits

Author SHA1 Message Date
Vishnu Mohandas
c75e45897c
[Photos] Fix auto scaling on loading final image (#749)
## Description

When an image is zoomed in, there were cases where when then final image
is loaded and rendered on screen, the image gets zoomed even more.

#### Case 1
Double tapping twice to zoom and then the final image is loaded.

##### Before


https://github.com/ente-io/ente/assets/77285023/7d9acb0f-2849-4ffb-863d-cab61ef4bd16

##### After


https://github.com/ente-io/ente/assets/77285023/89fb1238-1444-4681-a94f-7a58679f9350



#### Case 2
When screen is pressed or dragged (any contact with screen).

##### Before


https://github.com/ente-io/ente/assets/77285023/3aefdec5-3bc3-42ef-9442-592442273569

##### After


https://github.com/ente-io/ente/assets/77285023/7b458184-5abe-4983-ba21-f38080cc8bee

## Tests

Tested for regressions. Found one, which it not quite a regression as
the issue was already present but reproducible in a different flow. It
happens too fast for screen recording to capture it.

Not a blocker as it doesn't affect usability in anyway and since this
fix (auto scaling on final image loading) is an important fix.
2024-03-08 17:05:24 +05:30
ashilkn
62b05513a2 Remove late initialisations 2024-03-08 17:00:48 +05:30
Manav Rathi
353eb67cab
[web] Finalize deployment process (#755)
These changes were all made in previous PRs, this PR just ties up the
loose ends and updates the documentation etc.
2024-03-08 16:46:59 +05:30
Manav Rathi
290196ee9e Add fixed nightly mappings 2024-03-08 16:36:06 +05:30
ashilkn
ea63ea1c55 Make _photoViewController late 2024-03-08 16:32:16 +05:30
Manav Rathi
2d14cc5899 Mention fast forwards 2024-03-08 16:29:35 +05:30
Manav Rathi
f612e0b69f Published 2024-03-08 16:24:37 +05:30
Manav Rathi
929e1bbac1 Less preachy 2024-03-08 16:17:53 +05:30
ashilkn
1dd183c4bd Make scaleStateController final and dispose it when widget gets disposed 2024-03-08 15:54:38 +05:30
Manav Rathi
bcb0e2fcc3
[web] Add production deployment templates (#751)
Also update the documentation.
2024-03-08 15:50:39 +05:30
Manav Rathi
25a04fbc5f Update docs README 2024-03-08 15:49:13 +05:30
Manav Rathi
0b585ce3a5 Update the documentation 2024-03-08 15:40:35 +05:30
Manav Rathi
8058d2bfd4 Add production deployments 2024-03-08 15:20:16 +05:30
Neeraj Gupta
5a04030766 Fix lint 2024-03-08 15:17:28 +05:30
Neeraj Gupta
04e508561b [photos] Update copy for passkey verification 2024-03-08 15:17:28 +05:30
Neeraj Gupta
57d5647a39 [photos] Add support for by-passing passkey 2024-03-08 15:17:28 +05:30
Neeraj Gupta
9f28e5ef79 Rename 2024-03-08 15:17:28 +05:30
Neeraj Gupta
42d9ad4206 [photos] Register passkey reset key 2024-03-08 15:17:28 +05:30
Neeraj Gupta
907a0bd456 Reformat 2024-03-08 15:17:28 +05:30
Neeraj Gupta
8f37af3985 [mobile] Add TwoFactorType enum & pass it during recovery 2024-03-08 15:17:28 +05:30
Neeraj Gupta
6e160dca43 Fix minor bugs 2024-03-08 15:15:00 +05:30
Neeraj Gupta
1f7d9dbb86 Rename passKey to passkey 2024-03-08 15:15:00 +05:30
Neeraj Gupta
a780598607 Fix sql query 2024-03-08 15:15:00 +05:30
Neeraj Gupta
7f66714d96 Refactor + bug fixes 2024-03-08 15:15:00 +05:30
Neeraj Gupta
980ab6c49c Refactor: extend totp recovery API to recover passkey 2024-03-08 15:15:00 +05:30
Neeraj Gupta
fe181fecbe Rename 2024-03-08 15:15:00 +05:30
Neeraj Gupta
50c3a7a8e5 Store resetSecret in encrypted form 2024-03-08 15:15:00 +05:30
Neeraj Gupta
f766484b2e Rename account_recovery -> two_factor_recovery 2024-03-08 15:15:00 +05:30
Neeraj Gupta
42e4364fda Add APIs to allow user to skip passkey based two-fa 2024-03-08 15:15:00 +05:30
Neeraj Gupta
09a7d557d2 Add API to get account two recovery status 2024-03-08 15:15:00 +05:30
Neeraj Gupta
13bae268ec Add models passkey reset via recoveryKey 2024-03-08 15:15:00 +05:30
Neeraj Gupta
23fcce245d Add table for account recovery 2024-03-08 15:15:00 +05:30
ashilkn
69c5d4f645 Added comment for context of line 2024-03-08 14:57:32 +05:30
Manav Rathi
d7854fa6c0
[web] Add nightly deployments of web projects (#746)
- Fix the branch name for the docs deployment
- Add web-nightly deployments
- Tweak the cron specification in existing workflows
2024-03-08 14:14:34 +05:30
ashilkn
cf8e684cb3 Revert "Remove unnecessary check"
This reverts commit a9631c09c8.
2024-03-08 14:09:43 +05:30
Manav Rathi
5d4486fce3 Add web-nightly and update existing 2024-03-08 14:09:41 +05:30
ashilkn
a9385f2132 Remove unnecessary mixin 2024-03-08 14:05:42 +05:30
Manav Rathi
37913ffbc7 Fix the branch name 2024-03-08 13:38:34 +05:30
Manav Rathi
215e89427d
[WIP] [docs] Deploy docs (#742)
Add a GitHub workflow to deploy docs. If this works, will start using
this same approach for the other web apps in our repo.
2024-03-08 13:30:28 +05:30
Manav Rathi
2eb95ab215 Move the docs deployment to the new project, its final resting place 2024-03-08 13:26:41 +05:30
Manav Rathi
4b05dd49f6
[web] New translations (#739)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-03-08 13:16:22 +05:30
Manav Rathi
00f3a0ce90
[web] Document the need for yarn classic (#745)
People often run into issues with `yarn install` because they're using a
newer yarn. The situation is generally bad - we don't want to update to
Yarn v4 yet because it is marked experimental and is not the default
yarn that gets installed by node currently. We could add a
`packageManager` field to our package.json, but this will only fail the
build with a better (hopefully) error message, and will necessitate the
user to `corepack_enable`.

I'm not sure what's the best approach right now to make the initial
setup be seamless (I think we're using the approach that works for the
maximum of all the alternatives, but I'm not sure). At least, let me add
a note about it.

Ref:
* https://github.com/yarnpkg/berry/issues/5912
2024-03-08 13:15:28 +05:30
Manav Rathi
9e4f4c4670 Document the need for yarn classic 2024-03-08 13:11:04 +05:30
Manav Rathi
236d7e2f49 Fix the deploy workflow path 2024-03-08 13:03:50 +05:30
Vishnu Mohandas
205dd302da
[auth] Update workflow (#744) 2024-03-08 12:54:53 +05:30
vishnukvmd
0ca29d2f83 [auth] Update workflow 2024-03-08 12:53:59 +05:30
Vishnu Mohandas
232dbde8a3
Update scripts for Auth (#743) 2024-03-08 12:38:33 +05:30
vishnukvmd
70435cfccf [auth] v2.0.36 2024-03-08 12:38:04 +05:30
vishnukvmd
bd455825e6 Enable AAB upload to PlayStore 2024-03-08 12:37:39 +05:30
vishnukvmd
b15d05050a Lower Flutter version 2024-03-08 12:37:27 +05:30