Commit Graph

2715 Commits

Author SHA1 Message Date
Christian Krakau-Louis 91eecd9396 Merge pull request #753 from christianlouis/copilot/scale-worker-and-api-pods
feat(scaling): enable horizontal scaling for API and worker pods
2026-03-20 13:55:31 +01:00
github-actions[bot] 74ed8b9bd9 chore(release): update build metadata files [skip ci] 2026-03-20 11:15:32 +00:00
semantic-release 8f9abac014 0.160.3
Automatically generated by python-semantic-release
2026-03-20 11:15:29 +00:00
Christian Krakau-Louis b5fce418fb Merge pull request #773 from christianlouis/copilot/update-deprecated-npm-packages
fix(mobile): wire i18n reactivity, translate all screens, sync language preference with server
2026-03-20 12:15:10 +01:00
copilot-swe-agent[bot] 3b5ca04ebc fix(mobile): wire i18n reactivity, translate all screens, sync language with server
- Add LocaleProvider + useLocale() hook with AsyncStorage persistence to mobile i18n
- Replace all hardcoded English strings in every screen with t() calls
- Add missing profile.settings/language keys to all 5 translation files (en/de/es/fr/it)
- Wrap app root in LocaleProvider; apply server preferred_language on login in AuthGuard
- Tab labels and header titles now re-render on language switch
- ProfileScreen: use useLocale() context, sync language to server via POST /api/i18n/language
- Backend: add preferred_language field to GET /api/mobile/whoami response
- Mobile API: add preferred_language to WhoAmIResponse type + setServerLanguage() method
- Tests: add test_whoami_returns_preferred_language and test_whoami_no_profile_preferred_language_is_null
- Docs: update MobileApp.md with language sync priority and whoami response format

Language priority: server preference > AsyncStorage > device locale > English fallback

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-20 09:08:08 +00:00
github-actions[bot] 906d76f08b chore(release): update build metadata files [skip ci] 2026-03-20 08:41:46 +00:00
semantic-release 7c28cdda07 0.160.2
Automatically generated by python-semantic-release
2026-03-20 08:41:43 +00:00
Christian Krakau-Louis b13713dab8 Merge pull request #772 from christianlouis/copilot/fix-dropbox-authentication-error
Fix Dropbox OAuth "Invalid redirect_uri" by adding PUBLIC_BASE_URL config
2026-03-20 09:41:23 +01:00
copilot-swe-agent[bot] 5e3e2b1999 fix(dropbox): fix Invalid redirect_uri error by adding PUBLIC_BASE_URL config and URL-encoding
- Add PUBLIC_BASE_URL optional config to override auto-detected OAuth redirect URIs
  when behind a reverse proxy that doesn't forward X-Forwarded-Proto headers
