Chris Houseknecht
ade961fd38
AC-674 flash message is now cleared whenever AS is summoned.
2013-11-20 22:37:29 +00:00
Chris Houseknecht
8afdb710be
Fixed project related links on home page. Add missing Reset button to all list pages. Fixed bug in sort that prevented searching where drop-down item is empty.
2013-11-20 22:07:55 +00:00
Chris Church
4f46ad63db
AC-688 Fixed error adding team credential, added test.
2013-11-20 16:49:01 -05:00
Chris Houseknecht
9f40a6c8b4
New dashboard. Modified dahsboard widgets to use API dashboard resource. System summary now working.
2013-11-20 21:09:55 +00:00
Chris Houseknecht
117d702a2a
New dashboard. Modified dahsboard widgets to use API dashboard resource.
2013-11-20 21:09:55 +00:00
Matthew Jones
98cb95b510
Add organizations counts to the api dashboard view
2013-11-20 15:56:31 -05:00
Chris Church
8bf198f7ed
AC-687 Add ec2/rax region choices to inventory source options response, add validation for source_regions.
2013-11-20 15:20:01 -05:00
Matthew Jones
7929cfedd8
Remove SortedDict, add user, team, credential, and job_template counts as top level dictionaries. Refinement for AC-649
2013-11-20 15:19:53 -05:00
Matthew Jones
83950be7ea
Don't try to preserve an instance between pre- and post- middleware processing and fail sanely if we lose the activity stream instance
2013-11-20 14:02:03 -05:00
Chris Church
39ad6b0ad1
AC-686 Fix permissions for inventory source to allow org admins and users with write permissions to update.
2013-11-20 13:54:55 -05:00
Matthew Jones
7fa9e3289b
Fix RelatedManager exception issue on the dashboard
2013-11-20 13:35:03 -05:00
Chris Houseknecht
99726266e9
AC-698 when job template does not include a credential, user is prompted for one on launch. The prompt was broken. Fixed. Also made it so that working spinner starts the second you click Update. Tested working spinner initiate and fade out for job, project and inventory submissions.
2013-11-20 18:07:39 +00:00
Chris Houseknecht
2f90ce511f
Refresh button on jobs and projects tab now responds with a spinner. Before nothing happened and you were not really sure if the data actually refreshed. This is a result of removing the little spinner in the fitler widget.
2013-11-20 16:43:16 +00:00
Chris Houseknecht
aef534f080
Fixed *flashy* working spinner behavior. Noticed it on Users page when adding a new user. Problem is with callback feature on working widget. If the callback is empty, then don't pass along undefined to fadein/fadeout. Applied delete spinner changes to Users, somehow it had been overlooked.
2013-11-20 16:43:16 +00:00
Matthew Jones
d6cbcde0b4
Wrap up AC-649, provide an api for the dashboard view
2013-11-20 11:37:38 -05:00
Matthew Jones
5a9bf7054c
Add the dashboard api view, with a few fields still needing to be filled
2013-11-20 10:54:31 -05:00
Chris Houseknecht
8836bee43a
AC-690 copy button back in.
2013-11-20 15:44:52 +00:00
Chris Houseknecht
31360d5262
AC-690 removed copy button.
2013-11-20 15:40:31 +00:00
Chris Church
503fc8ceb4
AC-696 Removed restriction on reassigning a credential to another user/team.
2013-11-20 10:07:39 -05:00
Chris Houseknecht
a9c9cc8f03
Removed update interval field grom Group form.
2013-11-20 09:13:59 +00:00
Chris Houseknecht
5b6eba7f93
AC-665 Added governor to object type searches, limiting objects to 30. Now using 'working' spinner in place of small spinner. No more auto search. Replaced the auto search with Go button and Enter key.
2013-11-20 09:03:11 +00:00
Matthew Jones
6f652d801a
We need to check for AnonymousUser here sine that's what Django Request Framework will return when no authentication is provided
2013-11-20 01:29:52 -05:00
Chris Houseknecht
0127680805
AC-657 Fixed order of operations for prompting user to approve delete, starting spinner, sending request to API, stoping spinner and refreshing page. The key is starting the spinner using the modal.on.hidden.bs.modal to start the spinner and then not stopping it until inside postrefresh event. Applied the fix to all controllers and tested.
2013-11-20 06:06:26 +00:00
Matthew Jones
4bc15a4392
More for AC-694, use the new rest framework materialized user
2013-11-20 00:43:27 -05:00
Matthew Jones
d564d73622
Fix for AC-694, we weren't saving the instance if using the cached user
2013-11-20 00:27:05 -05:00
Chris Church
b73e792b23
Example code for capturing current user from rest framework.
2013-11-20 00:25:09 -05:00
Chris Church
e4851c6e18
AC-654 Add API support for token auth using X-Auth-Token header in addition to AUthorization header, fixes issue where API requests from the UI are picking up the basic auth from an API session.
2013-11-19 23:37:19 -05:00
Chris Church
52c0a93293
Fix error views to use base REST framework template instead of admin, since admin is disabled.
2013-11-19 23:37:19 -05:00
Chris Houseknecht
ebd6973f6b
AC-550 When user views inventory update status (by clicking on the status link) an alert at the top of the dialog will show when the error is caused by a license violation.
2013-11-20 03:45:42 +00:00
Matthew Jones
059047ab77
Fix AC-660, resolve auth token authentication properly. Implement user instance caching so we don't constantly attempt to look up the user for multiple model operations yielding activity stream events
2013-11-19 21:39:10 -05:00
Matthew Jones
1388ad4cc0
Fix issue AC-677, field is referenced incorrectly causing exception
2013-11-19 19:50:11 -05:00
Chris Church
f7081074d0
AC-629 Fix password field used to respond to ansible-playbooks prompts.
2013-11-19 16:21:48 -05:00
Chris Houseknecht
666d721bda
AC-668 'parse as' value now works correctly.
2013-11-19 21:03:55 +00:00
Chris Houseknecht
d340de970f
AC-654 Added 'X-Auth-Token' as a header in all requests. This will give the API a way to distinguish requests between UI an API Browser and invoke correct RBAC rules. Without this we run into a collision of sorts when user logs into UI and API Browser at the same time from the same browser.
2013-11-19 20:48:09 +00:00
Matthew Jones
66d6e2fe43
Add more verification when deserializing json changes field on activity stream
2013-11-19 10:48:05 -05:00
Matthew Jones
7fda453720
Fix AC-648... make sure the changes field is not represented using nested json
2013-11-19 10:45:13 -05:00
Chris Houseknecht
94bbab566b
Only allow user with super_user access to see activity stream button. Fixed collision between is_superuser rootscope variable and credential.is_superuser on credential detail page. Added AS to user/n/permissions page.
2013-11-19 20:39:43 +00:00
Chris Church
e2e8a7e346
Fix broken tests after removing session authentication.
2013-11-19 15:25:47 -05:00
Chris Church
a25a162229
AC-170 Disable REST session auth and Django admin by default.
2013-11-19 14:45:42 -05:00
Matthew Jones
ccbef21c42
Close AC-671... cleanup/purge activity stream tables
2013-11-19 09:37:58 -05:00
Matthew Jones
14ac51861e
Prevent non-superusers from querying the activity stream
2013-11-19 09:10:14 -05:00
Chris Houseknecht
4661a9e97a
Added AS to /inventories/hosts/N and /inventories/groups/N as well has /home/[groups, hosts]. Fixed CSS container sizing issue, so widget will not overlap footer.
2013-11-19 18:52:32 +00:00
Chris Church
d681d0972a
Fix RBAC for project updates.
2013-11-19 13:26:34 -05:00
Chris Church
216ab5cf41
AC-672 Fixed responding to passphrase prompts for project updates, re-added tests removed in earlier update.
2013-11-19 13:18:38 -05:00
Matthew Jones
ee44f1ea76
Fix issue AC-650... hide sensitive fields from change record in activity stream
2013-11-19 08:03:43 -05:00
Matthew Jones
be43447903
Removing some unneeded comments from activity stream queryset
2013-11-19 08:03:43 -05:00
Matthew Jones
812aafdfef
Implement basic RBAC for the activity stream list, temporarily remove a failing unit test due to sqlite not supporting the distinct query
2013-11-19 10:05:59 -05:00
Chris Houseknecht
925016d556
Host enabled flag is now a checkbox rather than a radio button on the Hosts add/dit dialog.
2013-11-19 09:27:39 +00:00
Chris Houseknecht
e2209ce3bd
Ac-630 cloud_credential_name value is now set after data loaded for Job Template edit page.
2013-11-19 09:06:25 +00:00
Chris Houseknecht
6b418d4a5c
Added activity stream to all tabs and to the tab detail page. Enabled working breadcrumbs on the activity stream widget. Added round corners to th stream containers so it at least looks OK when the bottom occassionally overllapses footer. Adjusted the stream widget's default url to include detail object's primary key, limiting rows to the object being viewed.
2013-11-19 08:17:21 +00:00