Commit Graph

284 Commits

Author SHA1 Message Date
720b9ce23f Add snake case converter helper function 2024-06-24 13:28:21 +03:00
d76952852d Merge pull request #33 from SyncrowIOT/SP-197-be-retrieve-devices-in-the-gateway
get getway devices
2024-06-11 12:25:43 +03:00
4c729da2a6 Merge branch 'dev' into SP-197-be-retrieve-devices-in-the-gateway 2024-06-11 12:03:30 +03:00
21cca2e373 Merge pull request #48 from SyncrowIOT/device-controlable-when-join-home
Add user permissions to devices when joining a unit
2024-06-05 12:38:48 +03:00
dfca913bcc Add user permissions to devices when joining a unit 2024-06-05 12:37:09 +03:00
c276d36da0 Merge pull request #47 from SyncrowIOT/remove-unit-uuid-from-invitation-code
Remove unnecessary code and properties from unit controller and add.u…
2024-06-03 00:32:57 +03:00
d3e63adf54 Remove unnecessary code and properties from unit controller and add.unit.dto 2024-06-03 00:31:00 +03:00
f5ba0e9c31 Merge pull request #46 from SyncrowIOT/remove-admin-gurad-unit-user
Refactor authentication guard in UnitController's addUserUnit method
2024-06-02 23:13:08 +03:00
4d679c7300 Refactor authentication guard in UnitController's addUserUnit method 2024-06-02 23:12:25 +03:00
f7243fbaff Merge pull request #45 from SyncrowIOT/SP-217-device-grouping
Sp 217 device grouping
2024-06-02 21:18:48 +03:00
bcab5a00d8 Refactor: Remove group and group-device modules 2024-06-02 21:12:50 +03:00
4d1861d137 Refactor group and device modules 2024-06-02 21:12:37 +03:00
aad3b31cf0 Merge pull request #36 from SyncrowIOT/SP-232-consume-the-tuya-messaging-service-for-device-logs
Sp 232 consume the tuya messaging service for device logs
2024-06-02 19:36:22 +03:00
4531a1f87b Remove duplicate code and unnecessary dependency in user entity and package-lock.json respectively 2024-06-02 19:30:59 +03:00
8cf8a2da90 Add conditional check for Tuya web socket service 2024-06-02 19:30:51 +03:00
948d133e4f Merge branch 'dev' into SP-232-consume-the-tuya-messaging-service-for-device-logs 2024-06-02 19:09:58 +03:00
36ea87ec86 Merge pull request #44 from SyncrowIOT/fix-some-issues
Refactor code to remove duplicate code and improve readability
2024-06-02 15:22:16 +03:00
42b849b3c5 Refactor code to remove duplicate code and improve readability 2024-06-02 15:21:07 +03:00
62a8871243 Merge pull request #43 from SyncrowIOT/fix-device-user-issue
Refactor device controller endpoint to use 'user' prefix in route path
2024-06-02 15:08:08 +03:00
57c4a899d1 Refactor device controller endpoint to use 'user' prefix in route path 2024-06-02 15:06:39 +03:00
cc5e61a5f2 Merge pull request #42 from SyncrowIOT/remove-nanoid-package
Add generateRandomString helper function and remove nanoid dependency
2024-06-01 20:26:36 +03:00
f0606f81e7 Add generateRandomString helper function and remove nanoid dependency 2024-06-01 20:25:05 +03:00
d86db78835 Merge pull request #41 from SyncrowIOT/SP-233-be-home-members
feat: Add unit invitation code functionality and user verification us…
2024-06-01 20:06:44 +03:00
0e99df8037 Refactor getUnitInvitationCode method to use dynamic import for nanoid library 2024-06-01 20:04:04 +03:00
483fc6375f feat: Add unit invitation code functionality and user verification using code 2024-06-01 19:56:07 +03:00
b4830f7c2d Merge pull request #40 from SyncrowIOT/add-have-space-flag
Add SuperAdminRoleGuard to DeviceController and include haveRoom prop…
2024-05-30 15:05:25 +03:00
1e29a59fa3 Add SuperAdminRoleGuard to DeviceController and include haveRoom property in devicesData 2024-05-30 15:01:49 +03:00
aacf842659 Merge pull request #39 from SyncrowIOT/get-devices-by-user
Refactor device controller and service
2024-05-30 00:19:59 +03:00
45071ab927 Refactor device controller and service 2024-05-30 00:18:53 +03:00
6257917860 Merge pull request #38 from SyncrowIOT/SP-234-be-user-assign-devices
feat(device): add endpoint to add device to user
2024-05-29 23:33:42 +03:00
423533df04 feat(device): add endpoint to add device to user 2024-05-29 23:29:53 +03:00
0a830ddf05 Refactor TuyaMessageSubscribeWebsocket class 2024-05-26 10:42:00 +03:00
1ad51fb391 install ws,onesignal-node 2024-05-26 00:39:35 +03:00
c3a71cedb3 import the services in Helper Module 2024-05-26 00:39:11 +03:00
cff8ac1c5c add device messages services to send notification 2024-05-26 00:38:22 +03:00
bb9b043be9 add tuya web socket service 2024-05-26 00:37:51 +03:00
853251304f Add Tuya WebSocket configuration and credentials 2024-05-26 00:36:37 +03:00
7946c5673c Add global configuration to common module 2024-05-26 00:36:14 +03:00
35f061c907 Add UserNotificationEntity and DeviceNotificationEntity to database module imports 2024-05-26 00:35:34 +03:00
8b88d2be95 Add OneSignal configuration and service 2024-05-26 00:35:20 +03:00
167cb055c1 feat: Add User Notification and Device Messages Subscription Modules 2024-05-26 00:34:51 +03:00
fdab3fa687 Add device and user notification modules 2024-05-26 00:34:28 +03:00
cc006ff3c0 resolve conflict with dev branch 2024-05-21 16:20:05 +03:00
79c238f7d3 Merge branch 'dev' into SP-197-be-retrieve-devices-in-the-gateway 2024-05-21 15:35:31 +03:00
93bab79d31 Merge pull request #35 from SyncrowIOT/SP-201-be-handle-roles-new
Sp 201 be handle roles new
2024-05-19 10:47:14 -04:00
8cbfcae775 Merge branch 'dev' into SP-201-be-handle-roles-new 2024-05-19 17:42:24 +03:00
b1c550d603 Merge pull request #34 from SyncrowIOT/fixed-device-room-service
Fixed device room service
2024-05-19 10:21:31 -04:00
4ddc379bf7 Add support for multiple permission types in DeviceService 2024-05-19 14:25:29 +03:00
835fde8304 feat: Add success response with data in controllers 2024-05-19 14:25:19 +03:00
25c3765d9c Merge pull request #31 from SyncrowIOT/SP-202-be-handle-space-permissions
Sp 202 be handle space permissions
2024-05-19 03:26:23 -04:00