Commit Graph

1894 Commits

Author SHA1 Message Date
Amalka Subasinghe
4503ab77c7 package name change - appmgt 2021-08-10 17:30:48 +05:30
Amalka Subasinghe
8a07dad38c package name change - appmgt common 2021-08-10 16:56:19 +05:30
Amalka Subasinghe
37b08ba389 package name change - appmgt core 2021-08-10 16:48:15 +05:30
Amalka Subasinghe
f9274b0d1a update from master 2021-08-02 11:18:15 +05:30
Pahansith Gunathilake
dc6856fc0e Merge branch 'master' into 'master'
Block Uninstall Policy Feature

See merge request entgra/carbon-device-mgt!787
2021-08-02 05:09:51 +00:00
Muhammad Rashad
556886daec Block Uninstall Policy Feature 2021-08-02 05:09:51 +00:00
Amalka Subasinghe
fc9a9ca210 fixed permission issues 2021-07-13 09:28:30 +05:30
Amalka Subasinghe
f9a9cff0b9 updated user roles 2021-06-28 13:04:13 +05:30
Amalka Subasinghe
94dd33ffa5 scope-role-permission refactoring and webapp authorization 2021-06-26 13:45:27 +05:30
Saad Sahibjan
24e69d5492 Fix test cases related to hierarchical group changes 2021-06-24 21:06:30 +05:30
Saad Sahibjan
e18aa57fe8 Add and update api layer related to hierarchical changes 2021-06-24 20:46:44 +05:30
Amalka Subasinghe
51dd72ff79 commented braking changes related to analytics 2021-06-22 11:26:01 +05:30
Amalka Subasinghe
d090fef2ac updated from master and added oauth2 component 2021-06-21 21:31:44 +05:30
Amalka Subasinghe
293b5f5a7b updated pom versions to 5.0.0-SNAPSHOT 2021-06-08 12:15:48 +05:30
Amalka Subasinghe
83b31f0d02 updated from master and fixed conf copying issue 2021-05-24 16:40:05 +05:30
charithag
e5fb17aceb Add geo view API 2021-05-19 17:12:50 +05:30
Amalka Subasinghe
056987141b cleaned up components/device-mgt 2021-05-10 12:30:38 +05:30
Amalka Subasinghe
c33e13b04c updating to kernel 4.6.1 2021-05-10 09:41:45 +05:30
MalshaPiumini
6f325862ec Formatting the SQL query. 2021-05-06 14:12:03 +05:30
MalshaPiumini
b2691996ab Added device filter using serial number. 2021-05-05 14:37:45 +05:30
Entgra Builder
feacd5029d [maven-release-plugin] prepare for next development iteration 2021-03-03 13:54:32 +00:00
Entgra Builder
09907233fc [maven-release-plugin] prepare release v4.1.15 2021-03-03 13:54:27 +00:00
Entgra Builder
ddab435548 [maven-release-plugin] prepare for next development iteration 2021-02-23 16:02:44 +00:00
Entgra Builder
5b2c085a3e [maven-release-plugin] prepare release v4.1.14 2021-02-23 16:02:39 +00:00
Entgra Builder
ca7ded79cb [maven-release-plugin] prepare for next development iteration 2021-02-23 02:24:25 +00:00
Entgra Builder
368bb74436 [maven-release-plugin] prepare release v4.1.13 2021-02-23 02:24:20 +00:00
Entgra Builder
7463aa6e5a [maven-release-plugin] prepare for next development iteration 2021-02-22 02:16:58 +00:00
Entgra Builder
531672de8e [maven-release-plugin] prepare release v4.1.12 2021-02-22 02:16:53 +00:00
Entgra Builder
62919fa787 [maven-release-plugin] prepare for next development iteration 2021-02-11 08:09:07 +00:00
Entgra Builder
b98d787367 [maven-release-plugin] prepare release v4.1.11 2021-02-11 08:09:02 +00:00
tcdlpds@gmail.com
51fface401 Append tenant domain when getting default access token 2021-01-27 15:05:38 +05:30
Malsha Piumini
89298f933e Uninstall applications via Apps Tab - (For Android devices only) 2021-01-06 19:07:09 +00:00
charitha
a9cb2ae84d Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt
 Conflicts:
	components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/ActivityProviderServiceImpl.java
	components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/operation/mgt/OperationManager.java
	components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/OperationManagerImpl.java
	components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/dao/impl/GenericOperationDAOImpl.java
	components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderService.java
