Commit Graph

1581 Commits

Author SHA1 Message Date
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
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
tcdlpds
0548dbdc3a Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into apim420 2024-06-10 02:25:25 +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
tcdlpds
f4fe3b8d82 Fix SQL issue in app uninstall feature 2024-05-22 12:08:57 +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
ashvini
10d70ddd82 Resolve inability to edit app related data 2024-04-16 10:30:31 +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
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
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
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
pasindu
f03cae09fe Sync with master branch 2024-03-09 08:23:08 +05:30
tcdlpds
4e4ff9c960 Improve dependencies 2024-03-07 16:06:45 +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
pasindu
67975ea5f8 Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into apim420 2024-02-05 19:54:01 +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
pasindu
6a12911487 Sync with master 2024-01-17 18:13: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
pasindu
122f3f16f1 Sync with master 2024-01-06 23:31:49 +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
tcdlpds
d4f9472e48 Fix build failure 2023-11-14 23:06:12 +05:30
tcdlpds
fb859f046d Add upstream changes 2023-11-14 22:13:49 +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
pasindu
66bc7e88bd Sync with upstream 2023-10-24 18:47:29 +05:30
pasindu
518bc7271a Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into apim420 2023-10-19 14:34:14 +05:30
tcdlpds
500fa0df98 Add improvements to app registering logic 2023-09-20 09:30:16 +05:30
tcdlpds
088642e7ce Improve API app registration 2023-09-19 13:22:28 +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
Dharmakeerthi Lasantha
938190deca Merge branch 'apim420' of https://repository.entgra.net/community/device-mgt-core into apim420 2023-07-31 11:40:04 +05:30
Dharmakeerthi Lasantha
8289db1af8 Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into sync-master 2023-07-31 11:29:17 +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
Dharmakeerthi Lasantha
fe58a16d17 sync with upstream apim420 2023-07-26 07:32:55 +05:30
Dharmakeerthi Lasantha
8215186061 Revert "Fixes in JWT token generation and sync with upstream apim420 branch"
This reverts commit d567209c11, reversing
changes made to 437c0e642d.
2023-07-26 07:29:08 +05:30
Dharmakeerthi Lasantha
f2243ebd0e Fix formatting issue 2023-07-25 17:33:02 +05:30
Dharmakeerthi Lasantha
dc6bbdd282 Improve functionality and fix formatting issues 2023-07-25 17:30:47 +05:30
Dharmakeerthi Lasantha
087a9fe728 Fix dependency importing issue 2023-07-25 17:29:14 +05:30
Nishan Sangeeth
1844db87d8 Improve app visibility restricting functionality
Co-authored-by: Nishan Sangeeth <nishan@entgra.io>
Co-committed-by: Nishan Sangeeth <nishan@entgra.io>
2023-07-25 17:17:50 +05:30
nishan
50beae1bf8 Remove the user has role validation 2023-07-25 17:11:26 +05:30
navodzoysa
f9b9f76a3c Fix skip app release error 2023-07-25 17:09:26 +05:30
builder
48801a3b8e [maven-release-plugin] prepare for next development iteration 2023-07-25 16:28:51 +05:30
builder
4c1963a32b [maven-release-plugin] prepare release v5.0.26 2023-07-25 16:28:51 +05:30
7ad3a0e21b Add custom loggers (#136)
* Fixes https://roadmap.entgra.net/issues/10117

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

**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
```

* 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-07-25 15:59:45 +05:30
Amalka Subasinghe
5b6b11dc8c fixed unit tests of application-mgt 2023-07-25 15:45:15 +05:30