Commit Graph

184 Commits

Author SHA1 Message Date
7cc0cadd6d ver. 0.276: ShopOrder migration, Integrations cleanup, global admin search 2026-02-15 16:41:48 +01:00
c0030c3cf3 docs: complete 0.275 documentation updates 2026-02-15 15:36:31 +01:00
698a25b6f3 chore(updates): add 0.275 changelog entry and bump versions 2026-02-15 15:34:52 +01:00
d0747b3e0a refactor(shop_category): migrate admin module to Domain+DI with routing and ajax cleanup 2026-02-15 15:32:39 +01:00
c99b42af68 aktualizacja: zmiana linku do refaktoringu w dokumentacji AGENTS.md 2026-02-15 15:04:07 +01:00
dc7751c9de ver. 0.274 - ShopClients Domain+DI migration 2026-02-15 15:03:24 +01:00
618ba4f446 updates: add ver_0.273 package and release metadata 2026-02-15 11:44:01 +01:00
2eab1b1cbe ver. 0.274 - ShopProduct mass_edit + tree UI cleanup 2026-02-15 11:41:04 +01:00
8e84c6b567 ver. 0.273 - ShopProducer refactor + cleanup 6 factory facades
- Domain\Producer\ProducerRepository (CRUD + frontend)
- admin\Controllers\ShopProducerController (DI)
- Nowe widoki: producers-list, producer-edit (table-list/form-edit)
- shop\Producer -> fasada do ProducerRepository
- Przepiecie ShopProduct factory na TransportRepository
- Usuniete 6 pustych factory facades: Languages, Newsletter, Scontainers, ShopProducer, ShopTransport, Layouts
- Usuniete legacy: controls\ShopProducer, stare szablony
- Testy: 338 tests, 1063 assertions OK
2026-02-15 10:46:55 +01:00
ca445d40d9 ver. 0.272 - ShopProductSets refactor + update package
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 10:29:21 +01:00
67b0a2bb6a ver. 0.271 - ShopAttribute refactor + update package 2026-02-14 21:12:17 +01:00
137b15c97b ver. 0.270 - Apilo payment/status sync hardening 2026-02-14 20:27:01 +01:00
7468dd0d3f feat: Add Transport module with repository, controller, and views
- Implemented TransportRepository for managing transport data with methods for listing, finding, saving, and retrieving transport costs.
- Created ShopTransportController to handle transport-related actions, including listing, editing, and saving transports.
- Added views for transport management: transports list and transport edit forms.
- Introduced JavaScript for responsive tabs in transport edit view.
- Updated testing suite with comprehensive unit tests for TransportRepository and ShopTransportController.
- Increased test coverage with new assertions and scenarios for transport functionalities.
2026-02-14 20:16:18 +01:00
818cd7f2c0 ver. 0.269: ShopPaymentMethod refactor + Apilo keepalive 2026-02-14 15:22:02 +01:00
5e5d3d068a refactor(shop-statuses): migrate to DI, restructure docs into docs/ folder (0.268)
- Migrate ShopStatuses module to Domain + DI architecture
- Add ShopStatusRepository, ShopStatusesController with color picker
- Convert front\factory\ShopStatuses to facade
- Add FormFieldType::COLOR with HTML5 color picker
- Move documentation files to docs/ folder (PROJECT_STRUCTURE, REFACTORING_PLAN, CHANGELOG, FORM_EDIT_SYSTEM, TESTING, DATABASE_STRUCTURE)
- Tests: 254 tests, 736 assertions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 10:43:31 +01:00
4efca23069 release 0.267: front layout/basket fixes and product redirect hardening 2026-02-14 00:56:09 +01:00
3dad04f927 refactor(shop-coupon): migrate admin module to DI and release 0.266 2026-02-14 00:05:23 +01:00
46a60f3679 Release 0.265: ShopPromotion date_from and edit save fix 2026-02-13 22:44:07 +01:00
1303b17de4 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
b4559a5e74 ver 0.262 - pages module refactor and admin UX fixes 2026-02-13 21:17:21 +01:00
a1633491d5 Fix release numbering: rename update package to 0.261 2026-02-13 09:02:47 +01:00
3e1f417ef3 Articles: finish admin refactor, uploads hardening, and attachment sorting (0.262) 2026-02-13 09:00:24 +01:00
e984548516 Refactor Scontainers management
- Removed legacy Scontainers controller and view files, transitioning to a new controller structure.
- Introduced ScontainersController to handle CRUD operations with improved dependency injection.
- Created ScontainersRepository for database interactions, encapsulating logic for container management.
- Updated container edit and list views to utilize new templating system.
- Added unit tests for ScontainersRepository and ScontainersController to ensure functionality.
- Enhanced form handling for container editing, including validation and error management.
2026-02-12 23:54:56 +01:00
6832009020 refactor articles_archive to DI controller and table-list 2026-02-12 23:53:05 +01:00
0d4e175b1a refactor newsletter module and disable prepare/user templates 2026-02-12 23:26:28 +01:00
b0a2f4be0e refactor layouts module to domain/di and prepare 0.256 release 2026-02-12 22:54:47 +01:00
58a41691e6 Release 0.255: migrate remaining Languages usages to repository DI 2026-02-12 22:28:57 +01:00
95c5fda989 refactor languages module to domain/controller and release 0.254 update package 2026-02-12 22:10:37 +01:00
c1284ef06c refactor users module to domain/controller and release 0.253 update package 2026-02-12 21:44:40 +01:00
f5054047fd Add new controllers for file management and product archiving
- Introduced FilemanagerController to handle file manager access and URL generation.
- Added ProductArchiveController for managing archived products, including listing and unarchiving functionality.
- Implemented Site class with methods for finalizing admin login and handling special actions.
- Created ShopProduct control class for managing product operations, including mass editing, product duplication, and image handling.
- Added necessary methods for product management, including saving, deleting, and changing product statuses.
2026-02-11 00:26:01 +01:00
fdf3900b8d Add release 0.252 update artifacts 2026-02-11 00:12:08 +01:00
da27405caf Fix update package version to 0.252 2026-02-11 00:11:58 +01:00
41feabe8be Refactor admin lists and migrate legacy archive/filemanager controllers 2026-02-11 00:03:07 +01:00
11e22d1838 ver. 0.251 - migrate Dictionaries to Domain/Controller and remove legacy classes 2026-02-10 00:04:32 +01:00
7e8a73cb37 feat: enhance image preview functionality with improved event handling and state management 2026-02-09 18:23:49 +01:00
9b4c92056d ver 0.250: migrate settings to form-edit and cleanup legacy settings classes 2026-02-08 20:13:01 +01:00
3c50440cb2 feat: implement new universal form edit system and remove legacy banner classes 2026-02-08 18:12:54 +01:00
926b6fcbca Release 0.249: banner edit fixes and thumbnail popup 2026-02-08 17:29:52 +01:00
0b80524d71 Release 0.248: auto-submit table filters on change 2026-02-08 02:04:08 +01:00
09f90107dc feat: update PHPUnit commands in composer.json and improve update instructions format 2026-02-08 02:00:02 +01:00
9a72d92e13 Release 0.247: improve delete confirmation dialog 2026-02-08 01:58:59 +01:00
bbf0c075b8 Release 0.246: migrate banners list to new table 2026-02-08 01:53:22 +01:00
d709a3df7b Release 0.245: refactor articles list and update package 2026-02-08 01:35:13 +01:00
4aea594477 fix: Update PHPUnit result cache to reflect latest test outcomes 2026-02-07 00:52:57 +01:00
919294d1f7 feat: Update version to 0.244 and refactor article_save and article_delete methods in ArticleRepository 2026-02-06 19:57:01 +01:00
efd93dede3 feat: Migrate article_save and article_delete to Domain Architecture
Move article save/delete logic from monolithic factory to ArticleRepository
with DI-based controller actions, following the established refactoring pattern.

- ArticleRepository: add save() with 9 private helpers, archive() method
- ArticlesController: add save() and delete() actions with DI
- Factory methods delegate to repository (backward compatibility)
- Router: add article_save/article_delete action mappings
- Old controls methods marked @deprecated
- 59 tests, 123 assertions passing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 19:52:22 +01:00
6c21b835da feat: Implement cleanup methods for nonassigned article files and images in ArticleRepository 2026-02-06 08:57:22 +01:00
e33978e1bb feat: Refactor article handling and introduce ArticleRepository
- Introduced Domain\Article\ArticleRepository for better data access.
- Migrated article_edit functionality to admin\Controllers\ArticlesController.
- Updated admin\factory\Articles::article_details() to use the new repository.
- Marked legacy methods in admin\controls as @deprecated for clarity.
- Updated changelog and versioning to reflect changes in version 0.242.
2026-02-06 08:41:34 +01:00
f1c7019cc5 Refactor code structure for improved readability and maintainability 2026-02-06 01:45:58 +01:00
8e5d0c6854 Merge branch 'main' of https://git.project-pro.pl/Project-Pro/shopPRO 2026-02-05 23:33:08 +01:00