Skip to content

0.4 (Alpha)

Pre-release
Pre-release
Compare
Choose a tag to compare
@FlxAlbroscheit FlxAlbroscheit released this 11 Jun 14:54
· 156 commits to master since this release

Major update containing breaking changes.

This release (and the following commits till 0.4) is ought to assist you in upgrading your Drupal/Leipziger Ecken page. Following version 0.4.1 is functionally equivalent, but contains no deprecated features anymore.

List of major changes:

  • Preview of custom webbuilder-module & -theme
  • Configurations are not anymore managed via dedicated features-modules, but via Drupal 8 Configuration Manager
  • Google Analytics replaced with Matomo; ReCaptcha replaced with hCaptcha
  • Dropped several deprecated or unused modules
  • Files/Images are managed via Media module
  • Docker support
  • Updated folder and theme-structure
  • More consistent German wording

Upgrade process:

  • Backup DB & file system. Copy the contents of web/modules/ to a special place, you will need them soon!
  • Update git, point your WAMP/LAMP-server to "src/drupal/web"
  • Run cd src/drupal && composer install
  • Clear cache / Truncate all cache_* - tables (drush cache:clear)
  • Run configuration import routine via UI (/admin/config/development/configuration) or drush*
  • Migrate image fields to media field drush le_migrate_media:image-to-media
  • Clear cache, validate successful import

*Drupal may complain about several missing modules that are required for de-installation, but are not in composer.json anymore. For the purpose of the configuration import routine, copy these modules temporarily back to src/drupal/web/modules. This includes:
features, config_update, google_analytics, le_api, recaptcha, rules

Missing features:

These features have no/less priority, but will be in the final 0.4/0.4.1 release:

  • Approved installation process (profile)
  • Field le_*_image is removed in favor of global media fields
  • If necessary, move .htaccess to .htaccess.default for security purposes
  • Update jsonapi endpoints

The following issues are known and worked on:

  • Akteure-filter in view "media" selection is not yet working properly, e.g. when uploading media for a not-yet-added Akteur
  • Some webbuilder links return empty pages