This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 15th to Sunday 21th of June 2020.
General messages
Dear developers,
PrestaShop eCommerce Week is one week away! Will you join us? This is a 5-day live session program! Sixty live sessions by experts will cover multiple topics, be it PrestaShop employees or from the PrestaShop community.
You can discover more if you follow this link.
In the meantime, feedbacks continue to arrive on GitHub about the 1.7.7 beta and more and more bug fixes are merged, which means Release Candidate 1 gets closer and closer to the release date…
A quick update about PrestaShop’s GitHub issues and pull requests:
- 88 new issues have been created in the project repositories;
- 78 issues have been closed, including 29 fixed issues on the core;
- 109 pull requests have been opened in the project repositories;
- 125 pull requests have been closed, including 93 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #19795: Update License Header fix Command, by @matks
- #19710: Use target=”_blank” instead of class=”_blank”. Thank you @PululuK
Back office
- #19852: Manage UpdateProductTagsCommand in separate command / handler. Thank you @zuk3975
- #19732: UpdateProductOptions Command. Thank you @zuk3975
- #19570: Better performance for manufacturer’s admin query. Thank you @Skullbock
- #19542: UpdateProductPricesCommand. Thank you @zuk3975
- #18691: Introduce smart price search for Catalog Price rule query builder, by @matks
Front office
- #19601: Only use unit_price_ratio when defined in Product. Thank you @ksaandev
- #19428: Add event on toggleOrderButton in order to provide state of checkbox to payment modules, by @NeOMakinG
Installer
Web services
- #19565: Fix webservice id_shop_group parameter. Thank you @loicsapone
Tests
- #19864: Functional tests - Fix email logs selector, by @boubkerbribri
- #19859: Functional tests - Improve grid link add, view and delete, by @boubkerbribri
- #19851: Functional tests - Fix selectors for add order message page, by @boubkerbribri
- #19840: Functional tests - Add id to forms buttons in design page and category, by @boubkerbribri
- #19836: Functional tests - Improve selectors for email theme page, by @boubkerbribri
- #19835: Functional tests - Add ids to forms in payment preferences page, by @boubkerbribri
- #19823: Functional tests - Improve grid header selectors (search and reset), by @boubkerbribri
- #19805: Functional tests - Add forms ids and fix them for tests, by @boubkerbribri
Merge
- #19804: Merge 177 to develop - 16/06/2020, by @jolelievre
- #19755: Merge 177 to develop - 15/06/2020, by @jolelievre
Code changes in the ‘1.7.7.x’ branch
Core
- #19858: Update jquery.live.polyfill npm dependency, by @PierreRambaud
- #19782: Allow modules to disable routing prefix with specific parameter, by @matks
- #19752: Update licenses headers, by @PierreRambaud
- #19748: Update decimal library, by @jolelievre
- #19657: Deprecate hookcount and add missing hook in hook.xml, by @atomiix
- #19581: Fix bugs occuring when an order state is deleted but still assigned to orders, by @matthieu-rolland
- #19461: Remove MBO-related api calls from core, by @atomiix
Back office
- #19854: Add trace information to Command/Query debugger, by @eternoendless
- #19820: Hooks displayAdminOrderTabLink or displayAdminOrderTabContent displayed not escaped to allow raw HTML. Thank you @clotaire202
- #19796: Missing fancybox plugin in new theme pages, by @PierreRambaud
- #19730: Enable fancybox for edit an address in View an Order page, by @matks
- #19716: Remove i18n access restrictions, by @PierreRambaud
- #19712: Move smarty variables assignments in initHeader instead of init function, by @PierreRambaud
- #19698: Fix order view total discounts. Thank you @zuk3975
- #19697: Add order sources in Order View page, by @matks
- #19506: Handle AbstractGridDefinitionFactory compatibility, by @matks
Installer
- #19788: Allow user to choose to drop existing tables or not even when not in dev mode, by @Progi1984
- #19694: Allow user to choose to install demo products or not even when not in dev mode, by @eternoendless
Tests
- #19802: Delete test identifiers redundant and license notice in all tests. Thank you @nesrineabdmouleh
- #19775: Functional tests - Improve delete categories by bulk action ad set required fields function, by @boubkerbribri
- #19749: Functional tests - Fix wait for navigation and disable category tests, by @boubkerbribri
- #19727: Functional tests - Update linkchecker for playwright, by @boubkerbribri
Code changes in the ‘1.7.6.x’ branch
Back office
- #19718: Remove i18n access restrictions, by @PierreRambaud
Code changes in modules, themes & tools
Changes in developer documentation
- #589: Explain _disable_module_prefix option, by @matks
- #588: Add in Themes > Reference > Templates, by @matks
- #585: Update license headers, by @jolelievre
- #583: Rename “Core Development” to “Core Development Reference”, by @eternoendless
- #582: Move webservice into a section of its own, by @eternoendless
- #581: Add children in Modules > Sell section. Thank you @ksaandev
- #580: Move Console Chapter to Core Development > Components, by @Progi1984
- #579: Fix table of contents missing elements, by @eternoendless
- #578: Fix warnings issued during build, by @eternoendless
- #577: Update Hugo to latest (0.72), by @eternoendless
- #576: Add title and children list in theme / reference section. Thank you @ksaandev
- #575: Add children list in themes / distribution section. Thank you @ksaandev
- #574: Add children list to themes section. Thank you @ksaandev
- #572: Update WS doc for group shop parameter, by @jolelievre
- #571: Fix typos, style and strange words. Thank you @ksaandev
- #570: Fix bad link in Theme - distribution - exporting page. Thank you @ksaandev
- #569: Explain module requirements for files, by @matks
- #546: Explain controller decoration, by @matks
- #405: WS documentation: filter & display params. Thank you @nsorosac
Link list
- #97: Add prepend-autoloader false, by @jolelievre
- #96: Revert “Add prepend-autoloader false”, by @jolelievre
- #95: Add prepend-autoloader false, by @jolelievre
- #94: Fix license headers and use php-dev-tools, by @matks
Wire payment module
- #56: Fixed dependencies order in autoload, by @Progi1984
- #54: Fix license headers and use php-dev-tools, by @matks
Google Sitemap module
- #138: Merge master, by @Progi1984
- #135: Update version to 4.2.0 & Some Project Improvements, by @Progi1984
Jquery live-polyfill
- #2: Missing var when it’s not used with babel, by @PierreRambaud
- #1: Fix compatibility with jquery 3, by @PierreRambaud
Traces
Nightly board
- #36: Adjust some things because of Simon feedbacks, by @NeOMakinG
- #35: Fix responsive on homepage, by @NeOMakinG
Email subscription module
- #61: Release 2.6.0, by @Progi1984
- #60: Merge branch master into dev, by @Progi1984
Core Weekly Generator tool
Faceted search module
- #175: Fix license headers, by @PierreRambaud
- #174: Remove prettyCI config file. Thank you @ksaandev
OnBoarding module
Shopping cart module
Mail theme module example
- #7: Bump websocket-extensions from 0.1.3 to 0.1.4. Thank you @dependabot[bot]
Buy button lite
- #34: Bump websocket-extensions from 0.1.3 to 0.1.4 in /app. Thank you @dependabot[bot]
- #25: remove useless statement. Thank you @MathiasReker
LocalizationFiles
- #3: Remove conversion rates from localization packs, by @Progi1984
Live translation
- #7: Release 1.0.4, by @Progi1984
PrestaShop Specifications
- #120: Create basic specification for the translation section, by @eternoendless
Main menu module
Best sellers module
- #11: Lossless compression. Thank you @MathiasReker
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @matks, @jolelievre, @Progi1984, @PierreRambaud, @boubkerbribri, @eternoendless, @zuk3975, @ksaandev, @clotaire202, @nesrineabdmouleh, @NeOMakinG, @ttoine, @PululuK, @atomiix, @dependabot[bot], @matthieu-rolland, @Skullbock, @loicsapone, @nsorosac, @rvalery, @crabtree, @MathiasReker!
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!