1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00
Commit Graph

14843 Commits

Author SHA1 Message Date
Matthew Jones
47c976ee91
Add a setting for vmware inventory cert validation
This uses the environment var expected by the vmware inventory script.
Defaults to off but can be turned on
2017-09-15 11:14:10 -04:00
Matthew Jones
645d2d852f
Update scan job migration to public project to use the correct URL 2017-09-15 10:19:33 -04:00
Ryan Petrello
7a958a1af1
more result_stdout_text defer optimization for inventory updates
see: https://github.com/ansible/ansible-tower/issues/7568
2017-09-15 09:51:53 -04:00
Ryan Petrello
1bb6c17fe2
trick django-polymorphic into allowing defer() on polymorphic objects
django-polymorphic itself generates queries for polymorphic object
lookups, and these queries for UnifiedJob are *not* properly defering the
`result_stdout_text` column, resulting in more very slow queries.  This
solution is _very_ hacky, and very specific to this specific
version of Django and django-polymorphic, but it works until we can
solve this problem the proper way in 3.3 (by removing large stdout blobs
from the database).

see: https://github.com/ansible/ansible-tower/issues/7568
2017-09-15 09:51:43 -04:00
Jared Tabor
436df168f0 Merge pull request #415 from jaredevantabor/socket-fix
deleting socket on logout
2017-09-14 15:51:15 -07:00
Jared Tabor
7ccedfb1df adding console.log for debug purposes in prod, will delete later 2017-09-14 15:50:35 -07:00
Jared Tabor
bd95197709 deleting socket on logout 2017-09-14 15:45:35 -07:00
Greg Considine
5897aebdf9 Merge pull request #414 from gconsidine/ui/fix/host-filter-parsing
Fix host filter parsing
2017-09-14 17:40:41 -04:00
gconsidine
dd62e8ce92
Replace use of string.includes due lack of browser support 2017-09-14 17:27:27 -04:00
gconsidine
eab3cb8efd
Add support for quoted without spaces and falsey input 2017-09-14 15:57:52 -04:00
gconsidine
57c9224b5c
Fix host filter parsing 2017-09-14 15:31:29 -04:00
John Mitchell
8c2b9905d1
fix config forms from having save button disabled when no license is given 2017-09-14 13:59:58 -04:00
Matthew Jones
39994186df
Improve script endpoint performance by removing forced ordering 2017-09-14 13:05:31 -04:00
mabashian
549737405b
Fixed multi credential service unit test failures
Signed-off-by: mabashian <mabashia@redhat.com>
2017-09-14 09:14:27 -04:00
Chris Meyers
28a26e6e81 Merge pull request #408 from chrismeyersfsu/7500_process_workflow_cornercase_for_user_capability
memoize workflow license feature check
2017-09-14 08:29:41 -04:00
Jared Tabor
acbf9f517b Merge pull request #409 from jaredevantabor/socket-fix
move socketPromise.resolve() until handshake message is received
2017-09-13 18:55:39 -07:00
Jared Tabor
9cf683ea75 move socketPromise.resolve() until handshake message is received
instead of happening after the socket.onopen event.
2017-09-13 18:49:15 -07:00
mabashian
f90771ee1a
More fixes for JT admin edit use cases
Signed-off-by: mabashian <mabashia@redhat.com>
2017-09-13 16:48:04 -04:00
Greg Considine
93927717c8 Merge pull request #403 from gconsidine/ui/fix/host-search-with-spaces
Add support for quoted values containing spaces in search
2017-09-13 14:34:05 -04:00
Ryan Petrello
761e42c5d6 Merge pull request #407 from ryanpetrello/fix-7568
build extra_cred related urls for jobs and JTs a less volatile way
2017-09-13 13:42:49 -04:00
Chris Meyers
1ce3c7937b use request response cache for license checks 2017-09-13 13:34:39 -04:00
Ryan Petrello
d3df5de0ce
build extra_cred related urls for jobs and JTs a less volatile way
see: https://github.com/ansible/ansible-tower/issues/7635
2017-09-13 13:28:26 -04:00
Michael Abashian
19d838ff49 Merge pull request #399 from mabashian/7588-deleted-inv-source-message
Deleted custom inv script on source update
2017-09-13 13:13:14 -04:00
mabashian
28fa5077d5
Fixed jt admin edit bug
Signed-off-by: mabashian <mabashia@redhat.com>
2017-09-13 11:38:56 -04:00
Matthew Jones
7e754e20ae Merge pull request #404 from ansible/sys_auditor_can_set_pass
Allow System Auditor to set password
2017-09-13 06:32:10 -07:00
Matthew Jones
10a3959f52 Merge pull request #400 from ansible/taskman_dep_update_improve
Fix an issue where dependent updates weren't sorted correctly
2017-09-13 06:17:56 -07:00
Ryan Petrello
66d78bca8a Merge pull request #405 from ryanpetrello/fix-7568
defer UnifiedJob.result_stdout_text for improved performance
2017-09-12 19:04:37 -04:00
Ryan Petrello
bd42dfe474
defer UnifiedJob.result_stdout_text for improved performance
result_stdout_text can be _very_ large - some customers have 5MB+ per
job; querying for this in list contexts results in _very_ large datasets
being read from the database which is very slow.  It's very uncommon to
actually need this column outside of the context of job details, so
defer it.