- Add _build_dropbox_redirect_uri() helper in app/api/dropbox.py
- URL-encode redirect_uri in server-side Dropbox authorization URL
- Add _get_dropbox_callback_url() helper in app/views/dropbox.py
- Pass callback_url to both setup and callback templates
- Update templates to use server-provided callback_url instead of window.location.origin
- Update settings_service.py to register new setting
- Update .env.demo, ConfigurationGuide.md, and DropboxSetup.md documentation
- Add tests for new helper functions and global-authorize-url endpoint

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-20 08:19:48 +00:00
copilot-swe-agent[bot] 0e6a4c5084 chore(mobile): upgrade ESLint to v9 with flat config and fix expo-localization version
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-20 08:12:05 +00:00
copilot-swe-agent[bot] 445d629949 Initial plan 2026-03-20 08:04:01 +00:00
github-actions[bot] b1723b4c5f chore(release): update build metadata files [skip ci] 2026-03-20 08:01:52 +00:00
semantic-release fa4d09c5b6 0.160.1
Automatically generated by python-semantic-release
2026-03-20 08:01:49 +00:00
Christian Krakau-Louis 250cce4f4d Merge pull request #771 from christianlouis/copilot/fix-npm-build-issue
fix(mobile): resolve expo-localization build failure due to non-existent version
2026-03-20 09:01:28 +01:00
copilot-swe-agent[bot] f2ba74a483 Initial plan 2026-03-20 08:00:39 +00:00
copilot-swe-agent[bot] 78c3717661 fix(mobile): update expo-localization version from ~16.0.6 to ~16.1.0
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-20 07:57:45 +00:00
copilot-swe-agent[bot] d6de835aed Initial plan 2026-03-20 07:54:59 +00:00
github-actions[bot] c81e29cd46 chore(release): update build metadata files [skip ci] 2026-03-20 07:48:55 +00:00
semantic-release 3d286df8af 0.160.0
Automatically generated by python-semantic-release
2026-03-20 07:48:53 +00:00
Christian Krakau-Louis 60e3ea030a Merge pull request #768 from christianlouis/copilot/check-imprint-privacy-policy
feat(mobile): add pre-login legal pages, fix image sharing, multi-image selection, file details, search, settings, and i18n
2026-03-20 08:48:34 +01:00
github-actions[bot] 84fe8543c1 chore(release): update build metadata files [skip ci] 2026-03-19 20:41:20 +00:00
semantic-release 1465040864 0.159.0
Automatically generated by python-semantic-release
2026-03-19 20:41:16 +00:00
Christian Krakau-Louis 57f9e90e45 Merge pull request #770 from christianlouis/copilot/add-dropbox-test-integration
feat(integrations): Dropbox connection test + global credential sharing for integrations & social login
2026-03-19 21:40:51 +01:00
github-actions[bot] 579bd261ce chore(release): update build metadata files [skip ci] 2026-03-19 20:22:40 +00:00
semantic-release d8fc75d5a5 0.158.4
Automatically generated by python-semantic-release
2026-03-19 20:22:36 +00:00
github-actions[bot] 910fb297ba style: apply ruff auto-fix
- Auto-formatted code with ruff format
- Applied ruff linting fixes with --fix

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-19 20:22:20 +00:00
Christian Krakau-Louis 867b269322 Merge pull request #769 from christianlouis/copilot/fix-signup-error-message
fix(signup): replace [object Object] with readable error for invalid usernames
2026-03-19 21:22:17 +01:00
copilot-swe-agent[bot] d1f9819f4e feat(integrations): add Dropbox connection test and global-credential sharing
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 19:17:12 +00:00
copilot-swe-agent[bot] 6541529250 fix(mobile): address code review feedback - error handling, filename collision, hash display
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 19:13:53 +00:00
copilot-swe-agent[bot] 67c17e7baa feat(mobile): add pre-login legal pages, multi-image selection, file detail view, search, i18n, HEIC support
- Add Privacy Policy, Terms of Service, and Imprint links to WelcomeScreen
  and LoginScreen for GDPR/Apple compliance (pre-login access)
- Enable multiple image selection in photo library picker
- Add HEIC/HEIF image support to backend (allowed_types, convert_to_pdf, upload handler)
- Create FileDetailScreen with processing status and logs
- Add search bar to FilesScreen with debounced search
- Set up i18n with expo-localization (EN, DE, ES, FR, IT)
- Add language selector to ProfileScreen settings
- Add Imprint link to ProfileScreen legal section
- Update docs and tests

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 19:11:44 +00:00
copilot-swe-agent[bot] 689c616e44 fix(ui): show proper error when signup username has invalid characters
When a username like 'christianlouis.de' (containing a dot) was submitted
on the signup page, FastAPI returned a 422 with detail as an array of
Pydantic validation error objects. The JS code assigned that array directly
to `this.error`, causing Alpine.js x-text to render '[object Object]'.

Two fixes applied in signup.html:
1. Client-side validation: check username length and pattern in submit()
   before the API call, with clear human-readable error messages.
2. Server error handling: detect when data.detail is an Array and extract
   each entry's .msg field, joining them into a readable string.

