Commit Graph

4127 Commits (014048631c1f2b1980b785d7b4406e4a2f5803bb)

Author SHA1 Message Date
Alex P 5805f78814 WIP Add button to Manage Sources page for switching organizations
Also added some icons to the buttons
2017-12-13 14:17:38 -08:00
Jared Scheib a54ca8afe2 Update state in SlideToggle when props update
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-12-13 13:57:09 -08:00
Jared Scheib 513f416840 Rename css class to use 'config' instead of 'settings' 2017-12-13 13:55:06 -08:00
Jared Scheib 5c813493ea Add config.self & config.auth routes, update client routes & make PATCH a PUT 2017-12-13 13:54:23 -08:00
Luke Morris c2390e8db2 Merge branch 'master' into fix-optin-cursor 2017-12-12 18:11:51 -08:00
Alex P 8d7a78bff5 Add hover and pressed state visual cues to opt-in label
After much debate this seems to check off the most “Good UX” boxes
2017-12-12 17:57:54 -08:00
Jared Scheib b18dce8577 Pass through config link to redux 2017-12-12 15:10:54 -08:00
Luke Morris a78ad59748 Invert only the user nav; leave alerting/admin untouched 2017-12-12 14:48:22 -08:00
Jared Scheib 4268e38037 Move & rename Settings boilerplate to dedicated shared Config boilerplate 2017-12-12 14:39:40 -08:00
Andrew Watkins c2108d8e48 Prevent inversion of graph 2017-12-12 14:34:30 -08:00
Jared Scheib b24dcd5681 Wire up SuperAdminFirstUserOnly toggle in UI
The API does not exist yet, and the shape and location
in redux may change.
2017-12-12 14:02:17 -08:00
Alex P ab3d9109a0 Create settings table beneath organizations table
Only 1 setting for now, when we have more we can find a better home for
it
2017-12-12 14:02:17 -08:00
Alex P 26451ba577 Render static text instead of kapacitor switching dropdown for Viewers 2017-12-12 13:40:01 -08:00
Jared Scheib a6a1cdf2e7 Allow new Organization names to include spaces 2017-12-12 13:37:07 -08:00
Luke Morris 05f119a0cf Allow for 2 custom links 2017-12-12 12:45:03 -08:00
Luke Morris c1376a757e Shift position of inverse dropdown 2017-12-12 12:45:03 -08:00
Luke Morris 90947245fa Control direction of sidebar-menu--user-nav with flexbox 2017-12-12 12:45:03 -08:00
Luke Morris fa1b19d96f visualViewport is supported in Chrome only 2017-12-12 12:37:30 -08:00
lukevmorris ae30d2e75e
Merge pull request #2543 from influxdata/2520-firefox-login
Repair rendering bug in Firefox
2017-12-12 11:56:59 -08:00
Alex P a6036376ef Actually fix the issue 2017-12-12 10:25:57 -08:00
Luke Morris fce101a646 Allow for 2 custom links 2017-12-11 17:06:38 -08:00
Alex P a7c1e2c0cf Render static text instead of kapacitor switching dropdown for Viewers 2017-12-11 16:59:01 -08:00
Luke Morris ea53627268 Shift position of inverse dropdown 2017-12-11 16:16:14 -08:00
Luke Morris c005c4d0fe Control direction of sidebar-menu--user-nav with flexbox 2017-12-11 15:20:58 -08:00
Luke Morris 60fb080340 visualViewport is supported in Chrome only 2017-12-11 14:46:28 -08:00
Jared Scheib 6dc8d4fda3 Allow new Organization names to include spaces 2017-12-11 14:42:24 -08:00
Luke Morris 20d393896c Merge branch 'master' into fix-optin-cursor 2017-12-11 09:52:31 -08:00
Luke Morris 4fb1ba4f6e Bump dygraphs to 2.1.0 2017-12-08 14:33:03 -08:00
Luke Morris 18ae90ce81 Dygraphs now has support for millisecond granularity 2017-12-07 15:05:33 -08:00
Nathan Haugo 4b2ca37660 Update CHANGELOG.md to organize release notes 2017-12-07 15:03:58 -06:00
Nathan Haugo 1e8a66dffa Update bumpversion with 1.4.0.0-beta1 2017-12-07 14:38:28 -06:00
Jared Scheib d9f3cb95c2 Remove failing propType when not using auth 2017-12-06 19:10:08 -08:00
Jared Scheib 482a4de6c1 Merge branch 'master' into multitenancy 2017-12-06 19:05:16 -08:00
Jared Scheib 8f3672f641
Merge pull request #2399 from influxdata/multitenancy_reset_current_org
Refactor server to issue 403s instead of 401s; handle 403s & routing in client; remove source Role concept
2017-12-06 18:58:40 -08:00
Jared Scheib 9e70048dbc Repair javascript specs
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 18:39:45 -08:00
Luke Morris aa51950668 If a superadmin is removed from an organization, send to purgatory
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 18:39:45 -08:00
Luke Morris bc6111f27c If a superadmin is removed from an organization, send to purgatory
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 18:14:24 -08:00
Jared Scheib ca75b6c7b6 Display helpful messages to users
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 17:56:12 -08:00
Luke Morris 64962bb1db When user removed from private org, log them out
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 17:53:30 -08:00
Hunter Trujillo d0fb393f29
Merge pull request #2495 from influxdata/feature/yowo
You're Only Warned Once
2017-12-06 18:35:52 -07:00
Jared Scheib 236a62f911 Refactor to use isUsingAuth
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 17:24:01 -08:00
Luke Morris 95f9af226a Allow superadmin-members to login from Purgatory
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 17:22:36 -08:00
Jared Scheib 472ddab561 Add failsafe to kick user to login if me becomes null
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 17:07:24 -08:00
Hunter Trujillo 7c5e613195
Merge pull request #2427 from influxdata/feature/infinite-scroll
Infinite Scroll
2017-12-06 17:17:16 -07:00
Alex P 305fbdd1c3 Reintroduce gradient and corresponding transition 2017-12-06 16:12:59 -08:00
Alex P d5af74fccf Refactor optin component to not have cursor problems 2017-12-06 16:06:35 -08:00
Luke Morris 94e94d3aa9 Revert "Revert "Log out user if organization is gone on the server""
This reverts commit 6fef259625.
2017-12-06 15:44:09 -08:00
Jared Scheib 4b3a239b74 meGetCompleted requires me/auth/logoutLink from AJAX response
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 15:40:09 -08:00
Luke Morris 6fef259625 Revert "Log out user if organization is gone on the server"
This reverts commit eca17da637.
2017-12-06 15:23:18 -08:00
Luke Morris eca17da637 Log out user if organization is gone on the server 2017-12-06 15:10:48 -08:00
Andrew Watkins b50f728ccc
Merge pull request #2499 from influxdata/origin/multitenancy/enter-and-escape-admin-user
Add enter and escape key behavior to Chronograf admin users page
2017-12-06 15:07:54 -08:00
Jared Scheib febdbd0d1b Clean up error message for consistency 2017-12-06 14:57:49 -08:00
Jared Scheib 9e9aadcb1b Add notification for successful delete of source 2017-12-06 14:25:19 -08:00
Jared Scheib 731c3ab47c Fix notification copy on add & update source 2017-12-06 14:23:49 -08:00
deniz kusefoglu 03614b7678 Add enter and escape key behavior to Chronograf admin users page 2017-12-06 14:22:27 -08:00
Hunter Trujillo 283d2eefcd Same story for updateSourceAction. 2017-12-06 15:06:21 -07:00
Jared Scheib d1cf8d95f6 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 c4b862c5b8 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 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 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 ff1eebd67c Refactor CheckSources to ES6 React class
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 14:34:29 -08: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 d61846a4c7 Merge remote-tracking branch 'origin/multitenancy' into multitenancy_remove_viewer_put 2017-12-05 12:51:37 -08: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 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
Hunter Trujillo ae32aba01f Refactor to use Scrollbars from FancyScrollbar. 2017-12-05 12:09:01 -07: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
Alex P 13bbb3cb93 Use PureComponent in favor of shouldComponentUpdate with shallow compare 2017-12-04 16:44:21 -08:00
Alex P 7f77b36cd2 Ensure provider indicator in nav does not wrap 2017-12-04 16:24:41 -08:00
Jared Scheib 19c265d344 Prevent PUT operations for Viewer role on Dashboard load 2017-12-04 16:19:17 -08:00
Hunter Trujillo 6a1625d8e7 Fix headers sent to Kapacitor proxy endpoint by clientside fetch. 2017-12-04 16:47:23 -07:00
Andrew Watkins fd8793b5cd Improve performance of highlightCallback 2017-12-04 15:21:14 -08:00
Andrew Watkins 4343c177d4 Update guard clause of syncronizer 2017-12-04 15:20:46 -08:00
Alex P 44e0c654f8 Merge branch 'multitenancy' into multitenancy_ui_polish 2017-12-04 14:39:44 -08:00
Alex P 67de1ac907 Prevent tooltip wrap 2017-12-04 14:31:19 -08:00
Alex P cce06367a7 Remove function call and closure 2017-12-04 14:30:16 -08:00
Jared Scheib e64c072388
Merge pull request #2435 from influxdata/multitenancy_prevent_bad_add_org_user
Prevent unintended update of existing user on Add; fix duplicate User & Org creation client UX
2017-12-04 14:15:27 -08:00
Jared Scheib 75e1c46577
Merge pull request #2452 from influxdata/multitenancy_ui_prevent_self_deletion
Disable 'Remove' button for self in Chronograf UsersTable
2017-12-04 13:57:33 -08:00
Alex P b5712ec099 Adjust widths of default role and public columns in organization table 2017-12-04 13:19:19 -08:00