Commit Graph

223 Commits

Author SHA1 Message Date
Matthew Jones
12ecc46398 Fix a bug where we allowed adding a group as a child of a
deleted/inactive group
2014-05-23 14:27:08 -04:00
Matthew Jones
3d90c6db76 Deref deleted group immediately and then pass off the children and hosts
to be processed in the background.

Get rid of the child relative delete mechanism and merge the old concept
of delete on the /group/n endpoint with our new concept
2014-05-21 16:12:42 -04:00
Matthew Jones
56f9912edb Fix up recursive safe delete rbac and add unit test 2014-05-19 15:02:17 -04:00
Chris Church
b14aa0b55d AC-1235 Improvements to inventory import and computed field performance. 2014-05-18 22:10:12 -04:00
Chris Church
79dcadf155 Capture play name and host pattern separately in job event data. 2014-05-15 18:53:02 -04:00
Chris Church
6d0da4672d AC-1278 Reduced the level of pickiness expressed by inventory_import regarding filenames. 2014-05-15 13:08:48 -04:00
Matthew Jones
c7ed154149 Implement AC-1279, rename vars_prompt_on_launch to ask_variables_on_launch
Conflicts:
	awx/main/models/jobs.py
2014-05-15 10:26:11 -04:00
Matthew Jones
f49805db0b Make sure we recognize when a model changes state from active to inactive and back
Conflicts:
	awx/main/signals.py
2014-05-14 16:04:32 -04:00
Matthew Jones
a4f5b0ae71 Use local memory cache for unit tests 2014-05-14 14:14:52 -04:00
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
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
29349d0a5a Disable socketio notifications for unit tests. 2014-04-19 02:12:33 -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
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
Matthew Jones
064dd6dc08 Fix up unit tests where we no longer allow posting a schedule to an
inventory source that is not a cloud source
2014-04-07 14:18:59 -04:00
Matthew Jones
05613c1bea Make sure we are pulling in the right license class after obfuscation 2014-04-03 17:04:48 -04:00
Matthew Jones
2587fe9f18 Obfuscate the license engine... implements AC-1069 2014-04-03 15:49:14 -04:00
Matthew Jones
711c1824a3 Fix issue AC-1112... disallow multiple dtstart and rrule segments 2014-04-03 13:14:53 -04:00
Matthew Jones
d190aa3001 Wrap up rrule validation for scheduler 2014-04-02 11:44:49 -04:00
Chris Church
3aa517154e Get unit tests to pass with created_by changes. 2014-04-01 22:42:16 -04:00
Chris Church
658581cce0 AC-1116 Support for deleting project/inventory updates. 2014-04-01 17:15:41 -04:00
Matthew Jones
4069a33ab0 Scheduler unit tests 2014-04-01 17:12:46 -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
e1d3da731e AC-1040 Model cleanup/refactor, add and use job_explanation field. 2014-03-30 22:57:45 -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
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
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
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
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
02af35dffd AC-1040 Updates to get unit tests to pass. 2014-03-24 18:13:53 -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
Matthew Jones
d3d84706a4 Need to grab just the first item for the scm test project update 2014-03-19 12:53:11 -04:00
Matthew Jones
e24538865f Revert a project unit test 2014-03-19 12:49:13 -04:00
Matthew Jones
0548126e33 Make sure we are calling signal_start in unit tests 2014-03-19 11:56:30 -04:00
Matthew Jones
77e4d33770 Make sure we are calling signal_start in unit tests 2014-03-19 11:26:22 -04:00
Matthew Jones
14e138a7bd Bypass task runner system in normal job start tests... we'll test it another way so assume we want to just start the job right away 2014-03-19 11:09:14 -04:00