Commit Graph

235 Commits

Author SHA1 Message Date
b7eacf9ba9 chore: use remote package signing (#498) 2023-04-18 22:24:57 -04:00
8a2499f476 chore: update to go 1.20.3 (#496)
* chore: update to go 1.20.3

* chore: update to go 1.20.3
2023-04-11 12:48:19 -04:00
929952d647 fix: rename package to influxdb2-cli (#495)
The package filename remains "influxdb2-client"; however, internally
the package has been renamed to "influxdb2-cli". This is so upgrades
are performed correctly by apt and yum (which use the package
metadata rather than the filename).

This also swaps out underscores to slashes to match what
influxdata-docker expects.
2023-04-10 12:48:17 -04:00
af76e69fa5 fix: don't attempt to overwrite influxdb installs (#493) (#494)
* fix: don't attempt to overwrite influxdb installs

* fix: don't attempt to overwrite influxdb installs
2023-04-06 12:29:54 -04:00
a5a89b41f6 chore: build windows packages on release (#490) 2023-04-05 13:12:26 -04:00
02a094a4b1 chore: update openapi (#488) 2023-04-03 16:20:33 -04:00
88517ea782 chore: version bump sys to support riscv (#483)
* chore: version bump sys to support riscv

* chore: go mod tidy
2023-04-03 13:08:41 -04:00
4046d9974d fix: typo in alias of bucket update command (#485) 2023-04-03 09:44:57 -04:00
625273adf9 feat: Add new replication field to better show queue sync progress (#480)
* chore: update openapi

* feat: update replication field names to match influx changes

* feat: add new field to show replication queue sync progress

* chore: update to master openapi
2023-03-10 09:13:35 -05:00
1164ca57ff chore: use fpm for packaging (#476)
* chore: remove goreleaser configuration and scripts

* chore: replace goreleaser with fpm

goreleaser handled signing and uploading packages. So, that
functionality had to be implemented here as well.
2023-03-01 17:26:34 -05:00
48e8f5b752 chore: update to go 1.19.6 (#479) 2023-03-01 15:30:51 -06:00
4ce9053ddb fix: updated api for deleting secrets so "influx secret delete" command works again (#469)
* fix: updated api for deleting secrets

* fix: reversed code comments update
2023-01-09 08:35:09 -05:00
ae62da0b32 chore: update to go 1.19 (#465) (#467)
* chore: upgrade go releaser to v1.13.1 (#464)

* chore: update goreleaser and actually use go 1.19

* chore: format for go 1.19

Co-authored-by: Brandon Pfeifer <bpfeifer@influxdata.com>

Co-authored-by: Brandon Pfeifer <bpfeifer@influxdata.com>
2023-01-03 16:16:12 -05:00
5546ab6ea7 chore: upgrade go releaser to v1.13.1 (#464) 2022-12-28 13:13:07 -05:00
90e825cdd9 chore: update go-prompt to fix terminal clear issue (#462) 2022-12-12 17:16:45 -05:00
429cc0e9fe chore: upgrade Go to 1.19.4 (#461) 2022-12-07 15:17:06 -06:00
ac1eb0b620 fix: handle "every" when defined inside of flux (#460) 2022-11-29 12:41:43 -05:00
11859bdaf6 chore: update 2.5 changelog (and add missing entries) (#454) 2022-11-15 12:18:03 -05:00
41059f52b4 chore: update to openapi 5.1.1 to enable arm builds (#453) 2022-11-15 12:17:48 -05:00
e16398c7c6 chore: upgrade Go to 1.19.3 (#455) 2022-11-02 17:18:28 -05:00
3285a03e9e fix: do not require remoteOrgID for remote connection creation (#451) 2022-10-28 11:16:53 -05:00
121864a550 fix: cloud expects dataType in csv files (#449) 2022-10-19 15:13:20 -04:00
6142b7a4a3 feat: support username-password in config update (#447) 2022-10-14 07:56:39 -04:00
188c393034 chore: fix go version in go.mod (#448) 2022-10-13 12:45:44 -05:00
77cca94cdc fix: fixes an error where stdin could not be used to create tasks (#444) 2022-09-27 15:20:23 -04:00
e39e365222 chore: go1.19 (#446) 2022-09-27 15:19:43 -04:00
e2aa4d2df9 fix(stacks): Fix stack error typo (#445)
This is a simple fix for typo in an error returned to the user.
2022-09-22 15:39:48 +01:00
3a593e7184 fix: don't allow creating an auth with instance resources (#442)
* fix: don't allow creating an auth with instance resources

* fix: handle operator flag as well
2022-08-29 14:01:05 -04:00
5c7c34f16d feat: replication bucket name (#440)
* chore: gofmt

* chore: update openapi gen files

* feat: add replication-bucket-name flag

* fix: fix tests

* chore: rename to replication-bucket

* feat: show remote bucket name or id

* chore: fmt fixup

* chore: update openapi to master

* chore: fix openapi generation
2022-08-18 14:21:50 -04:00
051a6aafc4 Clarify difference in virtual vs physical dbrps when listing (#439)
* fix: separate v1 dbrp list results into physical and virtual

* fix: remove virtual column from v1 dbrp list

* fix: update v1 dbrp list tests for new format

* fix: add new test with virtual result
2022-08-17 10:31:48 -06:00
65ff49fedf chore(tasks): support looking up tasks by script id (#437) 2022-08-15 10:19:09 -06:00
7bdad28ee0 feat: add virtual column to DBRP printing (#435)
* feat: add virtual column to DBRP printing

* fix: update DBRP tests with new virtual column

* chore: update to latest openapi
2022-08-03 16:14:07 -06:00
fbbe9743f2 fix: update unsupported xcode version (#436) 2022-08-03 15:51:52 -06:00
75e3606e87 fix: show remotes and replications flags in auth create (#374) 2022-08-03 16:49:45 -05:00
826e03f8b2 feat: added script support when updating tasks for the cloud (#433)
* feat: added script support when updating tasks for the cloud

* feat: added script ID to task printing
2022-08-03 13:12:27 -06:00
1453e20f2b feat: added script support when creating tasks for the cloud (#432) 2022-08-03 13:12:11 -06:00
0b6ce21cfe feat: allow deleting replications with remotes (#417) 2022-08-02 11:03:38 -05:00
78ef3c127c chore: add influx command shell hint (#400) 2022-07-28 11:00:14 -06:00
f34e6a888f feat: add username and password login (#418)
* feat: add username and password login

* fix: make sure cookie is not empty

* chore: go mod tidy

* fix: prevent local config from influencing tests

* fix: small cleanup on error handling

* fix: remove unnecessary trim
2022-07-28 10:53:19 -04:00
182303e31d fix: prevent v1 shell hang on empty query result (#431) 2022-07-27 15:21:49 -06:00
0de05ed3e4 feat: updated openapi to support tasks containing scripts (#430) 2022-07-27 15:21:11 -06:00
d470527e43 feat: added tag stripping step to openapi generation to fix codegen (#428)
* feat: added tag stripping step to openapi generation to fix codegen

* fix: run tag removal in docker container

* fix: ignore cli generated yaml
2022-07-26 13:02:19 -06:00
c44d2f232b build: upload "latest" artifacts (#423) 2022-07-13 02:26:42 -04:00
b9ffcb4b5a fix: improve display for strings and numbers in v1 shell tables (#420)
* fix: improve alignment for strings and numbers

* add scientific toggle command for table format

* enter altscreen when in table format interactive mode

* chore: run go mod tidy
2022-07-01 10:22:13 -06:00
da2899d71d feat: add skipRowOnError handling for raw line protocol files (#419)
* feat: add skipRowOnError for raw line protocol files

* use common code from influxdb instead of copying

* add test

* remove dead code comment
2022-07-01 10:14:14 -06:00
e5707cd63c feat: allow setting membership type in influx org members add (#402)
* add owners endpoints to cli.yml

* run make openapi and mock

* add owner listing, adding and removing

* fix: update tests to remove getUser indirection
2022-06-28 16:06:58 -06:00
56a8276a4a chore: fix issues with Go 1.18 in CI (#416) 2022-06-27 15:11:12 -05:00
d3e0efb560 fix up tabs vs. spaces mistakes in shell help prompt (#412) 2022-06-24 11:32:16 -06:00
9dc1b8e4b1 feat: add pretty table format to REPL (#393)
* add v1-compatible query path and refactor other paths to de-duplicate "/query"

* add initial influxQL repl

* add ping endpoint to schema

* improve prompt UX, implement some commands

* fix json column type in schema and improve completion

* feat: add table formatter and move to forked go-prompt

* improve formatting and add table pagination

* implement more REPL commands, including insert and history

* implement "INSERT INTO"

* move repl command to "v1 repl"

* refactor and improve documentation

* clean up v1_repl cmd

* update to latest openapi, use some openapi paths instead of overrides

* remove additional files that were moved to openapi

* compute historyFilePath at REPL start

* clean up REPL use command logic flow

* clean up comments for TODOs now in issues

* move gopher (chonky boi)

* remove autocompletion for separate PR

* run go mod tidy

* add rfc3339 precision option

* allow left and right column scrolling to display whole table

* add error to JSON query response

* add tags and partial to JSON response series schema

* fix csv formatting and add column formatting

* remove table format for separate PR

* add pretty table format to REPL

* fix getDatabases

* move from write to legacy write endpoint for INSERT

* remove history vestiges

* allow multiple spaces in INSERT commands

* add precision comment

* remove auth for separate PR

* separate parseInsert and add unit test

* add additional test case and improve error messages

* fix missing errors import

* update for simpler horizontal scrolling in table mode

* improve dialog printing

* improve table format and interactions

* jump to first page on shift-up

* add keybinding info

* change wording from result to table, flip
2022-06-24 09:08:51 -06:00
85c690f1f1 chore: add checkgenerate test to lint (#404) 2022-06-23 10:07:38 -05:00