Commit Graph

4 Commits

Author SHA1 Message Date
github-actions[bot] 0827b6eaa9 style: apply ruff auto-fix
- Auto-formatted code with ruff format
- Applied ruff linting fixes with --fix

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-23 23:24:27 +00:00
copilot-swe-agent[bot] f9d849f7eb feat(api): remove redundant /env and /api/diagnostic/settings endpoints
- Remove `/api/diagnostic/settings` endpoint (superseded by `/api/settings/`)
- Remove `/env` view route (superseded by `/settings` admin page)
- Delete `env_debug.html` template
- Remove `/env` nav links from base.html (desktop + mobile)
- Update status_dashboard.html to link to /settings instead of /env
- Remove corresponding tests for deleted endpoints
- Update RateLimitingStrategy.md docs

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-23 23:23:28 +00:00
copilot-swe-agent[bot] 43bc58770d refactor: consolidate linting tools into Ruff
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 09:10:52 +00:00
copilot-swe-agent[bot] 4c78c8a23c feat(tests): Add comprehensive unit test scaffolding for low-coverage API modules
Created 7 new test files with 158 unit tests:
- test_api_settings_extended.py (24 tests)
- test_api_diagnostic_extended.py (22 tests)
- test_api_openai_extended.py (19 tests)
- test_api_azure_extended.py (21 tests)
- test_api_dropbox_extended.py (28 tests)
- test_api_google_drive_extended.py (26 tests)
- test_api_onedrive_extended.py (18 tests)

Tests cover:
- Success paths for all endpoints
- Error handling and exceptions
- Edge cases and validation
- Logging behavior
- External API mocking
- Configuration variations

All tests pass with proper mocking infrastructure.
Tests ready for expansion to achieve 70%+ coverage targets.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-12 04:21:24 +00:00