26472 Commits

Author SHA1 Message Date
beeankha
30741e762a Add more notification tests 2019-06-17 10:47:58 -04:00
beeankha
7687eddf6d Add api test, edit AWX docs 2019-06-17 10:47:58 -04:00
beeankha
9cfed6f2a8 Add check for no-op case back, remove redundant on_commit code 2019-06-17 10:47:58 -04:00
beeankha
95896b1acd Edit wfj running notification trigger 2019-06-17 10:47:58 -04:00
beeankha
68fe23d8b7 Update Organization Notification Template subclass, move success/fail wfj notification trigger 2019-06-17 10:47:58 -04:00
beeankha
dd372548a9 Update swagger test 2019-06-17 10:47:57 -04:00
beeankha
8d6e1f0927 Trigger running notifications in WFJs and edit unit test 2019-06-17 10:47:57 -04:00
beeankha
98fa1fc813 Add migration file 2019-06-17 10:47:57 -04:00
beeankha
8ec97235e3 Add feature for notifications to trigger on job start 2019-06-17 10:47:57 -04:00
mabashian
863d962ec2 Ensure inventory_obj is on scope before checking it 2019-06-17 07:40:08 -04:00
Ryan Kraus
468e79a754 Updated ovirt4 dynamic inventory script.
Pulling in the new ovirt4 dynamic inventory script that will be pulled in ansible/ansible#57824

Signed-off-by: Ryan Kraus <rmkraus@gmail.com>
2019-06-16 11:55:46 -04:00
softwarefactory-project-zuul[bot]
049b3a2e87
Merge pull request #4080 from AlanCoding/no_more_v1
Remove code used defunct jobs list POST

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-06-15 01:02:24 +00:00
Marliana Lara
096f5fb324
Fix lint errors and pull in new content error and loading handler 2019-06-14 15:34:55 -04:00
Marliana Lara
416d30a189
Add close button to job detail and test 2019-06-14 14:46:48 -04:00
Marliana Lara
cda5cc25b8
Add Job results skeleton tests 2019-06-14 14:46:48 -04:00
Marliana Lara
508d8311dd
Add Job results skeleton 2019-06-14 14:46:48 -04:00
Marliana Lara
54f9dd5e98
Add Job API model 2019-06-14 14:46:48 -04:00
Marliana Lara
4fe558392a
Update organization card header and tabs to use styled-components 2019-06-14 14:46:42 -04:00
Jake McDermott
a98be1443b
Merge pull request #255 from jakemcdermott/update-content-loading-and-errors
update content loading and error handling
2019-06-14 13:29:16 -04:00
AlanCoding
196b6572b2
remove code used defunct jobs list POST 2019-06-14 13:13:37 -04:00
Jake McDermott
e35f7acd05
add test coverage for auth utils 2019-06-14 13:01:02 -04:00
Jake McDermott
4aa4490933
add test coverage for api notification mixin 2019-06-14 13:00:50 -04:00
Jake McDermott
e72f0bcfd4
update content loading and error handling
unwind error handling

use auth cookie as source of truth, fetch config only when authenticated
2019-06-14 13:00:37 -04:00
Jake McDermott
534418c81a
Merge pull request #262 from catjones9/organizations
Added Max Hosts field on Organizations Add/Edit form
2019-06-14 12:39:10 -04:00
softwarefactory-project-zuul[bot]
37cb912367
Merge pull request #4075 from ryanpetrello/old-migration-cleanup
delete a few really old migration utility files

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-06-14 14:27:47 +00:00
Ryan Petrello
d8bd72054d
work around a unit test that's periodically flaky 2019-06-14 10:05:41 -04:00
softwarefactory-project-zuul[bot]
9958f382d7
Merge pull request #4043 from mabashian/4029-inv-refresh
Fixes bug where the delete inventory event would wipe or reset inventory form fields

Reviewed-by: Michael Abashian
             https://github.com/mabashian
2019-06-14 14:04:59 +00:00
softwarefactory-project-zuul[bot]
1d767a15d8
Merge pull request #4044 from mabashian/read-only-codemirrors
Read-only codemirror cleanup

Reviewed-by: Michael Abashian
             https://github.com/mabashian
