Commit Graph

2332 Commits

Author SHA1 Message Date
Ryan Petrello
0a400ca339 sprinkle some more i18n love for the credential form
see: https://github.com/ansible/tower/issues/2731
2018-07-31 22:13:17 -04:00
Ryan Petrello
5610cbe735 prevent host deletion when the related inventory is pending deletion
see: https://github.com/ansible/tower/issues/2690
2018-07-31 15:54:46 -04:00
Ryan Petrello
b99f211c7e add some additional validation to JT.credentials
see: https://github.com/ansible/tower/issues/2612
2018-07-30 14:08:27 -04:00
Christian Adams
5a7b519101 Merge pull request #2705 from rooftopcellist/oauth2_typo
fix OAuth typos
2018-07-30 10:42:54 -04:00
adamscmRH
1303f3f82f fix OAuth typos 2018-07-30 10:23:27 -04:00
Ryan Petrello
3cdd0a94bd simplify dynamic queue binding
we recently made a change so that instances no longer bind to
instance-group specific queues, but now instead they each bind to
a direct queue for their specific hostname
(https://github.com/ansible/tower/pull/1922)

Because of this, we shouldn't *need* to reconfigure the queue binds at
runtime anymore when group membership changes. Under our new model,
every celeryd listens on a queue named after its hostname; when the
scheduler finds a task to run, it picks an Instance in the target
Instance Group and sends the task to the queue for that Instance's
hostname.
2018-07-28 00:48:37 -04:00
Ryan Petrello
57fdbc1853 Merge pull request #2677 from ryanpetrello/non-exclusive-policy-instance-list
make InstanceGroup.policy_instance_list non-exclusive by default
2018-07-25 21:10:15 -04:00
Ryan Petrello
15aaca8f03 make InstanceGroup.policy_instance_list non-exclusive by default
see: https://github.com/ansible/tower/issues/2583
2018-07-25 17:26:13 -04:00
Alan Rominger
5a7119759a Merge pull request #2672 from AlanCoding/popin_locking
Lock IG for updating list
2018-07-25 15:48:41 -04:00
Yunfan Zhang
fec1e8d398 Merge pull request #2363 from YunfanZhang42/fix_crendential_copy
Fix credential leak when copying Job Templates
2018-07-25 13:14:40 -04:00
Yunfan Zhang
cb6d7dfe69 Fix credential leak when copying Job Templates.
Signed-off-by: Yunfan Zhang <yz322@duke.edu>
2018-07-25 11:51:17 -04:00
AlanCoding
39cb9f2652 lock IG for updating list 2018-07-25 11:08:40 -04:00
adamscmRH
12279b9631 help text for oauth ext user toggle 2018-07-25 08:54:37 -04:00
Alan Rominger
f0252f67dc Merge pull request #2625 from AlanCoding/just_role
Write special cases for object_association field
2018-07-24 07:46:22 -04:00
AlanCoding
6d305c60d5 Disallow adding or removing instance from iso-IG 2018-07-23 15:39:30 -04:00
AlanCoding
5de321ae7a write special cases for object_association field 2018-07-20 12:40:12 -04:00
Alan Rominger
27bf12feb2 Merge pull request #2563 from AlanCoding/old_timer_types
Strict type enforcement of deprecated launch fields
2018-07-17 11:53:17 -04:00
Jake McDermott
a968a44afb add inventory field to inventory update 2018-07-17 11:10:06 -04:00
AlanCoding
a38d6552e8 strict type enforcement of deprecated launch fields 2018-07-17 08:41:40 -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
Alan Rominger
9db6202210 Merge pull request #2538 from AlanCoding/team_queryset
Remove custom get_queryset that ignored special case
2018-07-16 11:14:31 -04:00
Alan Rominger
53b4a4e2fc Merge pull request #2531 from AlanCoding/everything_text_type
Fix unicode bug in launch error message
2018-07-16 10:49:44 -04:00
AlanCoding
fd468ac766 raise 400 instead of ignoring if fields mismatch v1/v2 2018-07-16 09:36:43 -04:00
AlanCoding
b5b2bf15df remove custom get_queryset that ignored special case 2018-07-14 21:09:57 -04:00
adamscmRH
896ffb2065 Fixes sessions in multiple tabs 2018-07-13 16:31:23 -04:00
AlanCoding
e897cbd237 fix unicode bug in launch error message 2018-07-13 15:50:50 -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
Christian Adams
6ac17c874f Merge pull request #2486 from rooftopcellist/fix_change_pass
selectively clear sesh on pass change
2018-07-11 10:59:06 -04:00
adamscmRH
e99d922261 selectively clear sesh on pass change 2018-07-11 10:29:16 -04:00
Ryan Petrello
090c585be5 remove unnecessary spaces 2018-07-11 09:50:50 -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
Alan Rominger
00cc002b8e Merge pull request #2467 from AlanCoding/ig_errors
Fix server errors unattaching instance from group
2018-07-10 16:20:21 -04:00
Alan Rominger
7b860e4eeb Merge pull request #2445 from AlanCoding/true_admin
Fix bug with custom script user_capabilities
2018-07-10 10:25:17 -04:00
AlanCoding
73f3837f62 fix server errors unattaching instance from group 2018-07-10 09:38:56 -04:00
Christian Adams
ab861ae777 Merge pull request #2460 from rooftopcellist/reorder_root_api
Reorder root api
2018-07-09 16:39:13 -04:00
adamscmRH
16dc1f57dd reorder api endpoint links 2018-07-09 16:11:27 -04:00
Alan Rominger
c78e274373 Merge pull request #2459 from AlanCoding/old_cred_msg
Change key to match old error message
2018-07-09 15:57:11 -04:00
AlanCoding
e36458a6c0 change key to match old error message 2018-07-09 15:36:13 -04:00
AlanCoding
e044b996e5 allow adding teams to org object roles 2018-07-09 14:13:57 -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
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
AlanCoding
7860cda9dc fix bug with custom script user_capabilities 2018-07-09 10:15:17 -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
Ryan Petrello
2916edd70f Add a Location header to HTTP 201 for POST to copy endpoints 2018-07-09 08:47:01 -04:00
Ryan Petrello
da0fe173c9 Merge pull request #2431 from ryanpetrello/fix-201-location
add a missing Location header on HTTP 201 in a few places
2018-07-09 08:37:17 -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
2ffc4b256d fix copy paste error 2018-07-06 15:12:57 -04:00
chris meyers
aeca21ab5b deny topology changes to iso instances via api 2018-07-06 14:50:17 -04:00