2020-12-11 17:26:53 +05:30
Shamalka Navod
eccb39d6f4 Improve metadata API 2020-12-07 20:15:18 +00:00
Ace
4df57ede61 incoorporating review comments 2020-12-07 13:09:14 +05:30
Ace
bac6e3ba67 merging with upstream 2020-12-04 07:45:10 +05:30
Pahansith Gunathilake
caba7fc673 Add missing error logs to OperationManagerImpl 2020-11-30 15:51:52 +00:00
Pahansith
e5dd609dc2 Add method comments and format code 2020-11-30 15:41:51 +05:30
charitha
d75f48166e Provide response based on headers 2020-11-29 10:47:06 +05:30
charitha
10d114ba1e Improve activity retrieval logic 2020-11-29 10:47:05 +05:30
Pahansith
a3629d5932 Add group data into geofence response, Format code 2020-11-21 12:24:55 +05:30
Pahansith
8c80185610 Add doc comments and format code 2020-11-21 12:22:53 +05:30
Pahansith
d9d0ba5d90 Add event delete API 2020-11-21 12:22:53 +05:30
Pahansith
f073ee9276 Add H2 DAO for event configuration 2020-11-21 12:22:53 +05:30
Pahansith
efe116d87e Modify geofence get API 2020-11-21 12:22:53 +05:30
Pahansith
af85ca47e0 Change Geo fence edit API - Attach Events 2020-11-21 12:22:53 +05:30
Pahansith
bd8cf5237d Change Geo fence create API - Attach Event creation 2020-11-21 12:22:53 +05:30
Ace
b1d95af5b0 remvoing restriction that prevents activity count to be returned when if-modified-since header is present 2020-11-20 23:37:48 +05:30
tcdlpds@gmail.com
b9c2190762 Fix merge conflicts 2020-11-15 00:32:24 +05:30
Malsha Piumini
f347861000 Add functionality to filter Operation Logs 2020-11-14 17:25:36 +00:00
tcdlpds@gmail.com
d25779774b Improve MDM policy functionality 2020-11-12 01:28:23 +05:30
Dharmakeerthi Lasantha
94bdff30ed Merge branch 'geofence-api' into 'corrective-policy'
Fix issue in Geo fence get by fence name

See merge request entgra/carbon-device-mgt!677
2020-11-11 14:36:55 +00:00
Kaveesha
a38e91499e Add API for get devices history snapshots 2020-11-05 15:36:59 +05:30
Pahansith
84608f2f58 Fix issue in Geo fence get by fence name 2020-11-05 09:49:39 +05:30
Inosh Perara
f97d9307e7 Merge branch 'geofence-api' into 'corrective-policy'
Add geo fence search and geo cache

See merge request entgra/carbon-device-mgt!670
2020-10-19 07:52:23 +00:00
Pahansith
bc7e39c883 Add geo fence search and geo cache 2020-10-15 10:05:37 +05:30
shamalka
90ed562647 Improve device location history API 2020-10-13 16:11:46 +05:30
tcdlpds@gmail.com
a0b882f755 Fix geo fence deleting issue 2020-10-02 06:33:58 +05:30
Pahansith
83236eb3ac Fix geofence update issue 2020-10-01 19:48:00 +05:30
tcdlpds@gmail.com
b3d1badd1f Improve API interface text 2020-10-01 00:41:22 +05:30
tcdlpds@gmail.com
6014592f2c Add mail sending feature when policy violating 2020-10-01 00:35:22 +05:30
Pahansith
b33c5a312f Fix geofence creation validation 2020-09-30 19:42:00 +05:30
Pahansith
47dc8ec708 Add Geo Json and fence shape attributes 2020-09-30 14:05:06 +05:30
Inosh Perara
de4f3f64fe Merge branch 'geofence-api' into 'corrective-policy'
Create geofence APIs

