Commit Graph

8926 Commits

Author SHA1 Message Date
Chris Church
663dfa24a2 AC-132 More updates after testing various SCM username/password/key options. 2013-09-07 19:38:27 -04:00
Chris Church
c1e8b3c842 AC-156. Only use configured LDAP authentication when needed for LDAP tests. 2013-09-07 16:42:12 -04:00
Chris Church
916dd713e3 AC-156 Added code and tests to support LDAP authentication (no organization or team mapping yet). 2013-09-07 16:14:46 -04:00
Chris Church
dfc687dfae Implements AC-363. Authentication tokens now expire after a configurable timeout. 2013-09-06 00:36:45 -04:00
Chris Church
60c44bead4 AC-362. Added change permission for user who created a credential. 2013-09-05 11:42:20 -04:00
Chris Church
0c28f202de Implements AC-362. Encrypt passwords for credential and project using AES, don't expose passwords via the API. 2013-09-05 11:29:15 -04:00
Chris Church
2e03a646a5 Fixes AC-402. Fix issues arising from unit tests. 2013-09-05 07:57:49 -04:00
Chris Church
fb8212b063 Implements AC-380. Add validation for host (and group) names. 2013-09-05 02:08:45 -04:00
Chris Church
a3a3e72b32 Fixes AC-390. Project SCM updates should never prompt for sudo password. 2013-09-05 01:27:57 -04:00
Chris Church
72d87fb908 AC-382, AC-352. Added status and last_updated fields for projects API. Various other updates to support projects using SCM. 2013-09-05 01:19:58 -04:00
Chris Church
67ae8effa4 AC-132 Added API support to prompt for SCM passwords when updating a project. 2013-08-30 03:08:24 -04:00
Chris Church
08a29f801a Added cleanup_jobs management command for AC-323. 2013-08-30 00:24:00 -04:00
Chris Church
290768c20d Add import command support for AC-332. Refactored import script to eliminate use of global variables, which breaks tests. 2013-08-29 23:46:38 -04:00
Chris Church
45b7c44c09 Fixes AC-361. Host last_job is updated whenever job is marked inactive or deleted. 2013-08-29 17:15:31 -04:00
Chris Church
27c80c81e0 Fixes AC-376. Set description to empty string when passed as null to the API. 2013-08-29 16:22:19 -04:00
Chris Church
5ce8328230 Fixes AC-334. Don't set failed flag on job events when ignore_errors is True. 2013-08-28 10:21:02 -04:00
Chris Church
92e0beb5cb Fixes AC-346. Allow playbooks with invalid YAML syntax to show up in list of available playbooks. 2013-08-28 09:58:36 -04:00
Chris Church
0129036b40 For AC-332. Added support to inventory script view, inventory script and task engine to include hostvars inline when using Ansible >= 1.3. 2013-08-27 00:09:05 -04:00
Chris Church
2bb5374685 Added inventory tree view for AC-360. 2013-08-26 12:57:41 -04:00
Chris Church
e343c9386d Fix for 500 error when POST data is not a dict. 2013-08-26 11:26:03 -04:00
Chris Church
e661f96054 AC-132 Minor updates after testing via API, notes on remaining items to implement. 2013-08-26 10:31:39 -04:00
Chris Church
ee3ba2c0e1 More work in progress on AC-132. 2013-08-26 10:31:39 -04:00
Chris Church
e594296c9b Fix to maintain Django 1.4 compatibility. 2013-08-26 10:31:39 -04:00
Chris Church
fc68955bad For AC-132. Work in progress on project SCM support. 2013-08-26 10:31:39 -04:00
Tim Gerla
f78eb15e41 fix typo in json import error handling 2013-08-15 08:18:51 -07:00
Tim Gerla
e161efdd67 Fix .ini skipping logic in inventory importer 2013-08-15 08:15:34 -07:00
Chris Church
718b566a03 Fix for filtering using __int on boolean fields. 2013-08-13 20:19:53 -04:00
Chris Church
b73077b2f3 Fix bug from previous commit. 2013-08-08 17:57:33 -04:00
Chris Church
bd5e9e2b6e For AC-331. Update queries to use select_related and prefetch_related to avoid duplicate queries and improve performance. Add all_groups and groups items to summary_fields for hosts. 2013-08-08 17:44:48 -04:00
Chris Church
30d2a4f5c9 For AC-331. Major updates to API filtering to allow negative filtering, use of a list of items with the __in lookup, more flexible boolean/null values, more validation of filter values, and tests. 2013-08-08 15:58:58 -04:00
Chris Church
efbdb67c33 Work on AC-205. Filter job events that are internal as a result of async polling, update event display name for various async job events. 2013-08-07 02:42:33 -04:00
Chris Church
f787ff8251 Work on AC-205. Update display of extra events triggered by async polling. 2013-08-05 00:55:59 -04:00
Chris Church
a4af00da85 Fix for AC-321. Mark hosts and groups inactive when inventory is marked inactive. 2013-08-04 22:56:07 -04:00
Chris Church
49beca2b97 Fix for AC-310. Change how we unattach a group from a parent group when it has no other parents, mark it inactive instead of just removing the relationship. 2013-08-04 22:38:36 -04:00
Chris Church
057e7bad59 Update browsable API built-in documentation to use templates. 2013-08-04 20:46:26 -04:00
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
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
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
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