Commit Graph

6459 Commits (4268e38037152a69e16b9cb3268c7c8edeb10f02)

Author SHA1 Message Date
Luke Morris 66522fb1a9 Route demoted admin to / from /admin-chronograf
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 11:03:12 -08:00
Hunter Trujillo dc2c1ca9ba Add reducer to keep track of dismissed notifications. So that You're Only Warned Once. 2017-12-06 09:28:10 -07:00
Jared Scheib bbe1330cbf Merge branch 'multitenancy' into multitenancy_reset_current_org 2017-12-05 18:47:05 -08:00
Luke Morris 89717072c2 Don't route superadmin to purgatory
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-05 18:40:16 -08:00
Luke Morris 790773d601 Display error notification to a Viewer if logging into organization with no sources
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-05 18:36:07 -08:00
Jared Scheib 324c10ea50 Require min role Viewer to perform GET on /sources in CheckSources
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 17:40:31 -08:00
Jared Scheib 737967a0cb
Merge pull request #2484 from influxdata/multitenancy_fix_layouts
Fix layouts / host apps to make them show to all users
2017-12-05 16:50:25 -08:00
Michael Desa 656e09d867
Merge pull request #2446 from influxdata/multitenancy_api_integration_test
Add initial API integration tests
2017-12-05 19:26:59 -05:00
Jared Scheib 808163fe69 Merge branch 'multitenancy' into multitenancy_fix_layouts 2017-12-05 16:03:05 -08:00
Jared Scheib 34a9050e1d Refactor client to consume modified /layouts endpoint & data shape
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 16:00:02 -08:00
Luke Morris 92a4522838 Combine actions & reducers for me & auth & logoutLink to synchronize state update
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-05 15:37:39 -08:00
Jared Scheib 2d68d78c3b
Merge pull request #2492 from influxdata/multitenancy_login_buttons
Login Button Spacing Fix
2017-12-05 14:48:27 -08:00
Jared Scheib ff1eebd67c Refactor CheckSources to ES6 React class
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 14:34:29 -08:00
Michael Desa 161081fcba Remove Organization field from layouts 2017-12-05 17:28:33 -05:00
Michael Desa 39b9a90900 Remove organization LayoutsStore 2017-12-05 17:14:21 -05:00
Michael Desa e5e65dfc1b Remove Create/Update/Delete logic for Layouts 2017-12-05 17:11:16 -05:00
Michael Desa fc0d525022 Remove /mappings in place of /layouts
Remove POST/PUT/DELETE methods to /layouts
2017-12-05 17:07:09 -05:00
Alex P 0cb1abe51a Ensure more pleasing margins on login buttons when quantity is variable 2017-12-05 13:51:48 -08:00
Jared Scheib 987d462de3 Merge branch 'multitenancy' into multitenancy_reset_current_org 2017-12-05 13:37:46 -08:00
Nathan Haugo 4afa71a2f4
Merge pull request #2410 from influxdata/gauge-cell-type
Gauge Dashboard Cell
2017-12-05 13:26:02 -08:00
Jared Scheib 1323a062b7 Merge branch 'master' into multitenancy 2017-12-05 13:00:48 -08:00
Jared Scheib 6906e57426
Merge pull request #2480 from influxdata/multitenancy_remove_viewer_put
Prevent PUT operations for Viewer role on Dashboard load
2017-12-05 12:58:30 -08:00
Jared Scheib d61846a4c7 Merge remote-tracking branch 'origin/multitenancy' into multitenancy_remove_viewer_put 2017-12-05 12:51:37 -08:00
Nathan Haugo 00077f50f3
Merge pull request #2479 from influxdata/feature/add-meta-auth
Add basic auth or JWT tokens for meta queries
2017-12-05 12:41:18 -08:00
Chris Goller 62db317268
Merge branch 'master' into feature/add-meta-auth 2017-12-05 14:37:47 -06:00
Andrew Watkins aaef5d39c4
Merge pull request #2450 from influxdata/feature/auto-group-by-de
Auto GROUP BY in the DataExplorer
2017-12-05 12:27:45 -08:00
Andrew Watkins d65b14d566
Merge pull request #2477 from influxdata/bugfix/hoverline
Fix the hoverline
2017-12-05 12:24:20 -08:00
Andrew Watkins 8a1b836543
Merge branch 'master' into bugfix/hoverline 2017-12-05 12:24:11 -08:00
Alex P 5f6a9a9087 Merge branch 'master' into gauge-cell-type 2017-12-05 12:12:16 -08:00
Alex P d249c4f83c Guard against missing colors 2017-12-05 12:07:40 -08:00
Hunter Trujillo a6f2966dc4 Remove logging animations. 2017-12-05 12:53:31 -07:00
Jared Scheib b77e83e7ee Make dashboards filter work for lowercase search terms 2017-12-05 11:45:59 -08:00
Jared Scheib 93f11e1325 Merge remote-tracking branch 'origin/master' into multitenancy 2017-12-05 11:43:23 -08:00
Nathan Haugo 0590ba48b9
Merge pull request #2485 from influxdata/feature/empty_meta_url
Allow for empty MetaURL in UpdateSource
2017-12-05 11:39:04 -08:00
Michael Desa a245dd7c38 Move principal expiry into body of test 2017-12-05 14:31:26 -05:00
Michael Desa 87dcb3cfcd Remove "impossible" state from tests 2017-12-05 14:25:59 -05:00
Hunter Trujillo ae32aba01f Refactor to use Scrollbars from FancyScrollbar. 2017-12-05 12:09:01 -07:00
Michael Desa 06db8a885f Allow for empty MetaURL in UpdateSource
Currently, if an empty source is supplied, then the source's meta url
will not be updated. Now, if the MetaURL is supplied and is different
than the one that is currently on the source, the value will be updated.
Even in the case of empty string meta urls.
2017-12-05 13:04:31 -05:00
Hunter Trujillo d2d36b6ac8
Merge pull request #2481 from influxdata/bugfix/setback-webpack-callback
Node-style callbacks instead of async/await/promisify in webpack build dir cleanup code
2017-12-05 10:40:11 -07:00
Michael Desa 04f65d1c68 Allow empty Organization on Layouts in Org store
Previously, canned dashboards were global to the application. When
organizations were introduced, we scoped layouts under a specific
organization. This was done without consideration to the `canned`
layouts which are more global than a specific organization and likely
apply an an application level. Since the layout did not have any
organization associated with it, it was filtered out of the list of
results that one would see for `GET /mappings`.

