Commit Graph

2565 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] a88d790445 feat(system-reset): add system reset and factory reset feature
- Add FACTORY_RESET_ON_STARTUP and ENABLE_FACTORY_RESET config settings
- Create app/utils/system_reset.py with core reset logic (wipe DB + files, reimport)
- Create app/api/system_reset.py with admin-only API endpoints
- Create app/views/system_reset.py with admin-only UI view
- Create frontend/templates/system_reset.html with confirmation dialogs
- Auto-reset on startup when FACTORY_RESET_ON_STARTUP=true
- Re-import uses watch folder mechanism for re-ingestion
- Register routers in API and views init files
- Add i18n keys and SETTING_METADATA entries
- Add nav links in base.html (desktop + mobile)

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 22:26:17 +00:00
copilot-swe-agent[bot] 4d302b495c Initial plan 2026-03-16 22:13:29 +00:00
github-actions[bot] b48ed0b2ac chore(release): update build metadata files [skip ci] 2026-03-16 21:40:06 +00:00
semantic-release 64403f17f1 0.152.0
Automatically generated by python-semantic-release
2026-03-16 21:40:03 +00:00
Christian Krakau-Louis 793b6d3e25 Merge pull request #748 from christianlouis/copilot/add-retry-option-for-uploads
feat(mobile): add retry for failed uploads via tap and long-press
2026-03-16 22:39:40 +01:00
copilot-swe-agent[bot] d322ec6dc7 feat(mobile): add retry for failed uploads via tap and long-press
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 20:35:13 +00:00
copilot-swe-agent[bot] 84b9461cfe Initial plan 2026-03-16 20:29:47 +00:00
github-actions[bot] 75a6379aad chore(release): update build metadata files [skip ci] 2026-03-16 20:28:52 +00:00
semantic-release 1bd9840c81 0.151.1
Automatically generated by python-semantic-release
2026-03-16 20:28:49 +00:00
Christian Krakau-Louis 1caebdded0 Merge pull request #747 from christianlouis/copilot/fix-merge-conflict-in-json
Fix merge conflict markers in mobile/app.json
2026-03-16 21:28:25 +01:00
copilot-swe-agent[bot] a7b993ad42 fix: resolve merge conflict markers in mobile/app.json
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 18:28:15 +00:00
copilot-swe-agent[bot] 5b09b7b9ae Initial plan 2026-03-16 18:26:12 +00:00
github-actions[bot] 0f449abe17 chore(release): update build metadata files [skip ci] 2026-03-16 18:25:25 +00:00
semantic-release 480591fcee 0.151.0
Automatically generated by python-semantic-release
2026-03-16 18:25:21 +00:00
Christian Krakau-Louis 242ef587e1 Merge pull request #746 from christianlouis/copilot/localize-view-links
feat(i18n): localize /files/ view
2026-03-16 19:24:56 +01:00
copilot-swe-agent[bot] afb168d3e8 feat(i18n): localize remaining image zoom controls in files view
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 18:15:35 +00:00
copilot-swe-agent[bot] 45c2cd7c6e feat(i18n): localize files view - replace all hardcoded strings with translation keys
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 18:05:59 +00:00
copilot-swe-agent[bot] 9b21872007 Initial plan 2026-03-16 17:55:30 +00:00
github-actions[bot] da6b337a8b chore(release): update build metadata files [skip ci] 2026-03-16 17:48:20 +00:00
semantic-release b2492b497c 0.150.7
Automatically generated by python-semantic-release
2026-03-16 17:48:16 +00:00
Christian Krakau-Louis 89b3a6a3c0 fix: resolve conflicts in mobile app config 2026-03-16 17:47:16 +00:00
Christian Krakau-Louis 3cd895d57c chore(i18n): auto-update translations via LLM 2026-03-16 17:47:16 +00:00
Christian Krakau-Louis 872ff6c53b chore(i18n): auto-update translations via LLM 2026-03-16 17:47:16 +00:00
github-actions[bot] dca5ee2ef3 chore(release): update build metadata files [skip ci] 2026-03-16 17:36:34 +00:00
semantic-release a764e52f77 0.150.6
Automatically generated by python-semantic-release
2026-03-16 17:36:31 +00:00
Christian Krakau-Louis 134e05b5a3 Merge pull request #745 from christianlouis/copilot/fix-unmatched-route-error
fix(mobile): handle iOS share sheet custom scheme URLs and add photo library picker
2026-03-16 18:36:10 +01:00
copilot-swe-agent[bot] b6af39c567 refactor(mobile): address code review feedback
Extract APP_SCHEME_PREFIX constant for the custom URL scheme string,
and derive the photo library fallback filename extension from the
asset's MIME type instead of always using .jpg.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 17:26:28 +00:00
copilot-swe-agent[bot] acfba4b58c fix(mobile): handle iOS share sheet custom scheme URLs and add photo library picker
On iOS the Share Sheet / "Open In" action may deliver the file path
under the app's custom docuelevate:// scheme instead of a file:// URL,
causing an "Unmatched Route" error.  The URL handler now detects this
and rewrites the URL to file:// before processing.

