Commit Graph

6932 Commits

Author SHA1 Message Date
Saad Sahibjan
5d83c83321 Create HTTP client based on hostname verification property 2020-03-05 18:26:49 +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
76d0fff5be Merge branch 'query' into 'master'
Improve the getApplication query to check the tenant

See merge request entgra/carbon-device-mgt!451
2020-02-28 05:55:07 +00:00
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
nipunnadeen
6cab3293c0 Improve the getApplication query to check the tenant 2020-02-27 20:25:57 +05:30
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
Jayasanka Weerasinghe
a6883c55bb Fix APPM store app crash on app installation product-iots#325 2020-02-13 19:23:14 +05:30
Saad Sahibjan
216b6201ba Fix classes not imported to FCM pom 2020-02-12 22:22:15 +05:30
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
Dharmakeerthi Lasantha
df6848458d Merge branch 'fix/appm-store/device-install' into 'master'
Load both active & inactive devices in APPM device installation

Closes product-iots#318

See merge request entgra/carbon-device-mgt!432
2020-01-31 11:36:32 +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
Yohan Avishke
d07f5b3713 Add API to download device-type agent 2020-01-29 11:03:21 +00:00
Jayasanka Weerasinghe
3bf3dfd2e7 Load both active & inactive devices in APPM device installation 2020-01-29 14:56:39 +05:30
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
charitha
e5a1c734e6 Revert "Fix login issue with user other than super admin just after starting the pack"
This reverts commit b699cae1
2020-01-22 13:16:33 +05:30
charitha
b699cae11e Fix login issue with user other than super admin just after starting the pack 2020-01-22 10:48:23 +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
Jayasanka Weerasinghe
1478515470 Add ESLint to APPM publisher ui & fix errors 2020-01-16 11:46:00 +05:30
Jayasanka Weerasinghe
73e2246a20 Remove unwanted app release api call from APPM UIs 2020-01-15 05:25:33 +05:30
Dharmakeerthi Lasantha
30aafba8ca Merge branch 'application-mgt-new' into 'master'
Improve functionality of UI interceptor

See merge request entgra/carbon-device-mgt!418
2020-01-14 02:18:33 +00:00
Dharmakeerthi Lasantha
351e599895 Merge branch 'eslint' into 'master'
Add ESLint to APPM Store react app

Closes product-iots#293

See merge request entgra/carbon-device-mgt!407
2020-01-14 02:17:48 +00:00
lasanthaDLPDS
b5ee0bdb8c Improve functionality of UI interceptor 2020-01-11 13:32:52 +05:30
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
Saad Sahibjan
a8c68b2052 Fix policy edit not working when policy cache is disabled 2020-01-03 18:20:14 +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
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
Jayasanka
8bdd4e10ec Add lint script to the mvn build in APPM store 2020-01-01 18:35:58 +05:30
Jayasanka
d4d7089800 Fix ESLint errors in APPM Store react app 2020-01-01 17:03:15 +05:30
Jayasanka
fae659c32c Add .prettierrc config file to APPM store react app 2020-01-01 17:03:14 +05:30
Jayasanka
04b0356485 Add eslint to APPM store 2020-01-01 17:03:14 +05:30
Jayasanka
26b4c5cf3b Set charset to UTF-8 to remove invalid charactor in devicemgt app 2020-01-01 15:26:50 +05:30
milanperera
a7b00c7a08 Fix ios-agent authentication issue 2019-12-20 19:54:44 +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
Kaveesha Mihirangi
fcf271e4d2 Generate UI component for profile configuration in Add Policy view using json 2019-12-13 08:43:18 +00:00
Kaveesha Mihirangi
2c4f11e3b6 Add UI component to Enroll device and add policies 2019-12-12 06:59:50 +00:00
charitha
e924e26ced Introduce Postgre specific DAO to handle object insertion/retrieval 2019-12-11 01:38:14 +05:30
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
Dharmakeerthi Lasantha
a109725d88 Merge branch 'master' into 'master'
Fix pagination in store UI install/uninstall

Closes product-iots#283

See merge request entgra/carbon-device-mgt!400
2019-12-10 13:27:46 +00:00
Charitha Goonetilleke
af1541e641 Merge branch 'application-mgt-new' into 'master'
Add PostgreSQL support for the App Manager

