Skip to content

Server Documentation v1.1.2

Choose a tag to compare

@gavinmcfall gavinmcfall released this 25 Jan 19:42
· 17 commits to main since this release

🌍 Complete Internationalization Release

This release brings comprehensive internationalization support with 20 languages and significant security hardening.

✨ New Features

Multi-Language Support (20 Languages)

  • Complete translations: English, German, French, Spanish, Portuguese, Dutch, Polish, Russian, Chinese, Japanese
  • AI-generated translations (pending native speaker verification): Czech, Greek, Hungarian, Indonesian, Italian, Korean, Romanian, Swedish, Thai, Turkish, Ukrainian, Vietnamese

Full UI Internationalization

  • All admin panel labels, buttons, and messages now use the translation system
  • Content type badges (Rich Text, Markdown, Raw HTML) are translated
  • Form labels, helper texts, and placeholders are translated
  • Version history UI is fully translated
  • Preview section and empty states are translated

πŸ”’ Security Improvements

  • SQL Injection Prevention: LIKE queries now use explicit ESCAPE clause for cross-database compatibility (MySQL, PostgreSQL, SQLite)
  • HTML Sanitization: All user content is sanitized before display
  • XSS Prevention: Template variables are properly escaped
  • Input Validation: Comprehensive import validation for JSON/Markdown files

πŸ› Bug Fixes

  • Fixed German localization file syntax (removed accidental markdown code fences)
  • Fixed German grammar: "Reines HTML" β†’ "reinem HTML" (dative case) - thanks @noriwanne!
  • Fixed version preview not rendering markdown content properly
  • Fixed SQL LIKE wildcard escaping for special characters (%, _, )

πŸ“¦ Other Changes

  • Added content_type column to document_versions table for accurate version restoration
  • Bundled highlight.js locally as fallback for airgapped environments
  • CDN primary with automatic local fallback for syntax highlighting
  • Added comprehensive test suite (181 tests, 281 assertions)

πŸ“‹ Upgrade Notes

  1. Run migrations: php artisan migrate
  2. Clear cache: php artisan cache:clear
  3. Publish assets: php artisan vendor:publish --tag=server-documentation-assets --force

🌐 Language Support

Status Languages
βœ… Verified English (source), German (thanks @noriwanne!)
πŸ€– AI-Generated French, Spanish, Portuguese, Dutch, Polish, Russian, Chinese, Japanese, Czech, Greek, Hungarian, Indonesian, Italian, Korean, Romanian, Swedish, Thai, Turkish, Ukrainian, Vietnamese

Note: AI-generated translations have not been verified by native speakers. Community corrections are welcome via PR!


Full Changelog: v1.1.0...v1.1.2