Commit Graph

33 Commits

Author SHA1 Message Date
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
926b6fcbca Release 0.249: banner edit fixes and thumbnail popup 2026-02-08 17:29:52 +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
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
3a7be21432 Add new version 0.238 zip file containing updated ProductRepository and Product class files 2026-02-05 01:53:28 +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
d4fe312cb6 Refactor cookie handling for user authentication; implement secure payload structure and cleanup invalid cookies 2025-12-16 23:34:54 +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
d903f9fc55 Refactor code structure for improved readability and maintainability 2025-09-28 18:27:48 +02: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
b5c614d792 Poprawiono obsługę kuponów w szczegółach zamówienia, aby uniknąć błędów przy braku identyfikatora kuponu. 2025-03-12 08:05:34 +01: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
678db18f20 Dodano nową wersję menedżera plików, w tym nowe obrazy, pliki CSS oraz poprawki w kodzie PHP. 2024-12-06 15:16:27 +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