Commit Graph

43 Commits

Author SHA1 Message Date
fe51a1f4c4 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
e51ac7f82b ver. 0.271 - ShopAttribute refactor + update package 2026-02-14 21:12:17 +01:00
6543f8dc31 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
9c23e7f16b ver. 0.269: ShopPaymentMethod refactor + Apilo keepalive 2026-02-14 15:22:02 +01:00
847fdbbf3f 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
7574785d68 release 0.267: front layout/basket fixes and product redirect hardening 2026-02-14 00:56:09 +01:00
40e777afe6 refactor(shop-coupon): migrate admin module to DI and release 0.266 2026-02-14 00:05:23 +01:00
88e5673569 Release 0.265: ShopPromotion date_from and edit save fix 2026-02-13 22:44:07 +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
67705f1f56 ver 0.262 - pages module refactor and admin UX fixes 2026-02-13 21:17:21 +01:00
42e4396064 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
36fe8412e7 refactor articles_archive to DI controller and table-list 2026-02-12 23:53:05 +01:00
0ac74b6cf4 refactor newsletter module and disable prepare/user templates 2026-02-12 23:26:28 +01:00
76287923e8 refactor layouts module to domain/di and prepare 0.256 release 2026-02-12 22:54:47 +01:00
5e9b998043 Release 0.255: migrate remaining Languages usages to repository DI 2026-02-12 22:28:57 +01:00
a02f718a41 refactor languages module to domain/controller and release 0.254 update package 2026-02-12 22:10:37 +01:00
2ecc4fd9be refactor users module to domain/controller and release 0.253 update package 2026-02-12 21:44:40 +01:00
fe4e98d9bd ver. 0.251 - migrate Dictionaries to Domain/Controller and remove legacy classes 2026-02-10 00:04:32 +01:00
211081121f 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
d709a3df7b Release 0.245: refactor articles list and update package 2026-02-08 01:35:13 +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
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
43aebc166f Add new update package version 0.235 to autoload admin 2026-01-27 23:47:10 +01:00
Roman Pyrih
e31074506c NEW. Dodanie opcji typ pola własnego 2026-01-20 11:33:18 +01:00
9eecf6b415 Add new columns to producer and product language tables
- Added 'data' column to 'pp_shop_producer_lang' table for additional metadata storage.
- Added 'security_information' column to 'pp_shop_products_langs' table to enhance product security details.
2026-01-04 21:22:40 +01:00
290aa31aa7 Add two-factor authentication fields to pp_users table and update .htaccess for security
- Added columns for two-factor authentication (2FA) in the pp_users table:
  - twofa_enabled (TINYINT)
  - twofa_email (VARCHAR)
  - twofa_code_hash (VARCHAR)
  - twofa_expires_at (DATETIME)
  - twofa_sent_at (DATETIME)
  - twofa_failed_attempts (INT)
- Updated the twofa_enabled and twofa_email for user with id 0.
- Enhanced .htaccess to disable directory listing, block execution of sensitive files, and prevent serving hidden files.
2025-12-11 23:57:22 +01:00
ef15f16e18 Add is_required column to pp_shop_products_custom_fields table
This commit introduces a new column `is_required` to the `pp_shop_products_custom_fields` table. The column is of type TINYINT, cannot be null, and has a default value of 1. This change is intended to enhance the product custom fields by allowing the specification of whether a field is mandatory.
2025-08-19 20:31:44 +02:00
97267a2a3d Rzutowanie wartości id_additional_field na int w metodzie dodawania niestandardowych pól produktu 2025-08-12 12:58:23 +02:00
e674ae6f42 Usunięto pliki .DS_Store, dodano kolumnę used_count do tabeli pp_shop_coupon, zaktualizowano wersję na 0.227 oraz dodano obsługę kuponów w szczegółach zamówienia. 2025-03-11 23:56:46 +01:00
90bec6e9a7 Zaktualizowano logikę aktualizacji artykułów, aby ustawić datę modyfikacji na bieżącą datę i czas. 2025-02-20 21:01:52 +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
451a8a491f Zaktualizowano wersję na 0.225, dodano przycisk do czyszczenia cache oraz funkcję ponownego wysyłania zamówienia do apilo.com 2024-12-20 21:30:42 +01:00
f419f693e4 update 2024-11-16 10:57:09 +01:00
1a68e5b58a Refactor value handling in multiple classes to streamline data processing 2024-11-01 00:11:11 +01:00
9e3b109c39 Add array check for product combinations in ShopProduct class 2024-10-31 11:52:54 +01:00
b18806c475 Refactor value handling in multiple classes to improve data processing and maintainability 2024-10-30 09:38:23 +01:00
ff248acfc4 Update htaccess to include rewrite rules for non-existing files and directories 2024-10-29 11:25:55 +01:00
c514d8e097 Update versions.php and htaccess.conf 2024-10-26 18:19:18 +02:00
b6107b8c75 first commit 2024-10-23 13:44:50 +02:00