Commit Graph

4838 Commits

Author SHA1 Message Date
Kaveesha
ed67090e38 Generate Basic data in payload and Add Restriction policies to forms 2020-03-19 14:33:18 +05:30
Inosh Perara
453b6b8596 Merge branch 'reporting' into 'reporting'
Reporting

See merge request entgra/carbon-device-mgt!470
2020-03-18 09:17:26 +00:00
Jayasanka Weerasinghe
aa6bb02127 Move device location history algorithm to the backend 2020-03-18 14:10:09 +05:30
Dharmakeerthi Lasantha
69bbd8d512 Merge branch 'master' into 'master'
Add device-mgt react app notification feature

See merge request entgra/carbon-device-mgt!469
2020-03-18 06:11:20 +00:00
Shamalka Navod
070c8cb3ef Add device-mgt react app notification feature 2020-03-18 06:11:19 +00:00
Kaveesha Mihirangi
c984b88c75 Add UI components to Assign policy Type, Assign Groups and Publish Policy view 2020-03-18 06:10:21 +00:00
Shamalka Navod
739ee8281f Remove duplicates in getApplications API 2020-03-17 09:33:40 +00:00
Amanda
2c04ed347b Delete records from DM_APPLICATION 2020-03-17 11:53:34 +05:30
shamalka
45939832e2 Fix App NOT installed report API query 2020-03-16 20:17:07 +05:30
Amanda
efd7b34e60 Add OSVersion column to DevicesTable component 2020-03-14 11:23:30 +05:30
Amanda
7b8111e19c Fix permanent device deletion issue
- remove the 'removeDeviceApplicationMapping' method
- remove the 'removeEnrollmentDeviceApplicationMapping' method
2020-03-13 09:30:50 +05:30
inoshperera
a77812b769 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into reporting 2020-03-12 13:58:28 +05:30
charitha
f7b6381078 Merge remote-tracking branch 'entgra/master' into entgra-master 2020-03-10 23:02:20 +05:30
charitha
b352354020 Fix issue in initial location persistence from fresh device 2020-03-10 23:02:06 +05:30
inoshperera
3c81f35838 Add get tenant API 2020-03-10 22:06:08 +05:30
inoshperera
5c7a17c3f5 fix merge conflicts 2020-03-10 14:53:49 +05:30
Yohan Avishke
d5911b900d Fix duplicate result issue by adding missing conditions 2020-03-10 12:22:38 +05:30
Dharmakeerthi Lasantha
131e8dfd1c Merge branch 'reporting' into 'reporting'
Add app scree usage reporting related changes

See merge request entgra/carbon-device-mgt!454
2020-03-06 17:38:59 +00:00
inoshperera
8df21f8af1 minor refactoring for getTenantId 2020-03-05 20:59:00 +05:30
Amanda Randombage
e3ef99c258 UI to filter devices from their main OS version 2020-03-05 11:27:03 +00:00
Yohan Avishke
2fab3029ff Add equation explaining text to the comments and fix fomratting issues
Text will explain equation step by step by using.
Added missing comments, formatted code lines, formatted license
and added more comments.
2020-03-04 14:35:34 +05:30
Saad Sahibjan
8b5e336986 Use the method to retrieve the reporting host 2020-03-04 14:10:06 +05:30
Saad Sahibjan
7599d97e68 Call reporting app usage endpoint 2020-03-04 13:33:01 +05:30
Saad Sahibjan
2e66e78d7d Add a method to retrieve the reporting host 2020-03-04 13:31:39 +05:30
Saad Sahibjan
a2fad630c7 Add hourly and daily usage to application bean 2020-03-04 13:31:39 +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
inoshperera
05fa975887 mend 2020-03-03 21:44:14 +05:30
inoshperera
83bc51b9df resolve conflics 2020-03-03 21:42:19 +05:30
inoshperera
cecdda4dbf Add group and roles 2020-03-03 21:18:09 +05:30
charitha
2340147a40 Merge remote-tracking branch 'entgra/master' into entgra-master 2020-03-03 09:20:22 +05:30
charitha
cb7323fc02 Add Health Check API 2020-03-03 09:20:07 +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
50a7721926 Fix issue in initial device info persistence 2020-03-02 12:04:33 +05:30
charitha
d5101ff98a Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into entgra-master 2020-02-29 10:20:42 +05:30
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
Saad Sahibjan
2c2fc00f72 Merge branch 'master' into 'master'
Prevent null pointer for device info

See merge request entgra/carbon-device-mgt!450
2020-02-28 05:54:39 +00:00
Saad Sahibjan
7b010f045d Prevent null pointer for device info 2020-02-26 17:05:00 +05:30
Jayasanka Weerasinghe
cd8ed2d677 Add cross environment build support for react applications 2020-02-26 12:26:40 +05:30
Jayasanka Weerasinghe
cf7814c957 Add markers and modify polyline in location history 2020-02-25 21:43:33 +05:30
Jayasanka Weerasinghe
694109b50f Create API and the report to filter devices by encryption status 2020-02-20 14:13:36 +05:30
Jayasanka Weerasinghe
a5971e9d11 Change the file structure of the DeviceMgt React app 2020-02-19 13:32:25 +05:30
Shamalka Navod
b90b98b7cb Add group devices view to devicemgt react app 2020-02-18 12:12:43 +00:00
Dharmakeerthi Lasantha
38c0e0b544 Merge branch 'reporting' into 'master'
Reporting

