Commit Graph

7239 Commits

Author SHA1 Message Date
Ace
2ae8c126e8 fixing issues with activity retrieval 2020-10-15 21:01:24 +05:30
Pahansith
bc7e39c883 Add geo fence search and geo cache 2020-10-15 10:05:37 +05:30
shamalka
90ed562647 Improve device location history API 2020-10-13 16:11:46 +05:30
Pahansith
09b1711b9c Add polygon type fence support 2020-10-12 22:09:43 +05:30
tcdlpds@gmail.com
f85224f4ad Update device cache if the device status has updated and the device info has updated 2020-10-08 20:00:20 +05:30
tcdlpds@gmail.com
ce81eac413 Improve endpoint-mgt functionalities 2020-10-08 18:49:12 +05:30
charitha
8493879151 Fixes for device enrollment status change issues 2020-10-08 18:49:12 +05:30
charitha
fb3da8c94d Fixes for device enrollment status change issues 2020-10-08 17:14:00 +05:30
Kaveesha
79f1afe8e4 Improve Select class with APISelect class changes in policy mgt ui pack 2020-10-08 12:42:32 +05:30
tcdlpds@gmail.com
daa24a5922 Fix merge conflicts 2020-10-03 00:27:44 +05:30
tcdlpds@gmail.com
a0b882f755 Fix geo fence deleting issue 2020-10-02 06:33:58 +05:30
Pahansith
83236eb3ac Fix geofence update issue 2020-10-01 19:48:00 +05:30
tcdlpds@gmail.com
7fad79643e Fix mail sending issue when policy violated 2020-10-01 14:23:53 +05:30
Inosh Perara
fcd4bc1a41 Merge branch 'corrective-policy' into 'corrective-policy'
Improve mail sending logic

See merge request entgra/carbon-device-mgt!656
2020-10-01 07:13:04 +00:00
Pahansith Gunathilake
bda0a46429 Merge branch 'corrective-policy' into 'corrective-policy'
Fix payload parsing issue

See merge request entgra/carbon-device-mgt!655
2020-10-01 07:12:16 +00:00
tcdlpds@gmail.com
f32e76346f Improve mail sending logic 2020-10-01 12:38:22 +05:30
Pahansith
635adbb04f Fix payload parsing issue 2020-10-01 12:36:30 +05:30
tcdlpds@gmail.com
4fdfc07e64 Fix SQL syntax error 2020-10-01 12:09:20 +05:30
tcdlpds@gmail.com
b3d1badd1f Improve API interface text 2020-10-01 00:41:22 +05:30
tcdlpds@gmail.com
6014592f2c Add mail sending feature when policy violating 2020-10-01 00:35:22 +05:30
tcdlpds@gmail.com
f9bcb808f9 Improve device location history getting and storing functionalities 2020-10-01 00:35:21 +05:30
Inosh Perara
f7843e5c35 Merge branch 'geofence-api' into 'corrective-policy'
Fix geofence creation validation

See merge request entgra/carbon-device-mgt!651
2020-09-30 18:33:40 +00:00
Inosh Perara
cc8fa5dfb5 Merge branch 'geofencing-feature' into 'corrective-policy'
Add geofence policy transform

See merge request entgra/carbon-device-mgt!644
2020-09-30 18:33:19 +00:00
Pahansith
618b8962b3 Add doc comments 2020-09-30 22:08:31 +05:30
Pahansith
48e1241de6 Add email type corrective action transform 2020-09-30 21:44:03 +05:30
Pahansith
b33c5a312f Fix geofence creation validation 2020-09-30 19:42:00 +05:30
Inosh Perara
f9b25b95a2 Merge branch 'geofence-api' into 'corrective-policy'
Fix issue in geofence creation

See merge request entgra/carbon-device-mgt!650
2020-09-30 13:45:48 +00:00
Dharmakeerthi Lasantha
daaa44a2ea Merge branch 'corrective-policy' into 'corrective-policy'
Add APISelect class to policy mgt ui pack

