syncope git commit: [SYNCOPE-1155] Hard-coded /syncope-enduser HTTP subcontext

2017-08-02 Thread skylark17
Repository: syncope
Updated Branches:
  refs/heads/master d685eda85 -> cb9e14539


[SYNCOPE-1155] Hard-coded /syncope-enduser HTTP subcontext


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/cb9e1453
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/cb9e1453
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/cb9e1453

Branch: refs/heads/master
Commit: cb9e145396d2ae54fe4f37110675dc84bc7c9c32
Parents: d685eda
Author: skylark17 
Authored: Wed Aug 2 14:09:40 2017 +0200
Committer: skylark17 
Committed: Wed Aug 2 14:12:16 2017 +0200

--
 .../META-INF/resources/app/js/directives/captcha.js |  2 +-
 .../META-INF/resources/app/js/services/anyService.js|  4 ++--
 .../META-INF/resources/app/js/services/authService.js   |  4 ++--
 .../META-INF/resources/app/js/services/groupService.js  |  2 +-
 .../META-INF/resources/app/js/services/infoService.js   |  2 +-
 .../META-INF/resources/app/js/services/realmService.js  |  2 +-
 .../resources/app/js/services/resourceService.js|  2 +-
 .../resources/app/js/services/saml2IdPService.js|  2 +-
 .../META-INF/resources/app/js/services/schemaService.js |  4 ++--
 .../app/js/services/securityQuestionService.js  |  4 ++--
 .../resources/app/js/services/userSelfService.js| 12 ++--
 11 files changed, 20 insertions(+), 20 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/cb9e1453/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js
--
diff --git 
a/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js
 
b/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js
index ce62b88..0e76abf 100644
--- 
a/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js
+++ 
b/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js
@@ -32,7 +32,7 @@ angular.module('self')
 
   //initialize captcha
   $scope.refreshCaptcha = function () {
-$scope.captchaUrl = '/syncope-enduser/api/captcha' + '?' + new 
Date();
+$scope.captchaUrl = '../api/captcha' + '?' + new Date();
   };
 
   // initialize captcha

http://git-wip-us.apache.org/repos/asf/syncope/blob/cb9e1453/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js
--
diff --git 
a/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js
 
b/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js
index 09edf18..4c24af2 100644
--- 
a/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js
+++ 
b/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js
@@ -26,7 +26,7 @@ angular.module('self')
 var any = {};
 
 any.getAuxClasses = function () {
-  return  $http.get("/syncope-enduser/api/auxClasses")
+  return  $http.get("../api/auxClasses")
   .then(function (response) {
 return response.data;
   }, function (response) {
@@ -37,7 +37,7 @@ angular.module('self')
 };
 
 any.getUserClasses = function () {
-  return  $http.get("/syncope-enduser/api/userClasses")
+  return  $http.get("../api/userClasses")
   .then(function (response) {
 return response.data;
   }, function (response) {

http://git-wip-us.apache.org/repos/asf/syncope/blob/cb9e1453/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js
--
diff --git 
a/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js
 
b/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js
index 593781a..8fc0868 100644
--- 
a/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js
+++ 
b/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js
@@ -26,7 +26,7 @@ angular.module('login')
 var authService = {};
 authService.login = function (credentials) {
   return $http
-  .post('/syncope-enduser/api/login', credentials)
+  .post('../api/login', credentials)
   .then(function (response) {
 return response.data;
   }, function 

syncope git commit: [SYNCOPE-1155] Hard-coded /syncope-enduser HTTP subcontext

2017-08-02 Thread skylark17
Repository: syncope
Updated Branches:
  refs/heads/2_0_X fed232c33 -> 0a0bf05c4


[SYNCOPE-1155] Hard-coded /syncope-enduser HTTP subcontext


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/0a0bf05c
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/0a0bf05c
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/0a0bf05c

Branch: refs/heads/2_0_X
Commit: 0a0bf05c42a6ef59835c3e247035cc898ab4c4db
Parents: fed232c
Author: skylark17 
Authored: Wed Aug 2 14:09:40 2017 +0200
Committer: skylark17 
Committed: Wed Aug 2 14:09:40 2017 +0200

--
 .../META-INF/resources/app/js/directives/captcha.js |  2 +-
 .../META-INF/resources/app/js/services/anyService.js|  4 ++--
 .../META-INF/resources/app/js/services/authService.js   |  4 ++--
 .../META-INF/resources/app/js/services/groupService.js  |  2 +-
 .../META-INF/resources/app/js/services/infoService.js   |  2 +-
 .../META-INF/resources/app/js/services/realmService.js  |  2 +-
 .../resources/app/js/services/resourceService.js|  2 +-
 .../resources/app/js/services/saml2IdPService.js|  2 +-
 .../META-INF/resources/app/js/services/schemaService.js |  4 ++--
 .../app/js/services/securityQuestionService.js  |  4 ++--
 .../resources/app/js/services/userSelfService.js| 12 ++--
 11 files changed, 20 insertions(+), 20 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/0a0bf05c/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js
--
diff --git 
a/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js
 
b/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js
index ce62b88..0e76abf 100644
--- 
a/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js
+++ 
b/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js
@@ -32,7 +32,7 @@ angular.module('self')
 
   //initialize captcha
   $scope.refreshCaptcha = function () {
-$scope.captchaUrl = '/syncope-enduser/api/captcha' + '?' + new 
Date();
+$scope.captchaUrl = '../api/captcha' + '?' + new Date();
   };
 
   // initialize captcha

http://git-wip-us.apache.org/repos/asf/syncope/blob/0a0bf05c/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js
--
diff --git 
a/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js
 
b/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js
index 09edf18..4c24af2 100644
--- 
a/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js
+++ 
b/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js
@@ -26,7 +26,7 @@ angular.module('self')
 var any = {};
 
 any.getAuxClasses = function () {
-  return  $http.get("/syncope-enduser/api/auxClasses")
+  return  $http.get("../api/auxClasses")
   .then(function (response) {
 return response.data;
   }, function (response) {
@@ -37,7 +37,7 @@ angular.module('self')
 };
 
 any.getUserClasses = function () {
-  return  $http.get("/syncope-enduser/api/userClasses")
+  return  $http.get("../api/userClasses")
   .then(function (response) {
 return response.data;
   }, function (response) {

http://git-wip-us.apache.org/repos/asf/syncope/blob/0a0bf05c/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js
--
diff --git 
a/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js
 
b/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js
index 593781a..8fc0868 100644
--- 
a/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js
+++ 
b/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js
@@ -26,7 +26,7 @@ angular.module('login')
 var authService = {};
 authService.login = function (credentials) {
   return $http
-  .post('/syncope-enduser/api/login', credentials)
+  .post('../api/login', credentials)
   .then(function (response) {
 return response.data;
   }, function (response)