mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 20:37:39 -02:30
Merge remote-tracking branch 'tower/release_3.2.3' into devel
* tower/release_3.2.3: fix unicode bugs with log statements use --export option for ansible-inventory add support for new "BECOME" prompt in Ansible 2.5+ for adhoc commands enforce strings for secret password inputs on Credentials fix a bug for "users should be able to change type of unused credential" fix xss vulnerabilities - on host recent jobs popover - on schedule name tooltip fix a bug when testing UDP-based logging configuration bump templates form credential_types page limit Wait for Slack RTM API websocket connection to be established don't process artifacts from custom `set_stat` calls asynchronously don't overwrite env['ANSIBLE_LIBRARY'] when fact caching is enabled only allow facts to cache in the proper file system location replace our memcached-based fact cache implementation with local files add support for new "BECOME" prompt in Ansible 2.5+ fix a bug in inventory generation for isolated nodes properly handle unicode for isolated job buffers
This commit is contained in:
@@ -60,7 +60,7 @@ export default
|
||||
|
||||
html += "<td class=\"break\"><a href=\"#/jobs/" + job.id + "\" " +
|
||||
"aw-tool-tip=\"" + job.status.charAt(0).toUpperCase() + job.status.slice(1) +
|
||||
". Click for details\" data-placement=\"top\">" + ellipsis(job.name) + "</a></td>\n";
|
||||
". Click for details\" data-placement=\"top\">" + $filter('sanitize')(ellipsis(job.name)) + "</a></td>\n";
|
||||
|
||||
html += "</tr>\n";
|
||||
}
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
|
||||
|
||||
export default [
|
||||
'$scope', '$location', '$stateParams', 'ScheduleList', 'Rest',
|
||||
'$filter', '$scope', '$location', '$stateParams', 'ScheduleList', 'Rest',
|
||||
'rbacUiControlService',
|
||||
'ToggleSchedule', 'DeleteSchedule', '$q', '$state', 'Dataset', 'ParentObject', 'UnifiedJobsOptions',
|
||||
function($scope, $location, $stateParams,
|
||||
function($filter, $scope, $location, $stateParams,
|
||||
ScheduleList, Rest,
|
||||
rbacUiControlService,
|
||||
ToggleSchedule, DeleteSchedule,
|
||||
@@ -102,7 +102,7 @@ export default [
|
||||
schedule.status_tip = 'Schedule is stopped. Click to activate.';
|
||||
}
|
||||
|
||||
schedule.nameTip = schedule.name;
|
||||
schedule.nameTip = $filter('sanitize')(schedule.name);
|
||||
// include the word schedule if the schedule name does not include the word schedule
|
||||
if (schedule.name.indexOf("schedule") === -1 && schedule.name.indexOf("Schedule") === -1) {
|
||||
schedule.nameTip += " schedule";
|
||||
@@ -111,7 +111,7 @@ export default [
|
||||
if (job.name.indexOf("job") === -1 && job.name.indexOf("Job") === -1) {
|
||||
schedule.nameTip += "job ";
|
||||
}
|
||||
schedule.nameTip += job.name;
|
||||
schedule.nameTip += $filter('sanitize')(job.name);
|
||||
schedule.nameTip += ". Click to edit schedule.";
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
export default ['Rest', 'GetBasePath', 'ProcessErrors',
|
||||
function(Rest, GetBasePath, ProcessErrors) {
|
||||
return function() {
|
||||
return function(params = null) {
|
||||
Rest.setUrl(GetBasePath('credential_types'));
|
||||
return Rest.get()
|
||||
return Rest.get({ params })
|
||||
.then(({data}) => {
|
||||
var val = {};
|
||||
data.results.forEach(type => {
|
||||
|
||||
Reference in New Issue
Block a user