-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a full rewrite of the module to reflect the new PrestaShop architecture and use the latest patterns. This change allows adopting patterns required by newer versions of PrestaShop and makes further updates less time-consuming. The most noticeable changed functionality is that the module now uses the PrestaShop Newsletter Subscriptions modules rendered form for Opt-In subscribers collection instead of providing its form UI. This allows keeping built-in subscription logic while still sending new subscribers to Smaily. - Update wordings in issue templates, readmes, contributor guides, etc. - Add composer install in GH workflows release step - Update pictures of the module - Use `prestashop-flashlight` image for dev environment - Add `mailhog` service to the dev environment - Use services, namespaced classes, and routes configuration introduced in PrestaShop 8.x - Refactor code to separate functionality into smaller units - Improve RSS feed by using the `DOMDocument` library to build RSS-feed items - Reduce the amount of JS required by the module - Use Twig as a templating engine for module templates
- Loading branch information
Showing
103 changed files
with
6,929 additions
and
2,372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"recommendations": [ | ||
"aswinkumar863.smarty-template-support", | ||
"mblode.twig-language-2", | ||
"junstyle.php-cs-fixer", | ||
"devsense.phptools-vscode", | ||
"streetsidesoftware.code-spell-checker" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"[php]": { | ||
"editor.defaultFormatter": "junstyle.php-cs-fixer" | ||
}, | ||
"editor.formatOnSave": true, | ||
"files.associations": { | ||
"*.html": "twig" | ||
}, | ||
"emmet.includeLanguages": { | ||
"twig": "html" | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.