Commit Graph

12260 Commits

Author SHA1 Message Date
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
gconsidine
054710e1a2 Move install.template.ejs to be built for prod only 2017-09-11 16:12:09 -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
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
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
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
gconsidine
7296bfd5ee Remove generated index.html file 2017-09-11 10:19:54 -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
25612f8809 Merge pull request #71 from marshmalien/fix/27-side-nav-height
Fix height of side navigation panel
2017-09-11 06:30:29 -07: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
Alan Rominger
7c920c305f Merge pull request #397 from AlanCoding/7583
add help for instance provisioning
2017-09-09 15:17:37 -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
Matthew Jones
c6ae6b84d5 Merge pull request #13 from AlanCoding/exceptions
use exceptions for job cancel and failure
2017-09-08 15:19:41 -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
Greg Considine
ccbf7af7f2 Merge pull request #49 from gconsidine/ui/clean-build
Update UI build system
2017-09-08 15:49:02 -04:00
Alan Rominger
19ebd0aa68 Merge pull request #382 from AlanCoding/isolated_reaper
reap isolated jobs
2017-09-08 12:41:03 -07:00
AlanCoding
8e1e60c187 simplify isolated job reaping by checking all task ids 2017-09-08 12:30:05 -07:00
gconsidine
fba8a48d91 Update dependencies, template file, and docs
* Use git+https prefix in git-based npm dependencies
* Use ejs template for index to fix extraneous slash in path
* Remove outdated documentation
* Remove unused service
* Regenerate shrinkwrap
2017-09-08 15:17:01 -04:00
Marliana Lara
7a2a4cc4a9 Merge pull request #396 from marshmalien/fix/7591-quirky-lookup-modals
Fix form field lookup by populating the field name
2017-09-08 13:46:39 -04:00
AlanCoding
878e7ef49f reap isolated jobs 2017-09-08 10:40:39 -07:00
Marliana Lara
1a9379b41d Fix the height style of the side navigation panel 2017-09-08 12:38:05 -04:00
Patrick Uiterwijk
3816791aa4 Use distutils find_executable instead of which
Fixes: #44

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-09-08 01:49:50 +00:00
gconsidine
c57c17546e Update UI build system
* Faster build times
* Smaller bundle sizes
* Adjust paths
* Cleanup npm dependencies
* Remove unneded Grunt tasks
2017-09-07 18:09:14 -04:00
Mike McMahon
023431165a fixing missing colon and missing variable usage
Signed-off-by: Mike McMahon <mike.mcmahon@wavefront.com>
2017-09-07 14:03:18 -07:00
Patrick Uiterwijk
830012e2f4 Fix using SAML NameID
Without this patch, SAML backend will only use the first letter of the NameID as attribute value.

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-09-07 20:54:27 +00:00
Mike McMahon
0388568ea0 Reduces the job to only looking at objects older than the cutoff date
Signed-off-by: Mike McMahon <mike.mcmahon@wavefront.com>
2017-09-07 13:41:43 -07:00
Marliana Lara
7965f9df6c Fix form field lookup by populating the field name 2017-09-07 16:24:01 -04:00
Marliana Lara
2f3124edf4 Remove modal backdrop on hidden modal event
Signed-off-by: Marliana Lara <mlara@redhat.com>
2017-09-07 11:58:36 -04:00
Marliana Lara
56e9d7b8e2 Merge pull request #392 from marshmalien/fix/7576-pagination-space
Add margin between pagination pages and totals
2017-09-07 10:22:55 -04:00
Aaron Tan
42bbd7d47a Merge pull request #18 from jangsutsr/wrap_up_ctint_unit_tests
Wrap up Tower configuration unit tests
2017-09-07 09:49:14 -04:00
AlanCoding
41940687f1 Pass existing object references within access methods
This avoids re-loading objects from the database in our
chain of permission checking, wherever possible.
access.py is equiped to handle object references instead
of pk ints, and permissions.py is changed to pass those refs.
2017-09-06 16:34:00 -07:00
Ryan Petrello
44702c5cfd fix broken shippable test suite 2017-09-06 16:12:43 -07:00
jlmitch5
37c2d01260 Merge pull request #16 from jlmitch5/newNav
new navigation in UI
2017-09-06 17:54:21 -04:00
John Mitchell
ea91fabba0 implement componenitized navigation and remove old nav and layout code 2017-09-06 17:32:32 -04:00
Jared Tabor
a8d882dcc5 Merge pull request #22 from jaredevantabor/spud-logo-placement
adjusting placement of spud on login screen
2017-09-06 14:08:28 -07:00
Jared Tabor
35b44af030 adjusting placement of spud on login screen 2017-09-06 13:37:41 -07:00
Shane McDonald
df8ab0d9a9 Pull Dutch and Spanish translations 2017-09-06 14:46:06 -04:00
Michael Abashian
a93cdf8c86 Merge pull request #389 from mabashian/7574-smart-inv-host-list
Hide delete, edit buttons on smart inventory host list
2017-09-06 14:25:41 -04:00
Marliana Lara
9329092c32 Increase verbosity of CTiT Logging test error handling 2017-09-06 12:51:52 -04:00
Aaron Tan
94d4a7e3f0 Fix 7587: Remove credential_type_id in API v1 2017-09-06 10:39:49 -04:00