This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 7th to Sunday 13th of December 2020.
General messages
Dear developers,
We’re three weeks away from the end of the year, and a patch release has been scheduled for PrestaShop 1.7.7. PrestaShop 1.7.7.1 is expected to be delivered in the middle of January 2021.
It would be a lie to say this was not expected: as PrestaShop 1.7.7.0 was such a large release, it would have been an amazing stroke of luck to land it without bugs!
Work on 1.7.7.1 will be carried out during the month of December, and the testing of the release will happen in early January 2021 so it can be released, hopefully, in the second week of January.
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 94 new issues have been created in the project repositories;
- 84 issues have been closed, including 25 fixed issues on the core;
- 108 pull requests have been opened in the project repositories;
- 114 pull requests have been closed, including 100 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #22310: Remove useless directory, by @PierreRambaud
- #22308: Mark URLFragmentSerializer as deprecated, by @PierreRambaud
- #22297: Fix phpdoc Controller, by @matks
- #22292: Improve Shop getBaseURL(). Thank you @davidglezz
- #22285: Fix setValue() method of FormField class on checkbox fields. Thank you @micka-fdz
- #22271: Fix composer.lock and update translationtoolsbundle, by @PierreRambaud
- #22252: Fix php doc for getEncodedFacets in ProductSearchQuery.php, by @PierreRambaud
- #22229: BO - Logs - Filter in the logs NOK. Thank you @PululuK
- #22211: Rename followup module in mails themes. Thank you @micka-fdz
- #21680: Update CLDR to version 38 (2020-10-28), by @Progi1984
- #21163: Allow to access current template smarty instance. Thank you @djbuch
Back office
- #22331: Configuration should be a twig function and not a twig filter, by @PierreRambaud
- #22238: Rename UpdateCombinationOptionsCommand to Details and add $weight handling. Thank you @zuk3975
- #22107: The LIMIT 1 has no aim, retrieve all connected guest instead, by @PierreRambaud
- #21935: Use UIKit material radio elements everywhere in forms, by @NeOMakinG
- #21245: Simplified the import form. Thank you @JevgenijVisockij
- #21050: Grid bulk delete confirmation modal - Monitoring, by @sowbiba
- #20330: Fixed combination with an hyphen in Stock Manager, by @Progi1984
- #20103: Simplify Order messages form. Thank you @JevgenijVisockij
Front office
- #22145: Fix customized product being added to cart, instead of standard one. Thank you @Hlavtox
- #22074: Add accordion to contact information in footer on classic theme, by @NeOMakinG
- #22032: Removed override of ps_searchbar, by @Progi1984
- #21782: Get proper cover for product in cart and cart modal. Thank you @kpodemski
- #21642: Add inputpattern on quantity fields of product and cart, by @NeOMakinG
- #20775: Improve classic theme colors, font size and spaces and readability, by @NeOMakinG
Tests
- #22329: Fix radio and checkbox selectors for invoices and monitoring tests, by @boubkerbribri
Code changes in the ‘1.7.7.x’ branch
Core
- #22289: Removed module Linklist update from upgrade script, by @Progi1984
Back office
- #22291: Fixed Pagination of Sell > Orders > Credits Slips page, by @Progi1984
- #22246: Integrate ContextStateManager into refund handlers, by @jolelievre
- #22214: Fix numeric_iso_code in the upgrade to 1.7.7.1, by @atomiix
- #22126: Fix bug on displayed price’s calculation in BO order page under specific conditions, by @matthieu-rolland
- #21977: Add debounce to quantity change of order create product, by @NeOMakinG
Front office
- #22296: Center products on category list on mobile, by @NeOMakinG
- #22241: Fix duplicated hook data after product page refresh. Thank you @Hlavtox
Tests
- #22345: Add tests on products page, by @boubkerbribri
Code changes in modules, themes & tools
PrestaShop contributors website
- #47: Merge develop into master, by @NeOMakinG
- #46: Update dockerfile, fix link bug on trim and optimizes some things, by @NeOMakinG
- #44: Merge develop into master, by @NeOMakinG
- #43: Change prod path, by @NeOMakinG
- #42: Merge develop into master, by @NeOMakinG
- #41: Add url changes when modal is opened and closed, by @NeOMakinG
- #40: Merge develop into master, by @NeOMakinG
- #39: Adjust center column width temporary, by @NeOMakinG
- #38: Merge develop into master, by @NeOMakinG
- #37: Restore responsive mode, by @NeOMakinG
- #36: Merge develop into master, by @NeOMakinG
- #35: Change param to anchor and set fallback for unset navigator clipboard, by @NeOMakinG
- #34: Merge develop into master, by @NeOMakinG
- #33: Fix share button, eslint, GA and readme, by @NeOMakinG
PrestaShop test scenarios
- #1: Added Github Action, by @Progi1984
Faceted search module
- #287: Bump ini from 1.3.5 to 1.3.7. Thank you @dependabot[bot]
- #286: Bump prestashop/php-dev-tools from 3.11 to 3.12. Thank you @dependabot[bot]
- #285: Bump @babel/core from 7.12.9 to 7.12.10. Thank you @dependabot[bot]
- #284: Bump @babel/preset-env from 7.12.7 to 7.12.10. Thank you @dependabot[bot]
- #283: Bump @babel/register from 7.12.1 to 7.12.10. Thank you @dependabot[bot]
- #282: Bump @babel/node from 7.12.6 to 7.12.10. Thank you @dependabot[bot]
- #281: Bump @babel/cli from 7.12.8 to 7.12.10. Thank you @dependabot[bot]
- #279: Bump version to 3.7.0, by @PierreRambaud
- #278: Fix cs fixer, by @PierreRambaud
- #277: Bump webpack from 5.9.0 to 5.10.0. Thank you @dependabot[bot]
- #276: Update phpstan to handle PS versions properly, by @PierreRambaud
- #275: Correctly serialize and unserialize parameters in URLs., by @PierreRambaud
- #272: Only check the category name, ignore parent id, by @PierreRambaud
- #271: Make sure custom feature values are loaded, by @PierreRambaud
- #269: Replace ‘ ‘ with ‘\s’ in filter label regex. Thank you @neonVoice
- #239: Add flag to change the page is migrated, by @PierreRambaud
- #189: Fix order by price indexation without tax rate (default country fix). Thank you @denys202
Simple HTML table display module
- #18: Bump prestashop/php-dev-tools from 3.11 to 3.12. Thank you @dependabot[bot]
- #17: Use the correct version of php-cs-fixer, by @PierreRambaud
- #16: Release 2.0.1, by @Progi1984
- #15: Improve project & Bump version to 2.0.1, by @Progi1984
Dashboard Trends module
- #40: Bump prestashop/php-dev-tools from 3.11 to 3.12. Thank you @dependabot[bot]
Customer reassurance block module
- #94: Bump mini-css-extract-plugin from 1.3.2 to 1.3.3. Thank you @dependabot[bot]
- #93: Bump @babel/core from 7.12.9 to 7.12.10. Thank you @dependabot[bot]
- #90: Update webpack to 5.10.0, by @NeOMakinG
- #89: Bump mini-css-extract-plugin from 1.3.1 to 1.3.2. Thank you @dependabot[bot]
- #88: Bump @simonwep/pickr from 1.7.4 to 1.8.0. Thank you @dependabot[bot]
Custom text module
- #51: Bump prestashop/php-dev-tools from 3.11 to 3.12. Thank you @dependabot[bot]
OnBoarding module
- #97: Bump prestashop/php-dev-tools from 3.11 to 3.12. Thank you @dependabot[bot]
Check payment module
- #44: Bump prestashop/php-dev-tools from 3.11 to 3.12. Thank you @dependabot[bot]
Product Comments module
- #91: Bump prestashop/php-dev-tools from 3.11 to 3.12. Thank you @dependabot[bot]
- #90: Use the correct version of php-cs-fixer, by @PierreRambaud
Theme customization module
- #39: Bump prestashop/php-dev-tools from 3.11 to 3.12. Thank you @dependabot[bot]
Order Notifications on the Favicon module
- #25: Bump prestashop/php-dev-tools from 3.11 to 3.12. Thank you @dependabot[bot]
Issues Bot
- #12: Bump ini from 1.3.5 to 1.3.7. Thank you @dependabot[bot]
PrestaShop-modules
- #441: Update the module list, by @PierreRambaud
Changes in developer documentation
- #827: Add iconv and json extensions into requirements, by @matks
- #825: Update afl license block, by @Quetzacoalt91
- #822: Remove old forge reference. Thank you @jf-viguier
Quality Assurance module
- #13: Introduce GitHub Actions to replace Travis, by @matks
- #8: Enable recording hook calls, by @matks
PHP Developer Tools
PrestaShop Specifications
- #183: Enable store for logged-in employees, by @LouiseBonnard
- #169: Specify Addons API stability channels, by @LouiseBonnard
- #155: Add the friendly URL option to the SEO & URLs page, by @LouiseBonnard
Prestashop UI Kit
- #123: Move dev dependencies into prod to make source importable, by @NeOMakinG
- #122: Fix radio buttons are less than 20px width on certains pages, by @NeOMakinG
- #118: Change helpbox positioning style to avoid line break, by @NeOMakinG
- #117: Fixes select2 hover and adjust border width, by @NeOMakinG
- #116: Show switch even is no inputs are checked, by @NeOMakinG
Where to start contributing?
What about adding enabling firstname and lastname variables into the Logs email template? This is a bug reported three weeks ago, and it is one of our good first issues.
Good first issues are a list of all beginner-friendly improvements and bugs to fix in the project. You can read more about this label on our article about it.
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @NeOMakinG, @Progi1984, @dependabot[bot], @PierreRambaud, @boubkerbribri, @matks, @Quetzacoalt91, @davidglezz, @micka-fdz, @AJenbo, @jf-viguier, @jolelievre, @Hlavtox, @zuk3975, @PululuK, @atomiix, @neonVoice, @matthieu-rolland, @LouiseBonnard, @kpodemski, @JevgenijVisockij, @djbuch, @sowbiba, @denys202!
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!