This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 31th to Sunday 06th of August 2020.
General messages
Dear Developers,
In case you missed it, 1.7.7 beta 2 has been released last week!
Testing this second beta version before the release of the stable version is very important. As usual, we strongly recommend checking that all your modules and themes are working properly, especially if you develop them yourself. Please download, install and test this new beta and report the issues you might find. Also, of course, your help is welcome to fix issues.
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 51 new issues have been created in the project repositories;
- 60 issues have been closed, including 33 fixed issues on the core;
- 108 pull requests have been opened in the project repositories;
- 152 pull requests have been closed, including 88 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #20822: Fix a typo in README.md file, by @SimonGrn
- #20806: The value of tabCore->name can be array when multilang. Thank you @zalexki
- #20716: Update composer.lock to prevent fixed bugs. Thank you @mvorisek
- #20689: Try to use the real command to clear the cache when the kernel is available, by @PierreRambaud
- #20656: Class HelperTreeCategoriesCore is not translated. Thank you @PululuK
- #20638: Wrong install redirection when we are in admin directory, by @PierreRambaud
- #20634: Allow to disable make usage and use .env file, by @PierreRambaud
- #20622: Do not proceed setCurrentState if order already has the right state. Thank you @prestaquality
Back office
- #20829: Fix code style in Tree.php. Thank you @zuk3975
- #20815: Fix product.yml ident to 4 spaces. Thank you @zuk3975
- #20774: Do not put the user as connected if he’s not connected, by @PierreRambaud
- #20713: Fix merge error, by @atomiix
- #20699: Fix width of invoice quantity column on certain langs, by @NeOMakinG
- #20681: Fixed language deletion with open_basedir restriction. Thank you @rozwell
- #20680: Fixed the reset of the unit_price_ratio when the product is activated / deactivated from the product listing page. Thank you @artaban
- #20614: Wrong validation while uploading product image more than defined size limit.. Thank you @Amit-Kumar-Tiwari-Webkul
- #20553: Add GetProductSupplierOptions query. Remove it from ProductForEditing. Thank you @zuk3975
- #20546: Add RemoveAllProductsFromPackCommand. Thank you @zuk3975
- #20473: Add UpdateProductSeoCommand. Thank you @zuk3975
- #20188: Notifications bell icon read fix. Thank you @rajat315315
- #19404: Put back prefix for filter name inside CustomerQueryBuilder. Thank you @juliendombret
Front office
- #20813: Bump elliptic from 6.5.2 to 6.5.3 in /admin-dev/themes/default. Thank you @dependabot[bot]
- #20812: Bump elliptic from 6.4.0 to 6.5.3 in /themes/classic/_dev. Thank you @dependabot[bot]
- #20773: Make sure sanitizeUrl method allows array in $_GET, and make methods protected to be reused, by @PierreRambaud
- #20660: Remove available_date from presented product if in the past. Thank you @awitkutarahil
- #20530: Fix facets.js pendingQuery was always false. Thank you @davidglezz
- #20499: Ecotax is displayed tax excl instead of tax incl in FO. Thank you @PululuK
- #20309: Improve sitemap-nested-list.tpl. Thank you @davidglezz
- #20203: Adding a link to the general terms and conditions in the checkout footer (Opquast n°45). Thank you @Sinepel
Tests
- #20860: Fix memory_limit while installing with CLI on docker, by @boubkerbribri
Code changes in the ‘1.7.7.x’ branch
Core
- #20794: Send an ‘action’ parameter to actionProductCancel hook, by @matthieu-rolland
- #20741: Fix cumulative free gift + percentage discounts, by @atomiix
- #20738: Disable jquery migrate deprecation messages when prestashop debug mode is off, by @matthieu-rolland
- #20693: Cancel/Refunds… adding missing hooks and cancel product refactor, by @matthieu-rolland
Back office
- #20798: Do not recalculate shipping if PS_ORDER_RECALCULATE_SHIPPING is false, by @atomiix
- #20796: Fix OrderReturnState should not use soft delete, by @atomiix
- #20792: Fix cannot add twice a product out of stock but allowed to be ordered, by @atomiix
- #20757: Save customer message on order creation from BO, by @sowbiba
- #20734: Allow to create Order from BO using soft deleted address, by @matks
- #20714: Fix max attribute on qty input of an out of stock attribute available on create order, by @NeOMakinG
- #20704: Expose missing route, by @atomiix
- #20603: Redirect to customer when canceling new customer address creation. Thank you @ks129
Tests
- #20850: Add behat tests for order shipping computing, and add new carriers fixtures, by @jolelievre
- #20802: Add test ‘CRUD cart rule’. Thank you @nesrineabdmouleh
Code changes in modules, themes & tools
Changes in developer documentation
- #706: Use meta properties instead of meta names, by @matks
- #705: Add meta og because it seems Twitter wants them, by @matks
- #704: Fix twitter meta tag, by @matks
- #703: Add twitter card meta tags, by @matks
- #702: Update PHP compatibility chart for 1.7.8, by @eternoendless
- #701: Add “How become a maintainer”, by @eternoendless
- #700: Fixed property in sample for Creating a new resource, by @Progi1984
- #699: Add cancellations and refunds documentation, by @matthieu-rolland
- #698: Declare strict types don’t apply on interfaces, by @Progi1984
- #697: Maintainer guide: Explain what maintainer must do when merging a PR, by @matks
- #696: For png-images with transparent background made background white.. Thank you @likemusic
- #695: Svg images instead of png.. Thank you @likemusic
- #694: Fix broken links. Thank you @likemusic
- #693: Fix paths for
ref
andrelref
shortcodes to have anchors in generated html-files.. Thank you @likemusic - #688: Fix
callout
description.. Thank you @likemusic
Faceted search module
- #204: Update dependencies from dependabot notifications, by @PierreRambaud
- #203: Use the new version of CleanWebpackPlugin, by @PierreRambaud
- #200: Bump @babel/register from 7.9.0 to 7.11.5. Thank you @dependabot[bot]
- #195: Bump sass-loader from 7.1.0 to 7.3.1. Thank you @dependabot[bot]
- #194: Bump clean-webpack-plugin from 2.0.0 to 3.0.0. Thank you @dependabot[bot]
- #193: Bump mockery/mockery from 1.3.2 to 1.3.3. Thank you @dependabot[bot]
- #192: Bump webpack-cli from 3.2.3 to 3.3.12. Thank you @dependabot[bot]
- #191: Bump to 3.6.0, by @PierreRambaud
- #190: Make rebuild index counter work, by @PierreRambaud
OnBoarding module
- #68: Bump css-loader from 0.23.1 to 0.28.11. Thank you @dependabot[bot]
PrestonBot
- #101: Set max execution time to 3min for new wording detection, by @atomiix
- #100: Fix bad QA label, by @atomiix
Issues Bot
- #7: Bump lodash from 4.17.15 to 4.17.20. Thank you @dependabot[bot]
Example modules
- #25: Bump lodash from 4.17.15 to 4.17.20 in /demodoctrine/js. Thank you @dependabot[bot]
- #24: Bump elliptic from 6.5.2 to 6.5.3 in /demodoctrine/js. Thank you @dependabot[bot]
- #22: Demosymfonyform module. Thank you @JevgenijVisockij
Stylelint browser ccompatibility
- #2: Bump lodash from 4.17.15 to 4.17.20. Thank you @dependabot[bot]
- #1: Bump kind-of from 6.0.2 to 6.0.3. Thank you @dependabot[bot]
PrestaShop contributors website
- #18: Bump lodash from 4.17.10 to 4.17.20. Thank you @dependabot[bot]
- #17: Bump lodash.mergewith from 4.6.1 to 4.6.2. Thank you @dependabot[bot]
- #16: Bump fstream from 1.0.11 to 1.0.12. Thank you @dependabot[bot]
Product Comments module
- #70: Bump symfony/css-selector from 3.4.43 to 3.4.44. Thank you @dependabot[bot]
Traces
- #12: Added generation date, by @Progi1984
Contact Form module
Contact informations module
- #37: Update templates to reflect changes in classic theme. Thank you @ziegenberg
Carrier comparison module
- #6: Dir constant. Thank you @MathiasReker
- #5: No alias functions. Thank you @MathiasReker
Custom text module
- #16: No alias functions. Thank you @MathiasReker
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @boubkerbribri, @matks, @eternoendless, @PierreRambaud, @dependabot[bot], @jolelievre, @atomiix, @zuk3975, @SimonGrn, @Progi1984, @matthieu-rolland, @zalexki, @nesrineabdmouleh, @likemusic, @sowbiba, @mvorisek, @NeOMakinG, @rozwell, @artaban, @awitkutarahil, @PululuK, @prestaquality, @Amit-Kumar-Tiwari-Webkul, @ks129, @JevgenijVisockij, @davidglezz, @bodi000, @Sinepel, @rajat315315, @ziegenberg, @juliendombret, @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!