Commit Graph
100 Commits
Author SHA1 Message Date
faris Aljohari b6fa37b1a3 Merge pull request #304 from SyncrowIOT/fix-assign-device-to-room
fix tag relation in device entity
2025-03-11 20:04:40 +03:00
faris Aljohari 5204cd5504 fix tag relation in device entity 2025-03-11 20:03:30 +03:00
faris Aljohari fa009d6f6e Merge pull request #303 from SyncrowIOT/fix-relation-tags-issue
fix relation tags issue
2025-03-11 15:15:40 +03:00
faris Aljohari 9f83b4286c fix relation tags issue 2025-03-11 15:14:59 +03:00
faris Aljohari c62c952544 Merge pull request #300 from SyncrowIOT/fix-get-spaces-hierarchy-issue
remove duplicate issue
2025-03-11 12:20:52 +03:00
faris Aljohari f9878ff272 remove duplicate issue 2025-03-11 12:19:26 +03:00
faris Aljohari 7dc2a8d0c9 Merge pull request #297 from SyncrowIOT/fix-get-spaces-issue
return tags name
2025-03-10 15:41:43 +03:00
faris Aljohari 7e513f0d31 return tags name 2025-03-10 15:40:58 +03:00
faris Aljohari f6d47d0e39 Merge branch 'dev' of https://github.com/SyncrowIOT/backend into dev 2025-03-10 11:24:23 +03:00
faris Aljohari ea09f633ee remove tags relation from device table 2025-03-10 11:23:51 +03:00
faris Aljohari c8d72a90b6 remove old tag flow 2025-03-10 10:42:00 +03:00
faris Aljohari dd56300b96 fix delete space and sub space 2025-03-07 03:16:24 +03:00
faris Aljohari f7848a7394 finished edit the response 2025-03-06 13:03:56 +03:00
faris Aljohari 5e6c7bef9e Merge pull request #280 from SyncrowIOT/SP-1078-be-implement-api-to-assign-a-space-model-or-reassign-it-to-a-space
add space linking when create or update space
2025-03-06 12:33:31 +03:00
faris Aljohari 61692c70d1 add overwrite when update spaces with spacesModel 2025-03-06 11:13:14 +03:00
faris Aljohari 6864e000b8 add space linking when create or update space 2025-03-06 02:33:48 +03:00
faris Aljohari 4e43954175 clear subspace tags allocation 2025-03-03 21:06:22 +03:00
faris Aljohari 2b6f6be149 clear space tags allocation 2025-03-03 21:05:54 +03:00
faris Aljohari 5d5984da80 Merge pull request #276 from SyncrowIOT/tags-dto-error
fix ProcessTagDto dto issues
2025-03-03 10:08:38 +03:00
faris Aljohari 95ecbab165 fix ProcessTagDto dto issues 2025-03-03 10:05:11 +03:00
faris Aljohari 221a2af32b using new tags relation with space 2025-03-03 00:23:55 +03:00
faris Aljohari 8a5709b1c9 finished spaces validation endpoint 2025-03-02 22:48:02 +03:00
faris Aljohari a9e5454b61 Add space product 2025-02-27 13:36:28 +03:00
faris Aljohari 902ddbab50 update space service 2025-02-27 13:36:08 +03:00
faris Aljohari 419a10e055 Merge pull request #270 from SyncrowIOT/SP-1229-be-return-community-id-with-each-space-in-the-user-management 2025-02-26 16:25:49 +03:00
faris Aljohari e3e2981673 Include community details in user spaces response 2025-02-26 16:19:55 +03:00
faris Aljohari 2bdc406cf7 Merge pull request #265 from SyncrowIOT/fix-firebase-real-time-issue
change set to transaction
2025-02-25 15:37:02 +03:00
faris Aljohari 630b3ee2b9 change set to transaction 2025-02-25 15:33:04 +03:00
faris Aljohari 19ef10aa87 Merge pull request #259 from SyncrowIOT/add-space-name-to-door-lock-devices
Add space device relation and space name to device details
2025-02-17 02:18:18 -06:00
faris Aljohari 733ccee88d Add space device relation and space name to device details 2025-02-17 02:13:28 -06:00
faris Aljohari afec306681 Merge pull request #258 from SyncrowIOT/fix-get-device-by-project
Add project UUID filter to device query in DeviceService
2025-02-17 01:16:36 -06:00
faris Aljohari 6fbeef97df Add project UUID filter to device query in DeviceService 2025-02-17 01:15:48 -06:00
faris Aljohari b2b8d02400 Merge pull request #255 from SyncrowIOT/return-project-uuid-in-user-details
Include project relation in user retrieval
2025-02-13 05:59:32 -06:00
faris Aljohari b793597711 Include project relation in user retrieval 2025-02-13 05:53:48 -06:00
faris Aljohari 7546dbbf35 Add Tag Module with CRUD operations 2025-02-12 00:42:47 -06:00
faris Aljohari f9869e86c9 Merge branch 'dev' 2025-02-05 08:24:25 -06:00
faris Aljohari 533282deba Merge pull request #251 from SyncrowIOT/fix-signup-issue-
Fix user sign-up logic to correctly handle inactive users
2025-02-05 08:20:51 -06:00
faris Aljohari f97b02fdfa Fix user sign-up logic to correctly handle inactive users 2025-02-05 08:09:21 -06:00
faris Aljohari 74c8c0b64b Merge branch 'dev' 2025-02-05 06:33:59 -06:00
faris Aljohari 9d72ad3717 Merge pull request #247 from SyncrowIOT/fix-delted-user-error
Refactor user and invited user validation in InviteUserService
2025-02-04 07:40:31 -06:00
faris Aljohari a3dbf6697c Merge branch 'dev' into fix-delted-user-errorn 2025-02-04 07:40:11 -06:00
faris Aljohari 5ccac95ee1 Refactor user and invited user validation in InviteUserService 2025-02-04 07:38:00 -06:00
faris Aljohari 35aaa06551 Merge pull request #246 from SyncrowIOT/fix-null-user-issue
Add optional chaining to user and invitedUser checks
2025-02-04 07:25:15 -06:00
faris Aljohari b02b4c049c Add optional chaining to user and invitedUser checks 2025-02-04 07:24:47 -06:00
faris Aljohari 33d7d60755 Merge pull request #243 from SyncrowIOT/check-if-user-deleted-validation 2025-02-04 03:08:30 -06:00
faris Aljohari 8193014692 Merge pull request #244 from SyncrowIOT/fix-space-owner-permissions
Add missing permissions for SPACE_OWNER role
2025-02-04 02:16:42 -06:00
faris Aljohari c9f2da1b57 Add missing permissions for SPACE_OWNER role 2025-02-04 02:14:27 -06:00
faris Aljohari a92497603f Check user active status before sign-up and invite 2025-02-04 01:56:56 -06:00
faris Aljohari 8461d0fc87 Merge pull request #242 from SyncrowIOT/fix-update-invted-user-role
Update user role in repository when inviting user
2025-02-04 01:27:51 -06:00
faris Aljohari 6e942109fa Update user role in repository when inviting user 2025-02-04 01:11:10 -06:00
faris Aljohari 5d83555a99 Merge pull request #241 from SyncrowIOT/fix-trigger-automation
Update permission requirement for automation status update
2025-02-04 00:55:30 -06:00
faris Aljohari ed6662a08a Update permission requirement for automation status update 2025-02-04 00:52:43 -06:00
faris Aljohari 9dcb68da2d Add function to remove circular references and use it in SpaceService 2025-02-03 07:38:19 -06:00
faris Aljohari 6a857aac65 Order users by creation date in ascending order 2025-01-30 04:26:39 -06:00
faris Aljohari 0a7c61e1f5 Merge pull request #230 from SyncrowIOT/SP-prevent-the-space-owner-and-space-member-to-have-access-on-the-web-platform
Add platform type to user login and enforce access restrictions
2025-01-29 03:49:18 -06:00
faris Aljohari dc23cce89a Add platform type to user login and enforce access restrictions 2025-01-28 19:41:03 -06:00
faris Aljohari 65eac98270 Merge pull request #229 from SyncrowIOT/SP-1147-be-save-the-automation-in-our-database-to-get-the-automation-by-syncrow-spaces
Sp 1147 be save the automation in our database to get the automation by syncrow spaces
2025-01-28 19:13:01 -06:00
faris Aljohari 2477f4825e Refactor automation and scene fetching to handle errors and improve readability 2025-01-28 19:12:31 -06:00
faris Aljohari 8161e8469b Add new automation actions and repository 2025-01-28 03:43:11 -06:00
faris Aljohari 9a163b0e85 Add Automation Module and Entity 2025-01-28 03:42:52 -06:00
faris Aljohari 666fa67784 return device status for each device 2025-01-27 02:03:35 -06:00
faris Aljohari ec06434191 Add tag and subspace fields to device validation 2025-01-27 02:01:40 -06:00
faris Aljohari 691fa504de Merge pull request #226 from SyncrowIOT/SP-874-adjust-primary-key-type-to-varchar-in-order-to-ensure-ease-of-joining-tables
Change deviceId column type to uuid
2025-01-26 13:49:28 -06:00
faris Aljohari 91f831f817 Change deviceId column type to uuid 2025-01-26 13:46:33 -06:00
faris Aljohari 65e585c8f2 Add query parameter to filter spaces with devices 2025-01-26 11:59:15 -06:00
faris Aljohari e70f65c62c Merge pull request #224 from SyncrowIOT/SP-1084-be-return-role-based-compatibility-for-space-member
Update permission mappings and role permissions
2025-01-22 07:00:52 -06:00
faris Aljohari 19d6669a84 Update permission mappings and role permissions 2025-01-22 06:47:12 -06:00
faris Aljohari c3c30828ad Merge pull request #223 from SyncrowIOT/fix-secene-issue
add disabled check
2025-01-22 05:39:22 -06:00
faris Aljohari d45fe6cb0e add disabled check 2025-01-22 05:33:50 -06:00
faris Aljohari 4b99d07c69 Merge pull request #220 from SyncrowIOT/SP-1086-be-implement-the-user-agreement-flow
Sp 1086 be implement the user agreement flow
2025-01-22 02:49:00 -06:00
faris Aljohari f675064b68 Add endpoint to update user web agreement 2025-01-22 00:34:54 -06:00
faris Aljohari 6dd6c79d87 Add app agreement acceptance check and validation 2025-01-22 00:34:47 -06:00
faris Aljohari 41da528963 Add agreement acceptance fields to UserEntity 2025-01-22 00:33:44 -06:00
faris Aljohari 414495c7fe Merge pull request #219 from SyncrowIOT/fix-wizard-issue
Add VIEW_DEVICE_WIZARD permission to VISITOR role
2025-01-21 23:45:27 -06:00
faris Aljohari 335ba9f63b Add VIEW_DEVICE_WIZARD permission to VISITOR role 2025-01-21 07:40:52 -06:00
faris Aljohari d193778df0 Merge pull request #218 from SyncrowIOT/SP-1101-investigate-mismatch-between-log-and-column-values
Sp 1101 investigate mismatch between log and column values
2025-01-21 01:40:01 -06:00
faris Aljohari 9542f9334f Refactor invite user service to validate spaces and improve code structure 2025-01-21 00:02:25 -06:00
faris Aljohari 42c3f3c150 Update device status logs to handle multiple properties 2025-01-21 00:02:17 -06:00
faris Aljohari 6dba022350 Merge pull request #217 from SyncrowIOT/SP-1087-be-get-the-privacy-policy-data
Add Privacy Policy Module and Controller
2025-01-17 00:28:57 -06:00
faris Aljohari dc11133057 Add Privacy Policy Module and Controller 2025-01-16 23:32:42 -06:00
faris Aljohari ddacefe055 Merge pull request #216 from SyncrowIOT/SP-1085-be-get-the-user-agreement-data
Add Terms and Conditions Module
2025-01-15 23:56:30 -06:00
faris Aljohari 12ddb95f19 Add terms and conditions data constants and update service 2025-01-15 23:24:37 -06:00
faris Aljohari c7bcb177e1 Remove unused terms and conditions constant 2025-01-15 23:19:19 -06:00
faris Aljohari ef593086bf Add Terms and Conditions Module 2025-01-15 23:17:25 -06:00
faris Aljohari 7956de7f56 Merge pull request #215 from SyncrowIOT/fix-issue-related-to-roles-and-invitaion
Fix issue related to roles and invitaion
2025-01-14 00:02:36 -06:00
faris Aljohari d6d3491515 Ensure inviteUserSpace is saved in both branches 2025-01-13 23:56:00 -06:00
faris Aljohari ad4ec05d0a Add JWT authentication to PermissionController and update subOption titles 2025-01-13 23:55:54 -06:00
faris Aljohari 4ee4097246 Merge pull request #212 from SyncrowIOT/fix-upadte-invite-user
Add user UUID to inviteUser creation in UserSpaceService
2025-01-11 03:08:08 -06:00
faris Aljohari ef4729521d Add user UUID to inviteUser creation in UserSpaceService 2025-01-11 03:07:28 -06:00
faris Aljohari 0246420e67 Merge pull request #211 from SyncrowIOT/fix-edit-email
Update email template data in `sendEditUserEmailWithTemplate`
2025-01-11 02:55:54 -06:00
faris Aljohari 48d597a066 Update email template data in sendEditUserEmailWithTemplate 2025-01-11 02:54:08 -06:00
faris Aljohari 4fcd01e1ea Merge pull request #210 from SyncrowIOT/fix-invitaion-code-issue
Remove invitationCode from unique constraint and update invite user l…
2025-01-11 01:42:01 -06:00
faris Aljohari 78617dde83 Remove invitationCode from unique constraint and update invite user logic 2025-01-11 01:39:52 -06:00
faris Aljohari bdbab026f5 Refactor activation code handling and user space verification 2025-01-10 06:18:48 -06:00
faris Aljohari 79b3b14a9c Rename getSpaceInvitationCode to generateSpaceInvitationCode and update imports 2025-01-10 06:15:41 -06:00
faris Aljohari 56fba355fc Refactor PermissionsGuard to throw UnauthorizedException with detailed message 2025-01-10 06:14:45 -06:00
faris Aljohari 145ef32629 Update InviteUserEntity to ensure unique combination of email, invitationCode, and project 2025-01-10 06:14:34 -06:00
faris Aljohari 59a191e579 Add 'SPACE_MEMBER_ADD' permission to VISITOR and ADMIN roles 2025-01-10 06:14:22 -06:00
faris Aljohari 45181704a7 Add InviteSpaceRepository and update invite handling logic 2025-01-09 05:53:43 -06:00
faris Aljohari ec467d124e Remove unused UserEntity import and relationship in InviteSpaceEntity 2025-01-09 05:53:08 -06:00