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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user