Commit Graph

4966 Commits

Author SHA1 Message Date
Shamalka Navod
d4abcf0fc8 Add user claim attribute programmatically 2020-05-15 07:38:36 +00:00
tcdlpds@gmail.com
660935e0d6 Improve bean structure in policy UI config 2020-05-14 23:39:21 +05:30
charitha
311ddc307e Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt 2020-05-14 14:44:00 +05:30
charitha
a1a313608f Remove attempt count incrementing logic to optimize performance 2020-05-13 23:39:40 +05:30
Pahansith
35baf7ca95 Add log records for large response delete 2020-05-12 18:14:16 +05:30
Pahansith
60d67c9fea Change method calling order 2020-05-12 18:03:05 +05:30
Pahansith
c9aa47f078 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into upstream-master 2020-05-12 15:25:27 +05:30
Pahansith
552015e6f0 Fix device delete issue 2020-05-12 15:24:58 +05:30
shamalka
240f157565 Improve comments 2020-05-11 13:48:13 +05:30
shamalka
756d73d2cf Add optional platform configs 2020-05-11 13:35:53 +05:30
shamalka
dcb1602752 Add license 2020-05-11 13:35:53 +05:30
shamalka
539e814e2d Change getEnrollmentQRCode method return type 2020-05-11 13:35:53 +05:30
charitha
4ff9b326b7 Fix concurrency issue in push notification execution
(cherry picked from commit c5b7612b135ad685e1532f4993d20d7e8097e8e2)
2020-05-07 11:14:08 +05:30
Saad Sahibjan
9a6fae5696 Merge branch 'master' into 'master'
Improve device type agent downloading API

See merge request entgra/carbon-device-mgt!535
2020-05-06 07:27:11 +00:00
Charitha Goonetilleke
be705ce81b Performance improvements 2020-05-06 06:19:45 +00:00
tcdlpds@gmail.com
6f9e0c3050 Improve device type agent downloading API 2020-05-06 02:24:44 +05:30
Saad Sahibjan
33c495ad35 Add license header to DeviceFilter bean 2020-05-05 11:10:55 +05:30
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
Kaveesha Mihirangi
c836083bf6 Update policy UI bean classes to get table element in policy-UI 2020-04-29 04:20:30 +00:00
Saad Sahibjan
28f58ece9f Move code for test to happen accordingly 2020-04-28 17:00:18 +05:30
Saad Sahibjan
908161d23e Add warning log when an invalid group name is provided 2020-04-28 16:11:57 +05:30
Saad Sahibjan
20221ba2b7 Add serialVersionUID enrollment configuration bean 2020-04-28 13:57:25 +05:30
Saad Sahibjan
cd59e215ee Add enrollment configuration implementation 2020-04-28 12:20:34 +05:30
Saad Sahibjan
226347a1bd Add enrollment configuration bean 2020-04-28 12:20:34 +05:30
Vinojini Paramasivam
d01f05e51f Generate ungrouped device report to a specific device type 2020-04-22 05:18:07 +00:00
Pahansith
0abea86145 Fix incorrect product ownership name on login 2020-04-22 04:43:12 +05:30
Kaveesha
a6c1a86f97 Add New Classes to get RadioGroup and NotificationList 2020-04-20 14:46:42 +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
92bf262a43 Remove device-mgt react UI app from device-mgt-core 2020-04-10 02:47:32 +05:30
tcdlpds@gmail.com
6e0f386664 Improve policy ui config structure 2020-04-10 00:51:51 +05:30
Kaveesha
238b457d88 Add compnent to view devices locations 2020-04-08 17:46:48 +05:30
Saad Sahibjan
4f49bc06f8 Merge branch 'master' into 'master'
Add policy ui config classes

See merge request entgra/carbon-device-mgt!496
2020-04-08 04:54:27 +00:00
tcdlpds@gmail.com
caacb1c900 Improve policy UI config bean structure 2020-04-07 23:34:17 +05:30
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
Yohan Avishke
2665243aa3 Change methods to get device info if necessary
This change was done in order to fix a issue while reading
IOS operations which uses agent(eg: location).
Now it's possible to get devices with there properties
2020-04-05 16:12:07 +00:00
Kaveesha Mihirangi
7a90825ea0 Add UI for System Update COSU) and Global Proxy policies 2020-04-01 16:50:27 +00:00
Dharmakeerthi Lasantha
89469e8f61 Merge branch 'reporting2' into 'master'
Refactor event publishing configs

