Commit Graph

881 Commits

Author SHA1 Message Date
Andrew Phillips
5d44be21fa feat: add compression engine test helpers and refactor tests
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:24:38 -03:00
Andrew Phillips
d5c956e626 feat: create common test helpers to reduce duplication across test modules
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:23:17 -03:00
Andrew Phillips
d0e62ad980 fix: update test to correctly handle xz compression type support
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:11:38 -03:00
Andrew Phillips
706e5c29ea fix: correct test assertions and database foreign key references
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:11:23 -03:00
Andrew Phillips
d194ae1edf fix: make plugin mutable in test to fix borrow error
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-14 17:15:00 -03:00
Andrew Phillips
ff1d4f164a fix: resolve compilation errors in tests by fixing type mismatches and imports
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-14 17:13:48 -03:00
Andrew Phillips
67af475339 fix: resolve import errors in test modules and remove unused variables
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-14 17:11:27 -03:00
Andrew Phillips
acbeb297b2 fix: enable and fix all existing tests by updating module imports and test implementations
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-14 17:09:13 -03:00
Andrew Phillips
efa51b1a6b fix: add Debug derive to KeepModes and remove unused import
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 17:06:29 -03:00
Andrew Phillips
e962c4857a fix: restore KeepModes enum and fix unused imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 17:05:16 -03:00
Andrew Phillips
2dfaed38b8 fix: implement FromStr for NumberOrString and KeyValue to fix clap parsing errors
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 17:03:55 -03:00
Andrew Phillips
6af1ac30df fix: resolve import issues for Args and ProgramWriter in tests
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 13:04:22 -03:00
Andrew Phillips
a0e79bc90a fix: remove unnecessary cfg(test) attributes from test modules
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:27:25 -03:00
Andrew Phillips
2713f2b127 fix: configure tests to run by removing deprecated test config and adding missing import
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:26:28 -03:00
Andrew Phillips
24d7c4742c chore: update dependencies and remove unused test modules 2025-08-14 12:23:46 -03:00
Andrew Phillips
0abb76e785 feat: implement comprehensive tests for all modules including database, meta plugins, compression engines, modes, server auth, and utilities to complete Phase 2
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:18:36 -03:00
Andrew Phillips
4e23dd36e1 feat: implement Phase 2 test structure and modules
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:15:57 -03:00
Andrew Phillips
8284545ca7 fix: update test files to use correct compression engine initialization and add compression_types tests
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:04:26 -03:00
Andrew Phillips
fde369c5d9 fix: resolve import paths in test files and remove deprecated tests.rs
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:00:50 -03:00
Andrew Phillips
9142cdde2d refactor: split compression tests into separate module files as planned
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 11:57:56 -03:00
Andrew Phillips
9e10b1b497 docs: add plan for refactoring tests.rs into multiple files
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 11:51:17 -03:00
Andrew Phillips
027fa10f04 chore: remove completed items from PLAN.md 2025-08-14 11:51:13 -03:00
Andrew Phillips
0eafdd0985 fix: resolve compression_engine import paths in tests
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 11:46:03 -03:00
Andrew Phillips
87a1628bbe fix: resolve import paths in tests and remove unused import
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 11:45:34 -03:00
Andrew Phillips
1a9a21e321 test: refactor and expand compression engine tests with better organization and coverage
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 11:41:05 -03:00
Andrew Phillips
81005ec8f4 test: add compression engine tests and refactor test structure 2025-08-14 11:40:59 -03:00
Andrew Phillips
d14857fa47 fix: remove handle_ prefix from OpenAPI operation IDs and add missing delete endpoint
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-13 13:43:28 -03:00
Andrew Phillips
92e589699c fix: resolve utoipa schema generation errors by removing unsupported description attributes and creating specific response types
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-13 13:39:07 -03:00
Andrew Phillips
87e76f6314 docs: Add comprehensive descriptions to all OpenAPI documentation endpoints and schemas
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-13 13:37:42 -03:00
Andrew Phillips
243e77fba4 feat: add optional allow_binary parameter to item handlers
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-13 13:25:27 -03:00
Andrew Phillips
07ea7ec5a4 fix: remove invalid security_schemes attribute and fix OpenAPI schema references
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-13 13:21:43 -03:00
Andrew Phillips
b07c9df812 feat: enhance HTTP logging and API responses with content metadata
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-13 13:20:57 -03:00
Andrew Phillips
8bd918129c docs: update API documentation tag name from 'items' to 'item' 2025-08-13 13:20:54 -03:00
Andrew Phillips
20a227fc9e fix: resolve overlapping route and deprecated base64 decode usage
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-13 13:05:14 -03:00
Andrew Phillips
50150ce23d feat: implement centralized logging and authentication middleware
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-13 13:03:13 -03:00
Andrew Phillips
1170c5ee47 feat: implement centralized HTTP request logging and authentication middleware with bearer and basic auth support
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-13 13:00:15 -03:00
Andrew Phillips
b380930493 fix: correct swagger and openapi.json endpoints paths
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 12:47:08 -03:00
Andrew Phillips
d8e864c353 fix: remove duplicate docs route registration to prevent panic
Co-authored-by: aider (openai/andrew/openrouter/google/gemini-2.5-pro) <aider@aider.chat>
2025-08-13 12:43:14 -03:00
Andrew Phillips
8501154084 feat: implement OpenAPI documentation with utoipa and Swagger UI integration
Co-authored-by: aider (openai/andrew/openrouter/google/gemini-2.5-pro) <aider@aider.chat>
2025-08-13 12:35:11 -03:00
Andrew Phillips
c7a843d9ed fix: remove invalid openapi attribute parameter
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 11:58:36 -03:00
Andrew Phillips
969f05c7d2 fix: add OpenAPI version field to resolve rendering issue
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 11:57:23 -03:00
Andrew Phillips
23af220f9c feat: add missing delete item endpoint to OpenAPI specification
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 11:55:32 -03:00
Andrew Phillips
733bd780d5 fix: remove invalid body parameter from delete item API documentation
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 11:49:59 -03:00
Andrew Phillips
47e901afa0 fix: add missing generic parameter to ApiResponse in delete item endpoint documentation
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 11:49:32 -03:00
Andrew Phillips
5e615315f5 fix: remove generic type from ApiResponse in delete item endpoint documentation
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 11:48:49 -03:00
Andrew Phillips
6dd1cbccc7 fix: correct OpenAPI annotation for delete item endpoint
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 11:47:31 -03:00
Andrew Phillips
733ef6332a fix: update route parameter syntax from :item_id to {item_id}
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 11:44:42 -03:00
Andrew Phillips
800fad89ea fix: correct API path documentation and remove missing delete handler
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 11:42:13 -03:00
Andrew Phillips
6bfb5ed963 fix: resolve OpenAPI macro and file descriptor type mismatches
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 11:40:44 -03:00
Andrew Phillips
99949cf1ee fix: resolve compilation errors in API paths and file descriptor handling
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-13 11:22:46 -03:00