Commit Graph

1170 Commits (862802710ed7bfea49937427cfdb302f090287f3)

Author SHA1 Message Date
Jared Scheib 26716ad280 Merge branch 'master' into feature/admin
Conflicts:
	CHANGELOG.md
	enterprise/users.go
	server/admin.go
	server/admin_test.go
	ui/.eslintrc
	ui/src/shared/constants/index.js
	ui/src/store/configureStore.js
	ui/src/style/theme/theme-dark.scss
2017-03-10 18:36:37 -08:00
Jared Scheib 3380d11c8b Return errors from AJAX 2017-03-10 17:37:45 -08:00
Jared Scheib a82db6be2b Add tests for role create and update, refactor user create test 2017-03-10 16:48:56 -08:00
Jared Scheib 410d0beb56 Fix update dropdown when adding users, roles, and permissions (except users/roles), rename success actions for use across AJAX update requests, pass through error on AJAX update failure 2017-03-10 16:22:03 -08:00
Jared Scheib 5f851863a3 Move admin constant to admin constants 2017-03-10 14:47:45 -08:00
Andrew Watkins eab3e55b9a Remove warnings 2017-03-10 14:25:09 -08:00
Andrew Watkins c089da310c Introduce update user 2017-03-10 14:24:15 -08:00
Andrew Watkins 8ed77eae3b Introduce update permissions for users 2017-03-10 13:30:17 -08:00
Andrew Watkins 6216bba5ab Remove plural 2017-03-10 13:01:22 -08:00
Andrew Watkins acc2444883 Fix tests 2017-03-10 12:52:18 -08:00
Andrew Watkins 0e0f89b995 Editing rows cleanup 2017-03-10 12:47:53 -08:00
Jared Scheib c2ed3b306c Add ability to add a role 2017-03-10 12:00:45 -08:00
Andrew Watkins 931bd634ea Merge pull request #990 from influxdata/feature/add-perms-to-users
Feature/ populate user perms from server
2017-03-10 11:36:42 -08:00
Alex P 2588a67968 Style new rows in admin tables
New users looking fly
2017-03-10 11:22:39 -08:00
Alex P 4e34a3f6ec Remove commented out styles 2017-03-10 11:22:11 -08:00
Andrew Watkins ef1056b1eb Remove redundant nav item 2017-03-10 10:08:44 -08:00
Andrew Watkins e4f7dc98e5 Reintroduce hasRoles boolean 2017-03-10 10:08:26 -08:00
Andrew Watkins f878d8f14c Make roles not appear on OSS 2017-03-10 09:44:16 -08:00
Andrew Watkins fa91d66669 Populate user permissions from server 2017-03-10 09:28:09 -08:00
Andrew Watkins 0e0127c042 Add LOAD_PERMISSIONS reducer logic 2017-03-10 08:40:35 -08:00
Andrew Watkins 868156313f Add getPermissions AJAX 2017-03-10 08:40:12 -08:00
Andrew Watkins e45da1dc25 Remove old linter overrides 2017-03-10 08:39:40 -08:00
Andrew Watkins 910f50a1fe Introduce loadPermissionsAsync action creator 2017-03-10 08:36:33 -08:00
Andrew Watkins cca6e0450c Add permissions to redux store 2017-03-10 08:35:51 -08:00
Andrew Watkins 96c6a770d2 Populate role multiselect 2017-03-10 08:10:45 -08:00
Jared Scheib 93cdcd4485 Fix roles bug when no users 2017-03-09 17:15:39 -08:00
Andrew Watkins ee7cf96ddb Remove dup import 2017-03-09 14:52:01 -08:00
Andrew Watkins 83b33b2f40 Add TODO 2017-03-09 14:44:55 -08:00
Andrew Watkins 33baa2fffc Change order of arguments 2017-03-09 14:44:00 -08:00
Andrew Watkins 13aa2b2580 Add better name to actions 2017-03-09 14:44:00 -08:00
Andrew Watkins b2f8e4abe8 Implement update role permissions 2017-03-09 14:43:17 -08:00
Andrew Watkins 7ce3a6babc Update linter to allow console.error 2017-03-09 14:43:17 -08:00
Andrew Watkins 20c68fae84 Implement add users to roles 2017-03-09 14:43:16 -08:00
Andrew Watkins e7c4b297c0 Show display all users in MultiSelect 2017-03-09 14:41:14 -08:00
Andrew Watkins bf7ce84372 Merge pull request #975 from influxdata/feature/934-ew-admin_add-user
Add ability to add a new user
2017-03-09 14:17:55 -08:00
Jared Scheib e1776e7696 Rename action to redux convention 2017-03-09 13:59:10 -08:00
Jared Scheib fd06092ac8 Add tests for creating user 2017-03-09 12:48:37 -08:00
Jared Scheib aa8a3518ab Fix confirm buttons display 2017-03-09 12:03:11 -08:00
Jared Scheib 1236bec500 Fix disable createUsers button when editing 2017-03-09 11:50:58 -08:00
Jared Scheib 76bae4b68e Clean up 2017-03-09 11:04:40 -08:00
Hunter Trujillo 34c66c871a Merge pull request #980 from influxdata/misc-ui-polish
Shoe Polish
2017-03-09 12:02:27 -07:00
Jared Scheib ca9c10c8d5 Confirm created user, refactor editing mode, clean up 2017-03-09 11:00:00 -08:00
Alex P 5af8e0e0fb Fix formatting 2017-03-09 10:49:53 -08:00
Jared Scheib 73fe7bbb64 Fix deleting and editing existing users on edit with same name by using links.self as unique key 2017-03-09 10:09:05 -08:00
Tim Raymond 20bb7110aa Fix Flash of Unpopulated Graphs on Refresh
If a previous fetch of query results was unsuccessful, a "No Results"
message is displayed by the AutoRefresh component. When it went to fetch
results again, this would briefly be replaced by its composed compoenent
which would be instructed to show its "loading" treatment. Since "No
Results" is usually not a situation that would spontaneously change
without user intervention, this patch stores whether the previous fetch
was successful, and hides the loading treatment during subsequent
fetches if it wasn't.
2017-03-09 12:59:11 -05:00
Jared Scheib 7c08d380e4 addUser: Refactor to fully controlled inputs, edit user in-place, post new user successfully, simplify actions, disable Create button on editing, WIP clear editing & handle server responses 2017-03-08 17:20:57 -08:00
Alex P 08c74aea06 Add Source Indicator to most pages 2017-03-08 16:20:30 -08:00
Alex P fe94556ea4 Change sourceIndicator to receive a string instead of an object 2017-03-08 16:20:17 -08:00
Alex P 06daae837d Fix for #941 2017-03-08 16:00:50 -08:00
Alex P 9bc5e039ba Create SourceIndicator component
Re-using this thing a lot
2017-03-08 13:20:50 -08:00