7ae826eb71
remove space join if not required
2025-07-24 10:01:42 +03:00
beed6fcfb7
update community v2 search behavior
2025-07-24 09:25:04 +03:00
25599b9fe2
add '%' to search ( #452 )
2025-07-06 14:14:23 +03:00
a9eaf44d31
Merge branch 'main' into dev
2025-07-03 00:10:00 -06:00
fddd06e06d
fix: add space condition to the join operator instead of general query ( #423 )
2025-06-23 12:44:19 +03:00
3160773c2a
fix: spaces structure in communities ( #420 )
2025-06-23 10:21:55 +03:00
6973e8b195
task: sort communities by creation date ( #416 )
2025-06-19 11:13:24 +03:00
689a38ee0c
Revamp/space management ( #409 )
...
* task: add getCommunitiesV2
* task: update getOneSpace API to match revamp structure
* refactor: implement modifications to pace management APIs
* refactor: remove space link
2025-06-18 10:34:29 +03:00
ea9a65178d
fix: add space filter to "join" operation instead of "and" operation ( #405 )
2025-06-11 16:28:33 +03:00
8503ee728d
Refactor/space management ( #404 )
...
* refactor: reducing used queries on get communities (#385 )
* refactor: fix create space logic (#394 )
* Remove unique constraint on subspace and product in SubspaceProductAllocationEntity; update product relation to nullable in NewTagEntity
* refactor: fix create space logic
* device model updated to include the fixes and final columns
* updated space models to include suggested fixes, update final logic and column names
* task: removing old references of the old tag-product relation
* task: remove old use of tags
* task: remove old tag & tag model usage
* refactor: delete space
* task: remove unused functions
* fix lint rule
2025-06-11 13:15:21 +03:00
0fe6c80731
Add utility function to associate space UUID with devices in community and device services
2025-06-01 21:56:08 -06:00
e253d1ca03
refactor: optimize device retrieval by avoiding duplicate space visits in getAllDevicesByCommunity
2025-05-15 10:08:02 +03:00
45b8cdcaae
Add endpoints and logic for fetching power clamp data by community or space
...
- Introduced new API endpoints to retrieve power clamp historical data based on community or space UUID.
- Updated PowerClampController to handle requests with optional parameters for community and space.
- Enhanced PowerClampService to validate input and fetch devices accordingly.
- Created ResourceParamsDto to manage request parameters.
- Updated ControllerRoute with new action summaries and descriptions.
2025-05-07 23:09:01 +03:00
2010e631f2
filter for not deleted space
2025-04-16 10:42:20 +04:00
e04f68a7ac
updated the search for commuities
2025-04-06 21:14:16 +04:00
b0a403b0cf
added search for spaces
2025-03-19 10:51:38 +04:00
30badcde67
add where for community name
2025-03-18 21:20:27 +04:00
39ac2e6860
add includeSpaces in the query param
2025-03-18 10:17:29 +03:00
9902b02700
finished return the spaces in get community
2025-03-18 01:52:01 +03:00
8a5709b1c9
finished spaces validation endpoint
2025-03-02 22:48:02 +03:00
e56bd88104
updated error message for update community with existing name
2024-12-30 22:22:28 +04:00
e4a5068f0d
updated community service to manage orphan community
2024-12-18 08:23:42 +04:00
19825540dd
updated endpoint and validation to manage project entity in communty CRUD
2024-12-09 16:22:54 +04:00
7e9894b1d3
Fixed scene
2024-11-02 19:36:56 +04:00
9bd598da31
added success message
2024-10-29 16:33:57 +04:00
d6e6eb9b1f
Added tuya space to community
2024-10-29 14:24:01 +04:00
00ed2c5bbf
remove unused
2024-10-29 13:23:30 +04:00
d6777c8ec1
Added all community endpoints
2024-10-17 10:55:26 +04:00
d14d3b5ba2
added community space
2024-10-15 11:38:49 +04:00
2292c01220
community controller
2024-10-15 11:01:56 +04:00
9a868c5757
added enums to replace constants
2024-10-06 15:44:49 +03:00
fb3753f2b2
Add get Communities endpoint
2024-08-19 11:53:23 +03:00
8f761168b4
changed entity and type structure
2024-08-03 23:50:49 +03:00
d146cce1bb
Refactor controllers to return UUID of added entities
2024-05-01 10:34:07 +03:00
ae63ac6717
Add UserRepository and addUserCommunity endpoint
2024-04-16 17:22:12 +03:00
230ed4eac1
Add UserSpaceRepositoryModule and UserSpaceRepository to CommunityModule
2024-04-16 15:33:37 +03:00
d92ae03eac
Refactor error handling in controllers and services
2024-04-14 11:28:52 +03:00
42a4d0cc11
Add endpoint to rename community by UUID
2024-04-14 10:17:11 +03:00
9b837bd15a
Refactor buildHierarchy method for improved performance
2024-04-03 15:07:11 +03:00
7cf26f3146
Update property name to communityName
2024-04-02 18:12:48 +03:00
ca5d67e291
Refactor community service to include child hierarchy retrieval
2024-04-02 17:30:54 +03:00
badda01a05
Add SpaceTypeRepository to CommunityModule imports
2024-04-02 11:30:44 +03:00
ae8d909268
Add endpoint to get community by UUID
2024-04-01 00:04:38 +03:00
d765d090ea
Refactor CommunityService constructor for simplicity and readability
2024-03-31 22:39:26 +03:00
85f6dce85f
Add CommunityService implementation
2024-03-31 22:30:51 +03:00