See merge request entgra/carbon-device-mgt!647
2020-09-30 13:44:29 +00:00
Saad Sahibjan
9998ec3669 Allow other statuses to update the device status 2020-09-30 18:14:57 +05:30
Pahansith
5e98e816cf Fix issue in geofence creation 2020-09-30 18:04:28 +05:30
Pahansith
206f433a9f Improve code 2020-09-30 16:49:45 +05:30
Pahansith
9c362eabf0 Add geofence policy transform 2020-09-30 16:49:45 +05:30
Pahansith
47dc8ec708 Add Geo Json and fence shape attributes 2020-09-30 14:05:06 +05:30
Kaveesha
ac41aa7119 Add APISelect class to policy mgt ui pack 2020-09-30 13:35:07 +05:30
charitha
c6fef5d0d1 Add task operation with list of device ids 2020-09-30 10:13:10 +05:30
Inosh Perara
de4f3f64fe Merge branch 'geofence-api' into 'corrective-policy'
Create geofence APIs

See merge request entgra/carbon-device-mgt!641
2020-09-29 08:32:41 +00:00
Pahansith
91e28b71ab Merge branch 'corrective-policy' of https://gitlab.com/entgra/carbon-device-mgt into corrective-action
 Conflicts:
	components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/mgt/impl/PolicyManagerImpl.java
2020-09-29 13:11:36 +05:30
tcdlpds@gmail.com
90dac0a101 Add location bean classes and format the source 2020-09-24 08:53:35 +05:30
Pahansith
3c7c05b5e9 Fix reactive action issue 2020-09-21 21:03:10 +05:30
Pahansith
ca6b937a3a Create geofence API definitions 2020-09-21 12:04:25 +05:30
Pahansith
291859bf55 Add test DB scripts 2020-09-21 11:53:13 +05:30
Pahansith
3241831ead Change reactive action 2020-09-21 11:27:46 +05:30
Kaveesha
6104d26ebe Add device name to Geo Cluster Locations data list 2020-09-15 13:32:19 +05:30
tcdlpds@gmail.com
bbecbb6f8a Fix build failure 2020-09-12 08:43:38 +05:30
Kaveesha
e9400a0888 Fix QR generating issue in Cloud App 2020-09-09 23:40:06 +05:30
tcdlpds@gmail.com
e96145db25 Improve APPM subscribing flow 2020-09-09 09:52:30 +05:30
anjula-sack
d9c12bfca6 Remove duplicated EsLint dependencies from APPM publisher 2020-08-27 20:33:35 +05:30
Dharmakeerthi Lasantha
c4008efed0 Merge branch 'master' into 'master'
Add error log for backend policy validation failure

See merge request entgra/carbon-device-mgt!635
2020-08-27 13:41:34 +00:00
Saad Sahibjan
7558f82a76 Add error log for backend policy validation failure 2020-08-27 18:40:21 +05:30
tcdlpds@gmail.com
ef8af6b454 Fix APPM custom permission loading issue 2020-08-27 05:30:47 +05:30
tcdlpds@gmail.com
215b8fb630 Fix formatting issues 2020-08-27 05:18:02 +05:30
Pahansith
d08f20d90e Fix code review discussions 2020-08-26 06:47:38 +05:30
Pahansith
a24879f551 Add payload parsing for old type corrective actions 2020-08-26 06:47:38 +05:30
Pahansith
2724d8ac03 Optimize policy pick strategy for corrective action implementation 2020-08-26 06:47:38 +05:30
Pahansith
684ff5df7f Fix test failures 2020-08-26 06:47:38 +05:30
Pahansith
e486db868e Change policy 2020-08-26 06:47:38 +05:30
Dharmakeerthi Lasantha
1919fbde16 Add new feature to install applications for device 2020-08-25 18:04:46 +00:00
Saad Sahibjan
a615f14ec5 Replace Icon with EditOutlined 2020-08-25 19:27:02 +05:30
Saad Sahibjan
b15ae2c48c Add unrestricted roles editing functionality 2020-08-25 18:53:44 +05:30
Inosh Perara
fcd92bc10e Merge branch 'tenant-improve' into 'master'
Add OTP service and it's features

