softwarefactory-project-zuul[bot]
48f00587f8
Merge pull request #7990 from ryanpetrello/build-needs-facts
...
gather facts for image builds so we can detect arch
Reviewed-by: Christian Adams <rooftopcellist@gmail.com >
https://github.com/rooftopcellist
2020-08-25 16:12:12 +00:00
Ryan Petrello
04229ba14b
gather facts for image builds so we can detect arch
...
related: https://github.com/ansible/awx/pull/7607/
2020-08-25 11:36:26 -04:00
softwarefactory-project-zuul[bot]
e8cc4cee52
Merge pull request #7985 from ryanpetrello/release-14.1.0
...
Bump version to 14.1.0
Reviewed-by: Christian Adams <rooftopcellist@gmail.com >
https://github.com/rooftopcellist
2020-08-25 14:57:57 +00:00
softwarefactory-project-zuul[bot]
5507f264e3
Merge pull request #7919 from marshmalien/7806-smart-inv-detail
...
Add smart inventory host detail view
Reviewed-by: Daniel Sami
https://github.com/dsesami
2020-08-25 14:47:04 +00:00
softwarefactory-project-zuul[bot]
3236f50fe7
Merge pull request #7950 from ryanpetrello/fix-channels-memory-leak
...
work around a memory leak in channels_redis
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-25 14:26:47 +00:00
softwarefactory-project-zuul[bot]
d0e0dbea24
Merge pull request #7986 from kldavis52/api_status_405_error
...
Api status 405 error message update, address issue#5744
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-25 14:00:24 +00:00
Ryan Petrello
e0acf73ac6
add a changelog note about the channels_redis memory leak
2020-08-25 09:58:04 -04:00
Ryan Petrello
e25da217e8
work around a memory leak in channels_redis
...
see: https://github.com/django/channels_redis/issues/212
see: https://github.com/django/channels_redis/pull/219/
2020-08-25 09:58:03 -04:00
Ryan Petrello
04188aa2d6
Bump version to 14.1.0
2020-08-25 09:45:05 -04:00
softwarefactory-project-zuul[bot]
35efbb043d
Merge pull request #7966 from ryanpetrello/vanishing-instance
...
improve job reaping for jobs that were started on a missing Instance
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-25 13:36:35 +00:00
Ryan Petrello
64da67fa2e
mprove error message when changing an inventory from regular -> smart
...
see: https://github.com/ansible/awx/issues/5744
Co-Authored-By: kldavis52 <kyle.linnard.davis@gmail.com >
2020-08-25 09:25:54 -04:00
Marliana Lara
febfb985a4
Add smart inventory host detail view
...
* Remove host toggle from smart inv host list
2020-08-24 17:19:22 -04:00
softwarefactory-project-zuul[bot]
5248ac4498
Merge pull request #7921 from mabashian/6172-schedule-detail-vars
...
Adds extra variables to schedule details
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-24 20:45:32 +00:00
softwarefactory-project-zuul[bot]
1a033653ae
Merge pull request #7978 from jakemcdermott/fix-7977
...
Don't display facts until facts are loaded
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-24 19:33:26 +00:00
softwarefactory-project-zuul[bot]
45f7e4a663
Merge pull request #7911 from AmadeusITGroup/archive_url_scm_type
...
Add Remote Archive SCM Type to support using artifacts and releases as projects
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-24 17:16:12 +00:00
Jake McDermott
0af9e01610
Don't display facts until facts are loaded
2020-08-24 12:55:32 -04:00
softwarefactory-project-zuul[bot]
6ef27e5458
Merge pull request #7962 from hit0ri/fix-broadcast-websocket-secret-length
...
Fix broadcast_websocket_secret length
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-24 16:11:13 +00:00
Philip Douglass
6dc41f54fc
Ensure scm credentials are passed for archive scm type
2020-08-22 11:16:04 -04:00
Ryan Petrello
de59d1d3f6
improve job reaping for jobs that were started on a missing Instance
...
see: https://github.com/ansible/awx/issues/7848
2020-08-21 16:32:17 -04:00
softwarefactory-project-zuul[bot]
2a824fc1d5
Merge pull request #7964 from nixocio/ui_update_button
...
Update disassociate button variant
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-21 19:36:43 +00:00
nixocio
17a40808b4
Update disassociate button variant
...
Update disassociate button variant.
See: https://github.com/ansible/awx/issues/7041
Also: https://tower-mockups.testing.ansible.com/patternfly/instance-groups/instance-groups-instances/
2020-08-21 14:46:15 -04:00
softwarefactory-project-zuul[bot]
fb381c18da
Merge pull request #7961 from mabashian/fix-audit-warnings
...
Fix npm audit warnings
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-21 18:14:47 +00:00
Philip Douglass
30ae0f53ec
Reject setting scm_branch for Remote Archive projects
2020-08-21 13:09:09 -04:00
Philip Douglass
2d23748971
Add Remote Archive SCM Type feature to CHANGELOG.md
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-21 12:53:51 -04:00
softwarefactory-project-zuul[bot]
3c39067d7d
Merge pull request #7958 from shanemcd/fix-container-groups
...
Fix container groups
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-21 13:59:27 +00:00
Taras Dyshkant
e4095a0c27
Fix broadcast_websocket_secret length
...
Password lookup parameters must be within the same set of quotes.
Otherwise a default value of length is used (20).
2020-08-21 16:43:07 +03:00
mabashian
80fe98b8d6
Fix npm audit warnings
2020-08-21 09:20:29 -04:00
Shane McDonald
8ae328e427
Switch back to built-in kubectl connection plugin
...
There's a bug in the upstream community.kubernetes plugin. We can open up a
follow-up PR once that has been patched.
2020-08-20 21:42:07 -04:00
softwarefactory-project-zuul[bot]
51029a8b7a
Merge pull request #7910 from nixocio/ui_issue_5684
...
Add type column to users list
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-20 21:13:00 +00:00
softwarefactory-project-zuul[bot]
5458411b19
Merge pull request #7803 from mabashian/6425-approval-notif
...
Adds support for toggling approval notifications on orgs and wfjts
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-20 20:23:50 +00:00
softwarefactory-project-zuul[bot]
bfe00d46ad
Merge pull request #7903 from jlmitch5/searchableKeysPt3
...
update newly useRequested lists to get advanced searchableKeys
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-20 19:59:54 +00:00
softwarefactory-project-zuul[bot]
b92fab2048
Merge pull request #7866 from nixocio/ui_add_isolated_instance_groups_marker
...
Add label to show isolated group
Reviewed-by: Kersom
https://github.com/nixocio
2020-08-20 18:32:52 +00:00
mabashian
222a65c875
Adds extra variables to schedule details. Updates parameters by which we display prompt fields on schedule details. Extend VariableDetails component to be able to handle values that come in raw JSON form.
2020-08-20 14:29:24 -04:00
mabashian
daeb5a8de8
Only disable single notification row when toggling, not all rows
2020-08-20 14:24:05 -04:00
nixocio
6ed65a9c81
Add label to show isolated group
...
Add label to show isolated group.
See: https://tower-mockups.testing.ansible.com/patternfly/instance-groups/instance-groups/
2020-08-20 13:59:56 -04:00
Philip Douglass
d259500332
Implement Remote Archive SCM Type for ui_next
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 13:52:31 -04:00
Philip Douglass
70cbccd2ef
Add migration for new Remote Archive SCM Type
2020-08-20 13:38:10 -04:00
Philip DOUGLASS
f72b777b07
Add plugin to cleanly manage possibly versioned project archives
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 13:38:10 -04:00
Philip Douglass
6720cd9bda
Add block to download and unpack a remote archive
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 13:38:10 -04:00
Philip Douglass
b011e34fae
Show fields for archive when selected as scm_type
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 13:38:10 -04:00
mabashian
681b765b9a
Adds support for toggling approval notifications on orgs and wfjts
2020-08-20 13:36:32 -04:00
John Mitchell
d03448aa9d
add searchable keys support for AssociateModal and SelectResourceStep lists
2020-08-20 12:53:35 -04:00
John Mitchell
aee2a81b27
update newly useRequested lists to get advanced searchableKeys
2020-08-20 12:53:35 -04:00
nixocio
8402cf97de
Add type column to users list
...
Add type column to users list. Also, update `UserListItem` to be a
functional component.
See: https://github.com/ansible/awx/issues/5684
2020-08-20 12:50:13 -04:00
Philip Douglass
8157ab2fa9
Hide scm_branch field when scm_type is archive
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 12:34:35 -04:00
Philip Douglass
2f3f6e60d1
Add archive to scm_type expected test results
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 12:34:35 -04:00
Philip Douglass
d224aa09f0
Add archive to TestProjectUpdateCredentials test parametrize
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 12:34:35 -04:00
Philip Douglass
997351eee3
Add archive project data to Dashboard view
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 12:34:35 -04:00
Philip Douglass
47cabc4229
Add archive SCM url handling to update_scm_url()
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 12:34:35 -04:00
Philip Douglass
2cfa4eb60a
Add archive option to SCM_TYPE_CHOICES for Remote Archives
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 12:34:35 -04:00
softwarefactory-project-zuul[bot]
a659b9d994
Merge pull request #7851 from mabashian/5910-workflow-prompt
...
Support workflow prompting on launch
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-08-20 16:30:29 +00:00
softwarefactory-project-zuul[bot]
780b2be8bf
Merge pull request #7943 from mabashian/7660-workflow-details
...
Adds workflow detail tab to workflow results
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-08-20 16:30:23 +00:00
softwarefactory-project-zuul[bot]
a2a8c47166
Merge pull request #7864 from nixocio/ui_issue_7767
...
Add feature to edit instance group
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-08-20 16:30:16 +00:00
softwarefactory-project-zuul[bot]
6fcd017d48
Merge pull request #7951 from nixocio/ui_issue_7930
...
Add list of jobs for instance groups
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-20 16:22:35 +00:00
softwarefactory-project-zuul[bot]
bd093b8999
Merge pull request #7947 from nixocio/ui_instance_group_update_css_red
...
Use a patternfly CSS variable instead of red
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-20 16:22:29 +00:00
softwarefactory-project-zuul[bot]
cae45cec21
Merge pull request #7949 from ryanpetrello/even-more-changelog
...
more changelog updates
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-20 15:59:25 +00:00
nixocio
70295c3e75
Add list of jobs for instance groups
...
Add list of jobs for instance groups.
See: https://github.com/ansible/awx/issues/7930
2020-08-20 11:40:04 -04:00
Ryan Petrello
0266ed3836
more changelog updates
2020-08-20 10:44:06 -04:00
softwarefactory-project-zuul[bot]
9ff4712844
Merge pull request #7948 from ryanpetrello/arm-changelog
...
changelog for arm64 builds
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-20 14:34:33 +00:00
Ryan Petrello
821cfba88a
changelog for arm64 builds
2020-08-20 10:05:27 -04:00
nixocio
efa12b12ec
Use a patternfly CSS variable instead of red
...
Use a patternfly CSS variable instead of red.
See: https://pf4.patternfly.org/documentation/overview/global-css-variables
2020-08-20 09:53:39 -04:00
softwarefactory-project-zuul[bot]
070c7e611c
Merge pull request #7936 from AlexSCorey/FixesCredentialLookupNotfetchingdata
...
Adds fix to allow look up to fetch data
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-20 13:42:25 +00:00
softwarefactory-project-zuul[bot]
5d208cc14e
Merge pull request #7607 from agaffney/arm_image_build
...
ARM image build support
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-19 22:07:32 +00:00
softwarefactory-project-zuul[bot]
e22d32c96b
Merge pull request #7705 from anxstj/custom_environments
...
Change Dockerfile to copy custom venv
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-19 21:55:01 +00:00
softwarefactory-project-zuul[bot]
cf116d18b4
Merge pull request #7799 from john-westcott-iv/import-export-collecion-modules
...
Adding import/export modules around AWX Kit features
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-19 20:51:05 +00:00
softwarefactory-project-zuul[bot]
a3eff133fe
Merge pull request #7942 from ryanpetrello/iso-removal
...
fix a bug that prevents the explicit removal of instances from groups
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-19 19:16:20 +00:00
John Westcott IV
a5afe0214a
Trying to make AWXKIT tests not run on python2
2020-08-19 14:29:42 -04:00
John Westcott IV
b93319e359
Updating to remove auth_type since its not longer required
2020-08-19 14:27:02 -04:00
John Westcott IV
2c8c1ff595
Fixing sanity error
2020-08-19 14:14:49 -04:00
John Westcott IV
3abd77c4c0
Fixing oauth token login and making module respect token over username/password
2020-08-19 14:12:50 -04:00
John Westcott IV
a2eab45d61
Trying to gobble up logs incase there are errors
2020-08-19 14:12:50 -04:00
beeankha
76f08744f6
Fix linter whitespace error
2020-08-19 14:12:50 -04:00
John Westcott IV
01e08ba0e1
Fixing exit_module -> exit_json
2020-08-19 14:12:50 -04:00
John Westcott IV
c2e0c0655b
Fixing validate-module errors
2020-08-19 14:12:50 -04:00
John Westcott IV
8688740e93
Fixing ansible pep8 issues
2020-08-19 14:12:50 -04:00
John Westcott IV
3fe61cfa4f
Fixing linting issues
2020-08-19 14:12:50 -04:00
John Westcott IV
5107f164a2
Expanding examples
2020-08-19 14:12:50 -04:00
John Westcott IV
9bf19daa5e
Another linting issue
2020-08-19 14:12:50 -04:00
John Westcott IV
f2b9bdd552
Removed default: '' and updated [] to '' per specification
2020-08-19 14:12:50 -04:00
John Westcott IV
8a0cd747e1
Fixing truthy linting issues
2020-08-19 14:12:50 -04:00
John Westcott IV
748bdbd2dd
Fix python3 Zuul error with awxkit
2020-08-19 14:12:50 -04:00
John Westcott IV
08e5dd87e6
Adding integration tests and example in import
2020-08-19 14:12:50 -04:00
John Westcott IV
40f6741474
Adding import/export awx kit features
...
Changed library structure
Origional TowerModule becomes TowerLegacyModule
TowerModule from tower_api becomes TowerAPIModule
A real base TowerModule is created in tower_module.py
A new TowerAWXKitModule is created in tower_awxkit
TowerAWXKitModule and TowerAPIModule are child classes of TowerModule
2020-08-19 14:12:50 -04:00
mabashian
c0cb1dee91
Adds workflow detail tab to workflow results
2020-08-19 13:55:42 -04:00
Alex Corey
7bff11379c
Update awx/ui_next/src/components/Lookup/CredentialLookup.jsx
...
Co-authored-by: Jake McDermott <yo@jakemcdermott.me >
2020-08-19 13:32:48 -04:00
Ryan Petrello
b14515b287
fix a bug that prevents the explicit removal of instances from groups
2020-08-19 13:22:31 -04:00
softwarefactory-project-zuul[bot]
383f8aa8f9
Merge pull request #7937 from ryanpetrello/only-bearer
...
clean up old authtoken support
Reviewed-by: John Westcott IV
https://github.com/john-westcott-iv
2020-08-19 17:10:51 +00:00
softwarefactory-project-zuul[bot]
9d2498cf6b
Merge pull request #7934 from ryanpetrello/deprecate-mercurial
...
add a deprecation warning for mercurial project syncs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-19 16:32:32 +00:00
Ryan Petrello
815d691622
clean up old authtoken support
...
just use Bearer tokens - those are the only type of tokens we support
2020-08-19 12:23:00 -04:00
Alex Corey
8a2bf8c1fc
adds fix to allow look up to fetch data
2020-08-19 12:18:04 -04:00
softwarefactory-project-zuul[bot]
fb66766463
Merge pull request #7933 from jakemcdermott/fix-7756
...
Use organization api to create users
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-19 15:36:27 +00:00
Ryan Petrello
612bb81976
add a deprecation warning for mercurial project syncs
...
see: https://github.com/ansible/awx/issues/7932
2020-08-19 11:19:03 -04:00
Jake McDermott
dc9f2441df
Embolden user organization name
2020-08-19 11:02:22 -04:00
Jake McDermott
806a468600
Use organization api to create users
...
This ensures that the user will be related to the chosen organization
when it is created.
2020-08-19 11:02:11 -04:00
softwarefactory-project-zuul[bot]
d452c1d7a9
Merge pull request #7918 from ryanpetrello/surro-get-outta-here
...
make event stdout encoding more resilient to UTF-16 surrogate pairs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-18 14:48:11 +00:00
Ryan Petrello
33e2c059ed
make event stdout encoding more resilient to UTF-16 surrogate pairs
...
see: https://en.wikipedia.org/wiki/Universal_Character_Set_characters#Surrogates
2020-08-18 10:23:20 -04:00
softwarefactory-project-zuul[bot]
e7281a753f
Merge pull request #7922 from shanemcd/pin-xdist
...
Fix API tests
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-18 12:52:45 +00:00
Shane McDonald
54e87378d5
Pin pytest-xdist
2020-08-17 20:43:02 -04:00
mabashian
1e9a71a2e4
Run prettier
2020-08-13 11:55:57 -04:00
mabashian
98b7f3b618
Support workflow prompting on launch
2020-08-13 11:36:58 -04:00
softwarefactory-project-zuul[bot]
54f8742747
Merge pull request #7070 from JoelKle/fix_rerun_ability
...
Installer - local_docker - fixed the ability to rerun the playbook
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-13 14:12:08 +00:00
softwarefactory-project-zuul[bot]
06efba6f72
Merge pull request #7800 from AlexSCorey/7789-UserTokenDetails
...
Adds User Token Details page
Reviewed-by: Daniel Sami
https://github.com/dsesami
2020-08-12 21:00:38 +00:00
Alex Corey
15fda43a10
Utilizes UserDateDetail, Capitalizes Scope value, fixes spelling errors
2020-08-12 16:34:59 -04:00
Alex Corey
19d6a3f65e
Adds User Token Details page
2020-08-12 16:33:32 -04:00
softwarefactory-project-zuul[bot]
f86697536c
Merge pull request #7807 from marshmalien/7683-smart-inv-hosts
...
Add smart inventory host list view
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-12 18:41:51 +00:00
softwarefactory-project-zuul[bot]
d17266fae0
Merge pull request #7895 from jlmitch5/searchOptionsRequestsPass2
...
update existing relatedSearchKey requests to new convention and fix U…
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-12 17:19:17 +00:00
John Mitchell
dd68b6ed73
update existing relatedSearchKey requests to new convention and fix UJT searchKeys
2020-08-12 12:21:10 -04:00
Marliana Lara
214cb76e1e
Add custom host toggle tooltip for smart inventory hosts
2020-08-12 10:40:59 -04:00
softwarefactory-project-zuul[bot]
9c13c07169
Merge pull request #7894 from ansible/chrismeyersfsu-patch-2
...
Update websockets.md
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-12 14:23:33 +00:00
softwarefactory-project-zuul[bot]
1d5bdedc9b
Merge pull request #7893 from AlanCoding/awx_awx_141
...
Add changelog preparing for awx.awx 14.1.0 bug fix
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-12 14:16:31 +00:00
softwarefactory-project-zuul[bot]
019ad9da73
Merge pull request #7880 from jlmitch5/kebabifyAdvancedSearch
...
kebabify additional controls when advanced search is displayed
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-12 13:53:52 +00:00
Chris Meyers
5dd2cb10b4
Update websockets.md
2020-08-12 09:52:10 -04:00
Chris Meyers
aa8d3d5ae4
Update websockets.md
...
Add more details about backplane websocket functionality.
2020-08-12 09:49:24 -04:00
Alan Rominger
dfad5117fa
Add changelog preparing for awx.awx 14.1.0 bug fix
2020-08-12 09:47:52 -04:00
John Mitchell
54d13b6397
remove unnecessary selectors from kebabification test
2020-08-12 09:26:46 -04:00
John Mitchell
1323626d5e
add onShowAdvancedSearch callback test
2020-08-12 09:26:46 -04:00
John Mitchell
a352de3da7
change name of hook to be useKebabifiedMenu
2020-08-12 09:26:46 -04:00
John Mitchell
8f04026404
kebabify additional controls when advanced search is displayed
2020-08-12 09:26:46 -04:00
softwarefactory-project-zuul[bot]
0adb9cfd45
Merge pull request #7888 from nixocio/ui_remove_undefined_prop
...
Remove undefined prop from SelectedList call
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-12 13:14:26 +00:00
nixocio
aace8f5032
Remove undefined prop from SelectedList call
...
Remove undefined prop from `SelectedList` call.
2020-08-11 16:44:03 -04:00
Marliana Lara
8a4d45ddb6
Add smart inventory host list view
2020-08-11 14:48:39 -04:00
softwarefactory-project-zuul[bot]
025a979cb2
Merge pull request #7867 from keithjgrant/5651-notification-templates
...
Notification templates list & details
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-11 18:10:35 +00:00
Keith Grant
d27d4e4f28
workaround import/dependency bug in tests
2020-08-11 10:36:42 -07:00
softwarefactory-project-zuul[bot]
1dfc9d224c
Merge pull request #7875 from ryanpetrello/more-changes
...
changelog updates for recent additions
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-11 17:24:32 +00:00
Ryan Petrello
5fb1b1ceea
changelog updates for recent additions
2020-08-11 12:52:52 -04:00
Keith Grant
65d4c347c9
add ObjectDetails for HTTP Headers display
2020-08-11 09:36:11 -07:00
Keith Grant
4c555815b3
add notification list tests
2020-08-11 09:36:11 -07:00
Keith Grant
8bb1c985c0
send test notifications
2020-08-11 09:36:11 -07:00
Keith Grant
1405f6ca51
add notification status indicator
2020-08-11 09:36:10 -07:00
Keith Grant
a9451c9864
more template details; add template delete button
2020-08-11 09:36:10 -07:00
Keith Grant
ab4628b199
flush out template detail
2020-08-11 09:36:10 -07:00
Keith Grant
182dce3dc3
flushing out notification template detail
2020-08-11 09:36:10 -07:00
Keith Grant
fbd1147cff
start notification template list
2020-08-11 09:36:10 -07:00
softwarefactory-project-zuul[bot]
0e730311bb
Merge pull request #7871 from ryanpetrello/upgrade-ldap
...
update to a newer python-ldap to address a bug
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-11 16:29:30 +00:00
softwarefactory-project-zuul[bot]
9d4c05b15e
Merge pull request #7872 from AlanCoding/devel_version
...
Fix awx.awx version replacement regex
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-11 15:47:16 +00:00
nixocio
e3fe680d14
Add feature to edit instance group
...
Add feature to edit instance group.
See: https://github.com/ansible/awx/issues/7767
2020-08-11 10:37:08 -04:00
softwarefactory-project-zuul[bot]
3ca43e63b5
Merge pull request #7808 from zedr/feat-yaml-import
...
Allow YAML as a CLI import format
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-11 14:31:01 +00:00
Alan Rominger
2a0c61de63
Change regex to match what is in source
2020-08-11 10:04:14 -04:00
Ryan Petrello
987c7d48a0
minor cleanup up CLI import -f yaml support
2020-08-11 09:44:13 -04:00
Ryan Petrello
5e9d372db2
update to a newer python-ldap to address a bug
...
see: https://github.com/ansible/awx/issues/7868
2020-08-11 09:34:04 -04:00
Rigel Di Scala
579604d2c6
Allow YAML as a CLI import format
...
This changset allows the import of YAML formatted resources. The CLI
user can indicate which format to use with the `-f, --format` option.
The CLI help text has been amended to reflect the new feature.
The AWX CLI `export` subcommand offers the option of formatting the output
as YAML or JSON, so it makes sense that the `import` subcommand reflects
this.
A simple test is also provided. In order to ease the task of testing
commands that import resources by reading the stdin, the CLI has been
extended to allow specifying an alternative file descriptor for stdin,
similarly to stdout and stderr.
2020-08-10 23:43:53 +02:00
softwarefactory-project-zuul[bot]
ddb6c5d0cc
Merge pull request #7644 from marshmalien/smart-inventory-forms
...
Add smart inventory add/edit forms and host filter lookup
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-10 19:08:36 +00:00
softwarefactory-project-zuul[bot]
9bd6a323aa
Merge pull request #7860 from AlanCoding/upgrade_gitpython
...
Upgrade gitpython to pick up bug fix
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-10 19:07:26 +00:00
Alan Rominger
8aacd006e0
Revert updater changes to Ansible requirements
2020-08-10 14:29:07 -04:00
Alan Rominger
f269d5b2ed
Upgrade gitpython to pick up bug fix
2020-08-10 14:29:05 -04:00
Marliana Lara
af218aaa0b
Decode host filter chip values and fix boolean search filter chip bug
2020-08-10 14:19:55 -04:00
Marliana Lara
8e6d475a9d
Add smart inventory edit form
2020-08-10 14:09:01 -04:00
Marliana Lara
6a304dce55
Add smart inventory add form and host filter lookup
2020-08-10 14:09:01 -04:00
Marliana Lara
5864d61b5b
Refactor organization look to use useRequest hook
2020-08-10 14:08:57 -04:00
softwarefactory-project-zuul[bot]
fbb9998b68
Merge pull request #7776 from nixocio/ui_add_instance_group
...
Add feature to add instance group
Reviewed-by: Kersom
https://github.com/nixocio
2020-08-10 17:35:01 +00:00
softwarefactory-project-zuul[bot]
c6317c0113
Merge pull request #7861 from ansible/chrismeyersfsu-patch-1
...
Update websockets.md
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-10 17:33:54 +00:00
softwarefactory-project-zuul[bot]
d48cc1ab43
Merge pull request #7847 from zedr/feat-workflow-labels
...
Export Workflow Job Template Node Labels
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-10 17:27:21 +00:00
softwarefactory-project-zuul[bot]
ccdb2b4ca3
Merge pull request #7856 from zedr/fix-related-import-return
...
Fix early return in assign related method
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-10 17:26:05 +00:00
nixocio
897c8b74a5
Add feature to add instance group
...
Add feature to add instance group.
See: https://github.com/ansible/awx/issues/7744
2020-08-10 13:06:56 -04:00
Chris Meyers
fdc53bd0d3
Update websockets.md
...
spelling
2020-08-10 12:58:49 -04:00
Chris Meyers
1cf48ffc9e
Update websockets.md
...
Add documentation for websocket backplane secret key exchange logic.
2020-08-10 12:58:49 -04:00
Rigel Di Scala
0beff054af
Export Workflow Job Template Node Labels
...
This change adds related Labels to the Workflow Job Template document that is
exported by the AWX CLI.
Previously, exporting and then importing Workflow Job Templates would
not retain their related Labels.
2020-08-10 12:56:52 -04:00
Rigel Di Scala
eeebd517d1
Fix early return in assign related method
...
This change fixes an erroneus early return in a private method that was
preventing more than one type of related object from being correctly
assigned to the parent object, and therefore imported.
Also, a minor spelling mistake was corrected.
2020-08-10 12:54:23 -04:00
softwarefactory-project-zuul[bot]
395b338221
Merge pull request #7863 from ryanpetrello/fix-tox
...
fix busted flake8 CI
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-10 16:53:08 +00:00
Ryan Petrello
32542021c6
fix busted flake8 CI
2020-08-10 12:26:12 -04:00
softwarefactory-project-zuul[bot]
52bb71b63e
Merge pull request #7840 from beeankha/credential_input_idempotency
...
Make 'inputs' Unchanged When Blank in Credentials Module
Reviewed-by: Bianca Henderson <beeankha@gmail.com >
https://github.com/beeankha
2020-08-06 18:04:15 +00:00
softwarefactory-project-zuul[bot]
91df10dbb5
Merge pull request #7739 from jlmitch5/advSearch
...
Advanced search
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-06 17:57:24 +00:00
John Mitchell
61ce8cb029
delete inadverdently added back InventoryScriptLookup file
2020-08-06 13:21:00 -04:00
John Mitchell
cbea77a90c
update rest of lookups to use correct searchableKeys props
2020-08-06 13:21:00 -04:00
John Mitchell
f8bd8abc82
make name default searchColumn for ProjectJobTemplatesList. also add helpful error message to tell you this is the issue
2020-08-06 13:21:00 -04:00
John Mitchell
f24654fb26
update searchablekeys prop names for project lookup
2020-08-06 13:21:00 -04:00
John Mitchell
495b4142c7
make sortColumnKey error message more clear
2020-08-06 13:21:00 -04:00
John Mitchell
f15325aebf
add back in searchable keys props to user token list
2020-08-06 13:21:00 -04:00
John Mitchell
5b362ef162
add selectors for cypress tests
2020-08-06 13:21:00 -04:00
John Mitchell
0876b944ed
fix AddRersourceRole sort column
2020-08-06 13:21:00 -04:00
John Mitchell
ede1260675
fix merge conflicts and failing test
2020-08-06 13:21:00 -04:00
John Mitchell
36585ad74e
Move Search to hooks and excise PF Dropdown in favor of Select
2020-08-06 13:21:00 -04:00
John Mitchell
dc2bf503d1
Add AdvancedSearch propTypes and defaultProps
2020-08-06 13:21:00 -04:00
John Mitchell
2229d43e8b
fix duplicate variable and key usng array index issues
2020-08-06 13:21:00 -04:00
John Mitchell
5ffc2e4188
Updates to support advanced search changes:
...
- make set type and lookup prefixes/suffixes on searchColumns explicitly defined
- send possible search keys from options requests on (most) lists
2020-08-06 13:21:00 -04:00
John Mitchell
b46a87209a
Add advanced search to UI
2020-08-06 12:17:49 -04:00
softwarefactory-project-zuul[bot]
c7dd0bc2b9
Merge pull request #7842 from nixocio/ui_remove_not_defined_props
...
Remove showExpandCollapse prop from the DataListToolbar calls
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-06 16:16:00 +00:00
softwarefactory-project-zuul[bot]
0b38a8be7e
Merge pull request #7747 from marshmalien/add-settings-framework
...
Add settings navigation skeleton
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-06 16:14:33 +00:00
softwarefactory-project-zuul[bot]
6d9aed35d7
Merge pull request #7810 from mabashian/7564-access-add-btn
...
Fix rbac on Add button on User Access/Team Roles lists
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-06 16:10:55 +00:00
softwarefactory-project-zuul[bot]
16ce7b4647
Merge pull request #7821 from mabashian/7814-form-error
...
Handle form submission errors that may be deeply nested in the return object
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-06 16:09:29 +00:00
softwarefactory-project-zuul[bot]
d58a66d587
Merge pull request #7838 from ryanpetrello/bump-14-0-0
...
Bump version to 14.0.0
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-06 15:45:35 +00:00
nixocio
03274db695
Remove showExpandCollapse prop from the DataListToolbar calls
...
Remove showExpandCollapse prop from the DataListToolbar calls. This is
not an expected prop to be passed to this component.
Inside DataListToolbar.
```
const showExpandCollapse = onCompact && onExpand;
```
In order to use this feature, `onCompact` and `onExpand` props should
be passed.
...
2020-08-06 10:58:20 -04:00
softwarefactory-project-zuul[bot]
2c5d3ff64a
Merge pull request #7477 from AlanCoding/ee_req
...
Add execution environment metadata to AWX collection
Reviewed-by: Alan Rominger <arominge@redhat.com >
https://github.com/AlanCoding
2020-08-06 14:24:39 +00:00
AlanCoding
f953e6ab55
Add execution environment metadata to AWX collection
2020-08-05 22:46:23 -04:00
beeankha
dcc500e7bb
Make 'inputs' idempotent in credentials module, add test to check this works
2020-08-05 16:44:22 -04:00
Ryan Petrello
99e417d748
Bump version to 14.0.0
2020-08-05 16:22:03 -04:00
softwarefactory-project-zuul[bot]
1c0dc1cccb
Merge pull request #7836 from ryanpetrello/downstream-merge
...
merge in a few downstream fixes
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-05 19:42:53 +00:00
Ryan Petrello
6067fc36f6
begin a 14.0.0 changelog
2020-08-05 14:53:01 -04:00
Ryan Petrello
0c6be1f4d7
Merge branch 'downstream' into devel
2020-08-05 14:48:36 -04:00
softwarefactory-project-zuul[bot]
57732d4630
Merge pull request #7824 from shanemcd/fix-isolated-dev-env
...
Fix isolated dev env
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-04 23:30:56 +00:00
softwarefactory-project-zuul[bot]
3af31df2c9
Merge pull request #7823 from john-westcott-iv/cancel_500_error
...
Catching runtime error
Reviewed-by: Ryan Petrello
https://github.com/ryanpetrello
2020-08-04 22:25:50 +00:00
Shane McDonald
00ea453ccd
Fix isolated dev env
2020-08-04 17:25:57 -04:00
John Westcott IV
27676b0634
Adding RuntimeError which is returned from a connection error in awx/main/dispatch/control.py
2020-08-04 17:17:38 -04:00
mabashian
4a3e4af0d9
Updated import/export names for consistency
2020-08-04 15:29:59 -04:00
mabashian
b145f97e0e
Handle form submission errors that may be deeply nested in the return object
2020-08-04 14:30:42 -04:00
softwarefactory-project-zuul[bot]
2a9804e589
Merge pull request #7768 from wenottingham/add-some-nozzles
...
Create marginally more realistic event data with firehose
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-04 16:02:27 +00:00
softwarefactory-project-zuul[bot]
b990271dec
Merge pull request #7811 from ryanpetrello/deprecate-galaxy-basic-auth
...
mark PRIMARY_GALAXY_USERNAME and PRIMARY_GALAXY_PASSWORD as deprecated
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-04 14:45:58 +00:00
Ryan Petrello
76ba363513
mark PRIMARY_GALAXY_USERNAME and PRIMARY_GALAXY_PASSWORD as deprecated
2020-08-04 10:18:40 -04:00
mabashian
4ce2235f68
Fix rbac on Add button on User Access/Team Roles lists
2020-08-04 08:49:51 -04:00
Bill Nottingham
bd6cac966a
Create marginally more realistic event data with firehose
2020-08-03 20:57:10 -04:00
softwarefactory-project-zuul[bot]
15c4ab3a9b
Merge pull request #7802 from ryanpetrello/vnnn-minus
...
remove vNNN from example migration files
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-03 20:09:24 +00:00
Ryan Petrello
820c0782ad
remove vNNN from example migration files
2020-08-03 15:30:37 -04:00
softwarefactory-project-zuul[bot]
b11908ed1f
Merge pull request #7577 from AlexSCorey/RemovesInventoryScripts
...
Removes Inventory Script screens, routes, stubs etc.
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-03 18:37:25 +00:00
softwarefactory-project-zuul[bot]
e20ea5edba
Merge pull request #7724 from AlexSCorey/7434-UserTokensDelete
...
Adds delete functionality to user tokens list
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-03 18:14:28 +00:00
Alex Corey
3d08754be5
Removes Inventory Script screens, routes, stubs etc.
2020-08-03 14:07:44 -04:00
Alex Corey
164d4e6419
Adds delete functionality to user tokens list
2020-08-03 13:46:34 -04:00
softwarefactory-project-zuul[bot]
d5ab54977c
Merge pull request #7796 from zedr/fix-py3-yaml-bytes-decoded
...
Fix garbage being printed when exporting as YAML - related #7795
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-03 16:38:16 +00:00
Rigel Di Scala
490746fe8c
Fix garbage being printed when exporting as YAML - related #7795
...
This resolves issue #7795 , by passing the `encoding` keyword argument
only when the code is run on a Python 2 interpreter.
related #7795 .
2020-08-03 11:57:45 -04:00
softwarefactory-project-zuul[bot]
def79de72b
Merge pull request #7785 from mabashian/convert-NotificationList-functional
...
Converts NotificationList to functional component and now uses useRequest
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-31 19:29:56 +00:00
softwarefactory-project-zuul[bot]
f2fa28e9dc
Merge pull request #7786 from mabashian/convert-OrganizationLookup-useRequest
...
Updates OrganizationLookup to use useRequest
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-31 19:29:50 +00:00
Andrew Gaffney
02252f3f97
ARM image build support
...
* upgrade `chromedriver` for ARM support
* upgrade `pynacl` to fix `libsodium` build issue on ARM
* remove unnecessary i686-specific `libstdc++.so.6` package
* install `kubectl` and `tini` from upstream binaries for ARM support
* use upstream `postgres` and `alpine` docker images for `postgresql` helm chart
Fixes #7051
2020-07-31 14:22:35 -04:00
softwarefactory-project-zuul[bot]
fed02ef14a
Merge pull request #7634 from norpol/patch-1
...
Fix requirements updater.sh "sourcing" snippet
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-31 17:54:17 +00:00
softwarefactory-project-zuul[bot]
1077e218bd
Merge pull request #7782 from ryanpetrello/galaxy-collection-install-29
...
only support ansible-galaxy collection in 2.9+
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-31 17:54:10 +00:00
softwarefactory-project-zuul[bot]
76f75f1745
Merge pull request #7787 from squidboylan/collection_test_fix
...
Fix collection test inventory
Reviewed-by: Alan Rominger <arominge@redhat.com >
https://github.com/AlanCoding
2020-07-31 17:26:25 +00:00
softwarefactory-project-zuul[bot]
1bb597bba4
Merge pull request #7788 from ryanpetrello/eff-string
...
fix a typo in an f-string
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-31 17:22:35 +00:00
Ryan Petrello
a0e5e74cab
fix a typo in an f-string
2020-07-31 12:48:45 -04:00
Caleb Boylan
d935e3c5a3
Fix collection test inventory
2020-07-31 09:47:10 -07:00
mabashian
460ce7fcfa
Updates OrganizationLookup to use useRequest
2020-07-31 12:01:55 -04:00
softwarefactory-project-zuul[bot]
ec8725d54f
Merge pull request #7614 from vjanssens/5626-add-item-count
...
Add pagination/item count to DataListToolbar
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-31 14:58:29 +00:00
mabashian
d8af8baae3
Converts NotificationList to functional component and now uses useRequest
2020-07-31 10:49:27 -04:00
softwarefactory-project-zuul[bot]
d36999acc7
Merge pull request #7784 from ryanpetrello/comments
...
make these issue template sentences comments
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-31 14:34:06 +00:00
Ryan Petrello
5b8cfa353f
make these issue template sentences comments
...
(because people are filing issues and leaving this text at the top)
2020-07-31 09:58:52 -04:00
softwarefactory-project-zuul[bot]
07e86adbb7
Merge pull request #7750 from Orabig/devel
...
Allow to use an existing PVC for postgresql install with Helm
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-31 13:53:09 +00:00
Ryan Petrello
1ad623f253
only support ansible-galaxy collection in 2.9+
...
see: https://github.com/ansible/awx/issues/7769
2020-07-31 09:42:07 -04:00
softwarefactory-project-zuul[bot]
c0a0e16ba0
Merge pull request #7742 from nixocio/ui_rebased_issue_7640
...
Add details page for instance group
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-30 20:07:54 +00:00
softwarefactory-project-zuul[bot]
91d3f954cd
Merge pull request #7772 from mabashian/convert-ResourceAccessList-functional
...
Converts ResourceAccessList to functional component
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-30 18:10:29 +00:00
softwarefactory-project-zuul[bot]
b5f87b1bac
Merge pull request #7774 from ryanpetrello/bug-filing-extra
...
update the bug report and feature templates w/ additional instructions
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-30 18:03:43 +00:00
Ryan Petrello
173628c709
update the bug report and feature templates w/ additional instructions
2020-07-30 13:24:54 -04:00
softwarefactory-project-zuul[bot]
2cabaf8727
Merge pull request #7732 from AlexSCorey/7728-TeamsUsers
...
Adds Teams Access List and renames Tabs and files under teams
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-30 16:09:14 +00:00
softwarefactory-project-zuul[bot]
d38b3afd21
Merge pull request #7764 from fosterseth/add-kubernetes_web_svc_type
...
Add kubernetes_web_svc_type variable to installer/inventory
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-30 14:59:39 +00:00
softwarefactory-project-zuul[bot]
162aab7272
Merge pull request #7738 from mabashian/test-console-cleanup
...
Test console cleanup
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-30 14:20:20 +00:00
mabashian
dcaab9bc8b
Converts ResourceAccessList to functional component
2020-07-30 10:10:56 -04:00
softwarefactory-project-zuul[bot]
8f1c071acf
Merge pull request #7733 from nixocio/ui_update_delete
...
Update delete button variant to secondary
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-30 14:03:36 +00:00
softwarefactory-project-zuul[bot]
efdee6ed1f
Merge pull request #7770 from AlanCoding/falsy_inv
...
Handle not-provided falsy values in tower_inventory_source
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-30 12:24:20 +00:00
AlanCoding
750c22a150
Handle not-provided falsy values in tower_inventory_source
2020-07-29 21:55:20 -04:00
softwarefactory-project-zuul[bot]
b444d10369
Merge pull request #7745 from mabashian/convert-WFJTList-useRequest
...
Converts WorkflowJobTemplatesList to use useRequest in preparation for advanced search
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-29 23:48:10 +00:00
softwarefactory-project-zuul[bot]
2f81a1d803
Merge pull request #7752 from mabashian/convert-ProjectList-useRequest
...
Converts ProjectsList to use useRequest in preparation for advanced search
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-29 23:12:51 +00:00
softwarefactory-project-zuul[bot]
902566ccfb
Merge pull request #7761 from mabashian/convert-OrganizationTeamList-useRequest
...
Converts OrganizationTeamList to use useRequest in preparation for advanced search
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-07-29 23:04:23 +00:00
softwarefactory-project-zuul[bot]
dd828cba26
Merge pull request #7754 from mabashian/convert-JobTemplatesList-useRequest
...
Converts JobTemplatesList to use useRequest in preparation for advanced search
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-07-29 23:04:18 +00:00
softwarefactory-project-zuul[bot]
45809abc6f
Merge pull request #7743 from mabashian/convert-UserList-functional
...
Converts UserList to functional component
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-07-29 22:52:45 +00:00
softwarefactory-project-zuul[bot]
3bcad7be81
Merge pull request #7759 from mabashian/convert-ProjectJobTemplatesList-hooks
...
Update ProjectJobTemplatesList to use useSelected, useRequest, useDeleteItems hooks
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-07-29 22:50:06 +00:00
softwarefactory-project-zuul[bot]
21a2b1a630
Merge pull request #7755 from mabashian/convert-InventorySourcesList-useRequest
...
Converts InventorySourcesList to use useRequest in preparation for advanced search
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-07-29 22:48:32 +00:00
softwarefactory-project-zuul[bot]
0d75e1540c
Merge pull request #7765 from mabashian/convert-InventoryGroupsList-useRequest
...
Convert InventoryGroupsList to use useRequest and useSelected hooks
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-29 22:48:27 +00:00
softwarefactory-project-zuul[bot]
d43ea41b7f
Merge pull request #7748 from jakemcdermott/noportal
...
Delete portal mode
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-29 20:45:04 +00:00
softwarefactory-project-zuul[bot]
aca1e73d84
Merge pull request #7753 from rooftopcellist/fix_unmarked_strings
...
Use quotations when marking strings for translation
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-29 19:37:05 +00:00
Christian Adams
6e75d25b74
Merge pull request #4492 from rooftopcellist/fix_broken_ui_links
...
Use quotations when marking strings for translation [3.7.2]
2020-07-29 15:28:18 -04:00
mabashian
ccecd90015
Convert InventoryGroupsList to use useRequest and useSelected hooks
2020-07-29 15:07:06 -04:00
softwarefactory-project-zuul[bot]
5c400b96fe
Merge pull request #7762 from gamuniz/add_helpful_dialog_profilesql
...
Add helpful dialog profilesql
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-29 18:28:15 +00:00
Seth Foster
07160d9719
Add kubernetes_web_svc_type variable to installer/inventory
...
awx-web-svc is now settable, e.g. ClusterIP or NodePort. Default
is NodePort
2020-07-29 14:18:10 -04:00
Marliana Lara
42158dea59
Hide license route based on install and add useConfig hook
2020-07-29 14:11:49 -04:00
nixocio
a4dd20872c
Add details page for instance group
...
This PR also:
* Modify routing system to add `container_groups` as well.
* Add `DetailBadge` component.
* Add container group files as placeholder.
See: https://github.com/ansible/awx/issues/7640
Also: https://github.com/ansible/awx/issues/7467
2020-07-29 13:27:57 -04:00
Gabe Muniz
0de900a021
fixed for flake8 compliance
2020-07-29 13:13:01 -04:00
mabashian
b35aa1ac83
Converts OrganizationTeamList to use useRequest in preparation for advanced search
2020-07-29 13:12:10 -04:00
Gabe Muniz
9b06fb1e6a
added helpful messaging using profile sql
2020-07-29 12:48:01 -04:00
Alex Corey
24acacbcb6
Renames files to match the tabs better.
2020-07-29 12:24:09 -04:00
mabashian
98e44de7a1
Update capitalization to match PF guidelines
2020-07-29 11:45:58 -04:00
mabashian
b11f2f017f
Update capitalization to match PF guidelines
2020-07-29 11:44:17 -04:00
mabashian
9d8a177c75
Update capitalization to match PF guidelines
2020-07-29 11:43:28 -04:00
mabashian
7d8963388f
Update capitalization to match PF guidelines
2020-07-29 11:41:16 -04:00
mabashian
3e0d0ec62d
Update capitalization to match PF guidelines
2020-07-29 11:39:32 -04:00
mabashian
a34953cd6c
Update list to use useSelected, useRequest, useDeleteItems hooks
2020-07-29 11:32:08 -04:00
Marliana Lara
c24e169bf6
Add settings framework
2020-07-29 10:58:48 -04:00
mabashian
48b29352d7
Converts InventorySourcesList to use useRequest in preparation for advanced search
2020-07-29 10:08:45 -04:00
mabashian
8addc6bb59
Converts JobTemplatesList to use useRequest in preparation for advanced search
2020-07-29 09:48:54 -04:00
Christian Adams
76b25d8c96
Use quotations when marking strings for translation
2020-07-29 09:42:18 -04:00
mabashian
e343c9698d
Converts ProjectsList to use useRequest in preparation for advanced search
2020-07-29 09:09:27 -04:00
mabashian
bc02321689
Adopt useSelected
2020-07-29 08:45:06 -04:00
Benoît Chauvet
e917cffb5f
Allow to use an existing PersistanceVolumeClaim for postgresql install with Helm
...
Signed-off-by: Benoît Chauvet <benoit.chauvet@gmail.com >
2020-07-29 14:11:12 +02:00
Alan Rominger
b4c3da55d2
Merge pull request #4474 from AlanCoding/per_update_cache_37
...
[3.7] Per update roles and collections cache
2020-07-29 06:58:25 -04:00
Christian Adams
b1481ec6e3
Use quotations when marking strings for translation
2020-07-28 21:23:14 -04:00
Jake McDermott
3b597cd80a
Delete portal mode
2020-07-28 20:27:25 -04:00
softwarefactory-project-zuul[bot]
b009b01251
Merge pull request #7707 from nixocio/ui_update_per_mockup
...
Update wording to equal mock up
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-29 00:06:59 +00:00
mabashian
2409bc5ee3
Converts WorkflowJobTemplatesList to use useRequest in preparation for advanced search
2020-07-28 17:13:56 -04:00
mabashian
f775ed3f77
Converts UserList to functional component
2020-07-28 16:22:51 -04:00
nixocio
d373cbdca9
Update delete button variant to secondary
...
Update delete button variant to secondary, except in Modals.
see: https://github.com/ansible/awx/issues/7722
2020-07-28 14:05:12 -04:00
AlanCoding
daaa0c8efe
Avoid using long name of option not in 2.8
2020-07-28 13:57:31 -04:00
Bill Nottingham
c6eb8cf59b
Cache downloaded roles & collections
...
Populate the cache the first time the job is run for a revision
that needs them, and for future runs for that revision just
copy it into the private directory.
Delete the cache on project deletion.
Invalidate the cache on a new project revision
Also download roles/collections during the sync job
Since we're writing into a per-revision cache, we can do this easily now.
Don't try and install content if there aren't any requirements expecting it
Adjust pathing to the proper location.
Force install if doing a manual sync.
Requirements may be unversioned.
Remove the cache when delete-on-update is set
Integrate content caching with existing task logic
Revert the --force flags
use the update id as metric for role caching
Shift the movement of cache to job folder from rsync task to python
Only install roles and collections if needed
Deal with roles and collections for jobs without sync
Skip local copy if roles or collections turned off
update docs for content caching
Design pivot - use empty cache dir to indicate lack of content
Do not cache content if we did not install content
Test changes to allay concerns about reliability of local_path
Do not blow away cache for SCM inventory updates
Remove project update vars no longer used
Remove job pre-creation of content folders
code style edit, always use cache_id as property in tasks
Fix log message
2020-07-28 13:57:28 -04:00
Alex Corey
8e27e0ce28
Teams Access List using Resource Access component
2020-07-28 13:17:11 -04:00
Alex Corey
a070d57080
Adds Teams Roles List and Disassociate functionality
2020-07-28 13:17:11 -04:00
mabashian
721c8d98f8
Prevents debug messages from being logged while tests are running
2020-07-28 13:13:00 -04:00
softwarefactory-project-zuul[bot]
196368d89b
Merge pull request #7736 from beeankha/rrule_module_minor_edits
...
Make Some Doc Edits in the rrule Collections Module
Reviewed-by: Ryan Petrello
https://github.com/ryanpetrello
2020-07-28 16:27:22 +00:00
mabashian
8b2c98ffde
Fixes console errors thrown about React state updates being be wrapped into act(...) on the job template add form
2020-07-28 12:08:40 -04:00
mabashian
1faaba4e6c
Fixes console errors thrown about React state updates being be wrapped into act(...) on the inventory form
2020-07-28 12:05:02 -04:00
Ryan Petrello
7938bf58d4
Merge pull request #4485 from ryanpetrello/more-cred-failure-cleanup-372
...
properly obfuscate connection errors for credential lookup failure
2020-07-28 12:04:03 -04:00
beeankha
fe176a4f8c
Match test playbook output to edited module output
2020-07-28 11:50:19 -04:00
mabashian
7e8d0b5883
Fixes console errors thrown about isValid on the workflow job template form
2020-07-28 11:49:17 -04:00
Ryan Petrello
91594a1ae8
properly obfuscate connection errors for credential lookup failure
2020-07-28 11:38:48 -04:00
mabashian
e6e79227e5
Fixes console errors thrown about isValid on the credential form
2020-07-28 11:26:48 -04:00
Ryan Petrello
b03b12163f
Merge pull request #4486 from ryanpetrello/fix-372-unit-tests
...
pin pytest-forked to fix broken unit tests
2020-07-28 11:18:52 -04:00
Ryan Petrello
1c08206792
pin pytest-forked to fix broken unit tests
2020-07-28 11:16:52 -04:00
softwarefactory-project-zuul[bot]
3f0a8eb5bc
Merge pull request #7633 from nixocio/ui_add_list_instance_group
...
Add feature list instance groups
Reviewed-by: Alex Corey <Alex.swansboro@gmail.com >
https://github.com/AlexSCorey
2020-07-28 14:57:02 +00:00
beeankha
95cf6aa6d0
Make minor edits to the rrule module
2020-07-28 10:36:52 -04:00
nixocio
c2b1209cf3
Add feature list instance groups
...
Add list and delete for instance groups/container groups.
See: https://github.com/ansible/awx/issues/7557
Also: https://github.com/ansible/awx/issues/7642
2020-07-27 16:51:34 -04:00
softwarefactory-project-zuul[bot]
7bec29bac7
Merge pull request #7726 from fosterseth/fix-helm-url
...
Update helm urls in install guide
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-27 18:55:40 +00:00
Seth Foster
053b7caf3a
Update helm urls
2020-07-27 13:01:29 -04:00
softwarefactory-project-zuul[bot]
6b867e7d97
Merge pull request #7596 from nixocio/ui_set_strict_mode
...
Set React to Strict Mode
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-27 15:56:57 +00:00
softwarefactory-project-zuul[bot]
708244881c
Merge pull request #7643 from AlanCoding/per_update_cache
...
Implement per-update cache for roles and collections
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-27 15:45:48 +00:00
Alan Rominger
967f3cc6a7
Merge pull request #4472 from AlanCoding/upgrade_vmware
...
Upgrade community.vmware for better error surfacing
2020-07-27 10:16:12 -04:00
softwarefactory-project-zuul[bot]
e1902b6fe1
Merge pull request #7713 from mabashian/fix-form-field-help
...
Fixes bug where help icon showed up beneath the form label
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-27 13:42:41 +00:00
Vadiem Janssens
36316ae9a5
Fix tests
...
Signed-off-by: Vadiem Janssens <info@vadiemjanssens.nl >
2020-07-26 20:56:40 +02:00
Vadiem Janssens
8e4edca85d
Replace itemCount with DataListToolbar pagination
2020-07-26 20:33:43 +02:00
Vadiem Janssens
30a499b785
Add item count to DataListToolbar
...
Signed-off-by: Vadiem Janssens <info@vadiemjanssens.nl >
2020-07-26 20:33:43 +02:00
softwarefactory-project-zuul[bot]
68c62d74f6
Merge pull request #7671 from jlmitch5/pfUpdate0920
...
update pf to 09 2020 release
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-23 20:57:07 +00:00
Ryan Petrello
847d6c65bd
Merge pull request #4480 from ryanpetrello/372-cred-plugin-30x
...
properly report 30x errors on credential plugin tests
2020-07-23 15:27:27 -04:00
Ryan Petrello
f29e7b9c81
properly report 30x errors on credential plugin tests
2020-07-23 14:50:35 -04:00
Ryan Petrello
32831794ee
Merge pull request #4477 from ryanpetrello/372-signal-deadlock
...
force worker processes to have a different signal handler from the parent
2020-07-23 12:21:44 -04:00
Jeff Bradberry
6b82ae46bc
Force worker processes to have a different signal handler from the parent
...
Situations have come up where the 5+ minute kill signal for
run_task_manager is emitted to the worker process running it, but
since the worker improperly inherited the AWXConsumerBase().stop()
handler a deadlock ultimately was triggered on the database
connection.
2020-07-23 12:09:59 -04:00
Ryan Petrello
26660fa82e
Merge pull request #4464 from ryanpetrello/named-url-vuln-372
...
update the named URL code to properly return 404 vs 403
2020-07-23 12:07:33 -04:00
mabashian
45286ebf41
Fixes bug where help icon showed up beneath the form label. I believe the labelIcon prop was added in a recent update of PF and is what we should be using.
2020-07-23 10:43:10 -04:00
softwarefactory-project-zuul[bot]
71d3fd3dbc
Merge pull request #7698 from geerlingguy/pg-data-use-default-path
...
Use default path for pgdata volume in docker-compose template
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-23 13:02:53 +00:00
softwarefactory-project-zuul[bot]
6527d23b42
Merge pull request #7696 from AmadeusITGroup/fix_invalid_quote_filter
...
Installer: remove quote filter from docker_registry_password
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-23 13:00:52 +00:00
nixocio
1b767daaf6
Update wording to equal mock up
...
Update wording used for 'Job Templates' and 'Credential Types' to be
equal mock up.
See: https://tower-mockups.testing.ansible.com/patternfly/cred-types/cred-types/
Also: https://tower-mockups.testing.ansible.com/patternfly/templates/templates/
2020-07-22 14:00:24 -04:00
Ryan Petrello
860183f178
update the named URL code to properly return 404 vs 403
2020-07-22 12:15:34 -04:00
softwarefactory-project-zuul[bot]
3e753a7315
Merge pull request #7702 from ansible/fix-broken-offline-builds
...
Fix broken offline builds
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-22 13:22:19 +00:00
Stefan Jakobs
58da3df03e
Change Dockerfile to copy custom venv
2020-07-22 14:00:05 +02:00
Shane McDonald
606296f68b
Fix broken offline builds
2020-07-21 18:19:51 -04:00
Jeff Geerling
06fd131637
Use default path for pgdata volume in docker-compose template
2020-07-21 15:35:24 -05:00
softwarefactory-project-zuul[bot]
cf6c36ecab
Merge pull request #7697 from nixocio/ui_small_refactor_credential_type_tests
...
Small update CredentialTypeList
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-21 20:17:23 +00:00
nixocio
fc9f1a3518
Small update CredentialTypeList
...
Small update CredentialTypeList. Update naming of function to
`deleteCredentialTypes`.
2020-07-21 15:50:43 -04:00
Philip DOUGLASS
ab20b5bd10
Installer: remove quote filter from docker_registry_password
...
The docker_registry_password var isn't interpolated by the shell, so
it shouldn't be quoted
Fixes : #7695
Signed-off-by: Philip DOUGLASS <philip.douglass@amadeus.com >
2020-07-21 15:33:42 -04:00
AlanCoding
0e8f30a4a2
Upgrade community.vmware for better error surfacing
2020-07-21 13:03:24 -04:00
AlanCoding
ddb8c93f17
Fix log message
2020-07-21 11:21:21 -04:00
AlanCoding
425c70826f
code style edit, always use cache_id as property in tasks
2020-07-21 10:50:13 -04:00
AlanCoding
8195bd7386
Remove job pre-creation of content folders
2020-07-20 19:45:22 -04:00
AlanCoding
300d54864d
Remove project update vars no longer used
2020-07-20 19:45:21 -04:00
AlanCoding
fefab89815
Integrate content caching with existing task logic
...
Revert the --force flags
use the update id as metric for role caching
Shift the movement of cache to job folder from rsync task to python
Only install roles and collections if needed
Deal with roles and collections for jobs without sync
Skip local copy if roles or collections turned off
update docs for content caching
Design pivot - use empty cache dir to indicate lack of content
Do not cache content if we did not install content
Test changes to allay concerns about reliability of local_path
Do not blow away cache for SCM inventory updates
2020-07-20 19:45:21 -04:00
Bill Nottingham
72848fa097
Remove the cache when delete-on-update is set
2020-07-20 19:45:20 -04:00
Bill Nottingham
85ec3dd5c4
Force install if doing a manual sync.
...
Requirements may be unversioned.
2020-07-20 19:45:20 -04:00
Bill Nottingham
98de4cb35f
Adjust pathing to the proper location.
2020-07-20 19:45:20 -04:00
Bill Nottingham
dab7889715
Don't try and install content if there aren't any requirements expecting it
2020-07-20 19:45:19 -04:00
Bill Nottingham
95e69124af
Also download roles/collections during the sync job
...
Since we're writing into a per-revision cache, we can do this easily now.
2020-07-20 19:45:19 -04:00
Bill Nottingham
1f4c46d873
Invalidate the cache on a new project revision
2020-07-20 19:45:18 -04:00
Bill Nottingham
d272ee3521
Cache downloaded roles & collections
...
Populate the cache the first time the job is run for a revision
that needs them, and for future runs for that revision just
copy it into the private directory.
Delete the cache on project deletion.
2020-07-20 19:45:15 -04:00
softwarefactory-project-zuul[bot]
bedbafe0f9
Merge pull request #7613 from keithjgrant/6622-template-list-websockets
...
Add websocket support to TemplateList
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-20 20:19:57 +00:00
softwarefactory-project-zuul[bot]
676491134d
Merge pull request #7620 from keithjgrant/6621-inventory-sources-sockets
...
Inventory sources websockets
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-20 20:18:51 +00:00
softwarefactory-project-zuul[bot]
b36c5d9209
Merge pull request #7652 from jakemcdermott/fix-7651
...
Check for required node version before build or install
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-20 19:54:21 +00:00
softwarefactory-project-zuul[bot]
7296415fd9
Merge pull request #7635 from tchellomello/user_API_created
...
Exposes created attribute via API for User django ORM
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-20 19:40:47 +00:00
John Mitchell
00b3ff6e51
update snapshot and tooltip test
2020-07-20 14:06:14 -04:00
John Mitchell
bfaa2abd31
update pf to 09 2020 release
2020-07-20 13:42:14 -04:00
Ryan Petrello
34be08d38e
add tests for filtering User.created_by in the API
2020-07-20 11:28:32 -04:00
Jake McDermott
2992a5f5a4
Check node version before build or install
2020-07-20 09:13:43 -04:00
Marcelo Moreira de Mello
3803763c53
Exposes the User.created attribute via API
...
Signed-off-by: Marcelo Moreira de Mello <tchello.mello@gmail.com >
2020-07-17 15:47:17 -04:00
softwarefactory-project-zuul[bot]
f0aec0d444
Merge pull request #7641 from josephpisciotta/devel
...
Remove the NodePort type for the web svc.
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-17 19:01:27 +00:00
softwarefactory-project-zuul[bot]
765595fd11
Merge pull request #7629 from ryanpetrello/k8s-creds
...
add the ability to specify K8S/OCP credentials on a Job Template
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-17 17:07:46 +00:00
Joseph Pisciotta
75c6c068a7
Remove the NodePort type for the web svc.
2020-07-17 12:51:29 -04:00
softwarefactory-project-zuul[bot]
036780d337
Merge pull request #7559 from AlexSCorey/7513-SurveySelectAllBox
...
Removes unneeded select all checkbox in Survey List
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-16 22:39:41 +00:00
Phi|eas |ebada
a05aa20f24
Update updater.sh
...
I wrote this script a year ago and just realized that this sourcing won't work lol
2020-07-16 23:24:09 +02:00
softwarefactory-project-zuul[bot]
4db3cd0326
Merge pull request #7627 from jakemcdermott/fix-7512
...
Show grant and client type validation errors
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-16 21:00:29 +00:00
softwarefactory-project-zuul[bot]
2e07ac3c2c
Merge pull request #7628 from jakemcdermott/fix-7511
...
Improve nav behavior
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-16 21:00:22 +00:00
softwarefactory-project-zuul[bot]
77717b6134
Merge pull request #7631 from jakemcdermott/fix-5236
...
Use summary job_type on host list
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-16 19:40:36 +00:00
Jake McDermott
bf74aae80e
Use summary job_type on host list
2020-07-16 14:10:55 -04:00
Alex Corey
496862592a
fixes erroneous render
2020-07-16 12:59:58 -04:00
Alex Corey
ad536ec3d9
Removes commented out line
2020-07-16 12:59:52 -04:00
Alex Corey
bc69406f31
removes unneeded select all checkbox
2020-07-16 12:59:52 -04:00
Ryan Petrello
959b81aec5
refactor k8s credential injectors to properly handle verify=f
2020-07-16 12:43:10 -04:00
Ryan Petrello
1a39cbc2f4
add tests for k8s credential usage in Job Templates
2020-07-16 12:22:11 -04:00
Ryan Petrello
715dc4ece8
add a license for ruamel.ordereddict (for openshift lib support)
2020-07-16 11:38:54 -04:00
Ryan Petrello
c44f8e9122
implement k8s credential selection in the new patternfly UI
2020-07-16 11:25:03 -04:00
Ryan Petrello
75a0382c31
show k8s credentials in the Job Template prompt on launch UI
2020-07-16 10:53:21 -04:00
Ryan Petrello
0b221a42c0
Add the ability to specify K8S/OCP credentials on a Job Template
...
see: https://github.com/ansible/awx/issues/5735
2020-07-15 17:44:07 -04:00
Jake McDermott
6f43462689
Improve nav behavior
...
* Use more selective route matching when determining if a nav item is
active
* Don't automatically collapse nav groups when user navigates to a
different group
2020-07-15 12:46:08 -04:00
Jake McDermott
d1a4f010b9
Show grant and client type validation errors
2020-07-15 12:05:51 -04:00
softwarefactory-project-zuul[bot]
79b95883a3
Merge pull request #7618 from jakemcdermott/update-deps-03
...
Fix most of this week's npm warnings
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-15 14:49:04 +00:00
Keith Grant
f1e3b4f4f0
add useWsInventorySources tests
2020-07-14 14:29:24 -07:00
Ryan Petrello
c410f1f344
Merge pull request #4458 from ryanpetrello/fifo-cred-plugin-hang-372
...
[3.7.2] remove the usage of create_temporary_fifo from credential plugins
2020-07-14 17:21:35 -04:00
Ryan Petrello
310a0f88e5
remove the usage of create_temporary_fifo from credential plugins
...
this resolves an issue that causes an endless hang on with Cyberark AIM
lookups when a certificate *and* key are specified
the underlying issue here is that we can't rely on the underyling Python
ssl implementation to *only* read from the fifo that stores the pem data
*only once*; in reality, we need to just use *actual* tempfiles for
stability purposes
see: https://github.com/ansible/awx/issues/6986
see: https://github.com/urllib3/urllib3/issues/1880
2020-07-14 16:24:03 -04:00
Keith Grant
4fca57dfd2
add ws support to inventory sources list
2020-07-14 11:43:59 -07:00
Jake McDermott
e89326dbf2
Fix vulnerable 2nd order dependency
2020-07-14 14:42:46 -04:00
softwarefactory-project-zuul[bot]
cd6df9299f
Merge pull request #7286 from john-westcott-iv/lookup_plugins
...
Adding tower_api and tower_get_id lookup plugins
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-14 18:04:27 +00:00
softwarefactory-project-zuul[bot]
80a6d4a29d
Merge pull request #7611 from ryanpetrello/host-recent-job-type
...
add job type to Host summary_fields.recent_jobs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-14 14:04:58 +00:00
John Westcott IV
222e58dd34
Adding lookup to rrule plugin test logic for new tooling
...
This change is provided with the tower_api lookup plugin because the require tower_meta module is part of this commit
2020-07-14 09:38:26 -04:00
John Westcott IV
0be7d9b21a
Removing redundant check
2020-07-14 09:38:26 -04:00
John Westcott IV
5a6c7a5788
Fixing copyrights and linting issues
2020-07-14 09:38:26 -04:00
John Westcott IV
3784f9515e
More refinement of examples
2020-07-14 09:38:26 -04:00
John Westcott IV
6638d6c2bb
Update examples
2020-07-14 09:38:26 -04:00
John Westcott IV
afbdeb5ff8
Fixing linting errors
2020-07-14 09:38:26 -04:00
John Westcott IV
381e9d2901
Reverting commit 81b192c3b0520be0897f95e2630edab295e6bf24, we should fail only if we are > max_objects
2020-07-14 09:38:26 -04:00
John Westcott IV
dd478af227
Overhaul of the testing suite
2020-07-14 09:38:26 -04:00
John Westcott IV
0424370d49
Revamp of the examples
2020-07-14 09:38:26 -04:00
John Westcott IV
1a4bb42ac5
When using return_ids send back a list of strings instead of ints.
...
When we used ints and passed this data into a nother call like:
- name: Create a job template with a looked up credential from a folded lookup
tower_job_template:
name: "{{ job_template_name }}"
credentials: >-
{{ lookup(
'awx.awx.tower_api',
'credentials',
query_params={ 'name' : credential_name },
return_ids=True,
expect_one=True,
wantlist=True
) }}
project: "{{ project_name }}"
inventory: Demo Inventory
playbook: hello_world.yml
job_type: run
state: present
register: create_jt
Ansible would raise this warning:
[WARNING]: The value 30 (type int) in a string field was converted to '30' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change.
Returning a list of strings prevents that.
2020-07-14 09:38:26 -04:00
John Westcott IV
fdb008fb8c
Added note about exception if list view return is > max_objects
2020-07-14 09:38:26 -04:00
John Westcott IV
d793f0bc99
Making the count check >= instead of just >
2020-07-14 09:38:26 -04:00
John Westcott IV
a9c16a6c90
Fixing undefined variabe
2020-07-14 09:38:26 -04:00
Alan Rominger
34c23caed3
make lookup plugin compatible with ansible.tower namespace ( #9 )
2020-07-14 09:38:26 -04:00
AlanCoding
8239232d4d
Delete the tower_get_id plugin and tests
2020-07-14 09:38:26 -04:00
AlanCoding
30ff112c87
Pull in functionality from lookup plugin get_id into tower_api itself
2020-07-14 09:38:26 -04:00
John Westcott IV
f4454a6c93
Make tower_api a generic GET'er
2020-07-14 09:38:26 -04:00
John Westcott IV
44a3057d16
Initial fixes from github comments
2020-07-14 09:38:26 -04:00
John Westcott IV
3c02265986
Fixing doc issue
2020-07-14 09:38:26 -04:00
beeankha
6715ea493f
Fix documentation in api lookup plugin, fix typos in integration tests
2020-07-14 09:38:26 -04:00
John Westcott IV
96ae3268a5
Fixing linting issues
2020-07-14 09:38:26 -04:00
John Westcott IV
6d626b3793
Adding tower_api and tower_get_id lookup plugins
2020-07-14 09:38:26 -04:00
Keith Grant
350c585499
update useWsTemplates to use useWebsocket hook
2020-07-13 13:32:13 -07:00
Keith Grant
b76783791a
add useWsTemplates tests
2020-07-13 13:27:38 -07:00
Keith Grant
981c9527b2
add template list websocket support
2020-07-13 13:27:38 -07:00
softwarefactory-project-zuul[bot]
09dcb91c09
Merge pull request #7598 from keithjgrant/6618-websocket-inventories-list
...
Add Websocket support to inventories list
Reviewed-by: Daniel Sami
https://github.com/dsesami
2020-07-13 20:25:49 +00:00
Ryan Petrello
3ef07ee5f7
Merge pull request #4447 from ryanpetrello/372-master-main-links
...
fixed broken UI links
2020-07-13 15:49:11 -04:00
Gabe Muniz
1edae24644
fixed broken UI links
2020-07-13 15:36:07 -04:00
softwarefactory-project-zuul[bot]
d4b0251845
Merge pull request #7615 from gamuniz/remove_broken_links
...
fixed broken UI links
Reviewed-by: awxbot
https://github.com/awxbot
2020-07-13 19:31:56 +00:00
Gabe Muniz
ff90e64448
fixed broken UI links
2020-07-13 14:53:34 -04:00
Ryan Petrello
ab11d3188d
refactor the job type name into a single property
2020-07-13 09:43:43 -04:00
Ryan Petrello
f51774c06e
add job type to Host summary_fields.recent_jobs
...
see: https://github.com/ansible/awx/issues/5236
2020-07-13 09:02:04 -04:00
softwarefactory-project-zuul[bot]
83458711cd
Merge pull request #7605 from wenottingham/jobberry-fields-forever
...
Add artifacts field of jobs to the allowed list for notifications
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-10 21:01:08 +00:00
Bill Nottingham
46734f5c10
Add artifacts field of jobs to the allowed list for notifications
2020-07-10 16:34:25 -04:00
softwarefactory-project-zuul[bot]
b8b0812e13
Merge pull request #7604 from philipsd6/enable-html-custom-login-info
...
Update help_text for Custom Login Info to show support for HTML
Reviewed-by: awxbot
https://github.com/awxbot
2020-07-10 19:08:48 +00:00
Keith Grant
38e0968690
useWsInventories cleanup
2020-07-10 08:33:35 -07:00
Philip Douglass
1ec2bd7ed2
Update help_text for Custom Login Info to show support for HTML
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-07-10 10:11:02 -04:00
softwarefactory-project-zuul[bot]
d10fdda453
Merge pull request #7575 from weltamdraht/add_extra_hosts
...
Adding inventory variable to set "extra_hosts" in generated compose file
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-10 14:05:26 +00:00
Jake McDermott
2737cded72
Merge pull request #4442 from jakemcdermott/fix-4440
...
[3.7.2] Include instance_id in host edit request
2020-07-10 09:43:50 -04:00
Jake McDermott
4f2ce90137
Include instance_id in host edit request
2020-07-10 09:39:54 -04:00
softwarefactory-project-zuul[bot]
d4305f734a
Merge pull request #7585 from philipsd6/enable-html-custom-login-info
...
Safely enable HTML in Custom Login Info
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-10 12:57:17 +00:00
weltamdraht
347529a0cf
Adding inventory variable to set "extra_hosts" in generated compose file
...
Signed-off-by: weltamdraht <andreas.aderhold@dwd.de >
2020-07-10 13:25:07 +02:00
softwarefactory-project-zuul[bot]
e4470f1200
Merge pull request #7592 from jakemcdermott/fix-7591
...
Include instance_id in host edit request
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-09 21:17:18 +00:00
Keith Grant
f225df1acd
add useWsInventories tests
2020-07-09 14:12:56 -07:00
nixocio
01f210e392
Set React to Strict Mode
...
Set React to Strict Mode.
See: https://reactjs.org/docs/strict-mode.html
2020-07-09 15:37:19 -04:00
Keith Grant
455e018099
refactor shared WS logic into useWebsocket hook
2020-07-09 10:14:03 -07:00
Philip Douglass
4c98a1cb20
Set white-space style based on customLoginInfoIsHTML
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-07-09 18:56:19 +02:00
Philip Douglass
202a68aca0
Add customLoginInfoIsHTML test
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-07-09 18:56:19 +02:00
Philip Douglass
29666bf3b6
Remove white-space: pre-wrap from loginModalNotice
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-07-09 18:56:19 +02:00
Jake McDermott
ddbe20d41b
Include instance_id in host edit request
2020-07-09 11:27:45 -04:00
Ryan Petrello
140d9ae3ee
Merge pull request #4429 from wenottingham/label-maker
...
Reintroduce label filtering
2020-07-09 09:00:57 -04:00
Keith Grant
84bea3d348
websockets: show live inventory source sync status
2020-07-08 15:20:42 -07:00
softwarefactory-project-zuul[bot]
d0ac028265
Merge pull request #7489 from nixocio/ui_issue_7326
...
Add edit credential types
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-08 20:53:09 +00:00
Ryan Petrello
7322e13436
add tests for clarified label permissions
2020-07-08 16:53:05 -04:00
softwarefactory-project-zuul[bot]
9065b29bd6
Merge pull request #7584 from ryanpetrello/jinja2-sandbox
...
use jinja2.sandbox for credential type injectors
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-08 20:53:02 +00:00
softwarefactory-project-zuul[bot]
dbdc856ed3
Merge pull request #7576 from ryanpetrello/instance-group-capabilities
...
show user capabilities for instance groups
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-08 20:05:55 +00:00
Ryan Petrello
1cf2f009ed
prevent unsafe jinja from being saved in the first place for cred types
...
see: https://github.com/ansible/tower-security/issues/21
2020-07-08 15:48:58 -04:00
Ryan Petrello
2bdd83e029
use jinja2.sandbox for credential type injectors
2020-07-08 15:48:47 -04:00
softwarefactory-project-zuul[bot]
e91395d517
Merge pull request #7497 from AlexSCorey/ApplicationTokens
...
Adds Application Token List with delete functionality
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-08 19:42:17 +00:00
softwarefactory-project-zuul[bot]
19115a157e
Merge pull request #7555 from AlexSCorey/7433-UserTokensAdd
...
Adds User TokenAdd Functionality
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-08 19:33:06 +00:00
Alex Corey
a9d4046ec5
Adds Application Token List with delete functionality
2020-07-08 15:13:31 -04:00
Alex Corey
bbc4522063
Adds User TokenAdd Functionality
2020-07-08 14:47:23 -04:00
softwarefactory-project-zuul[bot]
fb3271da3c
Merge pull request #7578 from squidboylan/raise_sleep_timeout
...
Raise job length for testing job wait
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-08 18:36:42 +00:00
Caleb Boylan
56d800e851
Raise job length for testing job wait
2020-07-08 09:28:19 -07:00
Ryan Petrello
319308193c
show user capabilities for instance groups
2020-07-08 09:17:55 -04:00
Keith Grant
15ae0976dd
add sync status indicator to inventory list
2020-07-07 16:37:08 -07:00
softwarefactory-project-zuul[bot]
f121dc59f6
Merge pull request #7529 from nixocio/ui_issue_7471
...
Add stub files for Instance Groups
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-07 21:12:23 +00:00
softwarefactory-project-zuul[bot]
f050b73560
Merge pull request #7568 from jakemcdermott/fix-7534
...
Update to ansible/angular-scheduler#v0.4.4
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-07 19:43:00 +00:00
Jake McDermott
bd624508e3
Update to ansible/angular-scheduler#v0.4.4
2020-07-07 15:04:07 -04:00
softwarefactory-project-zuul[bot]
b9fb9389e6
Merge pull request #7537 from jakemcdermott/fix-7483
...
Fix custom credential field validation
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-07 19:02:53 +00:00
softwarefactory-project-zuul[bot]
bf28bdecb7
Merge pull request #7540 from keithjgrant/6618-websocket-projects-list
...
Add Websocket support to Projects List
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-07 19:00:10 +00:00
softwarefactory-project-zuul[bot]
23cab61408
Merge pull request #7444 from AlexSCorey/7412-OrganizationEditButton
...
Adds edit icon to the OrganizationTeams list
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-07 17:32:34 +00:00
nixocio
777d44ec34
Add edit credential types
...
Add feature to edit credential types.
See: https://github.com/ansible/awx/issues/7326
2020-07-07 13:30:54 -04:00
Ryan Petrello
bc14e995fd
Merge pull request #4434 from ryanpetrello/jinja-injector-sandbox-validation
...
prevent unsafe jinja from being saved in the first place for cred types
2020-07-07 12:47:15 -04:00
Ryan Petrello
61d3a765ee
prevent unsafe jinja from being saved in the first place for cred types
...
see: https://github.com/ansible/tower-security/issues/21
2020-07-07 10:59:14 -04:00
Ryan Petrello
f943277ef0
Merge pull request #4433 from ghjm/webhook_error_detail
...
Error detail in webhook and credential tests
2020-07-07 10:35:21 -04:00
softwarefactory-project-zuul[bot]
9a6da9cea7
Merge pull request #7552 from ikke-t/fix-7545
...
Allow anyone to start awx and awx_task [#7545 ]
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-07 14:34:16 +00:00
Ilkka Tengvall
8b4b1f5f81
Allow anyone to start awx and awx_task [ #7545 ]
2020-07-07 15:04:23 +03:00
Graham Mainwaring
5a96af79d4
Reduce error detail in credential lookups
2020-07-06 21:41:28 -04:00
Graham Mainwaring
b7f37d5e26
Reduce error detail in webhook notification
2020-07-06 21:17:21 -04:00
Graham Mainwaring
d14aee70a1
Don't follow redirects in credential plugins
2020-07-06 17:18:30 -04:00
Ryan Petrello
8aa11f4848
Merge pull request #4430 from ryanpetrello/jinja2-injector-sandbox
...
use jinja2.sandbox for credential type injectors
2020-07-06 15:21:21 -04:00
Jake McDermott
05799d9795
Avoid non-unique field name collisions
...
Custom credentials can have input fields named 'name', 'organization',
'description', etc. Underscore these variables to make collisions
less likely to occur.
2020-07-06 14:08:53 -04:00
Jake McDermott
ea4b435ea7
Ignore required field validation for booleans
2020-07-06 14:08:46 -04:00
Ryan Petrello
2f1b4d81e1
use jinja2.sandbox for credential type injectors
2020-07-06 13:50:33 -04:00
Bill Nottingham
a88f03b372
Reintroduce label filtering
...
Labels are visible if you have a role on the org they are in, or
on a job template they're attached to.
2020-07-06 13:50:00 -04:00
softwarefactory-project-zuul[bot]
dbfb1780f1
Merge pull request #7553 from jakemcdermott/fix-7530
...
Fix self-closing tags for jquery 3.5 compat
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-06 17:01:46 +00:00
Jake McDermott
a89eff3c1a
Remove self-closing tags
...
jquery doesn't like self-closing tags. jquery doesn't like anything.
2020-07-06 09:34:50 -04:00
JoelKle
699f186890
Fixed a bug, where the redis.conf first would be stored with mod 0600
...
and in the next task changed to 0666.
This has broke the ability to rerun the playbook.
Signed-off-by: JoelKle <34544090+JoelKle@users.noreply.github.com >
2020-07-03 08:59:28 +02:00
JoelKle
caab751215
Added the ability, to set the broadcast_websocket_secret variable.
...
This is nessesary if you would like to rerun the playbook.
Signed-off-by: JoelKle <34544090+JoelKle@users.noreply.github.com >
2020-07-03 08:59:28 +02:00
Keith Grant
2e3e1be22a
add useWsProjects tests
2020-07-02 15:42:51 -07:00
softwarefactory-project-zuul[bot]
a74fbd6578
Merge pull request #7432 from elyezer/update-module-tests
...
Only pass either user or org on modules test
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-02 21:01:00 +00:00
Keith Grant
803ea322d6
update path to useThrottle in tests
2020-07-02 10:51:57 -07:00
Keith Grant
9657117941
add ProjectList websocket support
2020-07-02 09:29:56 -07:00
softwarefactory-project-zuul[bot]
b56c753613
Merge pull request #7525 from ryanpetrello/encrypted-keyword
...
don't allow users to specify $encrypted$ for encrypted credential fields
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-02 15:47:33 +00:00
softwarefactory-project-zuul[bot]
8b3dfae717
Merge pull request #7501 from ansible/jakemcdermott-no-modules-for-project-root
...
Delete node_modules in project root
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-02 00:36:56 +00:00
softwarefactory-project-zuul[bot]
8f50514b3d
Merge pull request #7502 from nixocio/ui_lingui_prod
...
Add extraction of strings to be translated as part of build process
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-01 23:09:05 +00:00
Keith Grant
bdb97c173b
move useThrottle to utils
2020-07-01 15:52:06 -07:00
nixocio
24f86cd0d1
Add stub files for Instance Groups
...
Add stub files for Instance Groups. Routing system, and screens layout.
closes: https://github.com/ansible/awx/issues/7471
2020-07-01 17:27:08 -04:00
softwarefactory-project-zuul[bot]
6e651ce275
Merge pull request #7519 from shanemcd/the-ol-copy-paste
...
Copy over some downstream changes
Reviewed-by: Shane McDonald <me@shanemcd.com >
https://github.com/shanemcd
2020-07-01 20:22:51 +00:00
Alex Corey
650a97e989
Adds edit icon to the OrganizationTeams list and renames some files.
2020-07-01 16:08:41 -04:00
Ryan Petrello
1434e5812f
don't allow users to specify $encrypted$ for encrypted credential fields
...
this keyword only has value when you _update_ an existing credential
2020-07-01 15:53:09 -04:00
Shane McDonald
e26387cdf3
Remove references to old images
2020-07-01 14:57:48 -04:00
Shane McDonald
7f81f530fa
Copy over downstream change
...
Allows users to specify pg_username that has uppercase letters to restore succesfully
2020-07-01 14:40:38 -04:00
nixocio
fab94902a0
Add extraction of strings to be translated as part of build process
...
Add extraction of strings to be translated as part of build process for
ui_next.
Also, sets the source locale. See: https://lingui.js.org/tutorials/cli.html#configuring-source-locale
closes: https://github.com/ansible/awx/issues/7451
2020-07-01 12:05:37 -04:00
softwarefactory-project-zuul[bot]
e3e69b4c6b
Merge pull request #7499 from nixocio/ui_translations_issues
...
Add strings to be translated
Reviewed-by: Kersom
https://github.com/nixocio
2020-07-01 15:31:59 +00:00
softwarefactory-project-zuul[bot]
642803e471
Merge pull request #7484 from jakemcdermott/update-deps
...
Remove unused dependencies
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-01 15:14:58 +00:00
softwarefactory-project-zuul[bot]
26f2f159dd
Merge pull request #7396 from AlexSCorey/7235-ApplicationsAddEdit
...
Adds Application edit functionality
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-01 15:08:23 +00:00
Jake McDermott
e962933148
Delete node_modules in project root
2020-07-01 10:51:29 -04:00
Alex Corey
169868b927
Adds edit functionality
2020-07-01 10:37:27 -04:00
nixocio
e0ebd5d46c
Add strings to be translated
...
To identify those strings `npm run extract-strings`.
2020-07-01 10:22:45 -04:00
softwarefactory-project-zuul[bot]
d1f9f4dc86
Merge pull request #7457 from marshmalien/smart-inventory-detail
...
Add smart inventory detail view
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-30 21:45:17 +00:00
softwarefactory-project-zuul[bot]
5c12022529
Merge pull request #7479 from chris93111/patch-2
...
correction inventory endpoint tower_workflow_job_template_node.py
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-30 17:10:25 +00:00
softwarefactory-project-zuul[bot]
d8f6ea3fe8
Merge pull request #7485 from ryanpetrello/words-matter
...
replace certain terms with more inclusive language
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-30 17:00:58 +00:00
softwarefactory-project-zuul[bot]
719a4f8aad
Merge pull request #7436 from AlexSCorey/7419-UserTokens
...
Adds Tokens List
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-30 16:51:56 +00:00
Jake McDermott
7bac7abd67
Fix variable names
2020-06-30 12:34:14 -04:00
Alex Corey
776ee43d90
Fixes missing name bug
2020-06-30 12:22:19 -04:00
Ryan Petrello
78229f5871
replace certain terms with more inclusive language
...
see: https://www.redhat.com/en/blog/making-open-source-more-inclusive-eradicating-problematic-language
2020-06-30 10:49:19 -04:00
Jake McDermott
b4198204a7
Add install step
2020-06-30 10:10:52 -04:00
Jake McDermott
86c1f4d772
Co-locate deps in file
2020-06-30 08:58:37 -04:00
Jake McDermott
e10fb71f93
Move react-scripts to dev dependencies
2020-06-30 08:58:32 -04:00
Jake McDermott
bae50e38da
Remove unused dependencies
2020-06-30 08:58:27 -04:00
softwarefactory-project-zuul[bot]
66739a52d6
Merge pull request #7342 from keithjgrant/6618-job-list-ws
...
Jobs List websockets
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-29 21:51:14 +00:00
softwarefactory-project-zuul[bot]
f060002289
Merge pull request #7478 from ansible/jakemcdermott-fixreadme
...
Fix unescaped README code block
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-29 21:20:18 +00:00
chris93111
b6883ab64e
Update tower_workflow_job_template_node.py
...
correction to lookup inventory
2020-06-29 22:58:18 +02:00
Jake McDermott
9dadb96d45
Fix unescaped README code block
2020-06-29 16:50:44 -04:00
Keith Grant
5304792949
update useWsJobs tests
2020-06-29 13:49:58 -07:00
Keith Grant
a3e0ae66ba
clean up sorting order discrepancies
2020-06-29 13:49:58 -07:00
Keith Grant
9705f7bec6
sort jobs list by selection sort option
2020-06-29 13:49:58 -07:00
Keith Grant
5610309a88
fix sorting jobs by finished date
2020-06-29 13:49:58 -07:00
Keith Grant
25fe090e67
delete un-workable test for useThrottle
2020-06-29 13:49:58 -07:00
Keith Grant
a1f257bd4a
fix joblist updating completed jobs lists
2020-06-29 13:49:58 -07:00
Keith Grant
638a6fdaa1
remove extra logging from JobList tests
2020-06-29 13:49:58 -07:00
Keith Grant
b4a6749699
refactor getJobsById into useWsJobs hook
2020-06-29 13:49:58 -07:00
Keith Grant
e50576c820
failed attempt at useThrottle tests
2020-06-29 13:49:58 -07:00
Keith Grant
0bedd6fbd8
mock websockets; test useWsJobs
2020-06-29 13:49:58 -07:00
Keith Grant
48977e50df
change jobs debounce to throttle; prevent duplicate rows
2020-06-29 13:49:58 -07:00
Keith Grant
7aa8495d1a
debounce fetching of individual jobs
2020-06-29 13:49:58 -07:00
Keith Grant
58b954df3e
fetch individual jobs based on websocket messages
2020-06-29 13:49:58 -07:00
Keith Grant
38079b2ad5
don’t add still running jobs to some jobs lists
2020-06-29 13:49:58 -07:00
Keith Grant
b055d34139
update jobs in list based on websockets
2020-06-29 13:49:58 -07:00
Keith Grant
f2641de260
rough out jobs list websockets
2020-06-29 13:49:58 -07:00
Keith Grant
aa12e323b4
ignore .env.local file
2020-06-29 13:49:58 -07:00
softwarefactory-project-zuul[bot]
65a8a656f7
Merge pull request #7469 from jakemcdermott/fix-7454
...
Use a proxy config that works
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-29 20:21:26 +00:00
Alex Corey
73bb539b16
Adds Tokens List
2020-06-29 16:17:10 -04:00
softwarefactory-project-zuul[bot]
6e99b1cf85
Merge pull request #7452 from nixocio/ui_issue_7430
...
Add Crendential Type Details
Reviewed-by: Daniel Sami
https://github.com/dsesami
2020-06-29 20:06:05 +00:00
Jake McDermott
bde1ff1187
Use a proxy config that works
2020-06-29 15:51:51 -04:00
nixocio
bd660254a5
Add Crendential Type Details
...
Add credential type Details
See: https://github.com/ansible/awx/issues/7430
2020-06-29 15:02:38 -04:00
softwarefactory-project-zuul[bot]
879ab50a12
Merge pull request #7426 from nixocio/ui_issue_7325
...
Add feature to add Credential Type
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-29 18:54:27 +00:00
nixocio
ad10f3581e
Add feature to add Credential Type
...
Add feature to add Credential Type.
See: https://github.com/ansible/awx/issues/7325
2020-06-29 13:39:57 -04:00
Marliana Lara
eec2177315
Add unit tests that check activity stream is hidden appropriately
2020-06-29 13:20:44 -04:00
softwarefactory-project-zuul[bot]
f5d38f57d4
Merge pull request #7375 from vjanssens/5929-consistent-subforms-in-job-template-forms
...
Use consistent layout for subforms in job/template forms
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-29 17:15:23 +00:00
Vadiem Janssens
3f33f1c97d
Fix failing test
...
Signed-off-by: Vadiem Janssens <info@vadiemjanssens.nl >
2020-06-29 12:08:48 -04:00
Vadiem Janssens
f9039703ee
Remove enableWebhooks conditional in WebhookSubForm
...
Signed-off-by: Vadiem Janssens <info@vadiemjanssens.nl >
2020-06-29 12:08:48 -04:00
Vadiem Janssens
be33627755
Remove webhook_key and webhook_url from JT form payload
...
Signed-off-by: Vadiem Janssens <info@vadiemjanssens.nl >
2020-06-29 12:08:48 -04:00
Vadiem Janssens
c9cfaf65a0
Add headingLevels to Title, minor improvements
...
Signed-off-by: Vadiem Janssens <info@vadiemjanssens.nl >
2020-06-29 12:08:48 -04:00
Vadiem Janssens
12b87fca8c
Use consistent layout for subforms in job/template forms
...
Signed-off-by: Vadiem Janssens <info@vadiemjanssens.nl >
2020-06-29 12:08:48 -04:00
Marliana Lara
b5bbfaab11
Add smart inv detail
2020-06-29 11:30:10 -04:00
softwarefactory-project-zuul[bot]
8ea31d8cdd
Merge pull request #7462 from 90er/patch-2
...
Update ISSUES.md
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-29 13:20:02 +00:00
softwarefactory-project-zuul[bot]
5ae7aa7503
Merge pull request #7461 from 90er/patch-1
...
Update INSTALL.md
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-29 13:18:45 +00:00
90er
c89277358f
Update ISSUES.md
...
Fixed typo
2020-06-29 09:16:06 +02:00
90er
7e2b3684e2
Update INSTALL.md
...
Fix typo
2020-06-29 09:11:45 +02:00
softwarefactory-project-zuul[bot]
c7d9d941e3
Merge pull request #7119 from thedoubl3j/hostnogroup
...
added change so that groups and host names cannot share the same name
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-26 20:19:53 +00:00
softwarefactory-project-zuul[bot]
5b9c19df8f
Merge pull request #7115 from nixocio/ui_next_integration
...
UI next integration
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-26 19:42:30 +00:00
Jake Jackson
30757f8289
moved logic to the validate function and fixed tests accordingly
2020-06-26 15:04:48 -04:00
Jake Jackson
606d4e0ea2
added change so that groups and host names cannot share the same name in the same inventory. added tests to validate
2020-06-25 11:25:21 -04:00
Jake McDermott
1df91eece1
Add devel make targets for ui_next
2020-06-25 10:22:07 -04:00
Jake McDermott
01b8087cb3
Align prod and dev routing
2020-06-25 08:56:21 -04:00
nixocio
aef382862c
Update NavItem to link to new basename
...
Update NavItem to link to the new basename, `next`. Thus avoiding to
redirec to the old ui.
See: https://www.patternfly.org/v4/documentation/react/components/nav
2020-06-25 08:56:19 -04:00
Jake McDermott
41d8edf94a
Align imports to django collectstatic locations
...
Co-authored-by: nixocio <nixocio@gmail.com >
2020-06-25 08:56:11 -04:00
Jake McDermott
ddadf332cc
Create static dir during bootstrap
...
Co-authored-by: nixocio <nixocio@gmail.com >
2020-06-25 08:56:07 -04:00
Jake McDermott
12a22d2442
Add basic django app and file serving for ui_next
2020-06-25 08:55:56 -04:00
softwarefactory-project-zuul[bot]
fa53cdf329
Merge pull request #7431 from ryanpetrello/bottleneck
...
add a tool for discovering which tasks/hosts are slow for a JT
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-24 21:32:40 +00:00
softwarefactory-project-zuul[bot]
5445a3b567
Merge pull request #7308 from AlanCoding/in_place_everything
...
Allow for SCM installs of the AWX collection
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-24 19:41:43 +00:00
softwarefactory-project-zuul[bot]
2e37ffdb15
Merge pull request #6690 from john-westcott-iv/modify_tower_cred_type_for_token
...
Modifying tower credential type to include an oauth otken
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-24 16:55:25 +00:00
AlanCoding
3b5640aca3
fix test
2020-06-24 10:41:41 -04:00
softwarefactory-project-zuul[bot]
038688ca48
Merge pull request #7355 from AlexSCorey/ApplicationDetails
...
Adds application details view
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-24 14:37:21 +00:00
Elyézer Rezende
fb5d876b9b
Only pass either user or org on modules test
2020-06-24 10:29:19 -04:00
Ryan Petrello
a62047809f
update awx-manage bottleneck's help text
2020-06-24 10:25:09 -04:00
Ryan Petrello
b1fcc0578c
default awx-manage bottleneck --threshold to 30s
2020-06-24 10:23:01 -04:00
Ryan Petrello
dd42f6351b
minor refactoring of awx-manage bottleneck
2020-06-24 10:19:26 -04:00
Alex Corey
fad4b3ca5a
Adds application details view
2020-06-24 10:00:12 -04:00
Ryan Petrello
ce65f994dc
refactor some timedelta formatting in awx-manage bottleneck
2020-06-24 09:56:23 -04:00
Ryan Petrello
5532760ccf
respect --no-color in awx-manage bottleneck
2020-06-24 09:52:30 -04:00
Ryan Petrello
21ea7eb5dc
add the name of the task to awx-manage bottleneck output
2020-06-24 09:44:39 -04:00
Ryan Petrello
b01ac1bfa6
add support to the bottleneck script for configuring history size
2020-06-24 09:22:53 -04:00
John Westcott IV
f091de438e
Adding help text
2020-06-24 09:14:30 -04:00
John Westcott IV
8a25f385e4
Modifying tower credential type to include an oauth otken
2020-06-24 09:14:30 -04:00
Ryan Petrello
180ed4cd3d
add a tool for discovering which tasks/hosts are slow for a JT
...
this tool looks at the most recent jobs for a specific job template and
attempts to discover the _slowest_ tasks and hosts
$ awx-manage bottleneck --template N
$ awx-manage bottleneck --template N --threshold 1 --ignore yum
$ awx-manage bottleneck --template N --ignore pause --ignore yum
2020-06-24 08:59:48 -04:00
softwarefactory-project-zuul[bot]
c1bbeadf8d
Merge pull request #7427 from ryanpetrello/awxkit-install
...
update instructions and metadata for awxkit/cli installs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-23 22:23:56 +00:00
Ryan Petrello
b6c210ee97
update instructions and metadata for awxkit/cli installs
2020-06-23 17:53:14 -04:00
softwarefactory-project-zuul[bot]
f4514873cd
Merge pull request #7425 from ghjm/no_traceback_on_keyboardinterrupt
...
Don't traceback on KeyboardInterrupt
Reviewed-by: awxbot
https://github.com/awxbot
2020-06-23 20:45:19 +00:00
softwarefactory-project-zuul[bot]
2c59e83beb
Merge pull request #7250 from nixocio/ui_issue_6810
...
Remove style overrides from Lookup component
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-23 20:39:58 +00:00
Graham Mainwaring
29da0abfc1
Don't traceback on KeyboardInterrupt
2020-06-23 16:14:02 -04:00
nixocio
14b2bd3445
Remove style overrides from Lookup component
...
Remove style overrides from Lookup component. Also, update related
tests.
closes: https://github.com/ansible/awx/issues/6810
2020-06-23 16:09:56 -04:00
softwarefactory-project-zuul[bot]
77ecb7b7d5
Merge pull request #7424 from ryanpetrello/changelog-tweak
...
minor CHANGELOG verbiage tweak
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-23 20:08:13 +00:00
Ryan Petrello
a9938c0e64
minor CHANGELOG verbiage tweak
2020-06-23 15:33:22 -04:00
softwarefactory-project-zuul[bot]
69589821ce
Merge pull request #7420 from elyezer/update-credential-creation
...
Update awxkit credential creation
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-23 18:31:50 +00:00
softwarefactory-project-zuul[bot]
5ee865b051
Merge pull request #7416 from jakemcdermott/fix-cred-user-team-org-save
...
Don't send cred user with org
Reviewed-by: Elyézer Rezende
https://github.com/elyezer
2020-06-23 16:49:21 +00:00
Elyézer Rezende
e80942f6cd
Update awxkit credential creation
...
Does not have an organization by default. Let `create_payload` decide if
it should be automatically created or not. This will avoid having more
than one owner when either user or team is passed to `create`.
2020-06-23 12:32:51 -04:00
softwarefactory-project-zuul[bot]
d96cde91a3
Merge pull request #7418 from ryanpetrello/rsyslog-file-perm
...
properly write rsyslog configuration as 0640
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-23 16:01:26 +00:00
softwarefactory-project-zuul[bot]
0aa23a7d63
Merge pull request #7379 from AlanCoding/release_13
...
Bump AWX version, after notable inventory deprecation
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-23 15:55:57 +00:00
Jake McDermott
35e5c7f309
Don't send cred user with org
2020-06-23 11:38:08 -04:00
Ryan Petrello
8174516d3b
properly write rsyslog configuration as 0640
...
see: https://github.com/ansible/tower/issues/4383
2020-06-23 11:25:39 -04:00
Ryan Petrello
d016de8103
adding a few CHANGELOG items
2020-06-23 11:24:22 -04:00
Jeff Bradberry
d8b9d48313
Add a note about import/export
2020-06-23 10:09:32 -04:00
softwarefactory-project-zuul[bot]
a669db989c
Merge pull request #7305 from jlmitch5/pfv4upgrade
...
patternfly v4 upgrade
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-23 14:07:07 +00:00
John Mitchell
07ff3139d6
final fixes to tests and linting for pf v4 react upgrade
2020-06-23 09:37:50 -04:00
Alex Corey
88a38e30c3
Fixes some failing or skipped tests
2020-06-23 09:37:50 -04:00
John Mitchell
28e0ee8b7d
fix a few tests with issues due to pf v4 react upgrade
2020-06-23 09:37:33 -04:00
John Mitchell
92937d1384
make divider show up between breadcrumbs
2020-06-23 09:37:20 -04:00
John Mitchell
9aab085b77
pin pf react core prerelease version to exact in package.json
2020-06-23 09:37:08 -04:00
John Mitchell
29bc6c8b48
make all detail view tabs full width - remove card close button pattern and move to back to resource pattern
2020-06-23 09:36:54 -04:00
John Mitchell
f161617755
add headingLevel prop to pf title components
2020-06-23 09:36:44 -04:00
John Mitchell
bb1687642c
add in pre-release pf dep to fix issue with tests failing and fix the tests
2020-06-23 09:36:32 -04:00
John Mitchell
9f625d61f5
remove unused pf react token dependency
2020-06-23 09:36:20 -04:00
John Mitchell
173d058d88
make tabs of the project detail view card full width
2020-06-23 09:36:05 -04:00
John Mitchell
a5576d2ae9
fix issue where searchbar was always the mobile version at all widths
2020-06-23 09:35:53 -04:00
John Mitchell
957c0b31bf
initial round of jest fixes post v4 update, more aria-labels for modals, more i18nHash filtering to rid warnings, fix of malformed ToolbarContent import, update snapshots
2020-06-23 09:35:36 -04:00
John Mitchell
826b03b78e
make prettier adjustments to things the pf v4 codemod tool broke
2020-06-23 09:35:21 -04:00
John Mitchell
781869a436
adjust styled components for data toolbar overrides with new pf v4 names
2020-06-23 09:35:04 -04:00
John Mitchell
25916d983e
update page header toolbar component names to new pf v4 names
2020-06-23 09:34:49 -04:00
John Mitchell
c762545c47
add aria label prop for alert modal pf component
2020-06-23 09:34:28 -04:00
John Mitchell
e49a99e0f6
after running pf code mod tool to auto update files to conform to v4 and a few manual tweaks
2020-06-23 09:34:04 -04:00
John Mitchell
475b733890
first pass of tweaks needed to compile pf v4 branch
2020-06-23 09:33:39 -04:00
John Mitchell
2a922861c3
update pf deps to v4
2020-06-23 09:33:25 -04:00
softwarefactory-project-zuul[bot]
2385e47ac3
Merge pull request #7392 from jladdjr/unpin_inventory_collections
...
unpin collections used for inventory plugins
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-22 16:44:05 +00:00
softwarefactory-project-zuul[bot]
729949e0d0
Merge pull request #7381 from elyezer/credentials-serializers-validation
...
Enforce single owner field when serializing creds
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-22 12:57:11 +00:00
Elyézer Rezende
37218e1695
Enforce single owner field when serializing creds
...
The CredentialSerializerCreate expect a single owner field according to
its help text but was not validating that. This makes it validate for a
single owner field when creating a Credential.
2020-06-21 11:31:35 -04:00
softwarefactory-project-zuul[bot]
e4eef82a39
Merge pull request #7369 from nixocio/ui_issue_7324
...
Add Credential Type List and Delete
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-19 19:51:50 +00:00
softwarefactory-project-zuul[bot]
bdd5efc2a9
Merge pull request #7390 from rooftopcellist/i18n_awx_translations_es_nl_6-19
...
UI translation strings for AWX 12.0.0+ for es and nl
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-19 19:47:02 +00:00
Christian Adams
f24b15dc2e
Merge pull request #4415 from ansible/i18n_release_3.7.1_translations
...
UI translation strings for release_3.7.1 branch for es and nl
2020-06-19 15:25:33 -04:00
softwarefactory-project-zuul[bot]
a0413b7e0b
Merge pull request #6125 from jbradberry/import-export
...
Import export
Reviewed-by: Jeff Bradberry
https://github.com/jbradberry
2020-06-19 18:46:52 +00:00
Jim Ladd
71cfeda08f
unpin collections used for inventory plugins
...
* unpins collections in requirements/collections_requirements.yml
2020-06-19 09:33:51 -07:00
softwarefactory-project-zuul[bot]
c5addd7c67
Merge pull request #7341 from AlexSCorey/7235-ApplicationsAddEdit
...
7235 applications add
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-19 15:36:04 +00:00
ansible-translation-bot
654675621c
UI translation strings for AWX 12.0.0+ for es and nl
2020-06-19 10:41:53 -04:00
ansible-translation-bot
af199dff7a
UI translation strings for release_3.7.1 branch for es and nl
2020-06-19 10:36:21 -04:00
nixocio
5e5aba59b0
Add Credential Type List and Delete
...
Add `Credential Type` List and Delete features.
See: https://github.com/ansible/awx/issues/7324
Also:https://github.com/ansible/awx/issues/7327
2020-06-19 09:50:59 -04:00
AlanCoding
0dbaf632dc
Documentation updates
2020-06-19 09:49:37 -04:00
softwarefactory-project-zuul[bot]
89b087ffb6
Merge pull request #7389 from ryanpetrello/tmux-dev
...
move tmux to dev dependencies
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-19 13:46:40 +00:00
Alex Corey
ab1e991e01
adds application add functionality and applicatiion form
2020-06-19 09:38:56 -04:00
AlanCoding
a7fe5e1dd2
Fix yamllint error and sync version with module_utils
2020-06-19 09:08:58 -04:00
AlanCoding
96583e9e6b
Make version recognizable as pre-release
2020-06-19 09:08:58 -04:00
AlanCoding
73ee11725d
Add copy note to galaxy file
2020-06-19 09:08:58 -04:00
AlanCoding
721ed516a4
Separate folder for templating collection stuff
2020-06-19 09:08:57 -04:00
AlanCoding
4848f1298a
Include a default galaxy.yml file
2020-06-19 09:08:57 -04:00
John Westcott IV
6c6c1e8488
Adding templating of README.md file for Tower vs AWX collections
2020-06-19 09:08:54 -04:00
Ryan Petrello
31ab386591
move tmux to dev dependencies
2020-06-19 08:47:11 -04:00
Jim Ladd
99b3997084
Merge pull request #4412 from jladdjr/foreman_backwards_compat_for_ssl_verify_3.7.2
...
add backwards support for ssl_verify in foreman
2020-06-18 18:25:53 -07:00
Jim Ladd
35fe255455
add backwards support for ssl_verify in foreman
...
* plugin changed option name from
ssl_verify to validate_cert
2020-06-18 17:02:48 -07:00
softwarefactory-project-zuul[bot]
6682dcbc7c
Merge pull request #7357 from mabashian/awx-dep-upgrades-June-15
...
UI dependency upgrades
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-18 22:03:19 +00:00
softwarefactory-project-zuul[bot]
defa334bd9
Merge pull request #7358 from rebeccahhh/devel
...
removing memchache mentions in comments
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-18 20:20:15 +00:00
softwarefactory-project-zuul[bot]
70f8a02a5e
Merge pull request #7383 from ryanpetrello/tox-py2-bye-bye
...
awxkit dropped py2 support awhile ago; stop running tests in py2
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-18 20:14:32 +00:00
softwarefactory-project-zuul[bot]
3834125d09
Merge pull request #7378 from AlanCoding/minor_test_tweaks
...
Fix some minor issues in the AWX collection tests
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-18 20:00:35 +00:00
Rebeccah
118e1b8df1
removing memchache mentions in comments
...
remove memcached folder as it is no longer needed, also address a couple grammatical errors
2020-06-18 15:52:59 -04:00
Jeff Bradberry
393369adec
First cut at examples of the import and export commands
2020-06-18 15:32:49 -04:00
Ryan Petrello
e732d03b20
awxkit dropped py2 support awhile ago; stop running tests in py2
2020-06-18 15:31:35 -04:00
AlanCoding
f76c57b1ec
Bump AWX version, after notable inventory deprecation
2020-06-18 15:10:10 -04:00
AlanCoding
8fc3377fa6
Minor test fixes
2020-06-18 13:46:28 -04:00
Alan Rominger
3cf4f4729d
[DO NOT PORT to AWX] Pin dev requirements ( #4413 )
2020-06-18 09:22:04 -04:00
softwarefactory-project-zuul[bot]
1321d298ee
Merge pull request #6911 from AlanCoding/rm_all_scripts
...
Remove vendored inventory scripts
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-18 00:08:03 +00:00
softwarefactory-project-zuul[bot]
d6b9077f72
Merge pull request #7351 from nixocio/ui_add_docs_hooks
...
Add section related to custom hooks
Reviewed-by: Kersom
https://github.com/nixocio
2020-06-17 21:31:32 +00:00
softwarefactory-project-zuul[bot]
0e274c3038
Merge pull request #7372 from shanemcd/support-wait-for-first-consumer
...
Support PVCs that were created w/ WaitForFirstConsumer
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-17 21:23:26 +00:00
Shane McDonald
43bf2989af
Support PVCs that were created w/ WaitForFirstConsumer
2020-06-17 16:40:33 -04:00
nixocio
2e33c69e9c
Add section related to custom hooks
...
Add section related to custom hooks, and their usage.
2020-06-17 16:39:23 -04:00
softwarefactory-project-zuul[bot]
9e118b8a0c
Merge pull request #7360 from jladdjr/foreman_backwards_compat_for_ssl_verify
...
[foreman] add backwards support for ssl_verify in foreman plugin
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-17 19:46:53 +00:00
Jim Ladd
91cd5b359a
add backwards support for ssl_verify in foreman
...
* plugin changed option name from
ssl_verify to validate_cert
2020-06-17 12:18:31 -07:00
softwarefactory-project-zuul[bot]
2df67c4dc8
Merge pull request #7287 from marshmalien/6899-inv-src-subform
...
Hook up all inventory source subforms
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-17 18:44:30 +00:00
AlanCoding
e784a7c0a3
bump migrations
2020-06-17 14:25:16 -04:00
AlanCoding
401c5671c8
Remove things from tests specific to inventory scripts
2020-06-17 14:25:16 -04:00
AlanCoding
3c8c1858d4
Fix migration through manual testing
2020-06-17 14:25:15 -04:00
AlanCoding
b6a4c34b7a
bump migration number
2020-06-17 14:25:15 -04:00
AlanCoding
71cf3198d8
Add data migration to convert cloudforms scripts to SCM
2020-06-17 14:25:15 -04:00
AlanCoding
b0ff763a0b
flake8 fixes
2020-06-17 14:25:15 -04:00
AlanCoding
8f56042dcc
rename migration
2020-06-17 14:25:15 -04:00
AlanCoding
ec3c4de1f7
Fix openstack and logic and update some tests
2020-06-17 14:25:14 -04:00
AlanCoding
b2bdb0c81d
lose cloudforms as inventory source option
2020-06-17 14:25:14 -04:00
AlanCoding
bedb1f364d
Remove inventory scripts
2020-06-17 14:25:11 -04:00
Marliana Lara
6ed611c27c
Add inventory source subforms
2020-06-17 14:16:03 -04:00
softwarefactory-project-zuul[bot]
97dbfee162
Merge pull request #7359 from shanemcd/no-host-pg-port
...
Remove local port binding for postgres in dev env
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-17 18:10:35 +00:00
Shane McDonald
51b0c51605
Remove local port binding for postgres in dev env
...
I dont think we need to bind this port at the host level. This will allow us to
run the galaxy_ng dev tooling side-by-side with AWX.
2020-06-17 13:34:55 -04:00
softwarefactory-project-zuul[bot]
5ca66ac806
Merge pull request #7317 from shanemcd/redis-root-group
...
Force containers in k8s to run under root group
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-16 23:41:42 +00:00
Ryan Petrello
6376395c68
Merge pull request #4409 from ryanpetrello/371-host-summary-regression
...
fix a regression in how job host summaries are generated
2020-06-16 17:04:22 -04:00
softwarefactory-project-zuul[bot]
90bcb6d145
Merge pull request #7258 from mabashian/dynamic-credential-form
...
Dynamically render credential subform fields
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-16 20:43:53 +00:00
mabashian
3c27e1ca12
Revert "Gets rid of custom form reset function in favor of formik's resetForm in credential form"
...
This reverts commit 26fa94dc6f1f1c1306c32ba571eb2899e516b0a0.
2020-06-16 16:16:30 -04:00
mabashian
8aa6e9466f
Fixes credential type dropdown item sort issue where Vault appeared after VMware
2020-06-16 16:16:30 -04:00
mabashian
9180334908
Adds a bit more unit test coverage around credential add/edit save functionality, making sure that we're making the correct calls with the correct payloads.
2020-06-16 16:16:30 -04:00
mabashian
9d63b679f9
Gets rid of custom form reset function in favor of formik's resetForm in credential form
2020-06-16 16:16:30 -04:00
mabashian
d5578d9744
Only render subform if cred type inputs.fields exists. This fixes a bug where an error was thrown when a custom credential type without an input configuration existed in the database.
2020-06-16 16:16:30 -04:00
mabashian
7fefea31c0
Removes nested ternary in CredentialField validate param by moving logic out to a function and making it a little more readable.
2020-06-16 16:16:30 -04:00
mabashian
b5ce1fe2f3
Changes CredentialSubForm to TypeInputsSubForm
2020-06-16 16:16:30 -04:00
mabashian
3dfc9328a9
Dynamically render credential subform fields based on options responses for each credential type
2020-06-16 16:16:30 -04:00
softwarefactory-project-zuul[bot]
dba55fec47
Merge pull request #7337 from rooftopcellist/i18n_awx_translations_6-15
...
UI translation strings for release_3.7.1 branch
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-16 20:16:02 +00:00
ansible-translation-bot
93498b2d7f
UI translation strings for release_3.7.1 branch
2020-06-16 15:47:24 -04:00
mabashian
781b675837
Upgrade jquery to 3.5.1
2020-06-16 14:44:17 -04:00
mabashian
5e3ce7b7ea
Update ngToast to most recent version
2020-06-16 14:44:16 -04:00
mabashian
34dd034f7c
Upgrades to the latest angular-tz-extensions
2020-06-16 14:44:16 -04:00
mabashian
d5fcf733f0
Upgrades to the latest angular-codemirror
2020-06-16 14:44:16 -04:00
mabashian
8d63ebf0e0
Upgrade to the latest angular-scheduler
2020-06-16 14:44:16 -04:00
softwarefactory-project-zuul[bot]
de5f996358
Merge pull request #7352 from ryanpetrello/host-summary-optimization-bug
...
fix a regression in how job host summaries are generated
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-16 17:33:01 +00:00
softwarefactory-project-zuul[bot]
a54081de2e
Merge pull request #7328 from Tompage1994/credential_input_source
...
Add tower_credential_input_source to awx_collection
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-16 17:27:45 +00:00
Ryan Petrello
eaadbe9730
fix a regression in how job host summaries are generated
...
this change fixes a bug introduced in the optimization at https://github.com/ansible/awx/pull/7352
1. Create inventory with multiple hosts
2. Run a playbook with a limit to match only one host
3. Run job, verify that it only acts on the one host
4. Go to inventory host list and see that all the hosts have last_job updated to point to the job that only acted on one host.
2020-06-16 13:18:14 -04:00
Ryan Petrello
70afbe0b8d
fix a regression in how job host summaries are generated
...
this change fixes a bug introduced in the optimization at https://github.com/ansible/awx/pull/7352
1. Create inventory with multiple hosts
2. Run a playbook with a limit to match only one host
3. Run job, verify that it only acts on the one host
4. Go to inventory host list and see that all the hosts have last_job updated to point to the job that only acted on one host.
2020-06-16 13:06:22 -04:00
Tom Page
7bf1d4946e
Fixed final lint issues
...
Signed-off-by: Tom Page <tpage@redhat.com >
2020-06-16 17:14:52 +01:00
Tom Page
fd18194b1b
Fix pylint errors
2020-06-16 15:57:19 +01:00
Tom Page
73a39c1e55
Cleanup of debug and change test fixtures
...
Signed-off-by: Tom Page <tpage@redhat.com >
2020-06-16 14:30:28 +01:00
softwarefactory-project-zuul[bot]
415c39aabc
Merge pull request #6938 from neb14/journald_logging_option
...
This allows for using different docker logging drivers
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-16 13:30:07 +00:00
Tom Page
1c78190385
Change cred_input_src to remove src_cred as primarykey
...
Signed-off-by: Tom Page <tpage@redhat.com >
2020-06-16 13:56:49 +01:00
Ben Schmitz
ea175ac5b6
Allows for docker logger support
2020-06-16 08:29:43 -04:00
softwarefactory-project-zuul[bot]
5527fc9115
Merge pull request #7343 from shanemcd/struggles
...
Make tests pass with current versions of things
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-16 12:24:39 +00:00
Tom Page
4c55685656
Add tower_credential_input_source to awx_collection
...
Signed-off-by: Tom Page <tpage@redhat.com >
2020-06-16 13:17:11 +01:00
Shane McDonald
de82c613fc
Make tests pass with current versions of things
2020-06-15 23:13:44 -04:00
Christian Adams
186c54cb14
Merge pull request #4404 from ansible/i18n_release_3.7.1_translations
...
UI translation strings for release_3.7.1 branch
2020-06-15 17:10:10 -04:00
ansible-translation-bot
40eb3e43f8
UI translation strings for release_3.7.1 branch
2020-06-12 17:03:37 +00:00
softwarefactory-project-zuul[bot]
241931309e
Merge pull request #7321 from jladdjr/instance_id_fallback
...
Instance id fallback
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-11 21:49:39 +00:00
softwarefactory-project-zuul[bot]
26083bdef6
Merge pull request #7304 from AlexSCorey/7233-ApplicationsList
...
Adds lists and list items and delete functionality
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-11 19:47:56 +00:00
Shane McDonald
e035eea95a
Merge pull request #7188 from mo-saeed/devel
...
Reshape security context for AWX containers
2020-06-11 15:26:58 -04:00
Jim Ladd
e1f7a7619f
Merge pull request #4398 from jladdjr/instance_id_fallback
...
Instance id fallback
2020-06-11 12:19:23 -07:00
Alex Corey
f211c70e69
fixes qs namespace, and location of proptypes
2020-06-11 15:16:14 -04:00
Alex Corey
08d9341704
Adds lists and list items and delete functionality
2020-06-11 15:16:14 -04:00
Jeff Bradberry
0fda9d2c56
Continue after failures to grant roles
2020-06-11 13:19:24 -04:00
Jim Ladd
43ab6acb84
revert EC2_INSTANCE_ID_VAR
2020-06-11 09:53:50 -07:00
Jim Ladd
8eee0d40dd
revert EC2_INSTANCE_ID_VAR
2020-06-11 09:52:54 -07:00
Ryan Petrello
fe221c2473
Merge pull request #4399 from shanemcd/kube-queues
...
Add queue / instance group registration to heartbeat for k8s installs
2020-06-11 09:00:16 -04:00
softwarefactory-project-zuul[bot]
cb1a3e4199
Merge pull request #7312 from nixocio/ui_issue_7301
...
Add stub files for Credential Types
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-10 21:24:17 +00:00
Jim Ladd
3b61b82616
wrap --instance-id-var in quotes
2020-06-10 14:06:57 -07:00
Jim Ladd
9eaee801a7
update VMWARE_INSTANCE_ID_VAR
...
* Favor instanceUuid
* .. but fall back to instanceuuid if necessary
2020-06-10 14:06:54 -07:00
AlanCoding
1970fac989
Allow use of fallback instance_ids
2020-06-10 14:06:50 -07:00
softwarefactory-project-zuul[bot]
28164ad4cc
Merge pull request #7319 from wenottingham/unused-perhaps
...
Remove active_counts_by_org
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-10 21:05:50 +00:00
Jim Ladd
9514adaf3a
wrap --instance-id-var in quotes
2020-06-10 13:55:54 -07:00
Shane McDonald
85deb8711c
Add queue / instance group registration to heartbeat for k8s installs
...
There is some history here.
https://github.com/ansible/awx/pull/7190 <- This PR was an attempt at fixing a
bug notting ran into where some jobs on k8s installs would get stuck in Waiting
forever.
The PR mentioned above introduced a bug where there are no instance groups on a
fresh k8s-based install. This is because this process currently happens in the
launch scripts, before the database is up.
With this patch, queue / instance group registration happens in the heartbeat,
right after auto-registering the instance.
2020-06-10 16:55:27 -04:00
nixocio
8eecfeaab4
Add stub files for Credential Types
...
Add stub files for Credential Types. Routing system, and screens layout.
closes: https://github.com/ansible/awx/issues/7301
2020-06-10 16:44:10 -04:00
Jim Ladd
17eaeb28a8
update VMWARE_INSTANCE_ID_VAR
...
* Favor instanceUuid
* .. but fall back to instanceuuid if necessary
2020-06-10 13:30:05 -07:00
Jeff Bradberry
bf6e8f8e83
Prioritize membership roles
...
since certain role grants will not be accepted by the api unless the user or team is part of the correct organization.
2020-06-10 15:27:15 -04:00
Bill Nottingham
a33c303765
Remove active_counts_by_org
...
I was trying to parse the difference between this and the
(directly above) org_active_count from the comment, and then I
grepped and realized this function appears unused.
2020-06-10 15:25:14 -04:00
Shane McDonald
423df6618d
Force containers in k8s to run under root group
...
Normally containers belong to the 'root' group, but for some reason the
downstream red hat scl redis image only belongs to the 'redis' group by default. This fixes that.
2020-06-10 13:40:15 -04:00
softwarefactory-project-zuul[bot]
3ae4417af4
Merge pull request #7314 from nixocio/ui_fix_clipboard_error
...
Add required variables to ClipboardCopyButton test
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-10 16:43:28 +00:00
softwarefactory-project-zuul[bot]
2582036fc8
Merge pull request #7313 from kdelee/update_k8s_inv_docs
...
remove some references to memcached
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-10 16:33:08 +00:00
softwarefactory-project-zuul[bot]
b8e1f1b882
Merge pull request #7316 from ryanpetrello/tmi
...
remove a highly verbose log lines
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-10 16:23:30 +00:00
softwarefactory-project-zuul[bot]
dc3701b3d6
Merge pull request #7315 from ryanpetrello/redis-chmod-docker
...
set proper permissions for the redis socket
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-10 16:06:25 +00:00
softwarefactory-project-zuul[bot]
3818fb9b69
Merge pull request #7306 from AlexSCorey/6863-CopyProjectsAndInventories
...
Removes extra spacing from timeOfDay function
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-10 16:06:20 +00:00
Ryan Petrello
64ebfa75a8
remove a highly verbose log lines
2020-06-10 11:50:13 -04:00
Ryan Petrello
e81ccf10df
set proper permissions for the redis socket
2020-06-10 11:36:09 -04:00
nixocio
9797c8e3c2
Add required variables to ClipboardCopyButton test
...
Add required variables to `ClipboardCopyButton` test to remove warnings
during test execution.
2020-06-10 11:25:39 -04:00
Elijah DeLee
a83a9c9723
remove dep on python-memcached
2020-06-10 11:18:48 -04:00
Elijah DeLee
6777b82d8e
remove reference to memcached in k8s inv
...
we don't have memcached container anymore
2020-06-10 11:08:49 -04:00
softwarefactory-project-zuul[bot]
753b8c287c
Merge pull request #7221 from AlexSCorey/6589-InventorySourceSchedules
...
Adds Inventory Sources Schedules
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-10 15:01:54 +00:00
mosad
eb5970b4a1
merge and resolve conflicts
2020-06-10 16:01:17 +02:00
Ryan Petrello
7c1959010a
Merge pull request #4396 from jladdjr/foreman_script_should_not_use_reports_3.7.1
...
disable reports option for foreman (release_3.7.1)
2020-06-10 08:30:14 -04:00
AlanCoding
1dd9772e41
Allow use of fallback instance_ids
2020-06-09 22:51:42 -07:00
Jim Ladd
18d09f892d
disable reports option for foreman
2020-06-09 22:37:35 -07:00
Jake McDermott
ee6f03515e
Merge pull request #4340 from jakemcdermott/fix-4336
...
[3.7.1] Enable management job notications for admins
2020-06-09 16:27:07 -04:00
Jake McDermott
16f81154c0
Merge pull request #4338 from mabashian/4334-backport-v2
...
[3.7.1] Fixes bug where all_parents_must_converge was not being set for new or existing approval nodes
2020-06-09 15:36:40 -04:00
Jeff Bradberry
19b7c91486
Return the changed status of imports
2020-06-09 15:00:06 -04:00
Jeff Bradberry
aeeed4d371
Add more logging
2020-06-09 15:00:06 -04:00
Jeff Bradberry
1f7c1af64e
Fix WFJT nodes endpoint to return node pages when posting
...
not the node list page.
2020-06-09 15:00:06 -04:00
Jeff Bradberry
65fc2db42f
Recursively queue up related assets to be created and/or assigned
2020-06-09 14:59:49 -04:00
Alex Corey
82010e4ba2
removes extra spacing
2020-06-09 14:59:36 -04:00
Ryan Petrello
1d7e2a82c6
Merge pull request #4393 from kdelee/backport_dont_block_log_send
...
[3.7.1] don't block on log aggregator socket.send() calls
2020-06-09 14:49:43 -04:00
Jeff Bradberry
c8288af87f
Make sure we have a cached version of existing objects
...
even if it isn't an object being directly imported. We might need it
for relations of things that are being imported.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
76fb605dcd
Deal with exports involving foreign keys where you don't have permission
2020-06-09 13:54:05 -04:00
Jeff Bradberry
a531b85b31
Redo waiting until Project updates are complete
2020-06-09 13:54:05 -04:00
Jeff Bradberry
86afa5cf42
Make more use of the PageCache for imports
2020-06-09 13:54:05 -04:00
Jeff Bradberry
57aff6394c
Log an error and continue when a related object is not found
2020-06-09 13:54:05 -04:00
Jeff Bradberry
66bc947adb
Reuse _import_list for import of related full objects
...
e.g. WFJT Nodes. Also rename _import_list from _create_assets.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
301f15bfdd
Rename some things for consistency
2020-06-09 13:54:05 -04:00
Jeff Bradberry
9fc1a4bb44
Change the method that exports list views to take a PageList or TentativePage
...
This will allow the related m2m views to also use this method, with a
bit of effort. Also, remove the use of pk_or_name in favor of a new
method that reduces the number of api calls.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
f7825aefeb
Avoid doing an OPTIONS call unless we know it is a related type we export
2020-06-09 13:54:05 -04:00
Jeff Bradberry
14b5f63bd8
Use the new PageCache to store and reuse Page.get results
2020-06-09 13:54:05 -04:00
Jeff Bradberry
1300d38e47
Introduce a new PageCache object
...
and split out get_post_fields into its own utility function.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
bb66e4633d
Split _get_options into two pieces
2020-06-09 13:54:05 -04:00
Jeff Bradberry
201de4e18a
Attempt to deal with foreign keys that get mislabeled as type integer
...
such as through the use of DeprecatedCredentialField.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
471dc2babf
Deal with relations that we cannot resolve
...
such as due to a lack of permissions. If there is a foreign key to
something where we don't have sufficient read permissions, we now drop
the parent object from the export.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
6387258da1
Only wait for Project updates
...
not other kinds of objects that have a status.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
6958815f6e
Remove the $encrypted$ placeholders from export values
2020-06-09 13:54:05 -04:00
Jeff Bradberry
43b76f4575
Deal with unreadable mandatory foreign keys
...
by dropping the parent object. Also, clarify some of the warning log
messages.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
53d81d42cc
Hook up creation and attachment of related objects
2020-06-09 13:54:05 -04:00
Jeff Bradberry
385725e52a
Fix the _create_assets method to use _get_options
2020-06-09 13:54:05 -04:00
Jeff Bradberry
1b264011a2
Enable interconnections between WFJT Nodes
2020-06-09 13:54:05 -04:00
Jeff Bradberry
719f0b407c
Enable credential relations
...
but only when it is in an attach/detach list view.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
a5fa34bd3b
Fall back to parsing the OPTIONS description
...
to determine the needed fields for constructing an object.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
eb10a1873d
Drop objects that cannot be read or do not have a natural key
...
don't fail hard.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
ab15349c8c
Remove the NoNaturalKey error
...
It's too awkward, and it makes more sense to return None instead.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
e053a58223
Handle some more bad cases when doing OPTIONS calls
...
- deprecated endpoints
- read-only endpoints
- insufficient privileges
The latter case currently just drops it on the floor, but ought to do
something better.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
4262dd38ba
Change the NoNaturalKey exception to no longer derive from Common
...
which seems to be entirely use for response exceptions. Maybe rename
Common?
2020-06-09 13:54:05 -04:00
Jeff Bradberry
0deacc4391
If attempting to link to a resource that is not yet complete, wait
2020-06-09 13:54:05 -04:00
Jeff Bradberry
329293dbf0
Tentatively enable inventory sources
2020-06-09 13:54:05 -04:00
Jeff Bradberry
e92c8cfdcc
Remove the natural key lookup dict and make each Page responsible instead
2020-06-09 13:54:05 -04:00
Jeff Bradberry
07ba521b8b
Enable schedules
2020-06-09 13:54:05 -04:00
Jeff Bradberry
972d3ab535
Export full related objects under some conditions
2020-06-09 13:54:05 -04:00
Jeff Bradberry
a1f7d0b781
Fix a bug with inventory.variables
...
Using Page[key] instead of Page.json[key] causes inner json blob
strings to automatically get parsed, which is not what we want with
this field.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
30a3e3e172
Deal with lack of permissions
2020-06-09 13:54:05 -04:00
Jeff Bradberry
01d575f833
Enable the remaining top-level exportable resources
...
and rearrange the import/export methods a bit.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
e0f6af4700
Enable the export of several relation field types
2020-06-09 13:54:05 -04:00
Jeff Bradberry
3860c7597f
Move the import logic into methods on the ApiV2 class
2020-06-09 13:54:05 -04:00
Jeff Bradberry
e4146e9bc7
Move the export logic onto methods on the ApiV2 class
...
making it easier to invoke programmatically.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
19c92a7055
Enable notification templates
2020-06-09 13:54:05 -04:00
Jeff Bradberry
6a9add4fe3
Deal somewhat reasonably with missing fields as part of the natural key
...
- JobTemplate.organization has recently been added, we need to support
with and without
- WorkflowJobTemplateNode is shortly going to get an identifier field,
and we will need to support both with and without
2020-06-09 13:54:05 -04:00
Jeff Bradberry
ad574eb896
Enable credential export
2020-06-09 13:54:05 -04:00
Jeff Bradberry
55f79a4569
Fix a couple of flaws
...
- The dependency ordering may spit out page types that weren't in the import data set. Make sure to be able to map those to resources anyway.
- freeze() needs to be able to deal with nullable foreign keys.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
d20fa03034
Create new Import.dependent_resources method
...
that yields up resource names, even ones that aren't explicitly in the
import data, in dependency order.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
868aafb263
Filter out managed credential types
...
since we cannot patch them upon import.
2020-06-09 13:54:05 -04:00
Jeff Bradberry
3f204659a8
Temporarily disable export of resources that may not work yet
2020-06-09 13:54:05 -04:00
Jeff Bradberry
ea5b810e87
Sort the asset groups to be imported by their dependency relationships
2020-06-09 13:54:04 -04:00
Jeff Bradberry
2c00d42ced
Only use a default password if an import user doesn't already exist
2020-06-09 13:54:04 -04:00
Jeff Bradberry
d191edcaf1
Fix a Python 2 syntax error
...
it doesn't like multiple **kwargs, apparently.
2020-06-09 13:54:04 -04:00
Jeff Bradberry
65e16dc7ae
Get and assign the related objects
2020-06-09 13:54:04 -04:00
Jeff Bradberry
95b22bf05b
Begin to deal with existing matching assets
...
by using a registry allowing the lookup of Page objects by (frozen)
natural keys.
2020-06-09 13:54:04 -04:00
Jeff Bradberry
21e36ad19a
Add the calculated natural key to the export data for each asset
2020-06-09 13:54:04 -04:00
Jeff Bradberry
f53920d3bf
Begin changing Import to work with the structure created by Export
2020-06-09 13:54:04 -04:00
Jeff Bradberry
372570ce8e
Extract out get_natural_key as a standalone function
2020-06-09 13:54:04 -04:00
Jeff Bradberry
6f28361bf5
Make serialize_asset use Pages to a greater extent
2020-06-09 13:54:04 -04:00
Jeff Bradberry
0877e5305c
Modify get_natural_key to work on Pages
2020-06-09 13:54:04 -04:00
Jeff Bradberry
e4383c505f
Make more use of the functionality of Page in get_assets
...
and related methods. Also, rename get_resource_options -> get_options
and enhance_asset -> serialize_asset.
2020-06-09 13:54:04 -04:00
Jeff Bradberry
fb066eb52e
Fold the other methods doing API calls into get_assets()
2020-06-09 13:54:04 -04:00
Jeff Bradberry
6162ff0439
Start to record the role membership
...
but not really, since it still isn't fully capturing the role content_object
2020-06-09 13:54:04 -04:00
Jeff Bradberry
dfe34563aa
Resolve the natural keys of assets we've already collected
2020-06-09 13:54:04 -04:00
Jeff Bradberry
37cbf7691b
Split out separate methods for the OPTIONS call and massaging each asset dict
2020-06-09 13:54:04 -04:00
Jeff Bradberry
9280198b0f
Use a list of exportable resources to build up the parser
...
Also, handle an implicit export of everything.
2020-06-09 13:54:04 -04:00
Jeff Bradberry
2127f3c96d
Add organizations as a resource type to export
2020-06-09 13:54:04 -04:00
Jeff Bradberry
9f7fecf8da
Add basic import command
2020-06-09 13:54:04 -04:00
Jeff Bradberry
c1a07ff00b
Limit export output to only those fields needed to create the resource
2020-06-09 13:54:04 -04:00
Jeff Bradberry
f21d6b1fc4
Actually query the API for the user or users requested
2020-06-09 13:54:04 -04:00
Jeff Bradberry
4312395a3a
Normalize the requested resource into a pk
...
using the pk_or_name helper function. Also, authenticate to the API.
2020-06-09 13:54:04 -04:00
Jeff Bradberry
c1f6fec532
Add skeleton of a custom 'export' resource
...
This only takes a flag for users at the moment, and does nothing in
particular with it.
2020-06-09 13:54:04 -04:00
Ryan Petrello
b7ac5f0ffb
Merge pull request #4395 from fosterseth/fix-parents_converge_settable_api_backport
...
[backport] Make all_parents_must_converge settable when creating node
2020-06-09 11:29:34 -04:00
Seth Foster
0e5f68ef53
Make all_parents_must_converge settable when creating node
...
When targeting, ../workflow_job_templates/id#/workflow_nodes/ endpoint,
user could not set all_parents_must_converge to true.
3.7.1 backport for awx issue #7063
2020-06-09 11:07:22 -04:00
Ryan Petrello
a057a2e056
Merge pull request #4394 from ryanpetrello/mattermost-371
...
Send content-type with mattermost notifications, fixes #7264
2020-06-09 10:35:55 -04:00
Florian Apolloner
e9e410f4f8
Send content-type with mattermost notifications, fixes #7264
2020-06-09 10:32:32 -04:00
Ryan Petrello
71cc359ccf
don't block on log aggregator socket.send() calls
...
see: https://github.com/ansible/tower/issues/4391
2020-06-09 10:10:32 -04:00
Chris Meyers
37c1c33ecd
Merge pull request #4389 from chrismeyersfsu/fix-run_wsbroadcast_status_3_7_1
...
awx-manage run_wsbroadcast --status doesn't work in openshift
2020-06-08 20:18:32 -04:00
chris meyers
2f7ba75ae4
track stats by hostname not remote host/ip
...
* broadcast websockets have stats tracked (i.e. connection status,
number of messages total, messages per minute, etc). Previous to this
change, stats were tracked by ip address, if it was defined on the
instance, XOR hostname. This changeset tracks stats by hostname.
2020-06-08 16:35:17 -04:00
chris meyers
9c20b9412a
delete and re-add host when ip address changes
...
* The websocket backplane interconnect is done via ip address for
Kubernetes and OpenShift. On init run_wsbroadcast reads all Instances
from the DB and makes a decision to use the ip address or the hostname
based, with preference given to the ip address if defined. For
Kubernetes and OpenShift the nodes can load the Instance before the
ip_address is set. This would cause the connection to be tried by
hostname rather than ip address. This changeset ensures that an ip
address set after an Instance record is created will be detected and
used.
2020-06-08 16:34:51 -04:00
Ryan Petrello
99c0a954e4
Merge pull request #4384 from ryanpetrello/rsyslog-chmod
...
properly write rsyslog configuration as 0640
2020-06-08 14:05:18 -04:00
Jim Ladd
0a0735344e
Merge pull request #4342 from jladdjr/foreman_group_prefix_should_apply_to_all_groups_3.7.1
...
foreman: use group_prefix for all groups (release_3.7.1)
2020-06-05 15:25:22 -07:00
mo-saeed
0bfcacfcf4
Merge branch 'devel' into devel
2020-06-06 00:19:19 +02:00
mosad
1e6437b773
Resolve conflict 2
2020-06-06 00:17:26 +02:00
Jim Ladd
9ae344b772
foreman: use group_prefix for all groups
...
* awx's "compatibility layer" for the foreman plugin had the
group_prefix hard-coded to 'foreman_'
2020-06-05 14:44:55 -07:00
mosad
7d0c49c043
Fix conflict
2020-06-05 23:41:20 +02:00
Jim Ladd
0c4adfb32e
Merge pull request #4387 from jladdjr/bump_foreman_collection_0.8.1
...
Bump foreman collection to 0.8.1
2020-06-05 12:10:22 -07:00
Jim Ladd
4ce37ec849
Bump foreman collection to 0.8.1
...
* New release includes:
'add host_filters and want_ansible_ssh_host like script used to have'
2020-06-05 11:13:01 -07:00
Alex Corey
49053d3473
Adds Inventory Sources Schedules
2020-06-05 11:50:53 -04:00
Ryan Petrello
c53e5bdbcf
properly write rsyslog configuration as 0640
...
see: https://github.com/ansible/tower/issues/4383
2020-06-04 15:12:09 -04:00
Christian Adams
e0032f7705
Merge pull request #4367 from rooftopcellist/sumologic_conf
...
Correctly parse sumologic url paths
2020-06-01 01:36:20 -04:00
Christian Adams
ed05ce164f
Merge pull request #4377 from rooftopcellist/cleanup_flake8
...
Fix misc. linter errors due to the flake8-3.8.1 release
2020-05-29 19:29:17 -04:00
Christian Adams
d98f2714cb
Merge pull request #4376 from rooftopcellist/rm_label_3.7.1
...
Fix 500 on Label Removal for WFJT's [3.7.1]
2020-05-29 18:11:45 -04:00
beeankha
85426f76a5
Fix misc. linter errors due to the flake8-3.8.1 release
...
- [Ref] https://flake8.pycqa.org/en/latest/release-notes/
2020-05-29 17:58:27 -04:00
Christian Adams
c48da1b384
allow org admins to remove labels
2020-05-29 15:12:35 -04:00
mosad
4a9603a7ea
Allow priv container for awx_task and option to create psp
2020-05-29 20:24:49 +02:00
mosad
b13a175668
Reshape security context for AWX containers
2020-05-29 12:35:45 +02:00
Christian Adams
aec7d3cc93
Correctly parse sumologic url paths
...
- Sumologic includes a token with a '==' at the end of it's host path.
This adds rsyslog conf parsing tests and does not escape equals
signs.
2020-05-27 13:05:31 -04:00
Ryan Petrello
bd23c41d25
Merge pull request #4361 from ryanpetrello/venv-try-except
...
[3.7.1] backport a change to address venv permission issues
2020-05-26 11:31:16 -04:00
gamuniz
563d3944ed
removed pass per feedback
2020-05-26 11:21:58 -04:00
Gabe Muniz
492d01ff3b
added try/except to virtual env
2020-05-26 11:21:49 -04:00
Elijah DeLee
3ded30411f
Merge pull request #4341 from kdelee/backport_host_summary_optimization_3.7.1
...
Backport host summary optimization 3.7.1
2020-05-21 13:37:16 -04:00
Bill Nottingham
b38c62d37f
Merge pull request #4353 from wenottingham/analytics-skip-3.7.1
...
Always check configuration before gathering data.
2020-05-21 13:23:08 -04:00
Bill Nottingham
4c499b2d80
Always check configuration before gathering data.
...
We shouldn't perform expensive operations if we won't be able to send it.
Only log at debug level, otherwise every node will log this every 5
minutes.
2020-05-20 17:24:38 -04:00
Ryan Petrello
3d02bd7a90
Merge pull request #4350 from ryanpetrello/371-os-walkdir-recursive
...
Revert "follow symlinks while discovering valid playbooks"
2020-05-20 16:50:28 -04:00
Ryan Petrello
71257c18c2
Revert "follow symlinks while discovering valid playbooks"
...
This reverts commit 3dd21d720e .
2020-05-20 16:47:38 -04:00
Ryan Petrello
d85df2e4a1
further optimize job host summary queries
2020-05-19 13:00:12 -04:00
Ryan Petrello
59d457207c
properly update .failed, .last_job_id, and last_job_host_summary
2020-05-19 13:00:05 -04:00
Ryan Petrello
3ea642f212
properly handle host summary bulk updates if hosts go missing
2020-05-19 13:00:00 -04:00
Ryan Petrello
b6d3c3c1a3
drastically optimize job host summary creation
...
see: https://github.com/ansible/awx/issues/6991
2020-05-19 12:59:54 -04:00
Jake McDermott
b83db0500f
Enable management job notications for admins
2020-05-19 10:52:09 -04:00
mabashian
c4d9b81c55
Fixes bug where all_parents_must_converge was not being set for new or existing approval nodes.
2020-05-18 15:16:05 -04:00
Shane McDonald
cdfc9e05d4
Fix offline RHEL 8 builds
...
This was causing our EL8 Brew builds to break, because it wasn't being
vendored. This is in fact required for python3. It was being resolved as a
dependency of other things (see list at end of line), so it was being downloaded
on-the-fly since our normal builds have internet access. It only broke when it
wasn't vendored for offline builds.
2020-05-15 17:52:08 -04:00