Commit Graph

8687 Commits

Author SHA1 Message Date
prathabanKavin
11bca0f4ae Remove unnecessary logs 2024-07-11 23:57:14 +05:30
prathabanKavin
de1d79f27c Fix same device data loading for subscriptions 2024-07-11 23:53:34 +05:30
2006d7e97d Add policy type conversion from BLOB to Text DB scripts 2024-07-11 23:33:16 +05:30
Lasantha Dharmakeerthi
cbbac7e37a Add policy content store as Json 2024-07-11 10:29:56 +00:00
3c31c9d432 Merge branch 'master' into removeddevicefix 2024-07-11 07:07:09 +00:00
prathabanKavin
1a1df97253 Resolve comments 2024-07-11 12:32:39 +05:30
Lasantha Dharmakeerthi
2ac2b0fc37 Add configuration to delete Tenant Application artifacts 2024-07-11 06:03:47 +00:00
03457250fa Merge pull request 'Add Microsoft Store integration for Windows devices' (#443) from navodzoysa/device-mgt-core:issue-10635/store-integration into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/443
2024-07-11 05:49:51 +00:00
faefad1505 Merge pull request 'Fix user, role app installations failing' (#445) from prathabanKavin/device-mgt-core:uuserrolefix into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/445
2024-07-11 05:23:08 +00:00
ashvini
e1a47c68fb Get TenantMgtAdminService as an osgi service
Resolve comments

Remove source reference

Change error messages

Make changes in code

Add license

Resolve comments

Add java doc comments

Resolve comments

Resolve comment
2024-07-11 10:49:47 +05:30
prathabanKavin
953f72afdc Filter devices according to their devicetype 2024-07-11 07:56:34 +05:30
navodzoysa
d566cf966a Add Microsoft Store integration for Windows devices 2024-07-11 02:02:22 +05:30
prathabanKavin
68a4de92d6 Fix all,device,group removed devices 2024-07-11 00:52:53 +05:30
prathabanKavin
f9cea050ae Fix user,role removed devices 2024-07-11 00:52:49 +05:30
Lasantha Dharmakeerthi
9f8f25d310 Fix issues with adding operation log of a subscription 2024-07-10 18:28:11 +00:00
nipuni
7c90b43485 Fix issues with adding operation log of a subscription 2024-07-10 21:30:45 +05:30
Lasantha Dharmakeerthi
541853df30 Add App publishing improvements 2024-07-10 10:26:44 +00:00
Rajitha Kumara
2eb73213f3 Add requested changes 2024-07-10 15:26:19 +05:30
Rajitha Kumara
1576ef86d0 App publishing improvements 2024-07-10 15:26:19 +05:30
Lasantha Dharmakeerthi
d43bc1c5a4 Fix issues in device renaming functionality 2024-07-10 07:25:12 +00:00
nipuni
61a21edb9d Fix Device renaming is not working issue#11452 2024-07-10 12:34:44 +05:30
ashvini
8e33eebbf6 Add tenant application artifact deletion configuration
Fix code errors

Remove spaces

Refactor code
2024-07-10 11:46:24 +05:30
cd43a6a812 Merge branch 'master' into uuserrolefix 2024-07-10 04:32:14 +00:00
prathabanKavin
9a99b5804f Fix user, role app installations failing 2024-07-10 09:54:26 +05:30
Lasantha Dharmakeerthi
3b672c74b4 Migrate from legacy FCM APIs to HTTP v1 2024-07-09 12:31:48 +00:00
Rajitha Kumara
c9763c8a1b Fix jaxb dependency issue 2024-07-09 10:21:26 +05:30
529d1aec01 Add doc comments 2024-07-05 21:05:07 +05:30
23d31fd38c Fix code review suggestions 2024-07-05 20:56:03 +05:30
tcdlpds
dc3a9e868b Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into apim420 2024-07-04 15:11:05 +05:30
prathabanKavin
d1ed100f2f Fix device status,name not loading 2024-07-04 10:42:29 +05:30
tcdlpds
898a12dc31 Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into apim420 2024-07-04 08:12:03 +05:30
Nipuni Kavindya
c51b3c49fa Add backend implementation to get devices not in a group
Purpose:
https://roadmap.entgra.net/issues/11349
Co-authored-by: Nipuni Kavindya <nipuni@entgra.io>
Co-committed-by: Nipuni Kavindya <nipuni@entgra.io>
2024-07-04 02:38:06 +00:00
tcdlpds
c99194299a Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into apim420 2024-07-02 20:03:02 +05:30
builder
15afde08ac [maven-release-plugin] prepare for next development iteration 2024-07-02 12:30:47 +05:30
builder
fa7628e47a [maven-release-plugin] prepare release v5.1.0 2024-07-02 12:30:42 +05:30
tcdlpds
92a49e71c1 Sync with master 2024-07-02 01:24:18 +05:30
Lasantha Dharmakeerthi
743d60e307 Fix incorrect device status updates 2024-07-01 15:07:58 +00:00
Lasantha Dharmakeerthi
ae8834da0d Fix web apps not installing via user, group, role issue 2024-07-01 09:30:06 +00:00
0a19d8ee0c Fix incorrect device status updates 2024-07-01 14:57:19 +05:30
ashvini
ea10eb1f3c Fix web apps not installing via user, group, role issue
Add case to handle web clip uninstallation

Add license

Refactor code

Remove hard-coded value
2024-07-01 13:57:31 +05:30
prathabanKavin
2021a0b37a Fix issues in get devices method 2024-07-01 01:24:29 +05:30
prathabanKavin
aa9f3da380 Fix issues in returning type in allsubscriptions 2024-07-01 00:48:02 +05:30
prathabanKavin
e024283f25 Return device type and identifier with subscription list 2024-07-01 00:40:03 +05:30
6099c68d88 Add application installation monitoring feature (#436)
## Purpose
* Fixes https://roadmap.entgra.net/issues/11098
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
2024-06-30 16:06:00 +00:00
Oshani Silva
05ce0dd0b4 Add fix for multiple device app activity details retrieval
fixes https://roadmap.entgra.net/issues/10260
Co-authored-by: Oshani Silva <oshani@entgra.io>
Co-committed-by: Oshani Silva <oshani@entgra.io>
2024-06-30 10:49:36 +00:00
c38aea743b Add missing license headers 2024-06-25 17:36:22 +05:30
b1d3503e8b Add improvements to Google API token generation in FCM 2024-06-25 17:36:03 +05:30
Rajitha Kumara
aafa824f08 Migrate from legacy FCM APIs to HTTP v1 2024-06-25 17:35:56 +05:30
5c73277c32 Add FCM changes 2024-06-25 17:35:51 +05:30
Sasini Sandamali
01d76c6dbd Add necessary improvements and configs for grafana version 10.3.3 (#396)
Co-authored-by: Sasini_Sandamali <sasini@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/396
Co-authored-by: Sasini Sandamali <sasini@entgra.io>
Co-committed-by: Sasini Sandamali <sasini@entgra.io>
2024-06-24 14:21:34 +00:00
amalka.subasinghe
b7848fd0c3 scopes and related permissions added when scope is not attached to an api 2024-06-24 12:04:41 +05:30
tcdlpds
4b92df7638 Fix merge conflicts 2024-06-24 11:54:11 +05:30
Lasantha Dharmakeerthi
3606592c2f Modify permission of operation status update 2024-06-24 06:06:57 +00:00
Rajitha Kumara
1352168d5e Change method names into meaningfull names 2024-06-19 11:46:28 +05:30
Rajitha Kumara
665b013a96 Fix issue when string parsing in proxy 2024-06-19 11:20:26 +05:30
pasindu
eadb2efb86 Change scope key not found log to debug level log 2024-06-14 09:31:17 +05:30
Gimhan-minion
31c25de956 Modify permission of operation status update 2024-06-13 13:16:40 +05:30
Lasantha Dharmakeerthi
e84a479c23 Add missing test cases for DevicePersistTests and GroupPersistTests 2024-06-11 05:22:42 +00:00
d443fef6e0 Add missing test cases for DevicePersistTests and GroupPersistTests 2024-06-11 10:38:54 +05:30
Lasantha Dharmakeerthi
13daf3963a Fix remote share authorization issue 2024-06-10 09:56:13 +00:00
tcdlpds
d3e48edeef Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into apim420 2024-06-10 14:35:41 +05:30
Lasantha Dharmakeerthi
1aec609bff Fix SQL error 2024-06-10 07:43:29 +00:00
tcdlpds
0548dbdc3a Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into apim420 2024-06-10 02:25:25 +05:30
tcdlpds
ae8a170421 Fix merge conflicts 2024-06-09 14:26:28 +05:30
Lasantha Dharmakeerthi
c03e317e4b Add filter to display web apps in Enrollment Application Install 2024-06-07 20:31:36 +00:00
prathabanKavin
b0362c5825 Fix devices of a group not loading 2024-06-07 21:58:48 +05:30
Lasantha Dharmakeerthi
12e65ee7e1 Fix sql syntax errors 2024-06-07 07:38:44 +00:00
f0c48c585d Fix sql syntax errors 2024-06-07 13:04:51 +05:30
1d7438bcd6 Merge pull request 'Fix sql syntax errors' (#407) from pramilaniroshan/device-mgt-core:fix-sql-syntax-erros into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/407
2024-06-07 03:29:32 +00:00
641ddbfb85 Fix sql syntax errors 2024-06-06 09:50:27 +05:30
Charitha
aca7aa3ccc Disable validateOperationCodeFiltering for validateOperationLogFilters 2024-06-02 10:05:43 +05:30
Rajitha Kumara
694e601a4b Fix remote share authorization issue 2024-05-31 11:36:50 +05:30
ashvini
7616c2255c Add filter to get Web apps in Enrollment Application Install
Add filter file
2024-05-29 12:49:54 +05:30
Charitha Goonetilleke
caf548ac75 Fix overrides in DeviceDAO 2024-05-26 14:19:45 +05:30
Charitha Goonetilleke
7c0df33738 Fix issue DB transaction handling issue 2024-05-26 13:30:41 +05:30
Charitha Goonetilleke
7dea32d2e3 Performance improvements 2024-05-26 13:30:39 +05:30
Charitha Goonetilleke
d1fe1baad0 Fix issues with caching 2024-05-26 13:17:08 +05:30
Charitha Goonetilleke
fb79d61b60 Add DEVICE_TYPE and DEVICE_IDENTIFICATION fields to DM_ENROLLMENT table 2024-05-26 13:17:08 +05:30
tcdlpds
f4fe3b8d82 Fix SQL issue in app uninstall feature 2024-05-22 12:08:57 +05:30
3abe68788c Merge pull request 'Refactor SQL query to filter out 'REMOVED' and 'DELETED' statuses' (#393) from pramilaniroshan/device-mgt-core:rm-11025 into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/393
2024-05-20 07:25:14 +00:00
e17405ee88 Merge pull request 'Add EVENT_UPDATE operation code and refactor geo fence update' (#395) from pramilaniroshan/device-mgt-core:add-event-update-oc into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/395
2024-05-20 07:11:14 +00:00
tcdlpds
3106b23d31 Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into apim420 2024-05-16 12:18:09 +05:30
14580b5f5f Fix EVENT_REVOKE operation is not being sent after geofence delete 2024-05-16 08:05:43 +05:30
60eac79c74 Add EVENT_UPDATE operation code and refactor geo fence update 2024-05-15 11:01:06 +05:30
Lasantha Dharmakeerthi
03d6a145d8 Fix unknown application type error when installing web apps 2024-05-13 02:01:18 +00:00
ashvini
3fd6163603 Remove comments 2024-05-13 07:18:18 +05:30
2ab1cf767a Refactor SQL query to filter out 'REMOVED' and 'DELETED' statuses 2024-05-10 12:30:10 +05:30
ashvini
2169c6937a Fix unknown application type error when installing web apps 2024-05-09 07:43:39 +05:30
1171086eb7 Remove duplicate properties field 2024-05-08 18:08:41 +05:30
8fd032c336 Fix issue in operation log not loading 2024-05-08 17:22:10 +05:30
Rajitha Kumara
faab9c8632 Update dependency list 2024-05-07 13:50:23 +05:30
Rajitha Kumara
0b06ed6e03 Fix conflicts 2024-05-07 10:03:43 +05:30
Rajitha Kumara
ce2e57c6d0 Fix tenant-mgt build failure 2024-05-07 09:24:45 +05:30
tcdlpds
6ac4774001 Fix build failure 2024-05-07 08:32:25 +05:30
tcdlpds
63a3c3eab3 Fix build failure 2024-05-06 10:07:00 +05:30
tcdlpds
8cf830b7c8 Fix server starting issue with latest WUM 2024-05-01 00:10:58 +05:30
Rajitha Kumara
177b8cc831 Sync with master 2024-04-21 19:44:18 +05:30
Rajitha Kumara
d1661e3f6d Sync with master 2024-04-21 18:59:40 +05:30
Charitha Goonetilleke
62722718f2 Fix issues with handling OPERATION_DETAILS and OPERATION_PROPERTIES
This is to fix incorrectly handled operation details retrieval and operation properties handling.

Need following migration for existing data.

```
ALTER TABLE `DM_DB`.`DM_OPERATION`
ADD COLUMN `OPERATION_PROPERTIES` BLOB NULL DEFAULT NULL AFTER `OPERATION_DETAILS`;

ALTER TABLE `ARCHIVAL_DB`.`DM_OPERATION_ARCH`
ADD COLUMN `OPERATION_PROPERTIES` BLOB NULL DEFAULT NULL AFTER `OPERATION_DETAILS`;

UPDATE DM_OPERATION SET OPERATION_DETAILS = null;

UPDATE DM_ENROLMENT_OP_MAPPING SET STATUS = 'ERROR' WHERE STATUS = 'PENDING' OR STATUS = 'IN_PROGRESS' OR STATUS = 'NOTNOW';
```

Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/371
Co-authored-by: Charitha Goonetilleke <charitha@entgra.io>
Co-committed-by: Charitha Goonetilleke <charitha@entgra.io>
2024-04-18 04:05:04 +00:00
Gimhan Wijayawardana
64189a400d Implement multi value (status) filtering for getting activity details
Co-authored-by: Gimhan Wijayawardana <gimhan@entgra.io>
Co-committed-by: Gimhan Wijayawardana <gimhan@entgra.io>
2024-04-16 07:45:53 +00:00
ashvini
10d70ddd82 Resolve inability to edit app related data 2024-04-16 10:30:31 +05:30
amalka.subasinghe
89bc0281c0 updated from master and fix merge conflicts 2024-04-16 09:35:52 +05:30
builder
487c576ab2 [maven-release-plugin] prepare for next development iteration 2024-04-09 10:35:40 +05:30
builder
ff8147db5e [maven-release-plugin] prepare release v5.0.41 2024-04-09 10:35:36 +05:30
ashvini
16199a7311 Fix DAO error in Tenant Deletion
Fix errors

Fix errors
2024-04-09 01:14:26 +05:30
Lasantha Dharmakeerthi
ea542894cf Delete tenant data 2024-04-08 13:29:20 +00:00
ashvini
159f603605 Delete tenant data
Refactor code

Add begin transaction

Refactor code
2024-04-08 18:55:37 +05:30
navodzoysa
2f1271f3be Revert Windows Content and Package URI changes 2024-04-08 18:03:15 +05:30
Rajitha Kumara
f86a16220c Fix appx app installation issue 2024-04-08 09:20:57 +05:30
Rajitha Kumara
dfdf2611a1 Fix extension resolving issue when content-disposition unavailable 2024-04-07 20:56:08 +05:30
Lasantha Dharmakeerthi
f3974c2cb4 Fix AutoCommit issue in Tenant Deletion 2024-04-06 06:27:04 +00:00
ashvini
8c75b30378 Fix AutoCommit issue in Tenant Deletion
Set autocommit to false

Fix error message

Fix data not deleting issue

Fix error message
2024-04-06 11:28:37 +05:30
Rajitha Kumara
00022b17cf Fix remote meta descriptor resolving issue 2024-04-06 08:32:07 +05:30
Rajitha Kumara
4957741173 Refactored the code 2024-04-05 15:28:50 +05:30
Rajitha Kumara
bd021ff835 Add Content and Package URI changes 2024-04-05 15:04:55 +05:30
c05d4e0b2c Add improvements for the reporting data publishing
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Co-committed-by: Pahansith Gunathilake <pahansith@entgra.io>
2024-04-05 05:33:23 +00:00
ea53734901 revert 6c1286ebad
revert Improvements for the reporting data publishing
2024-04-05 04:30:12 +00:00
0071e13692 revert b74dc5796b
revert Make the executor Callable and retrieve the response
2024-04-05 04:28:15 +00:00
8d597ab310 Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into imprv/reporting-data-publish 2024-04-05 09:56:28 +05:30
b74dc5796b Make the executor Callable and retrieve the response 2024-04-05 09:56:04 +05:30
Lasantha Dharmakeerthi
093df7c161 Add capability to delete a tenant 2024-04-05 04:06:02 +00:00
ashvini
e9ac11da78 Create DAO for tenant deletion task
Add Application related DAO methods

Add application folder delete function

Change scope

Refactor code

Resolve merge conflicts

Resolve merge conflict
2024-04-05 09:25:44 +05:30
Lasantha Dharmakeerthi
7df968a6f7 Fix app name duplicating error 2024-04-04 11:44:39 +00:00
ashvini
d3ac0ce5b0 Fix app name duplicating error 2024-04-04 09:39:45 +05:30
97b690b8ef Fix user search by Firstname and Lastname 2024-04-03 14:37:30 +05:30
6c1286ebad Improvements for the reporting data publishing 2024-04-03 12:37:42 +05:30
Lasantha Dharmakeerthi
d050736aaf Fix for the Windows app installed devices not loading 2024-04-02 14:37:29 +00:00
a77c092645 Merge pull request 'Fix remote url resolving issue' (#366) from rajitha/device-mgt-core:stream-api into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/366
2024-04-02 10:03:48 +00:00
Rajitha Kumara
9caf1678de Fix remote url resolving issue 2024-04-02 15:27:55 +05:30
78dd491789 Merge pull request 'Add stream base file uploading' (#338) from rajitha/device-mgt-core:stream-api into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/338
2024-04-02 08:58:18 +00:00
170f1dcfe5 Merge branch 'master' into task-mgt 2024-04-02 05:15:44 +00:00
Charitha Goonetilleke
8f1781f4b6 Fix db connection pool exhaustion due to too many queries 2024-04-02 08:09:17 +05:30
Rajitha Kumara
a54d2b0924 Fix building issue 2024-04-01 19:14:58 +05:30
Rajitha Kumara
3798134011 Add stream base file uploading 2024-03-29 11:58:24 +05:30
Rajitha Kumara
0673792bcc Fix policy delegation task starting issue 2024-03-27 14:41:06 +05:30
862cc72499 Fix for the Windows app installed devices not loading 2024-03-24 15:39:23 +05:30
e1519fa2a8 Add policy content store as Json 2024-03-24 15:11:53 +05:30
Lasantha Dharmakeerthi
dd03a073b2 Update user deletion logic 2024-03-23 17:08:36 +00:00
subodhinie
5dd155e3f7 Add Windows device operation scopes: apps, device-info, firewall-info, security-info (#360)
Fixes for https://roadmap.entgra.net/issues/10679

Co-authored-by: Subodhinie <subodhinie@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/360
Co-authored-by: subodhinie <subodhinie@entgra.io>
Co-committed-by: subodhinie <subodhinie@entgra.io>
2024-03-21 14:05:03 +00:00
Charitha Goonetilleke
e0cfa4d719 Add generated task id to dynamicTask object 2024-03-21 07:33:01 +05:30
Gimhan-minion
291249f80f Fix formatting issues 2024-03-13 14:46:02 +05:30
Gimhan-minion
59cd06df0f Handle default authdata in oauth2token handler 2024-03-12 22:21:08 +05:30
pasindu
f03cae09fe Sync with master branch 2024-03-09 08:23:08 +05:30
Lasantha Dharmakeerthi
202b9b7016 Upgrade versions of dependencies 2024-03-07 10:40:03 +00:00
tcdlpds
4e4ff9c960 Improve dependencies 2024-03-07 16:06:45 +05:30
tcdlpds
e67630feeb Upgrade wso2 tomcat version 2024-03-07 12:55:27 +05:30
Rajitha Kumara
cd56147da9 Add user removable status to basic user info 2024-03-07 06:25:27 +05:30
isuri
0de808229f deviceOrg: get children of root best practices apply 2024-03-05 14:29:35 +05:30
isuri
d2593114b7 deviceOrg: get children of roots code refactor, license add 2024-03-05 11:43:10 +05:30
pasindu
58989472c9 Fix import issues in certificate management core 2024-03-05 10:56:30 +05:30