softwarefactory-project-zuul[bot]
0a1ecd4fe3
Merge pull request #8248 from ryanpetrello/15.0.0-bump
...
bump version to 15.0.0
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-30 13:07:08 +00:00
softwarefactory-project-zuul[bot]
e7a5d4c5d8
Merge pull request #8267 from mabashian/8252-jt-tabs-reload
...
Reset error/result only after the next request has resolved to prevent render flickering
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-30 12:24:08 +00:00
Ryan Petrello
2e371dd2ea
more 15.0.0 changelog
2020-09-29 17:38:42 -04:00
Ryan Petrello
98b24cd2d8
Bump version to 15.0.0
2020-09-29 17:36:32 -04:00
softwarefactory-project-zuul[bot]
abc6a84210
Merge pull request #8260 from ryanpetrello/drf-upgrade
...
update to the latest Django Rest Framework
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-29 20:59:45 +00:00
softwarefactory-project-zuul[bot]
a9cfae70ff
Merge pull request #8041 from mabashian/7680-inv-pending-delete
...
Adds support for pending deletion on inventory list
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-29 20:07:17 +00:00
softwarefactory-project-zuul[bot]
f47812845e
Merge pull request #8229 from nixocio/ui_issue_7410
...
Make filter a bit more consistent accross UI
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-29 19:53:52 +00:00
mabashian
e13b16bf1c
Add erroneously removed exhaustive dep comment
2020-09-29 15:42:11 -04:00
nixocio
aa69b925ad
Make filter a bit more consistent accross UI
...
Add `description`, `created_by` and `modified_by` when those fields are
available.
See: https://github.com/ansible/awx/issues/7410
2020-09-29 15:23:28 -04:00
mabashian
ae1d27255b
Add delete error handling on inventory detail view
2020-09-29 15:05:35 -04:00
mabashian
f672cee3a0
Reset error/result only after the next request has resolved to prevent render flicking
2020-09-29 13:11:06 -04:00
softwarefactory-project-zuul[bot]
820d4d292e
Merge pull request #8253 from beeankha/edit_approval_node_bugfix
...
Fix Approval Node Edit Permissions
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-29 16:45:07 +00:00
softwarefactory-project-zuul[bot]
70dfe9a1f2
Merge pull request #8265 from Lodenk/typofix
...
fixed typo in the word example
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-29 16:36:58 +00:00
softwarefactory-project-zuul[bot]
6567fab1c8
Merge pull request #8251 from ryanpetrello/fix-vault-password-prompt-bug
...
fix a bug that can break password prompting in certain scenarios
Reviewed-by: Ryan Petrello
https://github.com/ryanpetrello
2020-09-29 16:35:55 +00:00
beeankha
f584c1cc47
Fix Approval Node Edit Permissions
2020-09-29 12:14:12 -04:00
Patrick
359682022f
fixed typo in the word example
2020-09-29 12:00:37 -04:00
softwarefactory-project-zuul[bot]
f39015156b
Merge pull request #8228 from john-westcott-iv/tower_ad_hoc_module
...
Adding ad hoc command modules
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-29 14:59:52 +00:00
Ryan Petrello
089b0503bb
update to the latest Django Rest Framework
2020-09-29 10:25:07 -04:00
softwarefactory-project-zuul[bot]
2019f808b9
Merge pull request #8254 from RULCSoft/fix-typos
...
Fix a few typos in awx/ui
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-29 14:04:51 +00:00
mabashian
3f1434f0f5
Only attempt to display sting error messages in ErrorDetail
2020-09-29 09:59:39 -04:00
softwarefactory-project-zuul[bot]
7f7864fe2b
Merge pull request #8259 from rooftopcellist/gettext_translations
...
Include Gettext in dev container image for translation automation
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-29 13:48:28 +00:00
Ryan Petrello
c52054951d
fix a bug that can break password prompting in certain scenarios
...
see: https://github.com/ansible/awx/issues/8202
2020-09-29 09:34:38 -04:00
mabashian
6942b4d5b6
Change deleteTeams to deleteInventories
2020-09-29 09:29:18 -04:00
mabashian
10110643ed
Flatten out decision tree when an inventory websocket message is processed
2020-09-29 09:09:52 -04:00
mabashian
40e4ba43ef
Copy the query params so that we don't add id__in to them. This fixes a bug where a newly copied row would not show up on the list if a websocket message for an inventory source sync had come through beforehand because id__in had been added to the query params.
2020-09-29 09:09:52 -04:00
mabashian
6681ffa8df
Add default module_name to adhoc details step test to get rid of logged console error
2020-09-29 09:09:52 -04:00
mabashian
d84615f64b
Rename onLoading/onDoneLoading props to onCopyStart and onCopyFinish. Wrap the functions being passed in as those props in useCallback to keep them hooks safe.
2020-09-29 09:09:52 -04:00
mabashian
4b566e9388
Adds support for pending deletion on inventory list
2020-09-29 09:09:52 -04:00
Christian M. Adams
e7b5f311b5
Include Gettext in dev container image for translation automation
2020-09-29 08:53:18 -04:00
Jorge Vallecillo
b335f698e4
Fix a few typos in awx/ui
2020-09-28 19:00:25 -06:00
softwarefactory-project-zuul[bot]
d6201d9eb6
Merge pull request #8224 from tchellomello/import_db
...
Ability to import standard pgdump into Openshift
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-28 17:24:35 +00:00
softwarefactory-project-zuul[bot]
d6f0e16b4d
Merge pull request #8242 from wenottingham/certifi-ably-unbundled
...
Replace certifi with an alternate version
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-28 16:10:30 +00:00
softwarefactory-project-zuul[bot]
0c7bfa543b
Merge pull request #8001 from velzend/allow_skipping_provision_instance_and_register_queue
...
allow skipping provision instance and register queue
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-28 15:20:35 +00:00
softwarefactory-project-zuul[bot]
36d4f255a3
Merge pull request #8236 from ryanpetrello/more-callback-cleanup
...
refactor some callback receiver code
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-28 15:20:29 +00:00
softwarefactory-project-zuul[bot]
30fd418cc9
Merge pull request #8220 from mabashian/fix-padding-pol-fields
...
Fix padding on field labels with prompt on launch checkboxes
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-28 13:42:37 +00:00
softwarefactory-project-zuul[bot]
24e9484f55
Merge pull request #7338 from mabashian/cred-plugin-test-button
...
Hook up Test button on Metadata step in credential plugin wizard
Reviewed-by: John Hill <johill@redhat.com >
https://github.com/unlikelyzero
2020-09-25 19:52:44 +00:00
Bill Nottingham
85b694410b
Adjust included licenses
2020-09-25 15:51:55 -04:00
Bill Nottingham
d0ba59735c
Replace certifi with an alternate version
...
This version just uses the system cert store.
2020-09-25 14:39:16 -04:00
beeankha
b34c1f4c79
Update integration tests
2020-09-25 13:23:34 -04:00
Ryan Petrello
baad765179
refactor some callback receiver code
...
the bigint migration removed the foreign key constraints for:
- host_id
- job_id (and projectupdate_id, etc...)
because of this, we don't really need to check explicitly for a host_id
IntegrityError anymore (because it won't occur)
additionally, while it's possible to insert an event with a mismatched
job_id now (for example, you can totally start a long-running job, and
delete the job record in the background using the ORM or psql), doing
so results in DoesNotExist errors in the code that handles the
playbook_on_stats events
2020-09-25 13:12:42 -04:00
softwarefactory-project-zuul[bot]
b4d6270eab
Merge pull request #8232 from mabashian/8219-extra-GET-requests
...
Fix extra GET requests on Notif Template/Container Groups forms
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-25 13:37:43 +00:00
John Westcott IV
842e490ba6
Removing needs devel ad hoc entry
2020-09-25 08:51:28 -04:00
John Westcott IV
5b10482256
Fixing linting
2020-09-25 08:49:28 -04:00
John Westcott IV
baf3b617cb
Initial commit of ad hoc module
2020-09-25 08:49:28 -04:00
softwarefactory-project-zuul[bot]
acc0ba570e
Merge pull request #8205 from john-westcott-iv/tower_application_continuation
...
Tower application continuation
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-25 00:24:01 +00:00
mabashian
56ed2c6afa
Autopopulate credential on container group form and organization on notification template form
2020-09-24 17:26:33 -04:00
mabashian
24a4236232
Wrap onChange functions passed to lookups in useCallback since these functions are eventually passed to a hook and used in a dependency array.
2020-09-24 17:07:58 -04:00
softwarefactory-project-zuul[bot]
ce65ed0ac6
Merge pull request #8191 from ryanpetrello/callback-directly-to-redis
...
remove multiprocessing.Queue usage from the callback receiver
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-24 18:21:49 +00:00
Ryan Petrello
cd0b9de7b9
remove multiprocessing.Queue usage from the callback receiver
...
instead, just have each worker connect directly to redis
this has a few benefits:
- it's simpler to explain and debug
- back pressure on the queue keeps messages around in redis (which is
observable, and survives the restart of Python processes)
- it's likely notably more performant at high loads
2020-09-24 13:53:58 -04:00
John Westcott IV
a9ea2523c9
Fixing linting/doc issues
2020-09-24 13:33:35 -04:00
softwarefactory-project-zuul[bot]
d97f80df43
Merge pull request #8221 from beeankha/job_timeout_notification_bugfix
...
Enable "On Fail" Notifications to Send Upon Timeout of Job Templates
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-24 13:53:04 +00:00
Marcelo Moreira de Mello
f1b8a63d91
Ability to import standard pgdump into Openshift
2020-09-23 22:33:57 -04:00
beeankha
c855ce95aa
Fix JT timeout notification bug
2020-09-23 15:45:11 -04:00
mabashian
b714a0dc7e
Fix padding on field labels with prompt on launch checkboxes
2020-09-23 15:27:31 -04:00
softwarefactory-project-zuul[bot]
aac17b9d2c
Merge pull request #8206 from ryanpetrello/more-bulk-update-last-job
...
change host -> last_job_id bulk update query to avoid locking issues
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-23 15:18:42 +00:00
softwarefactory-project-zuul[bot]
d7ca49ce4a
Merge pull request #8193 from ryanpetrello/ws-broadcast-limited
...
add a few additional optimizations to the callback receiver
Reviewed-by: Shane McDonald <me@shanemcd.com >
https://github.com/shanemcd
2020-09-23 14:58:41 +00:00
John Westcott IV
4a4e62e035
Removing tower_application from needs_development in completeness test
2020-09-23 09:54:06 -04:00
softwarefactory-project-zuul[bot]
e5f5ad198a
Merge pull request #8212 from branic/add_postgres_custom_root_ca
...
Add custom root ca certificate via configmap
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-23 13:41:13 +00:00
softwarefactory-project-zuul[bot]
ee3f835ea9
Merge pull request #8213 from ryanpetrello/galaxy-ignore-certs-ui
...
expose GALAXY_IGNORE_CERTS in the job settings UI
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-23 13:15:28 +00:00
John Westcott IV
cb1ba9e3a4
Fixing zuul issues
2020-09-23 09:03:03 -04:00
Ryan Petrello
1f0cd8df71
expose GALAXY_IGNORE_CERTS in the job settings UI
2020-09-23 08:36:52 -04:00
Brant Evans
512da5a01c
Add custom root ca certificate via configmap
...
Signed-off-by: Brant Evans <bevans@redhat.com >
2020-09-22 16:42:39 -07:00
Ryan Petrello
89ff8e1f3e
change host -> last_job_id bulk update query to avoid locking issues
...
see: https://github.com/ansible/awx/issues/8145
2020-09-22 16:04:28 -04:00
softwarefactory-project-zuul[bot]
3184bccb33
Merge pull request #8204 from marshmalien/words-matter-pt2
...
Replace google oauth2 setting with more inclusive language
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-22 19:43:40 +00:00
John Westcott IV
c5df37777b
Addig tests and updating minor module bugs
2020-09-22 15:22:35 -04:00
Marliana Lara
0732b047b5
Replace setting term with inclusive language
2020-09-22 15:09:55 -04:00
Geoffrey Bachelot
1c729518a5
Delete depcreated username parameter
2020-09-22 14:54:35 -04:00
Geoffrey Bachelot
5a374585de
delete deprecated parameters and add missing skip_authorization
2020-09-22 14:54:35 -04:00
Geoffrey Bachelot
b9d2e431a6
Create tower_application module
2020-09-22 14:54:35 -04:00
Ryan Petrello
b370e8389e
add a few additional optimizations to the callback receiver
2020-09-22 08:51:01 -04:00
Jake McDermott
b6afc085a7
Reload on stats when live updates are disabled
2020-09-21 20:42:44 -04:00
Ryan Petrello
bed2dea04d
don't broadcast ws:// events when UI_LIVE_UPDATES_ENABLED is False
2020-09-21 20:42:39 -04:00
softwarefactory-project-zuul[bot]
31cd36b768
Merge pull request #8104 from mabashian/4254-auto-pop-lookup
...
Auto populate various required lookups on various forms
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-21 21:37:02 +00:00
softwarefactory-project-zuul[bot]
dc492d0cfd
Merge pull request #8179 from nixocio/ui_fix_undefined_variable
...
Fix issue with undefined variable
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-21 18:28:15 +00:00
softwarefactory-project-zuul[bot]
9a8580144c
Merge pull request #8189 from kdelee/analytics_logging
...
Need log level info to show up with new settings
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-21 17:52:15 +00:00
mabashian
10ae6c9042
Cleans up console error thrown from this test. Also fixed the last test as it wasn't actually testing the desired behavior.
2020-09-21 13:24:23 -04:00
mabashian
8bee409a4a
Auto populate various required lookups on various forms
2020-09-21 13:24:23 -04:00
Elijah DeLee
7c7d15a8be
Need log level info to show up with new settings
2020-09-21 11:22:43 -04:00
softwarefactory-project-zuul[bot]
9eb8ac620f
Merge pull request #8180 from jakemcdermott/deps-autofix
...
Upgrade lingui-cli to 2.9.2
Reviewed-by: John Hill <johill@redhat.com >
https://github.com/unlikelyzero
2020-09-21 15:08:19 +00:00
softwarefactory-project-zuul[bot]
44d1e15ef4
Merge pull request #8177 from ryanpetrello/rrule-bug
...
fix an rrule bug that causes improper HOURLY/MINUTELY calculation
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-18 20:02:10 +00:00
softwarefactory-project-zuul[bot]
0c81b83080
Merge pull request #8078 from nixocio/ui_issue_8073
...
Add Container Group details
Reviewed-by: Kersom
https://github.com/nixocio
2020-09-18 19:15:14 +00:00
softwarefactory-project-zuul[bot]
a2408892a8
Merge pull request #8152 from AlanCoding/import_fix
...
Fix AWX collection import test interference with Default organization
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-18 19:05:22 +00:00
softwarefactory-project-zuul[bot]
deab7395f2
Merge pull request #8150 from keithjgrant/7878-notification-websockets
...
Update status after sending test notification
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-18 17:52:38 +00:00
Keith Grant
3ed05e9d9b
fix NotificationTemplateItem test
2020-09-18 10:20:17 -07:00
Jake McDermott
34579226ef
Upgrade lingui-cli to 2.9.2
2020-09-18 13:01:04 -04:00
nixocio
9d0b37e96c
Fix issue with undefined variable
...
Fix issue with undefined variable when data related to `me` is not
available.
2020-09-18 12:30:53 -04:00
softwarefactory-project-zuul[bot]
256123dc9d
Merge pull request #8168 from keithjgrant/3321-session-management
...
Logout session if config returns 401
Reviewed-by: John Hill <johill@redhat.com >
https://github.com/unlikelyzero
2020-09-18 16:08:06 +00:00
Ryan Petrello
bf1d93168b
fix an rrule bug that causes improper HOURLY/MINUTELY calculation
...
see: https://github.com/ansible/awx/issues/8071
2020-09-18 12:06:07 -04:00
softwarefactory-project-zuul[bot]
39497fa502
Merge pull request #8178 from ryanpetrello/callback-status-sos
...
report callback receiver status in the sosreport
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-18 15:15:21 +00:00
Ryan Petrello
a1ddbd760d
report callback receiver status in the sosreport
2020-09-18 10:49:50 -04:00
softwarefactory-project-zuul[bot]
c17bb36bcd
Merge pull request #8167 from ryanpetrello/callback-cleanup
...
Add support for a `--status` to the callback receiver (and improve our approach to stats collection in general)
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-18 13:58:30 +00:00
Keith Grant
43d339d1cd
fix test
2020-09-17 13:46:43 -07:00
softwarefactory-project-zuul[bot]
56c5a39087
Merge pull request #8159 from john-westcott-iv/lookup_plugin_fix
...
Fixing issue with lookup plugin not able to load host, user, etc
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-17 20:03:15 +00:00
Ryan Petrello
57f8e48894
make --status more robust for dispatcher, and add support for receiver
...
make the --status flag work by fetching a periodically recorded snapshot
of internal process state; additionally, update the callback receiver to
*also* record these statistics so we can gain more insight into any
performance issues
2020-09-17 15:33:37 -04:00
Keith Grant
cde8cb57da
allow app skeleton to display while config is loading
2020-09-17 12:31:13 -07:00
softwarefactory-project-zuul[bot]
969f75778c
Merge pull request #8166 from wenottingham/log-log-log
...
Fix analytics logging
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-17 18:42:29 +00:00
Bill Nottingham
18c27437b7
Fix analytics logging
...
The analytics change PR adjusted the logging for awx.analytics,
which solved the issue, but should have used the targeted awx.main.analytics.
Also flip a couple of loggers to use the regular awx.analytics (awx analytics)
logger instead of awx.main.analytics (the automation anayltics task system).
2020-09-17 13:39:14 -04:00
John Westcott IV
baa00bd582
Truthy strikes again
2020-09-17 07:51:01 -04:00
Keith Grant
6c4f9364ee
kick back to login page if config gets 401 response
2020-09-16 15:35:02 -07:00
John Westcott IV
ee3a90d193
Adding example of specifying connection info
2020-09-16 14:52:41 -04:00
John Westcott IV
24bdbd8c58
Fixing issue with lookup plugin not able to load host, user, etc
2020-09-16 14:41:04 -04:00
Ryan Petrello
0df6409244
remove task state tracking from the callback receiver
...
we don't have support for displaying these stats anyways, so there's
no point in using resources tracking them, especially for high-volume
installs
2020-09-16 13:40:42 -04:00
softwarefactory-project-zuul[bot]
aceb8229ba
Merge pull request #8153 from AlanCoding/delete_things
...
Remove out of date collection testing tools
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-16 15:05:56 +00:00
Alan Rominger
e177432b8f
Do not expect failure in tower_import test
2020-09-16 10:34:11 -04:00
softwarefactory-project-zuul[bot]
1860a2f71d
Merge pull request #8087 from AlanCoding/update_secrets
...
Add new option update_secrets to allow lazy or strict updating
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-16 03:19:55 +00:00
Alan Rominger
05fb47dece
Remove out of date collection testing tools
2020-09-15 22:59:12 -04:00
Alan Rominger
3aec1a115d
fix wording
2020-09-15 22:38:37 -04:00
Alan Rominger
2f1a9a28ea
streamline credential test
2020-09-15 22:38:37 -04:00
Alan Rominger
362d6a3204
Add new option update_secrets to allow lazy or strict updating
2020-09-15 22:38:37 -04:00
Nicolas Payart
8e97214309
Add option update_password (always, on_create) to tower_user module
2020-09-15 22:37:50 -04:00
Alan Rominger
48f30c5106
Fix AWX collection import test interference with Default organization
2020-09-15 22:03:37 -04:00
Keith Grant
a10f52c70e
poll for notification status after sending test
2020-09-15 15:37:44 -07:00
softwarefactory-project-zuul[bot]
ef3a497c42
Merge pull request #8147 from ryanpetrello/py-path
...
move an optional import for awxkit
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-15 19:32:26 +00:00
softwarefactory-project-zuul[bot]
4b72630087
Merge pull request #8136 from neoaggelos/awxkit-import-yaml-loader
...
Support `!import` and `!include` in `awx import -f yaml` command
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-15 18:56:06 +00:00
softwarefactory-project-zuul[bot]
432e167930
Merge pull request #8105 from keithjgrant/7877-notification-custom-messages
...
Notification Detail: show custom messages
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-15 18:53:41 +00:00
Ryan Petrello
1a533a2a23
move an optional import for awxkit
...
I'm not sure that this function is actually in use anywhere anymore, but
it shouldn't be a top-level import because it represents an optional
dependency.
2020-09-15 14:50:01 -04:00
Keith Grant
fa0abc0dd8
notification templates: fix un-select all
2020-09-15 10:56:55 -07:00
softwarefactory-project-zuul[bot]
b0875965db
Merge pull request #8138 from moreiramarti/devel
...
K8s ServiceAccount variabilization
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-15 14:35:08 +00:00
nixocio
d3d3fe8892
Add Container Group details
...
Add Container Group details.
See: https://github.com/ansible/awx/issues/8073
2020-09-15 09:11:34 -04:00
Keith Grant
236ae6c5b6
handle null messages.workflow_approval some more
2020-09-14 16:05:03 -07:00
Keith Grant
b27d9b680a
handle null messages.workflow_approval
2020-09-14 15:17:39 -07:00
softwarefactory-project-zuul[bot]
22bff7adec
Merge pull request #8141 from kdelee/fix_analytics_tests
...
Print one targz per line (analytics gather)
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-14 22:04:23 +00:00
softwarefactory-project-zuul[bot]
a90bb36b72
Merge pull request #8055 from mabashian/8052-workflow-viz-rbac
...
Fixes some rbac issues in the workflow toolbar and start screen
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-14 21:14:12 +00:00
Elijah DeLee
d8e4ac773b
Print one tarball per line
...
Printing out a python like list is hard to process for tests
Better to print out one tarball per line
2020-09-14 17:00:31 -04:00
softwarefactory-project-zuul[bot]
1a581a79ea
Merge pull request #8070 from nixocio/ui_add_edit_container_groups
...
Add/Edit Container Groups
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-14 20:48:05 +00:00
softwarefactory-project-zuul[bot]
99da5770a7
Merge pull request #8139 from ansible/jakemcdermott-remove-self-closing-tag-tags
...
Remove self-closing tags for tag component
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-14 16:59:55 +00:00
Martinho Moreira
8d5914b3f1
K8s ServiceAccount variabilization
2020-09-14 17:37:45 +02:00
Jake McDermott
c6aeb755a4
Remove self-closing tags for tag component
2020-09-14 11:28:52 -04:00
softwarefactory-project-zuul[bot]
9d66b41e84
Merge pull request #7991 from bbayszczak/hashivault_auth_path_in_inputs
...
hashivault_kv auth_path moved from metadata to inputs
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-09-14 15:28:07 +00:00
Aggelos Kolaitis
b8cf644959
Add name to StringIO object to fix failing test
2020-09-13 17:41:53 +03:00
Aggelos Kolaitis
9918b2581c
Support !import and !include in awx import -f yaml command
2020-09-13 17:01:12 +03:00
softwarefactory-project-zuul[bot]
b69fad83b1
Merge pull request #7709 from wenottingham/so-many-del-toros
...
Adjust analytics gathering
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-11 21:41:05 +00:00
softwarefactory-project-zuul[bot]
424bf94a15
Merge pull request #8101 from ansible/jakemcdermott-expand-nav
...
Start with navigation expanded
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-11 20:16:02 +00:00
softwarefactory-project-zuul[bot]
9d4bad559f
Merge pull request #8102 from jakemcdermott/remove-dead-projects-code
...
Remove dead projects code
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-11 20:09:25 +00:00
softwarefactory-project-zuul[bot]
1e9fb6b640
Merge pull request #8133 from fosterseth/update_task_manager_system_docs
...
Update task manager docs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-11 18:50:10 +00:00
mabashian
ad1c4b1586
Add unique ID to cred field external plugin button(s)
2020-09-11 14:17:35 -04:00
softwarefactory-project-zuul[bot]
412a294461
Merge pull request #7940 from mabashian/6616-workflow-results-sockets
...
Update job status and workflow node job status based on websocket events
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-11 17:31:47 +00:00
Seth Foster
3606b4e334
these rules no longer apply as of PRs 5519 and 5489
2020-09-11 12:59:18 -04:00
softwarefactory-project-zuul[bot]
0c5aaa2872
Merge pull request #8132 from wenottingham/halfway-there
...
Make ansible venv psutil match awx venv version
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-11 16:52:23 +00:00
Bill Nottingham
f1c59477c0
Make ansible venv psutil match awx venv version
2020-09-11 12:02:00 -04:00
softwarefactory-project-zuul[bot]
0a871c6107
Merge pull request #8119 from soomsoom/unarchive-rpm-pacakges
...
Adding unzip dnf package
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-11 15:57:38 +00:00
softwarefactory-project-zuul[bot]
61c4c5292c
Merge pull request #8125 from jakemcdermott/fix-api-urls
...
Fix malformed urls
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-11 15:53:39 +00:00
softwarefactory-project-zuul[bot]
88c691fd6e
Merge pull request #7993 from mabashian/7364-jobs-list-cancel
...
Adds cancel button to jobs list
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-11 15:07:30 +00:00
mabashian
68426daaff
Fix residual error from merge conflict
2020-09-11 10:50:27 -04:00
mabashian
d654af77cf
Moves cred plugin test button down into wizard footer
2020-09-11 10:50:27 -04:00
mabashian
5cfca7896f
Adds proptypes to CredentialPluginTestAlert component
2020-09-11 10:50:27 -04:00
mabashian
9f8691dbea
Add the credential id and metadata from the form to the dependency array of useCallback when testing cred plugin configuration. This allows us to remove the variables passed in to the request.
2020-09-11 10:50:27 -04:00
mabashian
62054bbfc8
Pulls CredentialPlugins out of CredentialFormFields and into the root of the shared dir
2020-09-11 10:50:27 -04:00
mabashian
aed96de195
Fix merge conflict
2020-09-11 10:50:27 -04:00
mabashian
67f46b4d7e
Hook up Test button on Metadata step in credential plugin wizard
2020-09-11 10:50:27 -04:00
mabashian
8fab4559b9
Add data-job-status attr to all StatusIcons so that automated tests can determine whether or not a status has been updated via websockets.
2020-09-11 09:27:44 -04:00
mabashian
45ca9976f3
Fix merge conflict error
2020-09-11 09:17:42 -04:00
mabashian
5b56bda0bb
Fix tests after changing node data structure
2020-09-11 09:17:42 -04:00
mabashian
c318a17590
Refresh nodes after workflow has finished running so that we can display all job info for relevant nodes.
2020-09-11 09:17:42 -04:00
mabashian
e28c9bb3c4
Remove unnecessary constant variable
2020-09-11 09:17:42 -04:00
mabashian
c209c98e3f
Update job for job detail/workflow details based on websockets. Re-fetch job after job finishes running to display all available info.
2020-09-11 09:17:42 -04:00
mabashian
af77116f1e
Convert Job.jsx to functional component in preparation for socket hook usage
2020-09-11 09:17:42 -04:00
mabashian
328e503f5b
Update workflow node job status based on websocket messages
2020-09-11 09:17:42 -04:00
mabashian
5d4ef86db7
Rename inv/inv source ws functions
2020-09-11 09:17:42 -04:00
mabashian
3e99e94b8c
Redirect user to visualizer page after successful workflow creation
2020-09-11 09:17:42 -04:00
Bill Nottingham
13802fcf2b
Don't return error messages for license errors
...
Just log the exception and return None.
2020-09-10 21:19:07 -04:00
Jake McDermott
b2ad75a1b7
Fix malformed urls
2020-09-10 18:31:49 -04:00
mabashian
130a43f5c4
Simplify kebab modal open logic
2020-09-10 15:32:30 -04:00
mabashian
0fc6affe85
Refactor kebab modal tracking logic in delete/cancel buttons
2020-09-10 15:32:29 -04:00
mabashian
c8a07309ee
Fix typo
2020-09-10 15:32:29 -04:00
mabashian
2b60759edc
Fix bug where delete/cancel buttons in kebab would not actually make delete/cancel requests
2020-09-10 15:32:29 -04:00
mabashian
225f57fefd
Remove use of i18n.plural in favor of low level i18n._.
2020-09-10 15:32:29 -04:00
mabashian
bae10718d5
Remove RelatedAPI model in favor of JobsAPI. Adds cancel method to JobsAPI and uses that on the jobs list.
2020-09-10 15:32:29 -04:00
mabashian
f27b541396
Adds cancel button to jobs list toolbar
2020-09-10 15:32:29 -04:00
mabashian
6889128571
Peel axios instantiation out into it's own file so that it can be used in the RelatedAPI model
2020-09-10 15:32:29 -04:00
softwarefactory-project-zuul[bot]
4b51c71220
Merge pull request #8109 from AlanCoding/hack_null_org
...
Hack to delete orphaned organizations, consolidate get_one methods
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-10 18:15:45 +00:00
Jake McDermott
59ecefb1c5
Start with navigation expanded
2020-09-10 13:48:32 -04:00
Jake McDermott
c3f9993e18
Remove dead projects code
2020-09-10 13:28:00 -04:00
softwarefactory-project-zuul[bot]
328b270c9f
Merge pull request #8121 from ryanpetrello/galaxy-cred-collection
...
address a few follow-up issues for Org -> Galaxy Credentials support
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-10 15:58:27 +00:00
Ryan Petrello
af238be377
address a few follow-up issues for Org -> Galaxy Credentials support
...
- add support for managing galaxy creds in the tower organization module
- fix a minor serializer bug
2020-09-10 11:00:21 -04:00
softwarefactory-project-zuul[bot]
4bb851ca66
Merge pull request #8118 from mjeffin/postres-volume-typo
...
Update docker-compose.yml.j2
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-10 14:39:43 +00:00
Alan Rominger
2e1f5cebb7
Further refine error message and update integration tests
...
Fix test with spaces
pep8 failure
More test tweaks
Even more test fixes
2020-09-10 09:49:27 -04:00
Alan Rominger
a73323f3d6
Hack to delete orphaned organizations, consolidate get_one methods
...
minor test update
Updating the message if more than one object is found
Update test to new message
2020-09-10 09:00:50 -04:00
soomsoom
014a38682d
Adding unzip dnf package
...
Adding unzip DNF package to resolve an issue with the unarchive module when run locally
2020-09-10 06:26:07 -04:00
mjeffin
38fd652f89
Update docker-compose.yml.j2
...
Add quotes around volume value for posgres data. I installed via docker without changing any values and the UI was stuck in upgrading for long time. Browsed around and figured out that issue was due to postgres volume as a query was getting error. Inspected the template and found that there was no quotes around volume, unlike volumes for others.
I added the quotes and docker compose was working
2020-09-10 13:53:52 +05:30
softwarefactory-project-zuul[bot]
ff7c2e9180
Merge pull request #8111 from ryanpetrello/bye-bye-boto
...
remove boto as an awx dependency
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-10 01:39:00 +00:00
softwarefactory-project-zuul[bot]
e39622d42e
Merge pull request #8058 from sean-m-sullivan/workflow_label
...
Workflow label
Reviewed-by: Alan Rominger <arominge@redhat.com >
https://github.com/AlanCoding
2020-09-10 01:21:06 +00:00
Bill Nottingham
05ad85e7a6
Remove the model for the now unused TowerAnalyticsState.
2020-09-09 20:18:04 -04:00
Bill Nottingham
a604ecffb8
Adjust query_info to set the collection time based on what's passed.
2020-09-09 20:05:48 -04:00
Bill Nottingham
09f7d70428
Use isoformat() rather than strftime
...
Reformat SQL in unit tests because sqlite.
2020-09-09 20:05:32 -04:00
Bill Nottingham
d4ba62695f
Put awx analytics logs also in the task system logger
...
Errors/warnings when gathering analytics are about 50/50 split between
the gathering code in analytics and the task code that calls it, so
they should be in the same place for debugging sanity.
2020-09-09 17:42:40 -04:00
Bill Nottingham
c753324872
Move back to less frequent collections, and split large event tables
...
This should ensure we stay under 100MB at all times.
2020-09-09 17:42:40 -04:00
Bill Nottingham
9f67b6742c
Fail more gracefully if analytics.ship() is called with a bad path,
...
or it's deleted out from under us.
2020-09-09 17:42:40 -04:00
Bill Nottingham
1a15f18be3
Stop using the TowerAnalyticsState solo model
...
This is now tracked in the AUTOMATION_ANALYTICS_LAST_GATHER setting.
2020-09-09 17:42:40 -04:00
Bill Nottingham
40309e6f70
Ensure we do not send large bundles, or empty bundles
...
Collect expensive collectors separately, and in a loop
where we make smaller intermediate dumps.
Don't return a table dump if there are no records, and
don't put that CSV in the manifest.
Fix up unit tests.
2020-09-09 17:42:40 -04:00
Bill Nottingham
1c4b06fe1e
Refactor analytics collectors.
...
- Only have one registration class
- Add description fields
- Add automation collector information to /api/v2/config
2020-09-09 17:10:14 -04:00
softwarefactory-project-zuul[bot]
dff7667532
Merge pull request #7905 from AlexSCorey/6603-AdHocCommands
...
Add Ad Hoc Commands
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-09 20:21:41 +00:00
Daniel Sami
da58db7431
grammar fix
2020-09-09 15:42:02 -04:00
Alex Corey
3402e5db35
updates tooltip component, fixes formik configuration on ad hoc qizard
2020-09-09 15:20:18 -04:00
Daniel Sami
fe115fdd16
dropped translation tag
2020-09-09 14:39:54 -04:00
Ryan Petrello
a817708d70
remove boto as an awx dependency
...
see: https://github.com/ansible/awx/issues/2115
2020-09-09 14:33:33 -04:00
Alex Corey
678dcad437
updates tooltip component, fixes formik configuration on ad hoc qizard
2020-09-09 12:46:19 -04:00
Alex Corey
0e3fbb74d4
updates keys
2020-09-09 12:46:19 -04:00
Alex Corey
94469cc8c0
Adds Proptypes and updates tooltips to make them more translatable
2020-09-09 12:46:19 -04:00
Alex Corey
e6ae171f4b
Adds Ad Hoc Commands Wizard
2020-09-09 12:46:19 -04:00
softwarefactory-project-zuul[bot]
caa7b43fe0
Merge pull request #7817 from ryanpetrello/galaxy-credentials
...
Support Organization-scoped Galaxy installs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-09 16:17:18 +00:00
mabashian
19886f7ec3
Hide edit button on workflow node details view for users that don't have the ability to edit the workflow
2020-09-09 09:44:09 -04:00
mabashian
945dfbb648
Fixes some rbac issues in the workflow toolbar and start screen. Add/edit-related buttons should be hidden for users that cannot edit the workflow.
2020-09-09 09:07:46 -04:00
Sean Sullivan
470b7aaeea
Merge pull request #10 from ansible/devel
...
Rebase from devel
2020-09-09 07:49:37 -05:00
Keith Grant
6af427d4e1
update test snapshot
2020-09-08 14:45:20 -07:00
softwarefactory-project-zuul[bot]
a3e08a3d09
Merge pull request #8072 from john-westcott-iv/get_one_fix
...
Modify get_one method to allow IDs in addition to names
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-08 21:30:59 +00:00
Keith Grant
e0e48bf922
add custom messages to Notification Detail
2020-09-08 14:04:38 -07:00
Keith Grant
7042542e6a
add ArrayDetail
2020-09-08 14:00:57 -07:00
softwarefactory-project-zuul[bot]
3f63800f58
Merge pull request #7967 from keithjgrant/7876-notifications-form
...
Notifications form
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-08 20:56:21 +00:00
softwarefactory-project-zuul[bot]
800cf30d92
Merge pull request #8089 from rooftopcellist/update_analytics_job_test
...
Provide a distinct column name for inventory_name in unifiedjob analy…
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-08 20:04:31 +00:00
John Westcott IV
570251dc3d
Modifying get_item_name to handle a None object
2020-09-08 15:28:57 -04:00
John Westcott IV
faa33efdd2
Fixing registered name
2020-09-08 15:28:37 -04:00
John Westcott IV
09b8f82bbb
Fixing test issue and 'modornizing' test
2020-09-08 15:28:21 -04:00
sean-m-sullivan
cfdfa911e8
update lint
2020-09-08 14:00:12 -05:00
softwarefactory-project-zuul[bot]
cd8c74e28f
Merge pull request #8094 from ryanpetrello/upgrade-django-libs
...
Update Django and channels_redis
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-08 17:46:35 +00:00
John Westcott IV
4c0e288fee
Touching up to missing sport of get_one returning multiple params
2020-09-08 13:38:44 -04:00
Keith Grant
13e6757666
add ids to CodeMirror FormGroup containers
2020-09-08 10:17:18 -07:00
softwarefactory-project-zuul[bot]
90c3bfc6ae
Merge pull request #8074 from fosterseth/fix-7655_task_manager_times_out
...
Prevent task manager timeout by limiting number of jobs to start
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-08 16:42:20 +00:00
Seth Foster
e09274e533
PR #8074 - limit how many jobs the task manager can start on a given run
2020-09-08 12:16:06 -04:00
John Westcott IV
c2cfaec7d1
Fixing name -> username
2020-09-08 11:52:53 -04:00
John Westcott IV
d6f35a71d7
Adding allow_unknown option for get_item_name
2020-09-08 11:51:47 -04:00
John Westcott IV
6467d34445
Touching up tower_inventory_source after rebase
2020-09-08 11:36:33 -04:00
Christian M. Adams
0681444294
Provide a distinct column name for inventory_name in unifiedjob analytics csv
2020-09-08 11:14:24 -04:00
John Westcott IV
0a8db586d1
Changing how get_one returns
2020-09-08 11:10:18 -04:00
John Westcott IV
106157c600
get_one now also returns the name field, and modifying modules for get_one and added in some IDs in a handful of unit tests
2020-09-08 11:06:01 -04:00
John Westcott IV
4c4d6dad49
Adding get_item_name and making static methods
2020-09-08 11:03:10 -04:00
John Westcott IV
24ec129235
Modifying credential for new get_one
2020-09-08 11:03:10 -04:00
John Westcott IV
5042ad3a2b
Updating user module for new get_one
2020-09-08 11:03:10 -04:00
John Westcott IV
51959b29de
Adding name_or_id to get_one to make module more uniform
2020-09-08 11:03:10 -04:00
Ryan Petrello
c862b3e5a2
Revert "work around a memory leak in channels_redis"
...
This reverts commit e25da217e8 .
2020-09-08 10:40:47 -04:00
Ryan Petrello
f81560b12c
update Django and channels_redis
...
see: https://github.com/ansible/tower/issues/4439
also, addresses CVE-2020-24583 and CVE-2020-24584
2020-09-08 10:39:26 -04:00
softwarefactory-project-zuul[bot]
68265ea9b5
Merge pull request #8092 from nixocio/ui_issue_8091
...
List jobs for container groups
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-09-08 14:33:57 +00:00
softwarefactory-project-zuul[bot]
6e6aa1fdab
Merge pull request #8033 from beeankha/update_inv_src_module
...
Add New tower_inventory_source_update Module
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-08 14:04:32 +00:00
Benoit Bayszczak
08c9219f48
rename 'approle_auth_path' to 'default_auth_path' & fix kwargs.get
2020-09-08 10:39:12 +02:00
beeankha
c7114b2571
Add specific lookup data to error message
2020-09-07 11:43:44 -04:00
softwarefactory-project-zuul[bot]
127ca4bc54
Merge pull request #7975 from AlexSCorey/7973-DisableTemplateFormFields
...
Disables template and workflow template fields.
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-06 21:26:23 +00:00
Alex Corey
b51f013880
disables prompt on launch checkbox
2020-09-05 08:32:15 -04:00
Alex Corey
fc4060778b
Disables template and workflow template fields for users that do not have permissions for those fields.
2020-09-05 08:32:15 -04:00
Keith Grant
40d3e4ee8b
handle error string in FormSubmitError
2020-09-04 16:24:09 -07:00
beeankha
a0b8f6a25d
Make org an optional parameter for both inv source and inv source update modules
2020-09-04 18:56:58 -04:00
Keith Grant
9711c33675
fix multiple notification form bugs
2020-09-04 15:50:04 -07:00
Keith Grant
b119bc475f
convert http headers field to string for codemirror
2020-09-04 15:50:04 -07:00
Keith Grant
055abd57cd
fix new test from rebase
2020-09-04 15:50:04 -07:00
Keith Grant
95c4b6c922
trying to force tests to re-run
2020-09-04 15:50:04 -07:00
Keith Grant
7ab9d899e4
mark text for translation
2020-09-04 15:49:11 -07:00
Keith Grant
c700d07a0a
fix lint error
2020-09-04 15:49:11 -07:00
Keith Grant
4a616d9f81
ensure notification template re-loads after saving
2020-09-04 15:49:11 -07:00
mabashian
e830da97f3
Fix broken credential form tests after id change
2020-09-04 15:49:11 -07:00
Keith Grant
43ac5a0574
add some notification form tests; notification add screen
2020-09-04 15:49:11 -07:00
Keith Grant
9bb834a422
create ArrayTextField component
2020-09-04 15:49:11 -07:00
Keith Grant
458d29a579
only submit customized notification messages if changed
2020-09-04 15:49:11 -07:00
Keith Grant
19fc0d9a96
reset notification messages to defaults when switching to new type
2020-09-04 15:49:11 -07:00
Keith Grant
ba95775ded
add custom notification messages subform
2020-09-04 15:49:11 -07:00
Keith Grant
bb12e0a3a9
fix initial values for notification type fields
2020-09-04 15:49:10 -07:00
Keith Grant
09178dd5f2
flush out notification form and type subform
2020-09-04 15:49:10 -07:00
nixocio
d4b2e1998e
List jobs for container groups
...
Add list of jobs related to container groups.
See: https://github.com/ansible/awx/issues/8091
2020-09-04 16:21:32 -04:00
softwarefactory-project-zuul[bot]
9c90804300
Merge pull request #7974 from AlexSCorey/6561-WFJTDeetsNotLoad
...
Adds fix to load template details
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-04 20:16:30 +00:00
softwarefactory-project-zuul[bot]
95b43c0087
Merge pull request #8075 from ryanpetrello/redis-capacity-check
...
if redis is unreachable, set instance capacity to zero
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-04 20:06:21 +00:00
softwarefactory-project-zuul[bot]
3f8cd21233
Merge pull request #8084 from ryanpetrello/bye-fact-scanning
...
remove old fact scanning plugins
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-04 19:13:56 +00:00
softwarefactory-project-zuul[bot]
e6cd27a858
Merge pull request #7960 from mabashian/6113-6703-cred-file-upload
...
Support file upload/drag and drop on credential mutliline fields
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-04 17:27:43 +00:00
beeankha
4133ec974b
Follow same pattern as project update module, add task to integration test
2020-09-04 13:05:34 -04:00
softwarefactory-project-zuul[bot]
70f1bffe42
Merge pull request #8069 from ryanpetrello/saml-autopop
...
add the ability to prevent SAML auto-population behavior
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-04 16:01:23 +00:00
mabashian
77c211dabe
Adds id's to credential form buttons
2020-09-04 11:22:34 -04:00
Ryan Petrello
013b411a0a
remove old fact scanning plugins
2020-09-04 10:51:34 -04:00
beeankha
7764f1c1a5
Fix inv source org lookup, adjust unit tests (since org is now required for inv source module), update README, edit typos in test-related README
2020-09-04 10:19:56 -04:00
beeankha
b78dea3e4b
Add wait ability to the module
2020-09-04 10:19:56 -04:00
beeankha
1ce5d7d539
Add ability to look up inventory sources by org name/ID
2020-09-04 10:19:56 -04:00
beeankha
65e0ed8c77
Fix linter error
2020-09-04 10:19:56 -04:00
beeankha
72dbd10c2a
Initial commit for new inventory sync module
2020-09-04 10:19:56 -04:00
mabashian
e5f9ed827b
Undo commenting out of strictmode
2020-09-04 09:20:09 -04:00
mabashian
2d2108b1de
Support file upload/drag and drop on credential mutliline fields
2020-09-04 09:20:09 -04:00
Ryan Petrello
b01d204137
if redis is unreachable, set instance capacity to zero
2020-09-03 15:11:53 -04:00
Ryan Petrello
a6d26d7dab
add the ability to prevent SAML auto-population behavior
2020-09-03 11:21:14 -04:00
nixocio
adffa29346
Add/Edit Container Groups
...
Add/Edit container groups.
See: https://github.com/ansible/awx/issues/7955
2020-09-03 10:13:24 -04:00
softwarefactory-project-zuul[bot]
cce66e366f
Merge pull request #8065 from e-desouza/patch-1
...
Update from pip to pip3
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-03 12:35:07 +00:00
Elton de Souza
371276b2e1
Update from pip to pip3
2020-09-02 21:11:46 -04:00
softwarefactory-project-zuul[bot]
77b1afe6fd
Merge pull request #7873 from sean-m-sullivan/project_update
...
Project update
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-02 15:39:23 +00:00
sean-m-sullivan
5478c5f2fb
linting
2020-09-02 08:30:09 -05:00
sean-m-sullivan
e2bf3a0287
update to use isdigit and updated tests
2020-09-02 07:19:11 -05:00
sean-m-sullivan
a17eedd9fe
update to not use organizations
2020-09-01 23:08:15 -05:00
sean-m-sullivan
d05c7d6cc5
update to use organizations
2020-09-01 22:54:08 -05:00
sean-m-sullivan
6200467629
add label to workflow templates
2020-09-01 18:58:39 -05:00
Sean Sullivan
dbd8431b14
Merge pull request #6 from ansible/devel
...
Rebase to devel
2020-09-01 18:50:03 -05:00
softwarefactory-project-zuul[bot]
b11a5c1190
Merge pull request #8057 from ryanpetrello/proj-archive-py2
...
update the project archive sync support for py2 compatability
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-01 23:40:58 +00:00
sean-m-sullivan
532447ed40
update to tower module
2020-09-01 16:43:58 -05:00
sean-m-sullivan
300a4510ac
update completness
2020-09-01 15:59:53 -05:00
sean-m-sullivan
d269a6d233
update
2020-09-01 15:59:04 -05:00
softwarefactory-project-zuul[bot]
967e35fec9
Merge pull request #8056 from ryanpetrello/dead-code-ansible-path
...
remove some dead code
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-01 20:33:43 +00:00
softwarefactory-project-zuul[bot]
fcd1169093
Merge pull request #8043 from john-westcott-iv/instance_groups_module
...
Adding tower_instance_group module
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-01 20:26:44 +00:00
sean-m-sullivan
d95d8121f9
added to no endpoints for module
2020-09-01 15:22:14 -05:00
sean-m-sullivan
5d4413041e
update to wait
2020-09-01 14:59:16 -05:00
Ryan Petrello
798f6371af
update the project archive sync support for py2 compatability
...
playbook runs in AWX are still supported in python2, so this adds
support for archive-based project syncs in py2
2020-09-01 15:58:43 -04:00
Sean Sullivan
8e317cabc0
Merge pull request #5 from ansible/devel
...
Rebase from devel
2020-09-01 14:42:23 -05:00
Ryan Petrello
3edaa6bc14
remove some dead code
2020-09-01 15:26:38 -04:00
softwarefactory-project-zuul[bot]
30616c1fce
Merge pull request #8022 from sean-m-sullivan/wait_function
...
Add wait function and update collection modules
Reviewed-by: Bianca Henderson <beeankha@gmail.com >
https://github.com/beeankha
2020-09-01 19:13:12 +00:00
softwarefactory-project-zuul[bot]
57eed5863a
Merge pull request #8054 from ryanpetrello/postgres-upgrade-note
...
add a changelog note about upgrade issues from 13.0 -> 14.0
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-01 19:10:55 +00:00
softwarefactory-project-zuul[bot]
1c55d10d81
Merge pull request #7965 from rebeccahhh/devel
...
adding in inventory to unified job query for analytics
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-01 18:27:27 +00:00
Ryan Petrello
f4af74dabe
renumber the Galaxy credential migration after rebasing
2020-09-01 13:47:26 -04:00
Elyézer Rezende
ad85b176f4
Update awxkit to manage Org galaxy credentials
...
Add the new credential type to the Credential page object and helper
methods to manage the galaxy credentials for the Organization page
object.
2020-09-01 13:46:47 -04:00
Ryan Petrello
4046b18eff
properly handle Galaxy credentials if a Project is orphaned
2020-09-01 13:45:03 -04:00
Ryan Petrello
a869d7da35
create the Galaxy credential for new installs in the preload script
...
doing this in the migration *before* any Organizations actually exist
is stirring up RBAC dragons that I don't have time to fight
this commit meanst that *new* installs will pre-create the default
Galaxy (public) credential in create_preload_data, while
*upgraded/migrations* installs will do so via the migration
2020-09-01 13:45:03 -04:00
mabashian
895010c675
Pre-populate organization galaxy credential field with the default galaxy credential
2020-09-01 13:45:03 -04:00
Ryan Petrello
a30ca9c19c
don't run ansible-galaxy installs if there are no Galaxy credentials
2020-09-01 13:45:03 -04:00
Ryan Petrello
30da93a64e
update the help text for Organization galaxy credentials
2020-09-01 13:45:03 -04:00
mabashian
458807c0c7
Add a Galaxy Credential multi-select field to the Organizations form
2020-09-01 13:45:03 -04:00
Ryan Petrello
011822b1f0
make a global "managed by AWX/Tower" Credential to represent Galaxy
2020-09-01 13:45:03 -04:00
Ryan Petrello
e5552b547b
properly migrate settings.FALLBACK_GALAXY_SERVERS
2020-09-01 13:45:02 -04:00
Ryan Petrello
1b4dd7c783
enforce Organization ownership of Galaxy credentials
2020-09-01 13:45:02 -04:00
Ryan Petrello
25a9a9c3ba
remove redaction exclusions for Galaxy URLs (basic auth support is gone)
2020-09-01 13:45:02 -04:00
Ryan Petrello
130e279012
add a data migration for Galaxy credentials
...
see: https://github.com/ansible/awx/issues/7813
2020-09-01 13:45:02 -04:00
Ryan Petrello
b8e0d087e5
add model support, an API, and a migration for Org -> Galaxy credentials
...
see: https://github.com/ansible/awx/issues/7813
2020-09-01 13:44:59 -04:00
softwarefactory-project-zuul[bot]
8996d0a464
Merge pull request #7763 from chrismeyersfsu/feature-inv_plugin_conf
...
Feature inv plugin conf
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-01 17:44:22 +00:00
Ryan Petrello
40ac719d6d
add a changelog note about upgrade issues from 13.0 -> 14.0
2020-09-01 13:32:09 -04:00
John Westcott IV
5f29b4bc18
Fixing typo
2020-09-01 13:17:24 -04:00
Ryan Petrello
059999c7c3
update the inventory source module to respect new fields
2020-09-01 13:15:07 -04:00
Chris Meyers
924273f589
more get_ansible_version test failure fixes
2020-09-01 12:50:59 -04:00
Chris Meyers
72fc314da1
flake8 fix
2020-09-01 12:50:59 -04:00
Chris Meyers
043a7f8599
more get_ansible_version removal
2020-09-01 12:50:59 -04:00
Chris Meyers
a6712cfd60
bump inv plugin migration to avoid conflict
2020-09-01 12:50:59 -04:00
Alan Rominger
99aff93930
Get rid of ansible version checking
2020-09-01 12:50:59 -04:00
Chris Meyers
03ad1aa141
remove backwords migraiton support for inv plugins
...
* Do not write out inventory source_vars to a file on disk as they _may_
contain sensitive information. This also removes support for backwards
migrations. This is fine, backwards migration is really only useful
during development.
2020-09-01 12:50:59 -04:00
Jake McDermott
dcf5917a4e
Check that host_filter is regexp
2020-09-01 12:50:58 -04:00
Jake McDermott
f04aff81c4
Add details to inv source field help text
2020-09-01 12:50:58 -04:00
Chris Meyers
a9cdf07690
push global invsource fields onto invsource obj
2020-09-01 12:50:58 -04:00
Chris Meyers
d518891520
inventory plugin inventory parameter take precedence over env vars
2020-09-01 12:50:58 -04:00
Chris Meyers
48fb1e973c
overwrite plugin: at runtime
...
* Before, we were re-writing `plugin:` when users updated the
InventorySource via the API. Now, we just override at run-time. This
makes for a more sane API interaction
2020-09-01 12:50:58 -04:00
Chris Meyers
c7794fc3e4
fix missed import
2020-09-01 12:50:58 -04:00
Jake McDermott
2fdeba47a5
Add new common inventory source fields
2020-09-01 12:50:58 -04:00
Chris Meyers
12cf607e8a
simplify InventorySourceOption inheritance hack
2020-09-01 12:50:58 -04:00
Chris Meyers
7d4493e109
rename inventory migration
2020-09-01 12:50:57 -04:00
Jake McDermott
b253540047
Add new common inventory source fields
2020-09-01 12:50:57 -04:00
Jake McDermott
42e70bc852
Delete inventory source fields
2020-09-01 12:50:57 -04:00
Jake McDermott
dce946e93f
Delete inventory source fields
2020-09-01 12:50:57 -04:00
Chris Meyers
2eec1317bd
safer migrations
2020-09-01 12:50:57 -04:00
Chris Meyers
b7efad5640
do not enforce plugin: for source=scm
...
* InventorySource w/ source type scm point to an inventory file via
source_file. source_vars are ignored.
2020-09-01 12:50:57 -04:00
Chris Meyers
35d264d7f8
forgot to add migration helper
...
* move models/inventory.py plugin injector logic to a place frozen in
time useable by the migration code.
2020-09-01 12:50:57 -04:00
Chris Meyers
34adbe6028
fix tests for new inv plugin behavior
...
* Enforce plugin:
2020-09-01 12:50:57 -04:00
Chris Meyers
a8a47f314e
remove source_regions
2020-09-01 12:50:56 -04:00
Chris Meyers
f32716a0f1
remove instance_filter
2020-09-01 12:50:56 -04:00
Chris Meyers
7278e7c025
remove group_by from inventory source
...
* Does not remove group_by testing
2020-09-01 12:50:56 -04:00
Chris Meyers
e11040f421
migrate to new style inv plugin
2020-09-01 12:50:53 -04:00
sean-m-sullivan
9f3635be07
update test to timeout message change
2020-09-01 10:45:41 -05:00
sean-m-sullivan
50637807fc
fixed typo
2020-09-01 10:38:15 -05:00
John Westcott IV
d01f2d6caf
Converting policy_instance_list from dict to list
2020-09-01 11:02:39 -04:00
softwarefactory-project-zuul[bot]
2fa8b7e594
Merge pull request #8007 from ryanpetrello/defer-artifacts
...
defer loading Job.artifacts and .extra_vars on host views to improve performance
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-01 14:08:00 +00:00
John Westcott IV
36ab0dd03e
Fixing white spaces
2020-09-01 09:24:36 -04:00
softwarefactory-project-zuul[bot]
671c571628
Merge pull request #8047 from AlanCoding/less_mounting
...
Remove more special access to folders outside job private_data_dir
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-01 02:42:15 +00:00
Alan Rominger
0b371b4340
Copy library folder to job private data dir
...
Remove inventory scripts show because they no longer exist
Remove reference to non-existent callback directory
Remove more references to removed path
2020-08-31 22:14:59 -04:00
John Westcott IV
72bdd17518
Fixing regression
2020-08-31 16:56:42 -04:00
John Westcott IV
574c3b65b2
Converting from string to array
2020-08-31 16:56:42 -04:00
John Westcott IV
5a8bcd357b
Fixing linting issues
2020-08-31 16:56:42 -04:00
John Westcott IV
1bd8f4ad3e
Removing tower_instance_group from completness
2020-08-31 16:56:42 -04:00
John Westcott IV
2369bcb25c
Removing forward feature needed for testing locally
2020-08-31 16:56:42 -04:00
John Westcott IV
9e29dd08fb
Adding tower_instance_group module
2020-08-31 16:56:42 -04:00
sean-m-sullivan
cd45cfec30
updated doc and pep8
2020-08-31 15:53:54 -05:00
sean-m-sullivan
d9d454d435
Merge branch 'wait_function' of github.com:sean-m-sullivan/awx into wait_function
2020-08-31 15:24:40 -05:00
sean-m-sullivan
0bc927820b
updated legacy messages
2020-08-31 15:24:32 -05:00
softwarefactory-project-zuul[bot]
e1095a0a94
Merge pull request #8046 from nixocio/ui_fix_date_projects
...
Update date format for project list item
Reviewed-by: John Hill <johill@redhat.com >
https://github.com/unlikelyzero
2020-08-31 18:46:51 +00:00
Sean Sullivan
d0ab307787
Merge pull request #4 from ansible/devel
...
Rebase from Dev
2020-08-31 13:45:49 -05:00
softwarefactory-project-zuul[bot]
6c9e417eb9
Merge pull request #7730 from mabashian/7339-test-button
...
Adds support for a Test button on the credential form when the credential type is 'external'
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-31 18:43:00 +00:00
softwarefactory-project-zuul[bot]
2837eb7027
Merge pull request #8049 from john-westcott-iv/fix_notification_tests
...
Cleaning up tower_notification references
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-31 18:19:12 +00:00
softwarefactory-project-zuul[bot]
ad28a36cdf
Merge pull request #8048 from AlanCoding/notification_name
...
correct name of tower_notification redirect
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-31 16:20:37 +00:00
John Westcott IV
ff4ed64978
Cleaning up tower_notification references
2020-08-31 11:57:01 -04:00
Alan Rominger
b84343d292
correct name of tower_notification redirect
2020-08-31 10:18:08 -04:00
nixocio
970ecde0ea
Update date format for project list item
...
Update date format for project list item.
See: https://github.com/ansible/awx/issues/7694
2020-08-30 20:58:58 -04:00
softwarefactory-project-zuul[bot]
ddad5095a4
Merge pull request #8024 from velzend/regsiter_typo
...
typo: regsiter -> register
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-30 19:53:33 +00:00
softwarefactory-project-zuul[bot]
730cabe597
Merge pull request #8038 from john-westcott-iv/check_token_pre_del
...
Adding check that we are authenticated and also have a token
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-30 17:54:13 +00:00
softwarefactory-project-zuul[bot]
07ebf677de
Merge pull request #8039 from john-westcott-iv/transaction_check
...
Adding transaction to mock requests
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-30 17:54:07 +00:00
softwarefactory-project-zuul[bot]
c7f4c4bdc1
Merge pull request #8029 from AlanCoding/project_cwd
...
Run project updates from a copy of the playbook vendoring directory
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-29 03:48:01 +00:00
mabashian
9d511a4c04
Fix id on credential select fields
2020-08-28 17:02:25 -04:00
softwarefactory-project-zuul[bot]
bd4b009bea
Merge pull request #8035 from nixocio/ui_update_instance_groups
...
Update instance groups
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-28 20:37:34 +00:00
mabashian
ae4f1a15d3
Add ID's to the buttons in the external test modal for cred form
2020-08-28 15:43:44 -04:00
mabashian
e93aa34864
Adds support for a Test button on the credential form when the credential type is 'external'
2020-08-28 15:43:44 -04:00
softwarefactory-project-zuul[bot]
bebd882688
Merge pull request #8040 from rooftopcellist/be_more_accepting
...
Accept all responses <300 from Insights API
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-28 19:43:27 +00:00
Christian M. Adams
4ea648307e
Accept all responses <300 from Insights API
2020-08-28 12:45:50 -04:00
John Westcott IV
feb9bcff4d
Adding transaction to mock requests
2020-08-28 12:43:33 -04:00
softwarefactory-project-zuul[bot]
40603c213a
Merge pull request #8037 from bbayszczak/fix_typo_comment_hashivault
...
[credential_plugin/hashivault] fix typo
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-28 16:40:46 +00:00
Benoit Bayszczak
e8b54abec4
[credential_plugin/hashivault] edit tests
2020-08-28 17:39:37 +02:00
Benoit Bayszczak
878b754d9f
[credential_plugin/hashivault] fix typo
2020-08-28 17:33:19 +02:00
Benoit Bayszczak
16fdf0e28f
[credential_plugin/hashivault] add approle_auth_path in inputs
2020-08-28 17:22:07 +02:00
nixocio
21330a54cb
Update instance groups
...
* Simplify criteria to instance group to be considered unavailable
* Round values for used capacity
See: https://github.com/ansible/awx/issues/7467
2020-08-28 11:07:03 -04:00
John Westcott IV
51f4aa2b48
Adding check that we are authenticated and also have a token
2020-08-28 11:04:15 -04:00
softwarefactory-project-zuul[bot]
fe5fb0c523
Merge pull request #7997 from mabashian/7480-webhook-disable
...
Fixes bug where users were unable to turn webhooks off when editing templates
Reviewed-by: Tiago Góes <tiago.goes2009@gmail.com >
https://github.com/tiagodread
2020-08-28 14:27:56 +00:00
sean-m-sullivan
b3ec080e08
updated output
2020-08-28 08:25:21 -05:00
sean-m-sullivan
fd77a8aca5
updated output
2020-08-28 08:22:44 -05:00
sean-m-sullivan
7bd3f9d63c
updated to error if finished not in result
2020-08-28 07:37:29 -05:00
sean-m-sullivan
d971375907
updated to error if finished not in result
2020-08-28 07:35:13 -05:00
sean-m-sullivan
007b0d841e
updated parameters and errors
2020-08-28 07:19:39 -05:00
softwarefactory-project-zuul[bot]
aa637d515a
Merge pull request #7929 from nixocio/ui_associate_instances
...
Associate instances to instance groups
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-27 17:49:00 +00:00
softwarefactory-project-zuul[bot]
ad3e2cbfcd
Merge pull request #8028 from dsesami/8027-workflow-sparkline
...
Change WFJT details sparkline hyperlink
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-27 16:29:42 +00:00
softwarefactory-project-zuul[bot]
f1ee44b6c2
Merge pull request #8016 from john-westcott-iv/inventory_insights
...
Adding insights credential to tower_inventory
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-27 16:14:37 +00:00
Daniel Sami
dc7e721968
Change WFJT details sparkline hyperlink
2020-08-27 11:54:38 -04:00
nixocio
632204de83
Associate instances to instance groups
...
Associate instances to instance groups.
See: https://github.com/ansible/awx/issues/7801
2020-08-27 11:33:45 -04:00
Alan Rominger
e811711a49
Put project playbook in runner project folder
2020-08-27 11:07:10 -04:00
John Westcott IV
64d98a120c
Removing debugging end play
2020-08-27 09:47:48 -04:00
Benoit Bayszczak
cf5d1a2d03
restore previous tests as we need to keep backward compatibility
...
This reverts commit 7c8e5ace52 .
2020-08-27 11:06:14 +02:00
tp48cf
5cd12b8088
typo: regsiter -> register
2020-08-27 09:23:41 +02:00
sean-m-sullivan
49e2a3fa5a
update documentation
2020-08-26 23:44:31 -05:00
sean-m-sullivan
0c18587851
update to use time function
2020-08-26 23:30:18 -05:00
softwarefactory-project-zuul[bot]
f18d9212cb
Merge pull request #7987 from nixocio/ui_add_adv_search
...
Add advanced search keys for InstanceGroup and CredentialType Lists
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-27 02:55:19 +00:00
softwarefactory-project-zuul[bot]
9b353c70f3
Merge pull request #8019 from mabashian/7663-workflow-viz-button
...
Adds visualizer button to workflow template rows on templates list
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-27 02:54:03 +00:00
Sean Sullivan
243c2cfe15
Merge pull request #3 from ansible/devel
...
rebase to devel
2020-08-26 20:53:39 -05:00
beeankha
0f3aefe592
Fix pep8 errors, rebase
2020-08-26 19:51:10 -04:00
John Westcott IV
7afd84dc49
Resolving issue in test_completness
2020-08-26 19:50:04 -04:00
John Westcott IV
1b1a14f220
Fixing linting spacing issue
2020-08-26 19:50:04 -04:00
John Westcott IV
2690fcec31
Adding insights credential to tower_inventory
...
Fixed a spacing issue in documentation
Enhanced integration test to include a block to ensure cleanup of assets
2020-08-26 19:50:04 -04:00
softwarefactory-project-zuul[bot]
9323156f4c
Merge pull request #7983 from beeankha/collections_pylint_fixes
...
Fix pylint Errors in Collections Modules
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-26 22:31:22 +00:00
mabashian
73d21a01cb
Adds visualizer button to workflow template rows on templates list
2020-08-26 17:03:48 -04:00
Rebeccah
9a6f641df0
adding in inventory to unified job query for analytics
2020-08-26 16:32:02 -04:00
beeankha
3ddee3072b
Add errors to ignore file, remove noqa directives
2020-08-26 16:09:42 -04:00
softwarefactory-project-zuul[bot]
1514a5ac23
Merge pull request #7963 from john-westcott-iv/tools
...
Collections Completeness Tests
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-26 19:34:52 +00:00
softwarefactory-project-zuul[bot]
ccb1e0a748
Merge pull request #8008 from mabashian/8002-plurals
...
Use low level i18n._ instead of i18n.plural for plurals on the schedule form
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-08-26 18:11:04 +00:00
Ryan Petrello
73baf3fcf9
defer loading Job.artifacts on host views to improve performance
...
see: https://github.com/ansible/awx/issues/8006
this data can be *really* large, and we don't actually need it for the summary fields on this API endpoint
2020-08-26 13:34:15 -04:00
mabashian
c731e4282b
Use low level i18n._ instead of i18n.plural for plurals on the schedule form. This fixes a bug where the page would crash on static builds when a frequency was selected.
2020-08-26 13:18:07 -04:00
softwarefactory-project-zuul[bot]
57949078bb
Merge pull request #7945 from beeankha/tower_role_id_fix
...
Get tower_role Module to Accept IDs for Related Objects
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-26 14:21:32 +00:00
John Westcott IV
2b6e4fe353
Permissions change, spell check, pep8, etc
2020-08-26 10:16:37 -04:00
John Westcott IV
b7b304eb84
Changing how we check modules
...
Options which are not in the API POST and are marked in the module as deprecated are ignored
If an option is not in the API POST but is marked as a list we assume its a relation
2020-08-26 10:16:37 -04:00
John Westcott IV
8f97109ac7
Fixing PY2 compile issues
2020-08-26 10:16:37 -04:00
John Westcott IV
730a9b25ac
Fixing pep8 and other issues
2020-08-26 10:16:37 -04:00
John Westcott IV
a36d942f67
Migrating old test_notification test to test_notification_template
2020-08-26 10:16:37 -04:00
John Westcott IV
b1ffbf1e39
Change module from tower_notification to tower_notification_template
2020-08-26 10:16:37 -04:00
John Westcott IV
f8290f0ce3
Fixing flake8 and adding more module OKs
2020-08-26 10:16:37 -04:00
John Westcott IV
41ca20dc99
Changing scm_credential to credential to match API
2020-08-26 10:16:37 -04:00
John Westcott IV
3b6152a380
Changing job_timeout to an aliase of timeout to match the API
2020-08-26 10:16:37 -04:00
John Westcott IV
1ad4c4ab86
Fixing pep8 issues
2020-08-26 10:16:37 -04:00
John Westcott IV
9353e94629
Spell checking
2020-08-26 10:16:37 -04:00
John Westcott IV
85a1233764
Adding read-only endpoint check, fixing typo, adding needs_development check
2020-08-26 10:16:37 -04:00
John Westcott IV
c2cdd8e403
Initial commit of test_completeness
2020-08-26 10:16:37 -04:00
softwarefactory-project-zuul[bot]
96e1920d36
Merge pull request #7988 from nixocio/add_more_styles_delete_button
...
Update styles to delete button to be secondary
Reviewed-by: Michael Abashian
https://github.com/mabashian
2020-08-26 14:02:46 +00:00
tp48cf
d9e09f482d
allow skipping provision instance and register queue
2020-08-26 15:56:01 +02:00
sean-m-sullivan
bed3a9ee41
added id lookup
2020-08-26 08:11:51 -05:00
Benoit Bayszczak
7c8e5ace52
fix tests
2020-08-26 11:14:04 +02:00
softwarefactory-project-zuul[bot]
b8a04f05d1
Merge pull request #7992 from AlexSCorey/RemovesColonOnListItem
...
Removes colon from survey list item
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-26 00:48:50 +00:00
softwarefactory-project-zuul[bot]
2b18eee92a
Merge pull request #7969 from nixocio/ui_add_isolate_job_label
...
Add label to identify isolated instance group JobDetail screen
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-26 00:48:43 +00:00
mabashian
8fac722b10
Fixes bug where users were unable to turn webhooks off when editing job templates/workflow job templates
2020-08-25 16:02:55 -04:00
beeankha
4bc1a128ec
Add noqa directive for super calls
2020-08-25 15:49:20 -04:00
beeankha
da732a3941
Add unit test, update lookup method to favor ID over name
2020-08-25 14:57:02 -04:00
Alex Corey
c0a2a69835
removes colon from suvery list item
2020-08-25 13:32:57 -04:00
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
Benoit Bayszczak
00fc5f6b93
hashivault_kv auth_path moved from metadata to inputs
...
The auth_path is used with the approle auth method
It's not linked to the secret we are reading but to the auth method,
this parameter has to be moved to inputs
2020-08-25 18:01:09 +02: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
nixocio
6794f331c3
Update styles to delete button to be secondary
...
Update styles to delete button to be secondary.
See: https://github.com/ansible/awx/issues/7041
Also: https://github.com/ansible/awx/issues/7984
2020-08-25 10:39:28 -04: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
sean-m-sullivan
13f3292af0
updated test
2020-08-25 07:04:27 -05:00
nixocio
de130eb798
Add advanced search keys for InstanceGroup and CredentialType Lists
...
Add advanced search keys for `InstanceGroup` and `CredentialType` Lists.
See: https://github.com/ansible/awx/pull/7895/files
2020-08-24 21:27:44 -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
beeankha
75a0c0ab1e
Prioritize integer names over IDs more effectively
2020-08-24 17:13:22 -04:00
beeankha
54317236f3
Fix pep8 error, remove redundant var assignment
2020-08-24 17:13:22 -04:00
John Westcott IV
0fd618d88b
Changing test suite and fixing user issue in tower_api
2020-08-24 17:13:21 -04:00
beeankha
e9d66df77a
Initial commit for tower_role name vs id lookup bug fix
2020-08-24 17:13:21 -04:00
beeankha
ef7a74c4a3
Initial commit of pylint fixes
2020-08-24 16:47:16 -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
Alex Corey
90e8d5697e
Adds fix to load template details screen even for users without webhook key permissions
2020-08-24 11:39:29 -04:00
nixocio
447bde95e3
Add label to identify isolated instance group JobDetail screen
...
Add label to identify isolated instance group JobDetail screen as per
mock up.
See: https://tower-mockups.testing.ansible.com/patternfly/jobs/jobs-detail/
2020-08-23 14:58:06 -04:00
Sean Sullivan
cda05c4f03
Updated test for lint
...
Updated test for lint
2020-08-22 20:16:27 -05:00
sean-m-sullivan
3794f095cf
update to tower_project_update
2020-08-22 13:43:14 -05: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
Sean Sullivan
d6815e5114
Removed reference to sync
...
Updated references to sync in favour of update.
2020-08-20 10:30:43 -05: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
sean-m-sullivan
69dc0a892f
fix lint
2020-08-11 09:56:08 -05:00
sean-m-sullivan
813e38636a
fix documentation
2020-08-11 09:38:18 -05: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
sean-m-sullivan
262b2bf8ff
Merge branch 'project_update' of github.com:sean-m-sullivan/awx into project_update
2020-08-11 09:28:31 -05:00
sean-m-sullivan
af1fc5a9e9
add tests
2020-08-11 09:28:17 -05:00
Alan Rominger
2a0c61de63
Change regex to match what is in source
2020-08-11 10:04:14 -04:00
Sean Sullivan
8af315cf29
Create tower_project_update
...
Add module to update tower project and wait until synced.
2020-08-11 08:54:10 -05: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
Sean Sullivan
7089c5f06e
Merge pull request #2 from ansible/devel
...
Rebase
2020-08-11 07:56:11 -05: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
Sean Sullivan
104073af45
Merge pull request #1 from ansible/devel
...
Merging remote to devel
2020-06-09 07:50:36 -05: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