This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 19th to Sunday 25th of September 2022.
General messages
Dear developers,
PrestaShop 8.0 release candidate version is very close :eyes:. We expect it to be released within the next week or two. You can also expect more updates on the Release 8.0.0 page in the near future.
Today starts this year’s edition of Hacktoberfest. You can read more about this event and how to participate in our article.
Last but not least, we are very happy to welcome @thomasnares to the project, who joined us as a Technical Content Manager. Thomas will work together with maintainers and the community to improve developer documentation.
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 31 new issues have been created in the project repositories;
- 32 issues have been closed, including 12 fixed issues on the core;
- 90 pull requests have been opened in the project repositories;
- 77 pull requests have been closed, including 65 merged pull requests.
Code changes in the ‘develop’ branch
Back office
- #28716: Match the right carrier in the select with the price shown when creating a new order from BO. Thank you @marsaldev
Code changes in the ‘8.0.x’ branch
Core
- #29595: Add source parameter to actionBeforeInstallModule & actionBeforeUpgradeModule hooks, by @atomiix
Back office
- #29714: Functional tests – Refacto the BO – Delivery Slip – Enable Disable Product Image, by @khouloudbelguith
- #29660: Fix ModuleManager exception when ps_distributionapiclient is not installed, by @atomiix
Installer
Tests
- #29725: Functional Tests – Add New test ‘BO – Cart rules – Case 9 – Check Total available’ . Thank you @cfarhani06
- #29718: Functional tests : Refacto BO – Customers – CRUD, by @Progi1984
- #29706: Run code checks only for tests/UI repository, by @boubkerbribri
- #29697: Add dotenv dependency and create .env.ci file for tests/UI, by @boubkerbribri
- #29691: Functional tests – Add new test FO > User account > ‘Check gdpr data in pdf’ . Thank you @nesrineabdmouleh
- #29690: Disable apache mpm_event module in the CI, by @atomiix
- #29687: Functional tests – Fix ‘Customer service tests’ in FO and BO. Thank you @nesrineabdmouleh
- #29662: Add functional Tests – User account log out. Thank you @cfarhani06
- #29640: Functional tests – Refacto test BO – Invoices – Other Options, by @khouloudbelguith
- #29479: Sanity tests – Add new test ‘Delete product’ V2. Thank you @nesrineabdmouleh
- #29444: Add workflow for product V2 sanity tests, by @boubkerbribri
Code changes in the ‘1.7.8.x’ branch
Back office
Front office
Tests
Code changes in modules, themes & tools
Auto Upgrade module
- #509: Add domain in all trans calls in twig templates, by @jolelievre
- #505: Hardcode translation domains, by @matthieu-rolland
- #497: Fix version compare check to use CoreUpgrader 8 with 8.0 version. Thank you @FabienPapet
Changes in developer documentation sources
- #1511: Backport of PR1510. Thank you @leemyongpakvn
- #1510: Remove a wrong link in democqrshooksusage module. Thank you @leemyongpakvn
- #1506: Change referenced module name in facet search documentation. Thank you @thomasnares
- #1505: Fix indentation on admin-controllers / tabs (Backport 1394). Thank you @thomasnares
- #1504: Request to update the link to customer-manager.js (backport 1381 + 1392). Thank you @thomasnares
- #1503: Fix naming conventions duplicate word (backport 1380). Thank you @thomasnares
- #1501: Fix typo on foreign key (Backport of #1379). Thank you @thomasnares
- #1500: Addresses webservice spelling fix (Backported #1377). Thank you @thomasnares
- #1499: Fix minor typo for MySQL and wording interrogation. Thank you @thomasnares
- #1498: Update Faceted search doc (Backported #1371). Thank you @thomasnares
- #1497: Module error with namespace FooRepository, change composer links (Backported #1364 + Fix). Thank you @thomasnares
- #1496: Add hint about var/cache folder for upgrade (Backported #1332). Thank you @thomasnares
- #1495: Fix PSR issues on examples of mail templates for 1.7.x. Thank you @thomasnares
- #1494: Fix PSR issues on examples of mail templates. Thank you @thomasnares
- #1493: Fix wrong url for composer link – was fixed but not completely right. Thank you @thomasnares
- #1492: Fix wrong url for composer.md (Backport #1367). Thank you @thomasnares
- #1491: Fix module mail templates example, add extends (Backported #1348). Thank you @thomasnares
- #1490: Fix code examples on grids (Backported #1341). Thank you @thomasnares
- #1489: Fix DbQuery class limit method signature (Backported #1306). Thank you @thomasnares
- #1488: Add a title to the list of Smarty variables (Backported 1305). Thank you @thomasnares
- #1487: Fix usage of underscores in new translation system page (Backported #1279). Thank you @thomasnares
- #1486: Update _index.md (Backported #1382). Thank you @thomasnares
- #1485: Fix wording (Backported #1383). Thank you @thomasnares
- #1480: Update reference.md. Thank you @cernekj
- #1471: Fix KpiRowHook location. Thank you @PululuK
- #1430: Use hooks on Symfony page: new catalog-tools button for PS 1.7.6.5, switch to SF 4.4. Thank you @leemyongpakvn
Distribution API Client
stylelint configuration
- #49: Bump stylelint from 14.12.0 to 14.12.1. Built by @dependabot
- #48: Bump stylelint from 14.11.0 to 14.12.0. Built by @dependabot
Hummingbird theme
- #374: Add CleanWebpackPlugin. Thank you @lramos-prolaser
- #373: Upgrade autoprefixer to latest version. Thank you @lramos-prolaser
Theme for PrestaShop Project’s site
- #4: Base template for releases, by @kpodemski
PrestaShop contributors website
- #88: Bump ejs and nuxt. Built by @dependabot
- #87: Modify CNAME & Deploy, by @Progi1984
- #86: MEP Integration 2022-08-01, by @Progi1984
Issues Bot
- #85: Add new kanbans, by @NeOMakinG
- #84: Update to new API and manage maxikanban cards events, by @NeOMakinG
Contextual Help API
The PrestaShop open source project
- #116: Support template github don’t exist anymore. Thank you @okom3pom
- #64: Improvement for README, by @matks
Product Comments module
- #146: Add validation for 2 positive integer fields. Thank you @leemyongpakvn
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @jolelievre, @cfarhani06, @Progi1984, @leemyongpakvn, @matks, @dependabot, @khouloudbelguith, @thomasnares, @lramos-prolaser, @boubkerbribri, @kpodemski, @atomiix, @nesrineabdmouleh, @NeOMakinG, @MeKeyCool, @matthieu-rolland, @lartist, @cernekj, @PululuK, @okom3pom, @FabienPapet, @marsaldev!
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