fdc4cac593
ver. 0.311: fix race condition Apilo + persistence filtrów + poprawki cen
...
- Fix: race condition callback płatności przed wysłaniem do Apilo
- Fix: processApiloSyncQueue czeka na apilo_order_id zamiast usuwać task
- Fix: drugie wywołanie processApiloSyncQueue po wysyłce zamówień w cronie
- Fix: ceny w szczegółach zamówienia (effective price zamiast 0 zł)
- New: persistence filtrów tabel admin (localStorage)
- Testy: 760 tests, 2141 assertions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 10:50:34 +01:00
4de5479c41
ver. 0.309: ApiloLogger + cache-busting CSS/JS + poprawki UI
...
- ApiloLogger: logowanie operacji Apilo do pp_log z kontekstem JSON
- Cache-busting: ?ver=filemtime() dla CSS i JS w admin main-layout
- Fix: inicjalizacja $mdb przed SettingsRepository w admin/index.php
- Fix: rzutowanie (string) w ShopProductController::escapeHtml()
- UI: text-overflow ellipsis dla kategorii produktow + title tooltip
- JS: navigator.clipboard API w copyToClipboard() z fallbackiem
- CSS: uproszczenie .site-content, usuniecie .with-menu
- Migracja: pp_log + kolumny action, order_id, context
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 09:31:28 +01:00
69e78ca248
ver. 0.294: Remove all 12 legacy autoload/shop/ classes (~2363 lines)
...
Complete Domain-Driven Architecture migration:
- Phase 1-4: Transport, ProductSet, Coupon, Shop, Search, Basket,
ProductCustomField, Category, ProductAttribute, Promotion
- Phase 5: Order (~562 lines) + Product (~952 lines)
- ~20 Product methods migrated to ProductRepository
- Apilo sync migrated to OrderAdminService
- Production hotfixes: stale Redis cache (prices 0.00), unqualified
Product:: refs in LayoutEngine, object->array template conversion
- AttributeRepository::getAttributeValueById() Redis cache added
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-18 02:05:39 +01:00
89d9e61bec
ver. 0.292: ShopProduct + ShopPaymentMethod + ShopPromotion + ShopStatuses + ShopTransport frontend migration to Domain
...
Full migration of front\factory\ — entire directory removed (all 20 classes migrated).
ProductRepository +20 frontend methods, PromotionRepository +5 applyType methods,
TransportRepository +4 cached methods, PaymentMethodRepository +cached frontend methods.
Fix: broken transports_list() in ajax.php replaced with forPaymentMethod().
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-17 21:55:16 +01:00
431add234c
ver. 0.283: Legacy class cleanup — S, Html, Email, Image, Log, Mobile_Detect → Shared namespace
...
- Migrate class.S → Shared\Helpers\Helpers (140+ files), remove 12 unused methods
- Migrate class.Html → Shared\Html\Html
- Migrate class.Email → Shared\Email\Email
- Migrate class.Image → Shared\Image\ImageManipulator
- Delete class.Log (unused), class.Mobile_Detect (outdated UA detection)
- Remove grid library loading from admin (index.php, ajax.php)
- Replace gridEdit usage in 10 admin templates with grid-edit-replacement.php
- Fix grid-edit-replacement.php AJAX to send values as JSON (grid.js compat)
- Remove mobile layout conditionals (m_html/m_css/m_js) from Site + LayoutsRepository
- Remove \Log::save_log() calls from OrderAdminService, ShopOrder, Order
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-16 23:06:06 +01:00
0402dbee76
ver. 0.280: Articles frontend migration, class.Article removal, Settings facade cleanup
...
- Add 8 frontend methods to ArticleRepository (with Redis cache)
- Create front\Views\Articles (rendering + utility methods)
- Rewire front\view\Site::show() and front\controls\Site::route() to repo + Views
- Update 5 article templates to use \front\Views\Articles::
- Convert front\factory\Articles and front\view\Articles to facades
- Remove class.Article (entity + static methods migrated to repo + Views)
- Remove front\factory\Settings facade (already migrated)
- Fix: eliminate global $lang from articleNoindex(), inline page sort query
- Tests: 450 OK, 1431 assertions (+13 new)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-16 15:52:03 +01:00
c8469f4371
ver. 0.277: ShopProduct factory, Dashboard, Update migration, legacy cleanup, admin\App
...
- ShopProduct factory: full migration (~40 ProductRepository methods, ~30 controller actions)
- Dashboard: Domain+DI migration (DashboardRepository + DashboardController)
- Update: Domain+DI migration (UpdateRepository + UpdateController, template rewrite)
- Renamed admin\Site to admin\App, removed dead fallback routing
- Removed all legacy folders: admin/controls, admin/factory, admin/view
- Newsletter: switched from admin\factory\Articles to ArticleRepository
- 414 tests, 1335 assertions passing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-16 01:06:29 +01:00
d012a694c2
ver. 0.276: ShopOrder migration, Integrations cleanup, global admin search
2026-02-15 16:41:48 +01:00
34e23338da
ver. 0.270 - Apilo payment/status sync hardening
2026-02-14 20:27:01 +01:00
9c23e7f16b
ver. 0.269: ShopPaymentMethod refactor + Apilo keepalive
2026-02-14 15:22:02 +01:00
d824ba3909
Integrations DI refactor, remove Sellasist/Baselinker, fix product-edit encoding (0.263)
...
- New: Domain\Integrations\IntegrationsRepository + admin\Controllers\IntegrationsController (DI)
- Cleanup: removed all Sellasist and Baselinker integrations from entire project
- Fix: product-edit.php Polish characters (UTF-8/CP1250 double-encoding)
- Update: factory\Integrations as facade (Apilo + ShopPRO only)
- Tests: 212 tests, 577 assertions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-13 21:59:26 +01:00
1c88f8adfa
Add new settings and cache repository files, update admin settings controller and templates
...
- Introduced new `SettingsRepository` and `CacheRepository` classes in the `autoload\Domain` namespace.
- Updated `SettingsController` in the `admin\Controllers` namespace to enhance settings management.
- Added new templates for settings in `admin\templates\settings` and `admin\templates\site`.
- Improved overall structure and organization of settings-related files.
2026-02-05 23:32:48 +01:00
3a7be21432
Add new version 0.238 zip file containing updated ProductRepository and Product class files
2026-02-05 01:53:28 +01:00
16cccac782
Dodano obsługę duplikatów zamówień w Apilo oraz zaktualizowano dokumentację i wersję do 0.236
2026-02-04 22:30:36 +01:00
3cb792936e
Dodaj obsługę błędu dla zamówień z transportem ORLEN PACZKA bez podanego punktu odbioru
2025-10-26 23:16:47 +01:00
3a3464c062
Usunięto pliki .DS_Store oraz dodano warunek sprawdzający status sklepu przed aktualizacją statusu zamówienia w cron.php.
2025-07-14 14:59:19 +02:00
c840c97e23
Zaktualizowano wyrażenie regularne w funkcji parsePaczkomatAddress, aby poprawnie obsługiwało znaki myślnika w kodzie pocztowym.
2025-04-16 08:26:23 +02:00
73a9c5b33e
Zaktualizowano metody get_product_sku i get_product_ean, aby obsługiwały opcję pobierania SKU i EAN z produktu nadrzędnego; usunięto plik .DS_Store.
2025-03-30 18:43:06 +02:00
a49f7248f4
Zaktualizowano dane połączenia FTP w plikach konfiguracyjnych oraz dodano raportowanie błędów w pliku cron.php.
2025-03-05 13:25:59 +01:00
2bddfa31f7
Zaktualizowano wersję na 0.226, dodano opcję faktury do zamówienia oraz wprowadzono zmiany w strukturze bazy danych i logice obsługi zamówień.
2025-01-04 12:11:50 +01:00
fdf1d9315e
Zmieniono limit długości wiadomości zamówienia z 900 na 850 znaków w pliku cron.php
2024-12-31 17:28:33 +01:00
4fc7b4a078
Zmieniono logikę przetwarzania zamówień w cron.php, aby pobierać i aktualizować statusy dla wielu zamówień jednocześnie, poprawiając efektywność synchronizacji.
2024-12-04 10:54:24 +01:00
62080f03d7
Dodano przypisanie adresu, miasta i kodu pocztowego dla transportu o ID 3 w cron.php
2024-11-22 12:18:23 +01:00
42210bad4b
Refaktoryzacja przypisania adresu klienta w cron.php, poprawiając logikę przypisywania ulicy, miasta i kodu pocztowego z różnych źródeł danych.
2024-11-19 12:48:11 +01:00
f419f693e4
update
2024-11-16 10:57:09 +01:00
be64e16dc7
Zaktualizuj wersję na 0.222, dodaj integrację z Orlen Paczka oraz wprowadź zmiany w obsłudze punktów Orlen w formularzach zamówień i koszyka
2024-11-10 20:09:42 +01:00
fc35061406
Zmień limit długości wiadomości zamówienia na 900 znaków oraz popraw sposób wyświetlania błędów walidacji
2024-11-07 12:57:17 +01:00
b6107b8c75
first commit
2024-10-23 13:44:50 +02:00