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
Manav Rathi
ef553d9401
Stop unnecessary lint workflows from running on pushing tags ( #676 )
...
Ref:
-
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore
-
https://stackoverflow.com/questions/77667104/how-to-make-github-action-trigger-on-push-paths-and-push-tags
- https://github.com/orgs/community/discussions/26273
2024-03-05 13:15:34 +05:30
Manav Rathi
cbf0223f07
Stop unnecessary lint workflows from running on pushing tags
...
Ref:
- https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore
- https://stackoverflow.com/questions/77667104/how-to-make-github-action-trigger-on-push-paths-and-push-tags
- https://github.com/orgs/community/discussions/26273
2024-03-05 13:10:03 +05:30
github-actions[bot]
235393235b
New translations (auth) ( #666 )
...
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action )
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-05 12:38:33 +05:30
Neeraj Gupta
85cc8f0173
[cli] Bump version to 0.1.11
2024-03-05 12:31:25 +05:30
Neeraj Gupta
d36be6efbd
[cli] Add command to decrypt auth export
2024-03-05 12:31:25 +05:30
Manav Rathi
59560cc870
Add GitHub Action for releasing the auth app (mobile and desktop) ( #671 )
...
## Description
This action will take the latest auth code, build the iOS/Android apps,
and create a draft release using it.
It will also then create a desktop build of auth. Since the desktop
build is currently in beta, this might be neutered when we merge this
into main for now.
## Tests
This PR _is_ the test. I'll be adding commits as I fill this in. These
commits will create a test tag (that I'll also delete later).
2024-03-05 12:30:01 +05:30
Manav Rathi
a20e1bc0d4
Remove temporary testing code
2024-03-05 12:24:41 +05:30
Manav Rathi
28a4deb214
Document
2024-03-05 12:16:19 +05:30
Manav Rathi
d2d731a096
Add release notes
2024-03-05 12:13:03 +05:30
Manav Rathi
dae1be0729
Fix macOS build
2024-03-05 12:08:20 +05:30
Manav Rathi
e974e1dba2
Add macOS
2024-03-05 11:43:12 +05:30
Manav Rathi
9af7bf3cd0
Temporarily disable the build steps
2024-03-05 11:29:15 +05:30