Commit Graph
112 Commits
Author SHA1 Message Date
hannathkadher 993ecf4cf8 fixed the unlinking 2025-02-05 11:30:40 +04:00
hannathkadher 2a4926f94e added battery and space details 2025-02-04 22:58:03 +04:00
hannathkadher 18b419f1dd - Replaced explicit null/undefined/empty string checks with truthy/falsy conditions
- Improved code readability and efficiency
2025-02-04 18:57:15 +04:00
hannathkadher b04d013d95 reduce code duplication 2025-02-04 15:03:47 +04:00
faris Aljohari 9dcb68da2d Add function to remove circular references and use it in SpaceService 2025-02-03 07:38:19 -06:00
hannathkadher 3bb88a6e97 fixed issue in association and disassociation 2025-02-03 11:54:49 +04:00
hannathkadher 427e764539 faster querying 2025-02-03 00:43:38 +04:00
hannathkadher 7f69867e8a optimizing space call 2025-02-03 00:13:34 +04:00
hannathkadher 87c2722313 fix space 2025-02-02 23:15:00 +04:00
hannathkadher 96852b3d91 auto generate tag if not there 2025-01-31 12:06:16 +04:00
hannathkadher a8f966a221 removed logs 2025-01-31 11:07:06 +04:00
hannathkadher 11faa52283 added moving tags 2025-01-30 21:43:30 +04:00
hannathkadher 450fb8add0 Merge branch 'bufix/move-tags-between' into dev 2025-01-29 14:55:26 +04:00
hannathkadher 64a056cf95 tag fix 2025-01-29 14:02:26 +04:00
hannathkadher 3366f525ef fixed moving device 2025-01-29 11:53:28 +04: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 8161e8469b Add new automation actions and repository 2025-01-28 03:43:11 -06:00
hannathkadher 903533cd86 fix create subspace 2025-01-27 15:19:35 +04:00
hannathkadher fc7e3b91e5 Merge pull request #225 from SyncrowIOT/SP-1145-be-get-space-by-community-have-devices
Add query parameter to filter spaces with devices
2025-01-27 12:56:14 +04: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 65e585c8f2 Add query parameter to filter spaces with devices 2025-01-26 11:59:15 -06:00
faris Aljohari 19d6669a84 Update permission mappings and role permissions 2025-01-22 06:47:12 -06:00
hannathkadher ab9517e0c1 return just message 2025-01-12 13:47:35 +04:00
hannathkadher 65b7cf1f64 updated listing 2025-01-12 13:40:48 +04:00
faris Aljohari 78617dde83 Remove invitationCode from unique constraint and update invite user logic 2025-01-11 01:39:52 -06:00
faris Aljohari 79b3b14a9c Rename getSpaceInvitationCode to generateSpaceInvitationCode and update imports 2025-01-10 06:15:41 -06:00
faris Aljohari 8eb1fd472a Add InviteSpaceRepository and update invitation code handling 2025-01-09 05:38:43 -06:00
faris Aljohari 5cd3564434 Change HTTP method for generating space invitation code 2025-01-09 05:38:00 -06:00
faris Aljohari 0145f72651 Add InviteSpaceEntity and InviteSpaceRepository 2025-01-09 05:37:40 -06:00
hannathkadher d719ad60f4 fixed delete space 2025-01-06 13:42:08 +04:00
faris Aljohari 33c9518ca5 Include devices.productDevice in space validation 2025-01-04 04:34:11 -06:00
hannathkadher 172d17950f fixed issues in fetching orphan community 2024-12-31 12:44:26 +04:00
hannathkadher 0542d13279 fix bug in community 2024-12-31 12:23:02 +04:00
hannathkadher 6df6716820 fixed the relation in fetching space 2024-12-30 22:27:56 +04:00
hannathkadher 036d39dbef Merge branch 'dev' of https://github.com/SyncrowIOT/backend into feat/edit-space-model 2024-12-30 10:08:43 +04:00
hannathkadher 6a89a17ce9 disable space 2024-12-30 10:06:33 +04:00
hannathkadher 0d539883f1 delete subspace devices 2024-12-27 09:57:37 +04:00
hannathkadher cc5fd68adb remove device-tag relation 2024-12-27 09:40:05 +04:00
hannathkadher 2e623d945e remove unused 2024-12-27 09:33:13 +04:00
hannathkadher 30d0866579 subspace check 2024-12-27 09:32:20 +04:00
hannathkadher fcf1964599 delete propogation 2024-12-27 09:02:47 +04:00
hannathkadher f7b75a630a disabling space 2024-12-25 16:23:09 +04:00
hannathkadher f9fe209076 use query runner for space link 2024-12-25 11:46:24 +04:00
hannathkadher ba00a85910 filter space links 2024-12-25 11:18:52 +04:00
hannathkadher a74a0db26e updated space update 2024-12-25 10:52:48 +04:00
hannathkadher 2e46176fd5 added space delete 2024-12-24 14:51:06 +04:00
hannathkadher cb2778dce5 update in tag service 2024-12-24 11:33:58 +04:00
hannathkadher 1e47fffc0a cleaned space entities 2024-12-24 08:43:25 +04:00
hannathkadher 97b53bf417 space cleanup 2024-12-24 08:12:56 +04:00