mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 13:11:19 -03:30
removing notify:false, it's deprecated
This commit is contained in:
parent
f9c991e660
commit
3d5f301a07
@ -108,7 +108,7 @@ function LegacyCredentialsService () {
|
||||
page_size: '20',
|
||||
order_by: 'username'
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: ''
|
||||
}
|
||||
},
|
||||
@ -185,14 +185,14 @@ function LegacyCredentialsService () {
|
||||
page_size: 5,
|
||||
is_superuser: false
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
},
|
||||
team_search: {
|
||||
value: {
|
||||
order_by: 'name',
|
||||
page_size: 5
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
ncyBreadcrumb: {
|
||||
@ -240,7 +240,7 @@ function LegacyCredentialsService () {
|
||||
order_by: 'name',
|
||||
role_level: 'admin_role'
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: ''
|
||||
}
|
||||
},
|
||||
@ -279,7 +279,7 @@ function LegacyCredentialsService () {
|
||||
page_size: 5,
|
||||
order_by: 'name'
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: ''
|
||||
}
|
||||
},
|
||||
|
||||
@ -21,7 +21,7 @@ export default {
|
||||
or__object1__in: null,
|
||||
or__object2__in: null
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
ncyBreadcrumb: {
|
||||
|
||||
@ -3,10 +3,10 @@ global.$AnsibleConfig = null;
|
||||
// Provided via Webpack DefinePlugin in webpack.config.js
|
||||
global.$ENV = {};
|
||||
// ui-router debugging
|
||||
if ($ENV['route-debug']){
|
||||
let trace = angular.module('ui.router').trace;
|
||||
trace.enable();
|
||||
}
|
||||
// if ($ENV['route-debug']){
|
||||
// let trace = angular.module('ui.router').trace;
|
||||
// trace.enable();
|
||||
// }
|
||||
|
||||
var urlPrefix;
|
||||
|
||||
@ -175,13 +175,13 @@ angular
|
||||
'CheckLicense', '$location', 'Authorization', 'LoadBasePaths', 'Timer',
|
||||
'LoadConfig', 'Store', 'pendoService', 'Prompt', 'Rest',
|
||||
'Wait', 'ProcessErrors', '$state', 'GetBasePath', 'ConfigService',
|
||||
'FeaturesService', '$filter', 'SocketService', 'AppStrings', '$transitions',
|
||||
'FeaturesService', '$filter', 'SocketService', 'AppStrings', '$transitions', '$trace',
|
||||
function($stateExtender, $q, $compile, $cookies, $rootScope, $log, $stateParams,
|
||||
CheckLicense, $location, Authorization, LoadBasePaths, Timer,
|
||||
LoadConfig, Store, pendoService, Prompt, Rest, Wait,
|
||||
ProcessErrors, $state, GetBasePath, ConfigService, FeaturesService,
|
||||
$filter, SocketService, AppStrings, $transitions) {
|
||||
|
||||
$filter, SocketService, AppStrings, $transitions, $trace) {
|
||||
$trace.enable();
|
||||
$rootScope.$state = $state;
|
||||
$rootScope.$state.matches = function(stateName) {
|
||||
return $state.current.name.search(stateName) > 0;
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
params: {
|
||||
currentTab: {
|
||||
value: 'auth',
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
isOptional: true
|
||||
}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ export default {
|
||||
page_size: '20',
|
||||
order_by: 'name'
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
data: {
|
||||
|
||||
@ -15,7 +15,7 @@ export default {
|
||||
order_by: '-finished',
|
||||
not__launch_type: 'sync'
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
views: {
|
||||
|
||||
@ -15,7 +15,7 @@ export default {
|
||||
page_size: '20',
|
||||
order_by: 'hostname'
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
views: {
|
||||
|
||||
@ -15,7 +15,7 @@ export default {
|
||||
order_by: '-finished',
|
||||
not__launch_type: 'sync'
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
},
|
||||
instance_group_id: null
|
||||
},
|
||||
|
||||
@ -36,7 +36,7 @@ export default {
|
||||
page_size: "20",
|
||||
order_by: "name"
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: ""
|
||||
}
|
||||
},
|
||||
|
||||
@ -10,7 +10,7 @@ export default {
|
||||
page_size: '5'
|
||||
},
|
||||
squash: true,
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
ncyBreadcrumb: {
|
||||
|
||||
@ -351,6 +351,7 @@ angular.module('inventory', [
|
||||
$stateProvider.state({
|
||||
name: 'inventories.**',
|
||||
url: '/inventories',
|
||||
reloadOnSearch: true,
|
||||
lazyLoad: () => generateInventoryStates()
|
||||
});
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@ export default {
|
||||
or__inventoryupdate__inventory_source__inventory:"",
|
||||
order_by: "-id"
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash:""
|
||||
}
|
||||
},
|
||||
|
||||
@ -37,7 +37,7 @@ export default {
|
||||
page_size: "20",
|
||||
order_by: "name"
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: ""
|
||||
}
|
||||
},
|
||||
|
||||
@ -10,7 +10,7 @@ export default {
|
||||
page_size: "20",
|
||||
order_by: "name"
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: ""
|
||||
}
|
||||
},
|
||||
|
||||
@ -10,7 +10,7 @@ export default {
|
||||
page_size: "20",
|
||||
order_by: "name"
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: ""
|
||||
}
|
||||
},
|
||||
|
||||
@ -9,7 +9,7 @@ export default {
|
||||
page_size: "20",
|
||||
order_by: "name"
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash:""
|
||||
}
|
||||
},
|
||||
|
||||
@ -10,7 +10,7 @@ export default {
|
||||
page_size: "20",
|
||||
order_by: "name"
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: ""
|
||||
}
|
||||
},
|
||||
|
||||
@ -10,7 +10,7 @@ export default {
|
||||
order_by: "name",
|
||||
not__source: ""
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: ""
|
||||
}
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@ export default {
|
||||
order_by: "name",
|
||||
role_level: "admin_role",
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: ""
|
||||
}
|
||||
},
|
||||
|
||||
@ -9,7 +9,7 @@ export default {
|
||||
page_size: "20",
|
||||
order_by: "name"
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash:""
|
||||
}
|
||||
},
|
||||
|
||||
@ -31,7 +31,7 @@ export default {
|
||||
params: {
|
||||
job_event_search: {
|
||||
value: defaultParams,
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: ''
|
||||
}
|
||||
},
|
||||
|
||||
@ -11,6 +11,7 @@ export default {
|
||||
searchPrefix: 'job',
|
||||
name: 'jobs',
|
||||
url: '/jobs',
|
||||
reloadOnSearch: true,
|
||||
ncyBreadcrumb: {
|
||||
label: N_("JOBS")
|
||||
},
|
||||
@ -20,8 +21,8 @@ export default {
|
||||
not__launch_type: 'sync',
|
||||
order_by: '-finished'
|
||||
},
|
||||
dynamic: true,
|
||||
squash: ''
|
||||
dynamic: false,
|
||||
squash: false
|
||||
}
|
||||
},
|
||||
data: {
|
||||
|
||||
@ -34,7 +34,7 @@ export default [{
|
||||
value: {
|
||||
order_by: 'username'
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
ncyBreadcrumb: {
|
||||
@ -239,7 +239,7 @@ export default [{
|
||||
or__inventory__organization: null,
|
||||
page_size: 20
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
data: {
|
||||
@ -297,14 +297,14 @@ export default [{
|
||||
value: {
|
||||
order_by: 'username'
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
},
|
||||
add_user_search: {
|
||||
value: {
|
||||
order_by: 'username',
|
||||
page_size: '5',
|
||||
},
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
squash: true
|
||||
}
|
||||
},
|
||||
|
||||
@ -14,7 +14,7 @@ export default {
|
||||
page_size: '20',
|
||||
order_by: '-finished'
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
data: {
|
||||
|
||||
@ -15,7 +15,7 @@ export default {
|
||||
order_by: '-finished',
|
||||
created_by: null
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
data: {
|
||||
|
||||
@ -7,7 +7,7 @@ import { N_ } from '../i18n';
|
||||
export default {
|
||||
name: 'portalMode',
|
||||
url: '/portal?{job_template_search:queryset}',
|
||||
abstract: true,
|
||||
reloadOnSearch: true,
|
||||
ncyBreadcrumb: {
|
||||
label: N_('MY VIEW')
|
||||
},
|
||||
@ -17,7 +17,7 @@ export default {
|
||||
page_size: '20',
|
||||
order_by: 'name'
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
data: {
|
||||
|
||||
@ -318,7 +318,7 @@ export default
|
||||
next_run__isnull: 'false',
|
||||
order_by: 'unified_job_template__polymorphic_ctype__model'
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
data: {
|
||||
|
||||
@ -122,7 +122,7 @@ export default ['$stateParams', '$scope', '$state', 'GetBasePath', 'QuerySet', '
|
||||
// but will register new $stateParams[$scope.iterator + '_search'] terms
|
||||
if(!$scope.querySet) {
|
||||
$state.go('.', {
|
||||
[$scope.iterator + '_search']: queryset }, {notify: false});
|
||||
[$scope.iterator + '_search']: queryset }, {reload:true});
|
||||
}
|
||||
qs.search(path, queryset).then((res) => {
|
||||
if($scope.querySet) {
|
||||
@ -288,7 +288,7 @@ export default ['$stateParams', '$scope', '$state', 'GetBasePath', 'QuerySet', '
|
||||
// but will register new $stateParams[$scope.iterator + '_search'] terms
|
||||
if(!$scope.querySet) {
|
||||
$state.go('.', {
|
||||
[$scope.iterator + '_search']: queryset }, {notify: false}).then(function(){
|
||||
[$scope.iterator + '_search']: queryset }, { reload:true }).then(function(){
|
||||
// ISSUE: same as above in $scope.remove. For some reason deleting the page
|
||||
// from the queryset works for all lists except lists in modals.
|
||||
delete $stateParams[$scope.iterator + '_search'].page;
|
||||
@ -379,7 +379,7 @@ export default ['$stateParams', '$scope', '$state', 'GetBasePath', 'QuerySet', '
|
||||
removeFromQuerySet(queryset);
|
||||
if(!$scope.querySet) {
|
||||
$state.go('.', {
|
||||
[$scope.iterator + '_search']: queryset }, {notify: false}).then(function(){
|
||||
[$scope.iterator + '_search']: queryset }, {reload:true}).then(function(){
|
||||
// ISSUE: for some reason deleting a tag from a list in a modal does not
|
||||
// remove the param from $stateParams. Here we'll manually check to make sure
|
||||
// that that happened and remove it if it didn't.
|
||||
@ -403,7 +403,7 @@ export default ['$stateParams', '$scope', '$state', 'GetBasePath', 'QuerySet', '
|
||||
delete cleared.page;
|
||||
queryset = cleared;
|
||||
if(!$scope.querySet) {
|
||||
$state.go('.', {[$scope.iterator + '_search']: queryset}, {notify: false});
|
||||
$state.go('.', {[$scope.iterator + '_search']: queryset}, {reload:true});
|
||||
}
|
||||
qs.search(path, queryset).then((res) => {
|
||||
if($scope.querySet) {
|
||||
|
||||
@ -257,27 +257,27 @@ function($injector, $stateExtender, $log, i18n) {
|
||||
params: {
|
||||
project_search: {
|
||||
value: {order_by: 'name', page_size: '5', role_level: 'admin_role'},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
},
|
||||
job_template_search: {
|
||||
value: {order_by: 'name', page_size: '5', role_level: 'admin_role'},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
},
|
||||
workflow_template_search: {
|
||||
value: {order_by: 'name', page_size: '5', role_level: 'admin_role'},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
},
|
||||
inventory_search: {
|
||||
value: {order_by: 'name', page_size: '5', role_level: 'admin_role'},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
},
|
||||
credential_search: {
|
||||
value: {order_by: 'name', page_size: '5', role_level: 'admin_role'},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
},
|
||||
organization_search: {
|
||||
value: {order_by: 'name', page_size: '5', role_level: 'admin_role'},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
ncyBreadcrumb:{
|
||||
@ -398,11 +398,11 @@ function($injector, $stateExtender, $log, i18n) {
|
||||
params: {
|
||||
user_search: {
|
||||
value: { order_by: 'username', page_size: '5', is_superuser: false },
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
},
|
||||
team_search: {
|
||||
value: { order_by: 'name', page_size: '5' },
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
views: {
|
||||
@ -570,7 +570,7 @@ function($injector, $stateExtender, $log, i18n) {
|
||||
params: {
|
||||
user_search: {
|
||||
value: { order_by: 'username', page_size: '5' },
|
||||
dynamic: true,
|
||||
dynamic: false,
|
||||
}
|
||||
},
|
||||
views: {
|
||||
|
||||
@ -30,8 +30,8 @@ export default function($stateProvider) {
|
||||
page_size: "20",
|
||||
order_by: "name"
|
||||
},
|
||||
dynamic: true,
|
||||
squash: ''
|
||||
dynamic: false,
|
||||
squash: false
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@ -26,7 +26,7 @@ export default {
|
||||
value: {
|
||||
type: 'workflow_job_template,job_template'
|
||||
},
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
searchPrefix: 'template',
|
||||
|
||||
@ -368,8 +368,8 @@ angular.module('templates', [surveyMaker.name, templatesList.name, jobTemplates.
|
||||
inventory__isnull: false,
|
||||
credential__isnull: false
|
||||
},
|
||||
squash: true,
|
||||
dynamic: true
|
||||
squash: false,
|
||||
dynamic: false
|
||||
},
|
||||
project_search: {
|
||||
value: {
|
||||
@ -377,7 +377,7 @@ angular.module('templates', [surveyMaker.name, templatesList.name, jobTemplates.
|
||||
order_by: 'name'
|
||||
},
|
||||
squash: true,
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
},
|
||||
inventory_source_search: {
|
||||
value: {
|
||||
@ -386,7 +386,7 @@ angular.module('templates', [surveyMaker.name, templatesList.name, jobTemplates.
|
||||
order_by: 'name'
|
||||
},
|
||||
squash: true,
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
views: {
|
||||
@ -775,7 +775,7 @@ angular.module('templates', [surveyMaker.name, templatesList.name, jobTemplates.
|
||||
page_size: '5'
|
||||
},
|
||||
squash: true,
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
ncyBreadcrumb: {
|
||||
@ -830,7 +830,7 @@ angular.module('templates', [surveyMaker.name, templatesList.name, jobTemplates.
|
||||
page_size: '5'
|
||||
},
|
||||
squash: true,
|
||||
dynamic: true
|
||||
dynamic: false
|
||||
}
|
||||
},
|
||||
ncyBreadcrumb: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user