Commit Graph

282 Commits (b1bb27bbee50694d879e27df64c9ada6eb1a8d53)

Author SHA1 Message Date
Alirie Gray 6ec5d171e4 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 acaf2c5276 Add comment to explain SuperAdminNewUsers property on AuthConfig
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 11:47:18 -07:00
Alirie Gray 5b58c6aa59 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
Jared Scheib 429fe214e6 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 9909bed41f 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 2f6b4ccd99 Replace name "LogViewerUIConfig" with "LogViewerConfig" 2018-07-09 17:36:19 -07:00
Jared Scheib b5491a7bf1 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
Alirie Gray 0241e4faea 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
Jared Scheib 73e61b3d33 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
ebb-tide b900fead75 Add map as a template variable value type to the backend 2018-07-02 17:45:44 -07:00
Andrew Watkins 6a738c683a Fix spelling 2018-06-28 15:09:23 -07:00
Andrew Watkins c47cb386a9 Remove resolution from query struct 2018-06-28 15:09:12 -07:00
Andrew Watkins 4204700d49 Remove tempVars from backend queries response 2018-06-28 13:19:32 -07:00
Christopher Henn 2841cf902a Remove unused "query" template type 2018-06-20 09:17:12 -07:00
Christopher Henn 95a45fda9f Support persisting "influxql" template variables 2018-06-19 16:24:40 -07:00
Iris Scholten 9932764fe2 Add map as a valid type of template variables in api 2018-06-19 14:50:16 -07:00
Andrew Watkins 1344297421 Change IFQL to Flux 2018-06-05 10:57:19 -07:00
Chris Goller 09e34b08da feat(server/services): add metadata for services 2018-05-21 10:45:28 -07:00
Chris Goller b3de8947a4 feat(server/services): add generic services scoped under server 2018-05-21 10:45:27 -07:00
ebb-tide 59ada00bc9 Put decimal places with isenforced and digits on backend 2018-04-27 16:36:02 -07:00
Iris Scholten a0adb2e206 Move timeFormat from TableOptions to DashboardCell in the Server
Update tests according to the change
2018-04-19 17:32:28 -07:00
Iris Scholten 4c76cd335d Move FieldNames out of TableOptions and into DashboardCell as FieldOptions
Add Precision to RenamableField
2018-04-18 16:48:44 -07:00
Iris Scholten 071b595b96 Complete test for get SourcesID
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-11 14:20:02 -07:00
Jared Scheib f1d9f8beb0 Correct GetMeasurements comments to indicate default 100 limit 2018-04-03 16:04:16 -07:00
Jared Scheib 8b568356be WIP Test GetMeasurements
Create Databases mocks
Add comments to chronograf.Databases methods
2018-04-03 16:04:16 -07:00
Jared Scheib 61d8a1c975 Change AllMeasurements to GetMeasurements to be precise & update comment 2018-04-03 16:04:16 -07:00
Chris Goller 05b11f8172 Add measurements with pagination 2018-04-03 16:04:16 -07:00
Iris Scholten cb9c6ac00d WIP change backend TableColumn to RenamableField and ColumnNames in TableOptions to FieldNames 2018-03-20 17:15:33 -07:00
Iris Scholten cb80c8a536 add visible to TableColumn in backend and fix tests accordingly 2018-03-20 17:03:24 -07:00
Iris Scholten a985250030 add fixFirstColumn to backend and tests 2018-03-19 15:56:31 -07:00
Brandon Farmer ac8bdf5105 Merge pull request #2970 from influxdata/fixes/missing-colors-from-canned-single-stats
Always return colors for single stat graphs
2018-03-14 15:45:22 -07:00
Brandon Farmer 620aa7a518 Always return colors for single stat graphs
Addresses a change that requires single stat graphs to have an array of
colors, specifically  in the case of canned dashboards. An empty array
is acceptable but an undefined value will break the page.

Closes #2862
Closes #2841
2018-03-12 20:14:04 -07:00
Iris Scholten 7edf714ba2 change options to table options in backend, front end and redux 2018-03-12 15:04:17 -07:00
Iris Scholten d1635a45c5 WIP adding options to the marshalling and unmarshalling of dashboards
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-09 11:47:56 -08:00
Iris Scholten afd1500e60 WIP save table options into cell in database 2018-03-08 17:57:41 -08:00
Iris Scholten b0db610e8d add options to backend DashboardCell and to cell editor overlay cell in redux
Co-authored-by Deniz Kusefoglu <deniz@influxdata.com>
2018-03-08 15:35:34 -08:00
Chris Goller 63dd59611c Update timeseries interface to write multiple points 2018-02-27 13:27:17 -06:00
Luke Morris 8f98a92c48 Merge branch 'master' into feature/annotations 2018-02-22 19:53:23 -08:00
Chris Goller 5731d3f059 Update annotations to use time as endTime 2018-02-16 09:17:47 -08:00
Luke Morris 41244f4edc Merge branch 'master' into feature/annotationz-pre-pl-with-master 2018-02-15 12:03:10 -08:00
Iris Scholten b017bdbccd specify json representation of id and srcid to be string 2018-02-14 15:39:38 -08:00
Luke Morris c5d89c353d Remove Public; Improve Tab Names 2018-02-09 16:00:27 -08:00
Luke Morris 5f0ef591ea Merge branch 'master' into feature/mappings 2018-02-09 11:42:07 -08:00
Luke Morris c17e124b27 Replace Public functionality with Mappings feature 2018-02-08 17:53:34 -08:00
Alex P f2cc269a33 Merge branch 'master' into feature/annotationz-pre-pl-with-master 2018-02-08 16:38:47 -08:00
Iris Scholten 0f2e163e50 Group=>ProviderOrganization; organization=>organiztionId; fix pointer bug 2018-02-06 18:33:27 -08:00
Chris Goller 5ccab143b7 Add legend to dashboard cells 2018-02-05 14:25:57 -06:00
Michael Desa 64f670e819 Add correct implementation of mappings 2018-02-05 14:54:39 -05:00
Andrew Watkins ee865e304e Merge annotation-store 2018-01-19 10:11:53 -08:00
Chris Goller 59b85c3f3a Update influxdb annotation store to support update/delete 2018-01-18 21:50:46 -06:00