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
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
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
GW_MC
238c3db92b
feat: implement Nginx service with upstream management and configuration generation
2025-12-29 15:21:02 +08:00
GW_MC
814f76291c
fix: update test cases to use mock
2025-12-29 15:19:06 +08:00
GW_MC
7ac3368715
feat: added intoResponse
2025-12-29 15:18:40 +08:00
GW_MC
35fadb46f6
feat: add pagination helper and integrate serde_urlencoded for query extraction
2025-12-29 12:16:09 +08:00
GW_MC
6f5596dc69
Enforce deny unwrap_used
Test / test-frontend (pull_request) Successful in 26s
Test / lint-frontend (pull_request) Successful in 28s
Test / frontend-build (pull_request) Successful in 32s
Verify / verify-generated-database-code (pull_request) Successful in 1m7s
Verify / verify-generated-agent-code (pull_request) Successful in 1m10s
Verify / verify-openapi-spec (pull_request) Successful in 1m9s
Verify / verify-frontend-api-client (pull_request) Successful in 7s
Test / test-crates (pull_request) Successful in 54s
Test / lint-crates (pull_request) Successful in 1m10s
2025-12-28 19:07:17 +08:00
GW_MC
96e7f36731
feat: integrate AgentService into app service and enhance configuration handling
Test / test-frontend (pull_request) Successful in 25s
Test / lint-frontend (pull_request) Successful in 28s
Test / frontend-build (pull_request) Successful in 32s
Verify / verify-generated-database-code (pull_request) Successful in 1m7s
Verify / verify-generated-agent-code (pull_request) Successful in 1m11s
Verify / verify-openapi-spec (pull_request) Successful in 1m13s
Verify / verify-frontend-api-client (pull_request) Successful in 8s
Test / test-crates (pull_request) Successful in 55s
Test / lint-crates (pull_request) Successful in 1m9s
2025-12-28 18:35:53 +08:00
GW_MC
410328a2af
refactor app service
2025-12-28 18:28:28 +08:00
GW_MC
9f122566d0
feat: add agent settings configuration and update agent client service
2025-12-28 18:08:55 +08:00
GW_MC
c65dc3af47
feat: Basic agent-client service
Test / test-frontend (pull_request) Successful in 27s
Test / frontend-build (pull_request) Successful in 33s
Verify / verify-openapi-spec (pull_request) Successful in 7s
Verify / verify-generated-agent-code (pull_request) Successful in 1m7s
Verify / verify-generated-database-code (pull_request) Successful in 2m14s
Verify / verify-frontend-api-client (pull_request) Successful in 6s
Test / lint-crates (pull_request) Failing after 1m28s
Test / test-crates (pull_request) Successful in 2m40s
Test / lint-frontend (pull_request) Successful in 29s
2025-12-28 17:53:27 +08:00
GW_MC
dc7b70e039
Fix trailing whitespace
Test / test-frontend (pull_request) Successful in 23s
Test / lint-frontend (pull_request) Successful in 25s
Test / frontend-build (pull_request) Successful in 29s
Test / test (pull_request) Successful in 46s
Verify / verify-generated-code (pull_request) Successful in 59s
Verify / verify-openapi-spec (pull_request) Successful in 1m1s
Verify / verify-frontend-api-client (pull_request) Successful in 20s
Test / lint (pull_request) Successful in 1m3s
2025-12-20 18:48:35 +08:00
GW_MC
873b4a9d3a
refactor: remove dead code annotations from UserService and SettingsStore traits
Test / test-frontend (pull_request) Successful in 21s
Test / lint-frontend (pull_request) Successful in 25s
Test / frontend-build (pull_request) Successful in 29s
Test / test (pull_request) Successful in 46s
Verify / verify-generated-code (pull_request) Successful in 1m0s
Verify / verify-openapi-spec (pull_request) Successful in 1m0s
Verify / verify-frontend-api-client (pull_request) Successful in 20s
Test / lint (pull_request) Failing after 1m4s
2025-12-20 18:23:43 +08:00
GW_MC
596eb8faea
feat: add mock implementations for configuration settings and update AppState to include config
2025-12-20 18:22:33 +08:00
GW_MC
0cd6e837fc
fix: include InvalidSignature in JWT validation error handling
2025-12-20 18:21:54 +08:00
GW_MC
be63fcbc37
feat: fix incorrect JWT cookie key
2025-12-20 16:40:41 +08:00
GW_MC
e59e7ca4c8
feat: add user management API with endpoint to retrieve current user information
2025-12-20 12:27:10 +08:00
GW_MC
b0b765b8fa
feat: implement CORS support with configuration options and middleware integration
2025-12-19 21:34:12 +08:00
GW_MC
507b5f0e49
feat: enforce strict expiration checking for JWT and handle existing user identities in password strategy
Test / test-frontend (pull_request) Successful in 20s
Test / frontend-build (pull_request) Successful in 22s
Verify / verify-generated-code (pull_request) Successful in 58s
Test / test (pull_request) Successful in 47s
Verify / verify-openapi-spec (pull_request) Successful in 57s
Verify / verify-frontend-api-client (pull_request) Successful in 16s
Test / lint (pull_request) Successful in 1m0s
2025-12-19 12:22:13 +08:00
GW_MC
ec81d3228b
fix clippy warnings
Test / test-frontend (pull_request) Successful in 38s
Test / frontend-build (pull_request) Successful in 40s
Verify / verify-generated-code (pull_request) Successful in 9m2s
Verify / verify-openapi-spec (pull_request) Successful in 8m43s
Verify / verify-frontend-api-client (pull_request) Successful in 18s
Test / test (pull_request) Failing after 8m56s
Test / lint (pull_request) Successful in 1m9s
2025-12-19 10:25:55 +08:00