Andrew Watkins
ac126541b8
WIP adding funcs and fields to query config v2
2017-10-17 12:42:54 -07:00
Hunter Trujillo
1be7dbbd18
WIP
2017-10-17 12:42:54 -07:00
Hunter Trujillo
b6757d4dd6
WIP
2017-10-17 12:42:53 -07:00
Hunter Trujillo
e5e8336282
CHANGELOG.
2017-10-17 13:31:22 -06:00
Chris Goller
340e19f79a
Update upper bound relative duration template expansion of :interval:
2017-10-17 14:26:26 -05:00
Hunter Trujillo
4d963f57f0
Add our own fork of Dygraphs.
2017-10-17 13:25:28 -06:00
Chris Goller
dd3399adcd
Update InfluxQL field parsing to return strings rather than numbers
2017-10-17 13:52:26 -05:00
Chris Goller
9c9a0a4fc7
Refactor fill statement parsing to be an idomatic switch
2017-10-17 13:52:01 -05:00
Chris Goller
2c3c9f39cc
Add test of InfluxQL parsing with aggregates and aliases
2017-10-17 13:50:52 -05:00
Chris Goller
312e74993f
Refactor queryConfig fields to kapacitor to remove loops
2017-10-17 13:48:21 -05:00
Andrew Watkins
f2e2be1f8a
Update CHANGELOG
2017-10-17 10:49:30 -07:00
Andrew Watkins
74e3b5247d
Reset customTime when a preconfigured relative time is selected
2017-10-17 10:49:29 -07:00
Andrew Watkins
7b0e653446
Tweak styles
2017-10-17 10:49:29 -07:00
Andrew Watkins
ba62efecb4
Replace regex with boolean
2017-10-17 10:49:29 -07:00
Andrew Watkins
694d73a994
Add ability to toggle now in CustomTimeRange
2017-10-17 10:49:29 -07:00
Michael de Sa
84f6702edf
Modify /me to match User via UsersStore.All & principal's Issuer
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-16 19:58:02 -05:00
Jared Scheib
414eab5f7d
Rename getEmail func & email var to getUsername & username
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-16 19:58:02 -05:00
Andrew Watkins
c4c46fd03e
Remove CreateSources container
2017-10-16 17:57:51 -07:00
Jared Scheib
cc7e695f37
Merge pull request #2113 from influxdata/multitenancy_rename_role_sourcerole
...
MULTITENANCY: Rename Role CRUD methods & structs w Source prefix
2017-10-16 19:51:38 -05:00
Andrew Watkins
0f23b3774e
Merge pull request #2098 from influxdata/bugfix/not-equal-to
...
BUGFIX: Fix display of not-equal-to on rule graph
2017-10-16 17:50:23 -07:00
Jared Scheib
725344bc04
Merge pull request #2114 from influxdata/multitenancy_set_role
...
MULTITENANCY: Set the role of a user
2017-10-16 19:50:15 -05:00
Jared Scheib
c924771fb9
Lowercase string consts for role names
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-16 19:42:57 -05:00
Andrew Watkins
bc524f6a94
Update CHANGELOG
2017-10-16 17:40:23 -07:00
Andrew Watkins
7a423cf92d
Prevent form submit onEnter
2017-10-16 17:31:45 -07:00
Andrew Watkins
be4ceed4e3
Guard against non-numeric values
2017-10-16 17:14:44 -07:00
Michael de Sa
c390678e43
Place user role consts and vars in server package
...
This also decouples the bolt tests from the server package.
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-16 18:43:56 -05:00
Andrew Watkins
2c6eb731b7
Turn RuleGraph into an SFC
...
This also allowed me to pull out some functions into helper files.
Also, this commit contains replacing string literals with constants.
2017-10-16 16:41:39 -07:00
Jared Scheib
de6068228b
Replace string slices of role names with slices of chronograf.Role
...
This effectively reinstants rolly polly as king.
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-16 18:26:08 -05:00
Andrew Watkins
4e3bb7b226
Fix display of not-equal-to on rule graph
2017-10-16 16:04:20 -07:00
Andrew Watkins
2ad550345f
Remove redundancy of CreateSource page
2017-10-16 15:51:04 -07:00
Nathan Haugo
1d8d420cc7
Merge pull request #2107 from influxdata/feature/backend-millisecond-drilldown
...
Add support for millisecond groupbys
2017-10-16 14:49:20 -07:00
Michael de Sa
1247323176
Use cmp.Diff for user equality comparison
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-16 16:46:20 -05:00
Andrew Watkins
6a91deacf1
Guard against properties not returned from server getting clobbered
2017-10-16 14:45:18 -07:00
Jared Scheib
97d9afa78a
Vendor github.com/google/go-cmp/cmp/cmpopts
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-16 16:35:40 -05:00
Nathan Haugo
fe2173d6c5
Remove debugging lines and add case for less than 1 ms
2017-10-16 16:23:22 -05:00
Nathan Haugo
0491a7685b
Made changes due to review
2017-10-16 16:15:12 -05:00
Andrew Watkins
7ad3305efb
Update SourcePage to use new SourceForm format
2017-10-16 14:07:56 -07:00
Michael de Sa
93e3e68272
Suggest valid options in Invalid Role error message
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-16 15:56:43 -05:00
Jared Scheib
3ae86ec2da
Add comments for role types
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-16 15:33:29 -05:00
Andrew Watkins
46accab9fc
Merge pull request #2119 from influxdata/enhancement/tickscript-cancel
...
UX-IMPROVEMENT: Add Cancel button for tickscript editor
2017-10-16 13:27:43 -07:00
Andrew Watkins
94d59afa1b
Consolidate input state into parent
2017-10-16 12:41:09 -07:00
Michael de Sa
d9bec67e65
Clean up redundant error checks
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-16 14:33:47 -05:00
Michael de Sa
b2c4d9cb94
Add test coverage for userRequest validation
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-16 14:28:15 -05:00
Jared Scheib
74b4ad2c86
Remove unnecessary logic in ValidRoles guard
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-16 13:58:16 -05:00
deniz kusefoglu
922876414b
Refactor LayoutCell to use LayoutState HOC
2017-10-16 11:50:25 -07:00
Andrew Watkins
4a64bb2940
Convert CreateSource to es6 class
2017-10-16 11:44:36 -07:00
Jared Scheib
263ff93f9b
Modify chronograf user roles to only use role name
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-16 14:44:34 -04:00
Andrew Watkins
a1cd6d76e3
Fix unsafe ssl bug
2017-10-16 11:37:32 -07:00
Michael de Sa
515370dc6c
Remove explicit chronograf user permisions
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-16 14:19:42 -04:00
Jared Scheib
a928d1518c
Modify User req & res to receive & give Role names only
...
Role members are fully explicated for CRUD operations.
Also adds validation for Roles on requests.
Also returns an empty array in JSON when a User has no roles.
2017-10-16 14:18:34 -04:00