Also adds a regression test to confirm the 422 response format for an
invalid username (with dot) includes a list detail with msg fields.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 18:58:19 +00:00
copilot-swe-agent[bot] 933fb940f9 Initial plan 2026-03-19 18:56:31 +00:00
copilot-swe-agent[bot] f7e4f81773 Initial plan 2026-03-19 18:51:55 +00:00
copilot-swe-agent[bot] 0252f11cc0 Initial plan 2026-03-19 18:43:46 +00:00
github-actions[bot] f020a3e292 chore(release): update build metadata files [skip ci] 2026-03-19 14:49:51 +00:00
semantic-release 044ae72c50 0.158.3
Automatically generated by python-semantic-release
2026-03-19 14:49:48 +00:00
Christian Krakau-Louis 9076394440 Merge pull request #767 from christianlouis/copilot/fix-authentication-configuration-issues
fix(upload): reject exact duplicates at upload time; prevent duplicate mobile share uploads
2026-03-19 15:49:25 +01:00
copilot-swe-agent[bot] ec882214e2 refactor(mobile): extract normalizeFileUri to shared utility module
Address code review feedback:
- Extract normalizeFileUri to mobile/src/utils/normalizeUri.ts
- Import shared function in ShareContext and UploadScreen
- Move os import to top of test file
- Update test docstring to reflect new behavior

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 14:11:08 +00:00
copilot-swe-agent[bot] d5c18ccf07 fix(upload): reject exact duplicates at upload time and prevent duplicate mobile uploads
- Move duplicate check before task enqueue in ui_upload endpoint
- Clean up temp file and return status "duplicate" for exact duplicates
- Add URI-level dedup guard in mobile UploadScreen to prevent repeated uploads
- Improve ShareContext URI normalization (collapse slashes, decode percent-encoding)
- Guard +not-found.tsx effect against re-firing for the same pathname
- Update mobile UploadResponse type and handlers for duplicate status
- Update web frontend upload.js to show duplicate status
- Update API and Configuration docs

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 14:07:43 +00:00
copilot-swe-agent[bot] cde966012c Initial plan 2026-03-19 13:34:59 +00:00
github-actions[bot] d53390cada chore(release): update build metadata files [skip ci] 2026-03-19 13:17:26 +00:00
semantic-release aec6c3944d 0.158.2
Automatically generated by python-semantic-release
2026-03-19 13:17:22 +00:00
Christian Krakau-Louis 547ce4abc4 Merge pull request #766 from christianlouis/copilot/audit-docuelevate-app-compliance
fix(mobile): App Store compliance audit, fix shared file uploads, default server URL
2026-03-19 14:16:58 +01:00
copilot-swe-agent[bot] cfe83d7efa refactor(mobile): extract shared MIME type utility and improve error handling
- Extract EXT_TO_MIME map and mimeTypeFromFilename to shared module
  at mobile/src/utils/mimeTypes.ts (used by _layout.tsx and +not-found.tsx)
- Add error logging to ensureLocalUri catch block for debugging
- Add error handling to Linking.openURL calls in ProfileScreen
- Fix incorrect LSSupportsOpeningDocumentsInPlace docs in audit report

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 12:05:47 +00:00
copilot-swe-agent[bot] f549505bfd fix(mobile): fix shared file upload hanging by copying to cache
Files shared via iOS Share Sheet / "Open In…" may reference paths
outside the app's sandbox or use security-scoped URLs that React
Native's fetch cannot read. This caused uploads to hang indefinitely
with a spinning indicator.

Fixes:
- Set LSSupportsOpeningDocumentsInPlace to false so iOS copies shared
  files to the app's accessible Inbox directory
- Use expo-file-system to copy external file:// URIs to the app's
  cache directory before uploading (ensureLocalUri helper)
- Apply ensureLocalUri to both initial uploads and retries

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 12:03:12 +00:00
copilot-swe-agent[bot] 1559686f90 fix(mobile): fix file sharing deep-link conflicts and add MIME type inference
- Skip known deep-link paths (qr-login, callback) in makeUrlHandler
  to prevent docuelevate://qr-login URLs from being treated as shared
  files and creating phantom upload errors
- Infer MIME type from file extension for files shared via iOS Share
  Sheet / "Open In…" so the server receives correct Content-Type
  instead of application/octet-stream
- Default login screen server URL to https://app.docuelevate.org

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 11:55:45 +00:00
copilot-swe-agent[bot] 136631762b fix(mobile): add user feedback when server URL is unavailable
Show alert dialogs when Privacy Policy, Terms of Service, or
account deletion links cannot be opened due to missing server URL.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 11:46:54 +00:00
copilot-swe-agent[bot] 1572f322d7 docs: add Apple App Store Compliance audit report
Create comprehensive audit document covering HIG compliance,
privacy manifest, permissions, background modes, account
deletion, and all App Store Review Guidelines areas.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 11:45:58 +00:00
copilot-swe-agent[bot] 5c15a2395a fix(mobile): Apple App Store compliance fixes
- Remove unused `fetch` from UIBackgroundModes (Guideline 2.5.4)
- Add iOS privacy manifest configuration for required reason APIs
- Add Privacy Policy and Terms of Service links to ProfileScreen
- Add account deletion capability (Guideline 5.1.1(v))
- Remove unused Switch import from ProfileScreen
- Replace emoji icons with Ionicons in UploadScreen and FilesScreen
- Add app version display to ProfileScreen

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-19 11:38:48 +00:00
copilot-swe-agent[bot] 0aab5bcbf7 Initial plan 2026-03-19 11:32:33 +00:00