See merge request entgra/carbon-device-mgt!641
2020-09-29 08:32:41 +00:00
Pahansith
91e28b71ab Merge branch 'corrective-policy' of https://gitlab.com/entgra/carbon-device-mgt into corrective-action
 Conflicts:
	components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/mgt/impl/PolicyManagerImpl.java
2020-09-29 13:11:36 +05:30
tcdlpds@gmail.com
90dac0a101 Add location bean classes and format the source 2020-09-24 08:53:35 +05:30
Pahansith
ca6b937a3a Create geofence API definitions 2020-09-21 12:04:25 +05:30
Kaveesha
6104d26ebe Add device name to Geo Cluster Locations data list 2020-09-15 13:32:19 +05:30
Saad Sahibjan
7558f82a76 Add error log for backend policy validation failure 2020-08-27 18:40:21 +05:30
Pahansith
a24879f551 Add payload parsing for old type corrective actions 2020-08-26 06:47:38 +05:30
Pahansith
e486db868e Change policy 2020-08-26 06:47:38 +05:30
Inosh Perara
fcd92bc10e Merge branch 'tenant-improve' into 'master'
Add OTP service and it's features

See merge request entgra/carbon-device-mgt!624
2020-08-23 07:49:59 +00:00
Saad Sahibjan
322981fe5a Use DEVICE_ENROLLMENT email type to create OTP 2020-08-17 12:15:54 +05:30
Saad Sahibjan
0e018679b8 Modify test cases related to device enrollment invitation 2020-08-17 12:15:54 +05:30
Saad Sahibjan
d97de23ece Modify send-invitation API to send enrollment steps and OTP token 2020-08-17 12:15:54 +05:30
tcdlpds@gmail.com
8494f0bc58 Improve OTP creating logic 2020-08-10 10:42:53 +05:30
Shamalka Navod
1ff61da1c4 Sort getAllNotifications API in DESC order 2020-08-06 18:09:35 +00:00
Dharmakeerthi Lasantha
efee2b01bf Improve OTP creating functionality 2020-08-03 09:11:02 +05:30
tcdlpds@gmail.com
0d48f9d38c Improve One Time Token Authenticator 2020-07-30 03:06:57 +05:30
Inosh Perara
d8f6e6765a Merge branch 'master' into 'tenant-improve'
Add OTP managing functionality

See merge request entgra/carbon-device-mgt!602
2020-07-26 05:33:33 +00:00
tcdlpds@gmail.com
709a7ab592 Add OTP managing functionality 2020-07-25 07:56:38 +05:30
Ace
c1c736b607 Adding fix for policy application upon adding devices to group 2020-07-21 08:23:30 +05:30
Ace
4b58b46d8b Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt 2020-07-18 15:53:07 +05:30
Ace
3ea16eaf7d Adding capability for policies to be added/removed automatically when devices are added/removed from a group 2020-07-18 15:52:41 +05:30
shamalka
2ec29701a1 Fix get default token issues 2020-07-17 23:52:25 +05:30
tcdlpds@gmail.com
1f94415f7f Add API to get default token by using client ID and secret 2020-07-17 12:06:33 +05:30
Dharmakeerthi Lasantha
4ff9a9222c Merge branch 'new-improvements' into 'master'
Fix role delete

