Commit Graph

2071 Commits

Author SHA1 Message Date
google-labs-jules[bot] 91f36e0d5a refactor(tasks): extract filename regex to shared constant
Move the valid filename regex pattern to a shared constant in `app/utils/filename_utils.py` and update both the task logic and security tests to use it. This eliminates duplication and ensures consistency across the codebase.

Normalized line endings in `app/tasks/extract_metadata_with_gpt.py` from CRLF to LF to ensure consistency and prevent CI issues.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-23 14:31:12 +00:00
google-labs-jules[bot] 9b748db4d4 refactor(tasks): extract filename regex to shared constant
Move the valid filename regex pattern to a shared constant in `app/utils/filename_utils.py` and update both the task logic and security tests to use it. This eliminates duplication and ensures consistency across the codebase.

Also normalized line endings to LF in affected files to ensure CI compatibility.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-23 14:23:31 +00:00
github-actions[bot] 031b51b9b8 chore(release): update build metadata files [skip ci] 2026-03-13 14:54:29 +00:00
semantic-release ed75fc9da1 0.131.0
Automatically generated by python-semantic-release
2026-03-13 14:54:26 +00:00
Christian Krakau-Louis a47db95129 Merge pull request #629 from christianlouis/copilot/update-translation-file-indexing
feat(i18n): index all 49 translation files and add flags/locale formats
2026-03-13 15:54:02 +01:00
copilot-swe-agent[bot] ce4e797bd1 docs(i18n): add comment on Welsh subdivision flag Unicode representation
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-13 14:07:07 +00:00
copilot-swe-agent[bot] 87d85624be feat(i18n): expand supported languages from 31 to 49 with flags and locale formats
Add 18 previously missing language entries to SUPPORTED_LANGUAGES in
app/utils/i18n.py so every translation JSON file in frontend/translations/
is properly indexed and served by the language selector:

New languages: af, ar, cy, eo, fa, fy, gl, he, ja, kn, ko, li, nds, no, pa, sr, vi, vls

Each new language entry includes:
- Correct ISO 639-1/639-3 code matching its JSON filename
- Native name and display name
- Appropriate country/language flag emoji
- Locale-specific date and number formatting rules in _LOCALE_FORMATS

Also: rename nb "Norwegian" → "Norwegian Bokmål" to distinguish it from no "Norwegian".

Update tests/test_i18n.py:
- Count assertions: 31 → 49
- Expected code set expanded to all 49 codes
- Fix test_unsupported_language_fallback (ja/ko now supported, use xx/yy)

Update docs/InternationalizationGuide.md:
- Language count: 10 → 49
- Full language table with flags, native names, tiers
- Complete file structure listing all 49 JSON files

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-13 14:03:31 +00:00
copilot-swe-agent[bot] 34c5d9e55e Initial plan 2026-03-13 13:55:46 +00:00
github-actions[bot] bd35cdd268 docs(changelog): update changelog [skip ci] 2026-03-13 13:44:34 +00:00
Christian Krakau-Louis b2d4560039 Merge pull request #628 from christianlouis/copilot/update-icelandic-translation
True-up Icelandic translation (is.json) with en.json
2026-03-13 14:43:50 +01:00
github-actions[bot] bb71f0aab8 docs(changelog): update changelog [skip ci] 2026-03-13 13:43:44 +00:00
Christian Krakau-Louis e85acd590d Merge pull request #622 from christianlouis/copilot/update-finnish-translation-file
True-up Finnish translation with en.json
2026-03-13 14:43:24 +01:00
github-actions[bot] 04a81ef7a3 chore(release): update build metadata files [skip ci] 2026-03-13 13:43:14 +00:00
semantic-release 46c78e6cce 0.130.0
Automatically generated by python-semantic-release
2026-03-13 13:43:11 +00:00
Christian Krakau-Louis f2d8f2e129 Merge pull request #618 from christianlouis/copilot/true-up-catalan-translation
feat(i18n): Complete Catalan translation for ca.json
2026-03-13 14:42:52 +01:00
copilot-swe-agent[bot] 217217dd01 feat(i18n): add complete Catalan (ca) translation
Translate all 927 keys from English to Catalan in frontend/translations/ca.json.
Previously the file contained only English placeholder values. All strings
have been translated to proper Catalan, preserving technical terms, product
names, and placeholder variables (e.g. {size}, {year}, {count}).

