This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 14th to Sunday 20th of December 2020.
General messages
Dear Developers,
New year is coming soon. We expect the activity on GitHub to slow down a bit as some people take time off for holidays. This is also true for for maintainers, product and QA teams.
PrestaShop 1.7.7.1 is on track and quality continues to increase on PrestaShop core as PHPStan is now analyzing PrestaShop code under level 4 thanks to @Progi1984.
By the way, did you notice the new design and features of the Contributors page?
Releases
- ps_facetedsearch module: v3.7.0
A quick update about PrestaShop’s GitHub issues and pull requests:
- 75 new issues have been created in the project repositories;
- 111 issues have been closed, including 29 fixed issues on the core;
- 77 pull requests have been opened in the project repositories;
- 90 pull requests have been closed, including 80 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #22465: Add the Bug Bounty Program in the README, by @PierreRambaud
- #22335: Updated PHPStan Github Action settings, by @Progi1984
- #22022: Save the newest Guest with updated datas. Thank you @prestamodule
Back office
- #22453: Fix border radius on kpis pan, by @NeOMakinG
- #22427: Add scroll on kpis on mobile and adjust some sizes, by @NeOMakinG
- #22421: Adapt tinymce toolbar depending of the width it has free, by @NeOMakinG
- #22411: Fix tooltip position on grid items, by @NeOMakinG
- #22380: Add behat test scenarios for wholesale_price change when assigning supplier. Thank you @zuk3975
- #22376: Fixed case where saving virtual product attachment is modifying product price if a specific price is set on the product. Thank you @gennaris
- #22373: Change some alerts on improve translations to helpbox, by @NeOMakinG
- #22371: Remove padding left on label on mobile responsive view, by @NeOMakinG
- #22369: Update ubuntu font to avoid polish bug, by @NeOMakinG
- #22362: Fix every pages padding on responsive mobile view, by @NeOMakinG
- #22359: Hide gamification icon on header on mobile responsive view, by @NeOMakinG
- #22356: Remove breadcrumb on responsive mobile, by @NeOMakinG
- #22317: Bad display in categories page when sorting data, by @PierreRambaud
- #22244: Split ProductOptions to ProductDetails. Thank you @zuk3975
- #22034: Move the default page after the permission profile. Thank you @Arman-Hosseini
- #21852: Fix buttons in toolbar going over title on small screens, by @NeOMakinG
- #21804: Introduce AddVirtualProductFileCommand. Thank you @zuk3975
- #21563: Allow ‘+’ in Base URI and show error when Base URI is invalid, by @atomiix
- #21219: Simplify shop parameters/general. Thank you @JevgenijVisockij
- #21115: Make FormattedTextAreaType works with TranslatableType. Thank you @JevgenijVisockij
- #19995: Simplify Attachment form. Thank you @JevgenijVisockij
- #19946: Fixed avatar employee in Logs Page, by @Progi1984
Front office
- #22447: Add hook to display information in category header. Thank you @Hlavtox
- #22419: Consistent use of https:// in schema.org itemtypes. Thank you @tswfi
- #21729: Move product canonical url from tpl to controller. Thank you @micka-fdz
- #21196: Remove htaccess rule who don’t work. Thank you @okom3pom
Web services
- #22413: Make sure the display parameter is properly configured in Webservices, by @PierreRambaud
Tests
- #22363: Wait to fill inputs before hiding modal in create currency form, by @boubkerbribri
- #21515: PHPStan (Level 4), by @Progi1984
Code changes in the ‘1.7.7.x’ branch
Core
Back office
- #22407: Method assertCmsCategoryExists doesn’t return anything, it throws an exception, by @PierreRambaud
- #22406: Fixed pagination in Product Quick Navigation Popup, by @Progi1984
- #22299: Use OrderDetail prices when modifying an Order, by @jolelievre
- #22175: Added error when a customization is not found, by @Progi1984
- #22171: When refreshing an order, display shipping price if needed, by @Progi1984
- #22082: Hide product quantity in Order view page when stock management is disabled, by @jolelievre
- #22020: Take shop id into account when getting a language list for an order, by @matthieu-rolland
- #21912: Use language_code when locale is empty to get CLDR data, by @atomiix
- #21795: Fix wrong product quantity after adding a product triggering a free gift , by @matthieu-rolland
Tests
- #22455: Add requirement block to README in UI tests, by @boubkerbribri
- #22454: Add test ‘Quick edit alias status’. Thank you @nesrineabdmouleh
- #22446: Add test ‘Quick edit order status’. Thank you @nesrineabdmouleh
- #22434: Refactoring FO login page in UI tests and add new page for create account page, by @boubkerbribri
- #22428: Add new command to run all UI tests and check step identifiers in all campaigns, by @boubkerbribri
- #22423: Add new test ‘Change carrier position’, by @boubkerbribri
- #22408: Rename functions in UI tests, by @boubkerbribri
Code changes in modules, themes & tools
Changes in developer documentation
- #839: Fix path for class Mail. Thank you @okom3pom
- #836: Align some markdown table columns, by @matks
- #834: Update social sharing image, by @eternoendless
- #832: Fix chapter 8 number, by @matks
- #831: Added required extensions, by @Progi1984
- #824: Improve the example about the deprecated message , by @PierreRambaud
Traces
- #13: Remove bots, by @Progi1984
Customer reassurance block module
- #98: Bump friendsofphp/php-cs-fixer from 2.16.4 to 2.17.2. Thank you @dependabot
- #97: Bump webpack from 5.10.3 to 5.11.0. Thank you @dependabot
- #96: Bump webpack from 5.10.1 to 5.10.3. Thank you @dependabot
- #95: Bump webpack from 5.10.0 to 5.10.1. Thank you @dependabot
Faceted search module
- #291: Bump webpack from 5.10.1 to 5.10.3. Thank you @dependabot
- #290: Bump @babel/preset-env from 7.12.10 to 7.12.11. Thank you @dependabot
- #289: The third parameter is about attribute and not country id, by @PierreRambaud
- #288: Bump webpack from 5.10.0 to 5.10.1. Thank you @dependabot
- #280: Release 3.7.0, by @PierreRambaud
Architecture Decision Records repository
Stylelint browser compatibility plugin
- #4: Bump dot-prop from 4.2.0 to 4.2.1. Thank you @dependabot
- #3: Bump ini from 1.3.5 to 1.3.8. Thank you @dependabot
Search Bar module
Core Weekly Generator tool
PrestaShop contributors website
- #48: Bump ini from 1.3.5 to 1.3.8. Thank you @dependabot
stylelint configuration
- #4: Bump ini from 1.3.5 to 1.3.8. Thank you @dependabot
Mail theme example
- #12: Bump ini from 1.3.5 to 1.3.7. Thank you @dependabot
Links list module
- #105: Convert module tables to utf8mb4. Thank you @kpodemski
Example modules
- #29: Added formatted textaAreaType to module. Thank you @JevgenijVisockij
PrestonBot
PrestaShop Specifications
- #133: Add specifications about the FO payment of a newly created order, by @LouiseBonnard
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @okom3pom, @matks, @Progi1984, @dependabot, @eternoendless, @PierreRambaud, @boubkerbribri, @nesrineabdmouleh, @NeOMakinG, @Hlavtox, @tswfi, @jolelievre, @atomiix, @zuk3975, @gennaris, @kpodemski, @Arman-Hosseini, @prestamodule, @matthieu-rolland, @JevgenijVisockij, @micka-fdz, @LouiseBonnard, @mrAKAR!
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!
This post is also available in: English