Commit Graph

854 Commits (a0b2ee4aead41277e54980946c539df9c7c4ad51)

Author SHA1 Message Date
Andrew Watkins 562dc839af Display arguments and thier values
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-04-05 10:02:42 -07:00
Jared Scheib 79732a1865 Merge pull request #2832 from influxdata/feature/rest-measurements
Add API for measurements with pagination
2018-04-04 16:55:48 -07:00
Jared Scheib aac6a5c950 Merge branch 'master' into feature/rest-measurements 2018-04-04 16:21:16 -07:00
Jared Scheib 4d85760481 Test Measurements api for 'prev' link when offset > limit 2018-04-04 16:19:54 -07:00
Jared Scheib c672568e91 Remove redundant limit value check from newMeasurementsLinks 2018-04-04 15:33:26 -07:00
Brandon Farmer a39696c549 If a org is missing then don't add it to list
Requests to /me and deleting organization can result in a race condition
2018-04-04 15:25:58 -07:00
Brandon Farmer c2b8b9c51c Only add stateChangesOnly to new rules
- New rules default to a blank id
- Check for blank id before adding stateChangesOnly
2018-04-04 14:26:16 -07:00
Jared Scheib 2fbdf07d8d Rename db & rp vars & url params for clarity & consistency
Updates swagger as well.
Clarify that instead of dbid and rpid, these values are names.
Rename the var for the Databases service to dbsvc.
2018-04-04 14:22:08 -07:00
Jared Scheib fb90faf11b Rename database function arguments for consistency 2018-04-04 13:25:45 -07:00
Andrew Watkins 4438d982aa Merge pull request #3118 from influxdata/bugfix/flash-notifications
Bugfix/flash notifications
2018-04-04 11:13:17 -07:00
Luke Morris 8c50b8a36c Reintroduce :interval: work
This reverts commit c331e0f48e.

:interval: represents a duration now

queryConfig must recognize both :interval: forms

Another case to consider

Fix broken links in CHANGELOG

Rudimentary migration system w/ :interval: migration

Only looking for :interval: now

Server can expect time(:interval:) from now on

