Commit Graph

7765 Commits

Author SHA1 Message Date
builder
744881d21e [maven-release-plugin] prepare release v5.0.14 2022-11-25 18:02:07 +05:30
Deenath Geeganage
7e914aeafd Device names in endpoint-mgt and traccar are not consistent - Fix (#21)
Fix: [https://roadmap.entgra.net/issues/9656](https://roadmap.entgra.net/issues/9656)

When renaming an agent, the update wasn't send to the traccar server.
Added new methods and combined it with existing agent modification code

Co-authored-by: Deenath Geegange <deenathgeeganage@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/21
Co-authored-by: Deenath  Geeganage <deenathgeeganage@gmail.com>
Co-committed-by: Deenath  Geeganage <deenathgeeganage@gmail.com>
2022-11-25 11:59:56 +00:00
a86da84b6f Merge branch 'master' into traccar-fix 2022-11-25 04:03:41 +00:00
Pahansith Gunathilake
7c2b4bd687 Fix group delete 2022-11-25 09:31:57 +05:30
navodzoysa
93684174d4 Update traccar configuration 2022-11-24 20:24:33 +05:30
Pahansith Gunathilake
e5d7512d0a fix traccar nullpointer error 2022-11-24 18:26:18 +05:30
Vigneshan
17638029d3 Fix group update issue 2022-11-24 10:34:58 +00:00
Arshana
777940b896 Fix SendDeviceNameChangedNotification 2022-11-24 13:23:46 +05:30
Vigneshan
96b07648ca Update token introspection endpoint inside user handler 2022-11-23 16:56:38 +00:00
Vigneshan
1ac460a4fe Fix signature validation issue for jwt token requests 2022-11-23 15:14:24 +00:00
Vigneshan
65d18fd037 Fix invalid admin credentials issue in token endpoint 2022-11-23 09:01:25 +00:00
navodzoysa
a78da4a4a9 Fix build failure 2022-11-23 12:12:10 +05:30
Arshana
5e612ceaf2 Add capability to send a notification when device rename 2022-11-23 00:00:52 +05:30
Vigneshan
d28edf1b88 Modify password and client_credentials grant handling 2022-11-22 16:32:49 +00:00
Vigneshan
5693977b01 Update token api success response status code 2022-11-21 15:12:30 +00:00
1cf14c19f6 Merge branch 'master' into fix/key-mgt-api 2022-11-20 18:50:23 +00:00
Vigneshan
dd553a2326 Improve error handling for token endpoint 2022-11-17 20:47:42 +00:00
Amalka Subasinghe
ec7ebcc384 added device-extensions, logger, default-role-manager, stateengine (#8)
Co-authored-by: Amalka Subasinghe <amalkasubasinghe@gmail.com>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/8
Co-authored-by: Amalka Subasinghe <amalka@entgra.io>
Co-committed-by: Amalka Subasinghe <amalka@entgra.io>
2022-11-17 02:04:11 +00:00
builder
b18ddfedce [maven-release-plugin] prepare for next development iteration 2022-11-15 09:29:05 +05:30
builder
ec8d08ca63 [maven-release-plugin] prepare release v5.0.13 2022-11-15 09:29:00 +05:30
Vigneshan
0d43e7d6aa Fix dcr and token endpoint related issues 2022-11-14 14:12:58 +00:00
builder
b9f2bf9246 [maven-release-plugin] prepare for next development iteration 2022-11-11 01:43:26 +05:30
builder
8f610eea63 [maven-release-plugin] prepare release v5.0.12 2022-11-11 01:42:41 +05:30
Dharmakeerthi Lasantha
388ae39fef Add device mgt denying exception class 2022-11-10 19:48:28 +00:00
Shamalka Navod
df5cdb5240 Fix traccar issues (#5)
* Fix traccar client thredpool issue
* Refactor traccar implementation
* Fix traccar loading issue

Co-authored-by: shamalka <shamalkanavod95@gmail.com>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/5
Co-authored-by: Shamalka Navod <shamalka@entgra.io>
Co-committed-by: Shamalka Navod <shamalka@entgra.io>
2022-11-10 15:36:55 +00:00
Pahansith Gunathilake
3332d8e85e Merge branch 'swagger-fix' into 'master'
Swagger fix

See merge request entgra/carbon-device-mgt!921
2022-10-12 13:26:53 +00:00
Shamalka Navod
3384b597f9 Improve device name search 2022-10-05 18:10:49 +00:00
Kavindya Sathsarani
bb5f779c26 Add a searchable input for App Restriction Settings policy 2022-10-04 09:37:45 +00:00
Dharmakeerthi Lasantha
d1f41971dd Merge branch 'improvement_policy_ui' into 'master'
Improve table component structure of the policy config

See merge request entgra/carbon-device-mgt!923
2022-09-29 03:30:24 +00:00
inoshperera
7235f84c3a Fixes app management related swaggers 2022-09-28 16:20:48 +05:30
kavindyaS007
92f2a6f50d improvements in policy ui 2022-09-28 13:08:31 +05:30
inoshperera
c14047f913 Fix issues in the swagger related to URLs 2022-09-28 11:13:00 +05:30
inoshperera
0fc27682df Test case fix and logs added
Related to https://gitlab.com/entgra/product-iots/-/issues/1541
2022-09-27 08:00:40 +05:30
inoshperera
e9cf04551a Fix ios enrolment error
fixes https://gitlab.com/entgra/product-iots/-/issues/1541
2022-09-23 06:57:52 +05:30
inoshperera
259795a274 fix swagger syntax issues 2022-09-20 22:09:41 +05:30
builder
223637c887 [maven-release-plugin] prepare for next development iteration 2022-09-14 20:25:10 +05:30
builder
b7311af447 [maven-release-plugin] prepare release v5.0.11 2022-09-14 20:25:02 +05:30
Amalka Subasinghe
5f1271db93 Fixes related to publishing ws api and routing requests 2022-09-12 06:03:21 +00:00
shamalka
eaad94b3e9 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into traccar 2022-09-02 00:33:35 +05:30
shamalka
83be953583 Fix issues 2022-09-02 00:33:22 +05:30
Pahansith Gunathilake
fef1d41d39 Merge branch 'ldap-fixes' into 'master'
Add optional user store domain query param to user APIs

See merge request entgra/carbon-device-mgt!892
2022-09-01 18:15:58 +00:00
Oshani Silva
cc98f6a881 Update config files to fix billing UI isssues 2022-09-01 09:15:50 +00:00
shamalka
d61814329c Revert global exception msg 2022-09-01 11:03:45 +05:30
Rushdi
df60140f9c Remove unwanted codelines and handle exceptions 2022-08-31 20:38:33 +05:30
Rushdi
ce0d0a1903 revert changes 2022-08-31 16:07:34 +05:30
shamalka
c68478daca Fix formatting issues 2022-08-30 09:10:20 +05:30
shamalka
642067b146 Remove wildcard imports 2022-08-29 17:17:43 +05:30
shamalka
c312e69bf4 Revert unwanted change 2022-08-29 17:14:10 +05:30
shamalka
b311908d47 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into traccar 2022-08-29 17:09:05 +05:30
shamalka
31bb87db41 Add missing error logs and fix formatting issues 2022-08-29 17:07:49 +05:30
Pahansith Gunathilake
d21782160a Merge branch 'dev-1' into 'master'
Fix validation of appname when a webclip is created

See merge request entgra/carbon-device-mgt!874
2022-08-25 13:41:54 +00:00
Pahansith Gunathilake
6962e42ca8 Merge branch 'fix-groupnames' into 'master'
Fix group names being able to be duplicated when renaming

See merge request entgra/carbon-device-mgt!907
2022-08-25 13:40:55 +00:00
Pahansith Gunathilake
a50d37bbf2 Merge branch 'support-4.1.15' into 'master'
Add Windows app uninstallation feature

See merge request entgra/carbon-device-mgt!904
2022-08-25 10:41:14 +00:00
shamalka
5ff9ef7782 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into traccar 2022-08-23 16:00:16 +05:30
Rushdi
29a2713af0 update the traccar-config.xml on test 2022-08-16 10:26:58 +05:30
navodzoysa
6b6e9ba640 Fix group names being able to be duplicated when renaming 2022-08-03 15:07:26 +05:30
navodzoysa
6a62546440 Add optional user domain query param to user APIs 2022-08-01 20:06:51 +05:30
Vigneshan
638c6b12c9 Fix cross-tenant api subscription issue 2022-07-23 17:13:11 +05:30
builder
3c9fc68619 [maven-release-plugin] prepare for next development iteration 2022-07-18 23:07:51 +05:30
builder
0b4fe08847 [maven-release-plugin] prepare release v5.0.10 2022-07-18 23:07:47 +05:30
Vigneshan
ebc5f5de31 Implement multi-tenant api publishing 2022-07-15 11:10:47 +05:30
builder
0290758c25 [maven-release-plugin] prepare for next development iteration 2022-07-12 01:22:56 +05:30
builder
790ab62b34 [maven-release-plugin] prepare release v5.0.9 2022-07-12 01:22:51 +05:30
navodzoysa
c8527bd08b Add Windows app uninstallation feature 2022-07-04 12:15:43 +05:30
builder
7f96ce3c33 [maven-release-plugin] prepare for next development iteration 2022-06-27 19:20:21 +05:30
builder
e851e21bcd [maven-release-plugin] prepare release v5.0.8 2022-06-27 19:19:48 +05:30
Vigneshan
c974c4a0f0 Fix admin role not assigned issue during admin user creation 2022-06-16 13:53:07 +05:30
Rushdi
120c1150ce fix traccar speed measure on kmh 2022-06-13 12:14:22 +05:30
Rushdi
6f79180920 removed unwanted codes 2022-06-09 17:40:09 +05:30
Rushdi
e88d5e9c3b Add traccar configuration on p2.inf and updated mysql.sql 2022-06-09 01:28:17 +05:30
Rushdi
ab332e20ed Fix platform configuration for traccar 2022-06-03 16:11:18 +05:30
Rushdi
9f642701ea fix merge conflicts 2022-05-30 17:33:07 +05:30
Rushdi
f4d0050270 fix removing permission and organizing the code 2022-05-30 15:58:09 +05:30
Rushdi
83651efcb5 Remove unwanted codes 2022-05-30 15:52:21 +05:30
Rushdi
35a5230ef7 Fix admin login to tracker 2022-05-30 15:52:10 +05:30
Rushdi
a521985e98 Update tracker get token api 2022-05-30 15:52:09 +05:30
Rushdi
6b3294bd60 Update tracker get token api 2022-05-30 15:49:32 +05:30
Rushdi
11fa624b39 Add tracker API endpoint to return user token 2022-05-30 15:48:40 +05:30
Rushdi
6ccddf3f4b Update remove permission 2022-05-30 15:48:40 +05:30
Rushdi
6ce4168d75 Update permissions 2022-05-30 15:48:30 +05:30
Rushdi
515e826711 Update with callable thread and add set/remove user permission on enroll/disenroll device 2022-05-30 15:48:29 +05:30
Rushdi
74adeda997 Assign device to user when enrolling a device 2022-05-30 15:45:45 +05:30
Rushdi
2ebc24985a Create user when enrolling device 2022-05-30 15:45:45 +05:30
Rushdi
bd164ea78f fix NullPointerException 2022-05-30 15:45:44 +05:30
Rushdi
5c14315b4a Add JSONException 2022-05-30 15:45:23 +05:30
Rushdi
44ac5c8a8f Fixed the bugs 2022-05-30 15:45:13 +05:30
Rushdi
d1f2bdb296 update the threadpool apporoach/ add traccar devices/groups for existing UEM devices/groups 2022-05-30 15:44:09 +05:30
Rushdi
c3dd560878 Update group add/update/delete and device enroll/disenroll with traccar 2022-05-30 15:43:58 +05:30
Rushdi
9f6eaedbc3 check if location publishing to traccar enable or disabled 2022-05-30 15:39:15 +05:30
Rushdi
53f4fd7ebc Add add/delete a group from traccar 2022-05-30 15:39:03 +05:30
Rushdi
1dd2e35f89 Update traccar cofiguration 2022-05-30 15:38:48 +05:30
Rushdi
2e5a9002da Update traccar configuration 2022-05-30 15:37:24 +05:30
Rushdi
c18b3b1c1f Update the code structure 2022-05-30 15:36:59 +05:30
Rushdi
4e3567202d Update with okhttclient pool and threading 2022-05-30 15:36:59 +05:30
Rushdi
8d99123ec1 Update with Traccar Dis-Enrolling a Device via UEM 2022-05-30 15:36:58 +05:30
Rushdi
c4d75234b0 Initiate traccar to locate the geo locations in the map 2022-05-30 15:36:58 +05:30
builder
8636767cba [maven-release-plugin] prepare for next development iteration 2022-05-10 01:41:05 +05:30
builder
9af9bea2b6 [maven-release-plugin] prepare release v5.0.7 2022-05-10 01:41:01 +05:30
Pahansith Gunathilake
a7a567c971 Fix parse pom 2022-05-09 19:59:31 +00:00
Pahansith Gunathilake
7a250b9d11 Fix issue in parsing pom.xml in APIM keymgt module 2022-05-09 23:45:42 +05:30
Pahansith Gunathilake
d1754b465e Merge branch 'fix/permissions' into 'master'
Fix identity server connect permission

See merge request entgra/carbon-device-mgt!887
2022-05-09 04:36:44 +00:00
Pahansith Gunathilake
075b9be096 Merge branch 'fix/application/by/uuid/isFavourite' into 'master'
Fix favorite application bean issue

See merge request entgra/carbon-device-mgt!888
2022-05-09 04:36:30 +00:00
Pahansith Gunathilake
4d76be36de Merge branch 'user-store' into 'master'
Add new API to fetch userstores

See merge request entgra/carbon-device-mgt!884
2022-05-08 19:04:45 +00:00
navodzoysa
b62b4aebc3 Add new API to fetch userstores 2022-05-08 22:09:08 +05:30
Pahansith Gunathilake
b894d371fb Merge branch 'master' into 'master'
Implement api keymgt extension

See merge request entgra/carbon-device-mgt!890
2022-05-02 06:26:31 +00:00
Vigneshan
2e8d1fabf0 Implement api keymgt extension 2022-05-02 11:34:45 +05:30
Pahansith Gunathilake
47fb2c77f5 Merge branch 'billing-api-1226' into 'master'
Adding the new billing API

See merge request entgra/carbon-device-mgt!848
2022-05-02 06:04:00 +00:00
Mohamed Rashd
a98e1e4b24 Improve logging message 2022-04-29 17:53:42 +05:30
Mohamed Rashd
3b3c89849e Fix favourite flag being always false when getting application by uuid 2022-04-28 16:18:09 +05:30
builder
817dc57862 [maven-release-plugin] prepare for next development iteration 2022-04-26 06:12:00 +00:00
builder
7196d2daea [maven-release-plugin] prepare release v5.0.6 2022-04-26 06:11:55 +00:00
Mohamed Rashd
ab053807b3 Fix application managment test 2022-04-26 11:10:42 +05:30
Mohamed Rashd
75f825a713 Fix dbscript syntax 2022-04-25 16:01:44 +05:30
Pahansith Gunathilake
331ccf4710 Merge branch 'fix/wrong/method/name' into 'master'
Fix using wrong method name

See merge request entgra/carbon-device-mgt!882
2022-04-25 08:04:24 +00:00
Pahansith Gunathilake
da509f5c69 Merge branch 'policy-load' into 'master'
Add new API to fetch UI policy list

See merge request entgra/carbon-device-mgt!881
2022-04-25 08:04:13 +00:00
Pahansith Gunathilake
19872ea3b5 Merge branch 'windows-fixes' into 'master'
Temp fix for windows enrollment permission url mismatch

See merge request entgra/carbon-device-mgt!877
2022-04-25 08:03:46 +00:00
Pahansith Gunathilake
1f641966fe Merge branch 'fix-1290' into 'master'
Fix API access issues under child tenant

See merge request entgra/carbon-device-mgt!879
2022-04-25 03:54:00 +00:00
Mohamed Rashd
631851f7e1 Fix using wrong method name 2022-04-19 17:19:10 +05:30
navodzoysa
340be6ed65 Add new API to fetch UI policy list 2022-04-18 22:46:06 +05:30
Mohamed Rashd
c66fa5bd60 Fix application conf error message 2022-04-18 19:06:26 +05:30
Mohamed Rashd
9df320dd3b Resolve merge conflict 2022-04-18 14:30:12 +05:30
Mohamed Rashd
aa2fa45a5f Tempory merge conflict resolution 2022-04-16 00:28:05 +05:30
inoshperera
f233f3d916 Fix API access issues under child tenant
fixes https://gitlab.com/entgra/product-iots/-/issues/1290
2022-04-14 13:24:04 +05:30
Mohamed Rashd
41a0c9118a Add java doc comments
Use try-with resource when using CloseableHttpClient
Refactor few variable and method names
2022-04-12 18:02:45 +05:30
navodzoysa
cf0be2ad93 Temp fix for windows enrollment permission url mismatch 2022-04-12 08:28:06 +05:30
osh
f86617a264 Add the sql files
fixes https://gitlab.com/entgra/product-iots/-/issues/1226
2022-04-07 09:42:35 +05:30
Mohamed Rashd
daaeed52e2 Add and Change licence from WSO2 to Entgra 2022-04-06 11:08:33 +05:30
Mohamed Rashd
db1aab1f3a Add identity service provider config 2022-04-06 01:01:22 +05:30
Mohamed Rashd
c58f837585 Complete Identity Server create/delete/update APIs 2022-04-06 00:55:18 +05:30
osh
7ba8311c93 fix conflict
fixes https://gitlab.com/entgra/product-iots/-/issues/1226
2022-04-05 23:04:41 +05:30
osh
5ad9e3e6b4 Add billing data export api
fixes https://gitlab.com/entgra/product-iots/-/issues/1226
2022-04-05 22:59:23 +05:30
Gimhan-minion
aed8d6f277 Fix validation of appname when a webclip is created 2022-03-23 19:43:53 +05:30
builder
946a12b84d [maven-release-plugin] prepare for next development iteration 2022-03-22 12:54:48 +00:00
builder
f55ffbb19a [maven-release-plugin] prepare release v5.0.5 2022-03-22 12:54:43 +00:00
Mohamed Rashd
38f9b60970 Fix sql query that gets subscribed devices 2022-03-21 18:21:40 +05:30
builder
39216aa651 [maven-release-plugin] prepare for next development iteration 2022-03-18 03:48:22 +00:00
builder
8deff13edd [maven-release-plugin] prepare release v5.0.4 2022-03-18 03:48:17 +00:00
Pahansith Gunathilake
15b5aaa340 Merge branch 'feature1277' into 'master'
Generate QR with access token for given user

See merge request entgra/carbon-device-mgt!867
2022-03-18 03:39:05 +00:00
Mohamed Rashd
c0e5edded2 Add sql scripts to favourites table
Fix error logging in DAO layer
2022-03-17 23:39:31 +05:30
Pahansith Gunathilake
788eea4e26 Merge branch 'fix-group-search' into 'master'
Fix syntax error in group search while uninstalling apps

See merge request entgra/carbon-device-mgt!869
2022-03-16 08:17:33 +00:00
Pahansith Gunathilake
236d356a26 Merge branch 'pr/temp/feature/subscription/status/change' into 'master'
API to change application subscription status

See merge request entgra/carbon-device-mgt!868
2022-03-16 06:30:07 +00:00
Mohamed Rashd
59b2aa42b4 Fix duplicate devices in subscription log 2022-03-14 17:41:01 +05:30
Muhammad Rashad
65f5efb638 Add APIs to get favourite apps 2022-03-14 06:09:01 +00:00
Pahansith Gunathilake
c1cb8905fc Fix syntax error in group search while uninstalling apps 2022-03-12 01:06:30 +05:30
osh
a4b2a325b1 Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt into billing-api-1226 2022-03-11 01:38:59 +05:30
osh
053a57c4f5 Add getting billing cost by domain change
fixes https://gitlab.com/entgra/product-iots/-/issues/1226
2022-03-11 01:38:48 +05:30
Mohamed Rashd
0dd9bb2937 Add operation status update wrapper api to store 2022-03-11 00:31:37 +05:30
inoshperera
51cd59f436 Generate QR with access token for given user
fixes https://gitlab.com/entgra/product-iots/-/issues/1277
2022-03-10 16:33:09 +05:30
Mohamed Rashd
3f60a0cdda Fix sql query columns
Add createIdentityServer method to all DAOs
2022-03-08 08:27:00 +05:30
Mohamed Rashd
3dd0690552 Add identity server config
Add api to create identity server
Return List of identity servers withtout extra bean for response
2022-03-07 21:58:43 +05:30