2019-06-14 13:58:51 +00:00
softwarefactory-project-zuul[bot]
612373c849
Merge pull request #4041 from mabashian/wf-execute-unsaved
Fixes bug where save changes modal was shown to user with execute permissions

Reviewed-by: Michael Abashian
             https://github.com/mabashian
2019-06-14 13:45:33 +00:00
mabashian
3ea6171b54 Fixes bug where the delete inventory event would wipe or reset inventory form fields 2019-06-14 09:38:27 -04:00
mabashian
302d8589c9 Make extra vars read-only for users without edit role on some forms. Fixes console error thrown in launch modal if survey tab missing. 2019-06-14 09:37:37 -04:00
mabashian
01f51219a6 Fix linting errors 2019-06-14 09:22:16 -04:00
mabashian
38ea82bf3d Fixes bug where save changes modal was shown to user with execute permissions 2019-06-14 09:22:16 -04:00
catjones9
91b8aa90ff Added 'Max Hosts' field in the Add/Edit Organization view
* max hosts field is enabled is user is superuser, otherwise it is disabled and default is 0
 * OrganizationForm tests added for max hosts input
 * minMaxValue added in validators to validate user input for max hosts

Signed-off-by: catjones9 <catjones@redhat.com>
2019-06-13 18:43:34 -04:00
catjones9
5874becb00 Max Hosts shows up in Org Detail View
Signed-off-by: catjones9 <catjones@redhat.com>
2019-06-13 18:04:09 -04:00
softwarefactory-project-zuul[bot]
d4ad674899
Merge pull request #4064 from mabashian/3829-new-list-links
Fixes links in various lists to maintain query params while navigating to edit form

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-06-13 21:56:34 +00:00
softwarefactory-project-zuul[bot]
9d3aca5e1b
Merge pull request #4060 from mabashian/3830-host-filter-search
Always show search bar in smart inventory host filter modal

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-06-13 21:44:02 +00:00
Ryan Petrello
ae9032ce03
fix a bug introduced in the inventory source detail API by v1 removal
see: https://github.com/ansible/awx/issues/4059
2019-06-13 17:20:21 -04:00
Ryan Petrello
a454102e77
delete a few really old migration utility files 2019-06-13 17:19:43 -04:00
softwarefactory-project-zuul[bot]
e1d60ff4f1
Merge pull request #4052 from gamuniz/enabled_value_fix
Enabled value fix to be case insensitive(GCE API)

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-06-13 20:08:30 +00:00
Gabe Muniz
bd93d97a60
fix so enabled value is case insensitive 2019-06-13 15:36:54 -04:00
Alex Corey
19b41743de
215 templates list skeleton (#251)
* adding package-lock.json

* deleted unsured file

* Removes and unused file

* Fixes errant styling change

* Fixes an error and uses a prop that PF recognizes

* Updates PR to use API Modules

*  Fixes PR Issues

* Addes tests to Templates

* Addresses PR Issues

* Revert package-lock.json
2019-06-13 11:08:05 -04:00
softwarefactory-project-zuul[bot]
793e78d9c0
Merge pull request #4046 from AlanCoding/setuptools
Upgrade pip and setuptools

Reviewed-by: Alan Rominger <arominge@redhat.com>
             https://github.com/AlanCoding
2019-06-13 14:13:28 +00:00
AlanCoding
76ebcf914b
upgrade pip and setuptools 2019-06-13 09:45:18 -04:00
mabashian
effe7151eb Adds missing semi-colon 2019-06-12 22:13:45 -04:00
mabashian
0023591bb0 Removes unnecessary variable 2019-06-12 22:13:45 -04:00
mabashian
9c50609776 Always show search bar in smart inventory host filter modal 2019-06-12 22:13:45 -04:00
softwarefactory-project-zuul[bot]
28cc08f215
Merge pull request #4033 from mabashian/bootstrap-whitelist-table
Whitelist table elements for use in bootstrap popovers

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-06-12 21:12:37 +00:00
mabashian
b83cef6ed7 Fixes links in various lists to maintain query params while navigating to edit form 2019-06-12 16:12:08 -04:00
mabashian
c729b698dd Whitelist table elements for use in bootstrap popovers 2019-06-12 15:32:08 -04:00