This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 2nd to Sunday 8th of November 2020.
General messages
Dear developers,
Have you tested PrestaShop 1.7.7.0 Release Candidate 1?
If you currently have little time and you feel you cannot help us making sure this Release Candidate is the right one, know that every effort counts.
- If you are a developer who builds modules or themes, you can simply run them on this version
- If you are a merchant, you can simply open the new Back Office Order pages and see if it looks alright to you
- If you are a developer who builds and sells shops, you can simply install this version and start customizing it as you usually do
As written by Eric S. Raymond, “given enough eyeballs, all bugs are shallow” (Linus’s law). So the more people can test this Release Candidate, the better it will be!
And if you find out that everything is working well, feel free to tell the world! Comment on this article, share on social networks… we also need this kind of feedback! 😉
Reminder: on October 18th, if no critical or major regression has been reported, PrestaShop 1.7.7.0 will be delivered as a stable version.
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 69 new issues have been created in the project repositories;
- 79 issues have been closed, including 33 fixed issues on the core;
- 65 pull requests have been opened in the project repositories;
- 107 pull requests have been closed, including 102 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #21777: Remove composer.lock from the .gitignore file. Thank you @stijnh92
- #21699: Remove useless comments. Thank you @PululuK
- #21691: Fix typo in Customer class. Thank you @ksaandev
- #20675: Always pass an instance to the actionCartSave hook. Thank you @Seleda
Back office
- #21776: Made sure getErrorsByLocale doesn’t return empty. Thank you @JevgenijVisockij
- #21673: Fix checkbox going over label on multishop add shop, by @NeOMakinG
- #21672: Made switch type not required. Thank you @JevgenijVisockij
- #21643: Fix td alignment of merchandise return filters, by @NeOMakinG
- #21625: Don’t trim arrays in AdminStoresController::postProcess : they delete it. Thank you @jf-viguier
- #21617: Show gift package and message on every details tabs of order view, by @NeOMakinG
- #21583: Payment > Preferences – Update message in all shops or in a group context, by @marionf
- #21471: Add EventEmitter to prestashop global js object, by @NeOMakinG
- #21456: Fixed sort for column ID Order in Shopping Carts Grid, by @Progi1984
- #21375: Add override list to admin Information page. Thank you @unlocomqx
- #21321: Introduce ProductCategoryUpdater and use it in handlers. Remove AbstractProductCategoryHandler. Thank you @zuk3975
- #21244: Simplified carrier preferences. Thank you @JevgenijVisockij
- #21153: Removed mention tax in invoice when Tax is disabled, by @Progi1984
- #21141: Changed the naming for attributes in product list, by @Progi1984
- #21062: Make locale errors from translatable type work with locale. Thank you @JevgenijVisockij
- #21013: Fix message on Module Manager when post_max_size limitation is reached, by @Matt75
- #20430: Allows profile to override the avatar of employee, by @Progi1984
Front office
- #21674: Set jquery colorpicker option only if it is needed and loaded, by @matthieu-rolland
- #21651: Change product unit price color to brand primary, by @NeOMakinG
- #21620: Fix categorytree not showing on mobile when mobile is enabled, by @NeOMakinG
- #21612: Add selected combinations value inside product page, by @NeOMakinG
- #21611: Add swipe on product images on mobile, by @NeOMakinG
- #21273: Fixes wrong url in credit-slip e-mail. Thank you @okom3pom
- #20606: Fix invoice address selection at checkout, by @matthieu-rolland
- #18179: Fixed Sort by price in FO with specific price. Thank you @soulardromain
Tests
- #21789: Add filter and reset steps to cart rules tests, by @boubkerbribri
- #21765: Generating images inside carrier test and fix checking number of sql queries after filter, by @boubkerbribri
- #21756: Add test ‘Filter sort and pagination tags’. Thank you @nesrineabdmouleh
- #21755: Trim string generated for tax rule group to avoid filter fail, by @boubkerbribri
- #21746: Add test ‘Enable/Disable’ webservice keys by bulk actions. Thank you @nesrineabdmouleh
- #21738: Add test ‘Sort and pagination webservice keys’. Thank you @nesrineabdmouleh
- #21735: Add test ‘Filter sort and pagination SQL queries’. Thank you @nesrineabdmouleh
- #21733: Add test ‘Create simple order in BO’, by @boubkerbribri
- #21726: Fix nightly (03-11-2020) ‘Sort shopping cart table by order ID’. Thank you @nesrineabdmouleh
- #21709: Add test ‘Update default country’, by @boubkerbribri
- #21669: Add test ‘View raw html and text’ in email themes page, by @boubkerbribri
- #21660: Add test ‘Update default carrier’, by @boubkerbribri
- #21636: Add test ‘CRUD tag’. Thank you @nesrineabdmouleh
- #21635: Delete generating images inside the pages, by @boubkerbribri
- #21590: Fix selectors for design tests, by @boubkerbribri
- #21528: Add test ‘CRUD order return status’. Thank you @nesrineabdmouleh
Code changes in the ‘1.7.7.x’ branch
Back office
- #21666: Recompute price tax excluded only when the price is different from catalog, by @jolelievre
- #21557: Fix product pagination when adding a product in an empty order, by @atomiix
- #21526: Improved Error message in New Order Page when adding a minimal product, by @Progi1984
Code changes in modules, themes & tools
Auto Upgrade module
- #350: Make job with latest tag pass, by @Quetzacoalt91
Prestashop UI Kit
- #112: Adjust buttons states and growl style, by @NeOMakinG
- #111: Fix alert error icon, by @NeOMakinG
- #110: Adjust button colors and show growl on index, by @NeOMakinG
- #109: Add boundary to bootstrap tooltips, by @NeOMakinG
QA nightly results
- #43: Adding start_date and end_date parameters to the graph so we can choose the interval, by @SimonGrn
Customer reassurance block module
- #61: Upgrade PHP CS Fixer to v2.16.4 to comply with Composer v2, by @matks
- #55: Fix get mime type, by @Progi1984
Faceted search module
- #253: Bump @babel/node from 7.12.1 to 7.12.6. Thank you @dependabot
- #252: Bump webpack from 5.3.2 to 5.4.0. Thank you @dependabot
- #251: Bump mocha from 8.2.0 to 8.2.1. Thank you @dependabot
- #250: Bump sass-loader from 10.0.4 to 10.0.5. Thank you @dependabot
- #249: Bump node-sass from 4.14.1 to 5.0.0. Thank you @dependabot
Changes in developer documentation
- #798: More informations for maintainers : other teams, labels, by @matks
- #796: Add I need Help page, by @matks
- #795: Grammatical error. Thank you @itsvahid
- #793: Introduce maintainer processes, by @matks
New Products module
Issues Bot
- #10: Remove Opening Message, by @Progi1984
Docker images
PrestaShop Specifications
- #166: – Add UAT for multistore, by @marionf
- #165: Add SVG as accepted logo format, by @LouiseBonnard
- #163: Specify the Modules Manager > Updates page, by @LouiseBonnard
- #162: Update Add new Order.md. Thank you @MatShir
- #161: Specify the default language for order documents, by @LouiseBonnard
- #157: Create specs’s page database. Thank you @MatShir
- #154: Add the overrides list to the Information specs, by @LouiseBonnard
- #153: Update the product settings specifications, by @LouiseBonnard
- #152: Create order settings specs, by @marionf
- #151: Add the free gift behavior in FO, by @LouiseBonnard
- #135: Add specs for BO menu tab, by @marionf
The PrestaShop open source project
Wishlist block module
- #89: Get cover image for specific combination. Thank you @kpodemski
Email Alerts module
- #65: Fix cast error when removing an Alert. Thank you @hherreros93
- #57: Added new translator for email subjects. Thank you @L3RAZ
Visits and Visitors statistics module
- #11: Release 2.0.3, by @Progi1984
Logo and description changes
Auto Upgrade module
New Products module
Product details statistics module
Prestafraud against fraudulent payments module
Best manufacturers statistics module
Simple HTML table display module
PrestaShop Cleaner module
Stats Dashboard module
Social Follow module
OnBoarding module
Visitors online statistics module
Viewed products module
Front office tracking module
Product tooltips module
Legal Compliance
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @Quetzacoalt91, @boubkerbribri, @NeOMakinG, @stijnh92, @SimonGrn, @JevgenijVisockij, @matks, @dependabot, @nesrineabdmouleh, @jolelievre, @itsvahid, @PululuK, @Julievrz, @Progi1984, @ksaandev, @matthieu-rolland, @marionf, @LouiseBonnard, @jf-viguier, @MatShir, @atomiix, @kpodemski, @unlocomqx, @zuk3975, @okom3pom, @Matt75, @Seleda, @hherreros93, @L3RAZ, @soulardromain!
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