Upgraded several dependencies to their latest versions, including composer/ca-bundle, symfony/asset, and symfony/cache among others. This update also includes changes in the reference URLs and timestamps for these packages.
- Updated various package versions in composer.json
- Increased the required Symfony version in composer.json
- Updated content-hash, package versions, references, and timestamps in composer.lock
The copyright year in the description field of package.json has been updated to reflect the current year. Additionally, the repository URL has been changed to point to a new location.
The project's dependencies have been updated to their latest stable versions. This includes updates for several Symfony components, the Nelmio security bundle, and other related packages. The composer.lock file has also been updated accordingly to reflect these changes.
This commit adds the 'connect-src' directive to the Content Security Policy in the nelmio_security.yaml file. This allows connections only to the same origin ('self').
- Refactored the `initEasterEgg` function to fetch easter egg strings from a JSON file instead of hardcoding them.
- Removed the unused `eastereggstrings` array.
- Updated event listener to use arrow function syntax (`evt`) instead of `event`.
- Added error handling for failed fetch requests.
The PHP version requirement in composer.json has been updated from 8.2 to 8.3. This change ensures compatibility with the latest version of PHP.
Update ca-bundle package to version 1.4.0
The ca-bundle package has been updated from version 1.3.7 to version 1.4.0. This update includes bug fixes and improvements.
Update parsedown package to latest version
The parsedown package has been updated to the latest available version, which is not specified in the code changes.
Update nelmio/security-bundle package to version v3.1.1
The nelmio/security-bundle package has been updated from version v3.1.0 to v3.1.1,
This commit adds an Easter Egg feature to the page.js file. When the document is fully loaded, the initEasterEgg() function is called, which listens for clicks on the body element. If the clicked element is not an interactive element or does not trigger an event, a random hue shift filter is applied to the body and a random string from a predefined list of strings is displayed in a designated HTML element with class "easter-egg". The commit also includes a helper function, isInteractiveElement(), which checks if an element is interactive or triggers an event.
- Removed unnecessary CSS properties from `base.scss`
- Added `class="h-100"` to the `<html>` tag in `base.html.twig` for full height
- Added `class="d-flex flex-column h-100"` to the `<body>` tag in `base.html.twig` for flexbox layout
- Updated footer styling in `base.html.twig` with additional classes
- Added `class="flex-shrink-0"` to the `<main>` tag in `page.html.twig`
The commit refactors the logic for generating the page title in base.html.twig. The change ensures that if a custom title block is defined, it will be displayed before the default author name "Jeroen De Meerleer".
- Refactored the `Page` class from the `App\Repository` namespace to the `App\Service` namespace.
- Updated the file path references in the `getPage()` method of the `Page` class to use `$this->kernel` instead of `$kernel`.
- Renamed the file from `src/Repository/Page.php` to `src/Service/Page.php`.
- Updated the import statement in the `DefaultController.php` file to reflect this change.
This commit improves code organization and ensures that file paths are correctly referenced.
- Updated the versions of various Symfony components to v6.3.2
- Updated the source and dist URLs for the updated components
- Updated the support URLs for the updated components