45 Commits

Author SHA1 Message Date
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
62a74f9c84 AC-1096 Fixed typo for project current_update. 2014-03-25 19:49:58 -04:00
Chris Church
f73c352f0d AC-1040 Added inventory_source back to summary fields. 2014-03-25 17:35:00 -04:00
Chris Church
42e9451742 AC-1040 Fix inventory tree view. 2014-03-25 14:20:37 -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
691942cac3 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-24 17:04:26 -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
Matthew Jones
e4d860e3dc Fix issue AC-977 by including job_template in summary fields for job
activity stream events
2014-02-14 09:48:34 -05:00
Chris Church
455ed2bc63 Don't return result_stdout for job list, only for job detail; significantly improves speed to refresh jobs list. 2014-02-07 16:00:26 -05:00
Chris Church
d6a457397a AC-1027 Removed stupid trailing comma I overlooked. 2014-02-07 13:53:18 -05:00
Matthew Jones
fb1bff54ca Fix an issue where we were checking object existence
In the new to_native methods on serializers
2014-02-07 05:56:26 -05:00
Chris Church
9807477944 AC-905 Work in progress on better filtering of inactive/deleted objects. 2014-02-06 16:52:09 -05:00
Matthew Jones
a21332a2d4 Fix AC-969, Convert variables element in changes dictionary from json representation 2014-01-31 10:59:06 -05:00
Matthew Jones
77e77d905a Fix AC-1004, Instead of using serializers.Field() which will force a repr() of the object... use serializers.PrimaryKeyField() which will use the expected field type for the response 2014-01-31 10:34:02 -05:00
Matthew Jones
867c22c36c Fix AC-981, mark last_job* fields as read only on the host serializer so activity stream will ignore them when processing events 2014-01-31 09:04:07 -05:00
Matthew Jones
380f6c6d6f Fix AC-1001, hide BROKER_URL from the job_env section of task api data 2014-01-31 05:17:26 -05:00
Matthew Jones
3d228b2955 Fix a bug where we would treat the new model value like the old one when comparing activity stream changes 2014-01-23 20:49:50 -05:00
Matthew Jones
a0affa90d4 Change label on recent jobs for host to use 'status' 2014-01-16 12:24:09 -05:00
Matthew Jones
79f9953e56 Add ids to summary fields and actor for AC-673 2014-01-16 10:17:56 -05:00
Matthew Jones
6840626c24 Implement AC-929... add recent jobs to host detail 2014-01-15 11:14:37 -05:00
Chris Church
2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Matthew Jones
0b159e0ab4 Fix the project related activity_stream which was mistakenly called activity_list 2013-12-11 12:12:52 -05:00
Matthew Jones
61059fa1a4 Work to complete AC-673, mass refactoring of the activity stream. Some work towards AC-664/662 but will complete on those issues. This also fixes issue AC-743 (Adding help text for OPTIONS requests) and AC-675 (updates where active changes to False will now be treated as deletes) 2013-12-10 16:08:35 -05:00
Chris Church
f29809a807 AC-655 Add select_related to reduce number of queries for inventory views. 2013-11-25 15:43:56 -05:00
Matthew Jones
5c077e4370 Adding the migration and other smaller fixes so the serializer can read the right stdout property 2013-11-21 14:59:14 -05:00
Matthew Jones
9444c1185b Switch from using a interstitial serializer to defining a read property on the CommonTask model 2013-11-21 14:21:00 -05:00
Matthew Jones
bf07c55273 Initial task status to file implementation 2013-11-21 13:53:59 -05:00
Chris Church
4f46ad63db AC-688 Fixed error adding team credential, added test. 2013-11-20 16:49:01 -05:00
Chris Church
8bf198f7ed AC-687 Add ec2/rax region choices to inventory source options response, add validation for source_regions. 2013-11-20 15:20:01 -05:00
Matthew Jones
66d6e2fe43 Add more verification when deserializing json changes field on activity stream 2013-11-19 10:48:05 -05:00
Matthew Jones
7fda453720 Fix AC-648... make sure the changes field is not represented using nested json 2013-11-19 10:45:13 -05:00
Chris Church
11d2f76546 AC-537 Add remaining API/field validation for credentials and other objects using credentials.
AC-630 Added validation of cloud_credential kind on job template and job, set environment variables based on cloud credential.
AC-610 Require a credential for a cloud inventory source.
AC-457 Do not set password when using hg over ssh.
2013-11-19 02:36:36 -05:00
Matthew Jones
ba1a113ec3 Merge remote-tracking branch 'origin/master' into auditlog
* origin/master:
  AC-637 Credential now requires scm_key_unlock when saving encrypted ssh_key_data.
  AC-626 Removed support for prompting for password and ssh_key_unlock for scm/cloud credentials.
  AC-613 Change rackspace to rax for inventory source field value.
  AC-613 Change rackspace to rax for inventory source field value.
  AC-624 Fix options docs for project update view.
  AC-632 Fix escaping for ansible-playbook command line when also using ssh-agent.
  Update CONTRIBUTING.md
  AC-630 Expose cloud_credentials field for job template and job.
  AC-641 Added pattern to respond to key unlock prompt for project update.
  Updated all vendored third-party packages.
  AC-636 Fix existing projects with scm_type=null to always use empty string. Update validation and tests to ensure None gets automatically coerced to an empty string on saving a project.
  AC-633 js error fixed.
  AC-633 fixed a sort of unrelated js error. The capitalize filter directive attempted to act on a 'null' input error. Added a test to ignore empty/null input.
  AC-633 Fixed 'hast' typo.
  AC-617 changed callback generation icon to a magic wand, which will hopefully satiate jlaska.
  AC-627 Fixed password/ssh_password collision in Credentials.js form. This was also fixed in auditlog branch.
  AC-628 applied credential changes made in add controller to edit controller so that credential/cloud_credential lookups display context-aware  credential lists.
  Moved credentials in tab order. It now follows teams and precedes projects. Based on a suggestion from jlaska.
  AC-609 Fixed issue with help button not displaying correctly on 'select' pages where user can pick an existing object (i.e. users, credentials, etc) to add to a parent object.

