26472 Commits

Author SHA1 Message Date
mabashian
c91cd606ed
Corresponding UI changes for notifications tab and toggle permissions 2019-04-10 10:31:31 -04:00
AlanCoding
4eab362318
fix RBAC bugs with notification attachment
Allow notification_admin_role users to attach
  NTs from that organization
Require either read_role or auditor_role to the
  object which the NT is being attached to
2019-04-10 10:29:54 -04:00
softwarefactory-project-zuul[bot]
df81eb7533
Merge pull request #3659 from rooftopcellist/prom_test
add prom permissions test

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-10 14:24:42 +00:00
Keith Grant
909c5e77c4 rename all test files to *.test.js 2019-04-10 09:55:57 -04:00
softwarefactory-project-zuul[bot]
1bb5d560bd
Merge pull request #3663 from kialam/fix-3414-job-output-live-updates-disabled
Fix job output name in websocket service.

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-10 13:52:08 +00:00
softwarefactory-project-zuul[bot]
652281b6fa
Merge pull request #3645 from AlexSCorey/2281-HostEventToolTip
Add tool tip to Host Event lines.

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-09 21:17:08 +00:00
Kia Lam
b978a28f8b
Fix job output name in websocket service. 2019-04-09 17:04:30 -04:00
softwarefactory-project-zuul[bot]
4664d9556d
Merge pull request #3620 from AlanCoding/gce_instance_id
Add instance_id for gce imported hosts

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-09 20:49:06 +00:00
softwarefactory-project-zuul[bot]
7f935084df
Merge pull request #3653 from AlanCoding/instance_token_management2
Fix 403 bug using write PAT and view.always_allow_superuser=True

Reviewed-by: Alan Rominger <arominge@redhat.com>
             https://github.com/AlanCoding
