Matthew Jones
7df9ca8ae1
Force custom inventory scripts to start with a hashbang
2014-12-10 10:59:20 -05:00
Matthew Jones
b1b9fdede5
Fix a bug where, when launching a job without a credential and
...
subsequently supplying the credential we weren't able to pick up any ASK
fields that we needed credentials for
2014-12-10 10:42:20 -05:00
Matthew Jones
8afe8517fd
Rename System Task to Management Job for UI consistency
2014-12-09 11:46:03 -05:00
Matthew Jones
3af2c181b8
Add can_edit field on job templates
2014-12-09 11:08:25 -05:00
Matthew Jones
572c1765cd
Different strategy on the inventory script serializer, this should work
...
much better
2014-12-08 16:45:59 -05:00
Matthew Jones
9b61956c9e
Hide script contents if the user is not a super user
2014-12-08 15:10:16 -05:00
Matthew Jones
19c0d04885
Adding organization reference to the custom inventory script
2014-12-03 15:05:44 -05:00
Chris Church
564ba7bf68
Work on update/cancel serializers/views to return correct field names in OPTIONS response.
2014-12-02 18:55:54 -05:00
Luke Sneeringer
c3b962ced5
/api/v1/ping/ was added in 2.1.0
2014-12-02 10:39:54 -06:00
Luke Sneeringer
d6699353e5
Save hostnames, not IP addresses, for HA.
2014-12-02 10:34:25 -06:00
Matthew Jones
fc5eb09e2a
Fix up some rbac issues that were blocking survey taker incidentally and
...
otherwise preventing normal users with the right permissions from
starting jobs
2014-12-01 14:01:03 -05:00
Matthew Jones
bab3bfb70a
Remove a vestige of the old zeromq implementation where we specified a
...
callback port as a decorated parameter to the overall test case
2014-12-01 11:35:20 -05:00
Matthew Jones
15e6aa29a7
Make sure we propogate source_script into the related fields it needs to
...
be in
2014-11-26 11:14:26 -05:00
Matthew Jones
fb8c33b973
Update job template launch docs with credential_needed_to_start documentation
2014-11-26 10:17:40 -05:00
Chris Church
35c392ab17
Add instance filters and group by options for EC2 inventory sources. Implements https://trello.com/c/QOVhP0mH
2014-11-26 03:20:45 -05:00
Matthew Jones
8718688cf8
Make sure we pass extra parameters down to the unified job create method
...
so we can pick up credential if given
2014-11-25 16:47:53 -05:00
Matthew Jones
08ea3bef25
Add system job template launch documentation
2014-11-25 16:22:48 -05:00
Matthew Jones
7e109cb95d
Track source_script in summary and related fields for relevant inventory sources
2014-11-25 15:28:52 -05:00
Chris Church
ad856391f6
Use select_related and other misc fixes to improve performance and reduce queries.
2014-11-24 21:12:21 -05:00
Matthew Jones
cfb4361eb4
Temporarily remove ask_variables for job relaunch
2014-11-24 15:24:43 -05:00
Matthew Jones
2916ebf0c0
Improve query time by removing a check from the order by filter handler
2014-11-21 15:57:01 -05:00
Luke Sneeringer
ee0e549978
Silly variable inconsistency.
2014-11-20 14:04:33 -06:00
Luke Sneeringer
8b1f3c33a5
Allow more falsy values.
2014-11-20 11:13:26 -06:00
Luke Sneeringer
46ef0475d4
Allow string "false" to mean False on is_superuser
2014-11-20 10:53:15 -06:00
Luke Sneeringer
d72d95b282
Add ping to the front page view.
2014-11-18 11:08:59 -06:00
Matthew Jones
8b46bc3829
Fix up OPTIONS requests relative to system jobs on some endpoints
2014-11-18 12:02:48 -05:00
Matthew Jones
fb8d7e5d9c
Fix up direct launching of system jobs
2014-11-18 11:38:24 -05:00
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