- 872 out of 927 keys now have Catalan translations
- 55 values intentionally kept unchanged (proper names, product names,
  technical acronyms like IP/ID/ENV, language names in their native form,
  numeric error codes, and words identical in Catalan and English)"

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-13 11:37:29 +00:00
copilot-swe-agent[bot] 8e9e80f175 Initial plan 2026-03-13 11:28:02 +00:00
copilot-swe-agent[bot] a776622b1c Initial plan 2026-03-13 11:27:05 +00:00
copilot-swe-agent[bot] 424da0a343 Initial plan 2026-03-13 11:26:32 +00:00
github-actions[bot] 3fc06ae0b8 chore(release): update build metadata files [skip ci] 2026-03-13 08:34:02 +00:00
semantic-release 7847154da4 0.129.0
Automatically generated by python-semantic-release
2026-03-13 08:33:59 +00:00
Christian Krakau-Louis 3c7f0888de Merge pull request #610 from christianlouis/copilot/ensure-fr-json-translations
fix(i18n): complete French translations and resolve merge conflicts with main
2026-03-13 09:33:37 +01:00
github-actions[bot] 3624ceefe6 chore(release): update build metadata files [skip ci] 2026-03-13 08:33:01 +00:00
semantic-release 952463a8c9 0.128.0
Automatically generated by python-semantic-release
2026-03-13 08:32:58 +00:00
Christian Krakau-Louis 008b356dd0 Merge pull request #612 from christianlouis/copilot/ensure-pl-json-translations
feat(i18n): complete Polish translations in pl.json
2026-03-13 09:32:36 +01:00
github-actions[bot] 96a7231531 chore(release): update build metadata files [skip ci] 2026-03-13 08:32:03 +00:00
semantic-release f0d3e22f53 0.127.0
Automatically generated by python-semantic-release
2026-03-13 08:32:00 +00:00
Christian Krakau-Louis b40b2c3453 Merge pull request #611 from christianlouis/copilot/ensure-es-json-translations
fix(i18n): complete Spanish translations and resolve merge conflicts with main
2026-03-13 09:31:40 +01:00
copilot-swe-agent[bot] c9a650b863 fix(i18n): resolve merge conflicts from main - keep Spanish translations, restore zh translations 2026-03-13 08:05:20 +00:00
GitHub Copilot cd47cf2adf Merge branch 'main' of https://github.com/christianlouis/DocuElevate into copilot/ensure-fr-json-translations
# Conflicts:
#	frontend/translations/fr.json
2026-03-13 08:03:41 +00:00
copilot-swe-agent[bot] 19b9cd8163 fix(i18n): resolve merge conflicts - merge main into branch
Merged main (v0.126.0) into branch. Main added 26 new translation keys
via Crowdin l10n PR. Resolved conflict in pl.json by:
- Keeping all 280 Polish translations from our branch
- Adding Polish translations for 26 new keys from main
2026-03-13 08:01:19 +00:00
github-actions[bot] 6cd76caebb chore(release): update build metadata files [skip ci] 2026-03-13 07:54:42 +00:00
semantic-release 76e2aaa5f1 0.126.0
Automatically generated by python-semantic-release
2026-03-13 07:54:39 +00:00
Christian Krakau-Louis 603bcaad6a Merge pull request #580 from christianlouis/copilot/add-conditional-routing
feat: add conditional routing based on document type and metadata
2026-03-13 08:54:20 +01:00
github-actions[bot] fd4ea5c71b docs(changelog): update changelog [skip ci] 2026-03-13 07:53:19 +00:00
Christian Krakau-Louis f28d7c7068 Merge pull request #613 from christianlouis/l10n_main
New Crowdin updates
2026-03-13 08:52:57 +01:00
Christian Krakau-Louis d631756345 New translations en.json (Portuguese, Brazilian) 2026-03-12 23:45:05 +01:00
Christian Krakau-Louis 3bc57827d9 New translations en.json (Ukrainian) 2026-03-12 23:45:03 +01:00
Christian Krakau-Louis da77f906a5 New translations en.json (Swedish) 2026-03-12 23:45:02 +01:00
Christian Krakau-Louis cfa7fdc68a New translations en.json (Polish) 2026-03-12 23:44:59 +01:00
Christian Krakau-Louis 805e67c622 New translations en.json (Dutch) 2026-03-12 23:44:58 +01:00
Christian Krakau-Louis 564b6872c9 New translations en.json (Italian) 2026-03-12 23:44:56 +01:00
Christian Krakau-Louis 4fb7533ab6 New translations en.json (Finnish) 2026-03-12 23:44:55 +01:00
Christian Krakau-Louis 6b92c91c02 New translations en.json (German) 2026-03-12 23:44:54 +01:00
Christian Krakau-Louis 213c6fc944 New translations en.json (Danish) 2026-03-12 23:44:52 +01:00
Christian Krakau-Louis 6c17e3e482 New translations en.json (Czech) 2026-03-12 23:44:51 +01:00
Christian Krakau-Louis 8408edbb93 New translations en.json (Spanish) 2026-03-12 23:44:50 +01:00
Christian Krakau-Louis 62764ec9ee New translations en.json (French) 2026-03-12 23:44:49 +01:00
Christian Krakau-Louis 15b37950e9 New translations en.json (Limburgish) 2026-03-12 23:35:27 +01:00
Christian Krakau-Louis 75f4d55972 New translations en.json (Low German) 2026-03-12 23:35:26 +01:00