See merge request entgra/carbon-device-mgt!445
2020-02-18 04:42:15 +00:00
Inosh Perara
f5aeaf3c3e Update EventPublishingException.java 2020-02-18 04:21:59 +00:00
inoshperera
20a9a98eb1 add reporting config 2020-02-18 09:46:51 +05:30
tcdlpds@gmail.com
a0be877503 Fix build failure 2020-02-15 02:08:49 +05:30
Shamalka Navod
276414aa24 Device enrollment on new devicemgt react app 2020-02-14 20:23:56 +00:00
Shamalka Navod
e4105783a6 Create a report to get application not installed devices 2020-02-14 15:42:54 +00:00
inoshperera
cf6714c7cf reporting related device info 2020-02-11 15:35:15 +05:30
Yohan Avishke
69aac07df5 Fix only reading one result when multiple results are present 2020-02-05 12:07:59 +05:30
Yohan Avishke
318d4e3f9c Remove duplicate validation checks 2020-02-05 12:06:52 +05:30
Saad Sahibjan
49d26706b0 Merge branch 'application-mgt-new' into 'master'
Improve DeviceTypeCommonService Interface

See merge request entgra/carbon-device-mgt!434
2020-02-03 15:43:08 +00:00
Dharmakeerthi Lasantha
19c5450752 Merge branch 'master' into 'master'
Fix: wrong uri for operation upgrade-firmware

See merge request entgra/carbon-device-mgt!435
2020-02-03 12:40:37 +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
Yohan Avishke
8d7da2adce Fix: wrong uri for operation upgrade-firmware 2020-02-03 15:03:16 +05:30
tcdlpds@gmail.com
f3a6d19649 Improve DeviceTypeCommonService Interface 2020-02-03 12:33:24 +05:30
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
Saad Sahibjan
6fdbfdf8f5 Fix nextOperation DAO method to have MSSQL syntax 2020-01-27 14:08:59 +05:30
tcdlpds@gmail.com
2527604c9a Fix geo cluster loading issue in Ms SQL
This closes product-iots/issues#309
2020-01-23 23:22:01 +05:30
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
Jayasanka Weerasinghe
d8b218026d Add ESLint to devicemgt react app 2020-01-16 07:27:29 +00:00
Dharmakeerthi Lasantha
173fdd53ae Merge branch 'master' into 'master'
Services to delete active Analytic's artifacts and delete a existing device type

See merge request entgra/carbon-device-mgt!401
2020-01-10 17:16:17 +00:00
Dharmakeerthi Lasantha
0e216a1c8b Merge branch 'master' into 'master'
Add new UI method to retrieve device info details of a device

See merge request entgra/carbon-device-mgt!417
2020-01-10 17:15:39 +00:00
Saad Sahibjan
de29facb5f Add new UI method to retrieve device info details of a device 2020-01-09 17:26:11 +05:30
Dharmakeerthi Lasantha
293e4366e6 Merge branch 'dmgt-ra/feature/filter' into 'master'
Add filtering option to devicemgt react app

Closes product-iots#301

See merge request entgra/carbon-device-mgt!416
2020-01-09 10:56:04 +00:00
Jayasanka Weerasinghe
6aa0461c70 Add filtering option to devicemgt react app 2020-01-09 15:39:59 +05:30
Yohan Avishke
a76405c7e5 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt 2020-01-09 11:20:52 +05:30
Yohan Avishke
f6976800f5 Update try catch to use try with resources 2020-01-09 11:20:13 +05:30
Yohan Avishke
4378feedde Change try catch positions and add error messages to required positions 2020-01-09 11:19:16 +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
Dharmakeerthi Lasantha
8fcb753568 Merge branch 'dmgt-ra/user/bug' into 'master'
Fix the user deletion issue in devicemgt react app

Closes product-iots#300

See merge request entgra/carbon-device-mgt!414
2020-01-07 07:53:47 +00:00
Dharmakeerthi Lasantha
eda30dcf94 Merge branch 'dmgt-ra/certificate/bug' into 'master'
Fix certification deletion issue in devicemgt react app

Closes product-iots#299

See merge request entgra/carbon-device-mgt!413
2020-01-07 07:05:12 +00:00
Jayasanka Weerasinghe
8d3ed2ed88 Fix the user deletion issue in devicemgt react app 2020-01-07 12:27:42 +05:30
Jayasanka Weerasinghe
9f2b6598a9 Fix certification deletion issue in devicemgt react app 2020-01-07 11:50:21 +05:30
Jayasanka Weerasinghe
54e3e6e151 Change pagesize of groups table in devicemgt react app 2020-01-07 10:37:50 +05:30
Dharmakeerthi Lasantha
e1f7c3b073 Merge branch 'device-mgt-redirection-fix' into 'master'
Fix login redirection in devicemgt react app

Closes product-iots#297

See merge request entgra/carbon-device-mgt!411
2020-01-06 15:03:16 +00:00
Jayasanka Weerasinghe
efe5cda576 Fix login redirection in devicemgt react app 2020-01-06 15:22:53 +05:30
Jayasanka Weerasinghe
2ea3af7f12 Fix navbar on Devicemgt react app 2020-01-06 14:41:56 +05:30
Jayasanka Weerasinghe
3b5e366b77 Create cetificates view in devicemgt react app 2020-01-03 16:13:53 +05:30
Yohan Avishke
1c2d1f52a0 Update device type delete service to reduce generality of the method by specifying different methods for each single responsibility 2020-01-03 08:26:56 +05:30
Yohan Avishke
b76a838dea Isolate dao transactions 2020-01-03 08:26:56 +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
709af6795b Update licence 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
2e62acfafc Fix issue with deleting devices
Already dis-enrolled devices won't be deleted due to attempting to create a new DAO connection while a one already exists for the same DAO Factory. This error will occur when starting a server with already dis-enrolled devices and by trying to delete them
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