Commit Graph

101 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
3bab9f9e8a feat: enhance image preview functionality with improved event handling and state management 2026-02-09 18:23:49 +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
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
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
471173f45b Remove deleted files 2026-02-05 09:58:27 +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
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
5b02b65665 Dodano obsługę plików PDF w regułach dostępu w pliku .htaccess 2026-01-17 21:30:48 +01:00
149627ef69 Update structure 2026-01-15 13:51:21 +01:00
Roman Pyrih
366329d326 Image uploader test 2026-01-14 15:24:55 +01:00
4918dfe71b Zaktualizowano plik ver_0.232.zip w folderze aktualizacji 2026-01-04 22:13:27 +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
5489d92211 Dodano reguły dostępu dla plików: thumb.php, ajax.php, upload-product-images.php, upload-product-files.php, upload-articles-files.php oraz upload-articles-images.php w pliku .htaccess 2026-01-01 21:02:46 +01:00
0afbb8acde Usunięto logowanie do pliku w metodzie set_as_paid w klasie Order 2025-12-28 12:40:36 +01:00
99686b462f Zamień logowanie do pliku na komentarz w metodzie logSummary 2025-12-28 11:27:54 +01:00
aab31a9877 Usunięto nieużywane logowanie płatności w klasie Order oraz usunięto pliki .DS_Store z katalogów autoload i templates 2025-12-28 11:06:04 +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
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
a4300b2947 Refactor file manager key handling in article, banner, and producer edit templates; remove unnecessary .DS_Store files 2025-10-01 09:03:03 +02:00
681a8e837f Zaktualizowano plik ver_0.230.zip w folderze aktualizacji 2025-09-28 18:36:11 +02:00
d903f9fc55 Refactor code structure for improved readability and maintainability 2025-09-28 18:27:48 +02:00
17d69ac9df Refactor URL pattern matching and improve image loading for product thumbnails 2025-09-10 23:08:38 +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
84333c1b59 Usunięto pliki .DS_Store oraz zaktualizowano klucz Google Geocode w pliku geocode-cache.php 2025-08-18 13:12:50 +02:00
fc4d692847 update 2025-08-12 23:40:25 +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
f9994cf644 Poprawiono obsługę wartości domyślnej oraz wpływu na cenę produktu, dodając warunki sprawdzające istnienie wartości przed ich użyciem. 2025-07-29 14:40:23 +02: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
3943502bf7 Dodano obsługę URL w celu odcięcia części z hash oraz dodano logowanie dla niepasujących wzorców URL. 2025-07-14 00:45:46 +02:00
958b792da3 update 2025-06-04 22:08:10 +02:00
d9760132b0 Merge branch 'main' of http://91.189.216.43:3000/jacek.pyziak/shopPRO 2025-05-25 23:45:04 +02:00
56394a9cad Poprawiono formatowanie kodu w pliku konfiguracyjnym, usuwając zbędne spacje w komentarzach. 2025-05-25 23:44:59 +02:00
3d02b8e73e Merge branch 'main' of http://91.189.216.43:3000/jacek.pyziak/shopPRO 2025-04-16 08:26:27 +02:00