Commit Graph
100 Commits
Author SHA1 Message Date
faris Aljohari d693ac093e epmty commit 2024-07-22 19:30:55 +03:00
faris Aljohari c89694919d Remove lazy loading for productDevice in DeviceEntity 2024-07-22 19:12:47 +03:00
faris Aljohari 86a9a6ceda Set default profile picture for UserEntity's profilePicture field 2024-07-22 14:31:30 +03:00
faris Aljohari e6ceefdfe8 Refactor backend deployment workflow to use Docker container in Azure App Service 2024-07-22 14:29:12 +03:00
faris Aljohari b3b6bde41d Delete Azure WebApp deployment workflow file. 2024-07-22 14:25:02 +03:00
faris Aljohari 8edb7042b3 Update azure-webapp-deploy.yml to remove branch restriction on push event 2024-07-22 14:23:47 +03:00
faris Aljohari ef51c7b6aa Merge branch 'dev' of https://github.com/SyncrowIOT/backend into dev 2024-07-22 14:22:11 +03:00
faris Aljohari 14b2a22239 Update default value for profile picture in UserEntity 2024-07-22 14:21:44 +03:00
faris Aljohari 6d6944fd6c Add or update the Azure App Service build and deployment workflow config 2024-07-22 14:17:26 +03:00
faris Aljohari bfd0cb6078 epmty commit 2024-07-22 12:56:08 +03:00
faris Aljohari c19d04e6fe fix github action 2024-07-21 14:21:52 +03:00
faris Aljohari ee69be60b4 fix github action 2024-07-21 14:10:23 +03:00
faris Aljohari 46b1d19d1f Merge pull request #61 from SyncrowIOT/SP-203-handle-user-profile
Sp 203 handle user profile
2024-07-21 12:15:19 +03:00
faris Aljohari 64276205a6 Merge branch 'dev' into SP-203-handle-user-profile 2024-07-21 12:15:02 +03:00
faris Aljohari 719188c0a4 Merge pull request #64 from SyncrowIOT/SP-271-be-implement-offline-password-api-for-door-lock
Sp 271 be implement offline password api for door lock
2024-07-21 12:13:07 +03:00
faris Aljohari c4d5546fdc Merge pull request #62 from SyncrowIOT/SP-275-be-implement-validation-for-the-password-in-the-sign-up-and-forget-password
Sp 275 be implement validation for the password in the sign up and forget password
2024-07-21 12:12:45 +03:00
faris Aljohari e42359c905 Merge pull request #63 from SyncrowIOT/scene-automation
Scene automation
2024-07-21 12:12:24 +03:00
faris Aljohari 98d598fe12 Merge pull request #60 from SyncrowIOT/SP-273-be-optimize-device-control-delay
Sp 273 be optimize device control delay
2024-07-21 12:12:02 +03:00
faris Aljohari a9cba970db Merge branch 'dev' into SP-271-be-implement-offline-password-api-for-door-lock 2024-07-20 18:52:16 +03:00
faris Aljohari 5e957e3395 Refactor door lock controller and service 2024-07-20 18:51:51 +03:00
faris Aljohari 9a9201b769 Refactor automation DTOs and service 2024-07-20 18:27:22 +03:00
faris Aljohari 5f27695a0b Refactor snake case converter function and improve code readability 2024-07-20 18:27:13 +03:00
faris Aljohari c0860c2927 Add AutomationModule to app.module.ts imports 2024-07-20 18:19:14 +03:00
faris Aljohari ae02b0b288 Transfer device to parent space in Tuya when updating device in room 2024-07-20 18:19:05 +03:00
faris Aljohari 9ad51fcffc Add automation module 2024-07-20 18:18:32 +03:00
faris Aljohari 6442bee6b8 remove comments 2024-07-19 19:09:05 +03:00
faris Aljohari f31bc09e6c test 2024-07-17 10:58:01 +03:00
faris Aljohari 7ba4271b6e add forget password validator 2024-07-15 16:29:24 +03:00
faris Aljohari 6040976c07 add sign up password validator 2024-07-15 16:29:10 +03:00
faris Aljohari 181aaf6c1c add password validator 2024-07-15 16:28:49 +03:00
faris Aljohari ee69a4b730 Merge branch 'dev' into SP-203-handle-user-profile 2024-07-15 16:11:57 +03:00
faris Aljohari 6fe871a3b3 resolve dto issue 2024-07-15 16:10:30 +03:00
faris Aljohari 5e25eeb883 update first and last name endpoint 2024-07-15 15:57:22 +03:00
faris Aljohari f8cd47e940 increase body limit 2024-07-15 15:51:02 +03:00
faris Aljohari 45d46cee2a add constants seeder 2024-07-15 15:50:25 +03:00
faris Aljohari f98f3cd47b Add RegionEntity and TimeZoneEntity to database module imports 2024-07-15 15:49:28 +03:00
faris Aljohari 3205fe0f7a Add Region and TimeZone modules to app module imports 2024-07-15 15:48:52 +03:00
faris Aljohari 4fc880d869 feat: add user profile picture, region, and timezone update functionality 2024-07-15 15:47:13 +03:00
faris Aljohari 4a87a42827 Add TimeZone module with controller and service 2024-07-15 15:46:51 +03:00
faris Aljohari 31a6377fa6 Add Region module 2024-07-15 15:46:32 +03:00
faris Aljohari 8c2647c1f0 Add region and timezone seeders 2024-07-15 15:46:01 +03:00
faris Aljohari d8f2a2d3ee Add profile picture, region, and timezone fields to UserEntity 2024-07-15 15:45:46 +03:00
faris Aljohari 369dee5c97 Add TimeZone module 2024-07-15 15:45:08 +03:00
faris Aljohari f285bb50f1 Add region module 2024-07-15 15:44:30 +03:00
faris Aljohari 439778fa23 test 2024-07-15 12:39:45 +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 00cace7b12 Add UUID index to DeviceEntity and set productDevice to lazy loading 2024-07-10 12:57:06 +03:00
faris Aljohari 2b8ba755b1 Add Jest configuration and dummy test 2024-07-08 15:28:04 +03:00
faris Aljohari d094536fad Merge branch 'main' into dev 2024-07-08 15:08:52 +03:00
faris Aljohari df45a8cd27 Merge pull request #58 from SyncrowIOT/add-server-logs
Add server logs
2024-07-02 19:40:43 +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 dfbeaec9a9 Merge pull request #57 from SyncrowIOT/fix-scene-issues
Refactor SceneService to update device uuid in actions
2024-07-01 22:52:28 +03:00
faris Aljohari 5a5d978945 Refactor SceneService to update device uuid in actions 2024-07-01 22:51:33 +03:00
faris Aljohari eca6d65168 Merge pull request #56 from SyncrowIOT/get-devices-per-unit
Add endpoint to get devices by unit ID
2024-07-01 14:30:32 +03:00
faris Aljohari ddfc55d9dd Add endpoint to get devices by unit ID 2024-07-01 14:29:54 +03:00
faris Aljohari 97c571d710 Merge pull request #55 from SyncrowIOT/fixe-door-lock-issues
Fix password filtering in DoorLockService
2024-07-01 10:18:19 +03:00
faris Aljohari 63a8c5664e Fix password filtering in DoorLockService 2024-07-01 10:17:35 +03:00
faris Aljohari 0a1afabf71 Merge pull request #54 from SyncrowIOT/fix-issue-door-lock
Fix issue door lock
2024-06-29 17:22:19 +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 1cfef6c7b2 Merge pull request #53 from SyncrowIOT/door-lock-temp-password
Door lock temp password
2024-06-28 21:14:37 +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 e2359e28a9 Add enum for working days in common library 2024-06-28 20:47:55 +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 136c269922 Merge pull request #52 from SyncrowIOT/fix-gateway-issue
Fix gateway issue
2024-06-25 10:19:22 +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 640a92619e Merge pull request #51 from SyncrowIOT/return-device-uuid-gateway-devices
Add method to get device by Tuya UUID and update getDevicesInGetawayT…
2024-06-25 00:40:30 +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 b98197dd3f Merge pull request #50 from SyncrowIOT/fixed-error-handling-secene
refactor error message
2024-06-24 16:44:24 +03:00
faris Aljohari c5e24daaa5 refactor error message 2024-06-24 16:43:54 +03:00
faris Aljohari a39a98df9c Merge pull request #49 from SyncrowIOT/tap-to-run-scene
Tap to run scene
2024-06-24 16:06:28 +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 5319d76d41 Add spaceTuyaUuid field to SpaceEntity 2024-06-24 13:28:54 +03:00
faris Aljohari 720b9ce23f Add snake case converter helper function 2024-06-24 13:28:21 +03:00
faris Aljohari 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
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 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
faris Aljohari dfca913bcc Add user permissions to devices when joining a unit 2024-06-05 12:37:09 +03:00
faris Aljohari 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
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 f7243fbaff Merge pull request #45 from SyncrowIOT/SP-217-device-grouping
Sp 217 device grouping
2024-06-02 21:18:48 +03:00
faris Aljohari bcab5a00d8 Refactor: Remove group and group-device modules 2024-06-02 21:12:50 +03:00
faris Aljohari 4d1861d137 Refactor group and device modules 2024-06-02 21:12:37 +03:00
faris Aljohari 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
faris Aljohari 4531a1f87b Remove duplicate code and unnecessary dependency in user entity and package-lock.json respectively 2024-06-02 19:30:59 +03:00