Commit Graph
181 Commits
Author SHA1 Message Date
faris Aljohari 2119ac395e test 2024-07-17 11:46:13 +03:00
faris Aljohari 984c135204 test deploy 2024-07-15 12:37:09 +03:00
faris Aljohari 2c8f31ec7c test 2024-07-15 11:26:41 +03:00
faris Aljohari bcdd5f1aec test 2024-07-15 11:25:06 +03:00
faris Aljohari 2b8ba755b1 Add Jest configuration and dummy test 2024-07-08 15:28:04 +03:00
faris Aljohari 2ff0312087 Filter out sensitive fields from request and response bodies for logging 2024-07-02 19:39:31 +03:00
faris Aljohari b781227172 Add logging interceptor 2024-07-02 19:34:41 +03:00
faris Aljohari 5a5d978945 Refactor SceneService to update device uuid in actions 2024-07-01 22:51:33 +03:00
faris Aljohari ddfc55d9dd Add endpoint to get devices by unit ID 2024-07-01 14:29:54 +03:00
faris Aljohari 63a8c5664e Fix password filtering in DoorLockService 2024-07-01 10:17:35 +03:00
faris Aljohari 0702d3892f Refactor password filtering and mapping logic 2024-06-29 17:20:55 +03:00
faris Aljohari 8bc0961869 Add optional scheduleList property to AddDoorLockOnlineDto class 2024-06-29 17:20:45 +03:00
faris Aljohari 53e2be63db Convert binary string to integer in DoorLockService 2024-06-28 20:54:35 +03:00
faris Aljohari 05e51c79eb Remove unnecessary comment and improve code readability in DoorLockService. 2024-06-28 20:54:01 +03:00
faris Aljohari 88685f40b7 Add DoorLockModule to app module imports 2024-06-28 20:48:00 +03:00
faris Aljohari a0a5b992db Add DoorLockModule with controller, service, and dependencies 2024-06-28 20:47:50 +03:00
faris Aljohari b9a15134a2 feat: Add DoorLockService and PasswordEncryptionService 2024-06-28 20:47:41 +03:00
faris Aljohari 46debaaafc Add door lock interfaces 2024-06-28 20:47:31 +03:00
faris Aljohari 062eb7660b Add door lock DTOs for adding offline and online temporary passwords 2024-06-28 20:47:20 +03:00
faris Aljohari 09074f83e2 Add Door Lock Controller with temporary password functionality 2024-06-28 20:47:08 +03:00
faris Aljohari d86b2ddeb7 Refactor device service to include Tuya UUID in device response 2024-06-25 10:15:21 +03:00
faris Aljohari b0dba387fb Refactor device controller and service 2024-06-25 10:02:55 +03:00
faris Aljohari f4205c39b3 Add method to get device by Tuya UUID and update getDevicesInGetawayTuya method 2024-06-25 00:38:46 +03:00
faris Aljohari c5e24daaa5 refactor error message 2024-06-24 16:43:54 +03:00
faris Aljohari feaae7341a Refactor Scene Module: Add Update Scene Tap To Run Endpoint 2024-06-24 16:03:01 +03:00
faris Aljohari d6f846086c Add TUYA_EU_URL to Tuya configuration 2024-06-24 14:36:24 +03:00
faris Aljohari cf60404e02 feat(scene): add tap-to-run scene functionality 2024-06-24 13:30:03 +03:00
faris Aljohari 4ffa8f05cf Add Tuya integration to UnitService 2024-06-24 13:29:32 +03:00
faris Aljohari b8a92c816a Refactor DeviceService's getDeviceByDeviceUuid method 2024-06-24 13:29:03 +03:00
faris Aljohari 4c729da2a6 Merge branch 'dev' into SP-197-be-retrieve-devices-in-the-gateway 2024-06-11 12:03:30 +03:00
faris Aljohari dfca913bcc Add user permissions to devices when joining a unit 2024-06-05 12:37:09 +03:00
faris Aljohari d3e63adf54 Remove unnecessary code and properties from unit controller and add.unit.dto 2024-06-03 00:31:00 +03:00
faris Aljohari 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
faris Aljohari 4d679c7300 Refactor authentication guard in UnitController's addUserUnit method 2024-06-02 23:12:25 +03:00
faris Aljohari 4d1861d137 Refactor group and device modules 2024-06-02 21:12:37 +03:00
faris Aljohari 948d133e4f Merge branch 'dev' into SP-232-consume-the-tuya-messaging-service-for-device-logs 2024-06-02 19:09:58 +03:00
faris Aljohari 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
faris Aljohari 42b849b3c5 Refactor code to remove duplicate code and improve readability 2024-06-02 15:21:07 +03:00
faris Aljohari 57c4a899d1 Refactor device controller endpoint to use 'user' prefix in route path 2024-06-02 15:06:39 +03:00
faris Aljohari f0606f81e7 Add generateRandomString helper function and remove nanoid dependency 2024-06-01 20:25:05 +03:00
faris Aljohari 0e99df8037 Refactor getUnitInvitationCode method to use dynamic import for nanoid library 2024-06-01 20:04:04 +03:00
faris Aljohari 483fc6375f feat: Add unit invitation code functionality and user verification using code 2024-06-01 19:56:07 +03:00
faris Aljohari 1e29a59fa3 Add SuperAdminRoleGuard to DeviceController and include haveRoom property in devicesData 2024-05-30 15:01:49 +03:00
faris Aljohari 45071ab927 Refactor device controller and service 2024-05-30 00:18:53 +03:00
faris Aljohari 423533df04 feat(device): add endpoint to add device to user 2024-05-29 23:29:53 +03:00
faris Aljohari 167cb055c1 feat: Add User Notification and Device Messages Subscription Modules 2024-05-26 00:34:51 +03:00
faris Aljohari cc006ff3c0 resolve conflict with dev branch 2024-05-21 16:20:05 +03:00
faris Aljohari 79c238f7d3 Merge branch 'dev' into SP-197-be-retrieve-devices-in-the-gateway 2024-05-21 15:35:31 +03:00
faris Aljohari 8cbfcae775 Merge branch 'dev' into SP-201-be-handle-roles-new 2024-05-19 17:42:24 +03:00
faris Aljohari 4ddc379bf7 Add support for multiple permission types in DeviceService 2024-05-19 14:25:29 +03:00