Commit Graph

6461 Commits (1e42cd6e0ee37b71bde76a474f49508e4914754e)

Author SHA1 Message Date
Jared Scheib c3b1173b31 Fetch sources anew if showDatabases fails; communicate errors to user
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 13:42:51 -08:00
Hunter Trujillo 279813e0b1 Fix source updating upon adding sources by calling the bound action creator from props instead of just the action creator by itself. 2017-12-06 14:38:37 -07:00
Luke Morris 1d9797540c 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 9b7c4dd1bf 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 14e8e70484 Merge branch 'multitenancy' into multitenancy_reset_current_org 2017-12-05 18:47:05 -08:00
Luke Morris c1c2cbd4d4 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 95984659cd 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 a845ad8c59 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 f7b26ed43a 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 fa5afee745 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 ff1cde524b Merge branch 'multitenancy' into multitenancy_fix_layouts 2017-12-05 16:03:05 -08:00
Jared Scheib 71f2237d24 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 3721571361 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 53e1803b44 Merge pull request #2492 from influxdata/multitenancy_login_buttons
Login Button Spacing Fix
2017-12-05 14:48:27 -08:00
Jared Scheib 195e8ed57d Refactor CheckSources to ES6 React class
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 14:34:29 -08:00
Michael Desa 2ec8da815b Remove Organization field from layouts 2017-12-05 17:28:33 -05:00
Michael Desa e8c19bfd73 Remove organization LayoutsStore 2017-12-05 17:14:21 -05:00
Michael Desa 8ff0e2947b Remove Create/Update/Delete logic for Layouts 2017-12-05 17:11:16 -05:00
Michael Desa c9471d4084 Remove /mappings in place of /layouts
Remove POST/PUT/DELETE methods to /layouts
2017-12-05 17:07:09 -05:00
Alex P eb16ed839b Ensure more pleasing margins on login buttons when quantity is variable 2017-12-05 13:51:48 -08:00
Jared Scheib 9b87433ddf Merge branch 'multitenancy' into multitenancy_reset_current_org 2017-12-05 13:37:46 -08:00
Nathan Haugo e5afdc3c23 Merge pull request #2410 from influxdata/gauge-cell-type
Gauge Dashboard Cell
2017-12-05 13:26:02 -08:00
Jared Scheib 4f43d2a137 Merge branch 'master' into multitenancy 2017-12-05 13:00:48 -08:00
Jared Scheib d1c0fb63c1 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 f1ec053e9b Merge remote-tracking branch 'origin/multitenancy' into multitenancy_remove_viewer_put 2017-12-05 12:51:37 -08:00
Nathan Haugo 21b4d68f59 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 86843f73d3 Merge branch 'master' into feature/add-meta-auth 2017-12-05 14:37:47 -06:00
Andrew Watkins 4b299ffd0b 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 672fe21c65 Merge pull request #2477 from influxdata/bugfix/hoverline
Fix the hoverline
2017-12-05 12:24:20 -08:00
Andrew Watkins bad3f93c3d Merge branch 'master' into bugfix/hoverline 2017-12-05 12:24:11 -08:00
Alex P 6025c1224a Merge branch 'master' into gauge-cell-type 2017-12-05 12:12:16 -08:00
Alex P 5f80268191 Guard against missing colors 2017-12-05 12:07:40 -08:00
Hunter Trujillo 637e805690 Remove logging animations. 2017-12-05 12:53:31 -07:00
Jared Scheib 6c507b4138 Make dashboards filter work for lowercase search terms 2017-12-05 11:45:59 -08:00
Jared Scheib c9e579acb2 Merge remote-tracking branch 'origin/master' into multitenancy 2017-12-05 11:43:23 -08:00
Nathan Haugo 8d324790db 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 5bc2b85c11 Move principal expiry into body of test 2017-12-05 14:31:26 -05:00
Michael Desa 3b5d0b386b Remove "impossible" state from tests 2017-12-05 14:25:59 -05:00
Hunter Trujillo 3c6f3efc61 Refactor to use Scrollbars from FancyScrollbar. 2017-12-05 12:09:01 -07:00
Michael Desa 8cfc6bbbae 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 eaecdce3b6 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 87551af3ff 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 cecd203a75 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 0a3c5f9e81 Update CHANGELOG.md to mention updating mysql precanned dashboard 2017-12-05 08:39:24 -06:00
Chris Goller 3be078492b Update mysql pre-canned dashboard to use last value over a second derivative 2017-12-05 08:36:50 -06:00
Hunter Trujillo 8b02ccbfdc Remove propTypes from member properties and place at end of file. 2017-12-04 18:24:22 -07:00
Hunter Trujillo 68be5030c2 Remove unnecessary return. 2017-12-04 18:13:40 -07:00
Hunter Trujillo 188cd8f1ca Refactor webpack file cleanup script to use ES6-compatible callback-style Node fs calls. 2017-12-04 18:10:57 -07:00
Alex P 12d1845395 Use destructuring and implicit return
Just a nicer pattern
2017-12-04 16:53:48 -08:00
Andrew Watkins ca22d26808 Merge branch 'master' into feature/auto-group-by-de 2017-12-04 16:51:01 -08:00