35 Commits

Author SHA1 Message Date
29fc4d6edb update 2026-03-25 21:29:11 +01:00
9c2932dad1 update 2026-03-19 19:35:09 +01:00
3a716ab25e update 2026-03-16 10:05:18 +01:00
0182d60971 update 2026-03-12 19:58:37 +01:00
51ea37d2ec feat: Implement order submit token handling in ShopBasketController and update views 2026-03-10 23:19:32 +01:00
9d70ea0547 update 2026-03-10 21:37:24 +01:00
e2011b5694 update 2026-03-01 00:45:48 +01:00
31fd0442b2 feat: Add CronJob functionality and integrate with existing services
- Implemented CronJobProcessor for managing scheduled jobs and processing job queues.
- Created CronJobRepository for database interactions related to cron jobs.
- Defined CronJobType for job types, statuses, and backoff calculations.
- Added ApiloLogger for logging actions related to API interactions.
- Enhanced UpdateController to check for updates and display update logs.
- Updated FormAction to include a preview action for forms.
- Modified ApiRouter to handle new dependencies for OrderAdminService and ProductsApiController.
- Extended DictionariesApiController to manage attributes and producers.
- Enhanced ProductsApiController with variant management and image upload functionality.
- Updated ShopBasketController and ShopProductController to sort attributes and handle custom fields.
- Added configuration for cron jobs in config.php.
- Initialized apilo-sync-queue.json for managing sync tasks.
2026-02-27 14:54:05 +01:00
3ecbe628dc Add view classes for articles, banners, languages, menu, newsletter, containers, shop categories, clients, payment methods, products, and search
- Created Articles.php for rendering article views including full articles, miniature lists, and news sections.
- Added Banners.php for handling banner displays.
- Introduced Languages.php for rendering language options.
- Implemented Menu.php for dynamic menu rendering.
- Developed Newsletter.php for newsletter view rendering.
- Created Scontainers.php for rendering specific containers.
- Added ShopCategory.php for category descriptions and product listings.
- Introduced ShopClient.php for managing client-related views such as address editing and order history.
- Implemented ShopPaymentMethod.php for displaying payment methods in the basket.
- Created ShopProduct.php for generating product URLs.
- Added ShopSearch.php for rendering a simple search form.
- Added .htaccess file to enhance security by restricting access to sensitive files and directories.
2026-02-21 23:00:15 +01:00
33c997ce0d feat: Enhance product saving functionality with security information and language support
- Added `security_information` parameter to `ShopProduct::save` method.
- Refactored language handling in product saving to utilize `Languages::languages_list`.
- Updated SEO link handling to ensure proper redirection and canonical URLs.
- Improved error handling and logging during the update process in `Update` class.
- Enhanced producer and product classes to include additional language data.
- Updated version to 0.233 and added update logs for better tracking.
2026-01-27 23:46:36 +01:00
67ed9fc369 Zakomentowanie zapisu do pliku logu w metodzie set_as_paid w klasie Order 2025-12-28 12:40:55 +01:00
89886255ea Remove unused cache file, update order logging to comment out file creation, remove logging summary call in index, add .DS_Store file, create .htaccess for security settings 2025-12-28 11:06:19 +01:00
6af91475ae Dodanie obsługi dwustopniowego uwierzytelniania (2FA) dla użytkowników; wprowadzenie mechanizmu zapamiętywania sesji oraz aktualizacja szablonów i plików konfiguracyjnych. 2025-12-16 23:17:00 +01:00
9f41550a95 Dodanie obsługi tokenów przesyłania i kluczy RFM w edytorach artykułów, banerów i produktów; aktualizacja adresu URL do changeloga w widoku aktualizacji; usunięcie plików .DS_Store z katalogów szablonów. 2025-10-01 09:03:07 +02:00
a25de121ec update 2025-08-19 20:32:58 +02:00
b1c5000a43 Rzutowanie id dodatkowego pola na int w metodzie dodawania niestandardowych pól produktu 2025-08-12 12:58:43 +02:00
580a615c54 Usunięcie plików .DS_Store z katalogów autoload, templates i templates_user 2025-07-14 14:59:00 +02:00
2bfa25bb3c update 2025-06-04 22:07:56 +02:00
813567af69 Usunięcie plików .DS_Store z katalogów autoload, templates i templates_user 2025-04-16 08:28:00 +02:00
adeacbc11b Dodanie obsługi rodzica w metodach get_product_sku i get_product_ean w klasie ShopProduct 2025-03-30 18:42:49 +02:00
a398f9243b Zmiana nazwy pola email w zamówieniach na order_email oraz usunięcie pliku .DS_Store 2025-03-14 21:10:54 +01:00
459ffbecd2 Usunięcie plików .DS_Store oraz poprawa obsługi kuponów w klasach ShopOrder i Coupon 2025-03-12 08:05:26 +01:00
af3d46b3d6 Dodanie obsługi kuponów rabatowych w zamówieniach oraz aktualizacja adresów URL do zasobów aktualizacji 2025-03-11 23:56:14 +01:00
cc74be0d70 Usunięcie plików .DS_Store oraz dodanie raportowania błędów w cron.php 2025-03-05 13:26:34 +01:00
9c84b58234 Aktualizacja konfiguracji FTP oraz poprawa formatowania kodu w plikach konfiguracyjnych 2025-02-20 21:02:20 +01:00
d8fe9e78fb Dodanie obsługi danych firmy w formularzach oraz poprawa warunków sprawdzających wagę produktu 2025-01-04 12:11:29 +01:00
2880d3e6fc Dodanie funkcji do ponownego wysyłania zamówienia do apilo.com oraz czyszczenia pamięci podręcznej w panelu administracyjnym 2024-12-20 21:29:56 +01:00
38fd71b46d Dodanie plików konfiguracyjnych oraz obrazów do menedżera plików, w tym aktualizacja ścieżki w szablonie iframe 2024-12-06 15:14:54 +01:00
49f8a3f8a0 Dodanie obsługi punktów Orlen w zamówieniach oraz poprawa logiki i formatowania w różnych plikach 2024-11-16 10:54:33 +01:00
7faadb69e2 Usunięcie nieużywanych plików konfiguracyjnych i CSS z menedżera plików oraz uproszczenie przetwarzania wartości w klasach ShopProduct, Settings, Users, ShopPromotion, ShopCoupon, ShopProductSets i Dictionaries. 2024-11-01 00:12:03 +01:00
b9998bdcb3 Refactor product combination check to ensure it's an array before counting 2024-10-31 11:53:28 +01:00
7ce03e15a7 Refactor value handling in multiple classes to improve data processing 2024-10-30 09:38:55 +01:00
fbb0231089 Refactor payment confirmation template and fix status check 2024-10-29 11:25:46 +01:00
a475c87287 Refactor deleting product and updating SEO links
This commit refactors the code in the ShopProduct class to improve the process of deleting a product and updating the SEO links. It adds new database queries to delete entries from the pp_routes and pp_redirects tables when a product is deleted. It also updates the SEO links for translated product names, ensuring that the new SEO link is generated correctly and checking for any existing redirects before adding a new one. Additionally, the commit adds a new function, canAddRedirect, to check for cycles in the redirect map before adding a new redirect.

Refactor deleting product and updating SEO links in class.S

This commit refactors the clear_redis_cache function in the S class to improve the process of updating the routes and redirects in the .htaccess file. It adds new database queries to delete entries from the pp_routes table and updates the code to generate the RewriteRule directives for the routes. It also adds a new condition to the .htaccess file to skip rewriting requests for existing files and directories.

Refactor retrieving subcategories in class.Category

This commit refactors the getCategoryData function in the Category class to improve the process of retrieving subcategories. It removes the ORDER clause from the database query to retrieve subcategories, allowing the categories to be returned in their natural order. This change ensures that the subcategories are displayed correctly in the category navigation.

Check redirects and routes in index.php

This commit adds new code to the index.php file to check for redirects and routes before processing the request. It checks if the requested URL matches any entries in the pp_redirects table and redirects the user to the new URL if a match is found. It also checks if the requested URL matches any entries in the pp_routes table and parses the destination to extract GET parameters if a match is found. This change improves the handling of redirects and routes in the application.
2024-10-27 21:49:36 +01:00
85c92aa932 first commit 2024-10-23 12:55:46 +02:00