Commit Graph

495 Commits

Author SHA1 Message Date
6a8eed73bd Refactor user service to use removeBase64Prefix utility function 2024-07-24 14:30:29 +03:00
c89694919d Remove lazy loading for productDevice in DeviceEntity 2024-07-22 19:12:47 +03:00
86a9a6ceda Set default profile picture for UserEntity's profilePicture field 2024-07-22 14:31:30 +03:00
14b2a22239 Update default value for profile picture in UserEntity 2024-07-22 14:21:44 +03:00
64276205a6 Merge branch 'dev' into SP-203-handle-user-profile 2024-07-21 12:15:02 +03:00
e42359c905 Merge pull request #63 from SyncrowIOT/scene-automation
Scene automation
2024-07-21 12:12:24 +03:00
5f27695a0b Refactor snake case converter function and improve code readability 2024-07-20 18:27:13 +03:00
6442bee6b8 remove comments 2024-07-19 19:09:05 +03:00
f31bc09e6c test 2024-07-17 10:58:01 +03:00
45d46cee2a add constants seeder 2024-07-15 15:50:25 +03:00
f98f3cd47b Add RegionEntity and TimeZoneEntity to database module imports 2024-07-15 15:49:28 +03:00
8c2647c1f0 Add region and timezone seeders 2024-07-15 15:46:01 +03:00
d8f2a2d3ee Add profile picture, region, and timezone fields to UserEntity 2024-07-15 15:45:46 +03:00
369dee5c97 Add TimeZone module 2024-07-15 15:45:08 +03:00
f285bb50f1 Add region module 2024-07-15 15:44:30 +03:00
00cace7b12 Add UUID index to DeviceEntity and set productDevice to lazy loading 2024-07-10 12:57:06 +03:00
2b8ba755b1 Add Jest configuration and dummy test 2024-07-08 15:28:04 +03:00
e2359e28a9 Add enum for working days in common library 2024-06-28 20:47:55 +03:00
d6f846086c Add TUYA_EU_URL to Tuya configuration 2024-06-24 14:36:24 +03:00
5319d76d41 Add spaceTuyaUuid field to SpaceEntity 2024-06-24 13:28:54 +03:00
720b9ce23f Add snake case converter helper function 2024-06-24 13:28:21 +03:00
4c729da2a6 Merge branch 'dev' into SP-197-be-retrieve-devices-in-the-gateway 2024-06-11 12:03:30 +03:00
bcab5a00d8 Refactor: Remove group and group-device modules 2024-06-02 21:12:50 +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
f0606f81e7 Add generateRandomString helper function and remove nanoid dependency 2024-06-01 20:25:05 +03:00
483fc6375f feat: Add unit invitation code functionality and user verification using code 2024-06-01 19:56:07 +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
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
fdab3fa687 Add device and user notification modules 2024-05-26 00:34:28 +03:00
79c238f7d3 Merge branch 'dev' into SP-197-be-retrieve-devices-in-the-gateway 2024-05-21 15:35:31 +03:00
8cbfcae775 Merge branch 'dev' into SP-201-be-handle-roles-new 2024-05-19 17:42:24 +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
6415d78992 Remove USER role 2024-05-18 23:00:22 +03:00
1bc8fee061 Remove onDelete and onUpdate properties from entity relationships 2024-05-18 22:10:48 +03:00
ad15164e15 feat: Add seeder module and services for all lookup tables 2024-05-18 21:53:27 +03:00
cd40dc897b Add endpoint to update device firmware 2024-05-18 20:23:17 +03:00
6b881ce01e Add ProductType enum and implement getDevicesInGetaway method 2024-05-11 22:25:43 +03:00
e7024a5cb8 Add Unique constraint to 'type' column in RoleTypeEntity 2024-05-11 21:02:35 +03:00
3e9fff3822 Add super admin configuration and service 2024-05-11 21:02:25 +03:00
d1fa15cff1 Update role types in enums and role guards 2024-05-11 21:01:39 +03:00
616ddd4d4c Refactor space permission service 2024-05-08 09:35:42 +03:00