Commit graph

33 commits

Author SHA1 Message Date
Neeraj Gupta
a51a965fc8
[cli] Fix handling of delete file with stale colleciton entry (#1259)
## Description

## Tests
Tested locally
2024-03-30 14:14:03 +05:30
Neeraj Gupta
bc45db51a9
[cli] Improve logging for decryption error (#1242)
## Description
Related to #1237
## Tests
2024-03-29 11:08:45 +05:30
Neeraj Gupta
80498340b6 [cli] Mark docs/generated as generated for Github 2024-03-14 16:20:47 +05:30
Neeraj Gupta
9c04c8fbe6 [cli] Generate docs 2024-03-14 16:18:37 +05:30
Neeraj Gupta
bc47368a01 [cli] Add API to delete-user 2024-03-14 16:18:08 +05:30
Neeraj Gupta
6af62d8727 [cli] Add admin disable-2fa cmd 2024-03-14 16:13:11 +05:30
Neeraj Gupta
da3c6a78d4 [cli] Make it optional to pass adminUser when only one account is configured 2024-03-14 16:01:40 +05:30
Neeraj Gupta
324eeed1c5 [cli] Add admin list-user cmd 2024-03-14 15:53:26 +05:30
Manav Rathi
c18115ef52
Fix link 2024-03-14 10:48:25 +05:30
Manav Rathi
7fabb3a03c
[meta] Document the tag format, and call out the need to keep tag == title
Related: https://github.com/ente-io/ente/discussions/1087#discussioncomment-8775807
2024-03-14 09:50:08 +05:30
Neeraj Gupta
e42422407c [cli] Pick version from the github tag 2024-03-13 11:43:19 +05:30
Neeraj Gupta
2711a227fc [cli] Update gen docs + add docs/selfhost.md 2024-03-13 11:43:19 +05:30
Neeraj Gupta
0678e3129a [cli] generated docs 2024-03-13 02:03:44 +05:30
Neeraj Gupta
b164b0df21 [cli] By default, update sub to high storage & expiry 2024-03-13 02:03:44 +05:30
Neeraj Gupta
0d38346722 [cli] Add admin API to bump up storage for free users 2024-03-13 02:03:44 +05:30
Neeraj Gupta
51d3238a52 [cli] Log query params in debug mode 2024-03-13 02:03:44 +05:30
Neeraj Gupta
ddd89aa1d1 [cli] Log query params in debug mode 2024-03-13 02:03:44 +05:30
Neeraj Gupta
f21a627a71 Add cli generated docs inside docs/generated 2024-03-13 02:03:44 +05:30
Neeraj Gupta
063e980280 [cli] Add command to get-token 2024-03-13 02:03:44 +05:30
Neeraj Gupta
d7d42b6854 [cli] Add example config file 2024-03-13 02:03:44 +05:30
Neeraj Gupta
260a7fbcaa [cli] Allow switching API host based on config 2024-03-13 02:03:44 +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
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
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
Manav Rathi
636454faa2 Use the tag: qualifier to better filter the releases
We still need to provide at least the major version, and we'll need to remember
to update these links when the major version changes.

Ref:
- https://docs.github.com/en/repositories/releasing-projects-on-github/searching-a-repositorys-releases
2024-03-06 14:42:49 +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
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
1b9af538fd Add CLI release workflow 2024-03-05 13:42:25 +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
39ef006532 Move into cli/ 2024-03-01 12:39:01 +05:30