Repair go specs
2018-04-03 16:52:34 -07:00
Andrew Watkins e65d2d8b5e Update server tests 2018-04-03 16:38:52 -07:00
Jared Scheib 481d0f4c16 Add swagger docs for new /measurements API, response, & structs 2018-04-03 16:04:16 -07:00
Jared Scheib dffa082d7c Test GetMeasurements overrides offset less than 0 with offset 0 2018-04-03 16:04:16 -07:00
Jared Scheib ff0fb5e321 Test GetMeasurements overrides limit <= 0 with limit 100 2018-04-03 16:04:16 -07:00
Jared Scheib a9e7726591 Test GetMeasurements fails on invalid offset value provided 2018-04-03 16:04:16 -07:00
Jared Scheib 8032cba816 Test GetMeasurements fails on invalid limit value provided 2018-04-03 16:04:16 -07:00
Jared Scheib 805471e95c Test GetMeasurements with no offset or 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
Andrew Watkins d71763234a Introduce /health endpoint 2018-04-03 15:58:33 -07:00
Andrew Watkins 8137ed998f Merge pull request #3112 from influxdata/bugfix/influxdb-delete-user-role
Bugfix: Delete UserRole and handle providing no roles or permissions
2018-04-03 12:02:27 -07:00
nathan haugo 1efa7a257c Update for 1.4.3.1 2018-04-02 17:50:32 -07:00
Andrew Watkins 5c38d99549 Fix server validation 2018-04-02 17:09:31 -07:00
Alex P 8b164c98df Merge branch 'master' into moar-colors-n-stuff 2018-04-02 11:51:27 -07:00
ebb-tide b09026c765 Merge branch 'master' into feature/table-graph-polish 2018-03-29 18:56:10 -07:00
ebb-tide 5c0e0e0722 Change swagger a tad 2018-03-29 18:52:35 -07:00
Jared Scheib 810b3a3f9b Merge pull request #2656 from influxdata/swagger-1.4.0.0
Update Swagger for most multiorganization & multiuser changes
2018-03-29 17:01:53 -07:00
Jared Scheib 4879383587 Further disambiguate Invalid JSON vs Invalid data schema 2018-03-29 16:53:13 -07:00
Jared Scheib 2d456e3b70 Update superAdmin description 2018-03-29 16:43:10 -07:00
Jared Scheib 4a440575cc Remove -Chronograf suffix from User & Role 2018-03-29 16:40:35 -07:00
Jared Scheib 8ad6d2b0b1 Add 'InfluxDB-' prefix to User, Role, Permission, & Allowance 2018-03-29 16:39:13 -07:00
Jared Scheib a43040b5e4 Remove obsolete 'public' property from organizations 2018-03-29 16:18:19 -07:00
Brandon Farmer 8de867ba7b Fix tests related to new ifql ast link
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-29 16:06:10 -07:00
Brandon Farmer 5353c0bb57 Func item triggers a handler when it is clicked
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins<andrew.watkinz@gmail.com>
2018-03-29 16:06:10 -07:00
Andrew Watkins 9da2febb89 Add endpoint for raw string conversion to AST
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:04:37 -07:00
Andrew Watkins f6264ffec6 Change /suggestions response format to include params
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:03:26 -07:00
Andrew Watkins 049962abda Provide links to ifql api 2018-03-29 16:01:01 -07:00
Brandon Farmer b9995fa0d1 Update revision for ifql and fix tests 2018-03-29 16:01:01 -07:00
Brandon Farmer 5f83bf59ed Add endpoints for ifql function suggestions
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-29 16:01:01 -07:00
Jared Scheib f228448cfe Correct typo 2018-03-29 15:45:21 -07:00
Jared Scheib 74a9bbfb62 Properly use enums to limit valid role strings 2018-03-29 15:44:04 -07:00
Jared Scheib 04ace1612b Improve descriptions of /organization(s) & /user(s) API 2018-03-29 15:39:20 -07:00
Jared Scheib 6e22264957 Replace multiorganization & multiuser tags with organizations & users 2018-03-29 14:04:39 -07:00
Jared Scheib 614b50be67 Prettier 2018-03-29 14:00:24 -07:00
ebb-tide d5182c7aa5 Update Swagger 2018-03-29 13:25:48 -07:00
Alex P ceb2ed2b83 Merge branch 'master' into moar-colors-n-stuff 2018-03-29 10:26:27 -07:00
Iris Scholten 3e33bf3982 Merge branch '1.4.3.x' 2018-03-28 18:26:00 -07:00
Jared Scheib dca6270f73 Change useidtoken to use-id-token for consistency 2018-03-28 13:31:24 -07:00
Iris Scholten 21daf088c9 update versions with bumpversion 2018-03-28 11:34:23 -07:00
Benjamin Schweizer a231ec1108 added USE_ID_TOKEN option, defaulting off 2018-03-28 15:51:10 +02:00
Benjamin Schweizer 335d8dbb99 Merge branch 'master' of https://github.com/influxdata/chronograf 2018-03-28 13:30:05 +02:00
Iris Scholten 07807afb20 respond to review 2018-03-27 14:28:59 -07:00
Iris Scholten fa54547835 respond to review 2018-03-27 14:27:01 -07:00
Iris Scholten 422a9479ce update swagger.json with tableOptions info 2018-03-27 11:45:57 -07:00
Alex P e0acfb9119 Add "Scale" type to accepted cell color types 2018-03-26 19:09:09 -07:00
Jared Scheib 1f8cffd23a Test for existing superadmin user in Principal auth0 group 2018-03-23 16:58:09 -07:00
Jared Scheib 326298b35e Update existing user's superAdmin status in bolt if in Principal auth0 group 2018-03-23 16:53:08 -07:00
Jared Scheib 49bb422dcd Add server test for Chronograf not private & user is in auth0 superadmin group 2018-03-23 16:26:20 -07:00
Jared Scheib 34d091569b Add expected defaultRole to test data organization & currentOrganization 2018-03-23 15:54:46 -07:00
Jared Scheib 5f11f738d6 Update 'private' language to make consistent with current behavior of app 2018-03-23 15:45:11 -07:00
Jared Scheib 8e0dca7383 Remove extraneous fmt.Print statements 2018-03-23 15:03:01 -07:00
Jared Scheib d65228c04c Extend test data with case where user has multiple Principal Groups 2018-03-23 15:00:09 -07:00
Jared Scheib 880ec03ae0 Fix Auth0SuperAdminOrg server option description to indicate only one org is acceptable 2018-03-23 14:53:43 -07:00
Michael Desa 003e048eb9 Add tests for mapProviderToSuperAdmin 2018-03-23 16:12:18 -04:00
Michael Desa 471c227295 Add mapPrincipalToSuperAdmin function
The function grants a super superadmin status if the user belongs to a
particular auth0 organization and adds them to the default organization.
2018-03-23 15:48:34 -04:00
Jared Scheib 83ef44b576 WIP 2018-03-23 12:17:22 -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
Andrew Watkins 786f028b6c Add insecureSkipVerify to marshal / unmarshal
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-14 17:24:55 -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 ebb283d955 Provide default cell colors in layout 2018-03-13 20:36:43 -07:00
Iris Scholten bbabe8279e Merge branch 'master' into feature/graph-table-time-format 2018-03-13 09:48:52 -07:00
Iris Scholten 4eecba905b update server_test, internal_test, and cells_test with tableOptions 2018-03-12 17:12:20 -07:00
Luke Morris e53d3a6cca Bump version 2018-03-08 18:54:45 -08:00
Luke Morris e4cc104d4b Bump version to 1.4.2.2 2018-03-07 13:19:40 -08:00
Luke Morris d51dbc8e8f Bump version number 2018-02-28 23:23:27 -08:00
Luke Morris 38f8f114fd Bump version number 2018-02-28 21:28:29 -08:00
Luke Morris c331e0f48e Revert :interval: work
Squashed commit of the following:

commit 8b18f78098953c5aba744dd16a215b6ed4cd5143
Author: Luke Morris <lukevmorris@gmail.com>
Date:   Wed Feb 28 20:44:46 2018 -0800

    Revert "Merge pull request #2663 from influxdata/feature/migrate-time-interval"

    This reverts commit 8cd9d1890c, reversing
    changes made to c1fcd18430.

commit 8f17059d24cc1a1bb4b8675be70fb9adb3f3a3e3
Author: Luke Morris <lukevmorris@gmail.com>
Date:   Wed Feb 28 20:44:23 2018 -0800

    Revert "Merge pull request #2890 from influxdata/fix/time-interval"

    This reverts commit 0a1997d7f1, reversing
    changes made to afbcfc3c0d.
2018-02-28 20:47:16 -08:00
Michael Desa 4719d34d73 Ensure backwards compat for old GROUP BY :interval: 2018-02-28 17:21:15 -05:00
lukevmorris 7166165409 Merge pull request #2846 from influxdata/feature/annotations
Dashboard annotations
2018-02-27 13:05:39 -08:00
Iris Scholten 52794be143 update changelog message and log line message 2018-02-26 15:12:51 -08:00
Alex P 5c06558759 Merge branch 'master' into feature/annotations 2018-02-26 15:10:10 -08:00
Iris Scholten d60b1fde45 update url in log line and fix typo 2018-02-26 14:30:47 -08:00
Iris Scholten 2ff415c069 update tests to account for empty bounds change 2018-02-23 16:48:25 -08:00
Iris Scholten dcb18134be make empty axes bounds [,] instead of [] 2018-02-23 16:24:54 -08:00
Luke Morris 8f98a92c48 Merge branch 'master' into feature/annotations 2018-02-22 19:53:23 -08:00
Chris Goller bac0e084cb Merge pull request #2825 from influxdata/feature/annotation-tests
Annotation tests
2018-02-21 12:23:00 -06:00
Russ Savage 09c5b1476e Merge pull request #2819 from influxdata/new-sources
Fix/New sources CLI and Deprecation
2018-02-20 13:39:27 -08:00
Chris Goller 6b695cbf84 Add initial tests for REST annotations 2018-02-20 08:34:23 -06:00
Benjamin Schweizer 227009723d merged upstream, updated comments, added GroupFromClaims() 2018-02-20 09:47:42 +01:00
Luke Morris fe24ba6dfc Enforce presence of endTime 2018-02-19 09:52:02 -08:00
Luke Morris d855524199 Full create for single and windowed annotations 2018-02-16 21:37:31 -08:00
Luke Morris 9ea15c51c7 Unify annotation schema in both client/server 2018-02-16 19:49:13 -08:00
Chris Goller 11be7eae8d Fix annotation storage to influxdb 2018-02-16 09:17:47 -08:00
Chris Goller 5731d3f059 Update annotations to use time as endTime 2018-02-16 09:17:47 -08:00
Chris Goller 11121e1ac5 WIP 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