Commit graph

23978 commits

Author SHA1 Message Date
Neeraj Gupta 942da28b53 Merge branch 'main' into passkeys 2024-03-06 13:21:42 +05:30
Neeraj Gupta 69a900aa56
[mobile] Move recovery option under account section (#695)
## Description

## Tests
2024-03-06 12:57:03 +05:30
Manav Rathi 518a2a0632
Web deployment (#693)
Update the web deployment process for the new monorepo. This is
currently untested, I'll try to a do a preview deployment next of the
accounts or cast app (since they're not yet on production).
2024-03-06 12:04:56 +05:30
Manav Rathi 7057b53d2c Add deployment shortcuts 2024-03-06 11:58:41 +05:30
Manav Rathi 92b5411cb2 Update deployment script 2024-03-06 11:44:30 +05:30
Manav Rathi f199ce0e83 Update deployment instructions 2024-03-06 11:44:09 +05:30
Manav Rathi 9d55b9936d Document NODE_VERSION 2024-03-06 11:09:19 +05:30
Manav Rathi 698abe0bb8
[workflows] Use the same prefix title format as our own PRs for translation PRs (#692) 2024-03-06 10:51:51 +05:30
Neeraj Gupta 7dc5ccb154
[auth] Integrated decryption in CLI, removing standalone tool (#691)
## Description

## Tests
2024-03-06 10:49:51 +05:30
Manav Rathi 0204fce22a [workflows] Use the same prefix title format as our own PRs for translation PRs 2024-03-06 10:48:27 +05:30
Manav Rathi f02b99b40e
[cli] Update the link to the CLI downloads in README (#690)
I will also update the old CLI repository's README to point to this
repository.
2024-03-06 10:40:59 +05:30
Manav Rathi a4618faa55 [cli] Update the link to the CLI downloads in README 2024-03-06 10:37:16 +05:30
Manav Rathi 41dc0984cc
[web] Disable the Cloudflare upload proxy when connecting to a custom endpoint (#688)
This simplifies use cases like
https://github.com/ente-io/ente/discussions/685#discussioncomment-8682588.
There is one less thing for folks to do if they want to run locally or
self-host.

## Tested by

Starting a local museum, then connecting to it from the web app

    NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 yarn dev

And uploading a photo.
2024-03-06 10:17:13 +05:30
Manav Rathi b4ac991986 [web] Disable the Cloudflare upload proxy when connecting to a custom endpoint
This simplifies use cases like
https://github.com/ente-io/ente/discussions/685#discussioncomment-8682588. There
is one less thing for folks to do if they want to run locally or self-host.

Starting a local museum, then connecting to it from the web app

    NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 yarn dev

And uploading a photo.
2024-03-06 09:51:19 +05:30
Manav Rathi 3a0dc05e3d
Add mobile release workflow (#684)
## Description

Resurrect the existing mobile independent release GitHub workflow,
adapting it to the new monorepo structure but otherwise keeping it
unchanged.

## Tests

Currently untested.
2024-03-06 09:11:01 +05:30
github-actions[bot] 946a78ae47
New translations (auth) (#686)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-06 09:09:51 +05:30
Manav Rathi 8943484aa8
New translations (web) (#687)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)
2024-03-06 09:06:00 +05:30
Crowdin Bot 9d0aee87d1 New Crowdin translations by GitHub Action 2024-03-06 00:09:13 +00:00
Manav Rathi 36d5aa9f01 Add mobile release workflow 2024-03-05 20:36:07 +05:30
Manav Rathi 8da4dbeb12
CLI packaging cleanup (#682)
This is a continuation of the changes in
https://github.com/ente-io/ente/pull/681.

- git rm cli/config.yaml (this file was gitignored but it seems to be
present in the tree too)
- Remove goreleaser config since we're not using it anymore

I'm not sure if there is something in the goreleaser config that we also
need to pass to the the new action we're using to build the binaries
now, so please take a quick scan to see if something reminds you. If
needed, we should be able to set the corresponding build flag in the
[new release action](https://github.com/wangyoucao577/go-release-action)
too.
2024-03-05 18:07:59 +05:30
Manav Rathi 2a525da8ad
Fix museum deployment (#683)
- Add museum lint action (triggered automatically on any push that
touches server/*)
- Add museum release action (triggered manually - that's the behaviour
we want)
- Also fix a lint issue

It's not showing me the workflow_trigger option so can't actually test
the build yet. We can merge this, and if something's not working will
fix that in another PR.
2024-03-05 18:07:24 +05:30
Manav Rathi 795c2baf0f Fix lint 2024-03-05 16:53:15 +05:30
Manav Rathi 9127d9540c Handle subdir 2024-03-05 16:49:45 +05:30
Manav Rathi 3cad79dfa9 Add museum release action 2024-03-05 16:39:11 +05:30
Manav Rathi 0b37f74636 Add museum lint action 2024-03-05 16:33:20 +05:30
Manav Rathi 00253a923a Remove goreleaser config since we're not using it anymore 2024-03-05 16:21:43 +05:30
Manav Rathi e97468180f git rm cli/config.yaml
This file is gitignored but it seems to be present in our repo.
2024-03-05 16:21:14 +05:30
Manav Rathi 748e715ae8
[cli] Add release workflow (#681)
@ua741 I've done a test run, it seems to be working fine. You can use it
to release cli by pushing the `cli-v0.1.11` tag. This'll create a draft
release, which we can then publish.
2024-03-05 16:13:22 +05:30
Manav Rathi 50a9b38727 Disable md5s, keep only sha256es 2024-03-05 16:07:30 +05:30
Manav Rathi e29704c381 Fix matrix 2024-03-05 16:03:14 +05:30
Manav Rathi 5bc43aa0c5 Create a job matrix 2024-03-05 16:01:31 +05:30
Manav Rathi ff0e5dd29c
Ask for the project which requires new translations (#680)
This came up in https://github.com/ente-io/ente/issues/678

Tested by opening the URL manually.
2024-03-05 15:32:10 +05:30
Manav Rathi 1a4631db03 Ask for the project which requires new translations
This came up in https://github.com/ente-io/ente/issues/678
2024-03-05 15:30:17 +05:30
Manav Rathi 52d1540ad6 release-tag isn't working, go back to release-name but customize the asset title 2024-03-05 15:20:04 +05:30
Neeraj Gupta 34743171f9
[server] Add API to re-queue item for processing (#679)
## Description

## Tests
2024-03-05 15:15:23 +05:30
Manav Rathi 197ea28f76 Restore permissions 2024-03-05 15:14:14 +05:30
Manav Rathi a80c2b4d83 Retain the name to allow the action to find the existing release 2024-03-05 15:04:13 +05:30
Manav Rathi d5f4c8d358 Fix the name of the generated assets 2024-03-05 15:01:39 +05:30
Manav Rathi 79f4c9ebd9 Try with reduced permissions 2024-03-05 14:59:29 +05:30
Neeraj Gupta 3513d7a297
[server] Remove entry from object_keys before marking del as completed (#677)
## Description

## Tests
2024-03-05 14:56:02 +05:30
Manav Rathi cec1d2cf4e Provide it a release_name to get it to pick the latest draft
Ref: https://github.com/wangyoucao577/go-release-action
2024-03-05 14:53:08 +05:30
Manav Rathi e376decec1 Try with packages 2024-03-05 14:51:26 +05:30
Manav Rathi d6ac40b047 Need to create a release first 2024-03-05 14:37:57 +05:30
Manav Rathi d627fdc0fd Add permissions
Ref:
- https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
- https://github.com/wangyoucao577/go-release-action/issues/119
2024-03-05 14:35:42 +05:30
Manav Rathi 0e5a0120b2 Create a release first 2024-03-05 14:30:16 +05:30
Manav Rathi fb6dbde198 Try an alternative action that allows tags prefixes
goreleases doesn't like it if we give it a tag with a prefix, as is our case
with "cli-...".

> ⨯ release failed after 0s error=failed to parse tag 'cli-v0.0.0-rc2' as
    semver: Invalid Semantic Version
2024-03-05 14:17:24 +05:30
Manav Rathi 76968d915e Te 2024-03-05 13:55:19 +05:30
Manav Rathi 4d33fb63d0 Test 2024-03-05 13:52:42 +05:30
Manav Rathi 4c1bb65620 Remove deprecated flag
From the action run:

> DEPRECATED: --rm-dist was deprecated in favor of --clean, check https://goreleaser.com/deprecations#-rm-dist for more details
2024-03-05 13:47:08 +05:30
Manav Rathi 1b9af538fd Add CLI release workflow 2024-03-05 13:42:25 +05:30