Conflicts:
	awx/api/serializers.py
	awx/main/migrations/0025_v14_changes.py
2013-11-18 09:18:37 -05:00
Chris Church
ccd90ffb78 AC-637 Credential now requires scm_key_unlock when saving encrypted ssh_key_data. 2013-11-16 21:25:41 -05:00
Chris Church
17899eed3a AC-630 Expose cloud_credentials field for job template and job. 2013-11-15 01:54:42 -05:00
Matthew Jones
8448c5b4d5 Add a field to the activity stream model that more closely identifies the api object type for aid in api querying 2013-11-14 23:24:00 -05:00
Chris Church
cbd6132d4b AC-636 Fix existing projects with scm_type=null to always use empty string. Update validation and tests to ensure None gets automatically coerced to an empty string on saving a project. 2013-11-14 17:14:10 -05:00
Matthew Jones
639b87d55a Add some initial activity stream tests 2013-11-14 16:50:21 -05:00
Matthew Jones
6d86ca4b6f Implement AC-634 - Additional bits 2013-11-14 13:28:49 -05:00
Matthew Jones
e2b657c72c Fix a bug passing args to object 2 of the activitystream serializer 2013-11-13 13:35:57 -05:00
Matthew Jones
1a27c75de4 Make sure we show relative object information in the api 2013-11-12 17:01:16 -05:00
Matthew Jones
50fee99580 Integrate a simple api list and detail display 2013-11-12 17:01:16 -05:00
Chris Church
98883e771f Moved API code into separate Django app. 2013-11-04 15:44:49 -05:00