Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ea8c3b1
feat: Twig filter for adding UTM tags on links
tijsverkoyen Feb 27, 2026
397a6cc
feat: install symfony/mailer
tijsverkoyen Feb 27, 2026
f52e91c
feat: introduce an factory to create a preconfigured TemplatedEmail i…
tijsverkoyen Feb 27, 2026
da4949c
feat: don't allow to configure mailer in the CMS
tijsverkoyen Feb 27, 2026
4159cab
feat: remove settings from profiles module
tijsverkoyen Feb 27, 2026
df8a0b4
feat: Use new mailer for Forgot password
tijsverkoyen Feb 27, 2026
8d33283
feat: use new way of sending mails
tijsverkoyen Feb 27, 2026
4b50d7a
fix: make FormBuilderSubmittedMailSubscriber work again
tijsverkoyen Feb 27, 2026
7df6911
feat: use new way of sending mails in FormBuilderSubmittedMailSubscriber
tijsverkoyen Feb 27, 2026
c3b52d7
feat: use new way of sending mails in Mailmotor listeners
tijsverkoyen Feb 27, 2026
434493b
feat: inline styles
tijsverkoyen Feb 27, 2026
d030151
chore: cleanup unused code
tijsverkoyen Feb 27, 2026
33245eb
chore: update fslightbox (3.7.4 → 3.7.5)
tijsverkoyen Mar 3, 2026
8363aa8
chore: remove swiftmailer/swiftmailer as it is replaced by symfony/ma…
tijsverkoyen Mar 3, 2026
2af6caa
chore: fix PHPCS issues
tijsverkoyen Mar 3, 2026
ca16ce0
chore: fix PHPStan issue
tijsverkoyen Mar 3, 2026
2d57e3f
Merge branch 'master' into 552-symfony-mailer
tijsverkoyen Mar 12, 2026
5c1a8ca
fix: fix installer to know
tijsverkoyen Mar 12, 2026
a6dc167
feat: use inky syntax for mailtemplate
tijsverkoyen Mar 12, 2026
a7b33b4
chore: codestyling
tijsverkoyen Mar 12, 2026
c89a9eb
fix: fix faulty css
tijsverkoyen Mar 12, 2026
d8d06ee
fix: fix missing center tag
tijsverkoyen Mar 12, 2026
66b0490
fix: don't apply inline_css twice
tijsverkoyen Mar 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public function registerBundles(): array
new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new \Symfony\Bundle\TwigBundle\TwigBundle(),
new \Symfony\Bundle\MonologBundle\MonologBundle(),
new \Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new \ForkCMS\Bundle\InstallerBundle\ForkCMSInstallerBundle(),
new \ForkCMS\Bundle\CoreBundle\ForkCMSCoreBundle(),
new \Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
Expand All @@ -32,6 +31,7 @@ public function registerBundles(): array
new \MailMotor\Bundle\MailChimpBundle\MailMotorMailChimpBundle(),
new \MailMotor\Bundle\CampaignMonitorBundle\MailMotorCampaignMonitorBundle(),
new \Liip\ImagineBundle\LiipImagineBundle(),
new \Twig\Extra\TwigExtraBundle\TwigExtraBundle(),
];