See merge request entgra/carbon-device-mgt!582
2020-06-23 14:54:13 +00:00
Entgra Builder
a9a39a5055 [maven-release-plugin] prepare for next development iteration 2020-06-22 10:06:05 +00:00
shamalka
add8570f65 Fix role delete 2020-06-22 15:36:05 +05:30
Entgra Builder
f34bddff2f [maven-release-plugin] prepare release v4.1.10 2020-06-22 10:05:57 +00:00
Entgra Builder
5660ff5876 [maven-release-plugin] prepare for next development iteration 2020-06-04 09:58:55 +00:00
Entgra Builder
688de9214d [maven-release-plugin] prepare release v4.1.9 2020-06-04 09:58:49 +00:00
Turcy
2205515d90 Add metadata repository 2020-05-30 00:19:14 +05:30
Entgra Builder
df2256ac44 [maven-release-plugin] prepare for next development iteration 2020-05-24 03:05:29 +00:00
Entgra Builder
2788259974 [maven-release-plugin] prepare release v4.1.8 2020-05-24 03:05:24 +00:00
Pahansith
6c643b81a6 Fix issue in policy creation 2020-05-23 12:20:52 +05:30
Entgra Builder
186e9cb216 [maven-release-plugin] prepare for next development iteration 2020-05-22 13:35:45 +00:00
Entgra Builder
5347dd9211 [maven-release-plugin] prepare release v4.1.7 2020-05-22 13:35:39 +00:00
Shamalka Navod
03e87c558f Get devices by identifier list API 2020-05-19 10:40:41 +00:00
Inosh Perara
df0c26f2f7 Bluetooth beacon 2020-05-17 08:39:17 +00:00
Shamalka Navod
d4abcf0fc8 Add user claim attribute programmatically 2020-05-15 07:38:36 +00:00
Charitha Goonetilleke
be705ce81b Performance improvements 2020-05-06 06:19:45 +00:00
Saad Sahibjan
a356ec797c Add API to retrieve device filters 2020-05-04 17:54:23 +05:30
Shamalka Navod
92ad59a119 Update operation status API 2020-05-03 17:38:26 +00:00
Charitha Goonetilleke
a3a434055b Fix tenant details retrieving and permission assigning for reporting 2020-05-03 14:28:15 +00:00
tcdlpds@gmail.com
d2a4fe70b8 Remove policy-ui config retrieving API from android.xml 2020-05-01 22:40:12 +05:30
tcdlpds@gmail.com
771e7671d9 Improve policy feature validating logic 2020-05-01 12:41:27 +05:30
Inosh Perara
3329f7b353 Merge branch 'policy-validate' into 'master'
Add validation for policy

See merge request entgra/carbon-device-mgt!527
2020-04-30 10:25:09 +00:00
inoshperera
8b2cfcbfe0 minor refactoring 2020-04-30 12:37:43 +05:30
Inosh Perara
bea3a1c8dd Reporting permission API 2020-04-30 04:58:17 +00:00
inoshperera
45bfadb657 Adding missed error throwing 2020-04-30 07:17:50 +05:30
inoshperera
08ee99f034 Add validation for policy
Adding validation logic for policy APIs and added a new validate API to validate feature lists
2020-04-29 21:32:36 +05:30
Jayasanka Weerasinghe
e651645fad Create an endpoint to get permissions of a given user 2020-04-16 12:59:23 +05:30
Vinojini Paramasivam
c0839d978f Add device ungrouped report generating feature 2020-04-14 16:54:53 +00:00
tcdlpds@gmail.com
1dcc907ec6 Move device-mgt UI config retrieving API into config-mgt API 2020-04-06 11:14:02 +05:30
tcdlpds@gmail.com
dc4bebde4e Add policy ui config beans 2020-04-06 11:14:02 +05:30
tcdlpds@gmail.com
3d0bbf0b1c Add an open endpoint to get UI config
This API endpoint will be used to get app tags, scopes etc. These data will be used in proxy level when it creates access token.
2020-03-31 21:02:29 +05:30
Charitha Goonetilleke
5dc235d8d6 Performance improvements 2020-03-30 09:56:10 +00:00
inoshperera
199b61ab94 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into reporting2 2020-03-29 12:24:51 +05:30
Shamalka Navod
a03153c2dd Add external device-user claim APIs and UI 2020-03-24 17:00:14 +00:00
Jayasanka Weerasinghe
aa6bb02127 Move device location history algorithm to the backend 2020-03-18 14:10:09 +05:30
inoshperera
3c81f35838 Add get tenant API 2020-03-10 22:06:08 +05:30
Yohan Avishke
e8a260dbc4 Change API to filter devices using a given OS version
When syncing devices a value will be generated for each device version.
At the API call same method is used to generate a value for the passed
OS version then thedevices are filtered using those 2 values.

