Commit Graph

137 Commits

Author SHA1 Message Date
Luke Sneeringer
71946d3802 Superuser fix redux. 2014-11-10 08:43:24 -06:00
Matthew Jones
db6a068c4a Make the credential requirement information more consistent 2014-11-09 19:42:21 -05:00
Luke Sneeringer
2925498c4e More complete superuser fix. 2014-11-07 16:23:42 -06:00
Matthew Jones
2258425710 Denote whether a credential is required on the launch endpoint if it was
not provided on the job template
2014-11-07 11:37:37 -05:00
Matthew Jones
202b511f55 Change returned job start id to system_job in the system job template
launch return data
2014-10-30 10:51:22 -04:00
Matthew Jones
7699faae28 Mo' stringent permissions on the system job and system job template endpoints 2014-10-30 10:24:47 -04:00
Matthew Jones
08fc24c9e5 Create data migration for new system job templates and revise endpoints 2014-10-28 15:34:47 -04:00
Matthew Jones
010e55289f Include system job details in root api browser 2014-10-28 14:35:09 -04:00
Luke Sneeringer
b7b92cb995 Only allow superusers to create other superusers. 2014-10-22 16:11:07 -05:00
Luke Sneeringer
08570ef4e9 Add primary and secondary IP output to ping view. 2014-10-20 08:04:18 -05:00
Luke Sneeringer
2166a3788c Adding HA status to ping view. 2014-10-20 08:04:17 -05:00
Luke Sneeringer
e43488467e Add dynamic role in /api/v1/ping/ 2014-10-20 08:04:16 -05:00
Luke Sneeringer
f5b7d500a5 Addition of a /ping/ endpoint to give basic HA info. 2014-10-20 08:04:14 -05:00
Matthew Jones
fbf9a4957e Initial system job implementation 2014-10-14 11:11:17 -04:00
Matthew Jones
983eb43aec Add new to the list of statuses that will be canceled if a job's parent
is removed
2014-10-14 10:12:01 -04:00
Matthew Jones
a7f1202316 Fix spelling error in validation error message 2014-10-10 12:47:54 -04:00
Matthew Jones
62e3b6ad08 Add DELETE to the job template survey spec endpoint 2014-10-09 13:46:03 -04:00
Matthew Jones
681954ab99 Make question_description optional in the survey spec 2014-10-09 09:56:28 -04:00
Matthew Jones
9c81144533 More documentation and validation for job relaunching/template launching 2014-10-07 17:01:12 -04:00
Matthew Jones
6e24131070 Change filtering priority to prevent building a queryset with null
values when examining project activity stream
2014-10-07 16:49:27 -04:00
Matthew Jones
ea36e30190 Cancel any running or pending actions when one of the unified job types
is deleted/marked inactive
2014-10-07 16:34:10 -04:00
Matthew Jones
7430973234 Add validation for survey elements on the api side 2014-10-07 10:56:45 -04:00
Matthew Jones
06c75aeecf Implement API side for custom inventory script support with endpoints
and unit tests
2014-09-30 11:50:50 -04:00
Matthew Jones
ab70539aba Add an indicator to the job template launch GET endpoint to denote when
a survey is enabled
2014-09-29 15:31:34 -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
Luke Sneeringer
98ae1a7858 Corrected JobStartCancel Test. 2014-09-11 09:02:41 -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
Chris Church
b61eae4bac Updated API docs to reflect new features in 2.0. 2014-08-12 23:34:18 -04:00
Matthew Jones
04eeffe2a7 Make sure we clear owned-credentials when we delete a user 2014-08-11 10:48:49 -04: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
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
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
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