Commit Graph

211 Commits (d7877164b62a694bb2fafa3b6aefa58d6686cb01)

Author SHA1 Message Date
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
Brandon Farmer 51fa92ee3d Add Task row component to avoid higher order functions in component 2018-10-22 15:21:25 -07:00
Delmer 6a07d0d34b
feat(logs/popover): show message popover (#1157)
* add(logs/popover): add logs message popover
* feat(logs/popover): display logs popover onclick
* rename(logs/styles): renames logs styles w/ capital camel format
2018-10-22 18:07:16 -04:00
Delmer 1ef3ec7a76
fix(logs/ui): linting errors (#1152) 2018-10-22 16:29:10 -04:00
alexpaxton c1bc4dc84a
Merge pull request #1156 from influxdata/refactor-index-list-components
Refactor IndexList Components
2018-10-22 13:24:13 -07:00
Delmer 7acd6599a8
fix(logs/fetch): add execute queries (#1137)
* Update executeQueriesAsync to fetch

* Update actions to use executeQueryAsync

* Update flux transform to respect field ordering

* Fix fluxResponse tests

* Add column ordering test case
2018-10-22 16:06:02 -04:00
Alex P 3bfd130350 Remove obsolete file 2018-10-22 13:05:46 -07:00
Deniz Kusefoglu f4b3e10837
Merge pull request #1151 from influxdata/onboarding/org-bucket-defaults
Remove default values and add placeholders for text fields
2018-10-22 22:26:49 +03:00
Deniz Kusefoglu a36c390a30 Remove brackets from string fields in inputs 2018-10-22 22:25:34 +03:00
Alex P 11fd11091e Update unit test 2018-10-22 12:01:08 -07:00
Alex P 2f4c7ed216 Update implementation of IndexList in tasks page 2018-10-22 11:40:14 -07:00
Alex P 4936d1184d Update implementation of IndexList in dashboards page 2018-10-22 11:30:47 -07:00
Alex P 5057abeca6 Refactor IndexList into composable component family 2018-10-22 11:30:17 -07:00
Delmer 52b007e243
Fix loading empty state (#1149)
fix(logs/empty): center logs loading status
2018-10-22 13:48:53 -04:00
Christopher Henn 027dd962bc Convert view data when switching view types in VEO 2018-10-22 10:32:16 -07:00
Deniz Kusefoglu 5dea2390cc Remove default values and add placeholders for text fields 2018-10-22 20:32:08 +03:00
Delmer 6e1ce62af6
feat(logs/scroll): Add logs scroll handlers (#1144)
feat(logs/scroll): Add logs scroll handlers
2018-10-22 11:46:00 -04:00
Delmer a6c9ecd452
update(logs/fetch): query builder (#1139)
update(logs/fetch): alias query builder fields

* Update querybuilder to use aliasable field selection
* Update columnNames to use aliases
2018-10-22 10:26:04 -04:00
Delmer 9cb7b5e6b4
Fix truncation handling (#1140)
fix(logs/wrap): fix logs wrap message

Fixes truncation handling by not trying to persist or update the config
for non-persisted config.
2018-10-22 10:23:12 -04:00
Deniz Kusefoglu c914b90c35 Take user to completion page on skip 2018-10-22 14:42:12 +03:00
Alirie Gray e3072953a4
Handle empty state for tasks with search term (#1122)
Handle empty state for tasks with search term

Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-10-18 16:46:53 -07:00
Alirie Gray f1f645ddad Add a search bar to filter tasks by name
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-10-18 11:43:39 -07:00
Delmer 796ef33484
feat(logs/page): render logs tail (#1093)
feat(logs/page): render logs tail
2018-10-16 10:08:20 -04:00
Iris Scholten ede25ecdce Add ability to show a line graph and change to other line graph type in veo 2018-10-15 14:35:23 -07:00