Daniel Moran
15b9531273
fix: correct various typos ( #19987 )
...
Co-authored-by: kumakichi <xyesan@gmail.com>
2020-11-11 13:54:21 -05:00
Daniel Moran
b9fc93eb85
chore: sync CHANGELOG from 2.0.1 ( #19988 )
2020-11-11 12:16:45 -05:00
Daniel Moran
d8e7de93cc
fix: check write permission in legacy write path ( #19980 )
2020-11-10 18:41:50 -05:00
alespour
2982701d01
fix(upgrade): add log-level CLI option ( #19967 )
...
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2020-11-10 17:23:29 -05:00
alespour
c4eb6290f0
fix(upgrade): check for existing 2.x CLI configs file during upgrade ( #19969 )
...
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2020-11-10 16:42:51 -05:00
alespour
63974e8fe7
fix(upgrade): remove obsolete unused option (influx-command-path) ( #19972 )
2020-11-10 15:37:38 -05:00
Andrew Watkins
6ef0e03b33
chore: remove Invites from swagger ( #19971 )
2020-11-10 11:05:43 -08:00
Pavel Závora
c33dc99a47
Merge pull request #19918 from influxdata/swagger/delete_operation_Id
...
chore(swagger): add operationId to /delete
2020-11-10 14:10:11 +01:00
Stuart Carnie
778b9ff9eb
chore: Address linter issues
2020-11-10 11:53:34 +11:00
Stuart Carnie
6b27a5bff3
chore: Update CHANGELOG.md
2020-11-10 11:53:34 +11:00
Stuart Carnie
acd30c863b
fix: Remove bucket and mapping auto-creation from /write API
...
Fixes #19954
2020-11-10 11:53:34 +11:00
Daniel Moran
b643482c45
fix(upgrade): use 10 instead of MaxInt when rewriting query-concurrency ( #19959 )
2020-11-09 19:00:30 -05:00
Stuart Carnie
3c9ee3f8af
chore: Improve help for --no-password switch
2020-11-10 10:38:36 +11:00
Russ Savage
cae539055f
fix: updating v1 auth description ( #19947 )
...
* fix: updating v1 auth description
* fix: fixing tests
* chore: renaming to legacy
2020-11-09 15:10:46 -08:00
Daniel Moran
3317ea0644
fix: enable write-only users to pass auth checks in the V1 API ( #19945 )
2020-11-09 18:10:35 -05:00
alespour
07e009c616
fix(upgrade): create CLI configs ( #19937 )
...
Co-authored-by: docmerlin (j. Emrys Landivar) <landivar@gmail.com>
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2020-11-09 17:43:28 -05:00
Daniel Moran
b4aa582750
fix(upgrade): use db/rp naming convention when upgrading DBs ( #19952 )
2020-11-09 17:19:04 -05:00
Russ Savage
905adb6c04
feat: adding RAS telegraf input ( #19946 )
2020-11-09 12:59:54 -08:00
Stuart Carnie
85b9d84e57
fix: PR Feedback
2020-11-09 15:22:05 -05:00
Stuart Carnie
4d7830c8e9
chore: Update CHANGELOG.md
2020-11-09 15:22:05 -05:00
Stuart Carnie
5cec8a44cc
fix: Improve `v1 auth` CLI UI
...
The enhancements and fixes to the user experience are as follows:
* Rename active and inactive commands to the actions set-active and
set-inactive respectively to clarify their behavior
To set a token to active:
```
influx v1 auth set-active
```
To set a token to inactive, preventing its use:
```
influx v1 auth set-inactive
```
* allow `--id` or `--username` anywhere a single authentication token is
required
* use separate vars to store the flag state of each command
* factor out the behavior to find a single authentication token into
a shared function, `v1FindOneAuthorization`
2020-11-09 15:22:05 -05:00
Stuart Carnie
ae980c3549
feat: Support influxdb.ID as bindable argument in kit/cli
2020-11-09 15:22:05 -05:00
Sean Brickley
2ff1f176db
build(ui): Upgrade flux-lsp-browser to v0.5.22
2020-11-09 15:15:52 -05:00
Daniel Moran
040f5b208a
fix: replace 0 with MaxInt when upgrading query-concurrency ( #19930 )
2020-11-09 12:01:09 -05:00
Daniel Moran
ca547cfb29
fix: make influxd help more specific ( #19939 )
2020-11-09 11:45:15 -05:00
Paul Hummer
da024191b8
Merge pull request #19940 from influxdata/flux-staging/v0.94.0
...
build(flux): update Flux to v0.94.0
2020-11-09 09:43:23 -07:00
Paul Hummer
047d3b0874
build(flux): update Flux to v0.94.0
2020-11-09 09:08:01 -07:00
Cuong Manh Le
51ff6f7b5c
fix: misuse of reflect.SliceHeader ( #19875 )
...
Currently, unsafeBytesToString function violates the 6th rule of unsafe
pointer usage. That is, reflect.SliceHeader/String header should never
be used as plain struct. This misuse can make to silent memory
corruption, which can be difficult to track down when problem occurred.
Instead, use the more (right) idiom to convert slice of byte to string
without heap allocation.
goos: linux
goarch: amd64
cpu: Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
BenchmarkInvalid-8 1000000000 0.497 ns/op 0 B/op 0 allocs/op
BenchmarkValid-8 1000000000 0.239 ns/op 0 B/op 0 allocs/op
PASS
ok command-line-arguments 0.815s
2020-11-09 09:37:20 -05:00
Daniel Moran
ee390ddfd3
fix: parsing of retention policy CLI args in `influx setup` and `influxd upgrade` ( #19928 )
2020-11-06 17:50:32 -05:00
Daniel Moran
a89041b182
fix(cmd/influxd/upgrade): delete references to 'security script' in upgrade command ( #19924 )
2020-11-06 15:32:38 -05:00
Pavel Zavora
49697f0bd4
chore(swagger): add operationId to /delete
2020-11-06 08:30:53 +01:00
Gershon Shif
0ae3df0f27
chore: update CHANGELOG for rc4 ( #19913 )
2020-11-05 17:27:37 -08:00
Adrian Thurston
30ad7281aa
refactor: replace builtin package with fluxinit/static ( #3304 ) ( #19909 )
...
A static initialization is not desirable in the main binaries, as it forces all
paths of code to init, but it is still useful in tests. It allows static
intialization to be performed once for all tests and eliminates the need to
always add the FluxInit call. Added a fluxinit/static package that calls
fluxinit.FluxInit() to replace the builtin package. This hides the nature of
the initialization and makes it clear that it is mandatory initialization code
getting called.
2020-11-05 16:54:28 -08:00
Ben Johnson
a849bfdef3
Merge pull request #19864 from influxdata/backup-restore
2020-11-05 15:39:04 -07:00
Greg
333640d81f
chore: reduce filesize of influx binary by roughly 45 percent ( #19712 )
2020-11-05 11:00:03 -08:00
Pavel Závora
7e69e96dcc
Merge pull request #19908 from influxdata/http/ready_returns_json
...
fix(http): fix /ready response content type
2020-11-05 19:42:36 +01:00
Russ Savage
6266dead45
chore: update changelog
2020-11-05 10:30:47 -08:00
Pavel Zavora
7ca821a9ad
fix(http): fix /ready response content type
2020-11-05 19:20:57 +01:00
6h057
7d6026e8be
fix(ui): Cloning tasks makes actions shared in task list view ( #19685 )
2020-11-05 10:15:56 -08:00
Scott Anderson
266ef98411
chore(flux): flux 0.92 functions ( #19899 )
2020-11-05 09:52:24 -08:00
Ben Johnson
00b58deab0
fix: pr review changes
2020-11-05 10:10:32 -07:00
Ben Johnson
419b0cf76b
feat: Implement full restore
2020-11-05 10:05:01 -07:00
Ben Johnson
2c554ae974
fix: Use operator permissions for backup/restore
2020-11-05 10:05:01 -07:00
Ben Johnson
5f1968b331
fix: Skip deleted shard groups during backup
2020-11-05 10:05:01 -07:00
Ben Johnson
ea1a3dbe60
fix: Return ENotFound for BackupShard()
2020-11-05 10:05:01 -07:00
Ben Johnson
6e1097c625
feat: Minor updates to backup/restore
2020-11-05 10:05:01 -07:00
Ben Johnson
23679c2375
feat: Implement backup/restore CLI subcommands.
2020-11-05 10:05:01 -07:00
Gershon Shif
89773ba30b
chore: make 2.0 RC builds optional ( #19900 )
2020-11-04 14:31:37 -08:00
Gershon Shif
9b6d4f9499
chore: do not build arm arch ( #19902 )
2020-11-04 14:29:57 -08:00
Christopher M. Wolff
14443a5c39
fix: return empty iterator instead of null in tagValues ( #19894 )
...
Fixes influxdata/flux#3300 .
2020-11-04 08:09:27 -08:00