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
2423c9a63c
AC-1013 Updated API docs to indicate that an auth token is tied to remote address and user agent.
2014-02-08 02:22:39 -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
Chris Church
11d8387120
AC-990 Make job event filtering by host work even when not capturing hosts M2M. Also fix unit tests to skip checking hosts M2M.
2014-02-06 15:07:42 -05:00
Matthew Jones
9b67b575f1
Fix issue AC-1002, make sure we return a count of the number of inventories with active failed jobs
2014-02-03 06:11:51 -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
bb0a2887d5
Fix AC-998, Don't set created_by on the object when updating the object (only when creating). activity stream will save modifications and who made them
2014-01-31 07:00:21 -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
Chris Church
27fb54b2a7
AC-984 Prevent signal handlers from being run unnecessarily when deleting inventory, remove unnecessary extra queries, use update_fields when possible.
2014-01-27 18:37:51 -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
Chris Church
b6543be0cf
AC-939 Update browsable REST API branding to Tower.
2014-01-23 05:22:55 -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
447043eae5
Add more of the expected details to activity stream related component lists
2013-12-16 06:32:37 -05:00
Matthew Jones
70fe75603e
Improve rbac query performance for activity stream
2013-12-16 05:05:25 -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
Matthew Jones
3d7385bd18
Pluralize teams... fixes AC-738
2013-12-02 16:48:02 -05:00
Chris Church
112fe089d9
AC-728 Added chain__ filter prefix.
2013-11-26 13:24:45 -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
8df402d21e
Add external source inventory count to inventories dashboard
2013-11-22 14:02:46 -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
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