Commit Graph

14803 Commits

Author SHA1 Message Date
Jared Tabor f7312691e1 resubscribe to last group if readyState is 0, aka connection isn't open yet 2017-09-15 15:56:32 -07:00
Wayne Witzel III dafd6acf1a Merge pull request #161 from wwitzel3/devel
update social auth strategy to have fixes from social-app-django
2017-09-15 17:22:32 -04:00
Michael Abashian ca72722b39 Merge pull request #419 from mabashian/7647-i18n-search-key
Fixed search key styling with wider text
2017-09-15 15:03:44 -04:00
Ryan Petrello ff385ddf17 Merge pull request #416 from ryanpetrello/stdout_defer
Add 3.1.5 result_stdout_text optimizations into 3.2 so we don't regress
2017-09-15 14:24:47 -04:00
Michael Abashian 80e692656c Merge pull request #406 from mabashian/7578-jt-admin-edit-v2
Fixed jt admin edit bug
2017-09-15 14:13:04 -04:00
Jared Tabor 6374be15fd Merge pull request #418 from jaredevantabor/socket-fix
another potential socket fix
2017-09-15 10:58:43 -07:00
mabashian 9765623d03 Fixed search key styling with wider text
Signed-off-by: mabashian <mabashia@redhat.com>
2017-09-15 13:55:44 -04:00
Jared Tabor 325e7f3cce checking socket.readyState before emitting socket message 2017-09-15 10:37:35 -07:00
mabashian 8b7639fd3a Removed extra GET call for extra creds when user cannot edit JT
Signed-off-by: mabashian <mabashia@redhat.com>
2017-09-15 11:54:42 -04:00
Matthew Jones 713e368557 Merge pull request #413 from ansible/invscript_endpoint_performance
Improve script endpoint performance by removing forced ordering
2017-09-15 08:16:02 -07:00
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