Commit graph

24544 commits

Author SHA1 Message Date
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
Manav Rathi
05d13979db Remove GitHub deployments
Not integrating GitHub deployments for now since creating a deployment
(anywhere) causes "This branch has not been deployed" message to appear on
unrelated branches.

Also, the Discord /github webhook doesn't support deployment status events
anyway - Discord accepts and responds to the webhook with a 204 but it doesn't
appear in the channel. This is not a big issue, we can easily massage the
payload ourselves, but just mentioning this for posterity. Refs:

* [Corresponding issue on Discord](https://github.com/discord/discord-api-docs/issues/6203#issuecomment-1608151265)

* [A general recipe](https://gist.github.com/jagrosh/5b1761213e33fc5b54ec7f6379034a22)

---

For deleting the existing deployment I had to

```
gh api /repos/ente-io/ente/deployments --jq=".[].id"
gh api --method DELETE -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" "/repos/ente-io/ente/deployments/1375794893"
```

This helpful hint taken from https://github.com/orgs/community/discussions/46375. Thanks!
2024-03-08 12:30:58 +05:30
ashilkn
454f5cdead Merge branch 'main' into fix_auto_scaling_on_loading_final_image 2024-03-08 12:17:04 +05:30
ashilkn
3f45345aad fix: when image is fully loaded after scaling the image, stay at the same position 2024-03-08 12:13:50 +05:30
ashilkn
8da57bd575 fix: auto scaling when final image is loaded case 2
When an image is magnified and a user is pressing down (onPressed) on the image, once the final image is loaded, the image auto scales
2024-03-08 12:09:33 +05:30
Manav Rathi
e47bcf2774 Merge for now 2024-03-08 12:05:12 +05:30
ashilkn
f14b499ffe fix: auto scaling after image is fully loaded after double tapping twice 2024-03-08 11:20:19 +05:30
Manav Rathi
4da96a3b76 Add the workflow 2024-03-08 11:19:04 +05:30
github-actions[bot]
58958cd705
[auth] New translations (#738)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-08 10:39:02 +05:30
Manav Rathi
e3118ee7b0 Start adding notes 2024-03-08 10:37:40 +05:30
Manav Rathi
e3f2a77d2c Add workflow (sans the deployment)
Ref: https://vitepress.dev/reference/cli
2024-03-08 09:53:26 +05:30
Manav Rathi
10b5771445 Fix dead links 2024-03-08 09:48:49 +05:30
Crowdin Bot
835c6dea73 New Crowdin translations by GitHub Action 2024-03-08 00:09:25 +00:00
Manav Rathi
457b1c1abd
[docs] Prepare for first publish (#735)
Finalize the structure of the docs, and go through all of the existing
content, cleaning it up and making it a bit more consistent.

Apart from the photos/troubleshooting/sharing-logs page, there are no
other placeholders left. The content is still not complete, but things
are at a state where we can publish this and then iteratively keep
adding to it.
2024-03-07 17:09:11 +05:30
Manav Rathi
1955508a90 Audit and edit 2024-03-07 17:05:21 +05:30
Neeraj Gupta
a9cb6f3077
[mobile] Remove unused db for public keys (#734)
## Description
To keep the changes simple, we are not deleting any existing database
instances. In case we need to store this information in the future, we
will reuse the existing database instead of creating a new one.
2024-03-07 16:37:20 +05:30
Manav Rathi
b66cdb8942 Finalize structure 2024-03-07 15:38:41 +05:30
Vishnu Mohandas
a8922203bf
Fix warnings around missing awaits (#733)
Fix warnings around missing awaits
2024-03-07 15:21:27 +05:30
Manav Rathi
7e2410a0ed More 2024-03-07 15:15:18 +05:30
Manav Rathi
3e614e66f5 Scaffold a few pages 2024-03-07 13:59:29 +05:30
vishnukvmd
3b498f1be6 Fix warnings around missing awaits 2024-03-07 13:46:05 +05:30
Manav Rathi
cf75ac58b9 Update to latest vitepress 2024-03-07 13:28:36 +05:30
Vishnu Mohandas
90bbc54bb5
[Auth] Allow for configuring a custom server (#726)
## Description
Users can now tap on the onboarding screen **7 times** to bring up a
page where they can configure the endpoint the app should be connecting
to.


![self-host](https://github.com/ente-io/ente/assets/1161789/10f61f6d-0fb3-4f5b-889e-806ca7607525)



## Tests
- [x] Verified that production flows are working as expected
- [x] Verified that configuring the endpoint to a local instance lets
you
  - [x] Connect to that instance 
  - [x] Create an account
  - [x] Add a key
  - [x] Modify a key
  - [x] Logout and log back in
2024-03-07 13:24:30 +05:30