See merge request entgra/carbon-device-mgt!624
2020-08-23 07:49:59 +00:00
tcdlpds@gmail.com
8aeb4d22ea Improve code formatting 2020-08-21 09:18:55 +05:30
tcdlpds@gmail.com
b1845d9b42 Update user welcome mail body 2020-08-19 22:38:34 +05:30
tcdlpds@gmail.com
d53f56c96b Complete self registration via OTP service 2020-08-18 08:17:56 +05:30
Saad Sahibjan
322981fe5a Use DEVICE_ENROLLMENT email type to create OTP 2020-08-17 12:15:54 +05:30
Saad Sahibjan
0e018679b8 Modify test cases related to device enrollment invitation 2020-08-17 12:15:54 +05:30
Saad Sahibjan
1b0c19cb02 Add device enrollment invitation beans 2020-08-17 12:15:54 +05:30
Saad Sahibjan
ff00f26c83 Implement retrieval of DeviceEnrollmentInvitationDetails from the device management service 2020-08-17 12:15:54 +05:30
Saad Sahibjan
d2ab4c6710 Implement retrieval of DeviceEnrollmentInvitationDetails from device type xml files 2020-08-17 12:15:54 +05:30
Saad Sahibjan
d97de23ece Modify send-invitation API to send enrollment steps and OTP token 2020-08-17 12:15:54 +05:30
Saad Sahibjan
58217ac77a Implement service to create OTP and to send device enrollment invitation 2020-08-17 12:15:54 +05:30
tcdlpds@gmail.com
ea6b8c7536 Fix invoker loading issue 2020-08-17 01:03:55 +05:30
tcdlpds@gmail.com
a55a3b6ebd Improve OTP service 2020-08-16 08:46:59 +05:30
tcdlpds@gmail.com
a3510cbee1 Add email enum 2020-08-13 12:15:06 +05:30
tcdlpds@gmail.com
86912915fd Fix user verifying functionality in OTP 2020-08-12 20:17:17 +05:30
tcdlpds@gmail.com
e2a143cde0 Improve user verifying mail sending logic 2020-08-12 12:27:26 +05:30
Turcy
9759e7d57a Fix user-invitation email issues 2020-08-12 03:42:42 +05:30
tcdlpds@gmail.com
0a2836c599 Add OTP invoker 2020-08-11 13:36:58 +05:30
tcdlpds@gmail.com
648cffaa17 Generalize OTP creation 2020-08-10 14:16:33 +05:30
tcdlpds@gmail.com
8494f0bc58 Improve OTP creating logic 2020-08-10 10:42:53 +05:30
Shamalka Navod
1ff61da1c4 Sort getAllNotifications API in DESC order 2020-08-06 18:09:35 +00:00
inoshperera
b61e9a667b Improve token validation login in valve 2020-08-04 20:12:37 +05:30
inoshperera
18531d0500 Add tenant ID and username to all layers 2020-08-04 19:39:05 +05:30
tcdlpds@gmail.com
59eeec55d6 Fix OSGI loading issue in web app authenticator 2020-08-04 07:47:53 +05:30
Dharmakeerthi Lasantha
efee2b01bf Improve OTP creating functionality 2020-08-03 09:11:02 +05:30
Dharmakeerthi Lasantha
3d2f474e75 Improve OTP creating functionality 2020-07-30 12:54:35 +00:00
tcdlpds@gmail.com
0d48f9d38c Improve One Time Token Authenticator 2020-07-30 03:06:57 +05:30
inoshperera
160c463672 Add token validation with one time token
This is to validate one time tokens in the APIM handlers and in the valve
2020-07-26 23:05:01 +05:30
inoshperera
640a50ccd9 Merge branch 'tenant-improve' of https://gitlab.com/entgra/carbon-device-mgt into tenant-improve 2020-07-26 11:05:38 +05:30
Inosh Perara
d8f6e6765a Merge branch 'master' into 'tenant-improve'
Add OTP managing functionality

See merge request entgra/carbon-device-mgt!602
2020-07-26 05:33:33 +00:00
tcdlpds@gmail.com
709a7ab592 Add OTP managing functionality 2020-07-25 07:56:38 +05:30
inoshperera
a7af883962 Add tenant create API 2020-07-23 20:45:30 +05:30
Inosh Perara
0fec9f1db3 Merge branch 'tenant-improve' into 'tenant-improve'
Add one time token bean

See merge request entgra/carbon-device-mgt!600
2020-07-23 15:14:28 +00:00
Dharmakeerthi Lasantha
21010b7996 Merge branch 'migration' into 'master'
Migrate APPM Store UI from antd v3 to v4

Closes product-iots#579

