ZaydSkaff
6973e8b195
task: sort communities by creation date ( #416 )
2025-06-19 11:13:24 +03:00
ZaydSkaff
ea9a65178d
fix: add space filter to "join" operation instead of "and" operation ( #405 )
2025-06-11 16:28:33 +03:00
ZaydSkaff
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
faris Aljohari
c86be27576
Add AQI module and related services, controllers, and DTOs
...
- Introduced AqiModule with AqiService and AqiController for handling AQI data.
- Added DTOs for AQI requests: GetAqiDailyBySpaceDto and GetAqiPollutantBySpaceDto.
- Implemented AqiDataService for managing AQI sensor historical data.
- Updated existing modules to include AqiDataService where necessary.
- Defined new routes for AQI data retrieval in ControllerRoute.
2025-06-10 18:19:34 -06:00
faris Aljohari
0fe6c80731
Add utility function to associate space UUID with devices in community and device services
2025-06-01 21:56:08 -06:00
faris Aljohari
e253d1ca03
refactor: optimize device retrieval by avoiding duplicate space visits in getAllDevicesByCommunity
2025-05-15 10:08:02 +03:00
faris Aljohari
7ec4171e1a
feat: add occupancy module with controller, service, and related DTOs for heat map data retrieval
2025-05-12 02:15:57 +03:00
faris Aljohari
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
faris Aljohari
f3fd6646a1
feat: add SqlLoaderService to multiple modules for improved SQL data handling
2025-04-24 02:31:35 +03:00
faris Aljohari
7f43ef5de5
feat: integrate PowerClamp service and repositories across multiple modules
2025-04-24 02:14:58 +03:00
hannathkadher
2010e631f2
filter for not deleted space
2025-04-16 10:42:20 +04:00
hannathkadher
e04f68a7ac
updated the search for commuities
2025-04-06 21:14:16 +04:00
hannathkadher
5f45876516
Merge pull request #319 from SyncrowIOT/SP-1322
...
added search for spaces
2025-03-25 21:55:56 +04:00
hannathkadher
b0a403b0cf
added search for spaces
2025-03-19 10:51:38 +04:00
faris Aljohari
1a313c103d
finished return the last three parents
2025-03-19 00:50:24 +03:00
hannathkadher
30badcde67
add where for community name
2025-03-18 21:20:27 +04:00
faris Aljohari
39ac2e6860
add includeSpaces in the query param
2025-03-18 10:17:29 +03:00
faris Aljohari
9902b02700
finished return the spaces in get community
2025-03-18 01:52:01 +03:00
faris Aljohari
8a5709b1c9
finished spaces validation endpoint
2025-03-02 22:48:02 +03:00
hannathkadher
e56bd88104
updated error message for update community with existing name
2024-12-30 22:22:28 +04:00
hannathkadher
e4a5068f0d
updated community service to manage orphan community
2024-12-18 08:23:42 +04:00
faris Aljohari
d169999675
Replace JwtAuthGuard with PermissionsGuard and add specific permissions
2024-12-16 00:19:34 -06:00
hannathkadher
19825540dd
updated endpoint and validation to manage project entity in communty CRUD
2024-12-09 16:22:54 +04:00
hannathkadher
7e9894b1d3
Fixed scene
2024-11-02 19:36:56 +04:00
hannathkadher
2422f40a2d
remove unused guard
2024-10-30 11:28:25 +04:00
hannathkadher
a486b24ef8
removed get spaces from community
2024-10-29 18:13:13 +04:00
hannathkadher
9bd598da31
added success message
2024-10-29 16:33:57 +04:00
hannathkadher
d6e6eb9b1f
Added tuya space to community
2024-10-29 14:24:01 +04:00
hannathkadher
00ed2c5bbf
remove unused
2024-10-29 13:23:30 +04:00
hannathkadher
19bca44aa1
removed unused
2024-10-21 10:21:58 +04:00
hannathkadher
e993351a65
removed permission guard for now
2024-10-21 10:21:23 +04:00
hannathkadher
f8c011f9dc
space management without roles
2024-10-21 09:47:52 +04:00
hannathkadher
d6777c8ec1
Added all community endpoints
2024-10-17 10:55:26 +04:00
hannathkadher
d14d3b5ba2
added community space
2024-10-15 11:38:49 +04:00
hannathkadher
2292c01220
community controller
2024-10-15 11:01:56 +04:00
unknown
11759d8112
resolve conflicts
2024-10-08 10:59:31 +03:00
yousef-khriasat-uba
972e1423f5
Merge pull request #110 from SyncrowIOT/exception-handling-in-controllers
...
Exception handling in controllers
2024-10-08 10:57:26 +03:00
faris Aljohari
898791ae93
remove rename from apis url
2024-10-08 01:13:00 -05:00
faris Aljohari
69d2aece43
remove unused imports
2024-10-07 18:28:06 -05:00
unknown
9a868c5757
added enums to replace constants
2024-10-06 15:44:49 +03:00
unknown
500ca23fba
added exception filter and removed controller error handling
2024-10-06 11:04:25 +03:00
faris Aljohari
fb3753f2b2
Add get Communities endpoint
2024-08-19 11:53:23 +03:00
yousef-alkhrissat
8f761168b4
changed entity and type structure
2024-08-03 23:50:49 +03:00
faris Aljohari
483fc6375f
feat: Add unit invitation code functionality and user verification using code
2024-06-01 19:56:07 +03:00
faris Aljohari
8cbfcae775
Merge branch 'dev' into SP-201-be-handle-roles-new
2024-05-19 17:42:24 +03:00
faris Aljohari
835fde8304
feat: Add success response with data in controllers
2024-05-19 14:25:19 +03:00
faris Aljohari
6415d78992
Remove USER role
2024-05-18 23:00:22 +03:00
faris Aljohari
616ddd4d4c
Refactor space permission service
2024-05-08 09:35:42 +03:00
faris Aljohari
aff52be540
Add permission guards to controllers
2024-05-07 22:27:59 +03:00
faris Aljohari
4058449f4b
Update guard usage in controllers
2024-05-07 00:33:04 +03:00