Alex Corey
e5b76c6427
Adds Deleted text to missing resources in JT Detials View
...
The usecase of this change is if a user deletes an Inventory, or a Project
that is used by a JT they need to know that those resources are missing.
The only time that `Deleted` won't be shown for a missing resource is for
Inventory if it has been marked Prompt on Launch then nothing is shown. in that field.
Also adds icon to indicate that a JT is missing resources on the JT List.
2019-10-31 18:02:13 -04:00
softwarefactory-project-zuul[bot]
c605705b39
Merge pull request #5182 from wenottingham/for-this-to-actually-be-useful-we-would-need-a-sendmail.cf-and-lol-not-doing-that
...
[RFC] Remove admin alerts, there are better mechanisms for this
Reviewed-by: Ryan Petrello
https://github.com/ryanpetrello
2019-10-31 14:52:37 +00:00
softwarefactory-project-zuul[bot]
ccc2a616c1
Merge pull request #5186 from wenottingham/another-driveby
...
Remove extraneous leftover conditional import
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-31 01:21:34 +00:00
mabashian
e9728f2a78
Update snapshot after rebase
2019-10-30 20:11:11 -04:00
Bill Nottingham
5cdf2f88da
Remove admin alerts, there are better mechanisms for this
2019-10-30 19:35:45 -04:00
Bill Nottingham
93e940adfc
Remove extraneous leftover conditional import
2019-10-30 19:21:02 -04:00
mabashian
64776f97cf
Prettier formatting
2019-10-30 19:13:35 -04:00
mabashian
fc080732d4
Add breadcrumb for template access tab
2019-10-30 19:13:35 -04:00
mabashian
d02364a833
Configures access tabs for job template, project, inventory and smart inventory details views.
2019-10-30 19:13:34 -04:00
Jake McDermott
5e6ee4a371
Improve WFJT webhook credential wording
2019-10-30 17:52:30 -04:00
softwarefactory-project-zuul[bot]
dca9daf719
Merge pull request #5178 from rebeccahhh/devel
...
Test policy_instance_ variable validation in instance group
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-30 21:31:40 +00:00
softwarefactory-project-zuul[bot]
634504c7a1
Merge pull request #5131 from mabashian/5010-close-button
...
Removes close button from footer of host details modal
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-30 21:04:04 +00:00
Rebeccah
e4a21b67c7
remove u markers in assertion statements, they are unnecessary in python3
2019-10-30 15:52:14 -04:00
Rebeccah
2e6c484a50
added in testing for updating(or not allowing updates of) policy_instance variables in instance and container groups
2019-10-30 15:51:55 -04:00
Ryan Petrello
0dcf6a2b1f
Merge pull request #5156 from ryanpetrello/cli-launch-args
...
properly parse CLI arguments for launch endpoints
2019-10-30 14:52:32 -04:00
Ryan Petrello
c882cda586
properly parse CLI arguments for launch endpoints
...
see: https://github.com/ansible/awx/issues/5093
2019-10-30 13:49:37 -04:00
softwarefactory-project-zuul[bot]
6dcd87afec
Merge pull request #5148 from keithjgrant/pf-upgrade
...
Reduce test warnings
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-29 23:56:02 +00:00
softwarefactory-project-zuul[bot]
2ccf0a0004
Merge pull request #5143 from AlanCoding/getinline
...
Apply username ordering to more views
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-29 20:42:49 +00:00
softwarefactory-project-zuul[bot]
c69db02762
Merge pull request #5102 from mabashian/edit-buttons
...
Adds edit buttons to Templates, Inventories, Organizations, and Projects list items
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-29 20:42:45 +00:00
mabashian
35c27c8b16
Tweak ActionButtonCell definition and export
2019-10-29 14:45:05 -04:00
Keith Grant
91edac0d84
remove prop type warnings
2019-10-29 11:41:14 -07:00
AlanCoding
cf168b27d2
apply username ordering to more views
2019-10-29 14:20:33 -04:00
Ryan Petrello
171f0d6340
Merge branch 'downstream' into devel
2019-10-29 13:02:17 -04:00
Jeff Bradberry
aff31ac02f
Add the no_truncate parameter to the job and adhoc event sublist views
...
which are the ones that the CLI actually uses.
2019-10-29 11:24:17 -04:00
Jake McDermott
a23754897e
Improve accuracy of code comment
2019-10-29 11:24:17 -04:00
Ryan Petrello
3094b67664
work around a bug in the k8s client that leaves trash in /tmp
2019-10-29 11:24:17 -04:00
Alan Rominger
98d3f3dc8a
Add tests for AWX collection credential fixes ( #3893 )
2019-10-29 11:24:16 -04:00
Jake McDermott
6f2a07a7df
Scrape tag input state from dom and put it in vm
...
The tag input state lives somewhere in the associated select2 widgetry
and isn't directly tied to the vm like it is for the other inputs.
2019-10-29 11:24:16 -04:00
Ryan Petrello
52336c0fe8
fix a syntax error
...
whoopsie
2019-10-29 11:24:15 -04:00
Rebeccah
220354241b
added in check to see if the the current check has an instance or not to prevent nonetype errors
2019-10-29 11:24:15 -04:00
Rebeccah
1ae8fdc15c
moved filterint out policy instance values in the api browser input box into the instanceGroupDetail class where I overrode the update_raw_data function to parse out the unneeded data. Additionally added the fix for checking the value in the serializer.
2019-10-29 11:24:15 -04:00
Rebeccah
4bbdce3478
removed policy_instance variables from container groups default values in the API put/patch view
2019-10-29 11:24:15 -04:00
Rebeccah
d25e6249fd
Added in validation for each of the 3 fields that should not be changed if the instance is a container group, defaults in the textarea persist with these 3 options
2019-10-29 11:24:15 -04:00
Jim Ladd
71d7bac261
Rename job_summary_dict to job_metadata
...
* Clarifies purpose of notification template variable
2019-10-29 11:24:14 -04:00
Alan Rominger
acba5306c6
Fix bug where SCM inventory did not have a collections destination ( #3795 )
...
* update inventory path to be in tmp project clone
* copy project folder for inventory scm launch type
* Optionally accept inventory collection paths from ansible.cfg
2019-10-29 11:24:14 -04:00
Jim Ladd
fca9245536
Update unit tests
2019-10-29 11:24:14 -04:00
Jim Ladd
47031da65b
Return full webhook dict when serializing notif.
2019-10-29 11:24:14 -04:00
Jim Ladd
b024d91c66
Use correct notif. bodies when sending test notifs
...
* Notification backends now handle body of notifications differently
* .. depending on their type (webhook, email, and pagerduty) are
currently the only three notification types that use body
* email and pagerduty expect a string
* webhooks expects a dict in string format
2019-10-29 11:24:14 -04:00
Jim Ladd
da7002cf0c
Don't use i18n for NT body string
2019-10-29 11:24:14 -04:00
Keith Grant
f4f1762805
fix lint errors
2019-10-29 11:24:13 -04:00
Keith Grant
ad5857e06b
Add notification custom message fields for workflow pause/approval
2019-10-29 11:24:13 -04:00
Jim Ladd
12d735ec8f
NotificationSerializer should gracefully handle webhook/pagerduty bodies
2019-10-29 11:24:13 -04:00
Jim Ladd
4809c40f3c
Render WF approval notifications w/ custom templates
2019-10-29 11:24:13 -04:00
Jim Ladd
4e9ec271c5
Refactor notification backends to use CustomNotificationBase
2019-10-29 11:24:13 -04:00
Jim Ladd
6cd6a42e20
Render default notifications using Jinja templates
2019-10-29 11:24:13 -04:00
Jim Ladd
f234c0f771
Remove unused build_notification_message method
2019-10-29 11:24:12 -04:00
Alan Rominger
3f49d2c455
RBAC relaunch 403 updates ( #3835 )
...
* RBAC relaunch 403 updates
Addresses 2 things
1. If WFJ relaunch is attempted, and relaunch is denied
because the WFJ had encrypted survey answers,
a generic message was shown, this changes it to show
a specific error message
2. Org admins are banned from relaunching a job
if the job has encrypted survey answers
* update tests to raises access pattern
* catch PermissionDenied for user_capabilities
2019-10-29 11:24:12 -04:00
Alan Rominger
a0fb9bef3a
Disable activity stream and speed up host group bulk deletion ( #3817 )
2019-10-29 11:24:12 -04:00
Ryan Petrello
ccaaee61f0
improve cleanup of anonymous kubeconfig files
2019-10-29 11:24:12 -04:00
Ryan Petrello
ab6322a8f7
fix a bug that breaks webhook launches when a survey is in use
...
see: https://github.com/ansible/awx/issues/5062
2019-10-29 11:24:12 -04:00