ver. 0.278: Settings + Languages frontend migration, bug fix get_single_settings_value

- Add cached frontend methods to existing Domain repositories (allSettings, getSingleValue, defaultLanguage, activeLanguages, translations)
- Convert front\factory\Settings and Languages to facades delegating to Domain repositories
- Fix get_single_settings_value() - was hardcoded to 'firm_name', now uses $param correctly
- Add CacheHandler stub methods (get/set/exists) to test bootstrap
- Establish architectural rule: Domain classes are shared between admin and frontend

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-16 13:50:27 +01:00
parent 7fcac87a58
commit 782dd35d5b
14 changed files with 483 additions and 164 deletions

View File

@@ -18,20 +18,19 @@ Aktualizacje znajdują się w folderze `updates/0.XX/` gdzie XX oznacza dziesią
## Procedura tworzenia nowej aktualizacji
## Status biezacej aktualizacji (ver. 0.277)
## Status biezacej aktualizacji (ver. 0.278)
- Wersja udostepniona: `0.277` (data: 2026-02-16).
- Wersja udostepniona: `0.278` (data: 2026-02-16).
- Pliki publikacyjne:
- `updates/0.20/ver_0.277.zip`
- `updates/0.20/ver_0.277_files.txt`
- `updates/0.20/ver_0.278.zip`
- Pliki metadanych aktualizacji:
- `updates/changelog.php` (dodany wpis `ver. 0.277`)
- `updates/versions.php` (`$current_ver = 277`)
- `updates/changelog.php` (dodany wpis `ver. 0.278`)
- `updates/versions.php` (`$current_ver = 278`)
- Weryfikacja testow przed publikacja:
- `OK (414 tests, 1335 assertions)`
- `OK (427 tests, 1378 assertions)`
### 1. Określ numer wersji
Sprawdź ostatnią wersję w `temp/` i zwiększ o 1.
Sprawdź ostatnią wersję w `updates/` i zwiększ o 1.
### 2. Utwórz folder tymczasowy ze strukturą w katalogu temp
```bash