Andrew Phillips
c4b2a5d7e7
fix: update config type references and method calls
...
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-16 12:03:13 -03:00
Andrew Phillips
b6389419c0
fix: remove unused imports and resolve config module conflicts
...
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat >
2025-08-15 16:39:11 -03:00
Andrew Phillips
56f4d8aad5
feat: implement unified settings system
...
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat >
2025-08-15 16:36:58 -03:00
Andrew Phillips
a3eb9e7056
fix: address critical memory safety, error handling, concurrency and security issues
...
This commit fixes several critical issues across the codebase:
1. Memory safety & resource leaks: Added proper cleanup for compression engine processes using RAII patterns
2. Error handling: Replaced unsafe unwrap() calls with proper error propagation using ok_or_else()?
3. Concurrency issues: Improved diff mode thread safety with proper error handling and RAII guards
4. Security concerns: Added validation for item IDs to prevent path traversal vulnerabilities
5. Database design: Wrapped database operations in transactions for atomicity in save/update modes
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-09 23:33:06 -03:00
Andrew Phillips
dd8f828ed3
refactor: update function parameters to use references where appropriate
2025-05-14 22:09:23 -03:00
Andrew Phillips
bbdfe19836
feat: add compression and digest support with database schema updates
2025-05-14 09:45:51 -03:00
Andrew Phillips
9feec61759
style: reorder imports and reformat code for consistency
2025-05-10 10:06:33 -03:00
Andrew Phillips (aider)
1207dfc2c0
fix: correct invalid self import in delete.rs
...
The original line `use crate::db::self;` was invalid because `self` cannot be used in a `use` statement outside of a list. Changed to `use crate::db;` to properly import the module.
2025-05-10 08:41:08 -03:00
Andrew Phillips (aider)
6c3f717b8d
fix: add missing log/rusqlite imports and remove unused imports
2025-05-10 08:39:50 -03:00
Andrew Phillips (aider)
93d06b4429
refactor: Move mode_delete function to src/modes/delete.rs
2025-05-10 08:37:03 -03:00