18562 Commits

Author SHA1 Message Date
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
Matthew Jones
7fc896e183
Merge pull request #774 from matburt/jupyter_for_devel
Adding jupyter notebook support to the AWX development environment
2017-12-06 09:49:07 -05:00
Matthew Jones
da0b686369
Adding jupyter notebook support to the AWX development environment
* Jupyter starts alongside the other awx services and is available on
  0.0.0.0:8888
* make target: make jupyter
* default settings in settings/development.py
* Added jupyter, matplotlib, numpy to dev dependencies
2017-12-05 23:46:18 -05:00
Matthew Jones
9488105381
Merge pull request #773 from shanemcd/devel
Add m2r to setup requirements file
2017-12-05 15:38:31 -05:00
Shane McDonald
ec14ae1930 Add m2r to setup requirements file
We `pip download` this file for offline installs. Automat lists this package as a setup_requires, but `pip download` doesn’t resolve these dependencies (distutils will attempt to install them via easy_install when setup.py is invoked).
2017-12-05 15:26:56 -05:00
Shane McDonald
15e8fd5eca Pull updated translations 2017-12-05 14:17:18 -05:00
Greg Considine
e1e225d6a0
Merge pull request #771 from gconsidine/ui/fix/input-replace-revert
Ui/fix/input replace revert
2017-12-05 13:43:32 -05:00
gconsidine
3ad174b15b
Add e2e test case to verify revert/replace 2017-12-05 12:25:48 -05:00
gconsidine
b5644ed65b
Fix replace/revert functionality on secret input fields 2017-12-05 10:39:15 -05:00
Ryan Petrello
06e751fea1
Merge pull request #611 from ryanpetrello/release_3.2.2
more unit tests for survey default handling
2017-12-05 09:18:48 -05:00
Ryan Petrello
fe93ef5488
more unit tests for survey default handling 2017-12-05 09:04:57 -05:00
Jake McDermott
13d84b8d35
Merge pull request #768 from tchia04/fix_typo_credential_types
Fix typo: Failed to get credential tpyes
2017-12-04 22:26:52 -05:00
Richard Bywater
9b05a41eec Add ability to append suffix to host names for Cloudforms Inventory
Allows for use of a suffix that will be appended to host names returned
from Cloudforms API if that suffix is not present.

For example with a suffix of 'example.org', the following results would
be shown for a particular Cloudforms host name:
someexample -> someexample.example.org
someexample.example.org -> someexample.example.org

The main use-case for this is, when one Inventory Source is returning
names that have a FQDN name whilst others are returning a shortname, to
ensure that the hosts in an inventory aren't effectively duplicated.
2017-12-05 14:47:33 +13:00
Tony Chia
9275b024de
Update main.js
Changed "credential tpyes" to "credential types"
2017-12-04 16:27:46 -08:00
Jared Tabor
4f8d4994cf
Merge pull request #765 from jaredevantabor/fix-764
Update error handling on host service after angular upgrade
2017-12-04 14:28:41 -08:00
Jared Tabor
a3144ee234
Update error handling on host service after angular upgrade 2017-12-04 13:52:34 -08:00
Alan Rominger
7fe22e9c53
Merge pull request #757 from AlanCoding/vault_cred_noop
allow no-op case for vault_credential
2017-12-04 16:01:00 -05:00
Alan Rominger
42d8368596
Merge pull request #763 from AlanCoding/remember_where_you_came_from
add AWX meta extra_vars for workflow + schedule
2017-12-04 15:52:30 -05:00
Ryan Petrello
2c12f1b66e
Merge pull request #610 from ryanpetrello/faster-result-stdout-cleanup
don't fetch stdout when purging jobs - it's slow and causes OOMs
2017-12-04 15:41:16 -05:00
AlanCoding
eecf997856
add AWX meta extra_vars: WFJT + schedule 2017-12-04 15:33:05 -05:00
Ryan Petrello
33dedc88c8
don't fetch stdout when purging jobs - it's slow and causes OOMs
see: https://github.com/ansible/ansible-tower/issues/7751
2017-12-04 15:14:55 -05:00
Alan Rominger
759867c863
Merge pull request #609 from AlanCoding/more_encryption_tests
encryption tests around the contract with survey functionality
2017-12-04 14:20:30 -05:00
Alan Rominger
d4613d448c
Merge pull request #608 from AlanCoding/empty_string_defaults
allow password default reuse with empty default
2017-12-04 14:19:32 -05:00
Matthew Jones
21bdea05a0
Merge pull request #762 from matburt/fix_pg_port
Make sure we define postgres port customization during install
2017-12-04 14:16:09 -05:00
AlanCoding
dbd68c5747
encryption tests around the contract with survey functionality 2017-12-04 11:45:07 -05:00
Matthew Jones
a3071c2a1f
Make sure we define postgres port customization during install 2017-12-04 11:08:40 -05:00
AlanCoding
d23d7c422d
allow password default reuse with empty default 2017-12-04 10:49:36 -05:00
Ryan Petrello
4b793dc58a
Merge pull request #606 from ryanpetrello/test-7806
improve validation for empty default passwords
2017-12-04 10:19:06 -05:00
Ryan Petrello
112757e202
properly handle JT launch POST for required survey fields w/ no default
see: ansible/ansible-tower#7805
2017-12-04 09:45:21 -05:00
Ryan Petrello
12380fe1b1
add more tests for survey default encryption
see: https://github.com/ansible/ansible-tower/issues/7805
see: https://github.com/ansible/ansible-tower/issues/7806
see: https://github.com/ansible/ansible-tower/issues/7807
2017-12-04 09:45:14 -05:00
Matthew Jones
cf0cc2e2f2
Add system requirements to install docs 2017-12-04 07:56:34 -05:00
Ryan Petrello
b987b7daa0
Merge pull request #605 from ryanpetrello/release_3.2.2
fix another survey encryption-related bug
2017-12-01 17:30:43 -05:00
Ryan Petrello
6c7851b51f
fix another survey encryption-related bug 2017-12-01 17:11:00 -05:00
Aaron Tan
1ff0591553
Merge pull request #603 from jangsutsr/fix-7737-1
Follow up fix #542
2017-12-01 16:07:14 -05:00
Aaron Tan
58ad214dcf
Follow up fix #542
Relates
https://github.com/ansible/ansible-tower/issues/7737#issuecomment-348566452

Signed-off-by: Aaron Tan <jangsutsr@gmail.com>
2017-12-01 15:58:33 -05:00