Commit Graph
100 Commits
Author SHA1 Message Date
Chris Church 5e484b2503 Update where host_name field is set on job events. 2014-05-11 23:43:40 -04:00
Chris Church 8154edf00c AC-1262 Fix broken job template test. 2014-05-11 23:07:00 -04:00
Chris Church fcdcf8e988 AC-1262 Add vars_prompt_on_launch field to job template. 2014-05-11 23:03:46 -04:00
Chris Church a9672294c4 Workaround possible ansible bug so unit tests pass for async tasks.
Conflicts:
	awx/main/tests/tasks.py
2014-05-11 23:03:20 -04:00
Chris Church 78b5378b57 AC-1235 Speed up JS for inventory script view in browsable API. 2014-05-08 11:37:29 -04:00
Chris Church 29349d0a5a Disable socketio notifications for unit tests. 2014-04-19 02:12:33 -04:00
Chris Church a49c627e53 AC-504 Migration to add roles to existing job events. 2014-04-16 23:54:03 -04:00
Chris Church ac2cd63ab5 AC-1201 Fix UnicodeEncodeError when validating hostname:port containing unicode. 2014-04-16 23:05:57 -04:00
Chris Church e753260087 AC-588 Match cloud hosts by unique instance_id instead of name when running cloud inventory sync. 2014-04-16 03:00:33 -04:00
Chris Church 7bfe0f9583 AC-1192 Added special tower extra_vars when running jobs. 2014-04-15 18:42:39 -04:00
Chris Church 130d1f071f Return URL to new job created from job template callback. 2014-04-15 15:41:49 -04:00
Chris Church 7eed13cca4 AC-448 Add support for mapping LDAP users to teams based on LDAP group membership. 2014-04-15 14:22:45 -04:00
Chris Church e8b0d7451e AC-1182 Handle a schedule rrule that results in zero occurrences. 2014-04-15 13:24:06 -04:00
Chris Church 2546cbdbb6 AC-504 Capture role when available for job events. 2014-04-15 00:22:57 -04:00
Chris Church 1d417fe573 AC-1191 Fix limit parameter on callback jobs to intersect with any limit specified on the job template. 2014-04-14 23:40:06 -04:00
Chris Church 55da67fa91 AC-1181 Fixed job serializer to copy default name/description from job template. 2014-04-14 23:09:02 -04:00
Chris Church e70df9bf0f Updated version to 2.0.0. 2014-04-09 00:12:33 -04:00
Chris Church 1283a78e09 AC-1134 Updated rax/ec2 inventory scripts from ansible. Added ability to filter groups/hosts by regular expression and exclude empty groups, so that Tower can exclude RAX/EC2 instance ID groups and EC2 RDS hosts/groups. 2014-04-08 23:50:57 -04:00
Chris Church 59dc2a2cb8 AC-1158 Fix project to set delete on next update. 2014-04-08 15:41:40 -04:00
Chris Church 9b33057042 AC-1122 Fixed inventory source name (and therefore inventory update name) to pull from group/inventory name. 2014-04-03 14:19:48 -04:00
Chris Church 9a7d77ffe3 AC-1121 Renamed job_type to unified_job_type on summary fields for schedules. 2014-04-03 13:42:01 -04:00
Chris Church 6fb16375a1 Change markdown for rrule examples for browsable API help. 2014-04-03 13:27:10 -04:00
Chris Church 2c319cc986 Update title for browsabl API to Ansible Tower, return dated version for development/nightly builds. 2014-04-02 00:16:48 -04:00
Chris Church 3aa517154e Get unit tests to pass with created_by changes. 2014-04-01 22:42:16 -04:00
Chris Church c453c26124 Fix previous change for determining when to use ssh-agent. 2014-04-01 21:52:53 -04:00
Chris Church 118ddf97f6 Get created_by and modified_by updating automatically. 2014-04-01 21:27:32 -04:00
Chris Church d632aa0af9 Only show editable fields in the browsable API raw data form on a detail view. 2014-04-01 21:10:16 -04:00
Chris Church 0b3d056c16 Always use JSON renderer for OPTIONS requests in browsable API, override default renderer. 2014-04-01 20:51:15 -04:00
Chris Church 762e8656c5 Use ssh-agent for encrypted ssh_key_data even when ssh_key_unlock is empty. 2014-04-01 20:35:36 -04:00
Chris Church 86599cf1e3 Add API resource for unified job stdout with HTML output of ANSI color codes. 2014-04-01 20:15:43 -04:00
Chris Church 658581cce0 AC-1116 Support for deleting project/inventory updates. 2014-04-01 17:15:41 -04:00
Chris Church 5f2356a4fd AC-1040 Change type to job_type when unified_job_template is included in summary_fields. 2014-04-01 16:49:50 -04:00
Chris Church 9479068cda AC-1114 Mark schedules inactive when their parent unified job template is marked inactive. 2014-04-01 16:17:29 -04:00
Chris Church 1c649a0752 AC-1108 Downgrade django-jenkins to get unit tests passing. Fix activity stream tests to not assume PK is always 1. 2014-04-01 14:56:37 -04:00
Chris Church 008ec8f86e AC-601 Add groups/hosts collections to inventory sources, add inventory sources collections to groups/hosts to indicate which inventory source(s) have created/updated the given groups/hosts. Prevent setting an explicit inventory source for a group that is being managed by another parent with cloud inventory source. 2014-03-31 19:26:03 -04:00
Chris Church d7f31f9777 Fix edge case in inventory import that would cause a group to become its own parent. 2014-03-31 17:37:41 -04:00
Chris Church 47218c17e4 AC-1040 Added progress output for unified jobs data migration. 2014-03-31 16:26:29 -04:00
Chris Church 67b8f57518 AC-1040 Add some output while running large unified jobs migration. 2014-03-31 16:26:29 -04:00
Chris Church 8901cd31e7 Install setuptools/Django development packages separately before installing the others. 2014-03-31 14:08:14 -04:00
Chris Church 3219700d9d AC-1040 Update type choice verbose names. 2014-03-31 13:30:51 -04:00
Chris Church 56f8d6748b Updated inventory plugins from ansible, updated all third party packages in awx/lib/site-packages to latest versions, minor serializer fixes after package upgrades. 2014-03-31 13:26:00 -04:00
Chris Church 2eeecb01a7 AC-1040 Updated type choice names for unified job subclasses. 2014-03-31 11:34:12 -04:00
Chris Church e1d3da731e AC-1040 Model cleanup/refactor, add and use job_explanation field. 2014-03-30 22:57:45 -04:00
Chris Church e5054eeb65 AC-1040 Support ordering by type field. 2014-03-30 19:52:52 -04:00
Chris Church fe5d154d76 AC-1040 Exposed list of choices for type field. 2014-03-29 14:34:22 -04:00
Chris Church 35e4bd477c AC-1040 Cleanup old code in tasks, combine methods from unified job subclasses into base classes. 2014-03-28 22:07:24 -04:00
Chris Church 352197c5d2 Removed admin support (no longer used or maintained). 2014-03-28 22:04:26 -04:00
Chris Church 7754f475ad AC-1097 Fixed validation of unique name on polymorphic models. 2014-03-28 18:18:31 -04:00
Chris Church 558f7ef2eb AC-465 Removed settings.py copies that are no longer used in packaging. 2014-03-28 16:53:14 -04:00
Chris Church 52ab418abb AC-1040 Unified job template and unified job views. 2014-03-28 01:25:25 -04:00
Chris Church ce2ae2b945 AC-1071 Removed ssh_key_path option, only need to be able to accept PEM key format. 2014-03-27 15:55:50 -04:00
Chris Church d8383a4d69 AC-1076 Exposed scm_update_cache_timeout for projects, added needs_update_on_launch property to project and inventory source models. 2014-03-26 16:40:55 -04:00
Chris Church 702e575ecf Return elapsed as number instead of string for unified job subclasses. 2014-03-26 16:18:47 -04:00
Chris Church bfb0159083 AC-1071 Moved credential model to its own file. Added API support and tests for ssh_key_path field.
AC-1095 Added validation for SSH private keys.
2014-03-26 16:06:02 -04:00
Chris Church ceba67fcf0 AC-982 Disable activity stream for inventory import by default. 2014-03-26 00:12:13 -04:00
Chris Church 21c8126838 AC-1040 Use new method in inventory import to create inventory update from inventory source. 2014-03-26 00:12:13 -04:00
Chris Church 0b050466c5 AC-1077 Sort playbooks alphabetically (case-insensitive). 2014-03-25 23:06:27 -04:00
Chris Church ac0927f430 AC-1060 Add API support for vault password. 2014-03-25 22:54:14 -04:00
Chris Church 8ad72426b4 AC-1040 Work on unified job serializers. 2014-03-25 22:04:37 -04:00
Chris Church 62a74f9c84 AC-1096 Fixed typo for project current_update. 2014-03-25 19:49:58 -04:00
Chris Church 6e05e39c09 AC-1040 Another Python2.6 fix. 2014-03-25 17:35:01 -04:00
Chris Church f73c352f0d AC-1040 Added inventory_source back to summary fields. 2014-03-25 17:35:00 -04:00
Chris Church 8e841d8c16 AC-1040 Update view properties to indicate version when they were added. 2014-03-25 14:57:11 -04:00
Chris Church c677503d8d AC-1040 Fix filtering to work again with __regex suffix. 2014-03-25 14:44:45 -04:00
Chris Church 42e9451742 AC-1040 Fix inventory tree view. 2014-03-25 14:20:37 -04:00
Chris Church 6504a8ae40 AC-1040 Fix broken dashboard view. Add backwards-compatible support for old project and inventory source filters. 2014-03-25 13:43:18 -04:00
Chris Church 5d6dbc6e6b AC-1040 Make it work on Python 2.6. 🐍 2014-03-25 13:12:46 -04:00
Chris Church 3c04cc73b0 AC-1040 Add back a few attributes for backwards-compatibility. 2014-03-25 11:51:21 -04:00
Chris Church 24b587c877 Merge branch 'master' of github.com:ansible/ansible-commander 2014-03-25 11:32:47 -04:00
Chris Church bb47c300f6 Merge branch 'master' of github.com:ansible/ansible-commander 2014-03-25 11:07:37 -04:00
Chris Church 296e87a632 AC-1040 Removed extra model definitions used for generating migrations. 2014-03-25 09:38:25 -04:00
Chris Church 871b89ab28 Merge branch 'unified-jobs' of github.com:ansible/ansible-commander into unified-jobs
Conflicts:
	awx/main/models/__init__.py
	awx/main/models/base.py
	awx/main/models/inventory.py
	awx/main/models/jobs.py
	awx/main/models/projects.py
	awx/main/models/unified_jobs.py
	awx/main/tests/base.py
2014-03-24 18:37:44 -04:00
Chris Church 02af35dffd AC-1040 Updates to get unit tests to pass. 2014-03-24 18:13:53 -04:00
Chris Church 1a7dc83479 AC-1040 Inserted migration 34 from master, defined additional model changes needed, regenerated previous migrations 34/35/36/37 as 35/36/37/38. 2014-03-24 17:11:09 -04:00
Chris Church e6f3032b94 AC-1040 Give unified jobs a copy of config from unified job templates to capture the settings as they were when the job is run. 2014-03-24 17:11:09 -04:00
Chris Church fba3b1e09d AC-1040 Fix migrations to work when creating an empty database for testing. 2014-03-24 17:04:27 -04:00
Chris Church 691942cac3 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-24 17:04:26 -04:00
Chris Church 0ee5c07738 AC-1040 Update jobs models and migrations (work in progress). 2014-03-24 17:02:43 -04:00
Chris Church b631f24e5b AC-1040 Add 'type' attribute as serializer field, add 'types' attribute to options response. 2014-03-24 16:49:30 -04:00
Chris Church e957de2016 AC-1040 Add django-polymorphic as prerequisite for moving toward unified jobs. 2014-03-24 16:49:30 -04:00
Chris Church 99c62f1261 AC-1040 Inserted migration 34 from master, defined additional model changes needed, regenerated previous migrations 34/35/36/37 as 35/36/37/38. 2014-03-24 16:09:49 -04:00
Chris Church 2cb3f31b01 AC-1040 Give unified jobs a copy of config from unified job templates to capture the settings as they were when the job is run. 2014-03-21 00:05:36 -04:00
Chris Church 52b8792058 AC-1040 Fix migrations to work when creating an empty database for testing. 2014-03-20 21:46:16 -04:00
Chris Church 54c533d410 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-20 19:16:58 -04:00
Chris Church b970bf54fa AC-1040 Update jobs models and migrations (work in progress). 2014-03-19 16:37:01 -04:00
Chris Church 0587583f19 Allow inventory import to work with demo license. 2014-03-14 12:32:51 -04:00
Chris Church 79e1588626 AC-1040 Add 'type' attribute as serializer field, add 'types' attribute to options response. 2014-03-13 00:51:59 -04:00
Chris Church c899a675a9 AC-1040 Add django-polymorphic as prerequisite for moving toward unified jobs. 2014-03-13 00:51:59 -04:00
Chris Church 16d9af6945 Updated browseable API footer text/links. 2014-02-27 09:25:46 -05:00
Chris Church 52282cba50 Update ansible documentation links in browseable API help. 2014-02-27 09:08:44 -05:00
Chris Church 316f34f3f7 AC-473 Quote all parameters passed to source control tasks. 2014-02-26 23:12:38 -05:00
Chris Church 8e61d17cb4 Updated zeromq callback to receive callback port via environment variable. Changed production, development and unit tests to all use different ports/queues for the callback. 2014-02-26 14:11:59 -05:00
Chris Church 0462bb3f3f AC-1061 Removed my test exception raised in the inventory script. 2014-02-25 18:49:30 -05:00
Chris Church a18b9e2270 AC-1061 Fix inventory script to return dict with failed flag when there is an error instead of an empty dict so that ansible-playbook will propagate the error message. 2014-02-25 17:11:04 -05:00
Chris Church 8c9a98befc AC-406 Added support for importing inventory host patterns/ranges from INI files. 2014-02-22 16:23:11 -05:00
Chris Church 3a5e2f4f1e AC-996 Don't try to use admin template since admin is disabled. 2014-02-11 15:19:51 -05:00
Chris Church cb8b58b0ae AC-1015 Added retry count for saving to database, minor retry refactor for publishing job events. 2014-02-09 13:51:40 -05:00
Chris Church a3ee83258c Re-enable debug prints from saving job events. 2014-02-09 06:07:00 -05:00
Chris Church a4ae6567dc AC-1015 Update queue names so that job events are only received by the right save job events task. Add database retry to save job events task. 2014-02-09 05:58:33 -05:00
Chris Church 818f235f72 AC-507 Allow forcefully marking a job canceled if we can detect it isn't running via Celery, make sure a job canceled before it is started doesn't attempt to run at all, raise an exception for canceled jobs to interrupt the task chain. 2014-02-09 01:50:15 -05:00