Commit Graph

17 Commits

Author SHA1 Message Date
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