Jeff Bradberry
66a8186995
Get the webhook receiver views to work at least minimally
2019-09-30 13:26:03 -04:00
Jeff Bradberry
fa15696ffe
Remove some dead comments
2019-09-30 13:26:03 -04:00
Jeff Bradberry
82a0dc0024
Cycle or unset the webhook key if the webhook service changes
...
Also, tests.
2019-09-30 13:26:03 -04:00
Jeff Bradberry
d4b20b7340
Update tests to use the expect
keyword argument for get() and post()
2019-09-30 13:26:03 -04:00
Jeff Bradberry
c0ad5a7768
Expose the webhook_service and webhook_credential fields in the serializer
...
webhook_credential specifically as a summary field.
2019-09-30 13:26:03 -04:00
Jeff Bradberry
d9ac291115
Add some RBAC oriented tests for the webhook secret key view
2019-09-30 13:26:03 -04:00
Jeff Bradberry
6b86cf6e86
Revert to using the explicit dispatch to the appropriate model
...
since passing the model class at url include time doesn't work.
2019-09-30 13:26:03 -04:00
Jeff Bradberry
771ef275d4
Include a check for the webhook_key related resource url
...
in the tests for JTs and WFJTs.
2019-09-30 13:26:03 -04:00
Jeff Bradberry
2310413dc0
Fix problem with the tests by dynamically setting the view model
...
instead of using a model @property or lookup method.
2019-09-30 13:26:03 -04:00
Jeff Bradberry
edb9d6b16c
Add the related link to the webhook secrets view to the serializers
2019-09-30 13:26:03 -04:00
Jeff Bradberry
7973a18103
Switch to using a permission class for the webhook secret key view
...
This view is now behaving as expected for superuser, org admin, JT
admin, JT exec, and org member roles.
2019-09-30 13:23:27 -04:00
Jeff Bradberry
747a2283d6
Attempt to get the RBAC right on the webhook secret key view
2019-09-30 13:23:27 -04:00
Jeff Bradberry
9d269d59d6
Add an api view for obtaining and rotating the webhook key
2019-09-30 13:23:27 -04:00
Jeff Bradberry
b0c530402f
Move the webhook url include from the top level urlconf to the JT/WFJT urlconfs
2019-09-30 13:23:26 -04:00
Jeff Bradberry
50a54c9214
Forbid access to the webhook receiver views if webhook_key is not set
2019-09-30 13:23:26 -04:00
Jeff Bradberry
8f97dbf781
Hook in the webhook receiver views into the urlconf
2019-09-30 13:23:26 -04:00
Jeff Bradberry
a7a99ed141
Beginnings of the API views for the webhook receivers
2019-09-30 13:23:26 -04:00
Jeff Bradberry
d6116490c6
Add the webhook-specific fields to JobTemplate and WorkflowJobTemplate
2019-09-30 13:23:26 -04:00
softwarefactory-project-zuul[bot]
ff8e896b0f
Merge pull request #4850 from wenottingham/to-the-cloud!
...
Adjust help message; we're no longer using the insights client
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-09-30 16:46:22 +00:00
Bill Nottingham
fc70d8b321
Adjust help message; we're no longer using the insights client
2019-09-30 12:17:46 -04:00
mabashian
a61306580a
Show error body when license application fails
2019-09-30 12:09:24 -04:00
Lunar
afe38b8e68
Change to ~/.awx
2019-09-30 10:58:37 -05:00
softwarefactory-project-zuul[bot]
505dcf9dd2
Merge pull request #4657 from beeankha/wf_approval_notification
...
[WIP] Notification Support for Workflow Approval Nodes
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-09-30 14:54:59 +00:00
softwarefactory-project-zuul[bot]
1d2123a4f9
Merge pull request #4845 from ryanpetrello/cli-fix-ujt-allow
...
cli: fix `awx unified_job_templates`
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-09-30 14:10:14 +00:00
Ryan Petrello
4adf9bab67
cli: fix awx unified_job_templates
...
this endpoint doesn't return an HTTP Allow header at all (because you
can't really do anything other than list templates)
2019-09-30 09:32:58 -04:00
Lunar
adac87adf2
Fix issue #3705
...
/tmp should not be used, it gets wiped and causes issues as noted in issue #3705 .
2019-09-29 23:20:09 -05:00
AlanCoding
7dd8e35e8c
Use namespaced doc fragment, cleanup
...
doc fragment will now be at awx.awx.auth
changed from just tower, which source from core
remove Makefile things no longer needed
2019-09-27 23:09:39 -04:00
Keith Grant
554a63d8fc
write LabelSelect tests
2019-09-27 15:30:42 -07:00
Keith Grant
da149d931c
rework MultiSelect into controlled input; refactoring
2019-09-27 15:06:15 -07:00
mabashian
3182197287
Makes notification toggles more responsive on smaller screens.
2019-09-27 15:48:00 -04:00
beeankha
9ed4e1682d
Remove redundant whitespace
2019-09-27 15:48:00 -04:00
beeankha
5aa6a94710
Enable approval notifications to show up at...
...
...workflow jobs notifications endpoint
2019-09-27 15:48:00 -04:00
beeankha
96689f45c8
Update approval notification message
2019-09-27 15:48:00 -04:00
beeankha
ce6a276e1f
Update migration file
2019-09-27 15:48:00 -04:00
beeankha
8eb1484129
Update migration file, change status syntax
2019-09-27 15:48:00 -04:00
beeankha
1ddf9fd1ed
Fix up models, clean up code re: PR comments
2019-09-27 15:48:00 -04:00
beeankha
17a8e08d93
Add unit tests for approval notifications
2019-09-27 15:48:00 -04:00
beeankha
f835c8650b
Enable org-level approval notifications to work.
2019-09-27 15:48:00 -04:00
beeankha
aa5a4d42c7
Enable email notifications to work,
...
...and customize default messages
2019-09-27 15:48:00 -04:00
beeankha
57fd6b7280
Set default messages for approval notifications
2019-09-27 15:48:00 -04:00
mabashian
7eb7aad491
Adds approval toggles to wf and org notif lists
2019-09-27 15:48:00 -04:00
beeankha
e2b8adcd09
Remove notification endpoint from approvals list
2019-09-27 15:48:00 -04:00
beeankha
13450fdbf9
Set up approval notifications to send
2019-09-27 15:48:00 -04:00
beeankha
6be2d84adb
Add endpoints for approval node notifications
...
...and also add a migration file.
2019-09-27 15:48:00 -04:00
softwarefactory-project-zuul[bot]
d2a5af44de
Merge pull request #4792 from mabashian/relaunch-jobs
...
Add relaunch to Jobs list and Job Details views
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-09-27 19:18:48 +00:00
AlanCoding
75bb7aae14
update references to collection folder
2019-09-27 14:29:04 -04:00
AlanCoding
98619c5e23
rename awx modules folder to collection
2019-09-27 14:29:04 -04:00
AlanCoding
35afa37417
Rename to collection, add license, galaxy build
2019-09-27 14:29:03 -04:00
AlanCoding
2f0f692f4a
Integrate Ansible core tower modules content into AWX
...
This commit includes all the changes involved in
converting the old Ansible Tower modules from commits
in Ansible core into the AWX collection that replaces it.
Also includes work needed to integrate it into the
AWX processes like tests, docs, and the Makefile.
Apply changes from content_collector tool
Add integrated module tests
operate via run_module fixture
add makefile target for them
Add flake8 target and fix flake8 errors
Update README
Make consolidated target for testing modules
2019-09-27 14:29:03 -04:00
AlanCoding
5271c993ac
Move commit for migration of Ansible core tower modules
2019-09-27 14:29:03 -04:00