3216cbbd5e
feat: add VS Code extensions to devcontainer configuration
Test / lint-frontend (pull_request) Successful in 1m32s
Test / test-frontend (pull_request) Successful in 1m32s
Test / frontend-build (pull_request) Successful in 2m7s
Verify / verify-openapi-spec (pull_request) Successful in 28s
Verify / verify-generated-agent-code (pull_request) Successful in 2m38s
Test / lint-crates (pull_request) Successful in 2m6s
Verify / verify-frontend-api-client (pull_request) Successful in 10s
Test / test-crates (pull_request) Successful in 4m39s
Verify / verify-generated-database-code (pull_request) Successful in 6m13s
2026-01-15 14:06:10 +00:00
7f0040b668
feat: add devcontainer configuration and setup script
2026-01-15 13:56:48 +00:00
d67a9f6f0d
Merge pull request 'feature/proxy-service' ( #14 ) from feature/proxy-service into master
...
Test / test-frontend (push) Successful in 22s
Test / lint-frontend (push) Successful in 26s
Test / frontend-build (push) Successful in 30s
Verify / verify-generated-database-code (push) Successful in 1m5s
Verify / verify-generated-agent-code (push) Successful in 1m8s
Verify / verify-openapi-spec (push) Successful in 1m10s
Verify / verify-frontend-api-client (push) Successful in 19s
Test / test-crates (push) Successful in 1m0s
Test / lint-crates (push) Successful in 1m8s
Reviewed-on: #14
2026-01-12 11:56:37 +08:00
GW_MC
4fe03b245e
test: added create location with proxy pass tests
Test / test-frontend (pull_request) Successful in 24s
Test / lint-frontend (pull_request) Successful in 27s
Test / frontend-build (pull_request) Successful in 31s
Verify / verify-generated-agent-code (pull_request) Successful in 1m37s
Verify / verify-generated-database-code (pull_request) Successful in 3m4s
Verify / verify-openapi-spec (pull_request) Successful in 3m0s
Verify / verify-frontend-api-client (pull_request) Successful in 20s
Test / lint-crates (pull_request) Successful in 1m3s
Test / test-crates (pull_request) Successful in 2m50s
2026-01-12 11:49:46 +08:00
GW_MC
b4a36dbe4c
Fix: create location support for proxy pass
2026-01-12 11:49:29 +08:00
GW_MC
7ae76f622c
feat: added proxy_host builder, and improve transaction borrowing
2026-01-07 16:37:51 +08:00
GW_MC
9b8232d94d
feat: Implement NGINX proxy host and location management endpoints
...
- Add `get_location` endpoint to retrieve location information with optional upstream inclusion.
- Introduce `get_proxy_list` and `get_proxy` endpoints for listing and retrieving proxy hosts.
- Implement `remove_location` and `remove_proxy` endpoints for deleting locations and proxy hosts respectively.
- Add `update_location` and `update_proxy` endpoints for modifying existing locations and proxy hosts.
- Create response structures for location and proxy host information.
- Implement tests for all new endpoints to ensure correct functionality and error handling.
2026-01-07 15:58:21 +08:00
GW_MC
83e02acb22
Fix: Refactor upstream count retrieval and improve query filtering logic
2026-01-07 15:58:03 +08:00
GW_MC
eb1afc87cc
feat: Update NginxConfigProvider to return Result with ServiceError for upstream and upstream target
2026-01-07 15:57:53 +08:00
GW_MC
1c0053207c
feat: Implement ProxyHost and Location services with CRUD operations
...
- Added `ProxyHostInfo`, `ProxyHostCreateInfo`, and `UpdateProxyHostInfo` structs to manage proxy host data.
- Created `ProxyService` and `ProxyServiceImpl` for handling proxy host operations including create, read, update, and delete.
- Implemented `LocationService` and `LocationServiceImpl` for managing locations associated with proxy hosts.
- Introduced database transaction handling for creating proxies and locations.
- Added tests for all service methods to ensure functionality and correctness.
2026-01-07 15:57:44 +08:00
GW_MC
ab840126b3
feat: add location and proxy host entities with migrations
2026-01-07 15:57:13 +08:00
1ed065e08e
Merge pull request 'feature/upstream-service' ( #13 ) from feature/upstream-service into master
...
Test / lint-frontend (push) Successful in 29s
Test / frontend-build (push) Successful in 32s
Verify / verify-generated-database-code (push) Successful in 1m1s
Verify / verify-generated-agent-code (push) Successful in 1m4s
Verify / verify-openapi-spec (push) Successful in 1m2s
Verify / verify-frontend-api-client (push) Successful in 20s
Test / test-crates (push) Successful in 49s
Test / lint-crates (push) Successful in 1m5s
Test / test-frontend (push) Successful in 32s
Reviewed-on: #13
2026-01-01 10:49:30 +08:00
GW_MC
d21459802c
Add total upstream count retrieval to UpstreamService
Test / lint-frontend (pull_request) Successful in 28s
Test / test-frontend (pull_request) Successful in 27s
Test / frontend-build (pull_request) Successful in 30s
Verify / verify-generated-database-code (pull_request) Successful in 1m7s
Verify / verify-generated-agent-code (pull_request) Successful in 1m9s
Verify / verify-openapi-spec (pull_request) Successful in 1m8s
Verify / verify-frontend-api-client (pull_request) Successful in 20s
Test / test-crates (pull_request) Successful in 1m1s
Test / lint-crates (pull_request) Successful in 1m8s
2026-01-01 10:40:44 +08:00
GW_MC
5e1a8364c7
Fix: update test database query results to include upstream target models
Test / test-frontend (pull_request) Successful in 24s
Test / lint-frontend (pull_request) Successful in 27s
Test / frontend-build (pull_request) Successful in 32s
Verify / verify-generated-database-code (pull_request) Successful in 1m5s
Verify / verify-generated-agent-code (pull_request) Successful in 1m8s
Verify / verify-openapi-spec (pull_request) Successful in 1m5s
Verify / verify-frontend-api-client (pull_request) Successful in 20s
Test / test-crates (pull_request) Successful in 55s
Test / lint-crates (pull_request) Successful in 1m5s
2025-12-31 20:26:20 +08:00
GW_MC
3be9ecc4c1
Refactor: improve config formatting, clean up imports
Test / test-frontend (pull_request) Successful in 24s
Test / lint-frontend (pull_request) Successful in 27s
Test / frontend-build (pull_request) Successful in 31s
Verify / verify-generated-database-code (pull_request) Successful in 1m9s
Verify / verify-generated-agent-code (pull_request) Successful in 1m12s
Verify / verify-openapi-spec (pull_request) Successful in 1m9s
Verify / verify-frontend-api-client (pull_request) Successful in 22s
Test / test-crates (pull_request) Failing after 58s
Test / lint-crates (pull_request) Successful in 1m8s
2025-12-31 20:10:47 +08:00
GW_MC
545bc66f8c
Fix: invalid config when all are backup
2025-12-31 19:17:14 +08:00
GW_MC
75097a661b
Add filtering options for upstream targets in get_upstreams
2025-12-31 19:16:55 +08:00
GW_MC
9860dddf60
Fix incorrect upstream_target config
2025-12-31 18:09:30 +08:00
GW_MC
c4634b18f9
Fix CORS method not allowed
2025-12-31 18:09:19 +08:00
GW_MC
a0b4df745e
fix upstream does not contain a target when init
2025-12-31 18:03:54 +08:00
GW_MC
46801fba99
improve error logging
2025-12-31 18:03:42 +08:00
GW_MC
cb65d4e9f7
fix incorrect Extension
2025-12-31 18:03:19 +08:00
GW_MC
10cc8f9d97
Fix incorrect path
2025-12-31 18:02:45 +08:00
GW_MC
d184261027
feat: added openapi doc
Test / lint-frontend (pull_request) Successful in 45s
Test / test-frontend (pull_request) Successful in 44s
Test / frontend-build (pull_request) Successful in 47s
Verify / verify-generated-agent-code (pull_request) Successful in 1m15s
Verify / verify-openapi-spec (pull_request) Successful in 2m29s
Verify / verify-generated-database-code (pull_request) Successful in 2m35s
Verify / verify-frontend-api-client (pull_request) Successful in 19s
Test / lint-crates (pull_request) Successful in 59s
Test / test-crates (pull_request) Successful in 2m44s
2025-12-31 16:44:18 +08:00
GW_MC
6a30a03e59
feat: enhance socket path validation for reqwest client configuration
2025-12-31 16:11:03 +08:00
GW_MC
9c3f775a67
refactor: remove unused Filters struct and clean up imports in create_upstream tests
2025-12-31 16:05:28 +08:00
GW_MC
331b4e1e96
feat: implement transaction handling for upstream and target operations
...
- Added transaction support in `add_upstream_target`, `remove_upstream`, `remove_upstream_target`, `update_upstream`, and `update_upstream_target` functions to ensure atomicity of operations.
- Updated the `NginxService` to include methods for validating and applying configurations using the agent service.
- Enhanced error handling in agent service interactions, returning appropriate internal server errors when agent communication fails.
- Introduced mock agent service for testing, allowing for simulation of agent interactions without actual network calls.
- Refactored tests to cover scenarios where agent operations fail, ensuring that internal server errors are returned as expected.
2025-12-31 15:57:29 +08:00
GW_MC
4f85d88380
feat: implement conversion from DbErr to ApiError
2025-12-31 14:51:22 +08:00
GW_MC
d81e5fe48d
refactor: clean up test module imports in health info endpoint
2025-12-31 14:48:51 +08:00
GW_MC
dff560019f
revert editing session
2025-12-31 12:01:08 +08:00
GW_MC
b2a322ed79
chore: added trait for upstream service
2025-12-30 18:22:18 +08:00
GW_MC
f05544267c
feat: add remove upstream and remove upstream target handlers
2025-12-30 18:02:46 +08:00
GW_MC
f4db47daf2
feat: implement update handlers for upstream and upstream target management
2025-12-30 15:09:49 +08:00
GW_MC
b43f9fcb00
Refactor database schema: Remove access list and related entities, add editing session and edit operation entities
...
- Deleted `access_list_entry`, `location`, `proxy_host`, `proxy_host_access_list`, `session`, `stream_service`, `stream_service_access_list` entities and their corresponding migration files.
- Introduced `editing_session` and `edit_operation` entities with appropriate fields and relationships.
- Updated `mod.rs` and `prelude.rs` to reflect the changes in the entity structure.
- Adjusted migration files to remove obsolete migrations and include new migrations for the editing session and edit operation tables.
2025-12-30 15:09:33 +08:00
GW_MC
1b251fd89f
feat: add add_upstream_target handler and response struct for upstream target management
2025-12-29 21:34:40 +08:00
GW_MC
dd79cbe0bb
feat: add create_upstream handler for upstream creation
2025-12-29 20:12:01 +08:00
GW_MC
37f4163870
added mock for require_auth middleware
2025-12-29 19:30:31 +08:00
GW_MC
481abd7f26
fix: AuthenticatedRequestInfo support any state
2025-12-29 18:58:00 +08:00
GW_MC
7a557d6e00
feat: update UpstreamCreateInfo conversion to include upstream targets
2025-12-29 18:45:03 +08:00
GW_MC
0cbc223b4e
feat: implement AuthenticatedRequestInfo for user authentication handling
2025-12-29 18:44:52 +08:00
GW_MC
fdfd1c98e0
feat: introduce ApiError for improved error handling in upstream routes
2025-12-29 18:03:09 +08:00
GW_MC
abeea4fad7
refactor: upstream info response structures and module
2025-12-29 18:01:57 +08:00
GW_MC
fea205cba8
chore: delegate path prefix to router
2025-12-29 17:52:29 +08:00
GW_MC
3cc6b40e61
Fix: missing upstream in From
2025-12-29 17:48:44 +08:00
GW_MC
41023939db
feat: add tests for upstream and upstream target handlers
2025-12-29 17:44:41 +08:00
GW_MC
6eb0d9060b
fix: path not starting with /
2025-12-29 17:24:50 +08:00
GW_MC
7d83838da3
feat: add get_upstream_target endpoint and update router for upstream targets
2025-12-29 16:38:43 +08:00
GW_MC
921165476c
feat: enhance UpstreamTargetInfo with upstream details and refactor imports
2025-12-29 16:38:33 +08:00
GW_MC
a0621e2407
test: added test cases for upstream service
2025-12-29 16:37:57 +08:00
GW_MC
f8b13be650
feat: add Nginx upstream read management routes and handlers
2025-12-29 15:27:03 +08:00