Commit Graph

7085 Commits

Author SHA1 Message Date
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
Charitha Goonetilleke
c4f4961a70 Merge branch 'policy-bean' into 'master'
Add Upload bean

See merge request entgra/carbon-device-mgt!548
2020-05-22 12:51:35 +00:00
Charitha Goonetilleke
d57e324820 Merge branch 'work-efficiency-analyzer' into 'master'
Add new variable to store an apllication's events

Closes product-iots#522

See merge request entgra/carbon-device-mgt!551
2020-05-22 12:51:08 +00:00
charitha
89618eb200 Add properties from xml based device types to DEVICE_PROPERTIES table 2020-05-22 14:59:35 +05:30
Charitha Goonetilleke
798663fef7 Merge branch 'device-delete-db-fix' into 'master'
Fix sql syntax error in device large response delete

See merge request entgra/carbon-device-mgt!550
2020-05-22 04:24:03 +00:00
Yohan Avishke
602bcbb2cf Add new variable to store an apllication's events 2020-05-22 08:01:39 +05:30
Pahansith
0647eee0d8 Fix device syntax error in device large response delete 2020-05-22 00:45:41 +05:30
Pahansith
3257db9e3b Add created state to device list UI 2020-05-21 21:32:46 +05:30
shamalka
31d9969e3f Add Upload bean 2020-05-21 13:28:36 +05:30
Shamalka Navod
902b7fc654 Change reporting header param 2020-05-19 20:35:42 +00:00
Dharmakeerthi Lasantha
b1e13bdc22 Merge branch 'get-device-list' into 'master'
Get devices by identifier list API

See merge request entgra/carbon-device-mgt!544
2020-05-19 10:40:41 +00:00
Shamalka Navod
03e87c558f Get devices by identifier list API 2020-05-19 10:40:41 +00:00
Pahansith Gunathilake
1112b285d5 Remove operation existence check in update operation 2020-05-19 10:27:13 +00:00
tcdlpds@gmail.com
5fd5c110aa Change reporting webapp system variable name 2020-05-19 14:25:15 +05:30
charitha
9280810b24 Avoid unnecessary db connection 2020-05-18 10:11:25 +05:30
charitha
f59242d6b8 Fix formatting issue 2020-05-18 09:49:11 +05:30
charitha
573a9e598c Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt 2020-05-18 09:23:03 +05:30
charitha
dac5c2b511 Fix deadlock in device application list update 2020-05-18 09:22:23 +05:30
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
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
3ccc383d12 Add missing interfaces 2020-05-14 14:43:37 +05:30
charitha
a1a313608f Remove attempt count incrementing logic to optimize performance 2020-05-13 23:39:40 +05:30
Saad Sahibjan
8414679608 Merge branch 'device-delete-fix' into 'master'
Fix device delete

## Purpose
> The purpose of this PR is to fix https://gitlab.com/entgra/product-iots/-/issues/510

## Goals
> Fix device permanent delete failing issue

## Approach
> Add method to delete records of DM_DEVICE_OPERATION_RESPONSE_LARGE table

## Security checks
 - Followed secure coding standards? (Yes)
 - Ran FindSecurityBugs plugin and verified report? (No)
 - Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? (Yes)

## Related MRs
> N/A

## Test environment
> Ubuntu 18.04 and MySql 5.7

## Learning
> N/A

See merge request entgra/carbon-device-mgt!540
2020-05-13 09:11:38 +00:00
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
shamalka
e1a5ae1164 Fix app name validation issue for webclip 2020-05-12 17:16:24 +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
Dharmakeerthi Lasantha
f2dfed1c6c Merge branch 'feature/appm-publisher/delete-app' into 'master'
Add app delete and retire functionality to APPM UI

Closes product-iots#495

See merge request entgra/carbon-device-mgt!523
2020-05-01 20:02:14 +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
Jayasanka Weerasinghe
2d0277de3a Add app delete and retire functionality to APPM UI 2020-04-28 10:15:27 +05:30
tcdlpds@gmail.com
f1fbdf1f3b Improve response message of app retiring API 2020-04-28 07:27:54 +05:30
tcdlpds@gmail.com
8557980395 Improve APPM application retrieving APIs 2020-04-28 06:29:26 +05:30
tcdlpds@gmail.com
566c9eb5dd Improve application searching logic 2020-04-27 01:46:58 +05:30
Dharmakeerthi Lasantha
74b2e64649 Merge branch 'fix/appm-publisher/android-for-work' into 'master'
Fix android enterprise view crashing by permission rendering

