Commit Graph

8096 Commits

Author SHA1 Message Date
98954c9374 Merge pull request 'Add default perm config' (#252) from tcdlpds/device-mgt-core:master into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/252
2023-10-13 05:47:00 +00:00
tcdlpds
49747efa18 Add default perm config 2023-10-13 09:39:44 +05:30
Viranga Gunarathna
d63f2a3f24 mapping permissions with scopes 2023-10-12 15:25:20 +05:30
Inosh Perara
db80546a5a Merge pull request 'Fix scope attaching issue' (#247) from tcdlpds/device-mgt-core:master into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/247
2023-10-11 10:16:06 +00:00
tcdlpds
58670028c0 Fix scope attaching issue 2023-10-11 06:54:46 +05:30
8813619929 Merge pull request 'Add scope perm mapping logic' (#235) from tcdlpds/device-mgt-core:master into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/235
2023-10-08 15:35:35 +00:00
tcdlpds
563077fbfb Add scope perm mapping logic 2023-10-08 19:36:52 +05:30
616c70face Merge pull request 'Fix delete groups with Geo Fence references issue' (#223) from ThilinaPremachandra/device-mgt-core:Bug#10236#issue36 into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/223
2023-10-06 09:53:30 +00:00
51f1bf1280 Merge pull request 'Fix analytics publishing for Windows devices' (#240) from navodzoysa/device-mgt-core:fix-windows-analytics into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/240
2023-10-06 09:24:23 +00:00
navodzoysa
03a0539d92 Fix incorrect grafana permission annotations 2023-10-02 23:19:32 +05:30
navodzoysa
f8e3fb90e6 Fix analytics publishing for Windows devices 2023-10-02 23:15:16 +05:30
Viranga Gunarathna
9e0427021e Duplicate keys for same permission in different files 2023-09-28 20:14:10 +05:30
Viranga Gunarathna
6c8c2efb80 Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into scope-fixes 2023-09-28 00:17:27 +05:30
Viranga Gunarathna
48a72e80e9 Modify scope keys 2023-09-27 23:48:16 +05:30
osh
3c658f0afe Fix ownership issue in device deletion 2023-09-26 17:42:37 +05:30
Inosh Perara
50887c12f9 Merge pull request 'Add device deletion scenario for billing' (#226) from osh.silva/device-mgt-core:billing-delete-9713 into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/226
2023-09-26 05:02:50 +00:00
Rajitha Kumara
69efff10bd Implement state checking and csrf protection
## Purpose

* Fixes for http://roadmap.entgra.net/issues/9846

Co-authored-by: rajitha <rajitha@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/232
Co-authored-by: Rajitha Kumara <rajitha@entgra.io>
Co-committed-by: Rajitha Kumara <rajitha@entgra.io>
2023-09-25 09:51:11 +00:00
Sasini_Sandamali
bb0369cde9 Update addOperation and sql files 2023-09-21 09:53:11 +05:30
795d26f4b0 Merge pull request 'Fix error showing on startup in task-mgt' (#229) from prathabanKavin/device-mgt-core:mssqltaskmgt into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/229
2023-09-20 05:56:08 +00:00
0068a26b58 Merge pull request 'Fix added for loading device groups' (#228) from prathabanKavin/device-mgt-core:sqldevicegroupfix into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/228
2023-09-20 05:55:38 +00:00
Charitha Goonetilleke
664dfd21c9 Warn about orphan scopes 2023-09-18 00:50:40 +00:00
fccae9b8c0 Add Devices filtering by a Custom Property feature to API and dao layer (#208)
## Purpose
* Related ticket https://roadmap.entgra.net/issues/10262

## Description

This modifed API accept any custom property key value pair as a encoded JSON String for filtering devices

/devicescustomProperty=%7B%22FIRMWARE_APP_VERSION%22%3A%22122%22%2C%22FIRMWARE_VERSION%22%3A%22123%22%7D

## Add Custom property to mdm-ui-config.xml

```
<DeviceInfoConfigurations>
	<DeviceInfoItem>
            <DefinedValue>FIRMWARE_VERSION</DefinedValue>
            <DisplayValue>label_firmware_version</DisplayValue>
            <Type>deviceDetailsMap</Type>
        </DeviceInfoItem>
        <DeviceInfoItem>
            <DefinedValue>FIRMWARE_APP_VERSION</DefinedValue>
            <DisplayValue>label_app_version</DisplayValue>
            <Type>deviceDetailsMap</Type>
        </DeviceInfoItem>
        <DeviceInfoItem>
            <DefinedValue>FIRMWARE_SYSTEM_VERSION</DefinedValue>
            <DisplayValue>label_firmware_system_version</DisplayValue>
            <Type>deviceDetailsMap</Type>
        </DeviceInfoItem>
</DeviceInfoConfigurations>
```

DefinedValue = Key_value in DM_DEVECE_INFO table
DisplayValue = UI display text for filtering
Type = Dont change

Co-authored-by: pramilaniroshan <pramila@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/208
Co-authored-by: Pramila Niroshan <pramila@entgra.io>
Co-committed-by: Pramila Niroshan <pramila@entgra.io>
2023-09-15 04:02:34 +00:00
osh
8bc0fa37de Add cost calculation for carbon super 2023-09-14 14:35:18 +05:30
osh
5371c5268b Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into billing-delete-9713 2023-09-13 14:50:32 +05:30
osh
6fd84dcbef Comment out cost related code 2023-09-13 14:50:23 +05:30
prathabanKavin
4fc6eb2aa4 Fix error showing on startup in task-mgt 2023-09-13 08:15:36 +05:30
prathabanKavin
661feadcd5 Fix added for loading device groups 2023-09-12 22:09:31 +05:30
Sasini_Sandamali
4a6e0ce727 Update get Activities to increase the performance 2023-09-12 16:14:54 +05:30
Sasini_Sandamali
26a049473c Modify View Activities endpoint by including operation id 2023-09-12 16:02:31 +05:30
Charitha Goonetilleke
9011273ff4 Apply role permission mapping along with scope role mapping 2023-09-12 11:55:29 +05:30
osh
0abf955fe0 Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into billing-delete-9713 2023-09-12 08:32:09 +05:30
osh
5d06485a25 Add device deletion scenario for billing 2023-09-12 08:31:47 +05:30
pasindu
ef47f0c20a Update scopes including already existing roles 2023-09-08 11:36:05 +05:30
ThilinaPremachandra
44c7d324de Fix: delete group with GeoFence references issue 2023-09-07 11:29:10 +05:30
0fbe062e49 Fix the SSL error when invoking internal API via HttpClient (#215)
Co-authored-by: Pahansith <pahansith@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/215
2023-09-05 07:58:13 +00:00
Arshana
d20c95a55c Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into status 2023-09-05 11:03:41 +05:30
Arshana
9c7fd9027e Fix the API to check if a device is enrolled 2023-09-05 11:02:57 +05:30
Thameera
680f57ade5 URL permission issue fixes (Removed * from root URLs) 2023-09-04 12:32:07 +05:30
shamalka
dc40351293 Change location publishing logic 2023-08-28 13:43:11 +05:30
builder
7c66f6b693 [maven-release-plugin] prepare for next development iteration 2023-08-28 10:11:49 +05:30
builder
b9f12e49ee [maven-release-plugin] prepare release v5.0.30 2023-08-28 10:11:44 +05:30
Inosh Perara
28b18941aa Merge pull request 'Add hierarchical group count API' (#214) from ThilinaPremachandra/device-mgt-core:Bug#10300 into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/214
2023-08-28 04:11:43 +00:00
ThilinaPremachandra
7b1907cd90 resolve comments 2023-08-28 09:35:00 +05:30
Charitha Goonetilleke
c144507b6c Merge branch 'master' into master 2023-08-28 03:21:55 +00:00
builder
7c0adfbc89 [maven-release-plugin] prepare for next development iteration 2023-08-24 21:17:36 +05:30
builder
f7c3e129c4 [maven-release-plugin] prepare release v5.0.29 2023-08-24 21:17:31 +05:30
amalka.subasinghe
d4c3af5d12 Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core 2023-08-24 16:32:03 +05:30
amalka.subasinghe
9ecdd486f8 imrpoved heart beat to handle cluster formation changed 2023-08-24 16:31:42 +05:30
amalka.subasinghe
1d7700ab5c imrpoved heart beat to handle cluster formation changed 2023-08-24 16:31:17 +05:30
amalka.subasinghe
21606bc5cd operation timeout task updated to execute only in elected node 2023-08-24 16:30:24 +05:30