PrestaShop Core Weekly - Week 43 of 2022
An inside look at the PrestaShop codebase
This edition of the Core Weekly report highlights changes in PrestaShop’s core codebase from Monday 24th to Sunday 30th of October 2022.
General messages
Dear developers,
PrestaShop 8 is available! This is an important moment for everyone involved in the project. All project members would like to thank the community for their involvement in this new version.
The Hummingbird theme maintainers team decided to release its early version. If you are working with PrestaShop themes, this is a great chance to get your hands on this new version to see what the future holds.
We want to remind you about next week’s PrestaShop Project Public Demo. We meet on November 9th at 4 PM CET.
Last but not least, October was the last month of the Core Weekly summaries you are currently reading. Starting in November, we will gather information about the project to be published in the Core Monthly summary. So the next post of this type is to be published at the beginning of December. We believe this new format will be easier for everyone to track and allow us to provide you with more relevant information about the project.
Releases
A quick update about PrestaShop’s GitHub issues and pull requests:
- 32 new issues have been created in the project repositories;
- 47 issues have been closed, including 9 fixed issues on the core;
- 66 pull requests have been opened in the project repositories;
- 141 pull requests have been closed, including 130 merged pull requests.
Code changes in the ‘develop’ branch
Core
- #30133: Use array short tag in translations files. Thank you @PrestaEdit
- #30047: Remove unused “override” property in class index, by @eternoendless
- #29993: Allow to use own value to submit button. Thank you @PrestaEdit
- #29741: Handle KPI configuration properly for the dashgoals module, by @kpodemski
- #29664: Removed
US/Pacific New
from timezone list, by @Progi1984 - #29470: Don’t register
module
onhook
if already registered. Thank you @PululuK - #29423: Prevent *.twig, config.xml & config_{lang}.xml files from direct access in modules folder. Thank you @clotairer
- #29382: Do not authorize PHP direct call on themes directory. Thank you @clotairer
- #29304: Add support for other file extensions in rewrite rules, by @eternoendless
Back office
- #30143: UpdateProductCommand unification - SEO related properties handling. Thank you @zuk3975
- #30132: Upgrade AddProductImageCommand and GetProductImageCommand to fit with multishop. Thank you @lartist
- #30122: UpdateProductCommand unification - prices related properties handling. Thank you @zuk3975
- #30052: Added required attribute on text input for admin controller. Thank you @nicosomb
- #30031: Introduce single unified UpdateProductCommand. Thank you @zuk3975
- #29977: Updating default combination is now take into account when submitting the form. Thank you @lartist
- #28917: Display an error message if editing by zero on quantity field, by @Progi1984
Front office
Installer
- #29765: Changed message when PHP version is not correct. Thank you @nicosomb
- #29750: Replace AppKernel version constants by prestashop versions. Thank you @FabienPapet
- #28500: Add a lock file during the install (and it’s removed only if the install is well finished), by @Progi1984
Web services
Tests
- #30127: Functional tests - Fix errors in nightly develop . Thank you @nesrineabdmouleh
Code changes in the ‘8.0.x’ branch
Core
- #30116: Update twig dependency, by @jolelievre
- #30080: Do not force new translation system when no domain is provided, by @atomiix
- #29079: Change default assignation of Product::pack_stock_type. Thank you @abramofranchetti
Back office
- #29996: Fix saving status code 410 on the product page v1, by @kpodemski
- #29783: Migrate node-sass to sass-embedded on default theme, by @NeOMakinG
- #29372: Hide suppliers if there are no suppliers on product v2, by @NeOMakinG
- #29084: 27054: fixed taxes for wrong countries. Thank you @margud
Front office
- #30113: Update classic theme, by @jolelievre
Web services
- #29756: Fix error on patch method because of php 8.0 throw a fatal error. Thank you @mflasquin
Tests
- #30068: Functional tests - Fix nightly 19/10 (Fix FO > send message test). Thank you @nesrineabdmouleh
- #29992: Better escape PR description for the Pull Request Validator Github action, by @atomiix
Code changes in the ‘1.7.8.x’ branch
Core
- #29636: Upgrade Smarty to 3.1.47. Thank you @mflasquin
Back office
Front office
- #29715: Fix discount detail in cart when a product has en ecotax with applied tax. Thank you @mflasquin
Installer
- #30099: Fix issue on fresh installation with docker in branch 1.7.8.x. Thank you @sefirosweb
Code changes in modules, themes & tools
Docker internal images
- #40: Fix permission issue while regenerating htaccess, by @Quetzacoalt91
- #39: Add build for PS v8, by @Quetzacoalt91
Faceted search module
- #730: Bump @babel/node from 7.19.1 to 7.20.0. Built by @dependabot[bot]
- #725: Bump eslint from 8.25.0 to 8.26.0. Built by @dependabot[bot]
- #724: Bump @babel/core from 7.19.3 to 7.19.6. Built by @dependabot[bot]
- #691: Add configuration to use jquery ui slider. Thank you @zuk3975
Hummingbird theme
- #385: Merge develop into master, by @NeOMakinG
- #384: Add preview and change url. Thank you @Hlavtox
- #381: Hide Previous/Next labels for mobile screens. Thank you @lucrp
- #380: Change second $badge-padding-y to $badge-padding-x. Thank you @lucrp
Changes in developer documentation sources
- #1564: Change version 1.7 of doc to previous. Thank you @thomasnares
- #1563: Change current version of v8 doc to current. Thank you @thomasnares
- #1560: getting-started.md grammar mistake corrected . Thank you @ThanasisMpalatsoukas
- #1558: Add a doc about Module Self Configurator feature. Thank you @thomasnares
Docker images
- #321: Update README to us 8.0 instead of 1.7, by @matks
- #320: Images for 8.0.0, by @jolelievre
Classic theme
- #68: Bump version 2.0.6, by @kpodemski
- #67: Handling asynchronous prestashop.checkPasswordScore. Thank you @Oksydan
Customer reassurance block module
- #457: Bump eslint from 8.25.0 to 8.26.0. Built by @dependabot[bot]
- #456: Bump @babel/core from 7.19.3 to 7.19.6. Built by @dependabot[bot]
Decimal
- #24: Update php.yml. Thank you @FabienPapet
Example modules
- #119: rm unused class, shorten trans(), correct links, add screenshots. Thank you @leemyongpakvn
The PrestaShop open source project website
- #131: Activate Google Analytics, by @eternoendless
Image slider module
- #76: Update URL to prestashop-project.org. Thank you @PrestaEdit
Auto Upgrade module
- #507: Removed
US/Pacific New
from timezone list, by @Progi1984
Category tree links module
- #63: Wrong usage of psql. Thank you @jf-viguier
GDPR module
- #181: fix registerGDPRConsent hook. Thank you @rsoulard-prolaser
Prestashop UI Kit
- #195: Remove modal border, by @NeOMakinG
Product Comments module
- #142: Simplify Type casting. Thank you @leemyongpakvn
Wire payment module
- #77: Fixed the Bank Address mandatory field, by @Progi1984
PrestaShop Specifications
- #347: Specs cross-selling. Thank you @Saimis777
- #346: Link Widget (List Widget). Thank you @SimonasB88
- #345: Order Messages. Thank you @SimonasB88
- #344: Add / Edit Order Message. Thank you @SimonasB88
- #343: Specs contact information. Thank you @Saimis777
- #342: Specs payments by check. Thank you @Saimis777
- #341: Catalog monitoring. Thank you @SimonasB88
- #340: Specs bank transfer module. Thank you @Saimis777
- #339: Specs mail alerts. Thank you @Saimis777
- #338: Specs titles. Thank you @Saimis777
- #337: Advanced parameters - DB Backup. Thank you @SimonasB88
- #336: Advanced parameters - Administration. Thank you @SimonasB88
- #335: Specs customer settings. Thank you @Saimis777
- #333: Credit notes specs. Thank you @Saimis777
- #332: Delivery slips. Thank you @Saimis777
- #331: specs-invoices. Thank you @Saimis777
- #330: Add / Edit SEO URLs. Thank you @SimonasB88
- #329: Specs profiles. Thank you @Saimis777
- #328: Specs employees. Thank you @Saimis777
- #325: Disambiguation concerning module translation. Thank you @lmeyer1
- #323: Specs-logs. Thank you @Saimis777
- #322: Specs localization. Thank you @Saimis777
- #321: Payment preferences. Thank you @Saimis777
- #320: Email specs. Thank you @Saimis777
- #317: Specs multistore. Thank you @Saimis777
- #315: Specs categories. Thank you @Saimis777
- #314: Specs general settings. Thank you @Saimis777
- #313: Performance tab. Thank you @Saimis777
- #312: Update information.md. Thank you @Saimis777
- #311: Stock specs. Thank you @Saimis777
- #310: Delivery Slips. Thank you @SimonasB88
- #309: Invoices. Thank you @SimonasB88
- #308: Specs brands and suppliers. Thank you @Saimis777
- #307: Modules. Thank you @SimonasB88
- #306: Design theme&logo specs. Thank you @Saimis777
- #305: Add new field. Thank you @MatShir
- #301: Clarify translation and export of theme translations, by @eternoendless
- #300: Customers specs. Thank you @Saimis777
- #299: Add 410 gone to specs. Thank you @jf-viguier
- #298: Traffic & SEO. Thank you @SimonasB88
- #297: Outstanding. Thank you @SimonasB88
- #296: addresses-specs. Thank you @Saimis777
- #295: Permissions. Thank you @SimonasB88
- #293: Specs countries. Thank you @Saimis777
- #292: SimonasB88 - Taxes. Thank you @SimonasB88
- #286: Dashboard specs. Thank you @Saimis777
- #285: SimonasB88 - Import. Thank you @SimonasB88
- #274: Simonas B88 - Login. Thank you @SimonasB88
- #273: SimonasB88 - Customer service. Thank you @SimonasB88
- #270: SimonasB88 - Shopping cart. Thank you @SimonasB88
- #266: SimonasB88 - Design Positions. Thank you @SimonasB88
- #262: Image Type adding. Thank you @SimonasB88
- #246: Cart Rules + Catalog Price Rules. Thank you @SimonasB88
- #170: [WIP] Add split order use cases, by @LouiseBonnard
- #88: [WIP]Specs for breadcrumbs in Front-office. Thank you @sam-pires
Thank you to the contributors whose pull requests were merged since the last Core Weekly Report: @Quetzacoalt91, @zuk3975, @dependabot[bot], @NeOMakinG, @Hlavtox, @thomasnares, @PrestaEdit, @matks, @lartist, @jolelievre, @nesrineabdmouleh, @lucrp, @kpodemski, @ThanasisMpalatsoukas, @Oksydan, @sefirosweb, @FabienPapet, @atomiix, @leemyongpakvn, @nicosomb, @eternoendless, @sashashura, @mflasquin, @Progi1984, @jf-viguier, @rsoulard-prolaser, @PululuK, @clotairer, @balejk, @Seb33300, @margud, @abramofranchetti, @Saimis777, @SimonasB88, @lmeyer1, @MatShir, @LouiseBonnard, @sam-pires!
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!