Commit Graph
39 Commits
Author SHA1 Message Date
ZaydSkaff 0bb178ed10 make point nullable (#457) 2025-07-08 14:50:00 +03:00
ZaydSkaff 9971fb953d SP-1812: Task/booking-system/update-api (#456)
* add update bookable spaces API

* add search to get bookable spaces API
2025-07-08 11:52:22 +03:00
ZaydSkaff 7a07f39f16 add communities filter to devices by project API (#455) 2025-07-08 11:25:15 +03:00
ZaydSkaff 18b21d697c SP-1753 Feat/booking system (#454)
* task: add get all bookable spaces API (#453)

* task: add non bookable space API
2025-07-08 09:02:24 +03:00
ZaydSkaff 66391bafd8 SP-1814: Update out-of-date device-virtual-id (#451)
* task: add a function to update device tuya id

* Add Tuya const uuid to device
2025-07-07 10:38:20 +03:00
ZaydSkaff 25599b9fe2 add '%' to search (#452) 2025-07-06 14:14:23 +03:00
ZaydSkaff 807c5b7dd3 add tag uuid to add device API (#450) 2025-07-03 16:23:42 +03:00
ZaydSkaff 0b9eef276e ensure Timer is the category value for CUR2 type (#448) 2025-06-30 15:52:01 +03:00
ZaydSkaff b3f8b92826 ensure Timer is the category value for CUR2 type (#446) 2025-06-30 15:35:23 +03:00
Mhd Zayd Skaff 5bf44a18e1 add cur2 checks to schedule 2025-06-30 14:09:32 +03:00
ZaydSkaff f4f7999ae0 add device to firebase & stop moving it from the OEM space (#443) 2025-06-30 09:48:16 +03:00
ZaydSkaff 82c82d521c add deviceName to handle password API (#442) 2025-06-30 08:57:43 +03:00
ZaydSkaff c7a4ff1194 fix: schedule device types (#441) 2025-06-29 15:27:55 +03:00
ZaydSkaff 90ab291d83 add curtain module device (#440) 2025-06-29 10:10:19 +03:00
ZaydSkaff 5381a949bc task: delete used & its relations (#437) 2025-06-25 15:32:46 +03:00
ZaydSkaff 68692b7c8b increase rate limit to 100 per minute for each IP (#435) 2025-06-25 13:50:38 +03:00
ZaydSkaff e58d2d4831 Test/prevent server block on rate limit (#432) 2025-06-24 14:56:02 +03:00
ZaydSkaff 932a3efd1c Sp 1780 be configure the curtain module device (#424)
* task: add Cur new device configuration
2025-06-24 12:18:46 +03:00
ZaydSkaff 0a1ccad120 add check if not space not found (#430) 2025-06-24 12:18:15 +03:00
ZaydSkaff f337e6c681 Test/prevent server block on rate limit (#421) 2025-06-24 10:55:38 +03:00
ZaydSkaff 60d2c8330b fix: increase DB max pool size (#425) 2025-06-23 15:23:53 +03:00
ZaydSkaff fddd06e06d fix: add space condition to the join operator instead of general query (#423) 2025-06-23 12:44:19 +03:00
ZaydSkaff 3160773c2a fix: spaces structure in communities (#420) 2025-06-23 10:21:55 +03:00
ZaydSkaff 110ed4157a task: add spaces filter to get devices by project (#422) 2025-06-23 09:34:59 +03:00
ZaydSkaff aa9e90bf08 Test/prevent server block on rate limit (#419)
* increase DB max connection to 50
2025-06-19 14:34:23 +03:00
ZaydSkaff c5dd5e28fd Test/prevent server block on rate limit (#418) 2025-06-19 13:54:22 +03:00
ZaydSkaff 603e74af09 Test/prevent server block on rate limit (#417)
* task: add trust proxy header

* add logging

* task: test rate limits on sever

* task: increase rate limit timeout

* fix: merge conflicts
2025-06-19 12:54:59 +03:00
ZaydSkaff 6973e8b195 task: sort communities by creation date (#416) 2025-06-19 11:13:24 +03:00
ZaydSkaff 0e36f32ed6 Test/prevent server block on rate limit (#415)
* task: increase rate limit timeout
2025-06-19 10:15:29 +03:00
ZaydSkaff 705ceeba29 Test/prevent server block on rate limit (#414)
* task: test rate limits on sever
2025-06-19 09:45:09 +03:00
ZaydSkaff a37d5bb299 task: add trust proxy header (#411)
* task: add trust proxy header

* add logging
2025-06-18 12:05:53 +03:00
ZaydSkaff 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
ZaydSkaff 7520b8d9c7 fix: power clamp historical API (#408) 2025-06-17 15:17:49 +03:00
ZaydSkaff a91d0f22a4 fix: send correct enable status to email sender function (#407) 2025-06-13 09:46:41 +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
ZaydSkaff 35ce13a67f fix: return proper error on login API (#386) 2025-06-03 09:47:24 +03:00
ZaydSkaff f2e515b180 Merge pull request #377 from SyncrowIOT/SP-1561-be-get-all-projects-api-is-returning-internal-server-error
Sp 1561 be get all projects api is returning internal server error
2025-05-21 16:32:18 +03:00
Mhd Zayd Skaff f7fd96afa1 fix: remove unused params from get all projects api 2025-05-20 14:40:48 +03:00