Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
9f19c23
contact form backend
Sep 25, 2026
2953fbe
php test: update query
Sep 25, 2026
7c5358a
Contact form inject method
Sep 28, 2026
b5dcd29
Added recommended contact form handling and template rendering
Sep 29, 2026
5cc0b94
Add tests
Sep 29, 2026
51c995c
update handler names and routes
Sep 29, 2026
c4c081b
update handler names and routes
OStefan2001 Sep 29, 2026
55069b4
updated wsl2 - node version to 24
bidi47 Sep 29, 2026
ebfcaf7
updated wsl2 page
bidi47 Sep 29, 2026
5417fe2
Remove or fix dead-link
OStefan2001 Sep 29, 2026
ee97099
Update post slug to Autologin using Cookie post and and posibility to…
OStefan2001 Sep 30, 2026
21db1e4
add test
OStefan2001 Sep 30, 2026
dc1c07c
update test
OStefan2001 Sep 30, 2026
5fe2faa
Merge pull request #252 from dotkernel/wsl2-page1
arhimede Sep 30, 2026
6f3fb24
Merge pull request #255 from dotkernel/issue-254
arhimede Sep 30, 2026
dbe26af
Merge pull request #247 from dotkernel/contact-form
arhimede Sep 30, 2026
ad7b091
fix dead link
OStefan2001 Sep 30, 2026
e3f8e9c
Merge pull request #253 from dotkernel/dead-link-check
arhimede Sep 30, 2026
1ba888f
fix dead link
OStefan2001 Sep 30, 2026
2387bac
fix dead link
OStefan2001 Sep 30, 2026
9fbba1b
add https to links in .md files
OStefan2001 Sep 30, 2026
8800651
Update http to https
OStefan2001 Oct 1, 2026
d7a9cf1
Merge pull request #257 from dotkernel/dead-link-check-v2
bidi47 Oct 1, 2026
2ebd469
updated wsl2 page - added comparison table
bidi47 Oct 1, 2026
fd59b9f
Merge pull request #258 from dotkernel/wsl2-page1
arhimede Oct 2, 2026
d785919
updated wsl2 page - comparison table
bidi47 Oct 2, 2026
f0f6c5e
added star button
bidi47 Oct 2, 2026
afdfbd6
updated htaccess
bidi47 Oct 2, 2026
c799aea
Merge pull request #261 from dotkernel/wsl2-page1
arhimede Oct 2, 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: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"doctrine/data-fixtures": "^2.2",
"doctrine/doctrine-fixtures-bundle": "^4.3",
"dotkernel/dot-cache": "^4.0",
"dotkernel/dot-dependency-injection": "^1.4",
"dotkernel/dot-errorhandler": "^5.0.0",
"dotkernel/dot-mail": "^5.4",
"dotkernel/dot-response-header": "^3.6",
"laminas/laminas-component-installer": "^3.5.0",
"laminas/laminas-config-aggregator": "^1.17.0",
Expand Down
5 changes: 2 additions & 3 deletions config/autoload/local.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,12 @@ return [
'sitemap' => [
'path' => realpath(__DIR__ . '/../../public/sitemap.xml'),
],
// `dotkernel-packages-oss-lifecycle` is intentionally absent: it has a dedicated handler
// and is routed in Light\App\RoutesDelegator. Re-adding it here registers the path twice.
// `dotkernel-packages-oss-lifecycle` and `contact` are intentionally absent: they have dedicated
// handlers and are routed in Light\App\RoutesDelegator. Re-adding them here registers the path twice.
'routes' => [
'page' => [
// Linked from the footer on every page, so this route must stay registered.
'about' => 'about',
'contact' => 'contact',
'api' => 'api',
'admin' => 'admin',
'queue' => 'queue',
Expand Down
39 changes: 39 additions & 0 deletions config/autoload/mail.global.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?php

declare(strict_types=1);

$contactEmail = 'example@mail.com';

return [
'dot_mail' => [
'contact' => [
'message_options' => [
'from' => $contactEmail,
'from_name' => 'Dotkernel',
'to' => [$contactEmail],
'subject' => 'New contact form submission',
'body' => [
'content' => '',
'charset' => 'utf-8',
],
'attachments' => [
'files' => [],
'dir' => [
'iterate' => false,
'path' => 'data/mail/attachments',
'recursive' => false,
],
],
],
'transport' => 'sendmail',
],
'log' => [
'sent' => getcwd() . '/log/mail-sent.log',
],
],
'twig' => [
'globals' => [
'contact_email' => $contactEmail,
],
],
];
2 changes: 2 additions & 0 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@
\Mezzio\Twig\ConfigProvider::class,

// Dotkernel packages
\Dot\DependencyInjection\ConfigProvider::class,
\Dot\ErrorHandler\ConfigProvider::class,
\Dot\Log\ConfigProvider::class,
\Dot\Mail\ConfigProvider::class,
\Dot\Cache\ConfigProvider::class,
\Dot\ResponseHeader\ConfigProvider::class,

Expand Down
1 change: 1 addition & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RedirectMatch 404 ^/(wp-login\.php|wp-admin|wp-content|wp-includes|xmlrpc\.php)
# Block known spam/probe queries on any URL -> 404
RewriteCond %{REQUEST_URI} ^/
RewriteCond %{QUERY_STRING} ^post_type=wfacp_checkout$ [OR]
RewriteCond %{QUERY_STRING} (^|&)feed= [OR]
RewriteCond %{QUERY_STRING} rest_route
RewriteRule .* - [R=404,L]

Expand Down
2 changes: 1 addition & 1 deletion public/css/contact.css

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

1 change: 1 addition & 0 deletions public/images/app/stack/ddev.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/app/stack/docker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/app/stack/laragon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/app/stack/wsl2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading