Ryan Petrello
ea4cd99003
fix a few tests caused by fallout between 3.2.2 bugs and 3.3 multicred
2017-12-13 14:02:25 -05:00
Ryan Petrello
d35bfafcf5
more test cleanup from 3.2.2 merge
2017-12-13 13:14:22 -05:00
Ryan Petrello
9f8ef4d1e5
Merge pull request #820 from ryanpetrello/devel
...
fix a number of failing unit tests related to the 3.2.2 merge
2017-12-13 13:04:55 -05:00
Ryan Petrello
a978d094b4
fix a number of failing unit tests related to the 3.2.2 merge
2017-12-13 13:03:17 -05:00
Shane McDonald
47e422ba7a
Merge pull request #819 from ansible/jakemcdermott-patch-1
...
fix arg name clash in hosts list controller
2017-12-13 13:02:47 -05:00
Jake McDermott
4b86815275
fix arg name clash in hosts list controller
2017-12-13 13:01:11 -05:00
Alan Rominger
6c1c850c5f
Merge pull request #816 from AlanCoding/ints
...
use credential property that returns integers
2017-12-13 12:56:07 -05:00
AlanCoding
f4f1e0fd3c
use credential property that returns integers
2017-12-13 12:54:32 -05:00
Matthew Jones
ca84e1c654
Merge pull request #817 from ansible/jakemcdermott-patch-1
...
fix missing comma in package.json
2017-12-13 12:48:16 -05:00
Jake McDermott
6b6e898882
fix missing comma in package.json
2017-12-13 12:45:26 -05:00
Matthew Jones
9dbcc5934e
Merge remote-tracking branch 'tower/release_3.2.2' into devel
2017-12-13 12:25:47 -05:00
Ryan Petrello
05bec924e4
Merge pull request #795 from ryanpetrello/move-deprecated-stdout
...
move legacy UnifiedJob stdout data to a separate unmanaged model
2017-12-13 09:35:58 -05:00
Jake McDermott
40d1f2671f
Merge pull request #811 from AlanCoding/i_wont_be_ignored
...
Fix bug creating inventory source schedules
2017-12-12 18:32:54 -05:00
Ryan Petrello
202161f090
move legacy UnifiedJob stdout data to a separate unmanaged model
...
This data often (in the case of inventory updates) represents large data
blobs (5+MB per job run). Storing it on the polymorphic base class
table, `main_unifiedjob`, causes it to be automatically fetched on every
query (and every polymorphic join) against that table, which can result
in _very_ poor performance for awx across the board. Django offers
`defer()`, but it's quite complicated to sprinkle this everywhere (and
easy to get wrong/introduce side effects related to our RBAC and usage
of polymorphism).
This change moves the field definition to a separate unmanaged model
(which references the same underlying `main_unifiedjob` table) and adds
a proxy for fetching the data as needed
see https://github.com/ansible/awx/issues/200
2017-12-12 18:16:19 -05:00
AlanCoding
7243f871b4
fix bug creating inventory source schedules
2017-12-12 17:49:51 -05:00
Jared Tabor
2c64a2ce63
Merge pull request #783 from jaredevantabor/notification-toggle
...
fixing url used for determining which notification to toggle on/off
2017-12-12 11:31:48 -08:00
Jared Tabor
86eb0353c5
fixing url used for determining which notification to toggle on/off
...
for #711
2017-12-12 11:07:21 -08:00
Matthew Jones
282290e151
Fix an issue referencing postgres port from openshift deployment
2017-12-12 10:52:02 -05:00
Alan Rominger
8d348f916b
Merge pull request #794 from AlanCoding/hide_config_pass
...
Hide survey passwords in saved launch configs
2017-12-12 10:37:41 -05:00
AlanCoding
659d31324d
hide survey passwords in saved launch configs
2017-12-12 09:35:46 -05:00
Ryan Petrello
1bc2d83403
Merge pull request #789 from ryanpetrello/multivault-acceptance
...
add some more tests and acceptance docs to wrap up multivault support
2017-12-11 20:35:27 -05:00
Ryan Petrello
8c90d36290
add some more tests and acceptance docs to wrap up multivault support
...
see: https://github.com/ansible/awx/issues/352
2017-12-11 16:56:02 -05:00
Greg Considine
fac7fd45f8
Merge pull request #614 from gconsidine/ui/fix/toggle-button-container
...
Adjust style of toggle button to accommodate text that exceeds 42px
2017-12-11 16:09:44 -05:00
Bill Nottingham
9be438a60a
Merge pull request #788 from wenottingham/no-country-for-old-python
...
Don't bother checking for python 2.6 in the venv
2017-12-11 14:57:25 -05:00
Bill Nottingham
c62430c282
Drop python2.6 checks.
2017-12-11 13:59:00 -05:00
Alan Rominger
1be3c77ac6
Merge pull request #787 from AlanCoding/workflow_system_jobs
...
allow using SystemJobTemplates in workflows
2017-12-11 13:21:33 -05:00
Matthew Jones
34c206fab0
Bump psql-container pg version to 9.6
2017-12-11 12:01:28 -05:00
gconsidine
a2f64f1053
Adjust style of toggle button to accommodate text that exceeds 42px
2017-12-11 11:47:21 -05:00
Shane McDonald
334d47f3ab
Pull updated translations
2017-12-11 09:42:06 -05:00
AlanCoding
4adfb9804e
allow using SystemJobTemplates in workflows
2017-12-11 08:58:45 -05:00
Alan Rominger
64ac1ee238
Merge pull request #746 from AlanCoding/i_forgot
...
Intentionally forget start_args when job is done
2017-12-11 08:08:27 -05:00
AlanCoding
0bf06479d5
add migration to remove old start_args
2017-12-10 12:08:59 -05:00
AlanCoding
1f8cab4171
intentionally forget start_args when job is done
2017-12-10 12:08:54 -05:00
Jake McDermott
526bcc4a68
Merge pull request #785 from jakemcdermott/stored-xss-test-update
...
fix lint error and stabilize stored xss test case
2017-12-10 12:07:46 -05:00
Jake McDermott
9dcdf20fb0
stabilize template form stored xss test case
2017-12-10 11:41:41 -05:00
Jake McDermott
be0f66fd94
fix linting error in stored xss test
2017-12-10 11:39:13 -05:00
Alan Rominger
2135291f35
Merge pull request #740 from AlanCoding/configs_rebased5
...
Feature: saved launchtime configurations
2017-12-08 16:55:00 -05:00
AlanCoding
a9aae91634
generalize schedule prompts validation
...
This makes ScheduleSerializer behave same as WFJT nodes
Prevents providing job_type for workflow jobs, as example
2017-12-08 16:23:56 -05:00
Ryan Petrello
4724b6a3d6
Merge pull request #613 from ryanpetrello/release_3.2.2
...
change how we detect the current user at LDAP login to avoid a nuanced recursion error
2017-12-08 15:46:32 -05:00
Ryan Petrello
ce94ba4c83
change how we detect the current user to avoid a nuanced recursion error
...
see: https://github.com/ansible/ansible-tower/issues/7802
2017-12-08 15:35:47 -05:00
AlanCoding
905ff7dad7
fix bugs where ask_ var was checked on node
2017-12-08 13:57:33 -05:00
AlanCoding
e59a724efa
fix bug that broke combining WFJT and node vars
2017-12-08 13:48:45 -05:00
AlanCoding
1c8217936d
Bug fixes from integration ran on launchtime branch
...
Make error message for muti-vault validation more
consistent with historical message
2017-12-08 13:46:38 -05:00
AlanCoding
72a8854c27
Make ask_mapping a simple class property
...
from PR feedback of saved launchtime configurations
2017-12-08 13:45:23 -05:00
AlanCoding
98df442ced
combine launch config and multi-cred migrations
2017-12-08 13:45:21 -05:00
AlanCoding
5ada021a6e
Tweak validation to allow multiple vault credentials
...
support providing vault passwords based on id
include needed passwords in launch serializer defaults
2017-12-08 13:43:43 -05:00
AlanCoding
34a8e0a9b6
Feature: saved launchtime configurations
...
Consolidate prompts accept/reject logic in unified models
Break out accept/reject logic for variables
Surface new promptable fields on WFJT nodes, schedules
Make schedules and workflows accurately reject variables
that are not allowed by the prompting
rules or the survey rules on the template
Validate against unallowed extra_data in system job schedules
Prevent schedule or WFJT node POST/PATCH with unprompted data
Move system job days validation to new mechanism
Add new psuedo-field for WFJT node credential
Add validation for node related credentials
Add related config model to unified job
Use JobLaunchConfig model for launch RBAC check
Support credential overwrite behavior with multi-creds
change modern manual launch to use merge behavior
Refactor JobLaunchSerializer, self.instance=None
Modularize job launch view to create "modern" data
Auto-create config object with every job
Add create schedule endpoint for jobs
2017-12-08 13:38:54 -05:00
Marliana Lara
cd8a4b4669
Merge pull request #645 from marshmalien/feature/retry_failed_hosts
...
Feature - Retry failed hosts
2017-12-07 12:54:11 -05:00
Ryan Petrello
0dc4fa975b
Merge pull request #612 from ryanpetrello/release_3.2.2
...
fix a race condition in "host.last_job" when jobs are deleted
2017-12-06 13:43:45 -05:00
Ryan Petrello
1fb890f4eb
fix a race condition in "host.last_job" when jobs are deleted
...
see: https://github.com/ansible/ansible-tower/issues/7815
2017-12-06 11:30:19 -05:00