1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 18:21:12 +03:00
Commit Graph

1282 Commits

Author SHA1 Message Date
Chris Houseknecht
0af2980d10 Fixed js error. For some reason form generator was unable to get the scope for js-tree after changes related to source_regions. Added a way to pass in scope. 2013-11-21 17:36:03 +00:00
Chris Houseknecht
376d59dfcc AC-681 simulating a disabled button for project update and inventory update. Button appears disabled, but tooltips work. On *disabled* buttons tooltip explains why it is disabled. Button is clickable, but nothing happens- just like a real disable dbutton. 2013-11-21 17:02:51 +00:00
Chris Church
b0d423222c AC-711 Fix broken test after RBAC change. 2013-11-21 11:50:33 -05:00
Chris Church
1556800c18 AC-711 Allow org admins to see all users. 2013-11-21 11:20:56 -05:00
Chris Church
f4e9b9ce64 Update async task timeouts to hopefully fix unit test that occasionally fails. 2013-11-21 11:20:56 -05:00
Chris Houseknecht
013af19be4 AC-707 fixing home page links. Cleaned up issue with gtzero search type. 2013-11-21 14:34:01 +00:00
Chris Houseknecht
2a0edd4ea5 AC-706 fixed typo in help text on group edit page. 2013-11-21 08:18:27 +00:00
Chris Houseknecht
98b984cf86 AC-687 cloud regions are now selectable. AC-707 fixed broken hosts and groups links on home page. 2013-11-21 08:15:58 +00:00
Matthew Jones
9a46426957 Fix issue AC-708, rework the 'group' structure to report the correct fail counts 2013-11-20 23:56:18 -05:00
Chris Church
870c36f5bf Remove --autoreload option from celeryd target, doesn't seem to work anyways. 2013-11-20 22:23:47 -05:00
Chris Church
061f293b6c AC-620 Better use of update_fields on job-related models, restrict post_save signal on jobs to only operate on inactive jobs. 2013-11-20 22:12:33 -05:00
Matthew Jones
c039fc4a1f Remove JobHostSummary and JobEvent actions from the activity stream registry 2013-11-20 21:19:26 -05:00
Chris Houseknecht
38e9dbcf3c AC-691 fixed detail AS view so that JSON changes displays correctly. Fixed Refresh and AS buttons on Home page. 2013-11-21 01:16:15 +00:00
Chris Houseknecht
0cd6e5412b AC-684 Added new help text and adjusted credential labels. Fixed missing cloud credential name value on Jobs Detail view (job template accordion). 2013-11-20 23:57:43 +00:00
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