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

947 Commits

Author SHA1 Message Date
Michael DeHaan
9fc8c0725c Workaround for bug in Ansible core where 127.0.0.1/localhost must be explicitly in the all group
for dynamic inventory plugins.  Github has also been filed for ansible core but can't rev it for release.
2013-07-28 20:50:56 -04:00
Chris Church
92bfddb834 Fix for django-jsonfield to work on Django 1.4.1 (default with Ubuntu 12.10, fix for AC-222), update settings to provide more information when unable to load local/global settings file. 2013-07-28 16:30:19 -04:00
Chris Church
4c2af3a879 Fix AC-293. Explicitly check for start/cancel permissions on job for access to job start/cancel views. 2013-07-28 13:50:25 -04:00
Chris Church
6f09299284 Fix for AC-298. Remove check for project-team association as requirement to edit/run a job. 2013-07-28 10:22:20 -04:00
chouseknecht
16fb2d3b70 AC-290 Non-privy users can now see the local_path value for the project. The base path shows as 'You do not have access to view this property'. So the user knows a project path is set, they just don't know the full path. 2013-07-28 08:57:17 -04:00
chouseknecht
a6977d138e AC-297 Fixed similar issue when adding new User and adding new Team. In both cases Organization value was not being required by UI. Instead it relied on API error message. Works fine for admin user, but falls apart for non-privileged user. For non-priv users, the API runs into a query issue and sends back an error message that leaves the user confused. Now UI is correctly requiring a value befor allowing user to save. 2013-07-28 08:25:57 -04:00
chouseknecht
48853b6594 AC-297 Fixed. Organization on Inventory detail page is now properly required by the UI. Added the awRequiredWhen directive to cure. 2013-07-28 08:13:53 -04:00
chouseknecht
dec56b8c0a AC-281 changed form autocomplete=false to autocompleted=off. 'off' is correct, and FF seems to resepect it, at least on Mac OSX. 2013-07-28 07:45:24 -04:00
chouseknecht
fba932e283 AC-279 tweak to project content not available dialog 2013-07-28 07:30:12 -04:00
chouseknecht
1965a49b57 AC-278 Fixed. Related set not constructing order_by value correctly for summary fields. 2013-07-28 07:21:49 -04:00
chouseknecht
48c522aa17 AC-275 Fixed Credential list not showing usernamer and team values. 2013-07-28 07:03:37 -04:00
chouseknecht
d1ad7d822d AC-280, AC-289 Fixes 2013-07-28 06:16:38 -04:00
Chris Church
fce1a04a76 Fix for AC-284. Delete groups when they are disassociated and have no more parents. Remove all group and host associations from a group when it is marked inactive. 2013-07-27 23:00:07 -04:00
Chris Church
222bbd7c98 Revert previous fix for deleted name change, update how we change username when a user is marked inactive to keep it under 30 chars. 2013-07-27 21:05:26 -04:00
Chris Church
de2cd7b0fc Update for AC-291, playbook_on_stats (aka Playbook Complete) event now sets changed and failed flags when any host has changes/failures. 2013-07-27 20:19:12 -04:00
Michael DeHaan
8f379b2397 This may be a little paranoid but don't assume everything has a description. 2013-07-27 19:14:04 -04:00
Michael DeHaan
af43954ca8 In order to not worry about long usernames when deleting objects, just rename fields to include the date
and include the name/description in the new description when deleting objects.

