Commit Graph

1515 Commits

Author SHA1 Message Date
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
Rajitha Kumara
9caf1678de Fix remote url resolving issue 2024-04-02 15:27:55 +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
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
5d69d08100 Improve dynamic and random task execution 2024-02-23 10:11:03 +05:30
builder
4ba0be5510 [maven-release-plugin] prepare for next development iteration 2024-01-29 14:24:08 +05:30
builder
790dfaad5b [maven-release-plugin] prepare release v5.0.39 2024-01-29 14:24:02 +05:30
builder
680cc7bca8 [maven-release-plugin] prepare for next development iteration 2024-01-22 19:42:19 +05:30
builder
ba430be534 [maven-release-plugin] prepare release v5.0.38 2024-01-22 19:42:15 +05:30
builder
79d1e534b5 [maven-release-plugin] prepare for next development iteration 2024-01-12 16:51:44 +05:30
builder
0d84a0ca6b [maven-release-plugin] prepare release v5.0.37 2024-01-12 16:51:39 +05:30
builder
cfcecaeec2 [maven-release-plugin] prepare for next development iteration 2024-01-10 13:35:10 +05:30
builder
a221a2b17a [maven-release-plugin] prepare release v5.0.36 2024-01-10 13:35:05 +05:30
builder
1b66ba6bb1 [maven-release-plugin] prepare for next development iteration 2024-01-08 12:33:16 +05:30
builder
5284781270 [maven-release-plugin] prepare release 5.0.35v 2024-01-08 12:33:09 +05:30
osh
d13cb90a2f Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into ios-user-fix-10188 2024-01-03 14:02:38 +05:30
osh
9bda7f63c5 Fix UTC time issue
fixes https://roadmap.entgra.net/issues/10188
2024-01-03 14:01:39 +05:30
dfcec7cf3e Merge pull request 'Add method for get installed applications using device ID' (#299) from pramilaniroshan/device-mgt-core:rm-10291 into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/299
2024-01-03 05:57:51 +00:00
946431905f Remove Tenant id from saveApplicationIcon method 2023-12-19 11:31:48 +05:30
builder
c702763995 [maven-release-plugin] prepare for next development iteration 2023-12-16 10:49:28 +05:30
builder
a47fda9779 [maven-release-plugin] prepare release v5.0.34 2023-12-16 10:49:20 +05:30
builder
fb65db10fe [maven-release-plugin] prepare for next development iteration 2023-12-08 12:15:31 +05:30
builder
17dcbde4ab [maven-release-plugin] prepare release v5.0.33 2023-12-08 12:15:21 +05:30
osh
1436332b32 Fix app invisibility when retired 2023-11-21 14:52:38 +05:30
73bf440852 Merge pull request 'Fix to ignore devicetype check for webclip' (#287) from prathabanKavin/device-mgt-core:webclipfix into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/287
2023-11-09 10:05:07 +00:00
prathabanKavin
200e7e69c2 Fix to ignore devicetype check for webclip 2023-11-08 17:05:25 +05:30
builder
d01e55ed08 [maven-release-plugin] prepare for next development iteration 2023-11-08 16:05:38 +05:30
builder
8c6ac48c7b [maven-release-plugin] prepare release v5.0.32 2023-11-08 16:05:31 +05:30
builder
6b948c9989 [maven-release-plugin] prepare for next development iteration 2023-10-25 15:28:51 +05:30
builder
0e769a8dd9 [maven-release-plugin] prepare release v5.0.31 2023-10-25 15:28:43 +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
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
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
osh
81e57ce78f Retrieve extra details 2023-08-10 13:01:41 +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
osh
90a513590e Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into vpp-v2 2023-08-07 13:28:37 +05:30
osh
4635e2bd14 Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into device-apps-api-1 2023-08-07 12:21:06 +05:30
osh
a20c5a723c Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into vpp-v2 2023-08-07 11:41:55 +05:30
builder
fabd3ebae8 [maven-release-plugin] prepare for next development iteration 2023-07-27 21:09:35 +05:30
builder
02458cc4fe [maven-release-plugin] prepare release v5.0.28 2023-07-27 21:09:27 +05:30
osh
4436c48228 Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into device-apps-api-1 2023-07-24 21:19:09 +05:30
builder
f19f48d050 [maven-release-plugin] prepare for next development iteration 2023-07-23 21:35:40 +05:30
builder
ff9971ed77 [maven-release-plugin] prepare release v5.0.27 2023-07-23 21:35:33 +05:30
osh
77b68af5d0 Add pagination 2023-07-18 23:10:23 +05:30
osh
e7b0255a95 Add get device apps by id service 2023-07-18 19:34:11 +05:30
osh
dd7910268e Add vpp token field 2023-07-17 13:36:39 +05:30
osh
2249520132 Resolve conflicts 2023-07-13 17:46:04 +05:30
osh
eb740773aa Improve update asset DAO
fixes https://roadmap.entgra.net/issues/10179
2023-07-11 15:59:42 +05:30
osh
81fd5687ef Update user service and token retrieval 2023-07-09 00:50:57 +05:30
osh
dae8c09761 Resolve comments 2023-07-05 22:38:10 +05:30
osh
b978e31ab0 Resolve conflicts
fixes https://roadmap.entgra.net/issues/10186
2023-07-05 20:56:29 +05:30
osh
0e5478fb5e Add association DAO and fix meta issue
fixes https://roadmap.entgra.net/issues/10186
2023-07-05 20:49:46 +05:30
inoshperera
026986cd93 Add DAO improvements for user APIs
Fixes https://roadmap.entgra.net/issues/10169
2023-07-05 17:16:38 +05:30
osh
c9ed09ee25 Resolve conflicts 2023-07-04 08:50:39 +05:30
osh
1263c09079 Add DAOs for asset management
fixes https://roadmap.entgra.net/issues/10179
2023-06-30 19:05:59 +05:30
inoshperera
54111b4d94 Add association apis
fixes https://roadmap.entgra.net/issues/10182
2023-06-30 13:32:47 +05:30
inoshperera
61ffd4abff Fixing conflics 2023-06-29 09:31:46 +05:30
osh
2e799a545f Resolve comments 2023-06-28 21:43:06 +05:30
Nishan Sangeeth
3616245ae6 Improve app visibility restricting functionality
Co-authored-by: Nishan Sangeeth <nishan@entgra.io>
Co-committed-by: Nishan Sangeeth <nishan@entgra.io>
2023-06-28 16:00:53 +00:00
inoshperera
665702d504 Add asset apis
Fixes https://roadmap.entgra.net/issues/10178
2023-06-28 21:08:20 +05:30
osh
cd42a2c48f Adding the DAO layer for vpp user management
fixes https://roadmap.entgra.net/issues/10169
2023-06-28 20:03:16 +05:30
e0a1cd3dbb Merge pull request 'Add api for get visible roles' (#146) from nishan/device-mgt-core:add-visible-role-api into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/146
2023-06-27 12:50:35 +00:00
inoshperera
cc8470d3c0 add vpp user services 2023-06-26 19:10:17 +05:30
navodzoysa
7073deb461 Fix skip app release error 2023-06-26 14:15:29 +05:30
nishan
cd962b8d24 Remove the user has role validation 2023-06-26 07:28:53 +05:30
inoshperera
9ccf3a5fa5 Add vpp user apis
fixes https://roadmap.entgra.net/issues/10162
2023-06-23 23:22:40 +05:30
builder
ab2e1297e5 [maven-release-plugin] prepare for next development iteration 2023-06-21 13:48:25 +05:30
builder
6c9d33a16a [maven-release-plugin] prepare release v5.0.26 2023-06-21 13:48:19 +05:30
cf2bd5e935 Add custom loggers (#136)
## Purpose
* Fixes https://roadmap.entgra.net/issues/10117

## Description
* Added custom logs for below cases:
1. Device connectivity events
2. Policy payload change events
3. Device enrollment history events
4. App install events

#### Log structure

**1. Device connectivity logs** - logs for newly added operations and calls for pending operations

Pattern :
{DateTime} {LogLevel} - {ActionTag} {OperationCode} {DeviceId} {DeviceType} {TenantDomain} {TenantId} {UserName} - log_message

```
[2023-06-15 00:12:09,093]  INFO - [ADD_OPERATION] [DEVICE_LOCATION] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:12:10,344]  INFO - [PENDING_OPERATION] [DEVICE_LOCATION] [675c60a9d31492d6] [android] [carbon.super] [-1234] [admin]- Device Connected
[2023-06-15 00:13:49,755]  INFO - [ADD_OPERATION] [DEVICE_LOCK] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:13:56,513]  INFO - [ADD_OPERATION] [DEVICE_MUTE] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:14:23,839]  INFO - [PENDING_OPERATION] [DEVICE_MUTE]
[2023-06-15 00:15:12,549]  INFO - [ADD_OPERATION] [INSTALL_APPLICATION] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:15:29,703]  INFO - [PENDING_OPERATION] [INSTALL_APPLICATION] [675c60a9d31492d6] [android] [carbon.super] [-1234] [admin]- Device Connected
```
**2. Policy payload change events** - logs for creating policy, updating policy, deleting policy, change policy priorities and apply changes to device logs

Pattern :
{DateTime} {LogLevel} - {ActionTag} {PolicyName} {TenantDomain} {TenantId} {Payload} {UserName} - log_message

```
[2023-06-15 00:15:53,264]  INFO - [UPDATE_POLICY] [passcodeios] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":33,"priorityId":1,"profile":{"profileId":33,"profileName":"passcodeios","tenantId":0,"deviceType":"ios","updatedDate":"Jun 15, 2023 12:15:53 AM","profileFeaturesList":[{"id":33,"featureCode":"PASSCODE_POLICY","profileId":0,"deviceType":"ios","content":"{\"forcePIN\":true,\"allowSimple\":true,\"requireAlphanumeric\":true,\"minLength\":7.0,\"minComplexChars\":4.0,\"pinHistory\":\"\"}","correctiveActions":[]}]},"policyName":"passcodeios","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":false,"description":"test","compliance":"enforce","tenantId":-1234,"profileId":33,"policyType":"GENERAL"}] [admin] - Policy updated
[2023-06-15 00:34:38,980]  INFO - [ADD_POLICY] [application management policy] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":65,"priorityId":0,"profile":{"profileId":65,"profileName":"application management policy","tenantId":0,"deviceType":"windows","createdDate":"Jun 15, 2023 12:34:38 AM","updatedDate":"Jun 15, 2023 12:34:38 AM","profileFeaturesList":[{"id":65,"featureCode":"ALLOW_ALL_TRUSTED_APPS","profileId":0,"deviceType":"windows","content":"{\"enabled\":true}","correctiveActions":[]},{"id":73,"featureCode":"RESTRICT_APP_TO_SYSTEM_VOLUME","profileId":0,"deviceType":"windows","content":"{\"enabled\":false}","correctiveActions":[]}]},"policyName":"application management policy","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":false,"description":"test","compliance":"enforce","tenantId":-1234,"profileId":0,"policyType":"GENERAL"}] [admin] - Policy created
[2023-06-15 00:35:05,420]  INFO - [DELETE_POLICY] [passcodeios] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":33,"priorityId":1,"profile":{"profileId":33,"profileName":"passcodeios","tenantId":-1234,"deviceType":"ios","createdDate":"Jun 13, 2023 10:24:30 PM","updatedDate":"Jun 15, 2023 12:15:53 AM","profileFeaturesList":[{"id":33,"featureCode":"PASSCODE_POLICY","profileId":33,"deviceType":"ios","content":"{\"forcePIN\":true,\"allowSimple\":true,\"requireAlphanumeric\":true,\"minLength\":7.0,\"minComplexChars\":4.0,\"pinHistory\":\"\"}","correctiveActions":[]}]},"policyName":"passcodeios","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":true,"description":"test","compliance":"enforce","policyCriterias":[],"tenantId":-1234,"profileId":33,"deviceGroups":[],"policyType":"GENERAL"}] [admin] - Policy deleted
[2023-06-15 00:35:12,768]  INFO - [UPDATE_POLICY_PRIORITIES] [] [carbon.super] [-1234] [[{"id":65,"priorityId":1,"generic":false,"active":false,"updated":false,"tenantId":0,"profileId":0},{"id":34,"priorityId":2,"generic":false,"active":false,"updated":false,"tenantId":0,"profileId":0}]] [admin] - Policy priorities updated
[2023-06-15 00:35:25,395]  INFO - [PUBLISH_CHANGES] [] [carbon.super] [-1234] [] [admin] - Apply changes to device
```
**3. Device enrollment history events** - logs for device enrollment and dis-enrollment

Pattern :
{DateTime} {LogLevel} - {DeviceId} {DeviceType} {Owner} {Ownership} {TenantId} {TenantDomain} {UserName} - log_message

```
[2023-06-15 00:12:09,078]  INFO - [97] [android] [admin] [BYOD] [-1234] [carbon.super] [admin] - Device enrolled successfully
[2023-06-15 00:47:36,278]  INFO - [97] [android] [admin] [BYOD] [-1234] [carbon.super] [admin] - Device disenrolled successfully
```

**4. App install events** - logs for app installation and uninstallation

Pattern :
{DateTime} {LogLevel} - {AppId} {AppName} {AppType} {SubType} {Action} {Device} {TenantId} {TenantDomain} {UserName} - log_message

```
[2023-06-15 00:15:12,550]  INFO - [1] [Calculator] [PUBLIC] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - App install triggered
[2023-06-15 00:46:24,454]  INFO - [2] [Sololearn] [ENTERPRISE] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - App install triggered
[2023-06-15 00:46:40,498]  INFO - [3] [Engineering] [WEB_CLIP] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - Web app install triggered
```

## Related PRs
* https://repository.entgra.net/proprietary/product-uem/pulls/6

Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/136
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
2023-06-16 10:06:30 +00:00
656acbb34e Remove Application mgt API feature from device mgt core 2023-06-08 12:30:34 +05:30
Sanjana Rajapakshe
c06fd22ecd Add original app icons into single device app list and application restriction policy app list
Co-authored-by: Sanjana Rajapakshe <sanjana@entgra.io>
Co-committed-by: Sanjana Rajapakshe <sanjana@entgra.io>
2023-06-01 16:11:35 +00:00
Dharmakeerthi Lasantha
713759f3f7 Update copyright 2023-05-26 23:58:39 +05:30
osh
2b72f4890b Add by serial number in store 2023-05-23 23:16:55 +05:30
Amalka Subasinghe
0ef880eb3c fix issues related to uem test failures 2023-05-15 22:50:55 +05:30
Amalka Subasinghe
61f8589113 refactored version variables, oauth extension component 2023-05-11 14:38:47 +05:30
Amalka Subasinghe
0bf534689f refactiored device mgt components 2023-05-11 13:29:16 +05:30
Amalka Subasinghe
243a74da8c refactored heart beat, notification logger, identity extensions component 2023-05-11 12:30:03 +05:30
Amalka Subasinghe
75309b8d96 refactored device-mgt extension component 2023-05-11 12:14:29 +05:30
Amalka Subasinghe
0bf6b3899e refactored apimgt extension component 2023-05-11 11:33:09 +05:30
Amalka Subasinghe
d98abb1ddf refactored application mgt component 2023-05-11 11:03:21 +05:30
Amalka Subasinghe
fdedc2b8f4 refactored feature artifact ids and folder names 2023-05-10 19:34:56 +05:30
Amalka Subasinghe
fa2056e9d6 fixed parent artifact id 2023-05-10 11:56:29 +05:30
Amalka Subasinghe
a71abaa6e9 change the group id 2023-05-10 11:53:11 +05:30
dilini
d69809b319 Fix : Web-app url not updating 2023-04-27 21:39:13 +05:30
builder
fa7ee67aed [maven-release-plugin] prepare for next development iteration 2023-04-26 09:20:38 +05:30
builder
71007cc03c [maven-release-plugin] prepare release v5.0.25 2023-04-26 09:20:33 +05:30
dilini
ee64c3edca Fix : Custom app update permission issue 2023-04-21 08:43:39 +05:30
builder
3238e78f0c [maven-release-plugin] prepare for next development iteration 2023-04-11 21:09:57 +05:30
builder
6d43a16ab2 [maven-release-plugin] prepare release v5.0.24 2023-04-11 21:09:47 +05:30
builder
b75cabfce7 [maven-release-plugin] prepare for next development iteration 2023-04-10 21:20:03 +05:30
builder
c8e176c930 [maven-release-plugin] prepare release v5.0.23 2023-04-10 21:19:54 +05:30