Commit Graph

6078 Commits (5dc7444678512eb52d873ff19396383e8fc20058)

Author SHA1 Message Date
Jared Scheib 20d57e4eb8 Import all role name constants in dummy data & fix missing MEMBER_ROLE 2017-11-03 09:38:13 -07:00
Michael Desa 167c0c06a8 Prevent duplicate organization roles in user CRUD 2017-11-03 12:06:18 -04:00
Jared Scheib 71bd6e390b Set me role in redux based on current organization 2017-11-03 08:17:04 -07:00
Jared Scheib 7252260792 Wire up change current organization 2017-11-03 07:53:07 -07:00
Jared Scheib f38cdc63f3 Populate UserNavBlock with real user orgs & roles data 2017-11-03 07:08:04 -07:00
Michael Desa aabefe3ac1 Fix me tests with proper IDs 2017-11-03 09:47:54 -04:00
Jared Scheib 761ca0e1c7 Pass full links response into SideNav & down to UserNavBlock 2017-11-03 06:46:59 -07:00
Michael Desa 4baa65629a Fix links in me request 2017-11-03 09:39:21 -04:00
Michael Desa 450a965019 Properly pass organization context to handlers 2017-11-03 09:13:03 -04:00
Jared Scheib b7bfbcf4cc Fix regression of custom links no longer opening in diff browser tab 2017-11-03 05:28:33 -07:00
Jared Scheib 0e507a4ab9 Remove org change dropdown from OrgTable view - only show org name
This clarifies the UX from within an Organization view. It was
confusing to be able to change a user's organization to another
while in a specific one's view.

This also passes organization obj down to OrgTable.
2017-11-03 05:23:25 -07:00
Jared Scheib 1e0eb379ba Wire up update superadmin status 2017-11-03 04:59:26 -07:00
Jared Scheib f6f632fb40 Wire up update user role 2017-11-03 04:30:06 -07:00
Jared Scheib c7425e19f9 Show current organization in CreateUserOverlay 2017-11-03 04:13:16 -07:00
Jared Scheib fb68223082 Make order of create user options consistent with table
Only show Role selector if Organization is selected.
2017-11-03 04:13:16 -07:00
Jared Scheib 7519e0a6e2 Fix disable Create user button if required fields empty 2017-11-03 04:13:16 -07:00
Jared Scheib 8dcb6d7e8f Ensure in client that created user roles include member of default org 2017-11-03 04:13:06 -07:00
Jared Scheib a0a46ce715 Fix superAdmin bool display; refactor & clean up copy 2017-11-03 03:34:11 -07:00
Jared Scheib 244eee53ef Wire up individual add user to org dropdown in Chronograf users table 2017-11-03 03:25:19 -07:00
Jared Scheib 71572d3739 Simplify & fix user org add & remove, and provide server errors 2017-11-03 02:47:02 -07:00
Jared Scheib 47283243a1 Clarify 'Add to organization' copy on dropdown when no roles 2017-11-03 02:40:07 -07:00
Jared Scheib f2b8d37a3d Derive num users selected from array length 2017-11-03 02:09:21 -07:00
Jared Scheib 90af5b58fd Wire up remove user from organization 2017-11-03 02:08:19 -07:00
Jared Scheib 229682cdbd Publish notification upon successful Update of Chronograf user 2017-11-03 02:07:25 -07:00
Jared Scheib ae997e94bc Fix org link & filtering by passing whole org object around
Does not fix the double-click bug introduced in c8f1cf1, which
is probably due to an unloaded curry on first click.
2017-11-03 01:19:42 -07:00
Jared Scheib 02337eb259 Wire up updateUser in Chronograf admin via batch action bar
Change function names to more clearly expression that organizations
are being added and removed from users.
2017-11-03 00:24:47 -07:00
Jared Scheib 9ffed2c167 Add action creator, thunk, reducer, & api for updating Chronograf uesr 2017-11-02 23:58:43 -07:00
Jared Scheib eebc363e8e Wire up rename organization 2017-11-02 23:26:33 -07:00
Jared Scheib 87fa3fbbd9 Hide SuperAdmin table row cells if user is not superadmin 2017-11-02 23:26:33 -07:00
Jared Scheib 88909e88bd Clean up console & comment orgs lacking id on optimistic update 2017-11-02 23:26:33 -07:00
Jared Scheib c1c5ac0b27 Reorder & comment action groups in Chronograf admin page file
Also create a delete method for a single user and have batch
delegate to that.
2017-11-02 23:26:29 -07:00
Jared Scheib 0a68dcebc9 Disable trash icon if default org to prevent delete 2017-11-02 21:01:58 -07:00
Jared Scheib 537997d0aa Wire up delete organization 2017-11-02 20:56:39 -07:00
Jared Scheib 1ab58b59cc Wire up create organization
Adds action creators & reducers for add, sync, & remove.
2017-11-02 20:44:37 -07:00
Jared Scheib d14ea505a5 Wire up delete user for a single user via batch actions bar 2017-11-02 20:28:08 -07:00
Jared Scheib 65b0f6ed2b Fix CHRONOGRAF_REMOVE_USER to match via equal fields, not links
Refactor isSameUser into helper func for use across files
2017-11-02 20:02:50 -07:00
Jared Scheib ac38d4de79 Rename deleteUser to removeUser since local state change in redux 2017-11-02 20:00:51 -07:00
Jared Scheib 1529018d74 Simplify bind all action creators in Chronograf admin 2017-11-02 19:42:29 -07:00
Jared Scheib 06228e6b34 Wire up create user in Chronograf admin 2017-11-02 19:08:21 -07:00
Michael Desa b67b2e8d6e Fix over-stringification of organization on roles 2017-11-02 21:52:30 -04:00
Jared Scheib 254e70af34 Get organizations from server to populate Chronograf Admin dropdown
Get & use chronograf/v1/organizations from server links
2017-11-02 17:47:14 -07:00
Jared Scheib fe7842387e Get & use chronograf/v1/users from server links 2017-11-02 16:48:27 -07:00
Jared Scheib 500843a867 Add SuperAdmin to userResponse 2017-11-02 16:24:16 -07:00
Jared Scheib 4546811939 Update shape of currentOrganization to org object 2017-11-02 16:22:25 -07:00
Alex P e656bf90e2 Add functional UI skeleton for Create User for admin & superadmin
Plan is to replace with "New Row" pattern soon
2017-11-02 16:05:06 -07:00
Chris Goller 38f70bff3e Update CHANGELOG to mention fixing template variable in dashboard query building 2017-11-02 18:01:35 -05:00
Chris Goller cdd2c826b9 Fix rendering of templated queries to the /queries endpoint 2017-11-02 17:57:02 -05:00
Alex P eca4d9cb3c Implement overlay UI to handle CRUD operations for Organizations 2017-11-02 14:57:03 -07:00
Andrew Watkins 725e80f7e9 Make legend items unique 2017-11-02 13:38:08 -07:00
Andrew Watkins 4cafd07d33 Remove 'No Results' as empty state for Dygraphs
Returning No Results when no series returned cause a bunch of issues.
Firstly, if the user zoomed in to a time that returned no data the graph
would disappear and they would no longer be able to double-click the
graph to zoom back out.  Secondly, if ONE series returned no results the
entire graph would disappear.
2017-11-02 13:36:15 -07:00