PrestaShop Core Weekly - Week 22 of 2021
An inside look at the PrestaShop codebase
This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 31th of May to Sunday 6th of June 2021.
A quick update about PrestaShop’s GitHub issues and pull requests:
- 63 new issues have been created in the project repositories;
- 40 issues have been closed, including 20 fixed issues on the core;
- 99 pull requests have been opened in the project repositories;
- 87 pull requests have been closed, including 66 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #24782: Check that
$session
is set before using it. Thank you @tswfi - #24760: Drop leftover code,
/tools/http_build_url/
was removed. Thank you @mvorisek - #24757: Make
getValue
more strict to avoid false negative. Thank you @RomainMazB - #24701: Deprecate
Tools::safePostVars
method. Thank you @mvorisek
Back office
- #24805: Fix customer delete regression and tests, by @NeOMakinG
- #24785: Fix mispelled word in AdminController. Thank you @prestaforum
- #24688: Correctly display precise product weight. Thank you @kpodemski
- #23221: Add typescript on BO migrated pages and refactor grid system, by @NeOMakinG
Tests
Code changes in the ‘1.7.8.x’ branch
Back office
- #24745: Form builder modifier, by @jolelievre
- #24736: Fix create-test-db. Thank you @zuk3975
- #24718: The addProductNewInvoiceInfo is not displayed when creating new invoice, by @PierreRambaud
- #24696: Fix delete modal translation, by @jolelievre
- #24594: Fix order create page on product qty update, by @NeOMakinG
- #24330: Disable Menus tab and deny access, by @sowbiba
Front office
- #24680: Fix unclosed div in product-list.tpl. Thank you @kpodemski
Tests
- #24789: Add jsdoc for classes: imageType, invoice, language, orderMessage, orderReturnStatus, orderStatus, product, profile, by @boubkerbribri
- #24787: Add regression test ‘Access to Menu tab on Bo should be denied’, by @boubkerbribri
- #24775: Add class for columns on legacy tables to be able to target them on tests, by @boubkerbribri
- #24737: Add ids for link to download sample file on import page, by @boubkerbribri
- #24720: Add selectors for view customer service page and fix autocomplete test, by @boubkerbribri
- #24660: Update Js documentation for customers pages. Thank you @nesrineabdmouleh
Code changes in the ‘1.7.7.x’ branch
Core
Back office
- #24771: Build assets, by @Progi1984
- #24679: Fix free shipping cart rule should not be recomputed when PS_ORDER_RECALCULATE_SHIPPING is false, by @atomiix
Code changes in modules, themes & tools
Core Weekly Generator tool
- #87: Bump ws from 6.2.1 to 6.2.2. Built by @dependabot[bot]
Product Comments module
- #104: Bump version to 4.2.2, by @Progi1984
- #103: Add some classes to the table columns. Thank you @SD1982
Changes in developer documentation
- #1029: Add missing information about dropdown in multistore configuration forms, by @matthieu-rolland
- #1027: Add min-ver for getting multi-store config. Thank you @kpodemski
- #1020: Improve migration documentation page wording. Thank you @GabrieleMartini
User documentation landing page
- #76: chore(deps-dev): bump sass from 1.34.0 to 1.34.1. Built by @dependabot[bot]
- #75: fix(deps): bump vue from 2.6.12 to 2.6.13. Built by @dependabot[bot]
- #74: fix(deps): bump core-js from 3.13.0 to 3.13.1. Built by @dependabot[bot]
- #73: chore(deps-dev): bump babel-jest from 27.0.1 to 27.0.2. Built by @dependabot[bot]
PrestaShop Specifications
- #224: Add mockups and specs for product availability, by @marionf
- #223: Create psthemecusto.md. Thank you @MatShir
- #222: Add quantity check when adding a pack. Thank you @MatShir
- #221: Create Forms.md. Thank you @MatShir
- #219: Handle the specific price in the Order view. Thank you @MatShir
OnBoarding module
- #115: Fix php-cs-fixer, by @atomiix
- #112: Bump version to 6.0.5, by @PierreRambaud
- #111: Bump eslint-plugin-import from 2.23.3 to 2.23.4. Built by @dependabot[bot]
- #110: Make sure PS_ADMIN_DIR exists before using the OnBoarding, by @PierreRambaud
- #59: Uninstall module used on PS 1.6 before using this one, by @Quetzacoalt91
Docker images
Gamification module
- #85: Bump symfony/phpunit-bridge from 5.2.9 to 5.2.10. Built by @dependabot[bot]
Customer reassurance block module
- #208: Bump sass-loader from 11.1.1 to 12.0.0. Built by @dependabot[bot]
- #207: Bump vue from 2.6.12 to 2.6.13. Built by @dependabot[bot]
- #206: Bump eslint-plugin-import from 2.23.3 to 2.23.4. Built by @dependabot[bot]
Faceted search module
- #441: Bump sass-loader from 11.1.1 to 12.0.0. Built by @dependabot[bot]
- #440: Bump @babel/preset-env from 7.14.2 to 7.14.4. Built by @dependabot[bot]
- #439: Bump eslint-plugin-import from 2.23.3 to 2.23.4. Built by @dependabot[bot]
- #431: Bump @babel/core from 7.14.2 to 7.14.3. Built by @dependabot[bot]
Email Alerts module
- #88: Update switch fields wording. Thank you @micka-fdz
Wishlist block module
- #119: Bump ws from 7.3.1 to 7.4.6. Built by @dependabot[bot]
Image slider module
- #61: Migrated Travis CI to Github Actions, by @Progi1984
Google Sitemap module
- #146: Migrated Travis CI to Github Actions, by @Progi1984
Example modules
- #65: Bump dns-packet from 1.3.1 to 1.3.4 in /example_module_mailtheme. Built by @dependabot[bot]
- #63: Add JavaScript example of ‘how to manage custom grid action’ in demoextendgrid module . Thank you @zuk3975
MJML Theme Converter
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @dependabot[bot], @NeOMakinG, @Progi1984, @matthieu-rolland, @boubkerbribri, @prestaforum, @tswfi, @kpodemski, @mvorisek, @RomainMazB, @marionf, @jolelievre, @atomiix, @sowbiba, @zuk3975, @micka-fdz, @PierreRambaud, @SD1982, @GabrieleMartini, @nesrineabdmouleh, @PululuK, @MatShir, @okom3pom, @Quetzacoalt91!
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!