Commit Graph

34300 Commits (42445a71ffc889b2de86872c23252973185ec215)

Author SHA1 Message Date
Stuart Carnie 5c63c2163d feat(authorization): Create a v1 authorization service
This service is a private API for managing authorization tokens
for v1 API requests.

Note that this commit does not hook up the service to the v1
`/query` and `/write`, which will occur in a subsequent PR.

Closes #19812
2020-10-27 08:26:10 -07:00
Paul Hummer a2dbb572fe
Merge pull request #19826 from influxdata/flux-staging/v0.91.0
build(flux): update Flux to v0.91.0
2020-10-27 09:05:33 -06:00
George 3d643e0681
refactor(notification): move rule service into own package (#19804)
* refactor(notification): move rule service into own package

* chore(launcher): fix tests to use clients as opposed to direct kv service

* chore(influx): update task cli to consume core domain model task from client

* chore(kv): remove rule service behaviours from kv

This also introduces the org id resolver type. Which is transplanted
from the kv service. As this one function coupled all resource
capabilities onto the kv service. Making removing these capabilities
impossible. Moving this type out into its own package which depends on
each service explicitly ensures we don't have one type which has to
implement all the service contracts.

* fix(launcher): remove double reference to influxdb package
2020-10-27 11:45:05 +00:00
Zoe Steinkamp 87061bb1cb
fix: clear logout (#19823) 2020-10-26 23:06:52 -06:00
Adrian Thurston 7a4b81bf3d fix: profiler testing: stub GetSortedResult from execute.Profile
This function is used by the end-to-end test harness to stabilize query profile
results before diff and is needed when implementing the Profile interface.
2020-10-26 14:39:30 -07:00
pierwill 485a9d0a7f
Merge pull request #19825 from influxdata/pierwill-patch-rm-oss-fuzz
docs: Update FUZZ.md
2020-10-26 15:58:24 -05:00
Paul Hummer 5884b26d38 build(flux): update Flux to v0.91.0 2020-10-26 13:00:21 -06:00
pierwill 0566346d30 docs: Update FUZZ.md 2020-10-26 10:43:21 -07:00
Ayan George bd47d8efe1
fix: Type-convert fs.Bavail for portability (#19816)
Prior to this patch, DiskUsage() would calculate bytes available
by multiplying blocks available by block size in bytes:

  disk.Avail = fs.Bavail * uint64(fs.Bsize)

Under some versions of Unix, fs.Bavail is of type uint64 and on
others (like FreeBSD) it is of type int64.

This causes a compile time error:

  $ go build
  # github.com/influxdata/influxdb/v2/pkg/fs
  ./fs_unix.go:81:25: invalid operation: fs.Bavail * uint64(fs.Bsize) (mismatched types int64 and uint64)

This patch type-converts fs.Bavail to unit64 to ensure that all
types in the expression align.

This prevents compile time errors under FreeBSD and other platforms
where fs.Bavail isn't uint64.
2020-10-26 05:32:04 -04:00
jl b7ac9f07be feat: aggregate array cursors 2020-10-23 15:13:28 -07:00
George 3b7cb529dc
chore(docs): update PostDBRP docs to reflect mutual exclusive requirement of org vs orgID (#19802) 2020-10-22 17:02:32 +01:00
Gershon Shif ce00f0d226
fix(build): building arm 6 (#19756) 2020-10-21 16:29:48 -07:00
Gershon Shif 79c0b9bc4a
chore: CHANGELOG updates for v2.0.0-rc.2 (#19795) 2020-10-21 15:33:03 -07:00
vlastahajek 7947a7fffd fix(upgrade): improving upgrade help 2020-10-21 07:58:32 -07:00
Stuart Carnie 2705c57554 fix(launcher): Switch to AuthorizationService from authorization package
This commit ensures OSS is using the new implementation of the
AuthorizationService from the authorization package.

It also removes the associated feature flag.
2020-10-21 07:44:15 -07:00
Ales Pour 6a43939546 fix: proper default 2.x config filename 2020-10-20 08:03:34 -07:00
Greg b63bcb43c4
fix: use valid flux in pkger test templates (#19465) 2020-10-19 15:45:11 -06:00
Ales Pour 2b828c5b8c fix: fallback to user's home 2020-10-19 12:35:58 -07:00
Russ Savage 06f1e80216
fix(timeMachine): change derivative to 1s (#19776) 2020-10-19 11:03:26 -07:00
Russ Savage 683aa014c2
fix(plugins): Telegraf plugin updates (remove RAS for now) (#19775)
* fix(plugins): latest readme changes into oss

* fix(plugins): remove RAS plugin
2020-10-19 11:01:32 -07:00
Paul Hummer 6192dd74e8
Merge pull request #19774 from influxdata/flux-staging/v0.90.0
build(flux): update Flux to v0.90.0
2020-10-19 11:54:25 -06:00
Paul Hummer 1a81ca4401 build(flux): update Flux to v0.90.0 2020-10-19 11:30:28 -06:00
Greg 8c0ff75c6d
fix(cli): return error on failed resource addition (#19750) 2020-10-15 09:29:00 -06:00
Faith Chikwekwe 447ae59fa8
Merge pull request #19725 from influxdata/feat/window-agg-res-set
feat(storage/reads): add window agg result set
2020-10-15 07:53:48 -07:00
Gershon Shif 5304b77577
chore: remove arm6 from build and add private.key to gitignore (#19748) 2020-10-14 14:02:44 -07:00
Lyon Hill 4f737f1c0a
chore: clean todo (#19745) 2020-10-14 14:22:12 -06:00
Greg 9ab10c8b6c
feat(cli): provide means to remove stack without confirmation (#19740) 2020-10-14 13:35:58 -06:00
Russ Savage 873ca960c6
chore(changelog): changelog updates for rc1 (#19747) 2020-10-14 12:24:25 -07:00
Russ Savage b60331b82e
feat(writeData): adding intel_rdt and ras telegraf plugins (#19746)
* feat(writeData): adding intel_rdt and ras telegraf plugins

* fix: typo in exec.md

* fix(ras): update RAS name
2020-10-14 11:18:11 -07:00
Paul Hummer 155fa72b34
Merge pull request #19731 from rockstar/flux-staging/v0.89.0
build(flux): update Flux to v0.89.0
2020-10-14 11:26:56 -06:00
Paul Hummer 4da32637ed build(flux): update Flux to v0.89.0 2020-10-14 10:51:01 -06:00
Gershon Shif 9bb9b7f8dd
chore: added sign section to goreleaser (#19739)
* chore: added sign section to goreleaser

* chore: update config.yml to be able to import GPG keys
2020-10-14 09:06:37 -07:00
Ales Pour 8a0068546f style: better option descrition 2020-10-14 08:02:30 -07:00
Ales Pour 548eec197d refactor: influx 2.x path is a commamnd line option 2020-10-14 08:02:30 -07:00
Ales Pour 2308e6c50e feat(upgrade): upgrade security 2020-10-14 08:02:30 -07:00
Faith Chikwekwe 8e0328af74 feat(storage/reads): add window agg result set 2020-10-13 13:32:13 -07:00
Pavel Závora a171c4e2cb
Merge pull request #19723 from influxdata/19658/refactor_batcher
chore(write): refactor batcher to reuse code
2020-10-13 20:32:38 +02:00
sans 7dcaf5c639
fix: typos (#19734) 2020-10-13 09:50:32 -07:00
Johnny Steenbergen db97f1c1f6
fix(influx): update default value of list tasks influx command to 100 (#19732) 2020-10-12 17:05:56 -06:00
Stuart Carnie d28e55d3b6 fix(kv): Reorganize bcrypt password hashing outside transactions
This ensures that transaction lifetimes are shorter to reduce lock
contention.

Additionally, this PR removes the ability to set an empty password
when running the initial on-boarding process. According to the
original developer, this behavior was required to permit Cloud
processes to complete. As this code is no longer shared, this security
issue is corrected.
2020-10-12 08:06:32 -07:00
Pavel Zavora e914f6677a chore(write): refactor batcher to reuse code 2020-10-11 13:25:57 +02:00
Greg e8931bbffa
fix(templates): allow same duration unit identifiers that the tasks api allows (#19710) 2020-10-09 14:17:04 -06:00
Stuart Carnie d0338165e6 chore: Update CHANGELOG.md 2020-10-08 15:43:37 -07:00
Stuart Carnie 4b02d54b75 fix: Ensure orgID and bucketID are passed to WritePoints API
Fixes #19679
2020-10-08 15:43:37 -07:00
Russ Savage eb4482a3f5
fix(writeData): fixing win_eventlog readme (#19675) 2020-10-08 09:51:41 -07:00
vlastahajek 8763bb1af9 feat(upgrade): upgrade databases 2020-10-08 09:39:30 -07:00
Faith Chikwekwe 7cd689d57e
Merge pull request #19699 from influxdata/feat/mean-agg-pushdown
feat(values): add window mean array cursor
2020-10-07 13:37:03 -07:00
Faith Chikwekwe 2acb8b897a feat(values): add window mean array cursor 2020-10-07 13:17:50 -07:00
Greg 6219adc574
fix: preserve cell colors on export/import (#19700) 2020-10-07 14:13:53 -06:00
Lyon Hill c523fd22f7
chore: clean old feature flags (#19692) 2020-10-06 13:43:32 -06:00