Commit Graph

1127 Commits

Author SHA1 Message Date
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
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] 0dd6ab3c76 Initial plan 2026-02-06 22:24:32 +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] dafa89883f Initial plan 2026-02-06 22:22:20 +00:00
copilot-swe-agent[bot] 0d36872539 Initial plan 2026-02-06 22:22:04 +00:00
dependabot[bot] 78ee820c79 chore(deps-dev): bump pip-licenses from 5.0.0 to 5.5.1
Bumps [pip-licenses](https://github.com/raimon49/pip-licenses) from 5.0.0 to 5.5.1.
- [Release notes](https://github.com/raimon49/pip-licenses/releases)
- [Changelog](https://github.com/raimon49/pip-licenses/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raimon49/pip-licenses/compare/v-5.0.0...v-5.5.1)

---
updated-dependencies:
- dependency-name: pip-licenses
  dependency-version: 5.5.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 22:21:35 +00:00
copilot-swe-agent[bot] 1bdd4c22de Initial plan 2026-02-06 22:20:44 +00:00
Christian Krakau-Louis 461467ab89 Merge pull request #71 from christianlouis/copilot/analyze-repo-security-and-improvements
Security hardening, test infrastructure, and agentic development readiness
2026-02-06 23:20:25 +01:00
copilot-swe-agent[bot] 5340ec529f Add analysis summary and update TODO with test status
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-06 22:02:56 +00:00
copilot-swe-agent[bot] ccf4cd8c8f Add comprehensive planning and agentic coding documentation
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-06 21:59:48 +00:00
copilot-swe-agent[bot] f0f48b39a9 Add security fixes, testing infrastructure, and CI/CD improvements
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-06 21:55:19 +00:00
copilot-swe-agent[bot] 4607544c31 Initial plan 2026-02-06 21:50:14 +00:00
Christian Krakau-Louis 78d7c910ea Merge pull request #69 from christianlouis/copilot/start-next-roadmap-item
Replace hardcoded /tmp with tempfile module for secure temporary file creation
2026-02-01 15:14:41 +01: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
copilot-swe-agent[bot] e4a7791117 Initial plan 2026-02-01 14:01:14 +00:00
Christian Krakau-Louis 1fac2ff76c Update Dockerfile 2025-12-09 19:13:11 +01:00
Christian Krakau-Louis f4397138f8 Update Dockerfile to use Python 3.14.1 2025-12-09 19:11:19 +01:00
Christian Krakau-Louis 270d65d74d Merge pull request #68 from christianlouis/snyk-fix-cc126a1219330ac71525e611087d8f7a
[Snyk] Security upgrade python from 3.13.2-slim to 3.14.1-slim
2025-12-09 17:58:48 +01:00
snyk-bot 88770ac9d5 fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-SQLITE3-10753055
- https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-10690985
- https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-10690987
- https://snyk.io/vuln/SNYK-DEBIAN12-PERL-5489190
- https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-10690990
2025-12-04 14:30:31 +00:00
Christian Krakau-Louis e8fb18c882 Merge pull request #61 from christianlouis/dependabot/pip/pip-licenses-5.0.0
chore(deps-dev): bump pip-licenses from 4.3.3 to 5.0.0

This pull request updates the `pip-licenses` dependency in `requirements-dev.txt` to the latest version for license compliance checking.

* [`requirements-dev.txt`](diffhunk://#diff-2b4945591edfeaa4cf4d3f155e66d4b43d1bda7a55d881d5cf3107f1b05abbbcL1-R1): Upgraded `pip-licenses` from version `4.3.3` to `5.0.0` to ensure compatibility with the latest features and improvements.
2025-04-30 10:13:09 +02:00
dependabot[bot] 4aec21a1fe chore(deps-dev): bump pip-licenses from 4.3.3 to 5.0.0
Bumps [pip-licenses](https://github.com/raimon49/pip-licenses) from 4.3.3 to 5.0.0.
- [Release notes](https://github.com/raimon49/pip-licenses/releases)
- [Changelog](https://github.com/raimon49/pip-licenses/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raimon49/pip-licenses/compare/v-4.3.3...v-5.0.0)

---
updated-dependencies:
- dependency-name: pip-licenses
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-15 00:06:01 +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 36582030c2 feat: Explicitly include the files router in the main application 2025-04-11 15:42:55 +00:00
Christian Krakau-Louis bcc7a32772 fix: Update template directory path for error handlers 2025-04-11 14:18:48 +00:00
Christian Krakau-Louis d79652b494 feat: Add authentication configuration and validation
- Introduced new authentication settings in config.py including `auth_enabled`, `admin_username`, `admin_password`, and `session_secret`.
- Added validation for `session_secret` to ensure it meets security requirements when authentication is enabled.
- Updated main.py to conditionally mount static files and log warnings if the directory is not found.
- Removed unused email template files and added new authentication and notification setup documentation.
- Implemented authentication configuration validation in validators.py and updated settings display.
- Enhanced the user interface with a new login template and SVG assets for branding.
- Added comprehensive guides for setting up authentication and notifications in the documentation.
2025-04-11 03:44:08 +02:00
Christian Krakau-Louis 05ede35059 feat: Add license and attribution routes, update templates and documentation
- Added a new license route to serve the LGPL license text.
- Introduced a new attribution page to acknowledge third-party software used in the project.
- Updated the base HTML template to include a link to the attribution page.
- Included the license router in the main application router.
- Added the license text file for LGPL to the static licenses directory.
- Updated the NOTICE file to include detailed attributions for third-party libraries.
- Added a new requirements-dev.txt for license compliance checking.
- Updated the requirements.txt to clarify the LGPL license for Paramiko.
2025-04-11 02:39:26 +02:00
Christian Krakau-Louis 2a8c45d661 Merge pull request #60 from christianlouis/58-add-notification-framework
feat: Implement notification system with Apprise integration and cred…
2025-04-11 01:56:48 +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 0dad3cbb95 Merge pull request #57 from christianlouis/51-feature-request-switch-google-drive-integration-to-oauth-for-user-based-authentication
51 feature request switch google drive integration to oauth for user based authentication
2025-04-11 00:19:02 +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 ce73f89da2 feat: Enhance Docker setup and application status reporting with build date and container info 2025-04-09 08:59:30 +02:00
Christian Krakau-Louis fb5f05e1d2 Merge pull request #56 from christianlouis/switch-to-PyPDF2
Replace PyMuPDF with PyPDF2 for PDF processing
2025-04-09 07:31:18 +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 4d92e49149 Merge pull request #55 from christianlouis/54-add-checks-for-openai-and-azure-keys
feat: Add OpenAI and Azure AI API endpoints with connection testing f…
2025-04-09 07:12:28 +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 d66fef7ad4 feat: Enhance Docker setup and application status reporting with build date and container info 2025-04-07 00:43:14 +02:00
Christian Krakau-Louis c7ddf77cb2 Merge pull request #53 from christianlouis/52-add-gdpr-compliant-privacy-notice-to-docuelevate-ui-and-public-landing-page
52 add gdpr compliant privacy notice to docuelevate UI and public landing page
2025-04-07 00:14:19 +02:00
Christian Krakau-Louis 90d0b102fe feat: Update imprint page with service provider and legal information 2025-04-07 00:10:09 +02:00