Commit Graph

5581 Commits (70631f3a112b86273fe6994910ed66607bffb67d)

Author SHA1 Message Date
Chris Goller 4797361622 Add spec tests for field helpers 2017-10-17 12:42:55 -07:00
Chris Goller 4e8e9b6cb2 Update reducers to reflect new field helper location 2017-10-17 12:42:55 -07:00
Chris Goller 1dc359e5f7 Move fields helpers into shared reducers 2017-10-17 12:42:55 -07:00
Chris Goller cf0245f953 Update queryTransitions to use field helpers 2017-10-17 12:42:55 -07:00
Chris Goller c14d44ae4f Fix field helper function to be javascript 2017-10-17 12:42:55 -07:00
Chris Goller bcf3943125 WIP 2017-10-17 12:42:55 -07:00
Chris Goller 1e8e8e2ddd Add functions to handle fields in new queryConfig 2017-10-17 12:42:55 -07:00
Andrew Watkins d8728cb925 Update kapacitory query reducer 2017-10-17 12:42:54 -07:00
Andrew Watkins 55d29f89e3 Put add funcs to fields in one reducer function 2017-10-17 12:42:54 -07:00
Chris Goller 0c72084fd8 Update query building to new queryConfig shape 2017-10-17 12:42:54 -07:00
Chris Goller d16249fce6 Move influxql spec file to correct location 2017-10-17 12:42:54 -07:00
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