if ($this->getEnvironment() === 'prod') {
Expand Down
37 changes: 17 additions & 20 deletions app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ framework:
adapter: cache.app
public: true
default_lifetime: 3600
mailer:
dsn: '%mailer.dsn%'
messenger:
transports:
async:
Expand Down Expand Up @@ -55,6 +57,8 @@ twig:
- "%fork.form.theme%"
paths:
'%site.path_www%/src/Frontend/Modules/': ForkFrontendModules
'%site.path_www%/src/Backend/Modules/': ForkBackendModules
'%site.path_www%/src/Backend/Core/': ForkBackendCore

monolog:
handlers:
Expand All @@ -63,17 +67,6 @@ monolog:
path: "%site.path_www%/var/logs/%kernel.environment%/error.log"
level: error
max_files: 10
# swift:
# type: swift_mailer
# from_email: %fork.debug_email%
# to_email: %fork.debug_email%
# subject: %site.default_title% %fork.debug_message%
# level: error
# formatter: monolog.formatter.html
# content_type: text/html

swiftmailer:
transport: "sendmail"

liip_imagine:
resolvers:
Expand Down Expand Up @@ -167,15 +160,6 @@ services:
# and caused some queries to break.
- [ execute, [ 'SET sql_mode = REPLACE(@@SESSION.sql_mode, "ONLY_FULL_GROUP_BY", "")'] ]
- [ setDebug, [ "%kernel.debug%" ]]
mailer_configurator:
class: Common\Mailer\Configurator
tags:
- { name: kernel.event_listener, event: kernel.request, method: onKernelRequest }
- { name: kernel.event_listener, event: console.command, method: onConsoleCommand }
arguments:
- "@fork.settings"
- "@service_container"

cache.filesystem.adapter:
class: League\Flysystem\Adapter\Local
arguments:
Expand Down Expand Up @@ -265,6 +249,11 @@ services:
tags:
- { name: twig.extension }

Common\Core\Twig\Extensions\UtmExtension:
public: false
tags:
- { name: twig.extension }

ForkCMS\Google\TagManager\DataLayer:
public: true

Expand Down Expand Up @@ -296,3 +285,11 @@ services:
alias: 'Symfony\Component\Messenger\MessageBusInterface'
public: true

Symfony\Component\Mailer\MailerInterface:
alias: mailer.mailer
public: true

Common\Mailer\EmailFactory:
public: true
arguments:
- "@fork.settings"
5 changes: 5 additions & 0 deletions app/config/config_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,8 @@ services:
public: true
arguments:
- "%site.path_www%"

Common\Mailer\EmailFactory:
public: true
arguments:
- "@fork.settings"
2 changes: 2 additions & 0 deletions app/config/parameters.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ parameters:
action.group_tag: '<action-group-tag>'
action.rights_level: <action-rights-level>

mailer.dsn: 'smtp://127.0.0.1:1025'

sentry.dsn: ''
2 changes: 2 additions & 0 deletions app/config/parameters.yml.test
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ parameters:

action.group_tag: '\@actiongroup'
action.rights_level: 7

mailer.dsn: 'null://null'
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
"simple-bus/doctrine-orm-bridge": "6.2.*",
"simple-bus/symfony-bridge": "~6.2",
"spoon/library": "^4.0",
"swiftmailer/swiftmailer": "^6.0",
"symfony/monolog-bundle": "^3.1",
"symfony/swiftmailer-bundle": "^3.0",
"symfony/console": "^5.4",
"symfony/dotenv": "^5.4",
"symfony/framework-bundle": "^5.4",
Expand All @@ -52,14 +50,18 @@
"symfony/expression-language": "^5.4",
"symfony/translation": "^5.4",
"symfony/intl": "^5.4",
"tijsverkoyen/css-to-inline-styles": "^2.0",
"phpoffice/phpspreadsheet": "^5.4",
"guzzlehttp/guzzle": "^7.10",
"doctrine/annotations": "^1.14",
"sentry/sentry-symfony": "^5.8",
"symfony/dom-crawler": "^5.4",
"symfony/messenger": "^5.4",
"symfony/string": "^5.4"
"symfony/string": "^5.4",
"symfony/mailer": "^5.4",
"twig/extra-bundle": "^3.23",
"twig/cssinliner-extra": "^3.23",
"twig/string-extra": "^3.23",
"twig/inky-extra": "^3.23"
},
"require-dev": {
"jdorn/sql-formatter": "1.2.17",
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 0 additions & 17 deletions src/Backend/Core/Installer/Data/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2822,23 +2822,6 @@
<translation language="tr"><![CDATA[örn. 20/06/2011]]></translation>
<translation language="pt"><![CDATA[ex.: 18/08/2017]]></translation>
</item>
<item type="message" name="HelpDisplayNameChanges">
<translation language="nl"><![CDATA[Het aantal weergave naam aanpassingen is gelimiteerd tot %1$s. Je kan nog %2$s wijziging(en) maken.]]></translation>
<translation language="en"><![CDATA[The amount of display name changes is limited to %1$s. You have %2$s change(s) left.]]></translation>
<translation language="fr"><![CDATA[Le nombre de changement de nom d'affichage est limité à %1$s. Vous pouvez encore faire %2$s changement(s).]]></translation>
<translation language="it"><![CDATA[Puoi cambiare il nome un massimo di %1$s volte. Hai ancora %2$s modifiche possibili.]]></translation>
<translation language="hu"><![CDATA[A becenevedet %1$s alkalommal tudod megváltoztatni. Neked maradt még %2$s alkalom.]]></translation>
<translation language="ru"><![CDATA[Вы можете изменить своё имя всего %1$s раз. Осталось %2$s.]]></translation>
<translation language="zh"><![CDATA[显示名称允许更改%1$s次,当前剩余%2$s次更改机会。]]></translation>
<translation language="de"><![CDATA[Die Anzahl an Nichname-Änderungen ist auf %1$s limitiert. Du hast noch %2$s Änderung(en) übrig.]]></translation>
<translation language="es"><![CDATA[El número de veces que puedes cambiar el nombre a mostrar esta limitado a %1$s. Te quedan %2$s .]]></translation>
<translation language="lt"><![CDATA[Jus galite savo vardą keisti %1$s kartų. Liko %2$s kartų.]]></translation>
<translation language="uk"><![CDATA[Ви можете змінити своє ім'я всього %1$s раз. Залишилося %2$s.]]></translation>
<translation language="sv"><![CDATA[Antalet ändringar av ditt visningsnamn är begränsat till %1$s. Du har %2$s ändring(ar) kvar..]]></translation>
<translation language="el"><![CDATA[Οι επιτρεπόμενες αλλαγές στο όνομα οθόνης είναι %1$s. Σας απέμειναν %2$s αλλαγές.]]></translation>
<translation language="pl"><![CDATA[Ilość zmian wyświetlanej nazwy jest ograniczona do %1$s. Pozostały ci %2$s zmiany.]]></translation>
<translation language="pt"><![CDATA[O número de vezes que pode alterar o seu nome de ecrã está limitado a %1$s vez(es). Ainda dispõe de %2$s alterações.]]></translation>
</item>
<item type="message" name="HelpImageField">
<translation language="nl"><![CDATA[Enkel bestanden met extensie jp(e)g, gif of png zijn toegelaten.]]></translation>
<translation language="en"><![CDATA[Only jp(e)g, gif or png-files are allowed.]]></translation>
Expand Down
Loading
Loading