Skip to content

Commit

Permalink
Merge pull request #120 from KnpLabs/revert-118-module/mailer-v2
Browse files Browse the repository at this point in the history
Revert "module: mailer v2"
  • Loading branch information
AntoineGonzalez authored Apr 23, 2024
2 parents 3a692d9 + 7c164f6 commit 513b4f7
Show file tree
Hide file tree
Showing 15 changed files with 70 additions and 315 deletions.
2 changes: 1 addition & 1 deletion .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ MYSQL_VERSION=8.0.27
MYSQL_DATABASE=databasorus
MYSQL_USER=user
MYSQL_PASSWORD=password
MAILER_DSN=smtp://mailhog:1025
MAILER_DSN=smtp://mailhog:1025
Binary file removed assets/images/email/dino.png
Binary file not shown.
Binary file removed assets/pdf/cgu.pdf
Binary file not shown.
13 changes: 0 additions & 13 deletions assets/styles/email/dinosaur_has_been_created.css

This file was deleted.

12 changes: 0 additions & 12 deletions assets/styles/email/layout.css

This file was deleted.

1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"symfony/validator": "^7.0",
"symfony/web-link": "^7.0",
"symfony/yaml": "^7.0",
"twig/cssinliner-extra": "^3.9",
"twig/extra-bundle": "^3.8",
"twig/twig": "^3.8"
},
Expand Down
254 changes: 66 additions & 188 deletions composer.lock

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

4 changes: 0 additions & 4 deletions config/packages/mailer.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
framework:
mailer:
dsn: '%env(MAILER_DSN)%'
envelope:
sender: 'jurrasic.park@mail.com'
headers:
From: 'Jurassic Park <jurrasic.park@mail.com>'
5 changes: 1 addition & 4 deletions config/packages/twig.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
twig:
default_path: '%kernel.project_dir%/templates'
paths:
'%kernel.project_dir%/assets/images': images
'%kernel.project_dir%/assets/styles': styles
form_themes:
form_themes:
- 'bootstrap_5_layout.html.twig'
- 'form/bootstrap_5_layout.html.twig'

Expand Down
1 change: 0 additions & 1 deletion config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ parameters:
env(MYSQL_DATABASE): '%env(resolve:MYSQL_DATABASE)%'
env(MYSQL_USER): '%env(resolve:MYSQL_USER)%'
env(MYSQL_PASSWORD): '%env(resolve:MYSQL_PASSWORD)%'
app.pdf_directory: '%kernel.project_dir%/assets/pdf'

services:
# default configuration for services in *this* file
Expand Down
6 changes: 0 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,5 @@ services:
- db-data:/var/lib/mysql:rw
restart: unless-stopped

mailhog:
image: mailhog/mailhog
restart: on-failure
ports:
- 127.0.0.1:8025:8025

volumes:
db-data: ~
Loading

0 comments on commit 513b4f7

Please sign in to comment.