Commit Graph

1024 Commits

Author SHA1 Message Date
Matthew Jones
04ec19023f Only consider active schedules for excluding multiple system job schedules 2014-11-13 13:03:47 -05:00
Chris Church
a9c6dadc1a Remove extra print statements, minor contributing updates. 2014-11-11 18:09:01 -05:00
Matthew Jones
8bf66f01c4 Add System Job to OPTIONS get for job types under unified jobs 2014-11-11 15:51:13 -05:00
Luke Sneeringer
3a8c32444b Merge branch 'master' into expunge-zeromq-unstable
Conflicts:
	awx/main/management/commands/run_callback_receiver.py
	awx/main/management/commands/run_task_system.py
2014-11-11 12:00:25 -06:00
Luke Sneeringer
29eaa495bc Do not allow superuser promotion by non-superusers. 2014-11-11 11:55:03 -06:00
Luke Sneeringer
122bf9fcd3 Merge branch 'master' into expunge-zeromq-unstable 2014-11-11 07:52:11 -06:00
Matthew Jones
0de53886da Disallow multiple schedules for System Job Templates 2014-11-10 14:44:34 -05:00
Luke Sneeringer
0e8121f7f1 Merge branch 'master' into expunge-zeromq-unstable
Conflicts:
	setup/roles/awx_install/handlers/main.yml
2014-11-10 08:47:08 -06:00
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
9873bd2bc2 Add created_by and modified_by to some serializers 2014-11-07 10:45:53 -05:00
Luke Sneeringer
5e4e61dcda Merge branch 'master' into expunge-zeromq-unstable
Conflicts:
	setup/roles/awx_install/tasks/main.yml
2014-10-31 15:10:10 -05:00
Matthew Jones
ede6142cea New permission for users and teams that allow creating job templates,
this makes Deployment permissions more granular.  Includes unit tests
and a migration to promote existing "run" permissions to "create".

Also some slight doc updates to denote that this implies "run" and "check"
2014-10-31 15:04:46 -04:00
Luke Sneeringer
f000e71371 Merge branch 'master' into expunge-zeromq-unstable 2014-10-30 15:30:39 -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
f4efbfc95a Working Redis, but need to switch out ZeroMQ. 2014-10-27 13:24:24 -05:00
James Laska
20bb2ed71c Additional markdown for job_template launch endpoint
Fixes: https://trello.com/c/h4rfafWM
2014-10-23 12:51:00 -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
ce50376c7f Updating job list api endpoints to be able to display system jobs if you
can see them and any have run
2014-10-17 14:56:40 -04:00
Matthew Jones
103929c9ee Allow passing variables with schedules to support extra data on system jobs 2014-10-17 14:41:00 -04:00
Matthew Jones
6ed9705d91 Small fix for system job serializer 2014-10-14 13:56:58 -04: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
James Laska
d43ed5b67e Correct job_task and job_play help documentation
Use the correct query parameter and correct the 'icontains' examples.
2014-10-14 09:00:46 -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
d3e5db52cb Adding job template survey documentation 2014-10-07 13:44:33 -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
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