faris Aljohari
5ce016f429
Add support for sending edit user email with template
2025-01-04 22:42:07 -06:00
faris Aljohari
81ec60d947
Add delete user invitation functionality
2025-01-04 20:10:37 -06:00
faris Aljohari
97da38e31d
Add user active check and improve error handling in auth services
2025-01-04 20:06:44 -06:00
faris Aljohari
7ca9c19a2e
Add Mailtrap disable and enable template UUIDs and update email service
2025-01-04 19:45:01 -06:00
faris Aljohari
10a2036fa0
Refactor update logic for invited users
2025-01-04 19:18:55 -06:00
faris Aljohari
fe51705730
Add endpoint to disable user invitation
2025-01-04 19:13:33 -06:00
faris Aljohari
5f26e7b7d2
Simplify user space retrieval in ProjectUserService
2025-01-04 19:12:11 -06:00
faris Aljohari
a7615975b0
Remove DISABLED status and add isEnabled field
2025-01-04 18:57:19 -06:00
faris Aljohari
bd8e3c2b9d
Merge pull request #196 from SyncrowIOT/SP-905-activate-invitation-code
...
Sp 905 activate invitation code
2025-01-04 06:32:35 -06:00
faris Aljohari
39d73bf241
finished Update invited user endpoint
2025-01-04 06:25:50 -06:00
faris Aljohari
687d88ea2e
Update user spaces retrieval based on user status
2025-01-04 06:21:39 -06:00
faris Aljohari
c616547f9b
Add activation code endpoint
2025-01-04 04:44:34 -06:00
faris Aljohari
33c9518ca5
Include devices.productDevice in space validation
2025-01-04 04:34:11 -06:00
faris Aljohari
77061d3ce3
Rename userUuid to invitedUserUuid in project-user controller and service
2025-01-04 04:26:37 -06:00
faris Aljohari
eac5fce859
Simplify user retrieval and normalization in ProjectUserService
2025-01-04 04:19:48 -06:00
faris Aljohari
9c03b9e95d
Remove unused UserRepository from project.module.ts
2025-01-04 04:19:34 -06:00
faris Aljohari
93d05162fa
Remove isEnabled column from InviteUserEntity
2025-01-04 04:19:19 -06:00
faris Aljohari
1b9a25c0b1
Merge pull request #184 from SyncrowIOT/SP-986-be-send-email-for-inviting-user-role
...
Sp 986 be send email for inviting user role
2025-01-04 03:21:30 -06:00
faris Aljohari
ff30d36f8e
Update user relations and formatUserResponse method
2025-01-02 20:41:58 -06:00
faris Aljohari
12d1d8b35b
Merge pull request #192 from SyncrowIOT/fix-project-validation-to-get-users
...
Add project existence check in getUsersByProject method
2025-01-02 04:01:18 -06:00
faris Aljohari
6d87966b22
Add project existence check in getUsersByProject method
2025-01-02 03:46:33 -06:00
faris Aljohari
337539c293
Include spaces and userSpaces in user relations
2024-12-30 19:53:31 -06:00
faris Aljohari
3cff606887
Add environment variables and update email service for different environments
2024-12-30 19:41:19 -06:00
faris Aljohari
8ebedd6d8d
Merge branch 'dev' into SP-986-be-send-email-for-inviting-user-role
2024-12-30 19:02:09 -06:00
faris Aljohari
7e6e34a3de
Refactor and add new user-related endpoints for projects
2024-12-30 18:59:42 -06:00
faris Aljohari
1c4a3940bb
Merge pull request #185 from SyncrowIOT/SP-907-be-get-users-by-project
...
Add endpoint to get users by project
2024-12-30 02:10:18 -06:00
faris Aljohari
e80a5933b8
Merge pull request #183 from SyncrowIOT/fix-some-issues-in-invite-user
...
Fix some issues in invite user
2024-12-30 02:09:19 -06:00
faris Aljohari
a96dccd19d
Add endpoint to get users by project
2024-12-29 22:31:56 -06:00
faris Aljohari
e3ebcff78a
Add EmailService and send invitation email in InviteUserService
2024-12-28 19:41:30 -06:00
faris Aljohari
d56b26d3ea
Add Mailtrap API token and invitation template functionality
2024-12-28 19:41:24 -06:00
faris Aljohari
6aff5e54e9
Add email and project validation before inviting user
2024-12-25 19:58:44 -06:00
faris Aljohari
77d2e18b36
Make jobTitle and phoneNumber optional in InviteUserEntity and DTO
2024-12-25 19:58:37 -06:00
faris Aljohari
769c9be73d
Merge pull request #182 from SyncrowIOT/add-defulat-role-for-new-user
...
Add defulat role for new user
2024-12-23 02:40:18 -06:00
faris Aljohari
53a474d5cf
Add RoleService to AuthModule and UserAuthService
2024-12-23 01:37:46 -06:00
faris Aljohari
67742d018f
Add method to find role by type
2024-12-23 01:37:37 -06:00
faris Aljohari
864884933e
Add endpoint to check email and project existence
2024-12-23 00:01:36 -06:00
faris Aljohari
39fd6e9dd9
Add project relationship to InviteUserEntity and invitedUsers to ProjectEntity
2024-12-23 00:01:11 -06:00
faris Aljohari
5cae090b9a
fixed null issue
2024-12-23 00:00:19 -06:00
faris Aljohari
cac2eb211e
Merge pull request #174 from SyncrowIOT/role-module-issue
...
Add RoleModule and clean up role.controller imports
2024-12-17 02:32:16 -06:00
faris Aljohari
461a0e6036
Add RoleModule and clean up role.controller imports
2024-12-17 02:24:21 -06:00
faris Aljohari
74fb06f67e
Fix import case sensitivity in InviteUserRepositoryModule
2024-12-17 02:16:01 -06:00
faris Aljohari
c27aca1196
Fix inconsistent casing in Invite-user module paths
2024-12-17 02:13:34 -06:00
faris Aljohari
4ce7620584
Fix typo in import path for repositories
2024-12-17 01:48:36 -06:00
faris Aljohari
a25496b926
Remove unused and outdated dependencies
2024-12-17 01:46:39 -06:00
faris Aljohari
0285fdc610
Merge pull request #172 from SyncrowIOT/fix-deploy-issues
...
Update dependencies and refactor import statements
2024-12-17 01:14:06 -06:00
faris Aljohari
8f6e5e31e2
Update dependencies and refactor import statements
2024-12-17 01:11:53 -06:00
faris Aljohari
dcf6fe144b
Merge pull request #171 from SyncrowIOT/SP-901-be-invite-a-new-role-and-assign-spaces
...
Sp 901 be invite a new role and assign spaces
2024-12-17 00:42:18 -06:00
faris Aljohari
5e9a8f3f78
Make roleType field non-nullable in UserEntity
2024-12-16 20:00:10 -06:00
faris Aljohari
61dae6d3f5
Remove debug console log from PermissionsGuard
2024-12-16 19:57:35 -06:00
faris Aljohari
6f3891a68e
Add invitedBy field to InviteUserDto and InviteUserEntity
2024-12-16 19:56:37 -06:00
faris Aljohari
9de1d7134a
Fix inconsistent casing in file imports
2024-12-16 19:41:51 -06:00
faris Aljohari
c1af930dc9
Fix inconsistent casing in import paths for Invite-user module
2024-12-16 19:36:40 -06:00
faris Aljohari
d169999675
Replace JwtAuthGuard with PermissionsGuard and add specific permissions
2024-12-16 00:19:34 -06:00
faris Aljohari
64027d3a16
Add permission and role management features
2024-12-16 00:19:14 -06:00
faris Aljohari
57397e653a
Add Invite User Module and Update User and Space Entities
...
This commit introduces a new module for handling user invitations, including DTOs, entities, and repositories. It also updates the User and Space entities to include relationships with the new Invite User entities.
2024-12-16 00:17:50 -06:00
faris Aljohari
852299a273
Refactor user role handling to use single role object
2024-12-16 00:16:24 -06:00
faris Aljohari
aebc6e73d0
Merge pull request #169 from SyncrowIOT/feat/associate-community-project
...
Feat/associate-community-project
2024-12-10 01:19:37 -06:00
faris Aljohari
a74e6dfac6
Merge pull request #168 from SyncrowIOT/feat/project-entity
...
Feat/project-entity
2024-12-09 04:50:39 -06:00
faris Aljohari
a43d6df10b
Merge pull request #167 from SyncrowIOT/fix-update-automation-issue
...
Add updateAutomation method and update external service handling
2024-12-03 03:11:26 -06:00
faris Aljohari
5a698f8087
Add updateAutomation method and update external service handling
2024-12-03 03:10:32 -06:00
faris Aljohari
6dd631ebb1
Merge pull request #166 from SyncrowIOT/SP-856-be-issues-with-adding-automation-task-and-tab-to-run-in-automation-scene
...
Add `RULE_TRIGGER` to `ActionExecutorEnum` and introduce `ActionTypeE…
2024-12-02 05:27:09 -06:00
faris Aljohari
b507bcbdf1
Add RULE_TRIGGER to ActionExecutorEnum and introduce ActionTypeEnum
2024-12-02 05:25:11 -06:00
faris Aljohari
7dca9ea5ff
Merge pull request #165 from SyncrowIOT/fix-add-scene-issue
...
Update AutomationService to use SceneRepository for scene details
2024-12-02 01:15:11 -06:00
faris Aljohari
5feabb8049
Update AutomationService to use SceneRepository for scene details
2024-12-02 01:14:32 -06:00
faris Aljohari
b101b4cac6
Merge pull request #164 from SyncrowIOT/return-defualt-scene-icon
...
Remove type filter from getAllIcons method
2024-12-01 03:25:28 -06:00
faris Aljohari
88615348c9
Remove type filter from getAllIcons method
2024-12-01 03:24:22 -06:00
faris Aljohari
14d6f7283f
Merge pull request #163 from SyncrowIOT/fix-update-scene-issue
...
Fix update scene issue
2024-11-30 20:38:27 -06:00
faris Aljohari
b143e50fba
handle empty return when get scene switch
2024-11-30 20:26:34 -06:00
faris Aljohari
e0ec9f20ff
Add method to update TapToRun scene in Tuya and integrate it in SceneService
2024-11-30 20:25:59 -06:00
faris Aljohari
b8114dba35
Merge pull request #162 from SyncrowIOT/add-product-to-automation-and-scene
...
Add product to automation and scene
2024-11-29 01:47:27 -06:00
faris Aljohari
17b300183c
Add productUuid and productType to action when device is present
2024-11-29 01:40:59 -06:00
faris Aljohari
b3f4507a70
Add productUuid and productType to action and condition
2024-11-29 01:40:52 -06:00
faris Aljohari
a6a96067e4
Merge pull request #161 from SyncrowIOT/change-behavior-for-delete-scene-switch
...
Add endpoint to delete scenes by device UUID and switch name
2024-11-27 03:23:13 -06:00
faris Aljohari
4d2257a3e3
Add endpoint to delete scenes by device UUID and switch name
2024-11-27 03:17:56 -06:00
faris Aljohari
f869f9a511
Merge pull request #160 from SyncrowIOT/fix-scene-delete-issue
...
Add SceneDeviceRepository and update deleteScene method
2024-11-27 00:30:34 -06:00
faris Aljohari
bae48c02fe
Add SceneDeviceRepository and update deleteScene method
2024-11-26 22:26:46 -06:00
faris Aljohari
b15a5ac691
Merge pull request #159 from SyncrowIOT/fix-scene-when-empty-issue
...
Remove unnecessary check for scenesData length
2024-11-26 00:12:58 -06:00
faris Aljohari
13983d61aa
Remove unnecessary check for scenesData length
2024-11-25 19:29:07 -06:00
faris Aljohari
691b6546a1
Merge pull request #158 from SyncrowIOT/fix-get-scenes-by-space-issue
...
Update `getScene` method to accept `sceneUuid` and use it for spaceId
2024-11-25 01:40:33 -06:00
faris Aljohari
06c10c39ee
Include space relation in scene query
2024-11-25 01:11:51 -06:00
faris Aljohari
a37af93696
Include space relation in findScene method
2024-11-25 01:10:32 -06:00
faris Aljohari
c90b07fab4
Update getScene method to accept sceneUuid and use it for spaceId
2024-11-25 01:01:31 -06:00
faris Aljohari
3509ea70bd
Merge pull request #157 from SyncrowIOT/fix-space-column-issue-in-scene-table
...
Update scene service to use space object instead of spaceUuid
2024-11-24 23:48:59 -06:00
faris Aljohari
9721cb765f
Update scene service to use space object instead of spaceUuid
2024-11-24 23:43:27 -06:00
faris Aljohari
eb8e6a89b3
Merge pull request #153 from SyncrowIOT/delete-scene-device-endpoint
...
finished delete switch scene device
2024-11-24 23:29:08 -06:00
faris Aljohari
3437493282
Merge branch 'dev' into delete-scene-device-endpoint
2024-11-24 23:28:56 -06:00
faris Aljohari
86923461eb
Merge pull request #154 from SyncrowIOT/SP-447-be-lack-of-documentation
...
Sp 447 be lack of documentation
2024-11-24 23:26:35 -06:00
faris Aljohari
0e4f39931b
Merge pull request #156 from SyncrowIOT/fix-issue-when-get-devices
...
finished skip any error from tuya device
2024-11-24 23:26:22 -06:00
faris Aljohari
99bacbe202
finished skip any error from tuya device
2024-11-24 17:47:47 -06:00
faris Aljohari
6b66bf2b20
fix automation get endpoint remove return Auto_
2024-11-24 16:09:21 -06:00
faris Aljohari
4d0c91db19
fix delete scene issue
2024-11-24 15:58:44 -06:00
faris Aljohari
360371e910
Add comprehensive endpoint descriptions for various controller routes
2024-11-23 22:53:20 -06:00
faris Aljohari
2069b92e6d
Add ApiOperation decorators to visitor password controller endpoints
2024-11-23 22:52:11 -06:00
faris Aljohari
25e331f59e
Add API operation descriptions and update route paths
2024-11-23 22:52:00 -06:00
faris Aljohari
fbbabc0644
Add API operation metadata to verifyCodeAndAddUserSpace endpoint
2024-11-23 22:51:49 -06:00
faris Aljohari
b904c1a338
Add ApiOperation decorators and update controller path
2024-11-23 22:51:37 -06:00
faris Aljohari
977cc6fb07
Add API operation descriptions to user device permission controller
2024-11-23 22:51:30 -06:00
faris Aljohari
e47cb82e33
Update TimeZoneController with ApiOperation and dynamic route
2024-11-23 22:51:17 -06:00
faris Aljohari
a5ebecb952
Add ApiOperation decorators and update route paths in ScheduleController
2024-11-23 22:51:10 -06:00
faris Aljohari
6bb0feec61
Update RoleController to use static route constants and add API operation descriptions
2024-11-23 22:51:00 -06:00