copilot-swe-agent[bot]
a03b3af933
feat(pdfa): add FreeTSA timestamping, per-provider folder overrides, individual upload toggles
...
- Add RFC 3161 timestamping via FreeTSA (PDFA_TIMESTAMP_ENABLED, PDFA_TIMESTAMP_URL)
- Replace PDFA_UPLOAD_TO_PROVIDERS with individual PDFA_UPLOAD_ORIGINAL and PDFA_UPLOAD_PROCESSED
- Add PDFA_UPLOAD_FOLDER setting for per-provider subfolder configuration
- Add GOOGLE_DRIVE_PDFA_FOLDER_ID for Google Drive-specific folder override
- Add folder_override parameter to all 8 folder-using upload tasks
- Add folder_overrides dict parameter to send_to_all_destinations
- Add _compute_pdfa_folder_overrides() and _timestamp_file() helpers
- Expand tests to 26 (timestamping, folder overrides, individual toggles)
- Update docs/ConfigurationGuide.md and .env.demo
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-03-02 13:55:34 +00:00
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]
4897cb6655
fix: apply Phase 1-2 correctness and constant extraction from PR #273
...
- Replace datetime.utcnow() with datetime.now(timezone.utc) in 4 files
- Extract duplicate literals to constants in 5 files
- models.py: "files.id" → _FILES_ID_FK
- upload_to_email.py: "logo.png" → _LOGO_FILENAME
- general.py: "%B %d, %Y" → _DATE_DISPLAY_FORMAT
- files.py: "File not found" → _FILE_NOT_FOUND
- upload_to_google_drive.py: Google token URL → _GOOGLE_TOKEN_URL
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-13 11:25:30 +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]
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
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
8f311d730a
feat: rename project from DocuNova to DocuElevate, update related documentation and templates
2025-04-03 23:25:51 +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
6972fb7505
feat: implement Google Drive integration and enhance documentation for new features
2025-04-01 04:44:00 +02:00