Commit Graph

68 Commits

Author SHA1 Message Date
Jeroen De Meerleer a3c53ffc80
Update package versions and dependencies for multiple Symfony components. 2024-03-26 15:47:45 +01:00
Jeroen De Meerleer 60de619080
Add 'connect-src' directive to Content Security Policy
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').
2024-02-07 17:22:05 +01:00
Jeroen De Meerleer 3305c26750
Refactor easter egg functionality, fetch strings from JSON
- 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.
2024-02-07 16:15:43 +01:00
Jeroen De Meerleer d6b87569a6
Update PHP version requirement to 8.3 in composer.json
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,
2024-02-07 12:49:46 +01:00
Jeroen De Meerleer 1c38432467
Add Easter Egg functionality to the page.js file
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.
2024-02-07 12:42:38 +01:00
Jeroen De Meerleer c7b7285403
Refactor HTML and SCSS for improved structure and styling
- 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`
2024-02-07 12:40:26 +01:00
Jeroen De Meerleer 766622f0fc
Updated to symfony 7.0 2023-12-07 12:05:21 +01:00
Jeroen De Meerleer 09ceadb170
Updated dependencies 2023-10-17 09:17:08 +02:00
Jeroen De Meerleer 4cb2b07862
Refactor page title logic in base.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".
2023-10-13 09:28:01 +02:00
Jeroen De Meerleer 563c97925f
Refactor service and controller code, update file paths
- 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.
2023-10-13 09:22:40 +02:00
Jeroen De Meerleer 529ced6a26
Fixed build 2023-10-12 15:09:07 +02:00
Jeroen De Meerleer 7a04b1b987
Updated dependencies 2023-10-12 15:08:56 +02:00
Jeroen De Meerleer 94b528d726
Update nav background color and add text color in base.scss
The commit updates the background color of the navigation bar and adds a new text color in the base.scss file.
2023-10-12 14:39:52 +02:00
Jeroen De Meerleer 55788ecbb0
Update symfony/cache, symfony/config, symfony/console, symfony/dependency-injection, symfony/error-handler, symfony/event-dispatcher, and symfony/finder to version v6.3.2.
- 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
2023-08-05 10:32:37 +02:00
Jeroen De Meerleer 98781357b9
Updated security 2023-08-04 14:27:37 +02:00
Jeroen De Meerleer 27a4295589
Add NelmioSecurityBundle v3.0.0 and Symfony Password Hasher v6.3.0 dependencies
- Added "nelmio/security-bundle" version "^3.0" to composer.json
- Added "symfony/password-hasher" version "v6.3.0" to composer.lock
2023-07-06 09:42:42 +02:00
Jeroen De Meerleer ea3814991d
Update Symfony packages to version 6.3 2023-06-27 12:11:04 +02:00
Jeroen De Meerleer fee87ef707
Fix typo in README.md copyright notice
The commit fixes a typo in the copyright notice of the README.md file. The word "Copyright" was misspelled as "(c)".
2023-06-27 11:25:49 +02:00
Jeroen De Meerleer 6962d85075
UPDATED DEPENDENCIES 2023-04-25 15:16:13 +02:00
Jeroen De Meerleer f1ac70f96b
Updated dependencies 2023-04-12 11:25:41 +02:00
Jeroen De Meerleer 530c29b400
Added possibility to add stylesheets and javascripts 2023-03-23 11:32:46 +01:00
Jeroen De Meerleer 9e03804a64
Added footer page 2023-03-22 14:44:40 +01:00
Jeroen De Meerleer 8df7870753
ENHANCEMENT: more custom bootstrap 2023-03-22 14:02:04 +01:00
Jeroen De Meerleer 64696d0619
Removed icons 2023-03-22 11:51:49 +01:00
Jeroen De Meerleer 1fff561ee1
ENHANCEMENT: allowing HTML pages 2023-03-22 11:49:46 +01:00
Jeroen De Meerleer 434159b285
Implemented new design 2023-03-21 15:36:26 +01:00
Jeroen De Meerleer 45b72e0a3d
Updated dependencies 2023-03-03 12:35:13 +01:00
Jeroen De Meerleer cccd0d28a9
UPDATED DEPENDENCIES 2023-01-27 09:58:38 +01:00
Jeroen De Meerleer 606b962d63
ADDED SAMPLE CONF 2022-09-12 16:33:24 +02:00
Jeroen De Meerleer f66dfa4fe6
UPDATED FAVICON 2022-09-12 16:09:14 +02:00
Jeroen De Meerleer 6165c58ca6
UPDATED DEPENDENCIES 2022-09-12 15:33:40 +02:00
Jeroen De Meerleer 38d05749fd
BUGFIX: caching fixes 2022-09-12 15:18:46 +02:00
Jeroen De Meerleer d926191539
BUGFIX: make it working behind a proxy 2022-09-12 15:18:24 +02:00
Jeroen De Meerleer 04b843ef44
ENHANCEMENT: Using webpack again 2022-09-12 15:18:11 +02:00
Jeroen De Meerleer 62fd0a4e81
Updated dependencies 2022-07-28 16:19:35 +02:00
Jeroen De Meerleer 9e20b84862
ENHANCEMENT: Reimplemented CSP 2022-06-08 14:07:44 +02:00
Jeroen De Meerleer 74b238c3d5
BUGFIX: fixed error pages 2022-04-29 13:51:06 +02:00
Jeroen De Meerleer 7942801015
ENHANCEMENT: using vite instead of webpack 2022-04-29 12:28:44 +02:00
Jeroen De Meerleer ccb77c95fe
BUGFIX: using standard symfony framework 2022-04-29 12:04:17 +02:00
Jeroen De Meerleer a870a4a58c
ENHANCEMENT: added icons 2022-03-31 14:53:39 +02:00
Jeroen De Meerleer 8219be18b8
UPDATED DEPENDENCIES 2022-03-31 13:52:42 +02:00
Jeroen De Meerleer ba4d0a414b
BUGFIX: CSP for forms 2022-03-31 13:51:38 +02:00
Jeroen De Meerleer 339c364910
ENHANCEMENT: Added gradient to nineties toggle 2022-02-04 11:27:48 +01:00
Jeroen De Meerleer 95eb634297
BUGFIX: Added referrer policy and frame-ancestors 2022-02-02 13:14:29 +01:00
Jeroen De Meerleer ce70f7fdbc
ENHANCEMENT: implemented CSP 2022-02-01 14:29:41 +01:00
Jeroen De Meerleer c9b109601a
ENHANCEMENT: added security hardening 2022-01-31 15:37:11 +01:00
Jeroen De Meerleer 0ae17fd1d9
BUGFIX: remove unnecessary scrolling 2022-01-27 15:55:56 +01:00
Jeroen De Meerleer 06c9af12d1
Updated dependencies 2022-01-26 11:32:27 +01:00
Jeroen De Meerleer 7f550df24a
ENHANCEMENT: Creating custom width styles 2022-01-26 11:25:34 +01:00
Jeroen De Meerleer 809fae2edd
BUGFIX: internal url can start with / 2021-12-31 18:22:31 +01:00