Also updated deletion script to understand that.
2013-07-27 18:55:42 -04:00
Michael DeHaan
ac3ab82cc6 When a group only has children and no hosts/vars, still return things in hash-mode, because
Ansible is not smart enough to know that 'just children' in hash mode means anything.
2013-07-27 17:36:02 -04:00
Michael DeHaan
ceea3cd238 Amend demo message to indicate there are 10 free hosts. 2013-07-27 17:22:35 -04:00
Chris Church
764d2ff94d Implemented AC-22, hosts and child groups are migrated to a group's parent when the group is deleted or marked inactive. 2013-07-27 01:06:09 -04:00
Chris Church
d78bc8fb19 Fix so command tests will work on Django 1.4.x. 2013-07-27 00:21:45 -04:00
Chris Church
2c166e501e Implemented AC-166, added signal handlers to update has_active_failures flag whenever host/group/job are changed/deleted and whenever group-host and group-group relationships change. 2013-07-26 23:49:49 -04:00
Michael DeHaan
00895fd87f You now get 10 servers for free instead of 5.
Tests updated to exceed server count in tests by adding more hosts.
2013-07-26 23:16:20 -04:00
Michael DeHaan
264cc11630 More consistently use the logger class. 2013-07-26 23:08:01 -04:00
Chris Church
21fc169b29 Fix for imports in awx.main.utils. 2013-07-26 22:00:44 -04:00
Chris Church
5ad361a32b AC-237 Fix for automatic naming of callback jobs, remove unique constraint on job name. 2013-07-26 21:14:20 -04:00
Chris Church
81b78121b3 Add user to summary fields. 2013-07-26 18:52:48 -04:00
Chris Church
f6b3be40f1 Fix for AC-265. 2013-07-26 18:43:25 -04:00
Chris Church
c3639f96eb Fix AC-263 and AC-264. Update how we check for access to item referenced via foreign key, and determining whether an immutable field has changed. 2013-07-26 15:41:09 -04:00
chouseknecht
559b8c96af AC-230 only-hosts-with-failures checkbox added implemented. Notice that it stays in sync wit the regular filter, providing a one-click short cut to filter hosts with failed jobs. 2013-07-26 12:20:07 -04:00
Chris Church
4aaeb9506f Fixed AC-261. Relaxed permission requirements on parent object needed to view sublists. 2013-07-25 21:47:43 -04:00
Chris Church
9916a5eefb Fix for AC-257. Handle setting/updating password through UserSerializer. 2013-07-25 17:12:28 -04:00
chouseknecht
7fc08767f6 AC-262, AC-260 fixed. Also fixed issue on Inventory where changing group name and/or description was not updating the Hosts view title on the right side of page. 2013-07-25 16:02:14 -04:00
chouseknecht
c42c5624f6 AC-259 index.html looking for lib/LicenseView.js This was renamed to license.js. 2013-07-25 11:35:35 -04:00
Chris Church
0c54dcef39 Finish implementing access checks for all objects, update tests to pass. 2013-07-25 11:15:12 -04:00
Chris Church
8e9c8a2692 Stub for UI tests with selenium. 2013-07-25 11:15:12 -04:00
Chris Church
bc49627203 Permissions-related updates and fixes, more tests, better handling of any user input that would previously generate a server error. 2013-07-25 11:15:12 -04:00
Chris Church
5ef8a48600 Start on tests for inventory_import command. 2013-07-25 11:15:11 -04:00
Chris Church
6fda31e790 Fix imports, __all__ definition, organization/team sublists under projects. 2013-07-25 11:15:11 -04:00
Chris Church
a6c767907e Renamed some API files/classes to mimic REST framework names, moved queryset filtering for permissions alongside other permissions/access checks, cleaned up base views to handle get_queryset based on class attributes, cleaned up post to sublist to create/attach/unattach. 2013-07-25 11:15:11 -04:00
chouseknecht
401317cf41 AC-232 License viewer completed. 2013-07-24 18:04:37 -04:00
chouseknecht
fb54484ed3 AC-256 Fixed the out-of-sync tree issue, which leads to 'spurious error message'. 2013-07-24 11:45:34 -04:00
chouseknecht
7d0139d512 AC-232 First iteration of License display. 2013-07-24 10:41:20 -04:00
James Cammarata
bf1d36961d Excluding the awx/ui/static/lib/ansible/ directory from packaging 2013-07-23 14:03:42 -05:00
chouseknecht
d0ca4264a4 Fixed javascript compilation errors 2013-07-23 11:47:15 -04:00
chouseknecht
8ffc6870c3 AC-221 No longer refreshing the tree after a group edit. Just refreshing the modified node's title. Also, changed Inventory save (on edit) to stay on page, update tree inventory node title and flash a 'success' message. Makes much more sense. 2013-07-23 11:41:44 -04:00
chouseknecht
6e2a5bb722 AC-231 title for Hosts section of inventory detail page now appears on 2 lines. 2013-07-23 00:02:00 -04:00
chouseknecht
2f2331092b AC-252 Got rid of the nifty slider. Replace with boring spinner. We can't have nice things. 2013-07-22 22:26:42 -04:00
chouseknecht
6295efd330 Fixed pop-help directive so clicking on a help icon or button closes all other help windows. Prior to this help windows would remain open. Clicking on multiple help icons/buttons left help windows allover the screen, especially on Job Template page. 2013-07-22 18:42:33 -04:00
chouseknecht
2bb77dd2ad Finally removing controllers/JobEvents.old 2013-07-22 17:17:34 -04:00