PrestaShop Core Weekly - Week 22 of 2020
An inside look at the PrestaShop codebase
This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 25th to Sunday 31st of May 2020.
A quick update about PrestaShop’s GitHub issues and pull requests:
- 160 new issues have been created in the project repositories;
- 63 issues have been closed, including 21 fixed issues on the core;
- 77 pull requests have been opened in the project repositories;
- 106 pull requests have been closed, including 87 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #19450: Add phpdoc for throws - Link, by @Matt75
- #19449: Validate lengths of fields submitted from addresse form. Thank you @PululuK
- #19343: Fix minor code issue in BulkDeleteAttachmentsException. Thank you @PululuK
- #18992: Improve prestashop.core.query_bus service to use parent. Thank you @PululuK
- #17046: Make Mbstring extension required, by @eternoendless
Back office
- #19402: Rename and deprecate confusing method in classes/Configuration.php. Thank you @zuk3975
- #19361: Fixed the SMTP Configuration Toggler, by @Progi1984
- #19338: Fix options in CustomerAddressType. Thank you @zuk3975
- #19216: Fix to show the Modules tab in the product editor. Thank you @Rolige
- #19037: Fixed BackOffice Notification when Settings disable it, by @Progi1984
- #18399: Fix create order customers not being rendered, by @atomiix
Front office
- #19434: Fix : “update address” page title is changed when an error is triggered. Thank you @PululuK
- #19395: Return 404 in frontoffice if return merchandise is disabed. Thank you @clotaire202
- #19392: Remove useless variable and fix typo. Thank you @ksaandev
- #19391: Remove useless variable from FromController::init(). Thank you @ksaandev
- #19298: Add missing breadcrumb links in order pages: confirmation/return/follow, cart and addresses pages. Thank you @nprokopenko202
- #18739: Add a condition to avoid currency name repeat, by @NeOMakinG
Web services
- #19390: Small improvements for WebserviceRequest class, by @matks
- #19389: Extract SQL logic from WebserviceRequest to unit test it, by @matks
Tests
- #19411: Functional tests - Using only symbol to select currency in FO, by @boubkerbribri
- #19275: Functional tests - Update linkchecker, by @boubkerbribri
- #19270: Functional tests - Fix display footer hook id, by @boubkerbribri
- #19268: Functional test - Fix Sql queries tests, by @boubkerbribri
Code changes in the ‘1.7.7.x’ branch
Core
- #19409: Add missing index.php in upload directory, by @PierreRambaud
Back office
- #19452: Backport 19216 to 1.7.7.x, by @matks
- #18875: BO - Create Order page - Defined the order status relative to payment, by @Progi1984
Front office
- #19347: Use Country from global namespace. Thank you @prestamodule
- #17502: Fix cart voucher values in cart summary and checkout summary. Thank you @arouiadib
Installer
- #19274: Add a missing comma in 1.7.7.0 upgrade file, by @Quetzacoalt91
Tests
- #19339: Functional tests - Update tests contexts, by @boubkerbribri
- #19257: Functional tests - Delete bo base page shop params tests, by @boubkerbribri
- #19235: Functional tests - Test pagination and sort of pages and categories. Thank you @nesrineabdmouleh
- #19208: Functional tests - Test pagination of suppliers table. Thank you @nesrineabdmouleh
Code changes in modules, themes & tools
Image slider
- #50: Update version to 3.1.0 & Some Project Improvements , by @Progi1984
- #23: BO: Fixed position with new slide and remove check on non present input position. Thank you @beyondsagency
QA nightly results
- #41: update schema to be up to date, by @SimonGrn
- #40: Update database version, by @SimonGrn
- #39: Variability count now uses browser and campaign too, by @SimonGrn
Email Alerts module
- #53: Rebase master in dev for merging, by @Progi1984
- #52: Update version to 2.2.0 & Some Project Improvements, by @Progi1984
- #43: Improve account template. Thank you @micka-fdz
Google Ads
- #14: Update version to 2.0.2 & Some Project Improvements , by @Progi1984
- #12: Minor update of wording, by @Quetzacoalt91
- #10: Update translations, by @apacios
Core Weekly Generator tool
Live translation
- #8: Update license headers, by @Progi1984
- #6: Update version to 1.0.4 & Some Project Improvements, by @Progi1984
- #3: Update ps_livetranslation Readme.md. Thank you @AlexEven
PrestaShop contributors website
- #14: Fix arguments for Traces (Username & Password), by @Progi1984
PHP Developer Tools
- #24: Add an error formatter for GitHub actions annotations, by @Quetzacoalt91
LocalizationFiles
- #2: Add Swahili language, by @Progi1984
- #1: Port updates from develop branch (as of 2020-05-13), by @eternoendless
PrestaShop Virtual Machine
Translation Files repository
- #10: Add Kurdish, by @Progi1984
- #9: Add translations files for 1.7.8, by @Progi1984
Changes in developer documentation
- #544: Product form documentation, by @jolelievre
- #543: Fix minor mistakes in contribution guidelines, by @eternoendless
- #542: Add notice warning for webservice usage, by @matks
TranslationTools Bundle
The PrestaShop open source project
PrestaShop Specifications
- #121: Clean an reorganize the repo. Thank you @sam-pires
- #119: Create multistore specs for ps_linklist, by @marionf
- #101: Create Create new order.md. Thank you @MatShir
- #95: Submit improvements, by @LouiseBonnard
- #87: Create catalog-products-listing.md, by @marionf
Registered customer information
- #6: Release 2.0.3, by @Progi1984
- #5: Fix age data with birthday 0000-00-00 and empty currency label, by @Matt75
Gamification module
- #73: Rename function name to avoid conflicts, by @Quetzacoalt91
Traces
- #9: Changed arguments for username & password in options, by @Progi1984
example_module_mailtheme
- #6: Bump jquery from 3.4.1 to 3.5.0. Thank you @dependabot[bot]
- #5: Bump acorn from 6.1.1 to 6.4.1. Thank you @dependabot[bot]
- #4: Bump lodash from 4.17.11 to 4.17.15. Thank you @dependabot[bot]
Currency selector
- #17: Add condition to avoid duplicate currency name, by @NeOMakinG
Contact informations module
- #32: Fixed uninitialized string offset bug. Thank you @joaolago1113
Buy button lite
- #32: Bump lodash.defaultsdeep from 4.6.0 to 4.6.1 in /app. Thank you @dependabot[bot]
- #31: Bump lodash.mergewith from 4.6.1 to 4.6.2 in /app. Thank you @dependabot[bot]
- #30: Bump lodash from 4.17.10 to 4.17.15 in /app. Thank you @dependabot[bot]
- #29: Bump fstream from 1.0.11 to 1.0.12 in /app. Thank you @dependabot[bot]
- #28: Bump mixin-deep from 1.3.1 to 1.3.2 in /app. Thank you @dependabot[bot]
Product Comments module
Email subscription module
- #35: Fixed the email when user is registering (to the site and the newsletter simultaneously). Thank you @Codencode
European VAT number
Products in the same category
- #19: Lossless compression. Thank you @MathiasReker
Wire payment module
- #28: Use DIR constant instead of dirname(FILE). Thank you @MathiasReker
- #11: hookPaymentOptions return type must be array. Thank you @Maks3w
Featured products
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @matks, @Progi1984, @Matt75, @PululuK, @SimonGrn, @boubkerbribri, @PierreRambaud, @zuk3975, @clotaire202, @Quetzacoalt91, @ksaandev, @prestamodule, @jolelievre, @ttoine, @eternoendless, @sam-pires, @nprokopenko202, @nesrineabdmouleh, @Rolige, @marionf, @dependabot[bot], @NeOMakinG, @joaolago1113, @atomiix, @MatShir, @LouiseBonnard, @arouiadib, @micka-fdz, @Oksydan, @apacios, @Codencode, @vmsrg, @MathiasReker, @RRENOU, @beyondsagency, @AlexEven, @Maks3w!
Thank you to the contributors whose PRs haven’t been merged yet! And of course, a big thank you to all those who contribute with issues and comments on GitHub!
If you want to contribute to PrestaShop with code, please read these pages first:
…and if you do not know how to fix an issue but wish to report it, please read this: How to use GitHub to report an issue. Thank you!
Happy contributin’ everyone!