From 9a12dfb91bbcb7975534a089b9503af7bdedbb1f Mon Sep 17 00:00:00 2001 From: kamidu Date: Thu, 10 Aug 2017 16:49:02 +0530 Subject: [PATCH 1/4] enable JS level audit logs for device cloud --- .../app/modules/oauth/token-protected-service-invokers.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/oauth/token-protected-service-invokers.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/oauth/token-protected-service-invokers.js index cfde7134b6..5f8462a795 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/oauth/token-protected-service-invokers.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/oauth/token-protected-service-invokers.js @@ -116,6 +116,11 @@ var invokers = function () { log.debug("Request payload if any : " + stringify(requestPayload)); log.debug("Response status : " + xmlHttpRequest.status); log.debug("Response payload if any : " + xmlHttpRequest.responseText); + if (devicemgtProps["isCloud"]) { + log.info("Request : " + httpMethod + " " + endpoint); + log.info("Request payload if any : " + stringify(requestPayload)); + log.info("Response status : " + xmlHttpRequest.status); + } if (xmlHttpRequest.status == 401) { if ((xmlHttpRequest.responseText == TOKEN_EXPIRED || From b7433ccbbbc9ee156450d6be66ff2e368d5022f5 Mon Sep 17 00:00:00 2001 From: kamidu Date: Thu, 10 Aug 2017 16:50:26 +0530 Subject: [PATCH 2/4] fixing the ui text issues in device cloud --- .../app/units/cdmf.unit.ui.header.cloud.user-menu/user-menu.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.cloud.user-menu/user-menu.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.cloud.user-menu/user-menu.hbs index 9b726e0a63..5b8f29183a 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.cloud.user-menu/user-menu.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.cloud.user-menu/user-menu.hbs @@ -175,7 +175,7 @@ Upgrade Now - Request Exception + Request Extension From 326afc3f06507dc0946bab22f0b76af5383155cd Mon Sep 17 00:00:00 2001 From: kamidu Date: Thu, 10 Aug 2017 16:51:08 +0530 Subject: [PATCH 3/4] Enabling ios platform configurations on Device cloud --- .../configuration.hbs | 113 ++++++++++-------- .../configuration.js | 4 +- .../cdmf.unit.ui.navbar.nav-menu/nav-menu.hbs | 38 ++++-- 3 files changed, 95 insertions(+), 60 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.platform.configuration/configuration.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.platform.configuration/configuration.hbs index 051fb23592..b6fd58752f 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.platform.configuration/configuration.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.platform.configuration/configuration.hbs @@ -27,26 +27,37 @@ Platform Configurations
- General and Platform Specific Server Settings for the Tenant + {{#if isCloud}} + iOS Mobile Management Related Specific Server Settings for the Tenant + {{else}} + General and Platform Specific Server Settings for the Tenant + {{/if}} +

- - - - - - - + + {{unless isCloud}} + + + + + + + + - - General Configurations - + General Configurations + + {{/unless}} {{#each deviceTypes}} - + @@ -62,50 +73,52 @@
-
-
- -
-