PrestaShop Core Weekly - Week 17 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 26th of April to Sunday 2nd of May 2021.
General messages
Dear developers,
PrestaShop 1.7.7.4 was released on the 3rd of May, 2021. This maintenance release fixes 13 bugs reported on previous 1.7.7 versions.
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 55 new issues have been created in the project repositories;
- 58 issues have been closed, including 15 fixed issues on the core;
- 85 pull requests have been opened in the project repositories;
- 71 pull requests have been closed, including 61 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #24125: Some fixes of English mispells, by @matks
- #24114: Fixed PHPDoc, by @Progi1984
- #24113: Improve
OrderSlip::create
code readability . Thank you @PululuK - #24027: Improve
Tools::passwdGen
method. Thank you @PululuK
Back office
- #24127: Add missing param phpdoc in LayoutExtension::getLegacyLayout, by @matks
- #24109: Replace “on sale” flag by “price drop”, by @marionf
- #24096: Handle images selection in combination form, by @jolelievre
- #24085: Load modules built in translation catalogues, by @sowbiba
- #21174: Fix color picker template. Thank you @bpato
Front office
- #24019: Improve complexity of assignCase var in CMS Controller. Thank you @Sinepel
- #23858: Fix breadcrumb and h1 on prices drop page, by @marionf
- #22908: Set different 404 strings for different behaviors on classic theme, by @NeOMakinG
Installer
- #24118: Remove unused table ps_order_slip_detail_tax from install, by @eternoendless
- #23758: Wording corrections, by @jolelievre
Tests
- #24146: Nightly : Added branch 1.7.8.x, by @Progi1984
- #24132: Update doc for login and payment preferences pages, by @boubkerbribri
- #24126: Add click and wait for download function, by @boubkerbribri
- #24121: Migrated some Legacy Tests to Unit Tests, by @Progi1984
- #24110: Fix brand address and supplier tests, by @boubkerbribri
- #24095: Migrated Unit Test from tests-legacy, by @Progi1984
- #23975: Fix ThemeExporterTest test path. Thank you @mvorisek
Code changes in the ‘1.7.8.x’ branch
Back office
- #24272: Fix
dashtrends
module position during install. Thank you @PululuK - #24247: Add missing window assignments in javascript default theme, by @PierreRambaud
- #24187: Add hardcoded translation entry for Experimental Features Navbar link, by @matks
- #24129: Fix bug on cover when you select only one image on dropzone of product page v2, by @NeOMakinG
Front office
- #24248: Use combination image instead of the cover image in cart, by @PierreRambaud
Tests
- #24252: Add more scripts on package.json, by @boubkerbribri
- #24246: Fix nightly tests for 1.7.8.x on 28-04-2021, by @boubkerbribri
- #24240: Update js documentation for Credit slips - Delivery slips - Invoices - Shopping carts pages. Thank you @nesrineabdmouleh
- #24236: Update js documentation for order pages (index - add - view). Thank you @nesrineabdmouleh
- #24215: Add pagination tests for monitoring page. Thank you @nesrineabdmouleh
- #24163: Refacto / update FO tests pages for the js-doc. Thank you @SD1982
- #24160: Add new test contact us from the order confirmation page. Thank you @SD1982
Code changes in the ‘1.7.7.x’ branch
Back office
- #24161: Allow all characters when using combination, not only \w, by @PierreRambaud
- #24094: Fix OrderState deletion when not in default language context, by @atomiix
- #24072: Fix category filter not checked, by @atomiix
- #24015: Fix gift not added when changing carrier in Create order page, by @atomiix
Tests
- #24176: Upgrade playwright to 1.8.1, by @boubkerbribri
- #24144: Use different instance name for 1.7.7.x branch, by @PierreRambaud
- #24115: Backport fix on growl messages, by @boubkerbribri
Code changes in modules, themes & tools
Webservices PHP Client
- #76: Updates License 2021 and http links to https. Thank you @RubenMartins
presthubot
- #28: Remove Support 1.7.6.x & Add Support 1.7.8.x, by @Progi1984
User documentation landing page
- #52: fix(deps): bump core-js from 3.10.2 to 3.11.0. Built by @dependabot[bot]
- #51: chore(deps-dev): bump sass from 1.32.10 to 1.32.11. Built by @dependabot[bot]
- #50: fix(deps): bump core-js from 3.10.1 to 3.10.2. Built by @dependabot[bot]
- #49: chore(deps-dev): bump sass from 1.32.8 to 1.32.10. Built by @dependabot[bot]
Changes in developer documentation
- #949: Fix link to Refunds specs, by @matks
- #945: Update Introduction test page for UI tests, by @matks
- #944: Fix html page reference, by @matks
- #938: Improve sentences and hrefs in Basics section, by @matks
- #936: Add warning to html type. Thank you @JevgenijVisockij
- #935: Explain db_data.sql, by @matks
- #908: Build PRs using GH actions, by @eternoendless
Customer reassurance block module
- #180: Bump webpack from 5.34.0 to 5.35.0. Built by @dependabot[bot]
- #179: Bump @babel/core from 7.13.15 to 7.13.16. Built by @dependabot[bot]
- #178: Bump css-loader from 5.2.2 to 5.2.4. Built by @dependabot[bot]
- #177: Bump webpack from 5.33.2 to 5.34.0. Built by @dependabot[bot]
- #176: Bump css-loader from 5.2.1 to 5.2.2. Built by @dependabot[bot]
- #175: Bump mini-css-extract-plugin from 1.4.1 to 1.5.0. Built by @dependabot[bot]
Faceted search module
- #408: Bump webpack from 5.34.0 to 5.35.0. Built by @dependabot[bot]
- #407: Update babel register, core and cli, by @NeOMakinG
- #403: Bump css-loader from 5.2.2 to 5.2.4. Built by @dependabot[bot]
- #402: Bump webpack from 5.33.2 to 5.34.0. Built by @dependabot[bot]
- #401: Bump css-loader from 5.2.1 to 5.2.2. Built by @dependabot[bot]
Nightly board
- #57: Merge develop into master, by @NeOMakinG
- #56: Add 1.7.8.x branch to filter, by @boubkerbribri
Circuit Breaker
- #43: Remove cache information because cache-subscriber is abandoned, by @PierreRambaud
- #42: Update dependencies, TypeHint & Fix headers , by @PierreRambaud
stylelint configuration
- #8: Bump stylelint-config-twbs-bootstrap from 1.0.0 to 2.1.0. Built by @dependabot[bot]
- #7: Bump stylelint-no-unsupported-browser-features from 4.0.0 to 4.1.4. Built by @dependabot[bot]
- #6: Bump stylelint from 13.2.1 to 13.12.0. Built by @dependabot[bot]
eslint configuration
- #7: Add dependabot to the CI, by @NeOMakinG
Prestashop UI Kit
- #154: Add dependabot to the CI, by @NeOMakinG
- #153: Update storybook to 6.2.8, remove console log and update stylelint-config, by @NeOMakinG
- #152: Add radio buttons to storybook, by @NeOMakinG
Wire payment module
- #63: Migrated Travis CI to Github Actions, by @Progi1984
PrestaShop Specifications
Architecture Decision Records repository
- #19: 0013 - Use TypeScript on the project, by @NeOMakinG
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @RubenMartins, @boubkerbribri, @Progi1984, @dependabot[bot], @PierreRambaud, @matks, @marionf, @NeOMakinG, @jolelievre, @eternoendless, @PululuK, @atomiix, @JevgenijVisockij, @sowbiba, @Sinepel, @mvorisek, @Amin-Hosseini, @bpato!
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!