See merge request entgra/carbon-device-mgt!585
2020-07-22 17:44:17 +00:00
inoshperera
3208870840 Add one time token bean 2020-07-22 21:27:56 +05:30
Dharmakeerthi Lasantha
951d0dd743 Merge branch 'publisher-icons' into 'master'
Change Legacy Icons to antd's v4 icons in APPM publisher

Closes product-iots#590

See merge request entgra/carbon-device-mgt!587
2020-07-22 02:10:03 +00:00
Ace
c1c736b607 Adding fix for policy application upon adding devices to group 2020-07-21 08:23:30 +05:30
Ace
4b58b46d8b Merge branch 'master' of https://gitlab.com/entgra/carbon-device-mgt 2020-07-18 15:53:07 +05:30
Ace
3ea16eaf7d Adding capability for policies to be added/removed automatically when devices are added/removed from a group 2020-07-18 15:52:41 +05:30
shamalka
2ec29701a1 Fix get default token issues 2020-07-17 23:52:25 +05:30
Dharmakeerthi Lasantha
2adda8ba6d Merge branch 'master' into 'master'
Construct API endpoint to get default token

See merge request entgra/carbon-device-mgt!596
2020-07-17 14:03:45 +00:00
tcdlpds@gmail.com
45e753f68f Construct API endpoint to get default token 2020-07-17 19:31:38 +05:30
Inosh Perara
571f8f3ecb Merge branch 'master' into 'master'
Handle change of device name

See merge request entgra/carbon-device-mgt!593
2020-07-17 12:12:55 +00:00
tcdlpds@gmail.com
44ba40fe7d Improve proxy handler 2020-07-17 17:13:12 +05:30
Dharmakeerthi Lasantha
35782a79fc Merge branch 'support-4.1.8' into 'master'
Add API to get default token by using client ID and secret

See merge request entgra/carbon-device-mgt!592
2020-07-17 08:35:02 +00:00
Dharmakeerthi Lasantha
8e66dd1df7 Merge branch 'master' into 'master'
Add Default Token Handling Servlet

See merge request entgra/carbon-device-mgt!594
2020-07-17 08:33:10 +00:00
tcdlpds@gmail.com
1f94415f7f Add API to get default token by using client ID and secret 2020-07-17 12:06:33 +05:30
inoshperera
43a6c710ad Handle change of device name 2020-07-17 08:11:44 +05:30
tcdlpds@gmail.com
e0eb4316f4 Add Default Token Handling Servlet 2020-07-17 06:25:54 +05:30
Dharmakeerthi Lasantha
e9a2018972 Merge branch 'master' into 'master'
Upgrade the npm version of maven build

Closes product-iots#567

See merge request entgra/carbon-device-mgt!577
2020-07-16 15:09:23 +00:00
Saad Sahibjan
42ec923700 Merge branch 'master' into 'master'
Create default roles and assign permissions

See merge request entgra/carbon-device-mgt!590
2020-07-14 06:18:38 +00:00
Dharmakeerthi Lasantha
b8e17857e0 Merge branch 'master' into 'master'
Fix incorrect instantiations of Provider Services

See merge request entgra/carbon-device-mgt!584
2020-07-14 01:54:07 +00:00
Charitha Goonetilleke
211c1e326a Fix incorrect instantiations of Provider Services 2020-07-14 01:54:06 +00:00
tcdlpds@gmail.com
3d38bd5570 Create default roles and assign permissions
When adding new tenant and if the server has configured to add default roles and assign permissions, this PR facilitates to achieve it.
2020-07-11 21:20:21 +05:30
Kaveesha
b3278d010f Update Item bean 2020-07-07 19:49:35 +05:30
anjula-sack
111e32e97d Change Legacy Icons to antd's v3 icons in APPM publisher 2020-07-05 13:25:08 +05:30
anjula-sack
4f8d29456b Migrate APPM Publisher UI from antd v3 to v4 2020-06-28 15:42:01 +05:30
anjula-sack
080aeb39e0 Migrate APPM Store UI from antd v3 to v4 2020-06-26 21:19:15 +05:30
Dharmakeerthi Lasantha
b3f395b284 Merge branch 'master' into 'master'
Retrieve enrollment config from general config and support serilnumber based config with user based

See merge request entgra/carbon-device-mgt!578
2020-06-25 04:12:13 +00:00
Dharmakeerthi Lasantha
4ff9a9222c Merge branch 'new-improvements' into 'master'
Fix role delete