Closes product-iots#491

See merge request entgra/carbon-device-mgt!519
2020-04-24 12:11:57 +00:00
Jayasanka Weerasinghe
7df02c5db5 Fix android enterprise view crashing by permission rendering 2020-04-24 16:49:40 +05:30
Jayasanka Weerasinghe
68bcec0ce9 Add Release deleting functionality to the APPM Publisher UI 2020-04-24 12:22:35 +05:30
tcdlpds@gmail.com
f03c3a0517 Modify app release deleting functionality 2020-04-23 01:31:41 +05:30
tcdlpds@gmail.com
f4ace5027f Improve dependency usage and source code 2020-04-22 20:32:25 +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
Shamalka Navod
0629d5af71 Add app name validating feature into APPM publisher UI 2020-04-20 15:09:45 +00:00
Kaveesha
a6c1a86f97 Add New Classes to get RadioGroup and NotificationList 2020-04-20 14:46:42 +05:30
Dharmakeerthi Lasantha
9965d653e9 Merge branch 'feature/appm-store/pbac' into 'master'
Add permission based access control to APPM store

Closes product-iots#392

See merge request entgra/carbon-device-mgt!497
2020-04-20 07:23:30 +00:00
Jayasanka Weerasinghe
f6c332df15 Add permission based access control to APPM store 2020-04-20 12:13:35 +05:30
Shamalka Navod
74050d6db5 Improve APPM application name validating API 2020-04-19 13:44:09 +00:00
Dharmakeerthi Lasantha
831b2fa89f Merge branch 'feature/appm-publisher/pbac' into 'master'
Add permission based access control to APPM Publisher

Closes product-iots#483

See merge request entgra/carbon-device-mgt!507
2020-04-17 12:07:55 +00:00
Jayasanka Weerasinghe
8cf313ec82 Add permission based access control to APPM Publisher 2020-04-17 13:08:02 +05:30
tcdlpds@gmail.com
182c8be98a Improve APPM and Invoker sources 2020-04-17 00:26:37 +05:30
Dharmakeerthi Lasantha
e45d108ce1 Merge branch 'feature/get-permissions' into 'master'
Create an endpoint to get permissions of a given user

Closes product-iots#353

See merge request entgra/carbon-device-mgt!482
2020-04-16 08:02:46 +00:00
Jayasanka Weerasinghe
e651645fad Create an endpoint to get permissions of a given user 2020-04-16 12:59:23 +05:30
tcdlpds@gmail.com
9abe718838 Fix grammar issue in error message 2020-04-15 20:43:08 +05:30
tcdlpds@gmail.com
4cf24e6b0a Add HEAD API to check the existence of application 2020-04-15 20:15:13 +05:30
Dharmakeerthi Lasantha
a278b6993a Merge branch 'feature/appm-publisher' into 'master'
Change the file structure of APPM Publisher

Closes product-iots#480

See merge request entgra/carbon-device-mgt!503
2020-04-15 06:52:24 +00:00
Jayasanka Weerasinghe
db8417b339 Change the file structure of APPM Publisher 2020-04-15 11:33:20 +05:30
Amanda Randombage
1ac18c80b3 Fix issues in GET /applications API 2020-04-15 00:48:26 +00:00
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
b843d8eefe test fixes 2020-03-29 13:16:33 +05:30
inoshperera
9fab25d8d4 Test case fix for proxy tenant id 2020-03-29 13:16:33 +05:30
inoshperera
2ab0efbcdd validate oauth token and permission 2020-03-29 13:16:33 +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
inoshperera
af12d3fe9a Proxied API calls for sub tenant using super tenant details 2020-03-29 13:16:32 +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
inoshperera
2e265fcb3d test fixes 2020-03-29 12:19:23 +05:30
inoshperera
b7de3225a1 Test case fix for proxy tenant id 2020-03-29 12:19:23 +05:30
inoshperera
3f8a6a1957 validate oauth token and permission 2020-03-29 12:19:23 +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
Jayasanka Weerasinghe
7976ee4e51 Change the file structure of the APIM Store 2020-03-23 18:01:35 +05:30
Yohan Avishke
526c15c360 Add checkstyles dependancy with it's version 2020-03-23 10:06:35 +05:30
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