Commit Graph
100 Commits
Author SHA1 Message Date
Chris Church bb484a7520 Add /api/v1/inventories/N/inventory_sources/ API resouce. 2013-10-02 16:15:50 -04:00
Chris Church 246503440a Fix for broken task-related tests. 2013-09-30 22:29:10 -04:00
Chris Church 17c350d7e1 AC-505. Initial working task/tests for cloud inventory import. 2013-09-30 22:08:05 -04:00
Chris Church f7256ca343 Fix browseable API errors with updated version of REST framework. 2013-09-29 23:04:15 -04:00
Chris Church 7399f7c943 One more attempt at making Jenkins and awx-bot happy. 2013-09-29 22:06:26 -04:00
Chris Church ee9d24002a Update astroid package to get Jenkins to pass unit tests. 2013-09-29 21:58:31 -04:00
Chris Church 5768f544ec Fixes to get tests to pass after updating vendored packages. 2013-09-29 21:37:09 -04:00
Chris Church e0a94cbf32 AC-505 Add vendored copies of ec2 and rax inventory scripts from Ansible (for now). Add vendored versions of boto and pyrax and all their dependencies, updated all vendored packages to latest versions. 2013-09-29 20:36:46 -04:00
Chris Church fe42862294 AC-286. Added potential_children resource for groups. 2013-09-28 16:45:44 -04:00
Chris Church b0e6cf898f AC-414 Added hosts_with_active_failures field for inventory and group. AC-528 Added job_template_id and job_template_name to job info in summary fields. 2013-09-28 16:14:38 -04:00
Chris Church 8d3dd76d9f AC-506. API docs for project/inventory updates. 2013-09-28 16:12:27 -04:00
Chris Church 69ac7404c3 Fix for failing project update test over SSH. 2013-09-26 16:04:14 -04:00
Chris Church b7d907ed49 AC-505 Initial inventory import models and API support. 2013-09-26 15:54:34 -04:00
Chris Church 879936ab37 AC-482. Fix missing import for PyYAML. 2013-09-25 14:47:52 -04:00
Chris Church 7a2f5811e3 Update requirements to support CentOS/Python2.6. 2013-09-24 23:13:27 -04:00
Chris Church 981819fdc3 Remove readline from dev requirements for Jenkins unit tests to pass (hopefully). 2013-09-24 22:51:56 -04:00
Chris Church e85cf35ed9 Fixes AC-479. Make job_args fields text instead of varchar. 2013-09-24 22:13:36 -04:00
Chris Church 9fc46e6292 AC-474. Updates to contributing doc, along with related Makefile, testing and settings changes. 2013-09-24 21:41:00 -04:00
Chris Church 4b5620806c Fixes AC-472. Workaround for django-taggit breaking dumpdata command. 2013-09-13 16:22:20 -04:00
Chris Church ac7c300948 Fixes AC-470. Disable host name validation for now. 2013-09-13 12:29:34 -04:00
Chris Church c557ba6681 Updated REST API footer. Updated style for admin and error pages. 2013-09-13 09:37:10 -04:00
Chris Church d44722e4ae AC-464. Fix to pass correct username when using svn+ssh. 2013-09-12 16:21:39 -04:00
Chris Church 00e3787f5a AC-454. Update SCM URL validation and error messages, check for special github/bitbucket URLs. 2013-09-12 16:02:56 -04:00
Chris Church 95934d9b67 Changed project updates to use -v instead of -vvv. 2013-09-12 13:41:04 -04:00
Chris Church ef5835d9d0 AC-459. Remove rsync:// and file:// from allowed URL schemes. 2013-09-12 11:23:20 -04:00
Chris Church e3f64c5860 Tox updates. 2013-09-12 10:10:06 -04:00
Chris Church 1c97cb202e Skip SCM URL validation for projects without SCM. 2013-09-12 03:40:54 -04:00
Chris Church c7240dfd83 AC-432. Handle responding to SSH password prompt. 2013-09-12 03:26:38 -04:00
Chris Church 9ea649050a AC-432, AC-437. Updated SCM URL validation, add additional tests for SSH URLs. 2013-09-12 03:07:27 -04:00
Chris Church e42d408750 AC-432, AC-437. Update SCM URL handling and testing, add tests for local file repository. 2013-09-12 03:07:26 -04:00
Chris Church 5ca766c91e Fixed address in browsable API footer. 2013-09-12 03:07:26 -04:00
Chris Church 733ead9ab2 AC-437. Attempt to automatically cancel project updates and jobs that are obviously stuck. 2013-09-12 03:07:26 -04:00
Chris Church 505b2b9998 AC-435. Fix JS error for making LDAP-managed fields readonly. 2013-09-10 13:58:52 -04:00
Chris Church 75aeb0cb84 AC-436. Fixed bug introduced in changes to save project. 2013-09-10 13:20:04 -04:00
Chris Church 661fc5b0f2 AC-156. Update to default LDAP settings. 2013-09-10 04:40:33 -04:00
Chris Church c0ea2527ec AC-156. Expose user_ldap_fields via API config to indicate which fields should not be editableon LDAP users. Add ldap_dn attribute to user record, prevent changing any LDAP-managed fields on LDAP users. 2013-09-10 03:28:59 -04:00
Chris Church eff8a6426a AC-430. Add project status and last_updated as database fields for filtering/sorting. 2013-09-10 02:06:17 -04:00
Chris Church 27948a8dd9 AC-431. Fixed misspelled project status. 2013-09-10 01:13:14 -04:00
Chris Church 3c23e479bf AC-412. Flag playbook_on_stats event as failed when there are dark hosts. 2013-09-10 01:09:50 -04:00
Chris Church cdfc56667a AC-132. Mask passwords in project update args and stdout. 2013-09-09 20:28:11 -04:00
Chris Church 63c9a5b4ac AC-132. Mask passwords in project update args and stdout. 2013-09-09 20:27:28 -04:00
Chris Church f7f12be0ad AC-132. Auto-update a new project using SCM when saved. 2013-09-09 18:54:33 -04:00
Chris Church cad3612a8f AC-156. Implement LDAP organization mapping, update settings files and comments on LDAP configuration. 2013-09-09 17:20:48 -04:00
Chris Church f9a1614730 AC-132. Updates/fixes to get tests to pass. 2013-09-08 23:20:51 -04:00
Chris Church 59423df95d AC-132. Implement scm_update_on_launch and prevent simultaneous updates of associated projects and jobs. 2013-09-08 22:15:07 -04:00
Chris Church 3a56ff7cec Fix previous change that broke getting the ssh_key_data from the job credential. 2013-09-07 20:00:59 -04:00
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 1763d373eb AC-156. Add dependencies for LDAP support. 2013-09-06 17:11:38 -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 8d16485f7f Updated third-party requirements to latest versions. 2013-08-27 23:20:47 -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
Chris Church 89f5182935 Add API doc templates to manifest so they are included in the build. 2013-08-22 14:59:11 -04: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
Chris Church 8ccf4c0a89 Fix typo in development settings. 2013-07-30 22:48:30 -04:00
Chris Church 01d7df3ab2 Added sample script for launching a job via the API. 2013-07-30 22:48:30 -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
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
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
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
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