Commit Graph

1848 Commits

Author SHA1 Message Date
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
Yohan Avishke
07abd78261 Create endpoints to undeploy artifacts
4 new endpoints were created to delete each artifact and some minor changes were done to deploy of some of these artifacts.
2020-01-03 08:26:56 +05:30
Entgra Builder
0e96e3fafd [maven-release-plugin] prepare for next development iteration 2019-12-16 09:57:26 +00:00
Entgra Builder
80f9d3546b [maven-release-plugin] prepare release v4.1.6 2019-12-16 09:57:19 +00:00
Entgra Builder
cd94992d6f [maven-release-plugin] prepare for next development iteration 2019-12-10 13:48:39 +00:00
Entgra Builder
cd7ca88a1e [maven-release-plugin] prepare release v4.1.6 2019-12-10 13:48:32 +00:00
Entgra Builder
270e16fc3a [maven-release-plugin] prepare for next development iteration 2019-12-04 07:51:03 +00:00
Entgra Builder
f0384d9775 [maven-release-plugin] prepare release v4.1.5 2019-12-04 07:50:55 +00:00
Dharmakeerthi Lasantha
3cc68f761e Merge branch 'master' into 'master'
Fix app manager permissions not being displayed

Closes product-iots#281

See merge request entgra/carbon-device-mgt!393
2019-11-15 08:18:04 +00:00
Ruwan Liyanage
d5976deed8 Fix HTTP Error 500 issue on the role edit page 2019-11-15 08:17:37 +00:00
Saad Sahibjan
7cf86d5b60 Fix app manager permissions not being displayed 2019-11-14 19:05:45 +05:30
Entgra Builder
bea11b7d81 [maven-release-plugin]prepare for next development iteration 2019-11-06 11:02:35 +00:00
Entgra Builder
2aa50223e0 [maven-release-plugin]prepare release v4.1.4 2019-11-06 11:02:28 +00:00
Entgra Builder
252a3f2edc [maven-release-plugin]prepare for next development iteration 2019-11-06 07:20:39 +00:00
Entgra Builder
74c6eb6be7 [maven-release-plugin]prepare release v4.1.4 2019-11-06 07:20:32 +00:00
Entgra Builder
555ea6a808 [maven-release-plugin]prepare for next development iteration 2019-11-05 14:15:27 +00:00
Entgra Builder
347180a321 [maven-release-plugin]prepare release v4.1.3 2019-11-05 14:15:20 +00:00
charitha
e6ea2175cd Add review suggestions 2019-11-04 12:39:15 +05:30
charitha
efff1e2cfd Fix device group related issues
- Create group - Not working when group properties are not available
- Delete group - SQL error
- Get devices of group - Database connection management issue
2019-11-03 23:51:54 +05:30
Entgra Builder
8d8c3cce16 [maven-release-plugin]prepare for next development iteration 2019-11-02 07:16:43 +00:00
Entgra Builder
f596f3ef81 [maven-release-plugin]prepare release v4.1.2 2019-11-02 07:16:36 +00:00
Entgra Builder
244a60fe3e [maven-release-plugin] prepare for next development iteration 2019-10-31 09:45:11 +00:00
Entgra Builder
6f06f9f318 [maven-release-plugin] prepare release v4.1.1 2019-10-31 09:45:02 +00:00
Entgra Builder
42a6d298aa [maven-release-plugin]prepare for next development iteration 2019-10-28 16:10:32 +00:00
Entgra Builder
a5bdedcfa2 [maven-release-plugin]prepare release v4.1.0 2019-10-28 16:10:22 +00:00
Entgra Builder
bb7a2656cb [maven-release-plugin]prepare for next development iteration 2019-10-28 14:44:30 +00:00
Entgra Builder
c85e2b64a8 [maven-release-plugin]prepare release v4.0.9 2019-10-28 14:44:23 +00:00
Entgra Builder
05babca6ba [maven-release-plugin]prepare for next development iteration 2019-10-28 10:19:49 +00:00
Entgra Builder
9f2f4a44d7 [maven-release-plugin]prepare release v4.0.1 2019-10-28 10:19:42 +00:00
Entgra Builder
674c61a1fb [maven-release-plugin]prepare for next development iteration 2019-10-27 20:07:56 +00:00
Entgra Builder
c3b3f2e9d1 [maven-release-plugin]prepare release v4.0.0 2019-10-27 20:07:49 +00:00
lasanthaDLPDS
dbd21719f1 Merge branch 'master' of gitlab.com:entgra/carbon-device-mgt into application-mgt-new 2019-10-27 23:15:51 +05:30
charitha
d6845cd40a Add new API endpoints
- Change device status as bulk
- Get total device count
- Add group with different owner
2019-10-26 01:03:44 +05:30
Shamalka Navod
a78d3e17d4 Group create/edit/delete/share functions 2019-10-25 05:53:07 +00:00
Yohan Avishke
4a3a9b587e Change invalid payload exception responses to bad requests 2019-10-23 11:51:34 +05:30
Yohan Avishke
8bebf2c126 Wrap service level error messages from api level error messages 2019-10-23 06:50:59 +05:30
Charitha Goonetilleke
e58ca40323 Merge branch 'application-mgt-new' into 'application-mgt-new'
Adding status column to GROUP table and honuring same in API

See merge request entgra/carbon-device-mgt!341
2019-10-22 14:39:55 +00:00
Ace
548ad336bf Adding status column to GROUP table and honuring same in API 2019-10-18 18:18:40 +05:30
Saad Sahibjan
622e1842de Add corrective actions in policy wrapper to policy object 2019-10-18 15:04:08 +05:30
Saad Sahibjan
bb1a3f6230 Add correctiveAction to policy wrapper bean class 2019-10-18 15:04:08 +05:30
Shamalka Navod
b291c814c4 Fix Device dis-enrollment issue in APPM 2019-10-16 13:27:20 +00:00
Yohan Avishke
8489dec2b1 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/beans/analytics/EventStream.java
#	components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/AnalyticsArtifactsManagementServiceImpl.java
2019-10-16 07:24:03 +05:30
Yohan Avishke
51b7f8b206 Modify code to limit garbage collectible objects and create method to deploy adapters without custom mapping
Removed creation of ArrayLists when a service is been called and added null validation to those lists in service layer. Developed code to deploy adapters when custom mapping is false and updated exception handling.
2019-10-16 07:12:31 +05:30
lasanthaDLPDS
0b238b9c45 Merge with upstream master 2019-10-15 12:51:54 +05:30
Entgra Builder
9502ff52e6 [maven-release-plugin]prepare for next development iteration 2019-10-14 15:53:20 +00:00
Entgra Builder
35b76c1c1b [maven-release-plugin]prepare release v3.2.14 2019-10-14 15:53:13 +00:00
Entgra Builder
2fa223410c [maven-release-plugin]prepare for next development iteration 2019-10-14 12:36:11 +00:00