See merge request entgra/carbon-device-mgt!402
2019-12-10 05:30:08 +00:00
charitha
ac0f9f9751 Add swagger 2019-12-10 10:46:06 +05:30
lasanthaDLPDS
1c24707b9f Add PostgreSQL support for the App Manager 2019-12-10 09:35:59 +05:30
lasanthaDLPDS
0a8f6cd311 Merge branch 'master' of gitlab.com:entgra/carbon-device-mgt into application-mgt-new 2019-12-09 23:19:03 +05:30
shamalka
148eaa69da Fix pagination in store UI install/uninstall 2019-12-07 08:29:39 +05:30
shamalka
f5d754d159 Add footer text of app manager UI to config 2019-12-06 12:05:17 +05:30
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
d240c05b9b Merge branch 'master' into 'master'
Fix footer floating issue

See merge request entgra/carbon-device-mgt!397
2019-11-27 14:51:12 +00:00
lasanthaDLPDS
152a97c820 Add Device type common service interface 2019-11-27 20:06:30 +05:30
Kaveesha Mihirangi
746e6269e0 Add View to Enroll New Device and Change left menu to top 2019-11-27 14:18:24 +00:00
Turcy
016ff9bee0 Fix footer floating issue 2019-11-27 19:11:41 +05:30
shamalka
933e0d16a4 Store UI pagination fix 2019-11-26 16:03:24 +05:30
Saad Sahibjan
b74cc71e30 Merge branch 'application-mgt-new' into 'master'
Fix app installing issue if uninstall operation trigger twice at same time

See merge request entgra/carbon-device-mgt!389
2019-11-25 05:55:45 +00:00
Dharmakeerthi Lasantha
02b0620c31 Merge branch 'master' into 'master'
Add Content-length to artifact file response

See merge request entgra/carbon-device-mgt!391
2019-11-19 07:38:12 +00:00
lasanthaDLPDS
09a10f44dd Improve APP subscribing functionality 2019-11-18 13:44:55 +05:30
lasanthaDLPDS
c5944f6602 Fix app installing issue if uninstall operation trigger twice at same time 2019-11-18 13:44:55 +05:30
Turcy
5483a06aa7 Add Content-length to artifact file response 2019-11-18 12:13:21 +05:30
Dharmakeerthi Lasantha
8a2a2b364f Merge branch 'master' into 'master'
Wipe when unenroll

See merge request entgra/carbon-device-mgt!394
2019-11-17 17:52:27 +00:00
Kaveesha Mihirangi
df3548fb8f Modify Role view and User View 2019-11-16 03:43:50 +00:00
Turcy
c34f3cf4c7 Correct error message reference 2019-11-15 19:15:52 +05:30
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
inoshperera
ea73040e65 Wipe when unenroll 2019-11-15 12:29:37 +05:30
Saad Sahibjan
7cf86d5b60 Fix app manager permissions not being displayed 2019-11-14 19:05:45 +05:30
Saad Sahibjan
666aaf58f0 Fix users not loading during policy creation 2019-11-07 17:59:53 +05:30
Saad Sahibjan
7437545b0d Fix web clip uninstallation issues in ios 2019-11-06 19:31:48 +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
Charitha Goonetilleke
c0fc88054c Merge branch 'master' into 'master'
Returning status when retrieving groups

See merge request entgra/carbon-device-mgt!385
2019-11-06 10:47:09 +00:00
Ace
f9b851dc1e Returning group ID when retrieving groups 2019-11-06 15:37:30 +05:30
Milan Perera
d4c996cce1 Merge branch 'master' into 'master'
Fix MS sql Blob storing and sql error

See merge request entgra/carbon-device-mgt!384
2019-11-06 09:59:56 +00:00
inoshperera
b0f7cfdf61 Refactoring and formatting 2019-11-06 14:51:37 +05:30
inoshperera
e3aca342ad Google enterprise unenrollment fix 2019-11-06 14:40:03 +05:30
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
lasanthaDLPDS
f330bdd3d1 Fix SQL syntax issue in getSubscribedDevices method 2019-11-06 00:22:04 +05:30
lasanthaDLPDS
d7fbddf78d Fix app uninstall-operation-mapping table updating issue 2019-11-06 00:15:54 +05:30