Commit Graph

5291 Commits

Author SHA1 Message Date
Ryan Petrello
e7279f2fe2 reject ws:// connections w/ origin mismatches
see: https://github.com/ansible/tower/issues/2647
2018-07-23 21:56:31 -04:00
AlanCoding
6d305c60d5 Disallow adding or removing instance from iso-IG 2018-07-23 15:39:30 -04:00
AlanCoding
fa3a334424 Handle does not exist errors in JobHostSummary unicode 2018-07-23 10:17:47 -04:00
Alan Rominger
eb22e09e4d Merge pull request #2568 from AlanCoding/fussy_logger
Add log statement if canceling takes way too long
2018-07-19 10:30:45 -04:00
Alan Rominger
5c7c441b47 Merge pull request #2555 from AlanCoding/app_name_unique
Make applications org-name-unique
2018-07-17 16:49:57 -04:00
Ryan Petrello
7adc6c6f73 properly set InventorySource.status for CLI-based inventory_import
see: https://github.com/ansible/tower/issues/2476
2018-07-17 14:04:50 -04:00
AlanCoding
7221c9dae1 add log statement if canceling takes way too long 2018-07-17 12:06:20 -04:00
Jake McDermott
a968a44afb add inventory field to inventory update 2018-07-17 11:10:06 -04:00
AlanCoding
885ea2c5e1 make applications name-unique 2018-07-16 15:54:00 -04:00
Ryan Petrello
5bb71fc133 Merge pull request #2550 from rooftopcellist/fix_expire_command
fix expire session command
2018-07-16 14:53:31 -04:00
Alan Rominger
9208ef6664 Merge pull request #2540 from AlanCoding/towerkit_protector
Raise 400 instead of ignoring if fields mismatch v1/v2
2018-07-16 13:29:12 -04:00
adamscmRH
3d7fd9270c fix expire session command 2018-07-16 12:57:00 -04:00
Ryan Petrello
ca6b6460bb Merge pull request #2522 from ryanpetrello/fix-2509
awx metavars for job.created_by should be more robust to DoesNotExist
2018-07-16 12:46:50 -04:00
Ryan Petrello
55be530e27 awx metavars for job.created_by should be more robust to DoesNotExist
see: https://github.com/ansible/tower/issues/2509
2018-07-16 11:35:35 -04:00
AlanCoding
fd468ac766 raise 400 instead of ignoring if fields mismatch v1/v2 2018-07-16 09:36:43 -04:00
AlanCoding
e897cbd237 fix unicode bug in launch error message 2018-07-13 15:50:50 -04:00
Alan Rominger
9a44f6d13d Merge pull request #2524 from AlanCoding/schedule_log
Add missing job lifecycle log for schedule spawns
2018-07-13 14:18:15 -04:00
AlanCoding
a5803255ac add missing job lifecycle log for schedule spawns 2018-07-13 11:13:47 -04:00
Ryan Petrello
df0e28ec65 don't allow OAuth2 token creation for "external" users
see: https://github.com/ansible/tower/issues/2326
2018-07-12 14:33:59 -04:00
AlanCoding
46c8920020 restore project_admin as role for project creation 2018-07-11 15:36:48 -04:00
Alan Rominger
f268857129 Merge pull request #2466 from AlanCoding/prompts_but_not_prompts
Fix regression of JT callback relaunch
2018-07-11 13:58:39 -04:00
AlanCoding
6697d0c205 fix bug where empty extra vars gave relaunch 500 2018-07-11 13:09:44 -04:00
Ryan Petrello
387f7d3d67 don't allow isolated instances in IG.policy_instance_list
see: https://github.com/ansible/tower/issues/2394
2018-07-11 09:29:46 -04:00
Yunfan Zhang
e2ed24aef0 Fix null values on Token modified field. 2018-07-10 16:03:25 -04:00
Alan Rominger
a7561ce527 Merge pull request #2478 from AlanCoding/std_env
Move static inventory update options to constants
2018-07-10 16:01:31 -04:00
Ryan Petrello
acd045379c Revert "enforce JT/Job.timeout >= 0"
This reverts commit 1fb41cf8d0.
2018-07-10 15:06:13 -04:00
AlanCoding
a634b6b9e7 move static inventory update options to constants 2018-07-10 14:45:55 -04:00
adamscmRH
762ce04b0a catch empty session case 2018-07-10 13:50:39 -04:00
AlanCoding
ec643d6406 fix regression of callback relaunch 2018-07-10 08:45:23 -04:00
Ryan Petrello
1fb41cf8d0 enforce JT/Job.timeout >= 0
see: https://github.com/ansible/tower/issues/2421
2018-07-10 08:25:36 -04:00
Alan Rominger
a90329f21b Merge pull request #2385 from AlanCoding/team_org_object_roles
Allow adding teams to org object roles
2018-07-09 15:34:45 -04:00
Yunfan Zhang
307e5204fa Merge pull request #2447 from YunfanZhang42/fix_credential_leak
Forbid users from using unauthorized credentials in projects and inventories.
2018-07-09 15:06:39 -04:00
Yunfan Zhang
270102c188 Forbid users from using unauthorized credentials in projects and inventories.
Signed-off-by: Yunfan Zhang <yz322@duke.edu>
2018-07-09 15:04:53 -04:00
AlanCoding
e044b996e5 allow adding teams to org object roles 2018-07-09 14:13:57 -04:00
Bill Nottingham
5c16f8c294 Merge pull request #2451 from wenottingham/six-PRs-and-a-movie
Merge assorted PRs from the AWX community
2018-07-09 13:27:17 -04:00
Wayne Witzel III
8969276710 Merge pull request #2446 from ansible/issue-2330
Add explicit Job Template Admin role
2018-07-09 13:26:39 -04:00
Bill Nottingham
ae4135f149 add tests 2018-07-09 12:59:45 -04:00
moss
14def1e693 add want_hostcollections for sat6 source vars
Signed-off-by: moss <smossber@redhat.com>
2018-07-09 12:59:35 -04:00
Paul Neumann
73197f3ae5 Extend unit test for Azure source variable generation
Add tests for generation of Azure source variables. Test cases such
as overwriting a variable with its default value, overwriting a variable
with something different to its default value and add variables not set
by default.
2018-07-09 12:59:14 -04:00
Paul Neumann
4b7f106e9f Enable source variables for Azure inventory 2018-07-09 12:58:59 -04:00
Wayne Witzel III
70a97ce998 Update test to reflect needing job_template_admin_role 2018-07-09 12:17:34 -04:00
Jake McDermott
3b3ae9f7f5 Merge pull request #2444 from jakemcdermott/fix-2334
add host_status_counts to adhoc commands; fix status display for adhoc commands
2018-07-09 12:08:25 -04:00
Ryan Petrello
6bd9792518 default HTTP-based log emits to HTTPS
see: https://github.com/ansible/awx/issues/2048
2018-07-09 11:52:04 -04:00
Chris Meyers
6a610d633f Merge pull request #2430 from chrismeyersfsu/fix-do_not_touch_my_iso
deny topology changes to iso instances via api
2018-07-09 11:04:19 -04:00
Wayne Witzel III
2f78c658b1 Add explicit Job Template Admin role 2018-07-09 10:57:58 -04:00
Jake McDermott
1b1df63415 add host_status_counts to adhoc command event 2018-07-09 10:13:39 -04:00
Jake McDermott
380bf77b63 move host_status_counts logic into event model 2018-07-09 10:13:31 -04:00
sangongs
67c59b66e2 Merge pull request #2376 from sangongs/fix_get_failures
Fix serializers of unified_jobs & ad_hoc_commands to avoid exceptions
2018-07-09 08:14:34 -04:00
chris meyers
19e865e9a5 prevent remove iso instance from iso instance groups 2018-07-06 15:34:26 -04:00
chris meyers
aeca21ab5b deny topology changes to iso instances via api 2018-07-06 14:50:17 -04:00