see: https://github.com/ansible/ansible-tower/issues/7568
2017-09-12 16:35:49 -04:00
Ryan Petrello
bd088d31ca Merge pull request #334 from ryanpetrello/fix-7506
add process isolation to project updates
2017-09-12 16:15:37 -04:00
Matthew Jones
d308946360 Allow system auditor to set their own password 2017-09-12 16:07:47 -04:00
jlmitch5
8a282030a1 Merge pull request #401 from jlmitch5/fixSyncAll
always start sync all updates
2017-09-12 15:51:09 -04:00
gconsidine
87eab79f70
Add support for quoted values containing spaces in search 2017-09-12 14:57:07 -04:00
Jared Tabor
18fa0d5057 Merge pull request #402 from jaredevantabor/org-save-error-catching
catching org save error
2017-09-12 11:24:24 -07:00
Jared Tabor
ae5b309de0 catching org save error
the org PUT was missing a .catch, however the edit controller already had it.
2017-09-12 10:21:52 -07:00
John Mitchell
5009f283d5
always start sync all updates 2017-09-12 12:01:06 -04:00
Matthew Jones
9f3a0c0716 Fix an issue where dependent updates weren't sorted correctly
When considering previous / current Project Updates we weren't
properly sorting the previous runs.

We also make sure we filter down to just "check" style project updates
and don't consider 'run' style standalone project updates when
deciding what are potentially related project updates
2017-09-12 09:42:50 -04:00
Ryan Petrello
4213960ec3
write the scm_revision_output to the project path instead of /tmp
see: https://github.com/ansible/ansible-tower/issues/7558
2017-09-11 17:44:53 -04:00
Ryan Petrello
a9c9ecb5ea
bind ansible and awx virtualenvs readonly so that jobs can't modify them
see: https://github.com/ansible/ansible-tower/issues/7558
2017-09-11 15:57:35 -04:00
Ryan Petrello
a2ca0e6012
add process isolation to project updates
see: https://github.com/ansible/ansible-tower/issues/7506
2017-09-11 15:57:28 -04:00
Jared Tabor
6068eafeb6 Merge pull request #384 from jaredevantabor/job_explanation_label
showing job explanation if it wasn't "Previous Task Failed..."
2017-09-11 12:37:03 -07:00
Ryan Petrello
434d115fb3 Merge pull request #398 from ryanpetrello/release_3.2.0
fix busted conf unit tests
2017-09-11 08:45:59 -07:00
mabashian
d38264660e
Updated error message when can_update comes back false on an inventory source update GET
Signed-off-by: mabashian <mabashia@redhat.com>
2017-09-11 11:40:35 -04:00
Ryan Petrello
4cc58a221b
fix busted conf unit tests 2017-09-11 11:28:43 -04:00
Ryan Petrello
e5043093eb Merge pull request #393 from jangsutsr/7587_remove_cred_type_id_in_api_v1
Remove credential_type_id in API v1
2017-09-11 08:22:10 -07:00
Ryan Petrello
6f26f88bbd Add a TODO for 3.3 cleanup 2017-09-11 10:48:32 -04:00
Ryan Petrello
2f14dc7e5d Merge pull request #388 from ryanpetrello/fix-7470
bump azurerm dependencies to support Ansible 2.4
2017-09-11 07:45:51 -07:00
Aaron Tan
bf7c96defb Merge pull request #372 from jangsutsr/7536_prevent_mistakenly_truncate_sgr
Prevent mistakenly truncate ANSI SGR code in job event stdout
2017-09-11 09:32:58 -04:00
Alan Rominger
7c920c305f Merge pull request #397 from AlanCoding/7583
add help for instance provisioning
2017-09-09 15:17:37 -07:00
John Mitchell
11b06a2e5e
add disassociation disclaimer 2017-09-08 17:55:41 -04:00
AlanCoding
42ee804464
add help for instance provisioning 2017-09-08 14:36:17 -07:00