From eecf268e155a1751519d413beb2a6716de129830 Mon Sep 17 00:00:00 2001 From: jackwrfuller Date: Sat, 28 Mar 2026 08:40:15 +1100 Subject: [PATCH 1/4] begin refactor --- .ahoy.yml | 2 +- .docker/Dockerfile.govcms | 3 - .env.default | 2 +- .gitignore | 1 + composer.json | 9 +- custom/composer/composer.json | 6 - custom/composer/patches.json | 4 - modules/README.md | 14 -- modules/distro/.DS_Store | Bin 6148 -> 0 bytes modules/distro/govcms8_foundations/README.md | 3 - .../govcms8_foundations.info.yml | 7 - .../modules/govcms8_calendar_item/README.md | 3 - .../govcms8_calendar_item.info.yml | 7 - .../govcms8_calendar_item.libraries.yml | 6 - .../govcms8_calendar_item.module | 35 --- .../govcms8_calendar_item/js/calendar_item.js | 28 --- .../src/Plugin/DsField/CalendarItemDate.php | 90 -------- .../CalendarItemDateFormatter.php | 65 ------ .../templates/calendar_item_date.html.twig | 17 -- .../modules/govcms8_layouts/README.md | 5 - .../govcms8_layouts/govcms8_layouts.info.yml | 7 - .../govcms8_layouts.layouts.yml | 200 ------------------ .../page_layouts/govcms_page.html.twig | 64 ------ .../page_layouts/images/page_12_12.png | Bin 1782 -> 0 bytes .../page_layouts/images/page_4_8.png | Bin 1890 -> 0 bytes .../page_layouts/images/page_6_6.png | Bin 1829 -> 0 bytes .../page_layouts/images/page_8_4.png | Bin 1870 -> 0 bytes .../page_layouts/images/page_edgy.png | Bin 1672 -> 0 bytes .../page_layouts/page_12_12.html.twig | 8 - .../templates/page_layouts/page_4_8.html.twig | 7 - .../templates/page_layouts/page_6_6.html.twig | 7 - .../templates/page_layouts/page_8_4.html.twig | 7 - .../page_layouts/page_edgy.html.twig | 53 ----- .../viewmode_layouts/calendar_item.html.twig | 66 ------ .../viewmode_layouts/images/calendar_item.png | Bin 1545 -> 0 bytes .../viewmode_layouts/images/search.png | Bin 1619 -> 0 bytes .../viewmode_layouts/images/stack_detail.png | Bin 1822 -> 0 bytes .../viewmode_layouts/images/stack_simple.png | Bin 1588 -> 0 bytes .../viewmode_layouts/images/summary.png | Bin 1619 -> 0 bytes .../viewmode_layouts/images/teaser.png | Bin 1676 -> 0 bytes .../viewmode_layouts/images/teaser_small.png | Bin 1532 -> 0 bytes .../viewmode_layouts/search.html.twig | 58 ----- .../viewmode_layouts/stack_detail.html.twig | 67 ------ .../viewmode_layouts/stack_simple.html.twig | 60 ------ .../viewmode_layouts/summary.html.twig | 58 ----- .../viewmode_layouts/teaser.html.twig | 67 ------ .../viewmode_layouts/teaser_small.html.twig | 67 ------ .../modules/govcms8_modifiers/README.md | 5 - .../govcms8_modifiers.info.yml | 7 - .../govcms8_modifiers.libraries.yml | 17 -- .../govcms8_modifiers.modifiers.yml | 28 --- .../js/jarallax/jarallax.min.js | 7 - .../js/modifiers_bg_parallax.apply.js | 40 ---- .../js/modifiers_relative_height.apply.js | 42 ---- .../modifiers/ColorBackgroundModifier.php | 50 ----- .../Plugin/modifiers/CustomColorsModifier.php | 64 ------ .../CustomLinearGradientModifier.php | 46 ---- .../src/Plugin/modifiers/ImageBgModifier.php | 53 ----- .../src/Plugin/modifiers/PaddingModifier.php | 50 ----- .../Plugin/modifiers/ParallaxBgModifier.php | 53 ----- .../modifiers/RelativeHeightModifier.php | 58 ----- modules/distro/govcms8_layouts/README.md | 5 - .../govcms8_layouts/govcms8_layouts.info.yml | 8 - .../govcms8_layouts.layouts.yml | 200 ------------------ .../page_layouts/govcms_page.html.twig | 64 ------ .../page_layouts/images/page_12_12.png | Bin 1782 -> 0 bytes .../page_layouts/images/page_4_8.png | Bin 1890 -> 0 bytes .../page_layouts/images/page_6_6.png | Bin 1829 -> 0 bytes .../page_layouts/images/page_8_4.png | Bin 1870 -> 0 bytes .../page_layouts/images/page_edgy.png | Bin 1672 -> 0 bytes .../page_layouts/page_12_12.html.twig | 8 - .../templates/page_layouts/page_4_8.html.twig | 7 - .../templates/page_layouts/page_6_6.html.twig | 7 - .../templates/page_layouts/page_8_4.html.twig | 7 - .../page_layouts/page_edgy.html.twig | 53 ----- .../viewmode_layouts/calendar_item.html.twig | 66 ------ .../viewmode_layouts/images/calendar_item.png | Bin 1545 -> 0 bytes .../viewmode_layouts/images/search.png | Bin 1619 -> 0 bytes .../viewmode_layouts/images/stack_detail.png | Bin 1822 -> 0 bytes .../viewmode_layouts/images/stack_simple.png | Bin 1588 -> 0 bytes .../viewmode_layouts/images/summary.png | Bin 1619 -> 0 bytes .../viewmode_layouts/images/teaser.png | Bin 1676 -> 0 bytes .../viewmode_layouts/images/teaser_small.png | Bin 1532 -> 0 bytes .../viewmode_layouts/search.html.twig | 58 ----- .../viewmode_layouts/stack_detail.html.twig | 67 ------ .../viewmode_layouts/stack_simple.html.twig | 60 ------ .../viewmode_layouts/summary.html.twig | 58 ----- .../viewmode_layouts/teaser.html.twig | 67 ------ .../viewmode_layouts/teaser_small.html.twig | 67 ------ 89 files changed, 4 insertions(+), 2421 deletions(-) delete mode 100644 custom/composer/composer.json delete mode 100644 custom/composer/patches.json delete mode 100644 modules/README.md delete mode 100644 modules/distro/.DS_Store delete mode 100644 modules/distro/govcms8_foundations/README.md delete mode 100644 modules/distro/govcms8_foundations/govcms8_foundations.info.yml delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_calendar_item/README.md delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_calendar_item/govcms8_calendar_item.info.yml delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_calendar_item/govcms8_calendar_item.libraries.yml delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_calendar_item/govcms8_calendar_item.module delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_calendar_item/js/calendar_item.js delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_calendar_item/src/Plugin/DsField/CalendarItemDate.php delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_calendar_item/src/Plugin/Field/FieldFormatter/CalendarItemDateFormatter.php delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_calendar_item/templates/calendar_item_date.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/README.md delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/govcms8_layouts.info.yml delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/govcms8_layouts.layouts.yml delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/govcms_page.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/images/page_12_12.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/images/page_4_8.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/images/page_6_6.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/images/page_8_4.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/images/page_edgy.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_12_12.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_4_8.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_6_6.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_8_4.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_edgy.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/calendar_item.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/calendar_item.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/search.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/stack_detail.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/stack_simple.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/summary.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/teaser.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/teaser_small.png delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/search.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/stack_detail.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/stack_simple.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/summary.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/teaser.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/teaser_small.html.twig delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/README.md delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.info.yml delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.libraries.yml delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.modifiers.yml delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/js/jarallax/jarallax.min.js delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/js/modifiers_bg_parallax.apply.js delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/js/modifiers_relative_height.apply.js delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/src/Plugin/modifiers/ColorBackgroundModifier.php delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/src/Plugin/modifiers/CustomColorsModifier.php delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/src/Plugin/modifiers/CustomLinearGradientModifier.php delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/src/Plugin/modifiers/ImageBgModifier.php delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/src/Plugin/modifiers/PaddingModifier.php delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/src/Plugin/modifiers/ParallaxBgModifier.php delete mode 100644 modules/distro/govcms8_foundations/modules/govcms8_modifiers/src/Plugin/modifiers/RelativeHeightModifier.php delete mode 100644 modules/distro/govcms8_layouts/README.md delete mode 100644 modules/distro/govcms8_layouts/govcms8_layouts.info.yml delete mode 100644 modules/distro/govcms8_layouts/govcms8_layouts.layouts.yml delete mode 100644 modules/distro/govcms8_layouts/templates/page_layouts/govcms_page.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/page_layouts/images/page_12_12.png delete mode 100644 modules/distro/govcms8_layouts/templates/page_layouts/images/page_4_8.png delete mode 100644 modules/distro/govcms8_layouts/templates/page_layouts/images/page_6_6.png delete mode 100644 modules/distro/govcms8_layouts/templates/page_layouts/images/page_8_4.png delete mode 100644 modules/distro/govcms8_layouts/templates/page_layouts/images/page_edgy.png delete mode 100644 modules/distro/govcms8_layouts/templates/page_layouts/page_12_12.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/page_layouts/page_4_8.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/page_layouts/page_6_6.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/page_layouts/page_8_4.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/page_layouts/page_edgy.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/calendar_item.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/images/calendar_item.png delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/images/search.png delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/images/stack_detail.png delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/images/stack_simple.png delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/images/summary.png delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/images/teaser.png delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/images/teaser_small.png delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/search.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/stack_detail.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/stack_simple.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/summary.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/teaser.html.twig delete mode 100644 modules/distro/govcms8_layouts/templates/viewmode_layouts/teaser_small.html.twig diff --git a/.ahoy.yml b/.ahoy.yml index d2bb51377..c8b8bff43 100644 --- a/.ahoy.yml +++ b/.ahoy.yml @@ -105,7 +105,7 @@ commands: test-phpunit: usage: Run PHPUnit tests. - cmd: docker compose exec cli phpunit --testsuite govcms + cmd: docker compose exec test phpunit --testsuite govcms test-redis: usage: Verify redis can accept connections. diff --git a/.docker/Dockerfile.govcms b/.docker/Dockerfile.govcms index f775772ee..f3a8dde4d 100644 --- a/.docker/Dockerfile.govcms +++ b/.docker/Dockerfile.govcms @@ -11,9 +11,6 @@ ARG GOVCMS_PROJECT_VERSION COPY composer.* /app/ -# Copy base file for extensible saas. -COPY custom /app/custom - # Install yq for YAML parsing. RUN case $(uname -m) in x86_64) ARCH="amd64" ;; aarch64) ARCH="arm64" ;; *) ARCH="amd64" ;; esac \ && wget -O /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/2.4.0/yq_linux_${ARCH}" \ diff --git a/.env.default b/.env.default index 4bf5b0830..36571a735 100644 --- a/.env.default +++ b/.env.default @@ -35,7 +35,7 @@ X_FRAME_OPTIONS=SAMEORIGIN # Set the version of GovCMS and Drupal Core to use - you can use a tag or branch reference (3.x-dev) here # See https://github.com/govCMS/GovCMS/releases -GOVCMS_PROJECT_VERSION=4.2.0 +GOVCMS_PROJECT_VERSION=dev-4.x-develop # Set the Lagoon tag to use for the upstream dockerfiles (e.g. 20.12.0) # See https://github.com/uselagoon/lagoon-images/releases diff --git a/.gitignore b/.gitignore index fd6143cad..cde5d48b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .env auth.json +.claude diff --git a/composer.json b/composer.json index 00fc336b1..f57a7c28e 100644 --- a/composer.json +++ b/composer.json @@ -7,17 +7,12 @@ { "type": "composer", "url": "https://packages.drupal.org/8" - }, - { - "type": "path", - "url": "custom/composer" } ], "require": { "composer/installers": "^2.0", "cweagans/composer-patches": "^1.7", "govcms/govcms": "dev-4.x-develop", - "govcms/govcms-custom": "*", "govcms/scaffold-tooling": "6.0.5" }, "require-dev": { @@ -57,8 +52,7 @@ "DrupalProject\\composer\\ScriptHandler::checkComposerVersion" ], "post-install-cmd": [ - "DrupalProject\\composer\\ScriptHandler::createRequiredFiles", - "DrupalComposer\\DrupalScaffold\\Plugin::scaffold" + "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" ], "post-update-cmd": [ "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" @@ -69,7 +63,6 @@ "drupal/core": "-p2" }, "enable-patching": true, - "patches-file": "custom/composer/patches.json", "installer-types": [], "drupal-scaffold": { "locations": { diff --git a/custom/composer/composer.json b/custom/composer/composer.json deleted file mode 100644 index 5a6f9d6e3..000000000 --- a/custom/composer/composer.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "govcms/govcms-custom", - "description": "Provides additional packages over the GovCMS base distribution.", - "require": { - } -} diff --git a/custom/composer/patches.json b/custom/composer/patches.json deleted file mode 100644 index b7805831b..000000000 --- a/custom/composer/patches.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "patches": { - } -} diff --git a/modules/README.md b/modules/README.md deleted file mode 100644 index 1c976feda..000000000 --- a/modules/README.md +++ /dev/null @@ -1,14 +0,0 @@ -## 10.x compatibility note. - -Several placeholder modules and themes are shipped in this folder that are not yet ready for D10, or are deprecated from the distribution and only provided here temporarily to provide an upgrade pathway. - -Where modules can be patched they will be pre-patched here. Any patches applied (other than updating the `core_version_requirement` value) will be shipped in the relevant module directory. - -Modules that haven no viable D10 release (e.g no patches yet exist) will have stub modules created in the `stubs` folder. - -### Distribution modules -* `panelizer`: Has 4.x-dev branch in place. -* `govcms8_layouts`: Provides display mode templates still depended on for many sites. -* `ckeditor`: Provides ckeditor4 for backwards compatibility. -* `aggregator`: Provides the module previously found in core for backwards compatibility. -* `video_embed_field`: Provides the deprecated module for backwards compatibility while ckeditor4 remains supported. diff --git a/modules/distro/.DS_Store b/modules/distro/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 [ - 'variables' => [ - 'datetime' => [], - ], - 'template' => 'calendar_item_date', - ], - ]; -} - -/** - * Implements hook_preprocess_HOOK(). - */ -function govcms8_calendar_item_preprocess_calendar_item_date(&$variables) { - $item = $variables['datetime']; - if (!empty($item) && $item instanceof DrupalDateTime) { - $variables['datetime'] = $item->format('Y-m-d'); - $variables['day_textual'] = $item->format('D'); - $variables['day_number'] = $item->format('d'); - $variables['month'] = $item->format('M'); - } -} diff --git a/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/js/calendar_item.js b/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/js/calendar_item.js deleted file mode 100644 index 47273f2e5..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/js/calendar_item.js +++ /dev/null @@ -1,28 +0,0 @@ -(function ($, Drupal, drupalSettings) { - /** - * Add current or past class to events. - */ - Drupal.behaviors.calendarItemCurrentDate = { - attach: function attach(context) { - $('time.calendar-date', context).once('calendar-date').each(function () { - var $calendarDate = $(this); - var dateTime = $calendarDate.attr('datetime'); - if (dateTime !== null) { - // Set the time to 0, we only want to compare - var today = new Date().setHours(0, 0, 0, 0); - var eventDate = new Date(dateTime).setHours(0, 0, 0, 0); - - // If event date is less than today. - if (eventDate < today) { - $calendarDate.closest('.calendar-item').addClass('calendar-item--past'); - } - // If event date is today. - if (eventDate === today) { - $calendarDate.closest('.calendar-item').addClass('calendar-item--current'); - } - } - }); - } - }; - -})(jQuery, Drupal, drupalSettings); diff --git a/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/src/Plugin/DsField/CalendarItemDate.php b/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/src/Plugin/DsField/CalendarItemDate.php deleted file mode 100644 index c36c7a85d..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/src/Plugin/DsField/CalendarItemDate.php +++ /dev/null @@ -1,90 +0,0 @@ -getConfiguration(); - - $form['date field'] = [ - '#type' => 'textfield', - '#title' => 'Field', - '#default_value' => $config['date field'], - ]; - return $form; - } - - /** - * {@inheritdoc} - */ - public function settingsSummary($settings) { - $config = $this->getConfiguration(); - - $summary = []; - $summary[] = 'Field: ' . $config['date field']; - - return $summary; - } - - /** - * {@inheritdoc} - */ - public function defaultConfiguration() { - - $configuration = [ - 'date field' => 'created', - ]; - - return $configuration; - } - - /** - * {@inheritdoc} - */ - public function build() { - $build = []; - $config = $this->getConfiguration(); - $datetime = []; - - $date_field = $config['date field']; - if (!empty($date_field) && $this->entity()->hasField($date_field)) { - $field = $this->entity()->get($date_field)->value; - $timestamp = strtotime($field); - if ($timestamp > 0) { - $datetime = DrupalDateTime::createFromTimestamp($timestamp); - } - else { - $datetime = DrupalDateTime::createFromTimestamp($field); - } - $build = [ - '#theme' => 'calendar_item_date', - '#datetime' => $datetime, - '#attached' => [ - 'library' => [ - 'govcms8_calendar_item/calendar_item', - ], - ], - ]; - } - return $build; - } - -} diff --git a/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/src/Plugin/Field/FieldFormatter/CalendarItemDateFormatter.php b/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/src/Plugin/Field/FieldFormatter/CalendarItemDateFormatter.php deleted file mode 100644 index c57899153..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/src/Plugin/Field/FieldFormatter/CalendarItemDateFormatter.php +++ /dev/null @@ -1,65 +0,0 @@ - $item) { - $elements[$delta] = $this->viewValue($item); - } - - return $elements; - } - - /** - * Generate the output appropriate for one field item. - * - * @param \Drupal\Core\Field\FieldItemInterface $item - * One field item. - * - * @return array - * The textual output generated. - */ - protected function viewValue(FieldItemInterface $item) { - $field = $item->getFieldDefinition(); - if ($field->get('field_type') == 'daterange') { - $value = $item->start_date; - } - else { - $value = $item->date; - } - $build = [ - '#theme' => 'calendar_item_date', - '#datetime' => $value, - '#attached' => [ - 'library' => [ - 'govcms8_calendar_item/calendar_item', - ], - ], - ]; - return $build; - } - -} diff --git a/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/templates/calendar_item_date.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/templates/calendar_item_date.html.twig deleted file mode 100644 index 41ccab35e..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_calendar_item/templates/calendar_item_date.html.twig +++ /dev/null @@ -1,17 +0,0 @@ -{# -/** -* Field template used by the Calendar Item Date Formatter. -*/ -#} -{% set classes = [ - "calendar-date" -] -%} - -{% if datetime %} - -{% endif %} diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/README.md b/modules/distro/govcms8_foundations/modules/govcms8_layouts/README.md deleted file mode 100644 index 028ce8b18..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# GovCMS8 Layouts - -The "GovCMS8 Layouts" module is used to ship layouts for GovCMS. - -These layouts are for content types and view modes. diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/govcms8_layouts.info.yml b/modules/distro/govcms8_foundations/modules/govcms8_layouts/govcms8_layouts.info.yml deleted file mode 100644 index 30ab1f385..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/govcms8_layouts.info.yml +++ /dev/null @@ -1,7 +0,0 @@ -name: 'GovCMS8 Layouts' -type: module -description: 'Provides layouts for the GovCMS8 distribution. [obsolete]' -package: GovCMS [obsolete] -core_version_requirement: ^9 || ^10 -lifecycle: obsolete -lifecycle_link: 'https://github.com/GovCMS/GovCMS' diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/govcms8_layouts.layouts.yml b/modules/distro/govcms8_foundations/modules/govcms8_layouts/govcms8_layouts.layouts.yml deleted file mode 100644 index 8d35e71cd..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/govcms8_layouts.layouts.yml +++ /dev/null @@ -1,200 +0,0 @@ -#### -# Page layouts -#### -page_12_12: - label: Stacked - category: "GovCMS: Page" - template: templates/page_layouts/page_12_12 - icon: templates/page_layouts/images/page_12_12.png - regions: - header: - label: Header - content_top: - label: Content top - content: - label: Content - sidebar: - label: Sidebar - content_bottom: - label: Content bottom - footer: - label: Footer -page_edgy: - label: Edge to edge - category: "GovCMS: Page" - template: templates/page_layouts/page_edgy - icon: templates/page_layouts/images/page_edgy.png - regions: - header: - label: Header - content_top: - label: Content top - content: - label: Content - content_bottom: - label: Content bottom - footer: - label: Footer -page_6_6: - label: Two columns (1:1) - category: "GovCMS: Page" - template: templates/page_layouts/page_6_6 - icon: templates/page_layouts/images/page_6_6.png - regions: - header: - label: Header - content_top: - label: Content top - content: - label: Content - sidebar: - label: Sidebar - content_bottom: - label: Content bottom - footer: - label: Footer -page_8_4: - label: Sidebar Right (2:1) - category: "GovCMS: Page" - template: templates/page_layouts/page_8_4 - icon: templates/page_layouts/images/page_8_4.png - regions: - header: - label: Header - content_top: - label: Content top - content: - label: Content - sidebar: - label: Sidebar - content_bottom: - label: Content bottom - footer: - label: Footer -page_4_8: - label: Sidebar Left (1:2) - category: "GovCMS: Page" - template: templates/page_layouts/page_4_8 - icon: templates/page_layouts/images/page_4_8.png - regions: - header: - label: Header - content_top: - label: Content top - content: - label: Content - sidebar: - label: Sidebar - content_bottom: - label: Content bottom - footer: - label: Footer -#### -# Viewmode layouts -#### -calendar_item: - label: Calendar Item - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/calendar_item - icon: templates/viewmode_layouts/images/calendar_item.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags - date: - label: Date -search: - label: Search - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/search - icon: templates/viewmode_layouts/images/search.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags -stack_simple: - label: Stack simple - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/stack_simple - icon: templates/viewmode_layouts/images/stack_simple.png - regions: - title: - label: Title - info: - label: Info - tags: - label: Tags - image: - label: Image -stack_detail: - label: Stack detail - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/stack_detail - icon: templates/viewmode_layouts/images/stack_detail.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags - image: - label: Image -summary: - label: Summary - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/summary - icon: templates/viewmode_layouts/images/summary.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags -teaser_small: - label: Teaser small - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/teaser_small - icon: templates/viewmode_layouts/images/teaser_small.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags - image: - label: Image -teaser: - label: Teaser - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/teaser - icon: templates/viewmode_layouts/images/teaser.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags - image: - label: Image diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/govcms_page.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/govcms_page.html.twig deleted file mode 100644 index efb7dbdae..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/govcms_page.html.twig +++ /dev/null @@ -1,64 +0,0 @@ -{# -/** -* Base content template for extending. -* Not available via Drupal UI. -*/ -#} -{% - set classes = [ - 'page-layout', -] -%} - - - {% if content.header|render|striptags|trim %} -
-
-
-
- {{ content.header }} -
-
-
-
- {% endif %} - {% if content.content_top|render|striptags|trim or content.content|render|striptags|trim or content.sidebar|render|striptags|trim or content.content_bottom|render|striptags|trim %} -
- {% if content.content_top|render|trim %} -
-
- {{ content.content_top }} -
-
- {% endif %} - {% if content.content|render|striptags|trim or content.sidebar|render|striptags|trim %} -
-
- {{ content.content }} -
- -
- {% endif %} - {% if content.content_bottom|render|striptags|trim %} -
-
- {{ content.content_bottom }} -
-
- {% endif %} -
- {% endif %} - {% if content.footer|render|striptags|trim %} - - {% endif %} - diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/images/page_12_12.png b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/images/page_12_12.png deleted file mode 100644 index a52f640167ef694c7024bcd061dbb5769ae5822c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1782 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfo-j) zi(^Oy2kO#_M8JpKoV8Y}Vq*d|d46*Q(sP-`+_}S|v}IIp}ki$u#HMJ&9Yl@>l-<@!{dS=bw$;OhmtUzqFV7EId2vj>Y!Getw^$ z#yPJ(J-*XsYiA&Oe#6Ss{l(JXejEs~IlN5I{#@>j$IQVWd1mkWGpcxyg+`z5hwt+C z_hjeKkAA+_I`6@UPrpphX~`u_5Y&72VRz}YPfQ!uBK)UL-m(j-Wa{<+iib5pJm?_LcQXG=#X3RE&A2<*QRHm z{r=zB`1xndPra)XHuc)v-;>Vw$ZS^)5bXTWdf*_(pOOvLbD9r`GaXSoq{u1od%|X`t{XBI zDvU|;MPcrOvzgmf9Nsved!><7{9po0N9~D7S=SssnMn*A`7Kv3?l{}%ETr&FF}+k| zqh)~y(-FHTYx{vf=J3WO@uw)$k#z~*GiEVtyxj6MoI_wY`I@%g53-+s{^ji_ z`x%+GZ{I#u%ygsn^{SG#hJGdE;CxxHH*5E%uUq?f+OPcje_zuS|NlMy{(i~t@0XW% z*WcU!|JnUNPk*!2{rvFo(e-}${r`I#-+vIcW(ZB0&#>{gbcTR}!yAT>iM32e-sLZF zY+%^P9N_wmQ(*W0Mm9#KBYX~`H`N{9{9}`1;Sd`2XYQvu8^+o}PX_e(QDH9)}KKURT_Zw40^l?$h^Q1sZRqzxn)A z#>(?ev{FHJb@a+$;omP`t}NQ%9zXrS-@kuf+x_^TZPyjDq1wc^;YQ}6PueUUu?OE> zG+|6y&Ut#hfI=DTZuiS99dp%m_5+JP(Km9w!U|=xHvHjYObRDk(}Hi&ua;ldteySG z+~L8yck3=KQY(8J)qhUlLtskUtF_LZd$)c+vo)NbpWpbnRY`lp{2SKM{;^(fR_-kC zQ~h@CTJUtC>a2HjlRNir{(5EUk$JPKpGPFU&#^7l+_?PNJzopr0BI97rvLx| diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/images/page_6_6.png b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/images/page_6_6.png deleted file mode 100644 index c811b585f6f0fafba867cd823ee0014a244cece1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1829 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbf$ff` zi(^OyQk84xo4HKv43!CrU`EY;o zM2$V+@BhdzRQves<;$0E)$LjMgn#_pP(8=_!R&?&tp!UOHuTqoxpPJ{yK`~;K9OEJ zWrHatf>+MozAn$h;wSt;`u7&`((~qwiQEr88gE|v zU1jCZf0}DU&y1v{T*19=$t`0ZI)v|SePH<6V?_Xcj6?J23w(eZP51}c~ zR&M7L{dTSTd`$Fj?XUau^3o>M|G)n~=k;~_|MPbKoo`>a`pzqJ8at3a!7yqI9n#up zAX5^^2Xd`lC_|3Uzd&7FA_qtj4mJ0}c zTVBB?|7b63*8Pp~@$vV6i+#3Rc;N5f+NZ(5(x$F%olMTl<6JR%)B9t8+&7DN)p|2+ z8Eea2F|++j3U9b}FU@33T;6(iJqO3`LwT7|4mUCrKWj4`TDKv3mY6_U)Qvw~4I8w{ z)RI-dv~F+Q7bF#?E$!X1BBv$q`$~&EkG1s z`!|-~t9lib=x_V|+{Q!qDqpYkZngb-$ND%|_4BpM^+dm2DSj`b{bug=dAmYx1fSnq gyk^5t*6<~MDvR00b%lcUzUfi;_(V2_m_k{DWG!nBPOkg@>_hhq`*9|FRmA?A&tEXE*IUKk`SWYvr-^@#tlJPhOH80F z>c*e0h7H`Z!nh^R>(MM891relMf_X72WRyFzXRpWj=&X2Vd{@I~Iw%jWT& T=XRFB3X;Lo)z4*}Q$iB}Od+C3 diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/images/page_edgy.png b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/images/page_edgy.png deleted file mode 100644 index a7919f3fc4f5c0cb971e3a47d465a7e0ea7e1ff8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1672 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfz962 z#WAFU@$H?Bz9sGwZiySr3Y%O$h;KQ%L+DPU>hTgM?vf@KW{JNiGq`s2e4U%V*!raG zx$3?!l@C9D{rdIwL2_dv_aDO^_CD4+eT5vwo*0K4%3GU+wz0YCDZH5&<;WS$tSm0@ z&13C?mbHx&xjCwrgasVBcHjhSi*1m$Mq+lt6Q)CQD@CVlFf}M*OzgkH<#j_!VrRn! z_bk@0KfeAoY-U}i`#`#SR-ny(ae-|DZh8gQu3tZXEPR#q{oezo^XJdoSKQw9D&ofb z_wQdX|6o$q`1@~N%h~lx?rG&OuX1zze$~47{|Tl;c1F9s*T*^B2-kn}*Ii8D+r*o( zRbQD7?W;K*UtR%) zzaF|*pTd|ZKlAR=aD9b0tHr^bqSS|Bg`zz3St8ec4 zU%%nN<;#~R&VLkf!#yK*R^);8N|IM~0}{8_q-V(gudMhme}U01>jnEZTCWRUa>(!H zy8~RiA6vO zc7yS%=mp#N|NFPywa08@L;jnVXL3t6RG$+*a>y^^og>%o=QfTyBUtbcFiU$*Xz~GO zY3rrCnYG{ay%u@-R^;vN+qYM)zWckG`_B9C@_TY)pGsHfKFquTEE-gVPenQ0$maHM z2Ig9YnE}_B4#h=RNNs7@z<#o26Hx5dq00+^g^7pSl&uXLu8YlM(^YumXtZz*Ys=nk zA51bB6Zt1`rUJ#bwk~%B7C#ewG_n~J*X!Ew0*!4>af$?rVOsU!y*L}l_z%6vh7?p+ zRz|A(i%Dz(#;l@J;v1me`-d}u#fzMh(6N0D8@}7lX#*A)BS-2$JzI$GzGvC%yn$5< NgQu&X%Q~loCIHr&KCb`( diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_12_12.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_12_12.html.twig deleted file mode 100644 index 95b9e1009..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_12_12.html.twig +++ /dev/null @@ -1,8 +0,0 @@ -{# -/** -* Template for 1 column layout. -* Sidebar is below the content. -*/ -#} -{% extends '@govcms8_layouts/page_layouts/govcms_page.html.twig' %} -{% set attributes = attributes.addClass('page-layout--1212') %} diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_4_8.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_4_8.html.twig deleted file mode 100644 index a9ab194e6..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_4_8.html.twig +++ /dev/null @@ -1,7 +0,0 @@ -{# -/** -* Template for 2 columns layout with 1:2 ratio. -*/ -#} -{% extends '@govcms8_layouts/page_layouts/govcms_page.html.twig' %} -{% set attributes = attributes.addClass('page-layout--48') %} diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_6_6.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_6_6.html.twig deleted file mode 100644 index b8a419ca5..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_6_6.html.twig +++ /dev/null @@ -1,7 +0,0 @@ -{# -/** -* Template for 2 columns layout with 1:1 ratio. -*/ -#} -{% extends '@govcms8_layouts/page_layouts/govcms_page.html.twig' %} -{% set attributes = attributes.addClass('page-layout--66') %} diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_8_4.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_8_4.html.twig deleted file mode 100644 index c7f4f4326..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_8_4.html.twig +++ /dev/null @@ -1,7 +0,0 @@ -{# -/** -* Template for 2 columns layout with 2:1 ratio. -*/ -#} -{% extends '@govcms8_layouts/page_layouts/govcms_page.html.twig' %} -{% set attributes = attributes.addClass('page-layout--84') %} diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_edgy.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_edgy.html.twig deleted file mode 100644 index b245c4a62..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/page_layouts/page_edgy.html.twig +++ /dev/null @@ -1,53 +0,0 @@ -{# -/** -* Template for 1 column layout. -* Sidebar is bellow the content. -* Everything goes edge to edge. -*/ -#} -{% - set classes = [ - 'page-layout', - 'page-layout--edgy', -] -%} - - - {% if content['#title'] %} -

{{ content['#title'] }}

- {% endif %} - {% if content.content_top|render|striptags|trim or content.content|render|striptags|trim or content.content_bottom|render|striptags|trim %} -
- {% if content.content_top|render|trim %} -
-
- {{ content.content_top }} -
-
- {% endif %} - {% if content.content|render|striptags|trim %} -
-
- {{ content.content }} -
-
- {% endif %} - {% if content.content_bottom|render|striptags|trim %} -
-
- {{ content.content_bottom }} -
-
- {% endif %} -
- {% endif %} - {% if content.footer|render|striptags|trim %} - - {% endif %} - diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/calendar_item.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/calendar_item.html.twig deleted file mode 100644 index bae324bb8..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/calendar_item.html.twig +++ /dev/null @@ -1,66 +0,0 @@ -{# -/** -* Calendar item with date region. -* -* List of regions: date, title, info, summary, tags. -*/ -#} - -{% - set classes = [ - 'calendar-item', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block date %} - {% if content.date|render|striptags|trim %} -
- {{ content.date }} -
- {% endif %} - {% endblock %} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - -
diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/calendar_item.png b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/calendar_item.png deleted file mode 100644 index e0242b395f9b5420adcbe35e31f97bd0baac854e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1545 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbf%Sl= zi(^Oy&->1-d%ExYx$^T5{8Lt6e$vjs$i%`Spy1FjJQxQoS;NfD&BLG9 zFnm`l;A-ryoVWhH{-4j9dhcejoKq<<&E0*wxVUIt7I<{^i&G|Ks>?>644w*WdrG`u*FtZ>yap_iU4By!-U&Q~8cUAdF~q)Gl_q$`~G+O{691EW%k{;Z1el6 z;r3k%e!hJoZNeS3eZ{#ORsos|ZcNP<_1ajv0O(Hb>snKiUOOypND5yUs&VvMqZi}R zbup_0y4EsJ1$t&@*uu8|YfhwXuFL8@Ejr`*%eM=^92WoGe!Tx3AM58^n^q}Sc?pvws!EZp0`}-mNP5knc<{4S9f8KBUYvHT^c`i`Tzxw#EytD4S`t&T+txUvI zu(%ay=bFF{k$^WMhT$9|S;(?zp8_vI(=&xf?v$1~GvfaYc zJO4B=^(isyomG|>4|wy~?VjO+h9v$SCjB)r2|tX#{rkCE{djVf`{o0$X6whL?R(g5 z`~JJW(Ui(Urqw=gG$tuM;{wKW#9{$pV$e)lClK(a%am&(Q`cOgC4Njl-?gSrQuS`t z=5M^S0;hcyoc}ptqy67^U$45?wDIq{`s(K6-Tb>6>SHt?XaoV%kw`SV7OTkaqP0$c zi;vyQ+kRbx!-O+t&Gqc1dAC;Ryk}WwIDE<_Na<>^{=og&@@^&4CI*bavYo-x)z4*} HQ$iB}42L%; diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/search.png b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/search.png deleted file mode 100644 index 3471cac03c8394edc69b225bd473f2aecf621d2d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1619 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfsM=4 z#WAFU@$Fs1JlRkYwg;8T+?*;ZUSbY6n0=Q_5tNnQAU#1N!ugEc1UbFEjJv-0sU+~< zWEB$X{oH1_Xy#*Y!%H@4&(2SO=acvD&gZ%D7pMN6Q!+Q6g+oBWp@D&sX_zpsiCEmZ zcW+M=-OK2 z8+TuRS*8~vd}Gl8gOd85=fBp>I~%&BYlSiki*-`ZtQAa6v94DHnVMt`-F!nB53W;s z#ld*6Phzp!s)mGc!P1t71oxgm;ZTPSt2?Zm95yH)ThXbda3j=3R`J50H7Aa`{#ROL z?R$iKj^AD9)hE+7?63Xyv6i4){bQf2XQUZM?U{DK_4?lb`(D?reV@-({ij{(4~y^A zp!}eOKl~a0Wca^j+Rj<+AsXn;!BKWZ!ZeVTWj8fku5d#z`HG9Ez#FYaeF6e+It;TG zadDIlCu?G^vH!oO|L^h6<1A*X1uu5BUu&Fo@ZZAM@1nbHl{bhphELq*8sm17|e8$(*ML@FWSvmhY6uM9mF-$C4jY`=R`#xJ zNbt7}Q3R$lBad7kR+j2l3%LX{>cW=nfAN>a_e6vJ6|-3f?e^4^{a@Jh!rJ*js7i9* zE)8JfbeJN^)HK)7JyxW#{@sn^k3TN62^YGt^+4+V@8-MT9eBuTBf6vV*9qa_Qn10w e>Ho_Q+&>cK8MJgsTM@99VDNPHb6Mw<&;$Tf4?Z9O diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/stack_detail.png b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/stack_detail.png deleted file mode 100644 index 68c97e150bf35290151418ba49d84ae679d9aebb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1822 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbf$gfN zi(^Oy09tPjkS%@q_kc6z)~TDJ6r&>E2rrXx~G*91BPHTJS_-Leo`qqN$= zY0=3u3Bhvf3gTia-hFice&5FW`~P#Aau?5R`q9t8$i%`Spy1FzTZWvNrn|B1WAG2tw%Y#cS_8)RyOE9u;Iq~ z_&v4erm5U=r}^|!BIzkYsczWKmp0Sg&E`M7;G zKi&1Lb-vZ@-+z+*EQ?>rgY&nmYiE{!)|#aBjEnK;x{ixNnhS1dCan_)c+(}JJCUht zF3}Pabzx85ym_-I$=dr0_nlgftSwJA+?YOn`aVbFOGReA4dD|r7ZqJJW$N1Nc6#$= z4vlXnfjeJFfn2Ho{{J`LS*Bg{YE2s7{`>Lp_IkVjJMu5cd~2WWzI)~V83(u;AE$lf zoh2G4H#g>h^|vRCyZ%KuY&@>#r!F4w<|K2;-;E7P{jqcW^cLKh%>Lq6GUHLX-4=6W z95$-+U-){Qsmr#k&}wHxlE2)7*Zr&_)o&h^6g56y~D<)yCLcPq$$? zY3$UE zm|u2{_4hZH@4kDrmj72VlQHL<`~SF4T=fwz3uls7EchyTzM_S;6#~4@`RD&YUh+?{ VfRjSq4Pb@G;OXk;vd$@?2>`;UxU>KO diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/stack_simple.png b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/stack_simple.png deleted file mode 100644 index 2f77f93417c929e15a89d7398bc5962d46ca302f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1588 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbf%Ubg zi(^Oy^L%ryR^w$3o06*9S?<+ZjgPrBz7^Ki z{_12o=YIb0Ey6c`rZk0y7*5yajro}ViXtL5X}}*VimD=JtNB06}!<*G00(KFwqi+-*@Gh z&F=0hak|27Q^T1hQWWv#^l9(?3nVjln)Nn>Ps|K^y1<)7q`Grj^>V?0HxMq+k@NTc zdo6C_EpoTosPXH&4{zVDx3_;QZu0x?zjrC>UlW+PS@>2P?_Uu4;OVuKtb3CE_cbhC^9lX%XYmc{PoF_F@5VHg>O` z4Ak+2yX4QthNS-3n7J_tKU7zIO{+Dm)H`0U$iyGtB;_hA_WSPY`G1!W8Ga zEOKhI9?+qxQSauuIc!`G=1S~KmjCzb6~w(kjaT2V-}l@4;f5RE|A!sE>*@dMA?scWv%GcLxX>mn8lXfC)xv_#{>a@T9Gzq-0wDaNfiu;Iqy zeDA#xiU*gAe9$s_dQ0Y)A>+|HpA+-_fo2A;JG)R`_{V?Q>fLwa?8_G0s~b!{@bm9~ z#+~zC9ysUqfRpLE|BmCjL$o-9m&HE{8~-z?ZTHBp;pzVmtOgi7UHx3vIVCg!0Gk9z A=Kufz diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/summary.png b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/summary.png deleted file mode 100644 index 3471cac03c8394edc69b225bd473f2aecf621d2d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1619 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfsM=4 z#WAFU@$Fs1JlRkYwg;8T+?*;ZUSbY6n0=Q_5tNnQAU#1N!ugEc1UbFEjJv-0sU+~< zWEB$X{oH1_Xy#*Y!%H@4&(2SO=acvD&gZ%D7pMN6Q!+Q6g+oBWp@D&sX_zpsiCEmZ zcW+M=-OK2 z8+TuRS*8~vd}Gl8gOd85=fBp>I~%&BYlSiki*-`ZtQAa6v94DHnVMt`-F!nB53W;s z#ld*6Phzp!s)mGc!P1t71oxgm;ZTPSt2?Zm95yH)ThXbda3j=3R`J50H7Aa`{#ROL z?R$iKj^AD9)hE+7?63Xyv6i4){bQf2XQUZM?U{DK_4?lb`(D?reV@-({ij{(4~y^A zp!}eOKl~a0Wca^j+Rj<+AsXn;!BKWZ!ZeVTWj8fku5d#z`HG9Ez#FYaeF6e+It;TG zadDIlCu?G^vH!oO|L^h6<1A*X1uu5BUu&Fo@ZZAM@1nbHl{bhphELq*8sm17|e8$(*ML@FWSvmhY6uM9mF-$C4jY`=R`#xJ zNbt7}Q3R$lBad7kR+j2l3%LX{>cW=nfAN>a_e6vJ6|-3f?e^4^{a@Jh!rJ*js7i9* zE)8JfbeJN^)HK)7JyxW#{@sn^k3TN62^YGt^+4+V@8-MT9eBuTBf6vV*9qa_Qn10w e>Ho_Q+&>cK8MJgsTM@99VDNPHb6Mw<&;$Tf4?Z9O diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/teaser.png b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/teaser.png deleted file mode 100644 index 8f58b0ca659ccb1a79505feaa20ff8bb13fd62e5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1676 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfz8>| z#WAFU@$Fs5Jeg1t)(fk)NmiVZVybr7r1V76Ba!u+fC@`?Myrf zdiAp^^A7VyOP0Rvx8FW}cgX%sVc~U^4HFK0PTU*k&wck!F6SAgg8MJ8>V%gCGI4Wj zd^^Nl@Vk;lq*^XKJT~INj?(|{D_Wb$t z`aOvs7vE#G>H4zI@#k!&uDdCPH+DB9eFyXAZTzldzyH_g5@Wuz=4;KL%IN7C_#OT> z+uy$~pEdB!-cw~W^4i{(TyZKA(=zC*e>-XJmP?f)nJX<`$2n}=9lucgf>6MlX%Xl=8RLMQzDfc5(KCs#RagZtT%sm-Ie$UtLkrZ#|Xge>p2e zUgoC@**iIGly7|E{YyCD&A&3WkIF1I$?qrDNwr;m`@lLw?&8c9`akm|-bFQvRIlHp z{q^j-`l7G0CTpjq%s2h7c6zbLw@XX3xircI&qZu&NJ@Y2zH3oKlK8`(RBny3Z*{bj za`+s5_*mgr6YFgyEcf&;=zQy5U$?jV|BU&n6LcR0s#M!w5(NexN4ie5!^X|um16@P zHg*>r+r%njJ=mpY{ntn>ds2DnZC&g9+_uCy&tI+kwUAY$TL0f$gFAH@HQ#6ZA6R^% zX4|?w3mTI2JKkUW%&GAW!cBi;`|r!?)t3{Ee;t0@l)C0l)t^t3cVC;6v|sPr{l{lb zeB5;@TX^7fl>9Ps%14W7DLa)Y-vbxU++$WRK@xead|Pl z>5tzn=E~IbcGws%{<~X!U$ffk+3ZU{Y7_~~e;C4e)bDOj3_H-Fjx}w;tp93{#jU?S zeI?^lr2s*TxV2%^r#c$5G_mS6Z|-y(CS@YDWdE>V;0L?CZ{VIucN(mK)eD2CtDnm{ Hr-UW|if4fe diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/teaser_small.png b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/images/teaser_small.png deleted file mode 100644 index d014daa852e3040fc82f4aec4ee37c291bc19782..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1532 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfpxQ| zi(^Oy*!Iwx@0ZEasdfh;EvoBYAt zs_;gRDR)1rJU!3Mcj$D+z5m7E&)-58p5GSh*6rGGpzPh>^Y`cNn^9f+@_JqM*W+gGn%&0e|wtKHmwwGH;x z*46Rr?X2JYP296C{)fZ4+P(dM>;4D4-+FJ=XF--<`~GL|dNa8yvtKFnh^5nk4a!*} zi?}4pL<{=_4Bm7|wXR@li*=o&%)(>6$W3uoLt?n#a}LJCeJcVxv=VM$XqoYM&52o) za?NH>&)yaP{nuUAZ^hv;e>W`mFRT69xqs(^xNPqOi#?)i%_m>mFni^$wF}zrhTT8A zB=)cIxA*h^)!p-nZmLt=Abb4w{CT$jBK{|TJ^YT3-QMO}n6%aZ%irt$3hP%)wCxJP z>jvVSo$z(O=*^tA%N=ShJC+})u>Rh=TK?O4_5O9wn=04lGWILwewUwpZ$t9xTY zi~ehIE8&RA2i|OW{_oA5Sx!5{nd&OGGTuuMZEq9W?w0-E_%i%|kL|wSUu?F?9^9vE@TL53 zzq;zTkK9`pMJY&%m2EHJ8#R@N4rh1^-r+oX%2k; t^;VVA?7UjWPr}2c90Hf7V&XrTij({%?c0#~1X!Fic)I$ztaD0e0suY!O#lD@ diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/search.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/search.html.twig deleted file mode 100644 index f3ee4f09d..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/search.html.twig +++ /dev/null @@ -1,58 +0,0 @@ -{# -/** -* Search. Same as teaser, without image. -* -* List of regions: title, info, summary, tags. -*/ -#} - -{% - set classes = [ - 'search', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - -
diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/stack_detail.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/stack_detail.html.twig deleted file mode 100644 index 0e74c5a58..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/stack_detail.html.twig +++ /dev/null @@ -1,67 +0,0 @@ -{# -/** -* Stack detail. Same as Stack simple but with added summary. -* -* List of regions: title, info, summary, tags, image. -*/ -#} - -{% - set classes = [ - 'stack', - 'stack--detail', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block image %} - {% if content.image|render|striptags('')|trim %} -
- {{ content.image }} -
- {% endif %} - {% endblock %} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - -
diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/stack_simple.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/stack_simple.html.twig deleted file mode 100644 index 7cd44463d..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/stack_simple.html.twig +++ /dev/null @@ -1,60 +0,0 @@ -{# -/** -* Stack simple. Regions are in layers on top of each other. -* -* List of regions: title, info, tags, image. -*/ -#} - -{% - set classes = [ - 'stack', - 'stack--simple', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block image %} - {% if content.image|render|striptags('')|trim %} -
- {{ content.image }} -
- {% endif %} - {% endblock %} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - -
- diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/summary.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/summary.html.twig deleted file mode 100644 index 17b34d0b2..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/summary.html.twig +++ /dev/null @@ -1,58 +0,0 @@ -{# -/** -* Summary. Same as teaser, without image. -* -* List of regions: title, info, summary, tags. -*/ -#} - -{% - set classes = [ - 'summary', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - -
diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/teaser.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/teaser.html.twig deleted file mode 100644 index 28bef6053..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/teaser.html.twig +++ /dev/null @@ -1,67 +0,0 @@ -{# -/** -* Teaser view mode with image. -* -* List of regions: title, info, summary, tags, image. -*/ -#} - -{% - set classes = [ - 'teaser', - 'teaser--medium', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - - {% block image %} - {% if content.image|render|striptags('')|trim %} -
- {{ content.image }} -
- {% endif %} - {% endblock %} - -
diff --git a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/teaser_small.html.twig b/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/teaser_small.html.twig deleted file mode 100644 index e40d3728a..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_layouts/templates/viewmode_layouts/teaser_small.html.twig +++ /dev/null @@ -1,67 +0,0 @@ -{# -/** -* Teaser view mode with image. -* -* List of regions: title, info, summary, tags, image. -*/ -#} - -{% - set classes = [ - 'teaser', - 'teaser--small', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - - {% block image %} - {% if content.image|render|striptags('')|trim %} -
- {{ content.image }} -
- {% endif %} - {% endblock %} - -
diff --git a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/README.md b/modules/distro/govcms8_foundations/modules/govcms8_modifiers/README.md deleted file mode 100644 index 43d493bd9..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# GovCMS 8 Modifiers - -The "GovCMS 8 Modifiers" module is used to store the modifier paragraph types which are used to style the general content paragraphs. - -The module ships configuration files, JavaScript and modifier plugins for the Modifiers module. \ No newline at end of file diff --git a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.info.yml b/modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.info.yml deleted file mode 100644 index 96638b18a..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.info.yml +++ /dev/null @@ -1,7 +0,0 @@ -name: 'GovCMS8 Modifiers' -type: module -description: 'Provides modifiers for the GovCMS8 distribution. [obsolete]' -package: GovCMS [obsolete] -core_version_requirement: ^9 || ^10 -lifecycle: obsolete -lifecycle_link: 'https://github.com/GovCMS/GovCMS' diff --git a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.libraries.yml b/modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.libraries.yml deleted file mode 100644 index 0b3af378b..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.libraries.yml +++ /dev/null @@ -1,17 +0,0 @@ -modifiers_relative_height_apply: - js: - js/modifiers_relative_height.apply.js: {} - -jarallax: - remote: https://github.com/nk-o/jarallax - version: 1.10.3 - license: - name: MIT - url: https://github.com/nk-o/jarallax/blob/master/LICENSE - gpl-compatible: true - js: - js/jarallax/jarallax.min.js: {} - -modifiers_bg_parallax_apply: - js: - js/modifiers_bg_parallax.apply.js: {} diff --git a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.modifiers.yml b/modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.modifiers.yml deleted file mode 100644 index 2ed82dfbe..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/govcms8_modifiers.modifiers.yml +++ /dev/null @@ -1,28 +0,0 @@ -custom_colors_modifier: - class: Drupal\govcms8_modifiers\Plugin\modifiers\CustomColorsModifier - label: 'Colors Modifier' - description: 'Provides a Modifier to set the colors on an element' -color_background_modifier: - class: Drupal\govcms8_modifiers\Plugin\modifiers\ColorBackgroundModifier - label: 'Colour Background Modifier' - description: 'Provides a Modifier to set the background color on an element' -linear_gradient_modifier: - class: Drupal\govcms8_modifiers\Plugin\modifiers\LinearGradientModifier - label: 'Linear Gradient Modifier' - description: 'Provides a Modifier to set the linear gradient on an element using colors from library' -image_bg_modifier: - class: Drupal\govcms8_modifiers\Plugin\modifiers\ImageBgModifier - label: 'Image Background Modifier' - description: 'Provides a Modifier to set the image background on an element' -parallax_bg_modifier: - class: Drupal\govcms8_modifiers\Plugin\modifiers\ParallaxBgModifier - label: 'Parallax Background Modifier' - description: 'Provides a Modifier to set the parallax background on an element' -relative_height_modifier: - class: Drupal\govcms8_modifiers\Plugin\modifiers\RelativeHeightModifier - label: 'Relative Height Modifier' - description: 'Provides a Modifier to set the relative height on an element' -padding_modifier: - class: Drupal\govcms8_modifiers\Plugin\modifiers\PaddingModifier - label: 'Padding Modifier' - description: 'Provides a Modifier to set the padding on an element' diff --git a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/js/jarallax/jarallax.min.js b/modules/distro/govcms8_foundations/modules/govcms8_modifiers/js/jarallax/jarallax.min.js deleted file mode 100644 index 40891a836..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/js/jarallax/jarallax.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * Name : Just Another Parallax [Jarallax] - * Version : 1.10.6 - * Author : nK - * GitHub : https://github.com/nk-o/jarallax - */!function(o){var n={};function i(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=o,i.c=n,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(o,n,function(e){return t[e]}.bind(null,n));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=11)}([,,function(e,t,o){"use strict";e.exports=function(e){"complete"===document.readyState||"interactive"===document.readyState?e.call():document.attachEvent?document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&e.call()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",e)}},,function(o,e,t){"use strict";(function(e){var t;t="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},o.exports=t}).call(this,t(5))},function(e,t,o){"use strict";var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}e.exports=n},,,,,,function(e,t,o){e.exports=o(12)},function(e,t,o){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=l(o(2)),a=o(4),r=l(o(13));function l(e){return e&&e.__esModule?e:{default:e}}var s=a.window.jarallax;if(a.window.jarallax=r.default,a.window.jarallax.noConflict=function(){return a.window.jarallax=s,this},void 0!==a.jQuery){var c=function(){var e=arguments||[];Array.prototype.unshift.call(e,this);var t=r.default.apply(a.window,e);return"object"!==(void 0===t?"undefined":n(t))?t:this};c.constructor=r.default.constructor;var u=a.jQuery.fn.jarallax;a.jQuery.fn.jarallax=c,a.jQuery.fn.jarallax.noConflict=function(){return a.jQuery.fn.jarallax=u,this}}(0,i.default)(function(){(0,r.default)(document.querySelectorAll("[data-jarallax]"))})},function(e,j,S){"use strict";(function(e){Object.defineProperty(j,"__esModule",{value:!0});var d=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],n=!0,i=!1,a=void 0;try{for(var r,l=e[Symbol.iterator]();!(n=(r=l.next()).done)&&(o.push(r.value),!t||o.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{!n&&l.return&&l.return()}finally{if(i)throw a}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},t=function(){function n(e,t){for(var o=0;o 'ParallaxBgModifier', - 'callback' => 'apply', - 'selector' => $selector, - 'media' => $media, - 'args' => [], - ]; - if (!empty($config['parallax_speed'])) { - $settings['args']['speed'] = floatval($config['parallax_speed']); - } - if (!empty($config['bgp_color_val'])) { - $css[$media][$selector][] = 'background-color:' . $config['bgp_color_val']; - } - $attributes[$media][$selector]['class'][] = 'modifiers-has-background'; - - return new Modification($css, $libraries, $settings, $attributes); - } - return NULL; - } - -} diff --git a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/src/Plugin/modifiers/RelativeHeightModifier.php b/modules/distro/govcms8_foundations/modules/govcms8_modifiers/src/Plugin/modifiers/RelativeHeightModifier.php deleted file mode 100644 index 523d46eb1..000000000 --- a/modules/distro/govcms8_foundations/modules/govcms8_modifiers/src/Plugin/modifiers/RelativeHeightModifier.php +++ /dev/null @@ -1,58 +0,0 @@ - 'RelativeHeightModifier', - 'callback' => 'apply', - 'selector' => $selector, - 'media' => $media, - 'args' => [ - 'ratio' => $config['relative_height'], - ], - ]; - $css[$media][$selector][] = 'overflow:hidden'; - - return new Modification($css, $libraries, $settings); - } - return NULL; - } - -} diff --git a/modules/distro/govcms8_layouts/README.md b/modules/distro/govcms8_layouts/README.md deleted file mode 100644 index 028ce8b18..000000000 --- a/modules/distro/govcms8_layouts/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# GovCMS8 Layouts - -The "GovCMS8 Layouts" module is used to ship layouts for GovCMS. - -These layouts are for content types and view modes. diff --git a/modules/distro/govcms8_layouts/govcms8_layouts.info.yml b/modules/distro/govcms8_layouts/govcms8_layouts.info.yml deleted file mode 100644 index e42233781..000000000 --- a/modules/distro/govcms8_layouts/govcms8_layouts.info.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: GovCMS8 Layouts [DEPRECATED - DO NOT USE] -type: module -description: Provides layouts for the GovCMS8 distribution. [deprecated] -package: GovCMS8 [deprecated] - -core_version_requirement: ^9 || ^10 -dependencies: - - layout_discovery diff --git a/modules/distro/govcms8_layouts/govcms8_layouts.layouts.yml b/modules/distro/govcms8_layouts/govcms8_layouts.layouts.yml deleted file mode 100644 index 8d35e71cd..000000000 --- a/modules/distro/govcms8_layouts/govcms8_layouts.layouts.yml +++ /dev/null @@ -1,200 +0,0 @@ -#### -# Page layouts -#### -page_12_12: - label: Stacked - category: "GovCMS: Page" - template: templates/page_layouts/page_12_12 - icon: templates/page_layouts/images/page_12_12.png - regions: - header: - label: Header - content_top: - label: Content top - content: - label: Content - sidebar: - label: Sidebar - content_bottom: - label: Content bottom - footer: - label: Footer -page_edgy: - label: Edge to edge - category: "GovCMS: Page" - template: templates/page_layouts/page_edgy - icon: templates/page_layouts/images/page_edgy.png - regions: - header: - label: Header - content_top: - label: Content top - content: - label: Content - content_bottom: - label: Content bottom - footer: - label: Footer -page_6_6: - label: Two columns (1:1) - category: "GovCMS: Page" - template: templates/page_layouts/page_6_6 - icon: templates/page_layouts/images/page_6_6.png - regions: - header: - label: Header - content_top: - label: Content top - content: - label: Content - sidebar: - label: Sidebar - content_bottom: - label: Content bottom - footer: - label: Footer -page_8_4: - label: Sidebar Right (2:1) - category: "GovCMS: Page" - template: templates/page_layouts/page_8_4 - icon: templates/page_layouts/images/page_8_4.png - regions: - header: - label: Header - content_top: - label: Content top - content: - label: Content - sidebar: - label: Sidebar - content_bottom: - label: Content bottom - footer: - label: Footer -page_4_8: - label: Sidebar Left (1:2) - category: "GovCMS: Page" - template: templates/page_layouts/page_4_8 - icon: templates/page_layouts/images/page_4_8.png - regions: - header: - label: Header - content_top: - label: Content top - content: - label: Content - sidebar: - label: Sidebar - content_bottom: - label: Content bottom - footer: - label: Footer -#### -# Viewmode layouts -#### -calendar_item: - label: Calendar Item - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/calendar_item - icon: templates/viewmode_layouts/images/calendar_item.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags - date: - label: Date -search: - label: Search - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/search - icon: templates/viewmode_layouts/images/search.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags -stack_simple: - label: Stack simple - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/stack_simple - icon: templates/viewmode_layouts/images/stack_simple.png - regions: - title: - label: Title - info: - label: Info - tags: - label: Tags - image: - label: Image -stack_detail: - label: Stack detail - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/stack_detail - icon: templates/viewmode_layouts/images/stack_detail.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags - image: - label: Image -summary: - label: Summary - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/summary - icon: templates/viewmode_layouts/images/summary.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags -teaser_small: - label: Teaser small - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/teaser_small - icon: templates/viewmode_layouts/images/teaser_small.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags - image: - label: Image -teaser: - label: Teaser - category: "GovCMS: Viewmode" - template: templates/viewmode_layouts/teaser - icon: templates/viewmode_layouts/images/teaser.png - regions: - title: - label: Title - info: - label: Info - summary: - label: Summary - tags: - label: Tags - image: - label: Image diff --git a/modules/distro/govcms8_layouts/templates/page_layouts/govcms_page.html.twig b/modules/distro/govcms8_layouts/templates/page_layouts/govcms_page.html.twig deleted file mode 100644 index efb7dbdae..000000000 --- a/modules/distro/govcms8_layouts/templates/page_layouts/govcms_page.html.twig +++ /dev/null @@ -1,64 +0,0 @@ -{# -/** -* Base content template for extending. -* Not available via Drupal UI. -*/ -#} -{% - set classes = [ - 'page-layout', -] -%} - - - {% if content.header|render|striptags|trim %} -
-
-
-
- {{ content.header }} -
-
-
-
- {% endif %} - {% if content.content_top|render|striptags|trim or content.content|render|striptags|trim or content.sidebar|render|striptags|trim or content.content_bottom|render|striptags|trim %} -
- {% if content.content_top|render|trim %} -
-
- {{ content.content_top }} -
-
- {% endif %} - {% if content.content|render|striptags|trim or content.sidebar|render|striptags|trim %} -
-
- {{ content.content }} -
- -
- {% endif %} - {% if content.content_bottom|render|striptags|trim %} -
-
- {{ content.content_bottom }} -
-
- {% endif %} -
- {% endif %} - {% if content.footer|render|striptags|trim %} - - {% endif %} - diff --git a/modules/distro/govcms8_layouts/templates/page_layouts/images/page_12_12.png b/modules/distro/govcms8_layouts/templates/page_layouts/images/page_12_12.png deleted file mode 100644 index a52f640167ef694c7024bcd061dbb5769ae5822c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1782 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfo-j) zi(^Oy2kO#_M8JpKoV8Y}Vq*d|d46*Q(sP-`+_}S|v}IIp}ki$u#HMJ&9Yl@>l-<@!{dS=bw$;OhmtUzqFV7EId2vj>Y!Getw^$ z#yPJ(J-*XsYiA&Oe#6Ss{l(JXejEs~IlN5I{#@>j$IQVWd1mkWGpcxyg+`z5hwt+C z_hjeKkAA+_I`6@UPrpphX~`u_5Y&72VRz}YPfQ!uBK)UL-m(j-Wa{<+iib5pJm?_LcQXG=#X3RE&A2<*QRHm z{r=zB`1xndPra)XHuc)v-;>Vw$ZS^)5bXTWdf*_(pOOvLbD9r`GaXSoq{u1od%|X`t{XBI zDvU|;MPcrOvzgmf9Nsved!><7{9po0N9~D7S=SssnMn*A`7Kv3?l{}%ETr&FF}+k| zqh)~y(-FHTYx{vf=J3WO@uw)$k#z~*GiEVtyxj6MoI_wY`I@%g53-+s{^ji_ z`x%+GZ{I#u%ygsn^{SG#hJGdE;CxxHH*5E%uUq?f+OPcje_zuS|NlMy{(i~t@0XW% z*WcU!|JnUNPk*!2{rvFo(e-}${r`I#-+vIcW(ZB0&#>{gbcTR}!yAT>iM32e-sLZF zY+%^P9N_wmQ(*W0Mm9#KBYX~`H`N{9{9}`1;Sd`2XYQvu8^+o}PX_e(QDH9)}KKURT_Zw40^l?$h^Q1sZRqzxn)A z#>(?ev{FHJb@a+$;omP`t}NQ%9zXrS-@kuf+x_^TZPyjDq1wc^;YQ}6PueUUu?OE> zG+|6y&Ut#hfI=DTZuiS99dp%m_5+JP(Km9w!U|=xHvHjYObRDk(}Hi&ua;ldteySG z+~L8yck3=KQY(8J)qhUlLtskUtF_LZd$)c+vo)NbpWpbnRY`lp{2SKM{;^(fR_-kC zQ~h@CTJUtC>a2HjlRNir{(5EUk$JPKpGPFU&#^7l+_?PNJzopr0BI97rvLx| diff --git a/modules/distro/govcms8_layouts/templates/page_layouts/images/page_6_6.png b/modules/distro/govcms8_layouts/templates/page_layouts/images/page_6_6.png deleted file mode 100644 index c811b585f6f0fafba867cd823ee0014a244cece1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1829 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbf$ff` zi(^OyQk84xo4HKv43!CrU`EY;o zM2$V+@BhdzRQves<;$0E)$LjMgn#_pP(8=_!R&?&tp!UOHuTqoxpPJ{yK`~;K9OEJ zWrHatf>+MozAn$h;wSt;`u7&`((~qwiQEr88gE|v zU1jCZf0}DU&y1v{T*19=$t`0ZI)v|SePH<6V?_Xcj6?J23w(eZP51}c~ zR&M7L{dTSTd`$Fj?XUau^3o>M|G)n~=k;~_|MPbKoo`>a`pzqJ8at3a!7yqI9n#up zAX5^^2Xd`lC_|3Uzd&7FA_qtj4mJ0}c zTVBB?|7b63*8Pp~@$vV6i+#3Rc;N5f+NZ(5(x$F%olMTl<6JR%)B9t8+&7DN)p|2+ z8Eea2F|++j3U9b}FU@33T;6(iJqO3`LwT7|4mUCrKWj4`TDKv3mY6_U)Qvw~4I8w{ z)RI-dv~F+Q7bF#?E$!X1BBv$q`$~&EkG1s z`!|-~t9lib=x_V|+{Q!qDqpYkZngb-$ND%|_4BpM^+dm2DSj`b{bug=dAmYx1fSnq gyk^5t*6<~MDvR00b%lcUzUfi;_(V2_m_k{DWG!nBPOkg@>_hhq`*9|FRmA?A&tEXE*IUKk`SWYvr-^@#tlJPhOH80F z>c*e0h7H`Z!nh^R>(MM891relMf_X72WRyFzXRpWj=&X2Vd{@I~Iw%jWT& T=XRFB3X;Lo)z4*}Q$iB}Od+C3 diff --git a/modules/distro/govcms8_layouts/templates/page_layouts/images/page_edgy.png b/modules/distro/govcms8_layouts/templates/page_layouts/images/page_edgy.png deleted file mode 100644 index a7919f3fc4f5c0cb971e3a47d465a7e0ea7e1ff8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1672 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfz962 z#WAFU@$H?Bz9sGwZiySr3Y%O$h;KQ%L+DPU>hTgM?vf@KW{JNiGq`s2e4U%V*!raG zx$3?!l@C9D{rdIwL2_dv_aDO^_CD4+eT5vwo*0K4%3GU+wz0YCDZH5&<;WS$tSm0@ z&13C?mbHx&xjCwrgasVBcHjhSi*1m$Mq+lt6Q)CQD@CVlFf}M*OzgkH<#j_!VrRn! z_bk@0KfeAoY-U}i`#`#SR-ny(ae-|DZh8gQu3tZXEPR#q{oezo^XJdoSKQw9D&ofb z_wQdX|6o$q`1@~N%h~lx?rG&OuX1zze$~47{|Tl;c1F9s*T*^B2-kn}*Ii8D+r*o( zRbQD7?W;K*UtR%) zzaF|*pTd|ZKlAR=aD9b0tHr^bqSS|Bg`zz3St8ec4 zU%%nN<;#~R&VLkf!#yK*R^);8N|IM~0}{8_q-V(gudMhme}U01>jnEZTCWRUa>(!H zy8~RiA6vO zc7yS%=mp#N|NFPywa08@L;jnVXL3t6RG$+*a>y^^og>%o=QfTyBUtbcFiU$*Xz~GO zY3rrCnYG{ay%u@-R^;vN+qYM)zWckG`_B9C@_TY)pGsHfKFquTEE-gVPenQ0$maHM z2Ig9YnE}_B4#h=RNNs7@z<#o26Hx5dq00+^g^7pSl&uXLu8YlM(^YumXtZz*Ys=nk zA51bB6Zt1`rUJ#bwk~%B7C#ewG_n~J*X!Ew0*!4>af$?rVOsU!y*L}l_z%6vh7?p+ zRz|A(i%Dz(#;l@J;v1me`-d}u#fzMh(6N0D8@}7lX#*A)BS-2$JzI$GzGvC%yn$5< NgQu&X%Q~loCIHr&KCb`( diff --git a/modules/distro/govcms8_layouts/templates/page_layouts/page_12_12.html.twig b/modules/distro/govcms8_layouts/templates/page_layouts/page_12_12.html.twig deleted file mode 100644 index 95b9e1009..000000000 --- a/modules/distro/govcms8_layouts/templates/page_layouts/page_12_12.html.twig +++ /dev/null @@ -1,8 +0,0 @@ -{# -/** -* Template for 1 column layout. -* Sidebar is below the content. -*/ -#} -{% extends '@govcms8_layouts/page_layouts/govcms_page.html.twig' %} -{% set attributes = attributes.addClass('page-layout--1212') %} diff --git a/modules/distro/govcms8_layouts/templates/page_layouts/page_4_8.html.twig b/modules/distro/govcms8_layouts/templates/page_layouts/page_4_8.html.twig deleted file mode 100644 index a9ab194e6..000000000 --- a/modules/distro/govcms8_layouts/templates/page_layouts/page_4_8.html.twig +++ /dev/null @@ -1,7 +0,0 @@ -{# -/** -* Template for 2 columns layout with 1:2 ratio. -*/ -#} -{% extends '@govcms8_layouts/page_layouts/govcms_page.html.twig' %} -{% set attributes = attributes.addClass('page-layout--48') %} diff --git a/modules/distro/govcms8_layouts/templates/page_layouts/page_6_6.html.twig b/modules/distro/govcms8_layouts/templates/page_layouts/page_6_6.html.twig deleted file mode 100644 index b8a419ca5..000000000 --- a/modules/distro/govcms8_layouts/templates/page_layouts/page_6_6.html.twig +++ /dev/null @@ -1,7 +0,0 @@ -{# -/** -* Template for 2 columns layout with 1:1 ratio. -*/ -#} -{% extends '@govcms8_layouts/page_layouts/govcms_page.html.twig' %} -{% set attributes = attributes.addClass('page-layout--66') %} diff --git a/modules/distro/govcms8_layouts/templates/page_layouts/page_8_4.html.twig b/modules/distro/govcms8_layouts/templates/page_layouts/page_8_4.html.twig deleted file mode 100644 index c7f4f4326..000000000 --- a/modules/distro/govcms8_layouts/templates/page_layouts/page_8_4.html.twig +++ /dev/null @@ -1,7 +0,0 @@ -{# -/** -* Template for 2 columns layout with 2:1 ratio. -*/ -#} -{% extends '@govcms8_layouts/page_layouts/govcms_page.html.twig' %} -{% set attributes = attributes.addClass('page-layout--84') %} diff --git a/modules/distro/govcms8_layouts/templates/page_layouts/page_edgy.html.twig b/modules/distro/govcms8_layouts/templates/page_layouts/page_edgy.html.twig deleted file mode 100644 index b245c4a62..000000000 --- a/modules/distro/govcms8_layouts/templates/page_layouts/page_edgy.html.twig +++ /dev/null @@ -1,53 +0,0 @@ -{# -/** -* Template for 1 column layout. -* Sidebar is bellow the content. -* Everything goes edge to edge. -*/ -#} -{% - set classes = [ - 'page-layout', - 'page-layout--edgy', -] -%} - - - {% if content['#title'] %} -

{{ content['#title'] }}

- {% endif %} - {% if content.content_top|render|striptags|trim or content.content|render|striptags|trim or content.content_bottom|render|striptags|trim %} -
- {% if content.content_top|render|trim %} -
-
- {{ content.content_top }} -
-
- {% endif %} - {% if content.content|render|striptags|trim %} -
-
- {{ content.content }} -
-
- {% endif %} - {% if content.content_bottom|render|striptags|trim %} -
-
- {{ content.content_bottom }} -
-
- {% endif %} -
- {% endif %} - {% if content.footer|render|striptags|trim %} - - {% endif %} - diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/calendar_item.html.twig b/modules/distro/govcms8_layouts/templates/viewmode_layouts/calendar_item.html.twig deleted file mode 100644 index bae324bb8..000000000 --- a/modules/distro/govcms8_layouts/templates/viewmode_layouts/calendar_item.html.twig +++ /dev/null @@ -1,66 +0,0 @@ -{# -/** -* Calendar item with date region. -* -* List of regions: date, title, info, summary, tags. -*/ -#} - -{% - set classes = [ - 'calendar-item', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block date %} - {% if content.date|render|striptags|trim %} -
- {{ content.date }} -
- {% endif %} - {% endblock %} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - -
diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/calendar_item.png b/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/calendar_item.png deleted file mode 100644 index e0242b395f9b5420adcbe35e31f97bd0baac854e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1545 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbf%Sl= zi(^Oy&->1-d%ExYx$^T5{8Lt6e$vjs$i%`Spy1FjJQxQoS;NfD&BLG9 zFnm`l;A-ryoVWhH{-4j9dhcejoKq<<&E0*wxVUIt7I<{^i&G|Ks>?>644w*WdrG`u*FtZ>yap_iU4By!-U&Q~8cUAdF~q)Gl_q$`~G+O{691EW%k{;Z1el6 z;r3k%e!hJoZNeS3eZ{#ORsos|ZcNP<_1ajv0O(Hb>snKiUOOypND5yUs&VvMqZi}R zbup_0y4EsJ1$t&@*uu8|YfhwXuFL8@Ejr`*%eM=^92WoGe!Tx3AM58^n^q}Sc?pvws!EZp0`}-mNP5knc<{4S9f8KBUYvHT^c`i`Tzxw#EytD4S`t&T+txUvI zu(%ay=bFF{k$^WMhT$9|S;(?zp8_vI(=&xf?v$1~GvfaYc zJO4B=^(isyomG|>4|wy~?VjO+h9v$SCjB)r2|tX#{rkCE{djVf`{o0$X6whL?R(g5 z`~JJW(Ui(Urqw=gG$tuM;{wKW#9{$pV$e)lClK(a%am&(Q`cOgC4Njl-?gSrQuS`t z=5M^S0;hcyoc}ptqy67^U$45?wDIq{`s(K6-Tb>6>SHt?XaoV%kw`SV7OTkaqP0$c zi;vyQ+kRbx!-O+t&Gqc1dAC;Ryk}WwIDE<_Na<>^{=og&@@^&4CI*bavYo-x)z4*} HQ$iB}42L%; diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/search.png b/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/search.png deleted file mode 100644 index 3471cac03c8394edc69b225bd473f2aecf621d2d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1619 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfsM=4 z#WAFU@$Fs1JlRkYwg;8T+?*;ZUSbY6n0=Q_5tNnQAU#1N!ugEc1UbFEjJv-0sU+~< zWEB$X{oH1_Xy#*Y!%H@4&(2SO=acvD&gZ%D7pMN6Q!+Q6g+oBWp@D&sX_zpsiCEmZ zcW+M=-OK2 z8+TuRS*8~vd}Gl8gOd85=fBp>I~%&BYlSiki*-`ZtQAa6v94DHnVMt`-F!nB53W;s z#ld*6Phzp!s)mGc!P1t71oxgm;ZTPSt2?Zm95yH)ThXbda3j=3R`J50H7Aa`{#ROL z?R$iKj^AD9)hE+7?63Xyv6i4){bQf2XQUZM?U{DK_4?lb`(D?reV@-({ij{(4~y^A zp!}eOKl~a0Wca^j+Rj<+AsXn;!BKWZ!ZeVTWj8fku5d#z`HG9Ez#FYaeF6e+It;TG zadDIlCu?G^vH!oO|L^h6<1A*X1uu5BUu&Fo@ZZAM@1nbHl{bhphELq*8sm17|e8$(*ML@FWSvmhY6uM9mF-$C4jY`=R`#xJ zNbt7}Q3R$lBad7kR+j2l3%LX{>cW=nfAN>a_e6vJ6|-3f?e^4^{a@Jh!rJ*js7i9* zE)8JfbeJN^)HK)7JyxW#{@sn^k3TN62^YGt^+4+V@8-MT9eBuTBf6vV*9qa_Qn10w e>Ho_Q+&>cK8MJgsTM@99VDNPHb6Mw<&;$Tf4?Z9O diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/stack_detail.png b/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/stack_detail.png deleted file mode 100644 index 68c97e150bf35290151418ba49d84ae679d9aebb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1822 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbf$gfN zi(^Oy09tPjkS%@q_kc6z)~TDJ6r&>E2rrXx~G*91BPHTJS_-Leo`qqN$= zY0=3u3Bhvf3gTia-hFice&5FW`~P#Aau?5R`q9t8$i%`Spy1FzTZWvNrn|B1WAG2tw%Y#cS_8)RyOE9u;Iq~ z_&v4erm5U=r}^|!BIzkYsczWKmp0Sg&E`M7;G zKi&1Lb-vZ@-+z+*EQ?>rgY&nmYiE{!)|#aBjEnK;x{ixNnhS1dCan_)c+(}JJCUht zF3}Pabzx85ym_-I$=dr0_nlgftSwJA+?YOn`aVbFOGReA4dD|r7ZqJJW$N1Nc6#$= z4vlXnfjeJFfn2Ho{{J`LS*Bg{YE2s7{`>Lp_IkVjJMu5cd~2WWzI)~V83(u;AE$lf zoh2G4H#g>h^|vRCyZ%KuY&@>#r!F4w<|K2;-;E7P{jqcW^cLKh%>Lq6GUHLX-4=6W z95$-+U-){Qsmr#k&}wHxlE2)7*Zr&_)o&h^6g56y~D<)yCLcPq$$? zY3$UE zm|u2{_4hZH@4kDrmj72VlQHL<`~SF4T=fwz3uls7EchyTzM_S;6#~4@`RD&YUh+?{ VfRjSq4Pb@G;OXk;vd$@?2>`;UxU>KO diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/stack_simple.png b/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/stack_simple.png deleted file mode 100644 index 2f77f93417c929e15a89d7398bc5962d46ca302f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1588 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbf%Ubg zi(^Oy^L%ryR^w$3o06*9S?<+ZjgPrBz7^Ki z{_12o=YIb0Ey6c`rZk0y7*5yajro}ViXtL5X}}*VimD=JtNB06}!<*G00(KFwqi+-*@Gh z&F=0hak|27Q^T1hQWWv#^l9(?3nVjln)Nn>Ps|K^y1<)7q`Grj^>V?0HxMq+k@NTc zdo6C_EpoTosPXH&4{zVDx3_;QZu0x?zjrC>UlW+PS@>2P?_Uu4;OVuKtb3CE_cbhC^9lX%XYmc{PoF_F@5VHg>O` z4Ak+2yX4QthNS-3n7J_tKU7zIO{+Dm)H`0U$iyGtB;_hA_WSPY`G1!W8Ga zEOKhI9?+qxQSauuIc!`G=1S~KmjCzb6~w(kjaT2V-}l@4;f5RE|A!sE>*@dMA?scWv%GcLxX>mn8lXfC)xv_#{>a@T9Gzq-0wDaNfiu;Iqy zeDA#xiU*gAe9$s_dQ0Y)A>+|HpA+-_fo2A;JG)R`_{V?Q>fLwa?8_G0s~b!{@bm9~ z#+~zC9ysUqfRpLE|BmCjL$o-9m&HE{8~-z?ZTHBp;pzVmtOgi7UHx3vIVCg!0Gk9z A=Kufz diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/summary.png b/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/summary.png deleted file mode 100644 index 3471cac03c8394edc69b225bd473f2aecf621d2d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1619 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfsM=4 z#WAFU@$Fs1JlRkYwg;8T+?*;ZUSbY6n0=Q_5tNnQAU#1N!ugEc1UbFEjJv-0sU+~< zWEB$X{oH1_Xy#*Y!%H@4&(2SO=acvD&gZ%D7pMN6Q!+Q6g+oBWp@D&sX_zpsiCEmZ zcW+M=-OK2 z8+TuRS*8~vd}Gl8gOd85=fBp>I~%&BYlSiki*-`ZtQAa6v94DHnVMt`-F!nB53W;s z#ld*6Phzp!s)mGc!P1t71oxgm;ZTPSt2?Zm95yH)ThXbda3j=3R`J50H7Aa`{#ROL z?R$iKj^AD9)hE+7?63Xyv6i4){bQf2XQUZM?U{DK_4?lb`(D?reV@-({ij{(4~y^A zp!}eOKl~a0Wca^j+Rj<+AsXn;!BKWZ!ZeVTWj8fku5d#z`HG9Ez#FYaeF6e+It;TG zadDIlCu?G^vH!oO|L^h6<1A*X1uu5BUu&Fo@ZZAM@1nbHl{bhphELq*8sm17|e8$(*ML@FWSvmhY6uM9mF-$C4jY`=R`#xJ zNbt7}Q3R$lBad7kR+j2l3%LX{>cW=nfAN>a_e6vJ6|-3f?e^4^{a@Jh!rJ*js7i9* zE)8JfbeJN^)HK)7JyxW#{@sn^k3TN62^YGt^+4+V@8-MT9eBuTBf6vV*9qa_Qn10w e>Ho_Q+&>cK8MJgsTM@99VDNPHb6Mw<&;$Tf4?Z9O diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/teaser.png b/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/teaser.png deleted file mode 100644 index 8f58b0ca659ccb1a79505feaa20ff8bb13fd62e5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1676 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfz8>| z#WAFU@$Fs5Jeg1t)(fk)NmiVZVybr7r1V76Ba!u+fC@`?Myrf zdiAp^^A7VyOP0Rvx8FW}cgX%sVc~U^4HFK0PTU*k&wck!F6SAgg8MJ8>V%gCGI4Wj zd^^Nl@Vk;lq*^XKJT~INj?(|{D_Wb$t z`aOvs7vE#G>H4zI@#k!&uDdCPH+DB9eFyXAZTzldzyH_g5@Wuz=4;KL%IN7C_#OT> z+uy$~pEdB!-cw~W^4i{(TyZKA(=zC*e>-XJmP?f)nJX<`$2n}=9lucgf>6MlX%Xl=8RLMQzDfc5(KCs#RagZtT%sm-Ie$UtLkrZ#|Xge>p2e zUgoC@**iIGly7|E{YyCD&A&3WkIF1I$?qrDNwr;m`@lLw?&8c9`akm|-bFQvRIlHp z{q^j-`l7G0CTpjq%s2h7c6zbLw@XX3xircI&qZu&NJ@Y2zH3oKlK8`(RBny3Z*{bj za`+s5_*mgr6YFgyEcf&;=zQy5U$?jV|BU&n6LcR0s#M!w5(NexN4ie5!^X|um16@P zHg*>r+r%njJ=mpY{ntn>ds2DnZC&g9+_uCy&tI+kwUAY$TL0f$gFAH@HQ#6ZA6R^% zX4|?w3mTI2JKkUW%&GAW!cBi;`|r!?)t3{Ee;t0@l)C0l)t^t3cVC;6v|sPr{l{lb zeB5;@TX^7fl>9Ps%14W7DLa)Y-vbxU++$WRK@xead|Pl z>5tzn=E~IbcGws%{<~X!U$ffk+3ZU{Y7_~~e;C4e)bDOj3_H-Fjx}w;tp93{#jU?S zeI?^lr2s*TxV2%^r#c$5G_mS6Z|-y(CS@YDWdE>V;0L?CZ{VIucN(mK)eD2CtDnm{ Hr-UW|if4fe diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/teaser_small.png b/modules/distro/govcms8_layouts/templates/viewmode_layouts/images/teaser_small.png deleted file mode 100644 index d014daa852e3040fc82f4aec4ee37c291bc19782..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1532 zcmeAS@N?(olHy`uVBq!ia0vp^+kp5d2OE&=`geXWkYY)9^mSxl*x1kgCy|wbfpxQ| zi(^Oy*!Iwx@0ZEasdfh;EvoBYAt zs_;gRDR)1rJU!3Mcj$D+z5m7E&)-58p5GSh*6rGGpzPh>^Y`cNn^9f+@_JqM*W+gGn%&0e|wtKHmwwGH;x z*46Rr?X2JYP296C{)fZ4+P(dM>;4D4-+FJ=XF--<`~GL|dNa8yvtKFnh^5nk4a!*} zi?}4pL<{=_4Bm7|wXR@li*=o&%)(>6$W3uoLt?n#a}LJCeJcVxv=VM$XqoYM&52o) za?NH>&)yaP{nuUAZ^hv;e>W`mFRT69xqs(^xNPqOi#?)i%_m>mFni^$wF}zrhTT8A zB=)cIxA*h^)!p-nZmLt=Abb4w{CT$jBK{|TJ^YT3-QMO}n6%aZ%irt$3hP%)wCxJP z>jvVSo$z(O=*^tA%N=ShJC+})u>Rh=TK?O4_5O9wn=04lGWILwewUwpZ$t9xTY zi~ehIE8&RA2i|OW{_oA5Sx!5{nd&OGGTuuMZEq9W?w0-E_%i%|kL|wSUu?F?9^9vE@TL53 zzq;zTkK9`pMJY&%m2EHJ8#R@N4rh1^-r+oX%2k; t^;VVA?7UjWPr}2c90Hf7V&XrTij({%?c0#~1X!Fic)I$ztaD0e0suY!O#lD@ diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/search.html.twig b/modules/distro/govcms8_layouts/templates/viewmode_layouts/search.html.twig deleted file mode 100644 index f3ee4f09d..000000000 --- a/modules/distro/govcms8_layouts/templates/viewmode_layouts/search.html.twig +++ /dev/null @@ -1,58 +0,0 @@ -{# -/** -* Search. Same as teaser, without image. -* -* List of regions: title, info, summary, tags. -*/ -#} - -{% - set classes = [ - 'search', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - -
diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/stack_detail.html.twig b/modules/distro/govcms8_layouts/templates/viewmode_layouts/stack_detail.html.twig deleted file mode 100644 index 0e74c5a58..000000000 --- a/modules/distro/govcms8_layouts/templates/viewmode_layouts/stack_detail.html.twig +++ /dev/null @@ -1,67 +0,0 @@ -{# -/** -* Stack detail. Same as Stack simple but with added summary. -* -* List of regions: title, info, summary, tags, image. -*/ -#} - -{% - set classes = [ - 'stack', - 'stack--detail', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block image %} - {% if content.image|render|striptags('')|trim %} -
- {{ content.image }} -
- {% endif %} - {% endblock %} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - -
diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/stack_simple.html.twig b/modules/distro/govcms8_layouts/templates/viewmode_layouts/stack_simple.html.twig deleted file mode 100644 index 7cd44463d..000000000 --- a/modules/distro/govcms8_layouts/templates/viewmode_layouts/stack_simple.html.twig +++ /dev/null @@ -1,60 +0,0 @@ -{# -/** -* Stack simple. Regions are in layers on top of each other. -* -* List of regions: title, info, tags, image. -*/ -#} - -{% - set classes = [ - 'stack', - 'stack--simple', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block image %} - {% if content.image|render|striptags('')|trim %} -
- {{ content.image }} -
- {% endif %} - {% endblock %} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - -
- diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/summary.html.twig b/modules/distro/govcms8_layouts/templates/viewmode_layouts/summary.html.twig deleted file mode 100644 index 17b34d0b2..000000000 --- a/modules/distro/govcms8_layouts/templates/viewmode_layouts/summary.html.twig +++ /dev/null @@ -1,58 +0,0 @@ -{# -/** -* Summary. Same as teaser, without image. -* -* List of regions: title, info, summary, tags. -*/ -#} - -{% - set classes = [ - 'summary', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - -
diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/teaser.html.twig b/modules/distro/govcms8_layouts/templates/viewmode_layouts/teaser.html.twig deleted file mode 100644 index 28bef6053..000000000 --- a/modules/distro/govcms8_layouts/templates/viewmode_layouts/teaser.html.twig +++ /dev/null @@ -1,67 +0,0 @@ -{# -/** -* Teaser view mode with image. -* -* List of regions: title, info, summary, tags, image. -*/ -#} - -{% - set classes = [ - 'teaser', - 'teaser--medium', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - - {% block image %} - {% if content.image|render|striptags('')|trim %} -
- {{ content.image }} -
- {% endif %} - {% endblock %} - -
diff --git a/modules/distro/govcms8_layouts/templates/viewmode_layouts/teaser_small.html.twig b/modules/distro/govcms8_layouts/templates/viewmode_layouts/teaser_small.html.twig deleted file mode 100644 index e40d3728a..000000000 --- a/modules/distro/govcms8_layouts/templates/viewmode_layouts/teaser_small.html.twig +++ /dev/null @@ -1,67 +0,0 @@ -{# -/** -* Teaser view mode with image. -* -* List of regions: title, info, summary, tags, image. -*/ -#} - -{% - set classes = [ - 'teaser', - 'teaser--small', -] -%} - -
- {{ title_suffix.contextual_links }} - - {% block content %} - {% if content %} -
- - {% block title %} - {% if content.title|render|striptags|trim %} -

- {{ content.title }} -

- {% endif %} - {% endblock %} - - {% block info %} - {% if content.info|render|striptags|trim %} -
- {{ content.info }} -
- {% endif %} - {% endblock %} - - {% block summary %} - {% if content.summary|render|striptags|trim %} -
- {{ content.summary }} -
- {% endif %} - {% endblock %} - - {% block tags %} - {% if content.tags|render|striptags|trim %} -
- {{ content.tags }} -
- {% endif %} - {% endblock %} - -
- {% endif %} - {% endblock %} - - {% block image %} - {% if content.image|render|striptags('')|trim %} -
- {{ content.image }} -
- {% endif %} - {% endblock %} - -
From f789ad0a2dcfcd9ae247343d6cd706ea14945b03 Mon Sep 17 00:00:00 2001 From: jackwrfuller Date: Sat, 28 Mar 2026 09:06:54 +1100 Subject: [PATCH 2/4] add integration test in CI pipeline --- .ahoy.yml | 1 + .github/workflows/build.yml | 65 +++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.ahoy.yml b/.ahoy.yml index c8b8bff43..38450ea24 100644 --- a/.ahoy.yml +++ b/.ahoy.yml @@ -15,6 +15,7 @@ commands: build: usage: Build project locally (single-local architecture only). cmd: | + set -e cat .env | grep -v "#" | grep -v -e '^$' if [ "$1" == "y" ]; then env $(cat .env | grep -v "#" | xargs) docker buildx bake -f docker-compose.yml --no-cache cli --load diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..42bdbd7bb --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,65 @@ +name: Build + +on: + pull_request: + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + with: + driver: docker + + - name: Install Ahoy + run: | + sudo wget -q https://github.com/ahoy-cli/ahoy/releases/download/v2.1.1/ahoy-bin-linux-amd64 -O /usr/local/bin/ahoy + sudo chmod +x /usr/local/bin/ahoy + + - name: Create Docker network + run: docker network create amazeeio-network || true + + - name: Build + env: + COMPOSER_AUTH: "" + DOCKER_BUILDKIT: 1 + run: | + cp .env.default .env + sed -i 's/GOVCMS_RELEASE_TAG=.*/GOVCMS_RELEASE_TAG=ci-test/' .env + ahoy build y + + - name: Stop lagoon containers + run: docker compose down -v --remove-orphans + + - name: Clone and init scaffold + run: | + git clone --depth 1 -b develop https://github.com/govCMS/scaffold.git /tmp/scaffold + cd /tmp/scaffold + ahoy init govcms saas 11 + + - name: Point scaffold to locally built images + working-directory: /tmp/scaffold + run: sed -i 's/GOVCMS_IMAGE_VERSION=.*/GOVCMS_IMAGE_VERSION=ci-test/' .env + + - name: Build scaffold + working-directory: /tmp/scaffold + run: ahoy build + + - name: Install site + working-directory: /tmp/scaffold + run: docker compose exec -T cli drush si -y govcms --account-pass=admin + + - name: Check homepage + working-directory: /tmp/scaffold + run: | + STATUS=$(docker compose exec -T test curl -s -o /dev/null -w "%{http_code}" http://nginx:8080) + echo "Homepage returned HTTP ${STATUS}" + if [ "${STATUS}" != "200" ]; then + echo "::error::Homepage returned HTTP ${STATUS}, expected 200" + docker compose exec -T test curl -s http://nginx:8080 | head -50 + exit 1 + fi From dc1d487187d7eb29f38e3413b1f26199517efc5c Mon Sep 17 00:00:00 2001 From: jackwrfuller Date: Sat, 28 Mar 2026 09:19:27 +1100 Subject: [PATCH 3/4] update CI --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42bdbd7bb..84fbaaf68 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,9 +41,11 @@ jobs: cd /tmp/scaffold ahoy init govcms saas 11 - - name: Point scaffold to locally built images + - name: Configure scaffold for CI working-directory: /tmp/scaffold - run: sed -i 's/GOVCMS_IMAGE_VERSION=.*/GOVCMS_IMAGE_VERSION=ci-test/' .env + run: | + sed -i 's/GOVCMS_IMAGE_VERSION=.*/GOVCMS_IMAGE_VERSION=ci-test/' .env + sed -i '/volumes_from:/d; /amazeeio-ssh-agent/d' docker-compose.yml - name: Build scaffold working-directory: /tmp/scaffold From 9f427ea1d3fc1d83ad733e45f9f9fc30385d64a3 Mon Sep 17 00:00:00 2001 From: jackwrfuller Date: Sat, 28 Mar 2026 09:24:45 +1100 Subject: [PATCH 4/4] remove rector --- rector.php | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 rector.php diff --git a/rector.php b/rector.php deleted file mode 100644 index b2eebc541..000000000 --- a/rector.php +++ /dev/null @@ -1,33 +0,0 @@ -import(__DIR__ . '/vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8-all-deprecations.php'); - $containerConfigurator->import(__DIR__ . '/vendor/palantirnet/drupal-rector/config/drupal-9/drupal-9-all-deprecations.php'); - - $parameters = $containerConfigurator->parameters(); - - $drupalFinder = new DrupalFinder(); - $drupalFinder->locateRoot(__DIR__); - $drupalRoot = $drupalFinder->getDrupalRoot(); - $parameters->set(Option::AUTOLOAD_PATHS, [ - $drupalRoot . '/core', - $drupalRoot . '/modules', - $drupalRoot . '/profiles', - $drupalRoot . '/themes' - ]); - - $parameters->set(Option::SKIP, ['*/upgrade_status/tests/modules/*']); - $parameters->set(Option::FILE_EXTENSIONS, ['php', 'module', 'theme', 'install', 'profile', 'inc', 'engine']); - $parameters->set(Option::AUTO_IMPORT_NAMES, true); - $parameters->set(Option::IMPORT_SHORT_CLASSES, false); - - $parameters->set('drupal_rector_notices_as_comments', true); -};