Commit Graph

400 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] bb155501b4 fix(tasks): apply Black formatting to extract_metadata_with_gpt.py and rotate_pdf_pages.py
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 18:21:45 +00:00
copilot-swe-agent[bot] 7ea933c9e6 Initial plan 2026-02-08 18:17:54 +00:00
Christian Krakau-Louis 14a5569b05 Merge pull request #149 from christianlouis/copilot/install-codecov-integration
Upgrade Codecov integration to v5 and add repository status badges
2026-02-08 19:14:29 +01:00
Christian Krakau-Louis 152f54dade Merge pull request #148 from christianlouis/copilot/fix-flake8-linter-errors
fix: resolve all 1080 Flake8 linter errors across app/ directory
2026-02-08 19:14:01 +01:00
copilot-swe-agent[bot] d08040ac4a style: fix all flake8 linter errors across app/ directory
- Run Black formatter and isort on all app/ files
- Remove unused imports (F401) across multiple files
- Add # noqa: F401 for intentional re-exports in celery_worker.py,
  tasks/__init__.py, utils.py, frontend.py, views/base.py
- Fix f-strings without placeholders (F541) in azure.py, notification.py,
  check_credentials.py, upload_to_onedrive.py, settings.py
- Fix bare except (E722) in upload_to_sftp.py
- Fix block comment format (E265) in models.py
- Move imports to top of file to fix E402 in celery_app.py, celery_worker.py
- Fix line-too-long (E501) by wrapping strings in multiple files
- Remove unused variable (F841) in upload_to_nextcloud.py

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 17:42:33 +00:00
copilot-swe-agent[bot] b79f61e85f feat: integrate Codecov v5 with test results and add comprehensive status badges
- Update Codecov action from v3 to v5 with token authentication
- Add Codecov test results action v1 for test analytics
- Update pytest to generate JUnit XML for test results
- Add comprehensive status badges to README including:
  - Codecov coverage badge
  - CI/CD workflow status badges (Tests, Docker CI, CodeQL)
  - GitHub release, license, and Python version badges
  - Social badges for stars, forks, issues, and PRs

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 17:41:41 +00:00
copilot-swe-agent[bot] cfe3c5bb23 Initial plan 2026-02-08 17:39:56 +00:00
copilot-swe-agent[bot] 7827b97e06 Initial plan 2026-02-08 17:33:30 +00:00
Christian Krakau-Louis 75b8dddc7b Merge pull request #145 from christianlouis/copilot/remove-dead-files-and-workflows
chore: remove dead files and duplicate workflows
2026-02-08 18:31:39 +01:00
copilot-swe-agent[bot] b3b74adb45 chore: remove dead files and duplicate workflows
- Delete build-setup.sh (empty shell script)
- Delete docker-build.sh (empty shell script)
- Delete .github/workflows/codeql.yaml (duplicate, keeping codeql.yml)
- Delete issues/ directory (3 markdown files)
- Update SECURITY_AUDIT.md to remove completed task about consolidating CodeQL workflows
- Update docs/archive/ANALYSIS_SUMMARY.md to reference codeql.yml instead of codeql.yaml

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 17:02:11 +00:00
copilot-swe-agent[bot] 94bd46fabe Initial plan 2026-02-08 17:00:02 +00:00
Christian Krakau-Louis 5f4ba67f05 Merge pull request #143 from christianlouis/copilot/fix-file-upload-tests
fix(tests): Fix Celery task mocking in file upload tests
2026-02-08 17:59:22 +01:00
copilot-swe-agent[bot] 0422c705f5 fix(tests): fix Celery task mocking in file upload tests
Patch entire task objects instead of just .delay method to properly
intercept Celery task calls in app.api.files module. This fixes 7
failing tests that were getting 'Expected delay to have been called
once. Called 0 times.' errors.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 16:57:38 +00:00
copilot-swe-agent[bot] 23819bcd6e Initial plan 2026-02-08 16:53:23 +00:00
Christian Krakau-Louis 468f307f85 Merge pull request #142 from christianlouis/copilot/create-copilot-instructions-md
docs: add build, test, lint commands and conventions to copilot-instructions.md
2026-02-08 17:53:06 +01:00
copilot-swe-agent[bot] 05821466a7 docs: enhance copilot-instructions.md with build, test, lint commands and conventions
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 16:33:11 +00:00
copilot-swe-agent[bot] 7757f588cf Initial plan 2026-02-08 16:30:15 +00:00
Christian Krakau-Louis ccc7d2f83a Merge pull request #139 from christianlouis/copilot/fix-files-view-auto-refresh
feat(ui): auto-refresh files table after upload and inline file preview
2026-02-08 17:26:10 +01:00
copilot-swe-agent[bot] 334714423e fix(ui): address code review feedback on inline preview
- Remove invalid type attribute from iframe elements
- Add dedicated download endpoint with attachment disposition
- Update download links to use new endpoint instead of preview

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 16:16:31 +00:00
Christian Krakau-Louis 1165efeefa Create issue: 'Fix failing file upload tests - Celery task mocking issue' 2026-02-08 17:15:41 +01:00
copilot-swe-agent[bot] 98fe5ab864 test: add inline preview header verification test
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 16:14:45 +00:00
copilot-swe-agent[bot] ed0bac7345 feat(ui): add auto-refresh after upload and inline file preview
- Auto-refresh files table after successful uploads using custom event
- Add inline preview support for PDFs, images, and text files
- Set Content-Disposition header to inline for preview endpoint
- Add download button as secondary action in file details view

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 16:12:44 +00:00
copilot-swe-agent[bot] 4e654a9f08 Initial plan 2026-02-08 16:10:55 +00:00
Christian Krakau-Louis 17795620c6 Merge pull request #138 from christianlouis/copilot/fix-quality-gate-issues
Fix SonarQube Quality Gate: eliminate OAuth duplication, secure logging, add path validation
2026-02-08 17:09:13 +01:00
copilot-swe-agent[bot] b97c80d6bd fix: address code review feedback on security and type hints
- Use Optional[int] type hint for timeout parameter in oauth_helper
- Replace bare Exception with specific ValueError and JSONDecodeError
- Strengthen rclone remote name validation (must start with alphanumeric)
- Fix path traversal validation to check against workdir for absolute paths
- Add comprehensive comments for security validations

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 08:31:21 +00:00
copilot-swe-agent[bot] d2eb9846d3 style: fix linting issues and remove unused imports
- Remove unused imports from all modified files
- Fix flake8 violations (unused variables, f-strings without placeholders)
- Apply Black formatting consistently
- Shorten long line in google_drive.py

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 08:29:38 +00:00
copilot-swe-agent[bot] 551b23a80c fix(security): reduce code duplication and fix security issues in OAuth and file handling
- Extract common OAuth token exchange logic to shared utility (oauth_helper.py)
- Remove sensitive data logging (client_secret, authorization codes)
- Add path traversal validation in resolve_file_path()
- Add input validation for rclone destination parameter
- Replace bare Exception catches with specific exception types
- Use RuntimeError instead of generic Exception for better error handling

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 08:26:10 +00:00
copilot-swe-agent[bot] 6ec4e2b8a7 Initial plan 2026-02-08 08:21:41 +00:00
Christian Krakau-Louis 225145d88a Merge pull request #137 from christianlouis/copilot/fix-failing-tests-ci-workflow
Fix failing CI tests: add service containers and resolve test issues
2026-02-08 09:20:18 +01:00
copilot-swe-agent[bot] 78004cd9a4 style: Apply Black formatting to modified files
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 08:16:54 +00:00
copilot-swe-agent[bot] 0a461343e7 fix: Add service containers and fix test failures
- Add Redis and RabbitMQ services to CI workflow
- Fix Jinja2 template error by passing file=None in error cases
- Fix test expecting dict response format for list_files endpoint
- Fix NOT NULL constraint by providing valid local_filename
- Fix retry-subtask to validate subtask name before checking processed file
- Add mock for process_document in reprocess test

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 08:14:09 +00:00
copilot-swe-agent[bot] 4ca24a2e0e Initial plan 2026-02-08 08:10:17 +00:00
Christian Krakau-Louis e3a1688758 Create issue template for fixing failing tests in CI workflow. 2026-02-08 09:09:14 +01:00
Christian Krakau-Louis 2249b15e34 Create GitHub issue for fixing failing tests in CI workflow. 2026-02-08 09:08:27 +01:00
semantic-release 06613dc6dd 0.1.0
Automatically generated by python-semantic-release
2026-02-08 08:05:37 +00:00
Christian Krakau-Louis 93149d0c56 Merge pull request #135 from christianlouis/copilot/implement-semantic-release
feat: implement semantic-release and conventional commits for automated versioning
2026-02-08 09:05:19 +01:00
copilot-swe-agent[bot] 67cbc5e80d fix: address code review feedback
- Remove version_variables from pyproject.toml (not needed with version_source="tag")
- Clean up CHANGELOG.md comparison links to avoid duplicate/incorrect references
- Keep only [Unreleased] link since v0.5.0 tag doesn't exist yet

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:59:47 +00:00
copilot-swe-agent[bot] 23de539800 fix: update semantic-release changelog configuration for v10 compatibility
- Move changelog_file to changelog.default_templates section
- Resolves deprecation warning in semantic-release v10

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:58:02 +00:00
copilot-swe-agent[bot] bc3df5f407 docs: reconcile CHANGELOG with actual GitHub releases
- Add note about automated CHANGELOG management starting v0.6.0
- Document unreleased features from v0.5.0, v0.3.3, v0.3.2, v0.3.1
- Update comparison links to point to actual existing tags
- Add note explaining missing tags (will be automated going forward)
- Include semantic-release and documentation overhaul in Unreleased section

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:56:58 +00:00
copilot-swe-agent[bot] c31b0f24bc docs: update planning documents with semantic-release information
- Update TODO.md with completed semantic-release tasks
- Add versioning note to TODO.md warning about automated VERSION management
- Update MILESTONES.md with automated release process section
- Update ROADMAP.md to mark release automation as completed
- Sync documentation status across all planning docs

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:56:20 +00:00
copilot-swe-agent[bot] d2d4f113d0 docs: add comprehensive conventional commits and semantic-release guide
- Update CONTRIBUTING.md with full conventional commits specification
- Add versioning and release automation section
- Update AGENTIC_CODING.md with detailed commit format guide
- Update .github/copilot-instructions.md with commit rules for AI agents
- Add examples and version bump explanations
- Document semantic-release automation process

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:55:03 +00:00
copilot-swe-agent[bot] 6437f01434 ci: update Docker image names from document-processor to docuelevate
- Change Docker Hub image name to christianlouis/docuelevate
- Update GHCR references to use docuelevate
- Ensure consistency across all Docker build tags

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:53:10 +00:00
copilot-swe-agent[bot] ed8134dea9 docs: archive one-off documentation files
- Create docs/archive/ directory with README explaining purpose
- Move ANALYSIS_SUMMARY.md to archive
- Move FRAMEWORK_ANALYSIS.md to archive
- Move FILENAME_FIX_SUMMARY.md to archive
- Move IMPLEMENTATION_CHECKLIST.md to archive
- Move SETTINGS_IMPLEMENTATION.md to archive

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:52:48 +00:00
copilot-swe-agent[bot] 04d18ee1f7 feat: add semantic-release and conventional commit infrastructure
- Create pyproject.toml with python-semantic-release configuration
- Add release.yml workflow for automated releases
- Add commitlint pre-commit hook for conventional commits validation
- Add python-semantic-release to dev dependencies

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:52:06 +00:00
copilot-swe-agent[bot] 80bcfba1d7 Initial plan 2026-02-08 07:49:27 +00:00
Christian Krakau-Louis 54414c53fe Merge pull request #134 from christianlouis/copilot/fix-missing-redirectresponse-import
Add tests for setup wizard redirect flow (303 status)
2026-02-08 08:49:05 +01:00
copilot-swe-agent[bot] 276d6b90eb Remove redundant assertion from test
Address code review feedback by removing redundant check that status_code != 500, since we already assert status_code == 303

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:46:58 +00:00
copilot-swe-agent[bot] 3c8f7ba44d Add comprehensive tests for setup wizard redirect flow
- Update test_root_endpoint to accept 303 status for setup wizard
- Add test_root_redirects_to_setup_wizard_when_setup_required
- Add test_root_returns_200_when_setup_complete
- Add test_setup_wizard_page_accessible
- Verify these tests now catch the missing RedirectResponse import issue
- All new tests pass successfully

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-08 07:46:12 +00:00
copilot-swe-agent[bot] 8e292d1a2b Initial plan 2026-02-08 07:43:22 +00:00
Christian Krakau-Louis b006e92b91 Add RedirectResponse import to general routes 2026-02-08 08:40:59 +01:00