Also adds a Photo Library button to the Upload screen so users can
select existing photos from their device library, not just capture
new ones with the camera.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 17:25:03 +00:00
copilot-swe-agent[bot] daf236b270 Initial plan 2026-03-16 17:17:51 +00:00
github-actions[bot] b5438f4265 chore(release): update build metadata files [skip ci] 2026-03-16 17:00:14 +00:00
semantic-release a579233710 0.150.5
Automatically generated by python-semantic-release
2026-03-16 17:00:10 +00:00
Christian Krakau-Louis 5054ec8a93 Merge pull request #744 from christianlouis/copilot/increment-version-eas-or-app-json
fix(mobile): switch to remote appVersionSource for auto-incrementing build numbers
2026-03-16 17:59:46 +01:00
copilot-swe-agent[bot] 4c8926a1fa fix(mobile): switch to remote appVersionSource for auto-incrementing build numbers
Change `appVersionSource` from `"local"` to `"remote"` in `eas.json` so EAS
tracks build numbers on its servers. This ensures every CI build gets a
unique, ever-increasing version without needing to commit bumps back to
the repo — fixing the App Store Connect "bundle version already used"
rejection.

Also bump `ios.buildNumber` to "7" and `android.versionCode` to 7 in
`app.json` (above the previously uploaded version "6") so the remote
version initializes correctly.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 16:57:52 +00:00
copilot-swe-agent[bot] 84ce65f532 Initial plan 2026-03-16 16:53:38 +00:00
github-actions[bot] c6e4cc22b2 chore(release): update build metadata files [skip ci] 2026-03-16 16:44:33 +00:00
semantic-release fee5a09954 0.150.4
Automatically generated by python-semantic-release
2026-03-16 16:44:30 +00:00
Christian Krakau-Louis 4db4df8621 Merge pull request #743 from christianlouis/copilot/fix-npm-ci-lock-file-issues
fix(mobile): sync package-lock.json with package.json
2026-03-16 17:44:05 +01:00
copilot-swe-agent[bot] 0e144710b5 fix(mobile): sync package-lock.json with package.json to fix npm ci failure
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 16:40:37 +00:00
copilot-swe-agent[bot] 95a1a8eaea Initial plan 2026-03-16 16:37:37 +00:00
github-actions[bot] 1ff9b44a54 chore(release): update build metadata files [skip ci] 2026-03-16 16:35:39 +00:00
semantic-release 5131635d44 0.150.3
Automatically generated by python-semantic-release
2026-03-16 16:35:36 +00:00
Christian Krakau-Louis 0e271b7162 Merge pull request #741 from christianlouis/copilot/check-notification-issues
fix(tasks): wire per-user notifications into document processing pipeline
2026-03-16 17:35:11 +01:00
github-actions[bot] f6d69fc826 chore(release): update build metadata files [skip ci] 2026-03-16 16:26:30 +00:00
semantic-release fca90e5bf1 0.150.2
Automatically generated by python-semantic-release
2026-03-16 16:26:27 +00:00
Christian Krakau-Louis b906b7bf9d Merge pull request #742 from christianlouis/copilot/fix-notification-sound-resource
fix(mobile): Android prebuild failure, iOS document support warning, SDK dependency mismatches
2026-03-16 17:26:04 +01:00
copilot-swe-agent[bot] 803331d61f refactor(tasks): address code review feedback for notification dispatch
- Move `import os` to module level in celery_app.py
- Add detailed task signature comments to _FILE_ID_ARG_INDEX mapping
- Upgrade failure dispatch log level from debug to warning

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 16:23:06 +00:00
copilot-swe-agent[bot] 04c6823079 fix(mobile): rename notification sound for Android, add LSSupportsOpeningDocumentsInPlace, update deps
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 16:21:06 +00:00
copilot-swe-agent[bot] 24328c584e Initial plan 2026-03-16 16:17:59 +00:00
copilot-swe-agent[bot] 195c3c3446 fix(tasks): dispatch per-user notifications on document processed/failed events
The per-user notification functions (notify_user_document_processed /
notify_user_document_failed) were defined but never called from the
document processing pipeline.

- Call notify_user_document_processed in finalize_document_storage
  when owner_id is available (creates in-app + email/webhook notifications)
- Add _dispatch_user_failure_notification helper to celery_app.py that
  extracts file_id from failed task args and dispatches
  notify_user_document_failed for document pipeline tasks
- Add comprehensive tests for both success and failure notification paths

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-16 16:10:01 +00:00
github-actions[bot] 1c81678c9f docs(changelog): update changelog [skip ci] 2026-03-16 16:07:42 +00:00