Alex P
4fbb127319
Style query tabs to utilize available space more effectively
...
Maximum width is much larger, which increases utility of tabs when
there are < 5 queries
2017-10-11 17:34:09 -07:00
Nathan Haugo
b87befa0b3
Add support for millisecond groupbys
2017-10-11 13:14:44 -07:00
Chris Goller
6d6a2d4a2a
WIP supporting integers/floats for influxql arguments
2017-10-11 14:45:01 -05:00
Jared Scheib
c6db8f6dbd
Merge pull request #2099 from influxdata/multitenancy_users_crud
...
MULTITENANCY: Add CRUDA operations for Chronograf Users
2017-10-11 11:54:13 -07:00
Michael Desa
33976d2832
Add jsonEqual to test helpers file
2017-10-11 14:33:55 -04:00
Michael de Sa
a8c50620f3
Refactor setting writer Location header
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-11 10:14:57 -07:00
Chris Goller
8e9d5cbc2c
Update queryConfig arguments to be optional in JSON response
2017-10-10 23:32:08 -05:00
Chris Goller
3c1b09704e
Refactor query config field arguments to be fields
2017-10-10 18:04:45 -05:00
Jared Scheib
31f72a71e9
Rename vestigial receiver 'h' on Service to 's'
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-10 15:27:58 -07:00
Chris Goller
3ba1a4c94d
Refactor queryConfig to have field aliases and function arguments
2017-10-10 17:01:50 -05:00
Jared Scheib
eca9614cda
Refactor applying writer location header into helper func
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-10 14:40:45 -07:00
Michael de Sa
30f36bfd19
Move source_users & source_users_test code into sources.go & sources_test.go
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 14:32:41 -07:00
Michael de Sa
e00f4512d2
Remove omitempty for Provider & Scheme in userRequest and userResponse
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 14:25:45 -07:00
Michael de Sa
a46e3ab7c2
Use more idiomatic error message method
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 14:21:43 -07:00
Michael de Sa
85dde0cebe
Add comments on ValidUpdate for future considerations
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 14:19:28 -07:00
Jared Scheib
af5d21028c
Make name on userResponse required
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-10 14:15:31 -07:00
Jared Scheib
2d88f15fdf
Use string IDs in JSON res and req for Users
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-10 12:27:55 -07:00
Michael de Sa
63d7a4d201
Update only fields with diff; add test for that
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 11:40:33 -07:00
Michael de Sa
526dca3cb4
Make User Update test reflect updated changes
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 11:36:13 -07:00
Michael de Sa
f2617c6744
Use new-school sort.Slice
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 11:30:57 -07:00
Nathan Haugo
baedbf35c4
Merge pull request #2095 from influxdata/bug/fix-rp-copy
...
Fix copy for rp values
2017-10-10 11:08:22 -07:00
Nathan Haugo
865a11cc5e
Update CHANGELOG.md
...
Fix markdown
2017-10-10 11:07:57 -07:00
Nathan Haugo
33b165edce
Merge branch 'master' into bug/fix-rp-copy
2017-10-10 11:07:06 -07:00
Andrew Watkins
6eb11d6f02
Merge pull request #2080 from influxdata/keep-ceo-toggle-centered
...
Prevent CEO toggle from de-centering when no queries present
2017-10-10 11:04:21 -07:00
Alex P
36b59b33c3
Prevent auto refresh items from wrapping
2017-10-10 10:45:46 -07:00
Alex P
68b8de3a3f
Show manual refresh button when auto refresh is set to "Pause"
...
Manual refresh button fires a dummy function, to be replaced
2017-10-10 10:38:37 -07:00
Alex Paxton
dc296ba247
Merge pull request #2078 from influxdata/rule-builder-polish-2
...
UI IMPROVEMENT: Rule Builder Polish
2017-10-10 09:34:07 -07:00
Andrew Watkins
4aeb317562
Merge pull request #2083 from influxdata/feature/time-after-time
...
FEATURE: Persist dashboard time ranges per dashboard
2017-10-09 17:51:17 -07:00
Jared Scheib
c5ef8ed487
Add comments to exported functions
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-09 15:28:39 -07:00
Michael de Sa
6135a6a4ea
Return users in usersResponse in sorted order
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-09 15:19:46 -07:00
deniz kusefoglu
072e31091d
Refrain from coercing data to a date if column name is not time
2017-10-09 15:09:27 -07:00
Michael de Sa
b8970c8ed1
Add All route & operation for Chronograf Users
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-09 15:03:50 -07:00
Jared Scheib
eb6c212023
Implement CRUD routes & operations for Chronograf User
...
Move source Users code into source_users and source_users_test files.
Use the UsersStore for both InfluxDB and Chronograf users.
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-09 14:16:24 -07:00
Andrew Watkins
a2d7afb900
Update CHANGELOG
2017-10-09 13:13:18 -07:00
Andrew Watkins
7845c86150
Update CHANGELOG
2017-10-09 13:02:49 -07:00
Andrew Watkins
0565a24e0a
Fix tests
2017-10-09 13:01:40 -07:00
Andrew Watkins
fc57e88133
Add format to timeRange
2017-10-09 13:01:40 -07:00
Andrew Watkins
d1181554d7
Add more properties to timeRange proptypes
2017-10-09 13:01:40 -07:00
Andrew Watkins
a4d37e773e
Simplify reducer
2017-10-09 13:01:40 -07:00
Andrew Watkins
1b9318f6ed
Gaurd against ranges being undefined
2017-10-09 13:01:39 -07:00
Andrew Watkins
bb6a88972e
Add dashboard to props
2017-10-09 13:01:39 -07:00
Andrew Watkins
beebbfa227
Move coercion of string into id normalizer
...
If an when we move to using URI's as the dynamic parameters
in routes. We will need a consolidate place to decocde them or
ensure they are of the proper types and shape. This commit introduces
this pattern.
2017-10-09 13:01:39 -07:00
Andrew Watkins
6cf52ff5f3
Future proof buildInfluxQL function
2017-10-09 13:01:39 -07:00
Andrew Watkins
b083e2c654
Semantics
2017-10-09 13:01:39 -07:00
Andrew Watkins
cb3cb0ac18
Test cleanup
2017-10-09 13:01:39 -07:00
Andrew Watkins
b10b52b7d9
Test cleanup
2017-10-09 13:01:39 -07:00
Andrew Watkins
5cff4f1b5b
Update CHANGELOG
2017-10-09 13:01:38 -07:00
Andrew Watkins
354d318d69
Use lodash for object detection
2017-10-09 13:01:38 -07:00
Andrew Watkins
1656d2e8f2
Normalize dashboard time ranges on load and save to localStorage
2017-10-09 13:01:38 -07:00
Andrew Watkins
8d7d0bd254
Add number as valid type of bound
2017-10-09 13:01:38 -07:00