8 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
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
66412c7438 feat(setup): add new packages 'lxmfy' and 'websockets' to cx_setup.py; refactor JSON output handling in build_community_interfaces_json.py; improve docstring clarity in move_wheels.py; update datetime import in slsa-predicate.py; enhance performance benchmarks with clearer argument passing; and refactor various test cases for improved readability and consistency. 2026-04-14 19:36:10 -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
68c8e6e363 fix: validate request bodies and improve error handling in meshchat API endpoints 2026-04-09 04:49:52 -05: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