AlanCoding
681770e25a
allow WFJT admins to cancel scheduled jobs
2017-10-02 10:25:49 -04:00
Romain Brucker
cdc6096515
fixing indent
2017-09-28 11:37:07 -05:00
Romain Brucker
31e559b6a1
Checking if color is not None before setting it to lowercase
2017-09-28 11:33:45 -05:00
Romain Brucker
1bb72cc680
Adding a check to see if the color is 'None' before lowercasing it for @matburt
2017-09-28 11:15:14 -05:00
Romain Brucker
e67549e4a1
Changing the color option for hipchat to always be lowercase (expected by the API)
...
Signed-off-by: Romain Brucker <romain.brucker@amalto.com>
2017-09-26 11:32:05 -05:00
AlanCoding
f1219ea001
add back logic to recall script for hostvars
2017-09-20 15:31:13 -04:00
Wayne Witzel III
095a93d895
remove duplicated get_latest calls
2017-09-20 13:57:01 -04:00
Wayne Witzel III
0f4523fabf
Fix up unit and functional tests
2017-09-20 13:22:41 -04:00
Wayne Witzel III
2889df8013
ensure project sync/inv updates are added to the dependencies
2017-09-20 13:15:02 -04:00
Wayne Witzel III
11b2bc33fe
add scheduler module __init__
2017-09-20 13:14:01 -04:00
Wayne Witzel III
1beaccb9c9
move TaskManager out of init
2017-09-20 13:13:10 -04:00
Alan Rominger
bc4b622e6b
Merge pull request #199 from AlanCoding/inv_no_yaml
...
Inventory file suggestion adjustments from user feedback
2017-09-19 08:40:20 -04:00
AlanCoding
f455f1b257
Inventory file suggestion adjustments from user feedback
...
- ditch yaml files as suggestions
- automatically greenlight any hosts or inventory titled file
2017-09-18 15:29:03 -04:00
Matthew Jones
64415872a0
Merge branch 'release_3.2.0' into devel
2017-09-18 10:55:45 -04:00
Ryan Petrello
68b924efe5
flake8 fixup
2017-09-18 09:44:39 -04:00
Ryan Petrello
6a4b4edea3
properly detect deferred ORM objects
2017-09-18 09:08:53 -04:00
Matthew Jones
ebbd42322d
Fix an issue with hasattr call
2017-09-18 09:08:44 -04:00
Matthew Jones
c07a4ff93d
Catch any unhandled exceptions grabbing notification templates
2017-09-18 09:08:40 -04:00
Matthew Jones
8091b84344
Fixing up some activity stream deferreds
2017-09-18 09:08:30 -04:00
Matthew Jones
a2f4134ee0
Merge pull request #417 from ansible/vmware_cert_validation
...
Add a setting for vmware inventory cert validation
2017-09-15 17:57:59 -07: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
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
Matthew Jones
4657f29df9
Merge pull request #103 from ragingpastry/add-mattermost-notification
...
Add mattermost notification
2017-09-15 06:42:37 -07:00
Nicholas O. Wilburn
68d240b77b
Add "Disable SSL Verification" button to mattermost notification
...
This commit will add a button which will disable SSL notifications
for the mattermost webhook. This is required when using self-signed
certificates.
2017-09-14 18:25:04 -07:00
Nicholas O. Wilburn
69122a5454
Remove trailing whitespace
2017-09-14 18:24:54 -07:00
Nicholas O. Wilburn
03832c9065
Add mattermost import to reencrypt
2017-09-14 18:24:44 -07:00
Nicholas O. Wilburn
f347caf825
Remove debugging line
2017-09-14 18:24:29 -07: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
Chris Meyers
1ce3c7937b
use request response cache for license checks
2017-09-13 13:34:39 -04:00
Steve Wills
769ee8ac54
Remove unnecessary int coercion
...
Signed-off-by: Steve Wills <steve@mouf.net>
2017-09-13 11:55:44 -04:00
Steve Wills
f0cf325831
Add whitespace around arithmetic operator
...
Signed-off-by: Steve Wills <steve@mouf.net>
2017-09-13 11:37:57 -04:00
Steve Wills
b8651bfd72
Make get_system_task_capacity portable
...
Signed-off-by: Steve Wills <steve@mouf.net>
2017-09-13 11:15:09 -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
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
Matthew Jones
d308946360
Allow system auditor to set their own password
2017-09-12 16:07:47 -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
Matthew Jones
b39db745d4
Integrate a migration-detector middleware
...
This attempts to detect if there are migrations in-progress and will
force display an interstitial page in the process that attempts to
load the index page every 10s until it succeeds.
This is only attached in production settings so the development
environment can proceed even if the migrations haven't been applied yet
2017-09-11 11:09:45 -04: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
Matthew Jones
22359b427f
Merge pull request #38 from MikeMcMahon/devel
...
Reduces the job to only looking at objects older than the cutoff date
2017-09-10 19:20:44 -07:00
crepe
bb0e968704
Add mattermost notifications
2017-09-09 22:00:31 -07:00
Mike McMahon
0cd34c1498
jobs take count of gte cutoff, process only lt cutoff
...
Signed-off-by: Mike McMahon <mike.mcmahon@wavefront.com>
2017-09-08 18:46:52 -07:00
Mike McMahon
399e0e5e24
switching to iterator and adding the missed Job cleanup
...
Signed-off-by: Mike McMahon <mike.mcmahon@wavefront.com>
2017-09-08 18:37:59 -07:00
Matthew Jones
2fb9b6cf25
Merge pull request #14 from AlanCoding/rel_obj_conservation
...
Pass existing object references within access methods
2017-09-08 15:22:40 -07:00