This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase during the last week, from Monday 30th of January to Sunday 5th of February 2017.

General messages

If you haven’t seen it yet, check out our Release Schedule for 2017: we are doing our best to regularly deliver new 1.7 and 1.6 versions all year long. The ultimate aim is to have, by year’s end, 4 minor versions for v1.7, as well as monthly patch versions for both v1.7 and v1.6.

While we are mentioning patch versions for v1.7: who here wants 1.7.0.5 released? I know I do, and those 29 merged PRs might whet your appetite :) See you soon!

Notable PRs merged last week are:

  • So many more Smarty blocks! Check #7362 out!
  • Email templates parent/child compatible, woohoo!
  • Want more hooks? How about actionDispatcherBefore, actionDispatcherAfter, actionOutputHTMLBefore, displayAfterProductThumb, and actionClearCache?
  • No more synchronous loading for TinyMCE.
  • It’s the little things that count: shared stock quantity are now displayed correctly, thanks to @amazzing!
  • Goodbye for good, smartyDump()! Cheers @prestamodule :)

Found an issue in PrestaShop 1.7? Create a Forge ticket! Every day at around 11:30 (Paris time), part of the team gathers in order to review the recent Forge tickets and assess their priorities and urgency. I’ll post a photo if you want :) Thank you for your contribution! (and thank you for reading this text instead of directly going to the code changes ;) )

Code changes in ‘develop’ branch (for the next minor version, v1.7.1.0)

Let’s review the merged pull-requests on the ‘develop’ branch since the last Core Weekly Report!

Note that 1.7 patch versions are being built in the ‘1.7.0.x’ branch. All of the PRs from that branch are eventually ported in the ‘develop’ branch.

Front office (including the default theme, named “Classic”, based upon the Starter Theme)

  • #7362: Add smarty blocks everywhere, by @julienbourdeau.
  • #7433: Fix button on the same line in order confirmation modal, by @aleeks.
  • #7445: Fix div tag in ordersummary header, by @julienbourdeau.
  • #7446: Remove wrong opening table tag, by @julienbourdeau.
  • #7453: Fix %email% are not replaced by user’s email when asking a new password. Thank you @pnicolass!

Back office

  • #7395: Add the disabled categories in product page, by @hibatallahaouadni.
  • #7415: Display correct quantities for shared stock. Thank you @amazzing!
  • #7421: Remove useless isset, by @antoin-m.
  • #7428: Update wording AdminPerformanceController.php, by @antoin-m.
  • #7436: Remove tinymce synchronous loading, by @antoin-m.
  • #7444: Update the dashboardTop hook, by @antoinemille.
  • #7454: CO: Fixed use of hook return value in customer address validation. Thank you @mark-data8!

Core

  • #7293: Fix dependencies definitions, by @thierrymarianne.
  • #7334: Remove smartyDump() in Smarty config. Thank you @prestamodule!
  • #7382: Use shop email as sender for template order_customer_comment. Thank you @mcdado!
  • #7401: Change some translated strings, by @antoin-m.
  • #7403: Make email templates parent/child compatible, by @julienbourdeau.
  • #7413: Optimized products counting in BO product list. Thank you @sarjon!
  • #7420: Use the right modules branch, by @maximebiloe.
  • #7425: Update composer with modules, by @aleeks.
  • #7429: Fix Validate::isUnsignedInt, by @antoin-m.
  • #7430: Fixed rendering condition of default groups form, by @antoin-m.
  • #7437: Use 1.7.1 modules, by @maximebiloe.
  • #7438: Add 2 new hooks actionDispatcherBefore and actionDispatcherAfter, by @antoin-m.
  • #7440: Add new hook actionOutputHTMLBefore, by @antoin-m.
  • #7441: Add displayAfterProductThumb hook, by @antoin-m.
  • #7442: Add new hook ‘actionClearCache’, by @antoin-m.
  • #7452: Revert “CO: fix Validate::isUnsignedInt”, by @maximebiloe.
  • #7456: Pass variables of hook actionProductSearchComplete by link, by @aleeks.

See all the PRs merged into the ‘develop’ codebase since the last Core Weekly here.

Code changes in ‘1.7.0.x’ branch (for the next patch version, v1.7.0.5)

And now, the merged pull-requests on the ‘1.7.0.x’ branch since the last Core Weekly Report!

Back office

  • #7450: Fix some automator problem, by @aleeks.

Core

  • #7354: Filter theme / module inputs, by @thierrymarianne.
  • #7418: Alter currency name to varchar(64), by @antoin-m.
  • #7419: Use the right modules branch, by @maximebiloe.
  • #7424: Update composer with modules, by @aleeks.

Installer

  • #7422: Require php zip extension before install, by @antoin-m.

See all the PRs merged into the ‘1.6.1.x’ codebase since the last Core Weekly here.

Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @amazzing, @mark-data8, @mcdado, @pnicolass @prestamodule, and @sarjon!

Also, 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 tickets and comments on the Forge!

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 the Forge to contribute to PrestaShop. Thank you!

Happy contributin’ everyone!