Commit Graph

24075 Commits

Author SHA1 Message Date
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
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
Manav Rathi
5d4486fce3 Add web-nightly and update existing 2024-03-08 14:09:41 +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) auth-v2.0.36 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
Manav Rathi
e47bcf2774 Merge for now 2024-03-08 12:05:12 +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
vishnukvmd
fe0697fccb Reuse existing widget to render the custom endpoint (if any) 2024-03-07 13:22:13 +05:30
vishnukvmd
b9078eadc0 Show custom endpoint within Settings 2024-03-07 13:19:26 +05:30
Manav Rathi
06c4f5791b [cli] Improve docs (#730)
- Improve CLI installation documentation, as requested in
https://github.com/ente-io/ente/discussions/709.
- Document BuildKit requirement, as requested in
https://github.com/ente-io/ente/issues/712.
2024-03-07 13:12:57 +05:30
Neeraj Gupta
e3655c4513 [auth] Add linter rule for missing await (#732)
## Description

## Tests
2024-03-07 13:11:42 +05:30
vishnukvmd
293246ce92 Show configured endpoint on OnboardingPage 2024-03-07 13:10:24 +05:30
Neeraj Gupta
8186246690 [server] Update freq for removing compliance hold (#731)
## Description
- Taking lock at host level to avoid redundant downstream request when
multiple host pick same items.

## Tests
Tested locally.
2024-03-07 13:08:04 +05:30
Manav Rathi
239d7f33ed Document BuildKit requirement
See https://github.com/ente-io/ente/issues/712
2024-03-07 12:56:58 +05:30
Manav Rathi
85af7f920c Improve CLI documentation 2024-03-07 12:53:12 +05:30
vishnukvmd
7bb65af482 /ping to validate the endpoint 2024-03-07 12:51:18 +05:30
Manav Rathi
2101d06d32 export CGO_ENABLED=0
The configuration used by goreleaser (which we previously used to build the
release binaries) had set CGO_ENABLED=0. Since we don't specifically need this
to be on, revert to that configuration.

Also add a few more go build flags to reduce the size of the produced binaries

Ref:
- https://github.com/wangyoucao577/go-release-action/issues/33
- https://github.com/wangyoucao577/go-release-action
- https://github.com/ente-io/cli/blob/main/.goreleaser.yaml#L18

Related:
- https://github.com/ente-io/ente/issues/727
cli-v0.1.12-test
2024-03-07 12:00:17 +05:30
Manav Rathi
b70ca6bec2 Remove environment variable unset
exports don't survive the shell script
2024-03-07 11:15:45 +05:30
github-actions[bot]
1a6644e28c New translations (mobile) (#667)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-07 08:35:58 +05:30
Neeraj Gupta
97792f064b [passkey] Fixed base64 decode + bump version (#728)
## Description
## Tests
2024-03-07 08:26:00 +05:30
Neeraj Gupta
dd323316f7 Update logs & undo build file changes 2024-03-07 07:02:17 +05:30
Neeraj Gupta
846ecadc59 [auth] Update flutter submodule to v3.16.9 2024-03-07 07:01:02 +05:30