Commit Graph

11 Commits

Author SHA1 Message Date
Ivan 6ff7a652be refactor(codebase): format 2026-04-22 18:40:11 -05:00
Ivan ef977c84b3 refactor: format and cleanup code using stricted ruff linter rules. 2026-04-22 18:13:05 -05:00
Ivan 44c652699d feat(tests): update testing framework for Electron and backend integrity checks, add new tests for loading status and main helpers 2026-04-18 00:06:21 -05:00
Ivan 6fb4ccc79a chore(license): add SPDX license identifiers to various files, standardizing licensing terms across the project 2026-04-16 18:12:14 -05:00
Ivan b1b9846ac5 fix(tests): clean up test formatting and improve readability in various test files 2026-04-14 17:21:14 -05:00
Ivan a3b6b7242a feat(tests): various cleanups, add JSON schema definitions and contract tests for API responses. 2026-04-14 16:26:41 -05:00
Ivan 77297e3e38 feat(tests): update test suite by adding performance tests and updating test commands to exclude performance hot-paths by default 2026-04-04 23:29:45 -05:00
Ivan b2fcaa44d1 feat(tests): update performance tests with dynamic minimum throughput for message upsert and update operations 2026-04-04 22:27:20 -05:00
Ivan fda9f18677 refactor(tests): update concurrent writer tests with dynamic throughput floor based on environment variables 2026-04-01 11:49:30 +03:00
Sudo-Ivan bc8969ab16 Improve database performance and SQL handling
- Introduced SQLite pragma tuning in the Database initialization for improved performance.
- Wrapped multiple database operations in transactions to optimize batch processing in MessageDAO.
- Updated DatabaseSchema to version 39, adding new indexes for better query performance.
- Improved test coverage for batch operations and SQL injection scenarios in the DAO layer.
2026-03-06 03:26:36 -06:00
Sudo-Ivan 9d7ae2017b Add SQL injection prevention measures in database migration and schema validation
- Implemented identifier validation regex in legacy migrator and schema.
- Enhanced database path handling to escape single quotes during ATTACH DATABASE.
- Added tests for SQL injection scenarios, ensuring robustness against malicious inputs.
- Introduced fuzz tests for DAO layers to cover edge cases and improve overall test coverage.
2026-03-06 03:08:28 -06:00