See merge request entgra/carbon-device-mgt!582
2020-06-23 14:54:13 +00:00
Entgra Builder
a9a39a5055 [maven-release-plugin] prepare for next development iteration 2020-06-22 10:06:05 +00:00
shamalka
add8570f65 Fix role delete 2020-06-22 15:36:05 +05:30
Entgra Builder
f34bddff2f [maven-release-plugin] prepare release v4.1.10 2020-06-22 10:05:57 +00:00
Dharmakeerthi Lasantha
0f9fee8437 Merge branch 'copyright' into 'master'
Change the copyright year in APPM Publisher and Store

See merge request entgra/carbon-device-mgt!581
2020-06-22 09:15:19 +00:00
Inosh Perara
f47f6bfde7 Merge branch 'master' into 'master'
Persit multiple locations in bulk

See merge request entgra/carbon-device-mgt!580
2020-06-22 09:09:13 +00:00
anjula-sack
2dbbf5bc79 Change the copyright year in APPM Publisher and Store 2020-06-22 11:48:19 +05:30
inoshperera
9ea055853a Persit multiple locations in bulk 2020-06-22 09:17:59 +05:30
anjula-sack
e85d3af9c0 Upgrade the npm version of mvn build 2020-06-19 19:08:35 +05:30
Ace
f8c00375d7 Fixing null pointer during APIM scope validation 2020-06-19 18:15:37 +05:30
Saad Sahibjan
b66e804091 Retrieve enrollment config from general config and support serilnumber based config with user based 2020-06-19 15:22:32 +05:30
Charitha Goonetilleke
e20b0459a2 Merge branch 'master' into 'master'
Execute device detail retriever and monitoring task for all tenant

See merge request entgra/carbon-device-mgt!575
2020-06-13 05:32:17 +00:00
Saad Sahibjan
07e56d68f5 Set tenant through tenant domain auto resolve method 2020-06-13 10:27:23 +05:30
Shamalka Navod
d054c2a383 Add file types to upload bean class 2020-06-12 15:23:34 +00:00
Saad Sahibjan
da5a1caf2b Execute device detail retreiver and monitoring task for all tenant 2020-06-12 20:43:17 +05:30
Kaveesha
90c45dc387 Update Select bean 2020-06-12 17:26:29 +05:30
Shamalka Navod
eb107f5051 Improve policy bean classes 2020-06-12 11:42:54 +00:00
Kaveesha
4fde345a23 Update Item bean by adding Nullable value 2020-06-12 11:13:55 +05:30
Shamalka Navod
f6ebcd5303 Add InputList bean 2020-06-10 20:34:16 +00:00
Kaveesha
778fab112f Add new classes to get rules in UI params 2020-06-08 23:07:13 +05:30
Shamalka Navod
fc3e1faeb6 Add application Life cycle history UI 2020-06-05 05:07:37 +00:00
tcdlpds@gmail.com
d0cdabe772 Fix APPM lifecycle history loading issue 2020-06-04 21:15:45 +05:30
Entgra Builder
5660ff5876 [maven-release-plugin] prepare for next development iteration 2020-06-04 09:58:55 +00:00
Entgra Builder
688de9214d [maven-release-plugin] prepare release v4.1.9 2020-06-04 09:58:49 +00:00
shamalka
404b1b11a9 Improve description 2020-06-04 13:17:38 +05:30
shamalka
4e3a45fa93 Improve lifecycle changing UX 2020-06-04 13:17:38 +05:30
Vinojini Paramasivam
5a4be7a0a1 Add attributes to ui parameters 2020-06-04 07:14:29 +00:00
Dharmakeerthi Lasantha
7df4ab7334 Merge branch 'master' into 'master'
Prevent NPE when checking for monitoring operations

See merge request entgra/carbon-device-mgt!559
2020-05-29 21:35:34 +00:00
Saad Sahibjan
b8197bc182 Prevent NPE when checking for monitoring operations 2020-05-30 01:50:17 +05:30
Turcy
2205515d90 Add metadata repository 2020-05-30 00:19:14 +05:30
Shamalka Navod
754d902e72 Add bean classes for API Table in policy UI 2020-05-27 05:21:58 +00:00
tcdlpds@gmail.com
fd8b664f81 Fix app and app-release deleting issues 2020-05-24 15:03:06 +05:30