See merge request entgra/carbon-device-mgt!492
2020-04-01 14:14:05 +00:00
Saad Sahibjan
e5a44db713 Merge branch 'master' into 'master'
Add an open endpoint to get UI config

See merge request entgra/carbon-device-mgt!493
2020-04-01 05:09:04 +00:00
inoshperera
90e90b46d6 Refactor event publishing configs 2020-04-01 08:37:30 +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
91e39d0b04 Fix config in clustered setup 2020-03-31 19:39:20 +05:30
Kaveesha Mihirangi
514d38d0b5 Add UIs for Restriction and Passcode Policies 2020-03-30 18:33:51 +00:00
Charitha Goonetilleke
c7025f07cf Merge branch 'performance-improvement' into 'master'
Performance improvements

See merge request entgra/carbon-device-mgt!487
2020-03-30 09:56:10 +00:00
Charitha Goonetilleke
5dc235d8d6 Performance improvements 2020-03-30 09:56:10 +00:00
Saad Sahibjan
460ce4f64a Fix device type DAO handler being persisted in a wrong way 2020-03-30 13:17:47 +05:30
Shamalka Navod
9843b2e5b9 Fix DevicesTable import issue in GroupDevicesModal component 2020-03-29 19:35:38 +00:00
Dharmakeerthi Lasantha
7d660e3105 Merge branch 'master' into 'master'
Remove reporting components

See merge request entgra/carbon-device-mgt!488
2020-03-29 17:44:03 +00:00
tcdlpds@gmail.com
1432923991 Remove reporting components 2020-03-29 23:08:59 +05:30
inoshperera
91fbb28de6 Fix merge conflics 2020-03-29 13:24:05 +05:30
inoshperera
1bb18f30c9 Add get tenant API 2020-03-29 13:16:33 +05:30
inoshperera
1193910f52 minor refactoring for getTenantId 2020-03-29 13:16:33 +05:30
Saad Sahibjan
a45d2d7cb0 Use the method to retrieve the reporting host 2020-03-29 13:16:32 +05:30
Saad Sahibjan
9da0bc8de0 Call reporting app usage endpoint 2020-03-29 13:16:32 +05:30
Saad Sahibjan
3a7ea53c3a Add a method to retrieve the reporting host 2020-03-29 13:16:32 +05:30
Saad Sahibjan
30da5afdab Add hourly and daily usage to application bean 2020-03-29 13:16:32 +05:30
inoshperera
60b4a2493c merge conflics resoved 2020-03-29 12:59:28 +05:30
inoshperera
199b61ab94 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into reporting2 2020-03-29 12:24:51 +05:30
Kaveesha Mihirangi
db35d5e6a7 Implement create, apply, edit, view policy features to device-mgt React App 2020-03-27 16:56:49 +00:00
charitha
f1aa82c2b8 Fix platform configuration display for custom units 2020-03-25 19:24:43 +05:30
Shamalka Navod
a03153c2dd Add external device-user claim APIs and UI 2020-03-24 17:00:14 +00:00
Yohan Avishke
d678059da3 Fix issue with package names 2020-03-20 23:00:22 +05:30
Charitha Goonetilleke
da5c7e307f Merge branch 'geo-backend' into 'master'
Move device location history grouping logic to the backend

Closes product-iots#343

See merge request entgra/carbon-device-mgt!468
2020-03-20 15:37:08 +00:00
Dharmakeerthi Lasantha
7b26a8c943 Merge branch 'fix/dmgt-react/notifications' into 'master'
Remove notification sidebar from the Devicemgt react app

Closes product-iots#345

See merge request entgra/carbon-device-mgt!474
2020-03-20 15:23:56 +00:00
Jayasanka Weerasinghe
cadb55f256 Remove notification sidebar from the Devicemgt react app 2020-03-20 17:37:17 +05:30
Yohan Avishke
8809d63ebd Update package names of PushNotification providers 2020-03-20 16:28:14 +05:30
Kaveesha Mihirangi
07180f091e Payload improvements in add new policy feature in React App 2020-03-20 06:25:30 +00:00
Kaveesha
2bf9977a99 Add new method to create payload 2020-03-19 22:42:35 +05:30
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