This change simplifies trusted host settings, removing reliance on environment variables.
- Enables all hostnames by using a wildcard pattern.
- Fixes potential issues with dynamic environments.
This is a security configuration update that is suitable for development environments.
Updates composer.lock with new packages and updates existing dependencies.
- Adds merge-plugin configuration to composer.json to include composer.libraries.json files from specified webform, anchor_link and masonry modules.
- Updates versions of illuminate components.
- Adds new javascript libraries such as algolia/places, choices/choices, jquery, popperjs and signature_pad.
Ensures proper trusted host configuration by dynamically setting patterns based on the SERVER_NAME environment variable.
- Uses SERVER_NAME env variable or defaults to 'localhost'.
- Extracts domain name and configures trusted host patterns.
- Adds localhost, 127.0.0.1 and extracted domain to the trusted host list.
Updates settings.php to include necessary database configurations.
- Adds `isolation_level` to the database settings array.
- Ensures the `autoload` path ends with a forward slash.
- Prevents potential database connection issues.
Adds a MariaDB service to the docker-compose.yml file for local development.
- Defines a MariaDB container with persistent volume for data.
- Exposes port 3306 for database access.
- Sets default database credentials.
Mount the default files directory to persist uploaded media.
- Ensures persistent storage of uploaded files.
- Prevents data loss on container restarts.
The database initialization volume was pointing to a non-existent directory.
- Update volume mount path to use the correct directory
- Corrected `db2` to `db`
This ensures that the database is properly initialized on startup.
Addresses minor spacing issue in the GTM noscript tag.
- Removes extra space after the tag.
- Improves code readability.
This change doesn't affect functionality.
This commit introduces a new Twig template for the main help menu.
- Creates `menu--main-help.html.twig` to define the menu structure.
- Implements a recursive macro for rendering nested menu links.
- Adds classes for styling and interactivity.
This commit adds the initial IDE configuration files for the project.
- Configures code style settings for consistent formatting.
- Sets up inspection profiles for code quality checks.
- Adds project-specific settings for various tools.
This commit updates the Drupal image source to use the Harbor registry.
- Switch from `d4science/website` to `harbor.d4science.org/d4science-website/drupal:latest`.
- Ensures we're using the most recent Drupal image.
- Improves image management and version control.
This commit updates the .gitignore and .dockerignore files to use a more comprehensive template.
- Replaces the existing content with a template from gitignore.io, covering a wider range of ignored files.
- Includes ignores for Git, Linux, macOS, Windows, PhpStorm, Visual Studio Code, Drupal, and Composer.
- Simplifies file management and reduces unnecessary files in the repository.
Fixes an issue where the COMPOSER_ALLOW_SUPERUSER environment variable was not being set correctly.
- Changes `ENV COMPOSER_ALLOW_SUPERUSER 1` to `ENV COMPOSER_ALLOW_SUPERUSER=1`
- Ensures the variable is properly interpreted by the shell.
This commit migrates the database from PostgreSQL to MariaDB for development.
- Updates docker-compose files to use MariaDB image and configuration.
- Adjusts environment variables to reflect MariaDB settings (port, driver).
- Removes PostgreSQL-related configurations.
- Update .gitignore and .dockerignore with comprehensive rules from Toptal's gitignore templates.
- Add rules for macOS, Drupal, Composer, and PhpStorm to exclude unnecessary files.
- Enhance project cleanliness and reduce commit noise.
Updates dependencies in composer.lock.
- Updates drupal/better_exposed_filters from 7.0.4 to 7.0.5.
- Updates gravitypdf/querypath from 3.1.4 to 4.1.0 with PHP 8.3 support.
- Updates multiple Symfony packages to v6.4.18.