36 Commits
Author SHA1 Message Date
furyhawk 63e946f0ad refactor: Improve code formatting and organization in test files and migration scripts 2026-05-11 14:57:24 +08:00
furyhawk 38e71f8b55 feat: Update IoT endpoint and tests for improved functionality and type hints 2026-05-11 14:46:56 +08:00
furyhawk 255a6f0f71 feat: Implement IoT logging endpoint and related models/schemas 2026-05-11 14:39:03 +08:00
furyhawk ce6734d906 feat: Add date range tests for pressure and humidity search endpoints 2026-05-11 14:09:54 +08:00
furyhawkandCopilot 5f320e9cda feat: Add offset parameter for pagination in humidity, pressure, and temperature search endpoints
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 23:07:40 +08:00
furyhawk d7997450df chore: migrate project to uv 2026-04-12 22:10:08 +08:00
furyhawk 9dc1795f9f Refactor code structure for improved readability and maintainability 2026-04-12 22:00:21 +08:00
furyhawk 375ca1bb2b feat: Update humidity, pressure, and temperature endpoints to support search with date range and limit 2026-04-12 21:52:47 +08:00
furyhawk b13a92fa9a fix: update route filtering to use APIRouter for authorized routes 2025-01-21 21:30:30 +08:00
furyhawk dff011e7af fix: refine authorized routes filtering to ensure only APIRoute instances are included 2025-01-21 21:25:36 +08:00
furyhawk c6e3fdc63e fix: remove unnecessary blank line in JWT error test file 2025-01-21 21:08:56 +08:00
furyhawk acf0402336 fix: update JWT tests to only include authorized routes for better coverage 2025-01-21 21:02:13 +08:00
furyhawk e859d753b2 fix: update JWT error handling to accept additional status code and adjust coverage threshold 2025-01-21 20:02:16 +08:00
furyhawk af8f34a8b3 fix: add pytest-asyncio marker to test functions for proper async execution 2025-01-21 19:41:55 +08:00
furyhawk ac8d9ba5a5 fix: ensure newline at end of file in test files 2025-01-21 19:34:01 +08:00
furyhawkandGitHub b2557c367e migrate tests to pytest-asyncio 2025-01-21 09:47:51 +08:00
furyhawkandGitHub 9e0456f1fc logging missed 2025-01-21 09:38:27 +08:00
furyhawkandGitHub 52b7716391 migrate tests to pytest-asyncio 0.24.0 2025-01-21 09:28:47 +08:00
furyhawkandGitHub 09639aef8f bump version to 6.1.0 2025-01-21 09:24:58 +08:00
furyhawkandGitHub b7728ef3e5 switch to python3.13 and update packages 2025-01-21 09:18:09 +08:00
furyhawk 38a47b579e Refactor ASGITransport initialization in fixture_client 2024-09-18 15:16:29 +08:00
furyhawk cfe7974d2c Refactor ASGITransport initialization in fixture_client 2024-09-18 14:33:17 +08:00
furyhawk 71e21a3834 chore: Update computed_field decorator to use prop-decorator type ignore 2024-08-31 09:39:58 +08:00
furyhawk c4412a6b29 chore: Update test_auth_refresh_token.py to include current_time in test_refresh_token_success_refresh_token_has_valid_expire_time 2024-07-15 09:24:13 +08:00
furyhawk 1b3a701c5c refactor: Reorganize API router imports 2024-06-02 15:17:02 +08:00
furyhawk 8e646eb2f3 refactor: Reorganize API router imports
This commit reorganizes the imports in the `api_router.py` file to group related endpoints together. This improves code readability and maintainability.
2024-06-02 15:04:09 +08:00
furyhawk 9494341150 chore: Update app/core/config.py to fix domain whitelist
The code changes in `app/core/config.py` fix the domain whitelist by adding a dot before the domain name `.furyhawk.lol`. This ensures that all subdomains of `furyhawk.lol` are included in the whitelist.

Recent commits:
- Update dev_build.yml to include "release/*" branches for dev-build workflow
- Update pytest coverage threshold to 95% in pyproject.toml
- Skip test for routes that require authentication in test_api_router_jwt_errors.py
- Bump pytest-asyncio from 0.23.6 to 0.23.7
- Bump the all-dependencies group across 1 directory with 10 updates
- Bump pytest-asyncio from 0.21.1 to 0.23.6
- Bump the all-dependencies group across 1 directory with 20 updates

Please note that the commit message should not include any references, tags, or author names.
2024-05-29 15:42:07 +08:00
furyhawk 784ee7934b refactor: Skip test for routes that require authentication in test_api_router_jwt_errors.py 2024-05-23 17:01:16 +08:00
furyhawk 1932750e6b chore: Update create_humidity, create_pressure, and create_temperature function names 2024-05-08 14:33:41 +08:00
furyhawk 0f310d96a8 chore: Update temperature, humidity, and pressure models
This commit updates the temperature, humidity, and pressure models in the `models.py` file. It changes the data type of the `temperature`, `humidity`, and `pressure` fields from `float` to `str`.
2024-05-08 10:16:56 +08:00
furyhawk 10b7ab2621 feat: Update pressure endpoint to use MqttCreateRequest 2024-05-04 15:45:05 +08:00
furyhawk 45689de660 chore: Add support for humidity and pressure endpoints
```
2024-05-04 15:36:14 +08:00
furyhawk d0440675ef chore: Update Docker image tag in dev_build.yml
feat: Update temperature endpoint to use MqttCreateRequest

chore: Update MqttCreateRequest schema in requests.py
2024-05-04 10:40:20 +08:00
furyhawk f10544fd36 chore: Add support for creating pets in API 2024-05-03 21:31:51 +08:00
furyhawk 74ac02b894 feat: Add support for creating pets
This commit adds support for creating pets in the API. It includes the following changes:
- Added a new endpoint in the `api_router.py` file to handle pet creation
- Added a new model `Pet` in the `models.py` file to represent a pet
- Added a new request schema `PetCreateRequest` in the `requests.py` file to validate pet creation requests
- Added a new response schema `PetResponse` in the `responses.py` file to represent a pet response

These changes allow users to create pets and retrieve information about them.
2024-05-03 19:37:25 +08:00
furyhawkandGitHub d7f1863023 Initial commit 2024-05-03 11:52:23 +08:00