Commit Graph

8383 Commits

Author SHA1 Message Date
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
Lasantha Dharmakeerthi
3606592c2f Modify permission of operation status update 2024-06-24 06:06:57 +00:00
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
1aec609bff Fix SQL error 2024-06-10 07:43:29 +00:00
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
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
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
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
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
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
isuri
efd73ba3c5 Merge branch 'master' into deviceOrgImprovements 2024-03-04 17:26:34 +05:30
isuri
89bd784a57 deviceOrg: get children of root nodes api implementation 2024-03-04 17:07:21 +05:30
builder
d4455c5fe7 [maven-release-plugin] prepare for next development iteration 2024-03-04 10:57:41 +05:30
builder
52fe90256c [maven-release-plugin] prepare release v5.0.40 2024-03-04 10:57:36 +05:30
Ashvini Wegodapola
464214fe1b Sanitize app names and shorten screenshot names (#349)
Fixes:

https://roadmap.entgra.net/issues/9241
https://roadmap.entgra.net/issues/10628

Co-authored-by: ashvini <ashvini@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/349
Co-authored-by: Ashvini Wegodapola <ashvini@entgra.io>
Co-committed-by: Ashvini Wegodapola <ashvini@entgra.io>
2024-02-26 05:21:05 +00:00
Charitha Goonetilleke
d2ad8ac579 Optimize based on review comments 2024-02-23 13:37:05 +05:30
Charitha Goonetilleke
5d69d08100 Improve dynamic and random task execution 2024-02-23 10:11:03 +05:30
Charitha Goonetilleke
4045e39a76 Fix inconsistencies in dynamic and random task execution 2024-02-23 10:11:03 +05:30
amalka.subasinghe
20cf06122a remove unused imports and adding licence headers 2024-02-20 11:41:22 +05:30
amalka.subasinghe
1dbc1d7b0d device/group authorization improvement 2024-02-20 11:32:23 +05:30
amalka.subasinghe
1c0a0227ab post api publishing observer implementation 2024-02-20 11:02:51 +05:30
99b91ade01 Improve query param value 2024-02-18 18:44:09 +05:30