This will still create a similar value but now will use
mathematical operations(pow operations) to generate
2020-03-04 07:00:23 +05:30
Dharmakeerthi Lasantha
c06c64e290 Merge branch 'feature/dmgt-react/report/encryption' into 'master'
Create API and a report to filter devices by encryption status

Closes product-iots#321

See merge request entgra/carbon-device-mgt!437
2020-03-03 02:57:42 +00:00
charitha
82370f0570 Performance improvements 2020-02-28 14:15:29 +05:30
charitha
7b7a6b1ce1 Fix issue in accessing device shared via group 2020-02-28 14:10:27 +05:30
Jayasanka Weerasinghe
694109b50f Create API and the report to filter devices by encryption status 2020-02-20 14:13:36 +05:30
Shamalka Navod
e4105783a6 Create a report to get application not installed devices 2020-02-14 15:42:54 +00:00
Yohan Avishke
cd26ba22b4 Create api to generate report to filter devices with outdated OS versions 2020-02-03 12:40:12 +00:00
Kaveesha Mihirangi
ad8eb23aff Generate Policy configuration UI from JSON 2020-01-31 11:36:00 +00:00
Pahansith Gunathilake
7381ece847 Introduce device type filtering and limit results in device types retrieve endpoint 2020-01-29 20:46:44 +00:00
Yohan Avishke
16681acf55 Change status query param to a array to accept multiple values
Status param was changed from string to an array. excludeStatus param was removed from api and api calls. New methods were added to the DAO to query data filtered from list of status
2020-01-29 12:22:35 +00:00
Shamalka Navod
300d9b9002 Add device name and owner to response
Add device name and owner to getAllComplianceDevices response which gives compliance status of all devices
2020-01-28 16:50:22 +00:00
Shamalka Navod
39e3e7fa1d Implement reports for device enrollment and policy compliance 2020-01-27 16:56:47 +00:00
charitha
9cf5fd2edb Fix issue in accessing device shared via group 2020-01-22 18:54:50 +05:30
Yohan Avishke
af47d5f73a Change device type create api, to enable device type sharing with all tenants
To make use of this change pass isSharedWithAllTenants as true to the api by attaching to device type meta data by admin user
2020-01-22 05:16:42 +00:00
Yohan Avishke
a76405c7e5 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt 2020-01-09 11:20:52 +05:30
Yohan Avishke
4a70d8e17d Update service to remove /delete from url and to update swagger api annotations 2020-01-09 11:17:22 +05:30
Yohan Avishke
9d7ad19f57 Updates to method comments and swagger documentation 2020-01-09 10:37:26 +05:30
Shamalka Navod
40bf2ca1e9 UI for device enrollment reports 2020-01-08 10:30:53 +00:00
Jayasanka Weerasinghe
8d3ed2ed88 Fix the user deletion issue in devicemgt react app 2020-01-07 12:27:42 +05:30
Yohan Avishke
5ff23bec02 Update api paths with a leading forward slash 2020-01-03 08:26:56 +05:30
Yohan Avishke
2692c40467 Update response messages 2020-01-03 08:26:56 +05:30
Yohan Avishke
1b26a8e2e7 Update license 2020-01-03 08:26:56 +05:30
Yohan Avishke
426287fdc1 Update service to check device type validation at service level and return a Not Found request, if device type doesn't exist 2020-01-03 08:26:56 +05:30
Yohan Avishke
7dcd2be02e Complete tests to remove devices 2020-01-03 08:26:56 +05:30
Yohan Avishke
b3ff6ed787 Remove unavailable tests 2020-01-03 08:26:56 +05:30
Yohan Avishke
3f9dba9356 Complete implementation of device type permanent delete
This service will do following modifications to achieve it's functionality,
 1. Dis-enroll and delete all devices of a device type
 2. Remove platform configuration of a device type
 3. Delete the device type
2020-01-03 08:26:56 +05:30
Yohan Avishke
966a878e8e Create permanant device type deletion 2020-01-03 08:26:56 +05:30
Yohan Avishke
867ea1d423 Bring consuming media type to method level 2020-01-03 08:26:56 +05:30