copilot-swe-agent[bot]
388bde2ff0
Fix SQLAlchemy model registration and database session injection in tests
...
- Import all models (DocumentMetadata, FileRecord, ProcessingLog) in conftest.py to register them with SQLAlchemy Base
- Override all three get_db functions used across the app (app.database, app.api.common, app.views.base) to ensure tests use the test database
- Fixes 21 of 24 failing tests (from "no such table" errors to passing)
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 17:54:05 +00:00
copilot-swe-agent[bot]
f3ce483bd8
Initial plan
2026-02-07 17:47:33 +00:00
Christian Krakau-Louis
6592f57905
Merge pull request #105 from christianlouis/copilot/fix-original-file-name-upload
...
Preserve original filenames for UI uploads while maintaining UUID-based storage
2026-02-07 18:42:21 +01:00
copilot-swe-agent[bot]
57937af603
Add fix summary documentation
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 17:39:44 +00:00
copilot-swe-agent[bot]
7d24b7c668
Apply code formatting and fix linting issues
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 17:37:50 +00:00
copilot-swe-agent[bot]
2db58afedf
Add original_filename parameter to preserve user's filename
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 17:36:36 +00:00
copilot-swe-agent[bot]
8d42ef1b45
Initial plan
2026-02-07 17:32:28 +00:00
Christian Krakau-Louis
7e1fae2200
Merge pull request #102 from christianlouis/copilot/fix-onedrive-upload-error
...
Fix upload_to_onedrive and upload_to_s3 signature mismatch
2026-02-07 18:31:58 +01:00
copilot-swe-agent[bot]
3f1006b035
Code review feedback: improve readability of S3 upload call
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 17:28:04 +00:00
copilot-swe-agent[bot]
c0e049ae96
Fix OneDrive and S3 upload signature - add file_id parameter
...
- Updated upload_to_onedrive to accept file_id parameter with bind=True
- Updated upload_to_s3 to accept file_id parameter with bind=True
- Added proper logging with task_id and file_id tracking
- Added comprehensive unit tests for both functions
- All tests passing (8/8)
Fixes #99 and #100
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 17:25:23 +00:00
copilot-swe-agent[bot]
aa57c41556
Initial plan
2026-02-07 17:19:58 +00:00
Christian Krakau-Louis
c9af116ae9
Merge pull request #90 from christianlouis/copilot/fix-worker-file-processing
...
Fix DetachedInstanceError in process_document task
2026-02-07 18:09:45 +01:00
Christian Krakau-Louis
d1a75b96e5
Merge pull request #88 from christianlouis/copilot/fix-files-view-errors
...
Fix /files view status filtering and add bulk operations
2026-02-07 17:54:21 +01:00
copilot-swe-agent[bot]
850afd26bd
Fix DetachedInstanceError in process_document task by storing file_id before session closes
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:59:39 +00:00
copilot-swe-agent[bot]
34ba8a4548
Improve error messages for bulk operations
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:55:44 +00:00
copilot-swe-agent[bot]
7763ffe6ab
Initial plan
2026-02-07 15:53:45 +00:00
copilot-swe-agent[bot]
c162657987
Add tests for bulk operations and status filtering
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:53:34 +00:00
copilot-swe-agent[bot]
08775459aa
Fix /files view issues and add bulk operations
...
- Fixed status filter in /files view endpoint
- Added bulk delete and reprocess API endpoints
- Added bulk selection UI with checkboxes
- Added bulk actions bar with reprocess and delete buttons
- Updated JavaScript to handle bulk operations
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:52:38 +00:00
copilot-swe-agent[bot]
50adfc3694
Initial plan
2026-02-07 15:49:49 +00:00
Christian Krakau-Louis
db5322a204
Merge pull request #86 from christianlouis/copilot/fix-files-view-error
...
Fix /files view: Add min/max to Jinja2 template globals
2026-02-07 16:43:10 +01:00
copilot-swe-agent[bot]
89ddd355e2
Remove accidentally committed .env.test file
2026-02-07 15:40:28 +00:00
copilot-swe-agent[bot]
f2a303b6ee
Improve test code quality based on code review feedback
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:40:22 +00:00
copilot-swe-agent[bot]
f3ce81a6cf
Fix 'min' undefined error in /files view by adding min/max to Jinja2 globals
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:35:54 +00:00
copilot-swe-agent[bot]
850139d3f8
Initial plan
2026-02-07 15:31:51 +00:00
Christian Krakau-Louis
0209c25ec2
Merge pull request #84 from christianlouis/copilot/update-upload-artifact-version
...
Update actions/upload-artifact from v3 to v4
2026-02-07 16:28:23 +01:00
copilot-swe-agent[bot]
4a7dcc7fe7
Update actions/upload-artifact from v3 to v4
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:26:55 +00:00
copilot-swe-agent[bot]
c53504753a
Initial plan
2026-02-07 15:26:00 +00:00
Christian Krakau-Louis
97a3f0b128
Merge pull request #83 from christianlouis/copilot/fix-document-list-ordering
...
Add server-side pagination, filtering, and status tracking to /files view
2026-02-07 16:24:53 +01:00
copilot-swe-agent[bot]
775ffa5082
Address code review feedback
...
- Fixed status filtering to occur before pagination for correct counts
- Resolved N+1 query problem by batch-fetching processing statuses
- Extracted status computation logic to shared utility function
- Changed sort indicator from ⬍ to ↕ for better browser compatibility
- Updated both API and view layers to use shared status utilities
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:20:59 +00:00
copilot-swe-agent[bot]
b76fb147cb
Add tests for file listing and pagination features
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:15:30 +00:00
copilot-swe-agent[bot]
530c63ad14
Add server-side pagination, filtering, sorting, and file detail view
...
- Updated /api/files endpoint with pagination, filtering, and sorting support
- Added /api/files/{file_id} endpoint for detailed file information
- Updated /files view to support server-side operations
- Added /files/{file_id}/detail route for file detail page
- Created new files.html with filters, status column, and pagination
- Created file_detail.html for viewing processing history
- Status computed from ProcessingLog entries (pending, processing, completed, failed)
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:12:49 +00:00
copilot-swe-agent[bot]
bbd7286c0b
Initial plan
2026-02-07 15:08:08 +00:00
Christian Krakau-Louis
642bdb1e56
Merge pull request #81 from christianlouis/copilot/slow-down-processall-endpoint
...
Add configurable rate limiting to /processall endpoint
2026-02-07 16:04:37 +01:00
copilot-swe-agent[bot]
0de31fc775
Refactor tests to use fixture for better maintainability
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:03:17 +00:00
copilot-swe-agent[bot]
237c9504ad
Add documentation for batch processing throttling feature
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:00:56 +00:00
copilot-swe-agent[bot]
a12ccdabac
Apply Black and isort formatting to modified files
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 15:00:18 +00:00
copilot-swe-agent[bot]
8eea420bc5
Add throttling to /processall endpoint to prevent overwhelming downstream APIs
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 14:59:19 +00:00
copilot-swe-agent[bot]
8fb3998d67
Initial plan
2026-02-07 14:53:04 +00:00
Christian Krakau-Louis
c84f64a846
Add CodeQL analysis workflow configuration
2026-02-07 15:51:10 +01:00
Christian Krakau-Louis
a387b470ed
Merge pull request #80 from christianlouis/copilot/update-codeql-action-to-v3
...
Update CodeQL Actions from v2 to v3
2026-02-07 15:45:08 +01:00
copilot-swe-agent[bot]
b2f105a844
Update CodeQL Action from v2 to v3 to resolve deprecation error
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 14:43:52 +00:00
copilot-swe-agent[bot]
c308f1b66d
Initial plan
2026-02-07 14:42:54 +00:00
Christian Krakau-Louis
9672cb234b
Merge pull request #77 from christianlouis/copilot/add-file-processing-notifications
...
Add file processing completion notifications
2026-02-07 15:37:59 +01:00
Christian Krakau-Louis
e45eb04366
Merge branch 'main' into copilot/add-file-processing-notifications
2026-02-07 15:37:17 +01:00
Christian Krakau-Louis
e8c091897a
Merge pull request #76 from christianlouis/copilot/add-processing-logging
...
Add comprehensive logging for each processing step with frontend visibility
2026-02-07 15:06:57 +01:00
copilot-swe-agent[bot]
2189802ee8
Add database logging to upload tasks
...
- Add logging to upload_to_dropbox, upload_to_paperless, upload_to_nextcloud
- Pass file_id through send_to_all to upload tasks
- Log upload progress, success, and failures with context
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 14:02:29 +00:00
Christian Krakau-Louis
971f4f6824
Merge pull request #79 from christianlouis/copilot/setup-copilot-instructions
...
Set up Copilot instructions for the repository
2026-02-07 14:59:01 +01:00
copilot-swe-agent[bot]
b731256fef
Add comprehensive Copilot instructions for repository
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 13:57:52 +00:00
Christian Krakau-Louis
0a24c6c111
Merge pull request #72 from christianlouis/copilot/fix-hardcoded-temp-directory
2026-02-07 04:02:22 +01:00
copilot-swe-agent[bot]
adb0b2329e
Address code review feedback
...
- Replace LIKE queries with exact matches in fallback lookups
- Add comments clarifying fallback queries should not be needed
- Fix duplicate comment in embed_metadata_into_pdf
- Add missing file_id parameter to log_task_progress call
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-06 22:35:30 +00:00