ver. 0.285: Tpl → Shared\Tpl namespace, CurlServer removal, thumb.php fix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-17 00:13:59 +01:00
parent 6922b66eed
commit d2c9d97710
144 changed files with 385 additions and 285 deletions

View File

@@ -4,6 +4,24 @@ Logi zmian z migracji na Domain-Driven Architecture. Najnowsze na gorze.
---
## ver. 0.285 (2026-02-17) - Tpl namespace, CurlServer removal, thumb.php fix
- **Shared\Tpl\Tpl** — migracja silnika szablonow do namespace Shared
- NOWY: `autoload/Shared/Tpl/Tpl.php` (namespace `Shared\Tpl`)
- USUNIETA: `autoload/class.Tpl.php` — zastapiona przez `Shared\Tpl\Tpl`
- ZAMIENIONE: ~135 plikow — `\Tpl::` / `new \Tpl``\Shared\Tpl\Tpl::` / `new \Shared\Tpl\Tpl`
- DRY: wyciagnieto powtorzony `ob_start/include/ob_get_contents/ob_end_clean` do prywatnej metody `renderFile()`
- FIX: bug w `render()` branch 3 — sprawdzal `../templates_user/` ale ladowal `../templates/`
- CLEANUP: usunieta nieuzywana property `$dir` i konstruktor `__construct($dir)`
- **CurlServer** — usuniecie nieuzywanej klasy
- USUNIETA: `autoload/curl.class.php` — klasa `CurlServer` bez referencji w projekcie (0 uzyc)
- **thumb.php** — naprawa require po migracji Image
- FIX: `libraries/thumb.php` — zmiana `require_once '../autoload/class.Image.php'` na `../autoload/Shared/Image/ImageManipulator.php` + `use`
- FIX: poprawiony short open tag `<?` na `<?php`
- Testy: 454 OK, 1449 asercji
---
## ver. 0.284 (2026-02-16) - DbModel elimination
- **DbModel** — usunięcie klasy base ORM