Ryan Petrello
64485c1066
fix a bug that prevents deletion of workflow approval records
...
see: https://github.com/ansible/awx/issues/8305
2020-10-01 16:06:53 -04:00
softwarefactory-project-zuul[bot]
796a61da86
Merge pull request #8299 from jakemcdermott/fix-8154
...
Force logout and clear before social auth login
Reviewed-by: Jake McDermott <yo@jakemcdermott.me >
https://github.com/jakemcdermott
2020-10-01 17:47:12 +00:00
Jake McDermott
bfd224eb7c
Remove self-closing tags from webhook cred lookup
2020-10-01 11:44:23 -04:00
Jake McDermott
7479b9faca
Force logout and clear before social auth login
2020-10-01 11:15:46 -04:00
softwarefactory-project-zuul[bot]
5c0432b979
Merge pull request #8186 from marshmalien/setting-details
...
Add setting details and unit tests
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-30 19:01:30 +00:00
nixocio
ae29eb9673
Make ContainerGroupDetails a bit more robust
...
In order to create a container group is necessary to provide a
credential.
See: https://github.com/ansible/awx/issues/8184
This change makes the code related to display the credential as part of
the container group details a bit more robust. Avoiding to attempt to
show a non-existent credential - what is not supposed to exist.
Closes: https://github.com/ansible/awx/issues/8199
2020-09-30 13:37:38 -04:00
softwarefactory-project-zuul[bot]
679256fd25
Merge pull request #8239 from nixocio/ui_issue_8184
...
Add validate for `CredentialLookup` using required prop
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-30 15:24:35 +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
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
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]
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
mabashian
3f1434f0f5
Only attempt to display sting error messages in ErrorDetail
2020-09-29 09:59:39 -04: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
Jorge Vallecillo
b335f698e4
Fix a few typos in awx/ui
2020-09-28 19:00:25 -06:00
Marliana Lara
bd3c4ca50f
Fix aria label routed tab bug value "Object Object"
2020-09-28 12:11:10 -04: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
nixocio
1aa90af342
Add validate for CredentialLookup using required prop
...
When using `CredentialLookup` with required prop. The `validate`
argument must be provided to the `useField`.
See: https://github.com/ansible/awx/issues/8184
2020-09-25 14:19:51 -04:00
Marliana Lara
558dfb685e
Add a new key "unit" to api setting fields
...
* Add detail popover
* Fix broken redirects
* Add additional id and data-cy attributes to Detail components
* Remove galaxy fields from job settings
2020-09-25 14:00:27 -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
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
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
Marliana Lara
a69a40a429
Rename radius to correct name
2020-09-23 15:00:06 -04:00
Marliana Lara
749afd53a1
Rename radius to incorrect name
2020-09-23 14:59:00 -04:00
Marliana Lara
7dc1157f69
Rename files to incorrect name
...
Rename files to correct name
2020-09-23 14:54:29 -04:00
Marliana Lara
b768b0222e
Add setting details and unit tests
2020-09-23 14:54:26 -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
Ryan Petrello
1f0cd8df71
expose GALAXY_IGNORE_CERTS in the job settings UI
2020-09-23 08:36:52 -04: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
Marliana Lara
0732b047b5
Replace setting term with inclusive language
2020-09-22 15:09:55 -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