Commit Graph

2983 Commits

Author SHA1 Message Date
Matthew Jones
9a46426957 Fix issue AC-708, rework the 'group' structure to report the correct fail counts 2013-11-20 23:56:18 -05:00
Chris Church
4f46ad63db AC-688 Fixed error adding team credential, added test. 2013-11-20 16:49:01 -05:00
Matthew Jones
98cb95b510 Add organizations counts to the api dashboard view 2013-11-20 15:56:31 -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
7929cfedd8 Remove SortedDict, add user, team, credential, and job_template counts as top level dictionaries. Refinement for AC-649 2013-11-20 15:19:53 -05:00
Chris Church
39ad6b0ad1 AC-686 Fix permissions for inventory source to allow org admins and users with write permissions to update. 2013-11-20 13:54:55 -05:00
Matthew Jones
7fa9e3289b Fix RelatedManager exception issue on the dashboard 2013-11-20 13:35:03 -05:00
Matthew Jones
d6cbcde0b4 Wrap up AC-649, provide an api for the dashboard view 2013-11-20 11:37:38 -05:00
Matthew Jones
5a9bf7054c Add the dashboard api view, with a few fields still needing to be filled 2013-11-20 10:54:31 -05:00
Chris Church
b73e792b23 Example code for capturing current user from rest framework. 2013-11-20 00:25:09 -05:00
Chris Church
e4851c6e18 AC-654 Add API support for token auth using X-Auth-Token header in addition to AUthorization header, fixes issue where API requests from the UI are picking up the basic auth from an API session. 2013-11-19 23:37:19 -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
e2e8a7e346 Fix broken tests after removing session authentication. 2013-11-19 15:25:47 -05:00
Matthew Jones
14ac51861e Prevent non-superusers from querying the activity stream 2013-11-19 09:10:14 -05:00
Matthew Jones
be43447903 Removing some unneeded comments from activity stream queryset 2013-11-19 08:03:43 -05:00
Matthew Jones
812aafdfef Implement basic RBAC for the activity stream list, temporarily remove a failing unit test due to sqlite not supporting the distinct query 2013-11-19 10:05:59 -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
621cbb9f66 AC-626 Removed support for prompting for password and ssh_key_unlock for scm/cloud credentials. 2013-11-16 17:59:51 -05:00
Chris Church
29a7e2c75d AC-624 Fix options docs for project update view. 2013-11-16 16:20:54 -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
Matthew Jones
3a02c17d2a Initial backend implementation for AC-25, activity stream/audit love 2013-11-12 17:01:15 -05:00
Chris Church
2b01cc7059 AC-612 Return appropriate status code for server errors. Catch IntegrityError via the API and return a 400 response with error message instead of server error. 2013-11-06 23:44:48 -05:00
Chris Church
98883e771f Moved API code into separate Django app. 2013-11-04 15:44:49 -05:00