Commit Graph

8075 Commits

Author SHA1 Message Date
Viranga Gunarathna
48a72e80e9 Modify scope keys 2023-09-27 23:48:16 +05:30
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
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
pasindu
ef47f0c20a Update scopes including already existing roles 2023-09-08 11:36:05 +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
amalka.subasinghe
349fce4e63 improved push notofication task to get allocated operations when heart beat enabled 2023-08-24 16:29:22 +05:30
amalka.subasinghe
cf3d50edf9 added new method getAllocatedOperationMappingsByStatus 2023-08-24 16:28:28 +05:30
navodzoysa
dbc73d18ed Add improvements to certificate component 2023-08-24 16:05:14 +05:30
nishan
017c70fa08 Fix Certificate test case and delete and search option 2023-08-24 13:28:35 +05:30
ThilinaPremachandra
7a7974eb36 Add: hierarchical group count API 2023-08-24 10:58:46 +05:30
d83b417a0b Merge branch 'master' into unmanaged-install-9211 2023-08-23 09:57:24 +00:00
Thameera
70c27b647b Operation Template releated changes 2023-08-23 13:47:30 +05:30
osh
195bb64bea Resolve comments 2023-08-23 12:42:57 +05:30
osh
4fbcd75a61 Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into unmanaged-install-9211 2023-08-22 09:43:51 +05:30
osh
1fed47e8fd Add app details for UNMANAGED_APP_UNINSTALL 2023-08-21 23:27:58 +05:30
388f34e3b8 Fix try-it meta-info getting issue 2023-08-21 12:44:42 +05:30
shamalka
f286cb2306 Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into device-info-config 2023-08-17 01:20:50 +05:30
tcdlpds
f9ae594326 Fix APPs getting issue in APPM DAO 2023-08-16 08:35:45 +05:30
Lasantha Dharmakeerthi
3066e51354 Show device identifier and delete certificate using certificate Id 2023-08-15 10:09:55 +00:00
shamalka
67864cb762 Add deviceinfo config beans 2023-08-15 12:48:58 +05:30
osh
81e57ce78f Retrieve extra details 2023-08-10 13:01:41 +05:30
osh
1d712e1bc2 Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into app-install-9211 2023-08-09 15:03:36 +05:30
osh
e2a467bc45 Update activity loading 2023-08-09 15:03:29 +05:30
osh
9fa34a32af Resolve conflicts 2023-08-09 00:29:30 +05:30
osh
e6ee539239 Add api changes for getting app details of operation 2023-08-09 00:27:33 +05:30
navodzoysa
453034c0e2 Revert Windows permission temp fix 2023-08-08 23:47:48 +05:30