Commit Graph

1110 Commits (3209fd593212f2fa07a0bfb2d361c0acaadbc60e)

Author SHA1 Message Date
ivankudibal 5c1aac9ebb chore: prepare for 1.8.8 release 2020-11-04 12:50:25 +01:00
Pavel Zavora ffda97c69c fix(servers): apply default timeouts in server connections 2020-10-29 20:03:34 +01:00
ivankudibal 597f1c2379 chore: prepare for 1.8.7 release 2020-10-06 21:44:36 +02:00
Pavel Závora 2c5656c340
feat(server): allow to configure TLS ciphers and versions (#5591)
* feat(server): allow to configure TLS ciphers and versions
2020-10-06 21:23:28 +02:00
Gregory Eremin 60bc07ee71 feat(session): make session inactivity duration configurable 2020-09-28 18:50:50 +02:00
Pavel Zavora b8de7c2f73 feat(server): allow to configure basic authentication 2020-09-28 18:20:21 +02:00
ivankudibal 98cf421465 chore: prepare for 1.8.6 release 2020-08-26 21:11:00 +02:00
Tim Yocum c9cb8b65ad
fix: statusFeed URL update
The external `statusFeed` parameter has been corrected.
2020-07-20 16:09:36 -05:00
ivankudibal 6b7e6cb1a0 chore: prepare for 1.8.5 release 2020-07-08 11:59:54 +02:00
Pavel Zavora cebd337325 fix(kapacitors): return the first error if possible without modifications upon multiple kapacitor updates 2020-06-17 05:04:51 +02:00
Pavel Zavora ade1f504d9 chore: code review 2020-06-17 05:04:51 +02:00
Pavel Zavora c45414aa1c fix(kapacitor): test enforcement of one active kapacitor 2020-06-17 05:04:51 +02:00
Pavel Zavora 18164d81fd fix(kapacitor): enforce one active kapacitor 2020-06-17 05:04:51 +02:00
Greg 00cce510f2
fix: remove common public-url config from oauth validation check (#5475) 2020-05-05 15:42:41 -06:00
Bucky Schwarz 86f6051776
chore: prepare for 1.8.4 release 2020-04-30 10:22:13 -07:00
Bucky Schwarz baac7cf4ec
chore: prepare for 1.8.3 release 2020-04-23 15:56:51 -07:00
Greg 3652328954
feat: add ability to ignore or verify self signed oauth certs (#5461) 2020-04-22 18:04:04 -06:00
Greg 6279df2969
fix: validate oauth settings prior to starting (#5458) 2020-04-21 13:49:18 -06:00
Bucky Schwarz 88836fc062
chore: 1.8.2 release preparation 2020-04-13 15:13:24 -07:00
Bucky Schwarz ae637397b8
chore: prepare for release 2020-04-06 11:56:52 -07:00
Greg 26458417c7
feat: add ability to authenticate single superadmin user (#5400)
* feat: add ability to authenticate single superadmin user

This short-circuits any configured authentication, allowing a user
with the correctly signed message to act against the api.

* Present an expiring message to be signed/verified

* Add chronoctl command to ouput token for use in auth header

* Add command to generate and store RSA keypair

* Test new superadmin token checks
2020-02-28 14:14:46 -07:00
Bucky Schwarz 747112b7de
chore: update changelog and bump minor version to 1.8.0 2020-02-18 15:04:06 -08:00
Bucky Schwarz f629d5848c fix: update logic to work properly with existing template variables 2020-02-18 13:34:25 -08:00
Greg 80d18ee90d
feat: add flag to redirect login page to specified OAuth IdP (#5380)
Co-Authored-By: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
2020-02-13 11:37:41 -07:00
Russ Savage 1ce8806b8e feat: add flag to disable host list page 2020-02-10 13:50:28 -08:00
greg linton 599cb082aa chore: add some sweet sweet tests for filestore dashboards 2020-02-07 14:03:24 -07:00
Bucky Schwarz fff7836818 feat(ui): Template variables can now select their source database 2020-02-06 13:10:41 -08:00
greg linton 0e60cfdb04 fix: pass insecure cert settings to flux client 2020-02-05 11:32:19 -07:00
greg linton 67776112d1 fix: use influxdata url that happens to have the correct cors headers 2020-02-04 15:44:59 -07:00
greg linton 242ead451b fix: use matching env var for etcd-endpoints 2020-01-31 14:35:39 -07:00
greg linton 69cf16a41d feat: add '/ping' route for simple health checksi
update makefile version
add note about dashboards api compatibility
2020-01-31 14:35:39 -07:00
greg linton f57bf041b5 fix: update swagger to use string ids 2020-01-31 14:35:39 -07:00
greg linton b4e3792984 fix: update api to serve dashboard ids as a string
- state type of dashboard id as string in ui
- remove dangerous idNormalizer (converts numbers to strings and visa versa)

Thanks bucky (hoorayimhelping)
2020-01-31 14:35:39 -07:00
greg linton 9bc3b8b5e2 chore: remove remaining layout cruft 2020-01-23 11:15:32 -07:00
greg linton 899c35fc29 fix: add snowflake id, validate annotation endtime 2020-01-23 11:15:32 -07:00
greg linton a26b780036 chore: remove v2 related code 2020-01-21 13:57:09 -07:00
Greg 56353bee05
feat: add etcd as backend store (#5352)
* Add some comments about unused v2 stuff

* Add etcd as kv backend

* Add configuration options to utilize etcd backend
2020-01-21 11:05:00 -07:00
Greg f0d5e5abef
chore: add a KV layer prior to adding an etcd implementation (#5349)
* Bolt to kv/bolt

* Remove unused code

* Remove unused roles code

* Remove unused duplicate Makefile

* Clean up bolt implementation and start layering in an interface for another store

* Layer in kv interface

* Continue layering in kv interface

* Remove circuitbreaker things

* Move cell stuff out

* Convert cell logic to kv interface

* Start adding config logic to kv interface, likely will remain bolt only

* Get to compile with bolt kv before moving too far forward

* Start removing dead dashboard code

* Add generic kv implementation for dashboards

* Convert layouts to kv interface

* Migrate mappings to kv layer

* Migrate org_config to kv layer

* Migrate organizations to kv layer

* Migrate servers to kv layer

* Migrate sources to kv layer

* Migrate users to kv layer

* Start removing unused migration logic

Since there is a migration path for users via updating to 1.7.x line then to 1.8, there isn't any real reason to continue supporting migrating from a version ~2 years old.

* Cleaning up bolt dead codes

* Re-add disabled code

* Migrate tests over to kv layer

* Migrate config to kv layer

* Create default organization

* Remove etcd for now

* Improve new client and new service implementations

* Uncomment bolt build tests

* Add layouts test

* Add more dashboard tests to kv
2020-01-21 09:26:23 -07:00
Greg 1806d6c298
chore: tidy prior to kv refactor (#5342)
* Start cleaning up/reviewing for kv refactor

* Remove dependency on graceful http layer

* Remove deprecated cli option --new-sources

* Run gofmt and remove dep related files

* Update non-influx deps

* Update kapacitor dep

* Compile regexp's once

* Remove un-needed struct members

* Remove unused integrations code
2020-01-09 08:49:42 -07:00
Bucky Schwarz fdab763e39
chore: update changelog and bump minor version to 1.7.17 2020-01-08 11:54:33 -08:00
Michael Desa 7689dd7db4
chore: update changelog and bump minor version to 1.7.16 2019-12-19 13:49:14 -08:00
Michael Desa bb4f123bfd
fix(server): add DashboardCreate object to swagger definition (#5295)
This came up from https://github.com/influxdata/chronograf/issues/5291
where consumers of the API thought that they would be able to specify an
ID when a dashboard is created.
2019-10-16 15:53:59 -04:00
Michael Desa 2d3a265706
Merge branch '1.7.x' 2019-08-20 17:39:51 -04:00
Christopher Henn a0ef6742eb
Add LOGIN_HINT OAuth config option 2019-08-20 14:13:41 -04:00
Andrew Watkins 58b0b891ae
fix: alert rule message text template parsing (#5228)
* feat: add go text template parsing endpoint

* chore: yarn.lock

* chore(routes): change text validation endpoint name

* feat: validate kapacitor rule templates

* test(alerts): remove redundant tests

* chore(routes): update validate endpoint name

* test(routes): add validate endpoint to tests

* test(server): add validation endpoints

* feat(alerts): change template validation to 204

* chore: update react et al
2019-08-20 14:13:41 -04:00
Christopher Henn 95201e9268 Add LOGIN_HINT OAuth config option 2019-07-09 15:02:44 -07:00
Andrew Watkins 2dadcaf8dc
fix: alert rule message text template parsing (#5228)
* feat: add go text template parsing endpoint

* chore: yarn.lock

* chore(routes): change text validation endpoint name

* feat: validate kapacitor rule templates

* test(alerts): remove redundant tests

* chore(routes): update validate endpoint name

* test(routes): add validate endpoint to tests

* test(server): add validation endpoints

* feat(alerts): change template validation to 204

* chore: update react et al
2019-07-09 12:31:56 -07:00
Delmer Reed 9ae283420f fix(server): timeout and fetch version concurrently
fixes an issue where version was not being fetched concurrently
and not timing out for each source.

Co-authored-by: Kelvin Wang <sherkrainwang@gmail.com>
2019-06-11 13:41:53 -07:00
Delmer Reed 100148c087 fix(server): timeout and fetch version concurrently
fixes an issue where version was not being fetched concurrently
and not timing out for each source.

Co-authored-by: Kelvin Wang <sherkrainwang@gmail.com>
2019-05-30 17:31:35 -04:00
Brandon Farmer 601219f9dd Use go modules, update flux 2019-04-16 10:21:32 -07:00
Brandon Farmer 944402e1a3 Use go modules, update flux 2019-04-11 16:14:36 -07:00
Iris Scholten 7c25efc09a Stop cells with raw/no format selected from getting changed to base 10 2019-02-12 12:35:52 -08:00
Iris Scholten 54ade11321 Stop cells with raw/no format selected from getting changed to base 10 2019-02-12 11:55:55 -08:00
nathan haugo 3416ff36f6 Bump version for 1.7.7 2019-01-16 13:13:40 -08:00
Brandon Farmer adaf11f26d Use JWT in enterprise for authentication 2019-01-15 15:38:12 -08:00
Brandon Farmer f2b8691cdd Use JWT in enterprise for authentication 2019-01-15 14:01:05 -08:00
Nathan Haugo 723a11ce73
Prep for 1.7.6 release (#5040)
* Prep for 1.7.6 release

* Update readme
2019-01-14 16:18:51 -08:00
Delmer e13fc0173d
Update version to 1.7.4 (#4883) 2018-12-12 16:21:04 -05:00
Delmer Reed bc37101e76 Update version to 1.7.4 2018-12-12 16:20:04 -05:00
nathan haugo b90a8dea0b Update changelog and bump version 2018-11-13 16:37:56 -08:00
Brandon Farmer 7bcffde792 Handle basepath issue with missing slash 2018-11-09 16:33:00 -08:00
Brandon Farmer c59041ea45 Handle basepath issue with missing slash 2018-11-09 16:03:17 -08:00
Deniz Kusefoglu d7afea50ff Get protoboards from multistore if not able to find from ProtoboardsPath 2018-11-08 17:49:58 -08:00
Deniz Kusefoglu 9924d577a5 Get protoboards from multistore if not able to find from ProtoboardsPath 2018-11-08 17:27:27 -08:00
nathan haugo 1e33834906 Bumpversion for 1.7.2 2018-11-08 12:27:52 -08:00
nathan haugo 335aa61e46 Bump to version 1.7.1 2018-11-07 11:08:13 -08:00
Deniz Kusefoglu d868758912 Update protoboards to contain template variables 2018-11-06 15:37:13 -08:00
Andrew Watkins d451ca76bb fix(flux): create unique link for querying flux (#4755) 2018-11-06 14:18:37 -08:00
Andrew Watkins 9537cb3ca0
fix(sources): call to GET /sources hanging (#4731) 2018-11-06 09:17:02 -08:00
Deniz Kusefoglu c339779580 Add note and note visibility fields to protoboard definition in BE 2018-10-30 13:24:48 -07:00
Iris Scholten 5115770edc Add Version to Source struct
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-09-27 14:07:15 -07:00
Brandon Farmer aab0864947 Display more error information in flux editor 2018-09-23 22:29:14 -07:00
Edd Robinson a7c1800143 Improve asset loading performance
This commit improves the loading performance of static assets on devices
with low CPU, such as Pies or other embedded devices.

One characteristic of these devices is that they don't often have the
intrinsics available used in gzip compression.

This commit does two things:

  (1) Adds an option to explicitly disable gzip compression of requested
assets.
  (2) Avoids the very expensive URL prefix Handler wrapper if no base
path has been set.
2018-09-19 08:48:06 -07:00
Alirie Gray 246c6f15c7
Add type property to queries (#4458)
* Add type property to CellQuery model

* Make an enum for QueryType

* Add type property to Query model on backend

* Add query type checking to CEO reducer and Layout

* Update swagger.json docs
2018-09-14 16:24:17 -07:00
Jared Scheib bdf4036042 fix: go vet server/server.go 2018-09-12 18:32:06 -04:00
Brandon Farmer c4e40b7643 Update flux golang dependencies 2018-09-10 15:20:56 -07:00
Deniz Kusefoglu f19323e74c Add suggestprotoboards function at dashboard step
Prevent dashboard cell axis overwriting if Bounds is empty
Add measurements field to protoboards meta
Correct comment on protoboardsStore
Add styling and copy polish to wizards
Update Protoboards to include meta.measurements
Refactor protoboard suggestion
Update Wizard tests to incorporate capitalizations
Add types to protoboardsSuggestion
Fix go tests
2018-09-06 15:51:40 -07:00
Iris Scholten 43afa38b0a
Remove check for flux ping when adding and updating flux service (#4361) 2018-09-05 11:01:20 -07:00
Michael Desa 8201a0d55c fix(server): pass pprof enabled option down to NewMux properly 2018-09-05 13:04:31 -04:00
Christopher Henn aa29a03653 Rewrite Worker script paths according to basepath 2018-08-29 09:34:37 -07:00
Deniz Kusefoglu 4009743b09
Merge pull request #4264 from influxdata/feature/add-protoboards-to-wizard-step
Implement DashboardStep on both wizards
2018-08-23 17:41:10 -07:00
Alex Paxton fc9cd71939
Introduce Cell Notes & Note Cells (#4257)
* feat: add Note string field to dashboard cells

* wip feat: html escape cell note to help prevent XSS attack

Requires further input to make sure this is effective at its
purpose.

* Add ability to view a cell's note from the cell header

* Make styles less brittle

* Add "chat" icon for use in notes

* Position note using cell X & Y

Avoid overlap with associated cell whenever possible

* New notes are empty strings by default

* Overflow note when contents are large

* Add react-markdown package for displaying markdown

* Display markdown in cell note

* Add a cell note text editor into the CEO

* Improve cell note editor

* Use codemirror placeholder addon

* Add placeholder to note field & foundation of markdown theme

* Add Markdown Cell

* Add initial styles for markdown cell contents

* Add graphic for Note type cell

* feat: add NoteVisibility to DashboardCell

* Add basic markdown syntax highlighting in editor

* Remove comment

* Show note in cell when queries return no data

* Make exception for rule graph

* Update fixtures and resources to fix tests

* Update changelog

* feat: sanitize xss-vulnerable note html

* Polish appearance of code samples in notes and note cells

* Replace ascii with plaintext before passing to markdown renderers

* Move "display when no results toggle" above text field

Less likely to go undiscovered
2018-08-23 14:41:40 -07:00
Deniz Kusefoglu dcaf18b811 Fix tests to add protoboards endpoint to resource links 2018-08-23 13:13:52 -07:00
Deniz Kusefoglu 5fbb9a2688 Add protoboards endpoint to the routes response from backend 2018-08-23 10:59:23 -07:00
Brandon Farmer f461c50dec
Merge pull request #4128 from influxdata/enhancement/add-proxy-ids
Pass uuid to proxy requests for determining which responses are relevant
2018-08-15 13:51:35 -07:00
Jared Scheib f57daa8bc5 feat: protoboard api
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-08-14 14:29:10 -07:00
Brandon Farmer dba9e28fa0 Pass uuid to proxy requests for determining which responses are relevant 2018-08-08 14:05:42 -07:00
Christopher Henn 1387c8d6b9 Document annotations API changes 2018-08-06 08:47:19 -07:00
Christopher Henn d0fad40d91 Document existing annotations API 2018-08-06 08:47:19 -07:00
Christopher Henn f886d9f0f2 Add support for user-defined annotation tags 2018-08-06 08:47:19 -07:00
Alirie Gray 0f393b8bf3 Flux/connections page (#4026)
* Load services on manages sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Flux dropdown on manage sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add flux connection dropdown with create, select, and update

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Prevent creation of Flux connection with duplicate name

Fixed bug where refreshing page allowed for Flux or connections
with duplicate names to be created

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add ability to delete a FluxService from the fluxservice dropdown

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Change FluxPage to use the active flux connection set by FluxConnectionPage

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Ensure that only flux services are loaded into redux services

* Polish styles for Flux Connection Page

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add pingflux as a part of adding and updating a flux service

Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Swagger routes and definitions for Service endpoints

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace flux overlay with redirect to flux connections pages

* Add test for FluxConnectionPage

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace hard-coded string with enum

* Use active from metadata instead of service object in ServiceDropdown

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add generic for getDeep on service metadata property

* Capitalize enum constant values in FluxFormMode

* Show error notification when user reaches edit route for nonexistant flux

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add tests for FluxDropdown

* Update types for async functions
2018-07-26 18:16:02 -07:00
nathan haugo 8c1862d8ae Update master to 1.7.0 and use bumpversion for makefile config instead of git tags 2018-07-23 15:53:48 -07:00
Nathan Haugo 13a46b946d
Merge branch 'master' into release/1.6.x 2018-07-18 14:50:02 -07:00
nathan haugo 45069a0eee Changelog and version for 1.6.0 2018-07-18 14:48:59 -07:00
Michael Desa b1c02b9b95 review(chronograf): make changes suggested in pr 2018-07-18 10:39:05 -04:00
Michael Desa 1662e289f6 docs(server): add dashboards to swagger definition for v2 API 2018-07-18 10:39:05 -04:00
Michael Desa b61f424319 feat(server): add v2 dashboard API 2018-07-18 10:39:05 -04:00
Michael Desa 537f807ea4 feat(server): return special error if cell not found 2018-07-16 12:55:52 -04:00
Michael Desa aa06178002 review: make changes suggested in review 2018-07-16 11:37:20 -04:00
Michael Desa edb34e35ac review(server): remove extra line 2018-07-16 11:25:15 -04:00
Michael Desa c8a07e1125 docs(server): add v2 openapi specification 2018-07-16 11:25:15 -04:00
Michael Desa 10c0b4182d test(server): add cell http handler tests 2018-07-16 11:25:15 -04:00
Michael Desa 4ba1dba579 feat(server): add cells api 2018-07-16 11:25:15 -04:00
Alirie Gray 8f03b96e65 Move LogViewer from Config to OrganizationConfig links response 2018-07-12 11:28:22 -07:00
Chris Goller e9b1e47d65 fix(server): health for source returns status no content 2018-07-11 18:30:04 -05:00
Christopher Henn 1ab33d045a Enable creation of text template variables 2018-07-11 15:10:56 -07:00
Alirie Gray 2f2263d7ac
Merge pull request #3806 from influxdata/logs-viewer/logs-overlay-api
Add API to get/update Log Viewer UI config within parent Organization Config
2018-07-10 16:27:23 -07:00
Alirie Gray f4de39d443 Add auth config link to global application config response links 2018-07-10 16:13:37 -07:00
Alirie Gray 35efb2d274 Add log viewer link to organization config response
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 16:05:11 -07:00
Alirie Gray 0f810debcb Rename org config method Update to Put for semantic accuracy
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:42:44 -07:00
Alirie Gray 874110bd5e Rename org config receivers and function params to be more conventional
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:32:23 -07:00
Alirie Gray a309c3f026 Remove unecessary nil guard and group response creation code in org config
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:26:30 -07:00
Alirie Gray 0988388e24 Add comment for validLogViewerConfig function
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:09:06 -07:00
Alirie Gray 6d9c58e45a Fix swagger error in LogViewerColumn 2018-07-10 14:03:21 -07:00
Alirie Gray 6e72596275 Add comment to explain use of FindOrCreate in OrganizationLogViewerConfig service method
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 12:06:11 -07:00
Alirie Gray 805faa12d0 Rename LogViewerOrganizationConfig to OrganizationLogViewerConfig
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 12:05:29 -07:00
Alirie Gray 0a8dac4a07 Remove overly defensive nil org config guard on GET
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 11:52:30 -07:00
Alirie Gray 251d15672b Guard against length-0 slice in org_config get and FindOrCreate methods
Added ErrOrganizationConfigNotFound error
Refactored FindOrCreate to use helper get method
Ensure that FindOrCreate creates a new org config if config not found
and returns any other errors

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 11:41:06 -07:00
Christopher Henn d9efd4ca36 Fix encoding of empty source responses 2018-07-10 10:50:27 -07:00
Jared Scheib febff22915 Fix swagger.json breaking in rebase 2018-07-09 17:41:23 -07:00
Jared Scheib 8ce7588d41 Add tests for validLogViewerConfig & remove obsolete comments 2018-07-09 17:37:30 -07:00
Jared Scheib 10eb221bde Fix server/org_config_test function names in test error output 2018-07-09 17:37:30 -07:00
Jared Scheib c6a857667f Fix OrganizationConfig store to never manipulate global org config
Using serverContext created the scenario where a global org config
could be created and manipulated in certain cases. However, org
configs should always be in the context of an organization --
there is no global organization config, so removing these lines
removes the ability for such an undesired state.

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-07-09 17:37:30 -07:00
Jared Scheib f21b347f4b Fix new log viewer config response underlying struct
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-07-09 17:37:30 -07:00
Alirie Gray 779f88199a Update swagger docs with refactored organization config API
Add definitions for Config and Organization Config
Replace /:section route with /auth and /org_config/logviewer

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:37:30 -07:00
Jared Scheib ae475c7ae8 Add OrganizationConfigStore & refactor org config to be per org
As previously implemented, OrganizationConfig was a global
object. This refactor adds the organization id to context for
every request, even when auth is disabled, so that org id
can be used to get/update an organization config.

Along those lines, this also removes OrganizationConfigStore
.Initialize and replaces .Get with .FindOrCreate, handling
the creation of organization configs upon first attempted
access.

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
Jared Scheib ecb5347597 WIP Refactor log viewer config to be nested under organizations
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-07-09 17:36:19 -07:00
Alirie Gray 2319ac3ff8 Replace name "LogViewerUIConfig" with "LogViewerConfig" 2018-07-09 17:36:19 -07:00
Alirie Gray c33d4aa856 Add comments and refactored map syntax for validLogViewerUIConfig
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
Alirie Gray 5894e8d881 Handle decoding request before retrieving config & := syntax for res
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
Jared Scheib 571bca7743 Add & fix logViewer links in configResponse
Rename LogViewerUI to LogViewer in Config struct.
Make all instances of endpoint 'logviewer' (lowercase).
Make all instances of config.links.logViewer (camelcase).
2018-07-09 17:36:19 -07:00
Jared Scheib a546112a6f Correct two missed 'logViewer's to logviewer 2018-07-09 17:36:19 -07:00
Alirie Gray 981366c55b Change the log viewer UI config property "encoding" to "encodings"
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
Alirie Gray 93b351f5e2 Validate log UI config on PUT, & refactor config API methods
Replaced /:section with specific hard-coded endpoints /auth
& /logviewer, and refactored service handler methods to
handle each route separately.

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:35:17 -07:00
Jared Scheib 4125399054 Add API to get/update log viewer UI config
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:35:17 -07:00
Christopher Henn 8c59019e98
Add missing brace in swagger.json
The docs at localhost:8888/docs failed to load due to an error parsing
the swagger.json file.
2018-07-09 10:44:27 -07:00
Deniz Kusefoglu d6be62dcab
Merge pull request #3817 from influxdata/tempvars/map-type-upload
Tempvars/map type upload
2018-07-03 15:32:44 -07:00
ebb-tide 9e960535b8 Add map as a template variable value type to the backend 2018-07-02 17:45:44 -07:00
Alirie Gray d8f707747c
Merge pull request #3814 from influxdata/feat/add-debug-endpoints
feat(server): add profiling routes to chronograf server
2018-07-02 15:48:49 -07:00
Michael Desa a9df1583ae feat(server): add profiling routes to chronograf server
In order to diagnose why the dashbords page we'll need to profile
chronograf. This commit adds the debug routes to chronograf.
2018-07-02 15:19:34 -07:00
Brandon Farmer c41bec0216 Remove concurrency from source authentication test 2018-07-02 14:30:08 -07:00
Brandon Farmer 934c4abab8 Use json ldap configuration over toml 2018-07-02 14:17:32 -07:00
Brandon Farmer 7fb22ebb8f Remove ldap specific endpoint
- LDAP information is now attached to source
2018-07-02 11:24:29 -07:00
Brandon Farmer 241d030ebe Make authentication method available in sources 2018-07-02 11:24:29 -07:00
Brandon Farmer e2734a0d03 Add endpoint for determining if ldap is enabled 2018-07-02 11:24:29 -07:00
Andrew Watkins 104a04316c
Merge pull request #3782 from influxdata/chore/fe-templating
Move template replacement to the frontend
2018-06-28 14:47:07 -07:00
Alirie Gray e94af3abe8 Add position property to LogViewerUIColumn Swagger definition 2018-06-28 13:41:12 -07:00
Andrew Watkins 3ff9eef934 Remove tempVars from backend queries response 2018-06-28 13:19:32 -07:00
Alirie Gray 28240034e5 Simplify LogViewerUIColumn Swagger definition
Combine mappings and formatting into "encoding."

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-28 13:07:40 -07:00
Andrew Watkins aa06c280f1 Remove template variable replacement from the backend 2018-06-28 12:42:28 -07:00