Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump spring-web from 4.2.5.RELEASE to 6.0.0 in /Email/NMSReportingSuite #86

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion Email/NMSReportingSuite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<name>NMSReportingSuite Maven Webapp</name>
<url>http://maven.apache.org</url>
<properties>
<springframework.version>4.2.5.RELEASE</springframework.version>
<springframework.version>6.0.0</springframework.version>
<springsecurity.version>4.0.4.RELEASE</springsecurity.version>
<hibernate.version>4.3.11.Final</hibernate.version>
<mysql.connector.version>5.1.31</mysql.connector.version>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
84 changes: 43 additions & 41 deletions app/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,31 +82,33 @@ var nmsReportsApp = angular.module('nmsReports', ['vcRecaptcha','ui.bootstrap',
$stateProvider.state('userManagement', {
url: '/userManagement',
abstract: true,
templateUrl: 'views/userManagement.html',
templateUrl: 'htpagesmis/userManagement.html',
resolve : {
user : function (authorizationRole) {
return authorizationRole.authorize();
user : function (authorizationRole,authorization){
if(authorization.authorize()){
return authorizationRole.authorize();
}
}
}
}).state('userManagement.bulkUpload', {
url: '/bulkUpload',
templateUrl: 'views/bulkUser.html',
templateUrl: 'htpagesmis/bulkUser.html',
resolve : {
user : function (authorizationRole) {
return authorizationRole.authorize();
}
}
}).state('userManagement.createUser', {
url: '/create',
templateUrl: 'views/createUser.html',
templateUrl: 'htpagesmis/createUser.html',
resolve : {
user : function ( authorizationRole) {
return authorizationRole.authorize();
}
}
}).state('userManagement.userTable', {
url: '/:pageNum',
templateUrl: 'views/userTable.html',
templateUrl: 'htpagesmis/userTable.html',
reloadOnSearch: false,
resolve : {
user : function ( authorizationRole) {
Expand All @@ -118,236 +120,236 @@ var nmsReportsApp = angular.module('nmsReports', ['vcRecaptcha','ui.bootstrap',
}
}).state('userManagement.editUser', {
url: '/:pageNum/edit/:id',
templateUrl: 'views/editUser.html',
templateUrl: 'htpagesmis/editUser.html',
resolve : {
user : function ( authorizationRole) {
return authorizationRole.authorize();
}
}
}).state('login', {
url: '/login',
templateUrl: 'views/login.html'
templateUrl: 'htpagesmis/login.html'
}).state('logout', {
url: '/logout',
templateUrl: 'views/login.html'
templateUrl: 'htpagesmis/login.html'
}).state('reports', {
url: '/reports',
templateUrl: 'views/reports.html',
templateUrl: 'htpagesmis/reports.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('profile', {
url: '/profile',
templateUrl: 'views/profile.html',
templateUrl: 'htpagesmis/profile.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('forgotPassword', {
url: '/forgotPassword',
templateUrl: 'views/forgotPassword.html'
templateUrl: 'htpagesmis/forgotPassword.html'
}).state('feedbackForm', {
url: '/feedbackForm',
templateUrl: 'views/feedbackForm.html',
templateUrl: 'htpagesmis/feedbackForm.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('feedbackResponse', {
url: '/feedbackResponse',
templateUrl: 'views/feedbackResponse.html',
templateUrl: 'htpagesmis/feedbackResponse.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('contactUs', {
url: '/contactUs',
templateUrl: 'views/contactUs.html'
templateUrl: 'htpagesmis/contactUs.html'

}).state('contactUsResponse', {
url: '/contactUsResponse',
templateUrl: 'views/contactUsResponse.html',
templateUrl: 'htpagesmis/contactUsResponse.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('sitemap', {
url: '/sitemap',
templateUrl: 'views/sitemap.html'
templateUrl: 'htpagesmis/sitemap.html'

}).state('AboutKilkari', {
url: '/kilkari',
templateUrl: 'views/aboutKilkari.html',
templateUrl: 'htpagesmis/aboutKilkari.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('AboutMA', {
url: '/aboutMA',
templateUrl: 'views/aboutMA.html',
templateUrl: 'htpagesmis/aboutMA.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('PrivacyPolicy', {
url: '/privacyPolicy',
templateUrl: 'views/privacyPolicy.html'
templateUrl: 'htpagesmis/privacyPolicy.html'

}).state('CopyrightPolicy', {
url: '/copyrightPolicy',
templateUrl: 'views/copyrightPolicy.html'
templateUrl: 'htpagesmis/copyrightPolicy.html'

}).state('TandC', {
url: '/termsAndConditions',
templateUrl: 'views/tAndC.html'
templateUrl: 'htpagesmis/tAndC.html'

}).state('HLPolicy', {
url: '/hyperLinkingPolicy',
templateUrl: 'views/hyperLinkingPolicy.html'
templateUrl: 'htpagesmis/hyperLinkingPolicy.html'

}).state('Disclaimer', {
url: '/disclaimer',
templateUrl: 'views/disclaimer.html'
templateUrl: 'htpagesmis/disclaimer.html'

}).state('Help', {
url: '/help',
templateUrl: 'views/helpPage.html',
templateUrl: 'htpagesmis/helpPage.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('changePassword', {
url: '/changePassword',
templateUrl: 'views/changePassword.html',
templateUrl: 'htpagesmis/changePassword.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('userManual', {
url: '/userManual',
templateUrl: 'views/userManual.html',
templateUrl: 'htpagesmis/userManual.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('userManual.kilkari', {
url: '/kilkari',
templateUrl: 'views/userManual_kilkari.html',
templateUrl: 'htpagesmis/userManual_kilkari.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('userManual.kilkariAggregate', {
url: '/kilkariAggregate',
templateUrl: 'views/userManual_kilkariAgg.html',
templateUrl: 'htpagesmis/userManual_kilkariAgg.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('userManual.websiteInformation', {
url: '/WebsiteInformation',
templateUrl: 'views/userManual_websiteInformation.html',
templateUrl: 'htpagesmis/userManual_websiteInformation.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('userManual.mobileAcademy', {
url: '/mobileAcademy',
templateUrl: 'views/userManual_mobileAcademy.html',
templateUrl: 'htpagesmis/userManual_mobileAcademy.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('userManual.mobileAcademyAggregate', {
url: '/mobileAcademyAggregate',
templateUrl: 'views/userManual_mobileAcademyAgg.html',
templateUrl: 'htpagesmis/userManual_mobileAcademyAgg.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('userManual.userManual_Management', {
url: '/userManual_Management',
templateUrl: 'views/userManual_Management.html',
templateUrl: 'htpagesmis/userManual_Management.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('userManual.userManual_Profile', {
url: '/userManual_Profile',
templateUrl: 'views/userManual_Profile.html',
templateUrl: 'htpagesmis/userManual_Profile.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('faq', {
url: '/faq',
templateUrl: 'views/faq.html',
templateUrl: 'htpagesmis/faq.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('faq.faqGeneralInfo', {
url: '/general-info',
templateUrl: 'views/faqGeneralInfo.html',
templateUrl: 'htpagesmis/faqGeneralInfo.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('faq.faqLoginInfo', {
url: '/login-info',
templateUrl: 'views/faqLoginInfo.html',
templateUrl: 'htpagesmis/faqLoginInfo.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('faq.faqReportsInfo', {
url: '/reports-info',
templateUrl: 'views/faqReportsInfo.html',
templateUrl: 'htpagesmis/faqReportsInfo.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('faq.faqLineListingInfo', {
url: '/line-listing-info',
templateUrl: 'views/faqLineListingInfo.html',
templateUrl: 'htpagesmis/faqLineListingInfo.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('faq.faqAggregateInfo', {
url: '/aggregate-info',
templateUrl: 'views/faqAggregateInfo.html',
templateUrl: 'htpagesmis/faqAggregateInfo.html',
resolve : {
user : function ( authorization) {
return authorization.authorize();
}
}
}).state('Downloads', {
url: '/Downloads',
templateUrl: 'views/downloads.html'
templateUrl: 'htpagesmis/downloads.html'
});
$urlRouterProvider.otherwise('/login');
$httpProvider.defaults.headers.common = {};
Expand Down
10 changes: 5 additions & 5 deletions app/scripts/controllers/reports.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
$scope.datePickerOptions.minMode = '';
$scope.datePickerOptions.datepickerMode = 'year';
$scope.datePickerOptions.minMode = 'year';
if(new Date().getMonth()>3){
if(new Date().getMonth()>2){
$scope.datePickerOptions.maxDate = new Date().setYear(new Date().getFullYear());
}else{
$scope.datePickerOptions.maxDate = new Date().setYear(new Date().getFullYear() -1);
Expand All @@ -247,7 +247,7 @@
$scope.datePickerOptions.minMode = '';
$scope.datePickerOptions.datepickerMode = 'year';
$scope.datePickerOptions.minMode = 'year';
if(new Date().getMonth()>3){
if(new Date().getMonth()>2){
$scope.datePickerOptions.maxDate = new Date().setYear(new Date().getFullYear());
}else{
$scope.datePickerOptions.maxDate = new Date().setYear(new Date().getFullYear() -1);
Expand Down Expand Up @@ -648,7 +648,7 @@
$scope.datePickerOptions.minMode = '';
$scope.datePickerOptions.datepickerMode = 'year';
$scope.datePickerOptions.minMode = 'year';
if(new Date().getMonth()>3){
if(new Date().getMonth()>2){
$scope.datePickerOptions.maxDate = new Date().setYear(new Date().getFullYear());
}else{
$scope.datePickerOptions.maxDate = new Date().setYear(new Date().getFullYear() -1);
Expand All @@ -661,7 +661,7 @@
$scope.datePickerOptions.minMode = '';
$scope.datePickerOptions.datepickerMode = 'year';
$scope.datePickerOptions.minMode = 'year';
if(new Date().getMonth()>3){
if(new Date().getMonth()>2){
$scope.datePickerOptions.maxDate = new Date().setYear(new Date().getFullYear());
}else{
$scope.datePickerOptions.maxDate = new Date().setYear(new Date().getFullYear() -1);
Expand Down Expand Up @@ -1175,7 +1175,7 @@
else{
reportRequest.toDate = new Date($scope.dt1.getFullYear(),8,30);
}
reportRequest.toDate = new Date($scope.dt1.getFullYear(),8,30);
// reportRequest.toDate = new Date($scope.dt1.getFullYear(),8,30);
}
if($scope.quarterDisplayType == 'Q4 (Oct to Dec)'){
reportRequest.fromDate = new Date($scope.dt1.getFullYear(),9,1);
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/directives/bulkUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.directive('bulkUser', function() {
return {
restrict: 'AC',
templateUrl: '../views/bulkUser.html',
templateUrl: '../htpagesmis/bulkUser.html',

};
})
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/directives/contactUs.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.directive('contactUs', function() {
return {
restrict: 'AC',
templateUrl: '../views/contactUs.html',
templateUrl: '../htpagesmis/contactUs.html',
};
})

Expand Down
2 changes: 1 addition & 1 deletion app/scripts/directives/createUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
return {
require: 'ngMessages',
restrict: 'AC',
templateUrl: '../views/createUser.html',
templateUrl: '../htpagesmis/createUser.html',
scope:{
'newUser':'='
}
Expand Down
Loading