2019-04-09 20:37:05 +00:00
AlanCoding
988438f119
Remove stdout wrapper classes that moved to runner 2019-04-09 16:28:30 -04:00
softwarefactory-project-zuul[bot]
20a023e243
Merge pull request #3658 from keithjgrant/2526-fix-workflow-results-layout
Fix workflow results layout when extra vars has long line

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-09 19:40:26 +00:00
Christian Adams
f49532090b add prom permissions test 2019-04-09 15:12:04 -04:00
Alex Corey
75a1c69ea2 address concerns in PR 2019-04-09 14:55:34 -04:00
softwarefactory-project-zuul[bot]
7f6659f767
Merge pull request #3657 from ryanpetrello/issue-template-remove-component
remove COMPONENT NAME from our issue templates

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-09 17:50:30 +00:00
Keith Grant
8f05482f8f fix workflow results layout when extra vars has long line 2019-04-09 13:48:25 -04:00
Ryan Petrello
01a79dd23e
remove COMPONENT NAME from our issue templates
this is a remnant from our closed sourced days; upstream bug reporters
only fill this out correctly like 50% of the time, and it's often
difficult to know without knowing how AWX actually works
2019-04-09 12:49:11 -04:00
softwarefactory-project-zuul[bot]
3d308cc2a3
Merge pull request #3636 from ansible/prometheus
Prometheus Metrics

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-09 15:51:27 +00:00
Marliana Lara
2ab688932d
Remove org list links 2019-04-09 11:37:43 -04:00
Alex Corey
4f55ffe4a0 Add tool tip to Host Event lines. 2019-04-09 10:58:23 -04:00
softwarefactory-project-zuul[bot]
6ce972a2a4
Merge pull request #3652 from keithjgrant/3639-codemirror-popout-bug
Don't obscure modal buttons when code mirror modal throws error

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-09 14:20:21 +00:00
softwarefactory-project-zuul[bot]
57b3565f42
Merge pull request #3631 from mabashian/reload-on-pendo-change
Refresh the page after pendo flag changes to make change effective immediately

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-09 14:13:00 +00:00
Wayne Witzel III
1abb0b2c35 restrict metrics to superuser and system auditor 2019-04-09 10:07:38 -04:00
AlanCoding
809fcac738
fix 403 bug using write PAT and view.always_allow_superuser=True 2019-04-09 09:54:52 -04:00
Keith Grant
fa665e81e4 don't obscure modal buttons when code mirror modal throws error 2019-04-09 09:30:58 -04:00
AlanCoding
c4b41a174b
add instance_id for gce imported hosts 2019-04-09 08:20:26 -04:00
softwarefactory-project-zuul[bot]
ce65fdd26c
Merge pull request #3647 from ryanpetrello/cred-namespace-api
expose CredentialType.namespace in the API

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-09 11:50:01 +00:00
Ryan Petrello
aa0179690d
expose CredentialType.namespace in the API
see: https://github.com/ansible/awx/issues/3644
2019-04-08 19:02:10 -04:00
softwarefactory-project-zuul[bot]
67aeecdee5
Merge pull request #3637 from ryanpetrello/install-uuid
add a unique UUID for identifying an AWX installation

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-08 20:17:19 +00:00
softwarefactory-project-zuul[bot]
d14b71ccee
Merge pull request #3643 from AlanCoding/cloudforms_py3
Backport fix to run cloudforms script in py3

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-08 18:06:49 +00:00
AlanCoding
47a3ee7d76
backport fix to run cloudforms script in py3 2019-04-08 13:40:44 -04:00
softwarefactory-project-zuul[bot]
a2bfb0f65c
Merge pull request #3633 from AlanCoding/slice_of_one
Avoid slicing if the inventory only has 1 host

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-08 16:57:51 +00:00
Ryan Petrello
fc9da002d2
add an example config file and make target for starting a prometheus 2019-04-08 12:01:46 -04:00
Christian Adams
e1c6057b4c add insights setting to metrics 2019-04-08 11:49:41 -04:00
Wayne Witzel III
520cbd2015 update prometheus run example 2019-04-08 11:47:10 -04:00
Christian Adams
e2039b7d3f add insights setting to metrics 2019-04-08 11:34:38 -04:00
Keith Grant
70137dea5a fix tests for OrganizationTeams, OrganizationTeamsList 2019-04-08 10:59:26 -04:00
Marliana Lara
3d6790a419
Merge pull request #155 from marshmalien/ux-instance-groups-lookup-height
UX - Lookup static height
2019-04-08 10:40:20 -04:00
softwarefactory-project-zuul[bot]
9125313ed3
Merge pull request #3640 from konkolorado/devel
Removes failing symlink to /usr/bin/python3 during the image build

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-08 14:30:49 +00:00
Wayne Witzel III
2c8900568b add prometheus-client license details 2019-04-08 10:21:05 -04:00
Wayne Witzel III
5c1d2a6f0b flake8 cleanup 2019-04-08 09:35:46 -04:00
Wayne Witzel III
bb5c7a98f3 test prometheus metrics output 2019-04-08 09:28:57 -04:00
Christian Adams
3fb3079264 fix job status metric 2019-04-08 02:47:56 -04:00
Wayne Witzel III
c3812de3d6 initial prometheus commit
Co-authored-by: Wayne Witzel III <wayne@riotousliving.com>
Co-authored-by: Christian Adams <rooftopcellist@gmail.com>
2019-04-08 02:47:56 -04:00
Uriel Mandujano
4821a94944 Removes failing symlink to /usr/bin/python3 during the image build
Installing the latest python36-setuptools automatically creates the symlink from python3 -> python3.6 and from python36 -> /usr/bin/python3.6. Building the images fails when the symlink is created explicitly in the AWX installer.

Signed-off-by: Uriel Mandujano <uriel.mandujano14@gmail.com>
2019-04-06 11:13:41 -05:00
Uriel Mandujano
97e030dd1f Revert "Removes failing symlink to /usr/bin/python3 because that file already exists"
This reverts commit 13fadd38380c1e2b7f8f587f90a43e11987e78af.
2019-04-06 11:10:35 -05:00
Ryan Petrello
dfd4cb55e5
add a unique UUID for identifying an AWX installation 2019-04-05 20:10:55 -04:00
Uriel Mandujano
13fadd3838 Removes failing symlink to /usr/bin/python3 because that file already exists 2019-04-05 16:53:20 -05:00
Jeff Byrnes
7b636a7566
Set up HTTPS w/ proper port & HTTP redirect
HTTPS is, by default, expected to be on port 443.

Also, with HSTS set, we need to be sure that users attempting to arrive
via HTTP are properly redirected to HTTPS.

This does so by:

* Setting up a 301 redirect for any URL to its HTTPS version
* Adjusting the internal port for HTTPS traffic to 8053
* Setting docker-compose to share port 443 → 8053
    - This is configurable via an inventory variable
2019-04-05 16:13:23 -04:00
Jeff Byrnes
28e3c63562
Add optional SSL cert to docker-compose install
In #3322, this mount was added, but only to the standalone
Docker install setup:

github.com/ansible/awx/pull/3322/files#diff-596e32ab54a52bfed763f8a639499fe0

This ensures that the SSL cert is loaded when using docker-compose,
which is the only Docker-based method available as of v4.0.0
2019-04-05 16:13:23 -04:00
AlanCoding
cca9de9a3e
set default slice ct for special cases 2019-04-05 16:12:40 -04:00