Jared Scheib
7c61a91191
Merge pull request #2591 from influxdata/multitenancy_no_switch_to_orgs_where_no_role
...
Allow SuperAdmin to switch to orgs where they have no role
2017-12-18 13:44:21 -08:00
Luke Morris
b65003203f
Missing comma
2017-12-18 13:00:27 -08:00
Luke Morris
0fa542b6b1
Minor tweaks based on PR review
2017-12-18 12:59:04 -08:00
Jared Scheib
1e361ec80e
Add & render EmptyUsersTable if users & organizations are loading
...
Allow UsersTableHeader to be used in empty state via defaultProps
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-18 12:45:18 -08:00
lukevmorris
64523ab8c3
Merge pull request #2604 from influxdata/2599-backup-database-on-upgrade
...
After Chronograf version upgrade, backup database on server start
2017-12-18 12:11:28 -08:00
Jared Scheib
2a50e90746
Move AdminChronografPage to /admin/chronograf
2017-12-18 12:10:02 -08:00
Jared Scheib
b70f5704ed
Remove obsolete code that reloaded users upon org switching
2017-12-18 12:08:37 -08:00
Jared Scheib
db91aca339
Refactor AdminChronograf into UsersPage to ensure correct users via AJAX & guard
...
Move OrganizationsPage into /chronograf & cleanup
2017-12-18 12:08:20 -08:00
Luke Morris
4d449ba32b
Backup/Migrate/Initialize moved into Open
...
Signed-off-by: Chris Goller <goller@gmail.com>
2017-12-18 12:06:17 -08:00
Luke Morris
8843699303
Repair broken tests
2017-12-17 14:25:18 -08:00
Luke Morris
17759192b2
Refactor; simplify function responsibilities
2017-12-17 14:11:27 -08:00
Luke Morris
9e62489f77
Repair broken tests
2017-12-16 14:35:04 -08:00
Luke Morris
901aa0bb02
Add/correct comments for new Build functions
2017-12-16 14:09:39 -08:00
Luke Morris
a7ffcc88da
Add comments to .gitignore
2017-12-16 13:56:22 -08:00
Luke Morris
4faf9c5440
Clean up prior to PR
2017-12-16 13:54:55 -08:00
Luke Morris
b9910c6e52
Output backups to backup/ directory
2017-12-16 13:32:21 -08:00
Luke Morris
e9d3f1aa31
Don't backup bolt if it is new
2017-12-16 13:06:43 -08:00
Luke Morris
2196a20100
Create backup of database when moving versions
2017-12-16 12:27:24 -08:00
Luke Morris
d201fa941a
WIP
2017-12-16 01:01:14 -08:00
Jared Scheib
5bfed911b3
Fix destructuring bug in arg with default value
2017-12-15 16:05:57 -08:00
Jared Scheib
cb88e31a7a
Update copy of notification upon switch & become Admin
2017-12-15 16:05:57 -08:00
Michael Desa
75d6c659f3
Allow SuperAdmins to change into any organization
2017-12-15 16:05:56 -08:00
Jared Scheib
531b0d2afd
Notify SuperAdmin of new Admin role switching to organization where they had no role
2017-12-15 16:05:51 -08:00
Jared Scheib
92c7dabf59
Revert "Add 'Join' button to the left of Organizations where a SuperAdmin has no role"
...
This reverts commit dffde0e5371ce82d2a3f2c785bdcdf43cf6a2c3b.
2017-12-15 16:05:45 -08:00
Jared Scheib
34301cb371
Add 'Join' button to the left of Organizations where a SuperAdmin has no role
2017-12-15 16:05:38 -08:00
Jared Scheib
e5c4a4a403
Disable 'Switch to' button in OrganizationsTable for any orgs user has no role in
...
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2017-12-15 16:05:27 -08:00
Jared Scheib
0f075d7b9d
Merge pull request #2603 from influxdata/feature/issues#2602
...
Reference known issue #2601 in Admin creating SuperAdmin response
2017-12-15 15:59:08 -08:00
Jared Scheib
292f496c9d
Merge pull request #2600 from influxdata/2579-populate-default-role
...
Load admin's organizations when loading users table
2017-12-15 15:39:32 -08:00
Jared Scheib
5213d66544
Show spinner until UsersTable has users & organizations data
2017-12-15 15:31:58 -08:00
Jared Scheib
fbc224107e
Reference known issue #2601 in Admin creating SuperAdmin response
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-15 15:05:27 -08:00
Luke Morris
f9798d671f
Load admin's organizations when loading users table
2017-12-15 13:57:00 -08:00
Jared Scheib
ad22233adb
Merge pull request #2590 from influxdata/2544-missing-dashboard-should-404
...
Attempting to access missing dashboard should redirect user to `/sources/:sources_id/dashboards`
2017-12-15 11:48:55 -08:00
Alex P
6422297c09
Updoot changelog
2017-12-15 10:25:38 -08:00
Alex Paxton
abdb5f5244
Merge pull request #2575 from influxdata/three-new-icons
...
Add Auth0, OAuth, and stacked hard disks icons
2017-12-15 10:18:08 -08:00
Alex P
bd3aec99ad
Allow users to toggle between coloring text or background with single stat thresholds
2017-12-14 19:07:19 -08:00
Alex P
35cbdd4fe3
Add field in single-stat options for setting a suffix
2017-12-14 19:06:35 -08:00
Jared Scheib
ab2c60188d
Merge pull request #2592 from influxdata/multitenancy_prevent_console_error_from_errors_middleware
...
Prevent console error from failed ES6 destructuring when ERROR_THROWN is not from HTTP
2017-12-14 19:04:44 -08:00
Luke Morris
7b1d32c26b
Tell the user what went wrong
2017-12-14 18:36:18 -08:00
Jared Scheib
4448b187ba
Only attempt to access error.data.message if error is 403'd AJAX
...
Use lodash to avoid destructuring
error.data.message should only exist for failed AJAX requests.
Currently we only handle 403 (HTTP_FORBIDDEN) here.
2017-12-14 18:19:29 -08:00
Luke Morris
ebbb98426c
Should abort DashboardPage mount immediately after redirect
2017-12-14 17:38:22 -08:00
Luke Morris
59427db2e0
If dashboard is missing, redirect to dashboards index
2017-12-14 17:36:44 -08:00
Jared Scheib
8d3e2f1c0e
Merge pull request #2584 from influxdata/fix/issue#2583
...
Use serverContext for getting Config in NewUser
2017-12-14 16:49:31 -08:00
Michael Desa
8252fe5149
Fix wording on API integration tests
...
Format JSON in test to match others
2017-12-14 15:54:27 -08:00
Michael Desa
1f6f78d3fd
Use serverContext for getting Config in NewUser
2017-12-14 13:34:19 -08:00
Nathan Haugo
c42ebb3a86
Bump version to 1.4.0.0-beta2
2017-12-14 12:47:41 -08:00
Nathan Haugo
a91b3ef104
Bump version to 1.4.0.0-beta2
2017-12-14 12:45:44 -08:00
Nathan Haugo
008a540b90
Merge pull request #2582 from influxdata/1.4.0.x
...
Merge 1.4.0.x hot-fixes into master
2017-12-14 12:12:35 -08:00
Nathan Haugo
f43e10c396
Merge pull request #2581 from influxdata/fix-optin-cursor
...
Fix optin cursor
2017-12-14 12:07:07 -08:00
Nathan Haugo
c5f53e54df
Merge branch '1.4.0.x' into fix-optin-cursor
2017-12-14 12:05:58 -08:00
Alex P
31b21620d2
Format auth0 link name to render correct icon
2017-12-14 11:55:03 -08:00