copilot-swe-agent[bot]
dabd9a944c
Final review fixes: consistent parameter order and improved test documentation
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 17:59:42 +00:00
copilot-swe-agent[bot]
e20c88dbc7
Address code review feedback: improve variable naming and parameter order
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 17:58:08 +00:00
copilot-swe-agent[bot]
22a14431b3
Standardize upload task signatures to accept file_id parameter
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-07 17:55:30 +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]
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]
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
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
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
copilot-swe-agent[bot]
74680c8849
Fix file_id propagation through task chain
...
- Pass file_id as parameter through all task chains
- Update process_document, extract_metadata_with_gpt, embed_metadata_into_pdf, finalize_document_storage, send_to_all_destinations, rotate_pdf_pages, and process_with_azure_document_intelligence
- Remove unreliable LIKE queries, use explicit file_id passing instead
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-06 22:34:01 +00:00
copilot-swe-agent[bot]
9c4cf3d70e
Fix notification message to accurately reflect async upload timing
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-06 22:33:16 +00:00
copilot-swe-agent[bot]
8be5b844c3
Add file processing notifications feature
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-06 22:31:48 +00:00
copilot-swe-agent[bot]
1903dc5bcd
Add comprehensive processing logging system
...
- Added database logging to all major processing tasks
- Created API endpoints for retrieving processing logs
- Updated frontend to display processing logs per file
- Logging includes: process_document, convert_to_pdf, extract_metadata_with_gpt, embed_metadata_into_pdf, finalize_document_storage, send_to_all_destinations
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-06 22:30:18 +00:00
copilot-swe-agent[bot]
566079e5e5
Add clarifying comments explaining the use of constants
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-06 22:24:58 +00:00
copilot-swe-agent[bot]
91f851238a
Replace hardcoded 'tmp' strings with constants in embed_metadata_into_pdf.py
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-06 22:23:14 +00:00
copilot-swe-agent[bot]
b17bba225f
Address code review feedback on temporary file handling
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-01 14:05:51 +00:00
copilot-swe-agent[bot]
859a0825d0
Fix hardcoded temporary directory security issue (Issue #47 )
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-01 14:05:08 +00:00
Christian Krakau-Louis
b9f909ccd2
feat: Enhance upload session creation by properly encoding folder paths and filenames
2025-04-12 21:33:25 +02:00
Christian Krakau-Louis
ce91dc8c79
feat: Implement notification system with Apprise integration and credential checks
2025-04-11 01:55:10 +02:00
Christian Krakau-Louis
9a44a7f1f7
Merge branch 'main' into 51-feature-request-switch-google-drive-integration-to-oauth-for-user-based-authentication
2025-04-11 00:18:10 +02:00
Christian Krakau-Louis
4c50c0aae6
Add Google Drive authorization processing and error handling templates
...
- Implemented `google_drive_callback.html` for processing Google Drive authorization, including UI for success and error states.
- Added JavaScript functionality for exchanging authorization codes, saving settings, and handling folder selection.
- Created `google_drive_callback_error.html` to display error messages during the authorization process.
2025-04-11 00:13:57 +02:00
Christian Krakau-Louis
b258dd2f29
feat: Add OpenAI and Azure AI API endpoints with connection testing functionality
2025-04-09 08:59:30 +02:00
Christian Krakau-Louis
9823935927
feat: Replace PyMuPDF with PyPDF2 for PDF metadata editing and text extraction
2025-04-09 07:29:42 +02:00
Christian Krakau-Louis
2f822adeb7
feat: Add OpenAI and Azure AI API endpoints with connection testing functionality
2025-04-09 07:08:38 +02:00
Christian Krakau-Louis
81fd9cda14
feat: implement file size check and MIME type handling for document uploads
2025-04-04 02:46:29 +02:00
Christian Krakau-Louis
98df430f8f
feat: add PDF rotation functionality and integrate with Azure Document Intelligence processing
2025-04-04 01:30:14 +02:00
Christian Krakau-Louis
8f311d730a
feat: rename project from DocuNova to DocuElevate, update related documentation and templates
2025-04-03 23:25:51 +02:00
Christian Krakau-Louis
2cafda11dd
feat: update version to 0.4.3-dev, add file deletion feature, and refactor API structure
2025-04-03 15:55:34 +02:00
Christian Krakau-Louis
94889e9e41
feat: implement Dropbox integration with OAuth setup and error handling
2025-04-03 10:35:55 +02:00
Christian Krakau-Louis
619c72ac53
feat: update version to 0.4.1-dev, refactor task imports, and replace Textract processing with Azure Document Intelligence
2025-04-02 15:46:56 +02:00
Christian Krakau-Louis
c3df8107d8
feat: enhance FTP configuration with TLS options and update documentation
...
Enhanced OneDrive workflow and tested
2025-04-02 02:57:30 +02:00
Christian Krakau-Louis
81296b93f8
feat: update version to 0.3.2-dev and enhance Google Drive upload with optional metadata extraction
2025-04-02 00:20:00 +02:00
Christian Krakau-Louis
ceaed1a081
feat: add Uptime Kuma integration with periodic ping task and configuration options
2025-04-01 22:44:46 +02:00
Christian Krakau-Louis
d32e94715a
feat: enhance email upload functionality with recipient validation and SMTP error handling
2025-04-01 05:31:40 +02:00
Christian Krakau-Louis
6972fb7505
feat: implement Google Drive integration and enhance documentation for new features
2025-04-01 04:44:00 +02:00
Christian Krakau-Louis
1d028c7a84
feat: enhance attachment processing to accept PDF files by extension or MIME type
2025-03-28 16:04:07 +01:00
Christian Krakau-Louis
43500ce66f
feat: integrate OpenAI API with configurable settings for model and base URL
2025-03-28 13:50:10 +01:00
Christian Krakau-Louis
de06fd1286
refactor: rename upload_to_s3 to process_document
...
- Rename upload_to_s3.py to process_document.py to better reflect its purpose
- Update all import statements across the codebase to use new module name
- Remove S3-specific code and references
- Keep the core document processing logic intact
- Update docstrings and comments to reflect new functionality
This change is part of removing AWS S3 dependencies and simplifying the
document processing pipeline.
2025-03-27 14:50:51 +01:00
Christian Krakau-Louis
5eb8fa586b
added duplicate check and database
2025-03-25 13:55:15 +01:00
Christian Krakau-Louis
19c763e595
added a favicon, updated the README.md file
2025-03-25 10:48:55 +01:00
Christian Krakau-Louis
4c95e6ec6c
Update imap_tasks.py
...
Refactor IMAP Tasks: Filter Allowed Attachment Types & Improve Code Quality
- Filter attachments to process only office files, PDFs, plain text, CSV, and RTF,
explicitly skipping common image MIME types.
- Use an explicit elif for clarity in attachment processing logic.
- Remove dead code by not reassigning the result of fetch_attachments_and_enqueue.
- Reformat log messages, docstrings, and break long lines to comply with PEP 8.
- Add clarifying comments for excluded image MIME types.
2025-03-13 02:08:21 +01:00
Christian Krakau-Louis
473ae3a20a
Update imap_tasks.py
...
Added some filtering for file types to avoid your usual image attachment to trigger a conversion task and clutter my documents
2025-03-13 01:51:46 +01:00
Christian Krakau-Louis
8848fece2f
added correct endpoints and file type detection
2025-02-19 14:14:49 +01:00
Christian Krakau-Louis
c40e9f034e
Added better GMail handling and multi file type support
2025-02-19 14:03:29 +01:00
Christian Krakau-Louis
2241c1de6c
fixed errors
2025-02-18 04:36:04 +01:00
Christian Krakau-Louis
f234a55b52
Added locking for IMAP tasks
2025-02-18 04:29:33 +01:00
Christian Krakau-Louis
03ac92d931
Only process unread mail
2025-02-18 03:55:29 +01:00