This commit allows users to retrieve layouts that are stored in the
canned store that do not have an organization associated when the user
requests `All` layouts for an organization.

Future work for this is outlined as a comment in the commit.
2017-12-05 12:29:57 -05:00
Nathan Haugo d3c3985275
Merge pull request #2483 from influxdata/feature/canned-mysql-per-second
Update mysql pre-canned dashboard to use last value over a second derivative
2017-12-05 07:53:23 -08:00
Chris Goller 25bb2edd45 Update CHANGELOG.md to mention updating mysql precanned dashboard 2017-12-05 08:39:24 -06:00
Chris Goller 5b4875f1ed Update mysql pre-canned dashboard to use last value over a second derivative 2017-12-05 08:36:50 -06:00
Hunter Trujillo 49a47e71a3 Remove propTypes from member properties and place at end of file. 2017-12-04 18:24:22 -07:00
Hunter Trujillo 2f11fd15a1 Remove unnecessary return. 2017-12-04 18:13:40 -07:00
Hunter Trujillo a1d9ea9396 Refactor webpack file cleanup script to use ES6-compatible callback-style Node fs calls. 2017-12-04 18:10:57 -07:00
Alex P 0d1a27af1b Use destructuring and implicit return
Just a nicer pattern
2017-12-04 16:53:48 -08:00
Andrew Watkins c18a0f781d
Merge branch 'master' into feature/auto-group-by-de 2017-12-04 16:51:01 -08:00
Alex P 554a644840 Use template string instead of String constructor 2017-12-04 16:49:39 -08:00
Alex P a1d58e0372 Remove unused ref 2017-12-04 16:48:45 -08:00