User Tools

Site Tools


sunshop:change-log

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
sunshop:change-log [2025/10/05 15:21] – Fixed formmating twt-chrissunshop:change-log [2026/08/21 02:54] (current) – external edit 127.0.0.1
Line 2: Line 2:
 ====== SunShop Change Log ====== ====== SunShop Change Log ======
 **Important Note:** No matter which version you are upgrading from, you must run the upgrade script in addition to replacing files. You may review the upgrade steps for more information. **Important Note:** No matter which version you are upgrading from, you must run the upgrade script in addition to replacing files. You may review the upgrade steps for more information.
 +
 +===== v4.6.9 =====
 +
 +[+] FedEx REST API: Migrated the FedEx shipping module from the retired SOAP/Web Services API to the new FedEx Rate & Transit Times REST API with OAuth 2.0 authentication. All selected services are now quoted in a single request. Added Account vs. List rate selection, per-shipment residential detection, sandbox/production toggle, and percentage markup. The legacy fedex_wsdl SOAP module and the FedEx Freight WSDL module have been removed; the upgrade script clears their stored settings.
 +
 +[+] Authorize.net eCheck: New payment method for accepting electronic checks (ACH bank drafts) through Authorize.net, with its own bank-detail collection form on both standard and quick checkout. Successful payments are marked "Awaiting Payment" until the ACH clears, since eCheck funds settle over several business days and can be returned.
 +
 +[+] Injected Script / Skimmer Scanner: On admin login, SunShop now silently checks the database and theme files for injected script tags and skimmer indicators, and warns on the dashboard if anything suspicious is found. Content that can legitimately contain script (such as analytics/header settings and product descriptions) is handled appropriately, with lower-confidence items flagged for review rather than as errors. Findings can be dismissed individually (or in bulk) from the dashboard; a dismissed item stays hidden unless its content later changes, at which point it is reported again. Nothing is deleted automatically.
 +
 +[-] Critical Security - SQL Injection: Hardened input handling across a number of storefront and administrative request handlers to close SQL injection vectors, some of which were reachable without authentication. As systemic defense-in-depth, an additional protection was applied at the database driver level. All stores are strongly urged to upgrade immediately.
 +
 +[-] Security - Admin IP Verification: Hardened the new-IP admin login approval flow so each approval link is correctly bound to its intended account as designed.
 +
 +[-] Security - Admin Password Reset: Hardened the administrator password-reset flow so a valid reset link can no longer be derived from stored account data alone. Each reset now additionally requires a random, single-use token that is delivered only to the account email address.
 +
 +[-] Dashboard Stats Accuracy: Restored the unknown-OS visitor exclusion in the dashboard "Today's Visits" count so it matches the Stats report, and fixed a stale-key bug in the streaming stats parser that could misattribute product and category page hits.
 +
 +For those of you looking to upgrade the easiest way from version 4.6.8 only. You will need to get the latest version of the following files:
 +
 +  * admin/adminglobal.php
 +  * admin/adminindex.php
 +  * admin/libsecure.php
 +  * admin/login.php
 +  * admin/themes/default/email_password_reset.html
 +  * admin/themes/default/reset_password.html
 +  * include/classes/class.ajax.php
 +  * include/classes/class.bulk.php
 +  * include/classes/class.dispatcher.php
 +  * include/classes/class.skimscan.php (New)
 +  * include/classes/class.stats.php
 +  * include/db_pdo_mysql.php
 +  * include/methods/authorizenet_echeck.php (New)
 +  * include/methods/bitcoin_bitpay.php
 +  * include/methods/cybersource_unified.php
 +  * include/shipping/fedex.php (New)
 +  * include/shipping/usps.php
 +  * include/shipping/usps_int.php
 +  * index.php
 +  * lang/lang_eng.php
 +  * libsecure.php
 +
 +*All Themes*
 +
 +  * themes/*/order_payment_authorizenet_echeck.html (New)
 +  * themes/*/order_quick_checkout_payment_authorizenet_echeck.html (New)
 +
 +The following legacy FedEx files are no longer used and may be deleted:
 +
 +  * include/shipping/fedex_wsdl.php
 +  * include/shipping/fedex/ (entire directory - WSDL and XML request files)
 +  * admin/themes/default/fedex_activate.html
 +  * admin/themes/default/fedex_activate_step1.html
 +  * admin/themes/default/fedex_activate_step2.html
 +  * admin/themes/default/fedex_activate_complete.html
 +
 +===== v4.6.8 =====
 +
 +[+] Stripe Payment Elements: Replaced deprecated Stripe Charge API module with modern Payment Elements integration using PaymentIntents API. Supports 3D Secure authentication, manual capture for authorize-then-capture workflows, and PCI-compliant embedded payment form powered by Stripe.js.
 +
 +[+] SlimCD Payment Processor: New payment module for SlimCD with support for Sale and Auth transactions, Capture, Void, and Refund operations with configurable timeout and debug mode.
 +
 +[+] USPS Domestic v3.0 Upgrade: Migrated from legacy XML RateV4 API to new REST JSON API with OAuth 2.0 authentication. Added package type options for flat rate boxes, envelopes, and cubic. Supports Priority Mail, Priority Mail Express, and Ground Advantage services.
 +
 +[+] USPS International v3.0 Upgrade: Migrated from legacy XML IntlRateV2 API to new REST JSON API with OAuth 2.0 authentication. Added international flat rate package options with support for Global Express, Priority Mail Express International, and First-Class.
 +
 +[+] Admin Dashboard Performance: Major performance optimizations reducing dashboard load times by 70-85%. Consolidated database queries from 25+ down to 5-8 per page load. Graph generation reduced from 19 queries to 2 queries (89% improvement).
 +
 +[+] Reports System Performance: Optimized sales reporting with batch database lookups, memory-efficient CSV reading for large files, and improved vendor/manufacturer/category reporting.
 +
 +[+] Database Indexes: Added optimized indexes for orders (date, status, date+status compound) and products (stock check) to improve query performance on high-volume stores.
 +
 +[+] Search Improvements: Added case-insensitive matching for exact search across title, short description, and full description fields. Search results are now relevance-ranked prioritizing exact title matches, then title-starts-with, then title-contains, then description matches. Fixed full description search bug where results were incorrectly stored under the short_desc key. Added whitespace normalization to prevent empty search clauses.
 +
 +[-] Image Upload False Positives: Fixed bad_file() function falsely detecting PHP code in compressed binary image data (JPEG, PNG), which caused existing product images to be replaced with photo-not-available.jpg when editing products without uploading new images.
 +
 +[-] SQL Filtering Blocking Common Words: Fixed overly aggressive SQL sanitization that was removing common words like 'and', 'or', 'select', 'union' from product titles and descriptions. The sf() function now applies basic escaping only, with explicit desql() calls where injection filtering is needed.
 +
 +[-] Menu Manager JSON Loading: Fixed JSON loading issue for themes using single quotes in menu manager configuration.
 +
 +[-] FraudScore Plugin: Fixed variable typo in xml_service() where connection success/failure used different variable names ($connnect vs $connect). Added URL encoding to POST data values to prevent data corruption with city names, addresses, and other fields containing spaces or special characters. Fixed uninitialized variable warning in fraud results output.
 +
 +[-] Dashboard Graph Dates: Fixed "Wed 12/31" repeating dates in last 7 days graphs and corrected date calculation in multi-day statistics.
 +
 +[!] File Upload Security: Improved upload validation to properly handle temporary file paths while maintaining security checks against malicious files and path traversal.
 +
 +[!] .htaccess Security: Enhanced all .htaccess rules with case-insensitive matching, locked down docs/ and admin/editors/ directories, and applied deny-by-default principle to sensitive directories.
 +
 +For those of you looking to upgrade the easiest way from version 4.6.7 only. You will need to get the latest version of the following files:
 +
 +  * admin/adminindex.php
 +  * admin/libsecure.php
 +  * include/classes/class.reports.php
 +  * include/classes/class.stats.php
 +  * include/payment/stripe.php
 +  * include/payment/slimcd.php (New)
 +  * include/payment/slimcd/slimcd.php (New)
 +  * include/plugins/plugin_fraudscore.php
 +  * include/plugins/plugin_order_file_upload.php
 +  * include/plugins/plugin_simple_blog.php
 +  * include/shipping/usps.php
 +  * include/shipping/usps_int.php
 +  * include/vendors/fileman/php/upload.php
 +  * install2/install.php
 +  * install2/sql_data.php
 +  * libsecure.php
 +  * quick_checkout.php
 +
 +The following .htaccess files will need updating:
 +
 +  * admin/editors/.htaccess
 +  * admin/images/.htaccess
 +  * admin/themes/.htaccess
 +  * catalog/.htaccess
 +  * docs/.htaccess
 +  * images/.htaccess
  
 ===== v4.6.7 ===== ===== v4.6.7 =====
sunshop/change-log.1759702898.txt.gz · Last modified: by twt-chris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki