231 Commits

Author SHA1 Message Date
Matthew Jones
259e48df3e Add survey bits to summary fields on job templates.... change "title" to
"name" on survey metadata.
2014-09-22 11:11:18 -04:00
Matthew Jones
28e7fda956 Make job relaunch dispatch csrf exempt 2014-09-12 11:10:52 -04:00
Chris Church
1128c55cc3 Fixes https://trello.com/c/gZw3WBxA - Make sure job callback view is csrf exempt. 2014-09-11 22:58:47 -04:00
Chris Church
e427234aec Implements https://trello.com/c/bEMQtVjz - API/UI changes to support su username/password. Adds force_handlers, skip_tasks and start_at_task options to jobs, only exposed via API. 2014-09-11 17:34:38 -04:00
Luke Sneeringer
98ae1a7858 Corrected JobStartCancel Test. 2014-09-11 09:02:41 -05:00
Luke Sneeringer
73b058bcab Remove MIDDLEWARE_CLASSES from UI test. 2014-09-10 15:12:17 -05:00
Luke Sneeringer
3267a988f8 Shift Django to 1.6.x (>= 1.6.7). 2014-09-10 12:17:35 -05:00
Matthew Jones
75cca21525 Survey mode validation when launching job templates 2014-09-09 15:08:49 -04:00
Matthew Jones
514cd4a1db Initial api side implementation of the survey spec 2014-09-09 11:08:40 -04:00
Matthew Jones
b5763f078d Add relaunch capability to a job. fill in related links for various serializers 2014-09-05 14:02:55 -04:00
Matthew Jones
58b71ca9f9 Implement /launch endpoint on job template
Partial implementation of:

https://trello.com/c/7uXHs7ze/14-require-admin-to-be-able-to-run-a-job-without-a-job-template
2014-09-04 13:26:00 -04:00
Matthew Jones
0f67f6d57c Fix an issue where we were incorrectly trying to deserialize variables
contained in the inventory activity stream change reported in:

https://trello.com/c/5eIrrOvY
2014-08-21 13:13:01 -04:00
Matthew Jones
046561ecaa add counter to jobevent object sourced from callback ansible plugin 2014-08-19 15:50:41 -04:00
Matthew Jones
e0526a09e0 Fixes an issue where we could reference a collections.OrderedDict on py2.6 where it's not available. Switching to the vendored ordereddict module 2014-08-13 13:20:46 -04:00
Luke Sneeringer
7721a52584 Make schedules accept gce/vmware/wa credentials. 2014-08-13 12:00:42 -04:00
Chris Church
b3aac6bb9e Update status choices for projects, inventory sources and job templates to only return options applicable to the specific object type. 2014-08-13 00:11:57 -04:00
Chris Church
b61eae4bac Updated API docs to reflect new features in 2.0. 2014-08-12 23:34:18 -04:00
Matthew Jones
28552d8b4b Add config POST documentation details 2014-08-11 13:27:07 -04:00
Matthew Jones
04eeffe2a7 Make sure we clear owned-credentials when we delete a user 2014-08-11 10:48:49 -04:00
Luke Sneeringer
6747d0690a Suppress warnings on CentOS when installing gmp
...and other warnings.

https://trello.com/c/heqXqTNM/187-centos-6-5-gmp-error-during-run-requires-setup-playbook-improvements
2014-08-08 11:38:33 -05:00
Chris Church
2c40209e30 Remove auth checks for /api/ and /api/v1/ to fix auth errors in UI after logging into munin. 2014-08-07 16:49:23 -04:00
Matthew Jones
bb485c99fe Make sure job starts follow rbac 2014-08-06 11:47:13 -04:00
Matthew Jones
587fb35b59 Allowing posting a new license to /api/v1/config by superusers 2014-08-04 15:39:02 -04:00
Matthew Jones
445b1b194e Hide the license key if the user isn't a super user 2014-08-04 14:58:23 -04:00
Luke Sneeringer
95567ff004 [in progress] Azure support. 2014-07-28 13:22:58 -05:00
Luke Sneeringer
a05aac8a50 Add host and project to the credential serializer. 2014-07-25 11:12:12 -05:00
Luke Sneeringer
dd79ba8de7 Beginning PEM file support for GCE. 2014-07-25 11:12:11 -05:00
Matthew Jones
d6bfdc8560 Add a little more info to the documentation for the job_tasks endpoint
to clarify what the id being filtered is
2014-07-23 11:52:40 -04:00
Chris Church
48afe188b2 Fix to return hosts without a group in the 'all' group from inventory script view. 2014-07-18 13:28:23 -04:00
Matthew Jones
3924c0d867 Update endpoint documentation names for job plays and tasks 2014-07-16 15:25:54 -04:00
Matthew Jones
9621a9699f Add some related data to job event aggregates 2014-07-16 15:23:47 -04:00
Matthew Jones
985cba94ef Update documentation for job_plays and job_tasks endpoints 2014-07-16 15:15:29 -04:00
Matthew Jones
a7a092f30a Count the actual events instead of the records returned from the queryset 2014-07-16 14:24:47 -04:00
Matthew Jones
ba44491bf0 Fix up pagination tests by updating return assumptions from decorated function 2014-07-16 13:34:37 -04:00
Matthew Jones
364e185412 Fix up how the pager view works and how we return errors from some views
so that we can propogate non 200 statuses
2014-07-16 12:29:36 -04:00
Matthew Jones
9f7763ee9f Add options information and linkage for dashboard views 2014-07-15 16:20:28 -04:00
Matthew Jones
91f26c294a Use utcnow() when filtering jobs for dashboard display 2014-07-15 10:56:32 -04:00
Matthew Jones
6ee61d6c72 Make it to where we can track JobHostSummary objects for hosts that don't necessarily exist in inventory 2014-07-14 15:34:46 -04:00
Matthew Jones
f93e60979f Add a host_name field to JobHostSummary and migrate to it, so we have at
least that information in job data if the host has been removed
2014-07-11 16:03:14 -04:00
Matthew Jones
6e9becb4b8 Implement icontains filter on job_plays and job_tasks 2014-07-11 15:10:30 -04:00
Chris Church
48906416ac Remove refresh_inventory flag for callbacks; make it the default behavior instead. 2014-07-08 15:44:02 -04:00
Matthew Jones
54799c57e6 Fix an issue filtering job_type for dashboard graphs 2014-07-08 11:38:52 -04:00
Matthew Jones
a36c43bd90 Split out dashboard graphs onto two endpoints, support actual query
parameters related to job type and implement per-inventory source
success/failed breakdowns
2014-07-08 11:07:40 -04:00
Matthew Jones
1590ce1762 Work around a bug in django 1.4 and 1.5 for qsstats that would not allow
it to work with USE_TZ = True
2014-07-08 10:24:55 -04:00
Matthew Jones
854e31e218 Adding some graph data, will be splitting this out in the near future 2014-07-07 14:02:02 -04:00
Matthew Jones
a9b0faf979 Fix a bug where we would clear the use timezone directive for the rest of the life of the apache process 2014-07-07 13:09:26 -04:00
Chris Church
6813a082f0 Add refresh_inventory flag for job_template callback to refresh inventory before trying to find a matching host. 2014-07-03 15:59:56 -04:00
Matthew Jones
f39939b152 Adding some dashboard time-series graphs and new qsstats vendored dependency 2014-07-02 09:26:33 -05:00
Matthew Jones
9da4b8f336 Add unreachable counts to job tasks endpoint 2014-06-30 16:01:52 -05:00
Matthew Jones
d4ef57bab6 Add absolute end value for limited json stdout view 2014-06-26 11:21:03 -04:00