Commit Graph

815 Commits

Author SHA1 Message Date
fcb27155d8 typeorm logger 2025-04-22 10:20:48 +04:00
be3c9f730d - add winston logger
- updated HTTP logging interceptor
2025-04-21 11:38:11 +04:00
2010e631f2 filter for not deleted space 2025-04-16 10:42:20 +04:00
32112930c8 Implement product creation functionality with DTO and permissions 2025-04-15 13:26:56 +03:00
9f3dce535d Merge pull request #333 from SyncrowIOT/SP-1430-be-api-request-returns-400-bad-request-instead-of-empty-array-when-community-has-no-devices-or-spaces
refactor: improve error handling for missing space in device listing
2025-04-14 14:26:37 +03:00
f723b63a91 Merge branch 'dev' into fix-some-issues-wehn-add-new-device 2025-04-14 14:26:13 +03:00
f71279ea30 Fix SQL query in getPowerClampData method to use 'fact_daily_energy_consumed' 2025-04-14 13:47:40 +03:00
777105fc28 refactor: improve error handling for missing space in device listing 2025-04-14 13:24:40 +03:00
3745962827 Add PowerClamp module with controller and service for energy data retrieval 2025-04-14 12:17:44 +03:00
a3001c8bb8 feat: add DEVICE_ADD permission and update device handling logic 2025-04-13 20:19:21 +03:00
f9eee8e266 reordering controller 2025-04-11 11:50:57 +04:00
de09624db8 added commissioning endpoint 2025-04-08 10:42:48 +04:00
d11c6a88f1 Merge pull request #327 from SyncrowIOT/add-root-user-when-when-create-project
feat: add user UUID to project creation and validate user existence
2025-04-07 09:49:32 +03:00
9c676a5231 added space community 2025-04-07 10:22:20 +04:00
e04f68a7ac updated the search for commuities 2025-04-06 21:14:16 +04:00
22d98fa177 feat: add user UUID to project creation and validate user existence 2025-04-03 12:27:36 +03:00
5e2e95b098 Merge pull request #325 from SyncrowIOT/SP-1306-be-implement-client-credential-flow-that-accept-client-id-and-client-secret-from-3rd-party-applications-and-issue-o-auth-jwt-tokens
SP-1306-be-implement-client-credential-flow-that-accept-client-id-and-client-secret-from-3rd-party-applications-and-issue-o-auth-jwt-tokens
2025-03-28 12:16:16 +03:00
cf8cf08bdc add client relation btw user and client 2025-03-27 01:55:26 +03:00
cbd3f5028b finished client endpoints 2025-03-27 01:28:40 +03:00
5f45876516 Merge pull request #319 from SyncrowIOT/SP-1322
added search for spaces
2025-03-25 21:55:56 +04:00
cd05c9906d convert the api from post to put 2025-03-25 10:25:13 +03:00
c5dac6c564 add register client api 2025-03-25 10:10:08 +03:00
6785fb2b1e finished refactor vistitor password device 2025-03-24 03:28:26 +03:00
8efd8cfba2 finished refactor devices module 2025-03-24 02:32:44 +03:00
fb2e0c6cba Merge pull request #321 from SyncrowIOT/add-community-in-get-scenes-and-automation
finished add community data in scene and automation
2025-03-21 09:46:02 +03:00
d09bdd1f6e finished add community data in scene and automation 2025-03-20 11:12:37 +03:00
dd1229db9c add password as optional 2025-03-20 10:50:35 +03:00
9bc763bad3 refactor visitor passwords apis 2025-03-20 09:42:54 +03:00
b5469cb316 add project in the token 2025-03-20 09:42:28 +03:00
670c026cfd Merge pull request #317 from SyncrowIOT/SP-1331-be-return-space-name-in-get-scene-and-get-automation-by-space-apis
SP-1331-be-return-space-name-in-get-scene-and-get-automation-by-space-apis
2025-03-19 11:05:53 +03:00
b0a403b0cf added search for spaces 2025-03-19 10:51:38 +04:00
1a313c103d finished return the last three parents 2025-03-19 00:50:24 +03:00
30badcde67 add where for community name 2025-03-18 21:20:27 +04:00
770d08ce08 add space name to get scenes endpoint 2025-03-18 13:35:49 +03:00
770ece21b3 add space name to get automations endpoint 2025-03-18 13:35:09 +03: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
a9045a458c updated the endpoint for checking automation status 2025-03-14 12:26:56 +04:00
9f30f0e2c2 making get one automation endpoint RESTful 2025-03-14 11:57:11 +04:00
1f25e09388 community 2025-03-14 11:39:56 +04:00
532ded3624 Enforced service accessing space and automation within the project 2025-03-14 11:39:23 +04:00
3d3dcf17dd moved automation by space to different root 2025-03-14 11:38:49 +04:00
378ff1751b Merge pull request #313 from SyncrowIOT/SP-1243
updated api route and added dtos
2025-03-13 14:35:28 +04:00
76fd4b640f updated api route and added dtos 2025-03-13 14:23:40 +04:00
d24b1d88d7 added disabled check 2025-03-13 14:03:59 +04:00
8b3232b2f4 length checking 2025-03-13 13:39:26 +04:00
c6f314e5c4 fixed unliking tags on tags created via space models 2025-03-13 11:04:23 +04:00
8cbbb3a8ba updated space product model allocation 2025-03-12 23:08:18 +04:00
537f20f8de propagate subspace allocations 2025-03-12 21:57:08 +04:00
1ce2f3c3cc fix issues 2025-03-12 01:36:10 +04:00