copilot-swe-agent[bot]
5ff7b72a80
feat(tasks): add retry logic with exponential backoff and jitter
...
- Rewrite app/tasks/retry_config.py with compute_countdown() function
implementing per-retry delays with ±20% jitter (default: 60s, 300s, 900s)
- Add BaseTaskWithRetry.retry() override to inject proper countdown
- Add OcrTaskWithRetry (120s, 600s, 1800s) for OCR/AI tasks
- Add UploadTaskWithRetry for cloud-storage upload tasks
- Add config settings: TASK_RETRY_MAX_RETRIES, TASK_RETRY_DELAYS, TASK_RETRY_JITTER
- Update process_with_ocr and process_with_azure tasks to use OcrTaskWithRetry
- Update all 11 upload tasks to use UploadTaskWithRetry
- Add 38 unit tests in tests/test_retry_config.py
- Update docs/ConfigurationGuide.md and .env.demo
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-03-01 17:37:41 +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]
ff9a3ff49f
style: fix code formatting with black, isort, and flake8
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-12 03:21:41 +00:00
copilot-swe-agent[bot]
cc98039246
fix(deps): upgrade PyPDF2 to pypdf >= 3.9.0 to fix CVE-2023-36464
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-12 02:52:17 +00:00
copilot-swe-agent[bot]
2b2394f858
fix: pass task_id to check_page_rotation helper for consistent log prefixing
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-11 10:15:08 +00:00
copilot-swe-agent[bot]
acec9954a0
feat(tasks): add detailed logging to Azure Document Intelligence task
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-11 09:54:53 +00: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]
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
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
98df430f8f
feat: add PDF rotation functionality and integrate with Azure Document Intelligence processing
2025-04-04 01:30:14 +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
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