Commit Graph

234 Commits (10fcc2bf1dafabff8d58d433e60a9679c7982f39)

Author SHA1 Message Date
Daniel Moran c4c29ec08f
chore: remove references to chronograf (#20392) 2021-01-05 07:46:58 -08:00
Daniel Moran 9b8c81c49c
build: clean up our CircleCI configs (#20397)
* Delete unused configs
* Delete unused test steps
* Reorder our main config file to start with top-level pipelines, and to group conceptually-related jobs
* Introduce new jobs to pull dependencies, to reduce duplicated work across test/lint/build steps
* Rename our caches to bust our current huge sizes
* Use unique names for caches per-step, to avoid conflicts
* Fix result collection for JS tests
2020-12-22 12:38:30 -08:00
Daniel Moran 15b9531273
fix: correct various typos (#19987)
Co-authored-by: kumakichi <xyesan@gmail.com>
2020-11-11 13:54:21 -05:00
Gershon Shif d8a10e5311
chore: update circleci config to use golang:1.15 images (#19624)
* chore: update circleci config to use golang:1.15 images

* fix: Update Go version and use temporary override for Arrow

The Arrow override is to fix race detection problem. Once the
Arrow PR merges, this override can be removed.

Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
2020-09-23 14:07:13 -07:00
Roger Peppe c25d0dde65 fix: chronograf/organizations: avoid nil context with WithValue 2020-09-21 12:08:03 +01:00
Stuart Carnie 7964f86ffc
fix: switch port to 8086
fix(readme): update the port and setup
2020-09-03 14:40:29 -07:00
jlapacik 36987bec0f feat: add offset parameter to window cursors 2020-07-20 12:23:37 -07:00
Jonathan A. Sternberg 5aeca082c8
chore: update staticcheck and fix newly identified lint checks (#18737) 2020-06-26 18:54:09 -05:00
Jonathan A. Sternberg 0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
Yiqun (Ethan) Zhang 5333ff4d1b
feat(transpiler): support difference(), group by wildcard, and correc… (#17021)
* feat(transpiler): support difference(), stddev(), spread(), group by wildcard, and correct _time column
2020-03-06 11:19:46 -05:00
Lyon Hill 6aba0395ae
fix: uuid security (#16554)
Update to remove dependency on insecure version of uuid library
https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSATORIGOUUID-72488
2020-01-21 11:26:48 -06:00
Michael Desa 26e8ee879c
feat: add tool to migrate 1.x chronograf dashboards and variables
feat(pkger): export dashboard and variable *ToResource methods

fix(pkger): add empty selected _measurement to builder config

feat(chronograf): add note & note visibility to dashboard cell

The 1.x DashboardCell struct had migrated since we brought the code into
the InfluxDB codebase. This allows us to migrate cells that were created
since then.

feat(cmd/chronograf-migrator): add 1.x chronograf migrator tool

feat(chronograf-migrator): add function to transpile queries

fix: update spelling of todo comment pkger/models.go

Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>

fix(chronograf): add type to DashboardQuery

The type has evolved since this code was moved over from chronograf.
Previously, we did not have access to flux as a type of query.

feat(chonograf-migrator): transpile influxql query to flux if possible

fix(chronograf): omit fields when empty on old chronograf structs

fix: make linter not mad at me

feat(chronograf-migrator): lowercase variable names

fix(pkger): add empty selected measurement to builder config

chore(chronograf-migrator): add basic readme

chore(pkger): export Variable and Dashboard ToResource methods

fix(chronograf-migrator): move flags out of init call
2020-01-10 09:05:19 -08:00
Jacob Marble 5f19c6cace
chore: Remove several instances of WithLogger (#15996)
* chore: Remove several instances of WithLogger

* chore: unexport Logger fields

* chore: unexport some more Logger fields

* chore: go fmt

chore: fix test

chore: s/logger/log

chore: fix test

chore: revert http.Handler.Handler constructor initialization

* refactor: integrate review feedback, fix all test nop loggers

* refactor: capitalize all log messages

* refactor: rename two logger to log
2019-12-04 15:10:23 -08:00
nwneisen c315c237b5
chore: remove sources and fix resulting breaks
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-12-04 08:42:42 -07:00
George 3dbb9c0fd2
feat(tracing): dont trace spans with full request paths as operation name in ExtractFromHTTPRequest (#15971)
* feat(tracing): dont trace spans with full URL path names in ExtractFromHTTPRequest

* chore(multiple): replace all occurrences of julienschmidt/httprouter with influxdata/httprouter
2019-11-25 15:22:19 +01:00
Christopher M. Wolff b0b3121517
build(flux): update to Flux v0.45.1 (#15082) 2019-09-10 09:03:33 -07:00
Mark Rushakoff c2f847299c ci: use latest staticcheck
We were still referring to megacheck in tools.go; this confused
dependent projects also using staticcheck.
2019-09-04 16:34:45 -07:00
Max U 0ba8974294 remove api changes in python file 2019-07-19 15:07:06 -07:00
maxunt ca5a599261
Merge branch 'master' into er-rename 2019-07-08 13:42:24 -04:00
Max U 39f51969e9 replaced os.Create calls w API calls to fs.CreateFile, includes unit test 2019-07-08 13:01:42 -04:00
Max U fe748128e3 replaces os.Rename calls w api calls to fs.RenameFile. tests now are failing 2019-07-03 13:14:43 -04:00
Andrew Watkins d457865704
build: remove npm replace with yarn (#14176)
* build: remove npm

* build(yarn): only build silently on prod

* build(yarn): replace npm with yarn in makes and docs

* build: remove mentions of npm

* build: add yarn.lock

* build(yarn): lower minor version requirement

* chore: remove package-lock.json

* chore: add package-lock.json to gitignore

* build(node): allow newer node

* docs: update README.md
2019-06-21 16:19:42 -07:00
Mark Rushakoff 7ecb7a23a4 chore: update staticcheck to latest
And fix newly discovered errors.
2019-03-25 10:20:59 -07:00
Jacob Marble 603a1f26e0 use tracing.StartSpanFromContext 2019-03-07 12:12:31 -07:00
Jacob Marble 9541e861a3 goimports -w -local github.com/influxdata/influxdb 2019-03-07 12:12:31 -07:00
Jacob Marble 92fa813c45 add spans to multiple services 2019-03-07 12:12:31 -07:00
Mark Rushakoff 3e1551334f fix(http): ensure response body always closed
This avoids leaking resources.

Found by manually inspecting results of `git grep -A5 -F '= hc.Do'`.
2019-01-18 14:55:48 -08:00
Nathaniel Cook 0eecf59877 build(Makefile): fix glob expansion if find command 2019-01-16 13:35:20 -07:00
AJ Bond cd11b348ed fix(ui): Fix UI generation issues
This issue allows for the ui to be generated during the build proccess
2019-01-15 20:45:38 -05:00
Mark Rushakoff d73d73c0d4 chore: rename imports from platform to influxdb
I did this with a dumb editor macro, so some comments changed too.

Also rename root package from platform to influxdb.

In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.

Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
Mark Rushakoff 7c9cdd0248 chore: remove .eslintrc
Fixes #2143.
2018-12-27 13:00:00 -05:00
Nathaniel Cook 89f4525841 build(Makefile): fix various bug with makefiles
Fixes subdir ordering.
Works around issue with stringer not working with Go modules.
Fixes issues with generated code being ignored.

Fixes #2044
2018-12-19 17:02:19 -07:00
Nathaniel Cook 61e36cbee6 chore(Makefile): add target to check generated files are accurate
A standard Makefile is used now in all subdirs that run go generate.
Make will only generate the file if its source files changed.
The checkgenerate target runs clean to ensure all targets a generated
fresh.
2018-12-18 12:54:17 -07:00
Delmer 27adc0ff91
feat(ui): add name to dashboard query (#1794) 2018-12-10 13:16:27 -05:00
Brandon Farmer f04d420709 Remove yarn in favor of just npm 2018-11-30 17:02:31 -08:00
Michael Desa 56de056085 feat(vault): add vault implementation of secret service
test(platform): run testcontainer integration tests for nightly release

Integration tests for the vault secret service using testcontiners
should not run along with unit tests, however, they should run on some
regular schedule. This commit introduces `make test-integration` which
runs integration tests for vault using testcontainers. The command introduced
relies on docker being available on the host it is executed on.

chore(platform): make go modules tidy

chore: try to fix go mod

chore(platform): remove explicit logrus dependency

chore(platform): run go mod tidy

chore(platform): replace github.com/Sirupsen/logrus with github.com/sirupsen/logrus

chore(platform): update docker dependency

feat(vault): add vault implementation of secret service

test(platform): run testcontainer integration tests for nightly release

Integration tests for the vault secret service using testcontiners
should not run along with unit tests, however, they should run on some
regular schedule. This commit introduces `make test-integration` which
runs integration tests for vault using testcontainers. The command introduced
relies on docker being available on the host it is executed on.

chore(platform): make go modules tidy

chore: try to fix go mod

chore(platform): run go mod tidy

feat(vault): add vault implementation of secret service

chore(platform): make go modules tidy

feat(platform): add Put/Patch/Delete methods on secret service

feat(vault): add Put/Patch/Delete methods on vault secret service

feat(http): add http handler methods for secret service

feat(bolt): add Put/Delete/Patch methods to bolt secret service

feat(testing): add tests for Put/Patch/Delete methods in secret service

feat(mock): add mock secret service

feat(http): add tests for secrets endpoints

feat(http): update swagger for secrets endpoints

chore: run go mod tidy
2018-11-30 13:07:32 -08:00
Edd Robinson 186e0392ed Address PR feedback 2018-11-30 10:54:24 +00:00
Edd Robinson b81b30ee87 Ensure error don't end in punctuation: ST1005 2018-11-30 10:54:24 +00:00
Edd Robinson 9403c1ec8e Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
Delmer 889da9cb71
feat(ui/graph): add gauge view options (#1570)
Adds gauge view, thresholdlist, and thresholditem
2018-11-29 19:26:29 -05:00
Mark Rushakoff ff2998dcf8 chore(chronograf): fix megacheck errors 2018-11-01 12:54:46 -07:00
Michael Desa b9f70b7bec chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00
Michael Desa fdbec9303d chore(ui): update misc build files related to moving chronograf/ui to ui 2018-10-29 14:00:45 -04:00
Delmer 1592ae7c0a
feat(ui/logs): add logs hostname column (#1189)
feat(ui/logs): add hostname column

* Add hostname field to default view
* Update logs to include hostname
2018-10-29 13:10:33 -04:00
Andrew Watkins 410b723beb
feat(user-profile): user profile layout (#1198)
* feat(chrono): user page

* feat: change user profile route

* feat(user_profile): add logout and static markup
2018-10-26 10:19:29 -07:00
Gianluca Arbezzano 6dd6a08ea2
fixed inconsistency in links
Hello
As suggested in https://github.com/influxdata/platform/issues/983 I
changed `auths` to `authorizations` to have the key and the link in
line.

I went for this fix in order to avoid BC. I don't know if that's
the fix you had in mind. Or you were speaking more about short and long
terms.

Fixed #983

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2018-10-26 17:05:06 +02:00
Andrew Watkins f82eeb8338
feat(orgs): update org bucket name and retention rule (#1181)
* Add error handling to spinner

* Fix broken test

* Update retentionPeriod to retentionRules

* fix(http): bucket retention period now empty

Co-authored-by: Chris Goller <goller@gmail.com>

* fix(bucket): remove bucket key from createBucket API

* feat(bucket): update organization buckets

* fix: coerce Bucket type

* chore: create separate components for bucket create / update
2018-10-25 15:23:05 -07:00
Brandon Farmer 8b8733d171 User can update a task 2018-10-23 10:48:45 -07:00
Andrew Watkins 58b9adbb52
feat(org-view): Chronograf OrgView (#1101)
* Move organization type definition to own file

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* Add organizations link in side nav

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* Add organization routes

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* Add Organization index and view

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* Introduce OrgView

* Fix type errors

* WIP rudimentary view of Org resources

* Add spinner wrapper component

Will make this more awesome later

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* Render all org resources in list views with empty states

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* Upgrade prettier and tslint configs

* Add back spinners

* Add createOrg API

* Introduce CreateOrgOverlay

* Move org actions and reducer to org dir

* Add autocomplete option to clockface Input

* Implements CreateOrg from OrgIndex

* Introduce delete org from OrgIndex

* Remove CHANGELOG

* Start OrgOptions

* Add Profile Page Header subcomponent

* Make index list items lighter when nested

* Add filter and create UI to buckets list

* Slightly modify appearance of overlays

* Implement update org options tab

* Introduce createBucket in org view

Waiting on https://github.com/influxdata/platform/issues/1118 for
the API to accept milliseconds as retentionPolicies

* WIP introduce Filter component

* Fix linter warnings

* Introduce filter dashboards

* Implement filter and task list

* Add spinner to member list in org view

* Use new index list
2018-10-23 08:53:15 -07:00
Christopher Henn 201c4f4304 Port WebWorker utilities 2018-10-22 16:33:11 -07:00