diff --git a/.env b/.env index e223e13c..c377b319 100644 --- a/.env +++ b/.env @@ -9,20 +9,16 @@ PROJECT_NAME=strategia # OpenShift project name OC_PROJECT_NAME=hki-kanslia-strategia-talous-test -STAGE_FILE_PROXY_ORIGIN="https://helfikaupunkijahallinto.blob.core.windows.net" +STAGE_FILE_PROXY_ORIGIN= STAGE_FILE_PROXY_ORIGIN_DIR= # Local hostname DRUPAL_HOSTNAME=strategia.docker.so # Docker image -DRUPAL_IMAGE=ghcr.io/city-of-helsinki/drupal-web:8.1 +DRUPAL_IMAGE=ghcr.io/city-of-helsinki/drupal-web:8.2 -# Default source @alias where to sync database and files from -DRUPAL_SYNC_SOURCE=main +COMPOSE_PROFILES=queue # Public webroot DRUPAL_WEBROOT=public - -# Don't sync files -DRUPAL_SYNC_FILES=no diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 975c3a4e..31a819c6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,11 +5,13 @@ on: name: CI env: SYMFONY_DEPRECATIONS_HELPER: disabled + SIMPLETEST_BASE_URL: http://app:8888 jobs: tests: runs-on: ubuntu-latest container: image: ghcr.io/city-of-helsinki/drupal-php-docker:8.2-alpine + options: --hostname app services: db: @@ -31,7 +33,7 @@ jobs: run: composer install --no-interaction - name: Scan security updates - run: drush pm:security + run: composer audit - name: Check that subtheme is not built with dev mode run: if grep -q 'sourceMappingURL=' -R public/themes/custom/hdbt_subtheme/dist/css; then exit 1; fi @@ -53,11 +55,7 @@ jobs: - name: Start services run: | - drush runserver $SIMPLETEST_BASE_URL > /dev/null 2>&1 & - chromedriver --port=4444 > /dev/null 2>&1 & - # Chromium browser is required to run 'functional-javascript' and - # 'existing-site-javascript' tests. - chromium-browser --headless --disable-gpu --no-sandbox --remote-debugging-port=9222 & + drush runserver $SIMPLETEST_BASE_URL --dns > /dev/null 2>&1 & # Wait for drush server to start. for i in {1..5}; do RESPONSE_CODE=$(curl -s -o /dev/null -w "%{http_code}" "$SIMPLETEST_BASE_URL" || true); if [ "$RESPONSE_CODE" -gt "301" ] || [ "$RESPONSE_CODE" -lt "200" ]; then sleep 2; fi; done @@ -65,4 +63,5 @@ jobs: - name: Run PHPUnit tests run: | composer test-php public/modules/custom - [ -d "tests/" ] && composer test-php tests/ || echo "No DTT tests found. Ignoring..." + if [ -d "tests/" ]; then composer test-php tests/; else echo "No DTT tests found. Ignoring..."; fi + diff --git a/.github/workflows/test.yml.dist b/.github/workflows/test.yml.dist deleted file mode 100644 index 202ddc9c..00000000 --- a/.github/workflows/test.yml.dist +++ /dev/null @@ -1,37 +0,0 @@ -on: [push] -name: CI -env: - SIMPLETEST_DB: "mysql://drupal:drupal@db:3306/drupal" - SIMPLETEST_BASE_URL: "http://127.0.0.1:8080" - SYMFONY_DEPRECATIONS_HELPER: max[direct]=0 -jobs: - tests: - runs-on: ubuntu-latest - container: - image: ghcr.io/city-of-helsinki/drupal-php-docker:8.0 - - services: - db: - image: druidfi/db:mysql5.7-drupal - ports: - - 3306:3306 - - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 1 - - - name: Build project - run: composer install - - - name: Run PHPCS - run: vendor/bin/phpcs public/modules/custom/ --standard=Drupal - - - name: Install Drupal - run: php -d sendmail_path=$(which true); drush --yes -v site-install --existing-config --db-url="$SIMPLETEST_DB" - - - name: Run PHPUnit tests - run: | - drush runserver $SIMPLETEST_BASE_URL > /dev/null 2>&1 & - chromedriver --port=4444 > /dev/null 2>&1 & - vendor/bin/phpunit -c $GITHUB_WORKSPACE/phpunit.xml.dist --verbose diff --git a/azure-pipelines-master.yml.dist b/azure-pipelines-master.yml.dist deleted file mode 100644 index a91a679b..00000000 --- a/azure-pipelines-master.yml.dist +++ /dev/null @@ -1,36 +0,0 @@ -# File: drupal-helfi/azure-pipelines.yml - -# Continuous integration (CI) triggers cause a pipeline to run whenever you push -# an update to the specified branches or you push specified tags. -trigger: - branches: - include: - - dev - paths: - exclude: - - README.md - -# Pull request (PR) triggers cause a pipeline to run whenever a pull request is -# opened with one of the specified target branches, or when updates are made to -# such a pull request. -# -# GitHub creates a new ref when a pull request is created. The ref points to a -# merge commit, which is the merged code between the source and target branches -# of the pull request. -# -# Opt out of pull request validation -pr: none - -# By default, use self-hosted agents -pool: Default - -resources: - repositories: - # Azure DevOps repository - - repository: drupal-REPLACEME - type: git - # project/repository - name: drupal-helfi/drupal-REPLACEME - -extends: - template: azure-pipelines-drupal-master.yml@drupal-REPLACEME diff --git a/azure-pipelines-pull-request.yml.dist b/azure-pipelines-pull-request.yml.dist deleted file mode 100644 index b77b7f2d..00000000 --- a/azure-pipelines-pull-request.yml.dist +++ /dev/null @@ -1,34 +0,0 @@ -# File: drupal-helfi/azure-pipelines.yml - -# Continuous integration (CI) triggers cause a pipeline to run whenever you push -# an update to the specified branches or you push specified tags. -# -# Opt out of CI triggers -trigger: none - -# Pull request (PR) triggers cause a pipeline to run whenever a pull request is -# opened with one of the specified target branches, or when updates are made to -# such a pull request. -# -# GitHub creates a new ref when a pull request is created. The ref points to a -# merge commit, which is the merged code between the source and target branches -# of the pull request. -pr: - branches: - include: - - main - - dev - -# By default, use self-hosted agents -pool: Default - -resources: - repositories: - # Azure DevOps repository - - repository: drupal-REPLACEME - type: git - # project/repository - name: drupal-helfi/drupal-REPLACEME - -extends: - template: azure-pipelines-drupal-pull-request.yml@drupal-REPLACEME diff --git a/azure-pipelines-release.yml b/azure-pipelines-release.yml deleted file mode 100644 index 36fab5fb..00000000 --- a/azure-pipelines-release.yml +++ /dev/null @@ -1,36 +0,0 @@ -# File: drupal-helfi/azure-pipelines.yml - -# Continuous integration (CI) triggers cause a pipeline to run whenever you push -# an update to the specified branches or you push specified tags. -trigger: - branches: - include: - - main - paths: - exclude: - - README.md - -# Pull request (PR) triggers cause a pipeline to run whenever a pull request is -# opened with one of the specified target branches, or when updates are made to -# such a pull request. -# -# GitHub creates a new ref when a pull request is created. The ref points to a -# merge commit, which is the merged code between the source and target branches -# of the pull request. -# -# Opt out of pull request validation -pr: none - -# By default, use self-hosted agents -pool: Default - -resources: - repositories: - # Azure DevOps repository - - repository: strategia-talous-pipelines - type: git - # project/repository - name: strategia-talous/strategia-talous-pipelines - -extends: - template: azure-pipelines-drupal-release.yml@strategia-talous-pipelines diff --git a/azure-pipelines-release.yml.dist b/azure-pipelines-release.yml.dist deleted file mode 100644 index f99d4d37..00000000 --- a/azure-pipelines-release.yml.dist +++ /dev/null @@ -1,37 +0,0 @@ -# File: drupal-helfi/azure-pipelines.yml - -# Continuous integration (CI) triggers cause a pipeline to run whenever you push -# an update to the specified branches or you push specified tags. -trigger: - branches: - include: - - release/* - - refs/tags/* - paths: - exclude: - - README.md - -# Pull request (PR) triggers cause a pipeline to run whenever a pull request is -# opened with one of the specified target branches, or when updates are made to -# such a pull request. -# -# GitHub creates a new ref when a pull request is created. The ref points to a -# merge commit, which is the merged code between the source and target branches -# of the pull request. -# -# Opt out of pull request validation -pr: none - -# By default, use self-hosted agents -pool: Default - -resources: - repositories: - # Azure DevOps repository - - repository: drupal-REPLACEME - type: git - # project/repository - name: drupal-helfi/drupal-REPLACEME - -extends: - template: azure-pipelines-drupal-release.yml@drupal-REPLACEME diff --git a/composer.json b/composer.json index 591855bd..83b6127e 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,8 @@ "drupal/coder": "^8.3", "drupal/core-dev": "^9.1", "phpspec/prophecy-phpunit": "^2", - "phpunit/phpunit": "^9.6" + "phpunit/phpunit": "^9.6", + "weitzman/drupal-test-traits": "^2.1" }, "conflict": { "drupal/drupal": "*" @@ -44,6 +45,9 @@ "cweagans/composer-patches": true, "drupal/core-composer-scaffold": true, "php-http/discovery": false + }, + "audit": { + "abandoned": "report" } }, "extra": { diff --git a/composer.lock b/composer.lock index ca53a6db..976acfc4 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ab440ced4d10a2ae5b572a58dc17c1dc", + "content-hash": "e82aed68b0fec0f307b7fcca1321cecd", "packages": [ { "name": "asm89/stack-cors", @@ -1285,16 +1285,16 @@ }, { "name": "doctrine/collections", - "version": "2.1.3", + "version": "2.1.4", "source": { "type": "git", "url": "https://github.com/doctrine/collections.git", - "reference": "3023e150f90a38843856147b58190aa8b46cc155" + "reference": "72328a11443a0de79967104ad36ba7b30bded134" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/collections/zipball/3023e150f90a38843856147b58190aa8b46cc155", - "reference": "3023e150f90a38843856147b58190aa8b46cc155", + "url": "https://api.github.com/repos/doctrine/collections/zipball/72328a11443a0de79967104ad36ba7b30bded134", + "reference": "72328a11443a0de79967104ad36ba7b30bded134", "shasum": "" }, "require": { @@ -1302,7 +1302,7 @@ "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^10.0", + "doctrine/coding-standard": "^12", "ext-json": "*", "phpstan/phpstan": "^1.8", "phpstan/phpstan-phpunit": "^1.0", @@ -1351,7 +1351,7 @@ ], "support": { "issues": "https://github.com/doctrine/collections/issues", - "source": "https://github.com/doctrine/collections/tree/2.1.3" + "source": "https://github.com/doctrine/collections/tree/2.1.4" }, "funding": [ { @@ -1367,20 +1367,20 @@ "type": "tidelift" } ], - "time": "2023-07-06T15:15:36+00:00" + "time": "2023-10-03T09:22:33+00:00" }, { "name": "doctrine/deprecations", - "version": "v1.1.1", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3" + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/612a3ee5ab0d5dd97b7cf3874a6efe24325efac3", - "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", "shasum": "" }, "require": { @@ -1412,9 +1412,9 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/v1.1.1" + "source": "https://github.com/doctrine/deprecations/tree/1.1.2" }, - "time": "2023-06-03T09:27:29+00:00" + "time": "2023-09-27T20:04:15+00:00" }, { "name": "doctrine/lexer", @@ -1647,17 +1647,17 @@ }, { "name": "drupal/admin_toolbar", - "version": "3.4.1", + "version": "3.4.2", "source": { "type": "git", "url": "https://git.drupalcode.org/project/admin_toolbar.git", - "reference": "3.4.1" + "reference": "3.4.2" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/admin_toolbar-3.4.1.zip", - "reference": "3.4.1", - "shasum": "bcb15ab40016becdb3ac8f21d7d1a721f48f3577" + "url": "https://ftp.drupal.org/files/projects/admin_toolbar-3.4.2.zip", + "reference": "3.4.2", + "shasum": "f5a008e5c73f5a11c6c8067c0ea6ebb76aa33854" }, "require": { "drupal/core": "^9.2 || ^10" @@ -1668,8 +1668,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "3.4.1", - "datestamp": "1684944156", + "version": "3.4.2", + "datestamp": "1696006195", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -2650,17 +2650,17 @@ }, { "name": "drupal/editoria11y", - "version": "2.0.14", + "version": "2.1.2", "source": { "type": "git", "url": "https://git.drupalcode.org/project/editoria11y.git", - "reference": "2.0.14" + "reference": "2.1.2" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/editoria11y-2.0.14.zip", - "reference": "2.0.14", - "shasum": "ac0e3d232f3c36e0d7759f1991e08ef767d11acd" + "url": "https://ftp.drupal.org/files/projects/editoria11y-2.1.2.zip", + "reference": "2.1.2", + "shasum": "ebd77063566def30be1c7c2fa684c5b05aaa7112" }, "require": { "drupal/core": "^9 || ^10" @@ -2668,8 +2668,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "2.0.14", - "datestamp": "1692130094", + "version": "2.1.2", + "datestamp": "1696531334", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -3313,6 +3313,10 @@ "GPL-2.0-or-later" ], "authors": [ + { + "name": "Anybody", + "homepage": "https://www.drupal.org/user/291091" + }, { "name": "Hydra", "homepage": "https://www.drupal.org/user/647364" @@ -3747,16 +3751,16 @@ }, { "name": "drupal/hdbt", - "version": "5.6.12", + "version": "5.6.16", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-hdbt.git", - "reference": "c24eecd637d0373f9da2bcc01336feee376fcaf1" + "reference": "c04c52069efd9befb75f3bdac754a52a88ab5f0f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/c24eecd637d0373f9da2bcc01336feee376fcaf1", - "reference": "c24eecd637d0373f9da2bcc01336feee376fcaf1", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/c04c52069efd9befb75f3bdac754a52a88ab5f0f", + "reference": "c04c52069efd9befb75f3bdac754a52a88ab5f0f", "shasum": "" }, "require": { @@ -3774,10 +3778,10 @@ "Drupal" ], "support": { - "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/5.6.12", + "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/5.6.16", "issues": "https://github.com/City-of-Helsinki/drupal-hdbt/issues" }, - "time": "2023-09-26T09:47:13+00:00" + "time": "2023-10-10T07:16:09+00:00" }, { "name": "drupal/hdbt_admin", @@ -3866,16 +3870,16 @@ }, { "name": "drupal/helfi_api_base", - "version": "2.5.5", + "version": "2.5.7", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base.git", - "reference": "7ffd5b029f1d85590dc8966007f3936f14cb3c35" + "reference": "8f39f1d33757ca36623b4e223138357e39d388c6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-api-base/zipball/7ffd5b029f1d85590dc8966007f3936f14cb3c35", - "reference": "7ffd5b029f1d85590dc8966007f3936f14cb3c35", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-api-base/zipball/8f39f1d33757ca36623b4e223138357e39d388c6", + "reference": "8f39f1d33757ca36623b4e223138357e39d388c6", "shasum": "" }, "require": { @@ -3901,10 +3905,10 @@ ], "description": "Helfi - API Base", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/tree/2.5.5", + "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/tree/2.5.7", "issues": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/issues" }, - "time": "2023-09-18T06:55:18+00:00" + "time": "2023-10-05T13:06:46+00:00" }, { "name": "drupal/helfi_azure_fs", @@ -3973,16 +3977,16 @@ }, { "name": "drupal/helfi_navigation", - "version": "2.1.2", + "version": "2.1.3", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-module-helfi-navigation.git", - "reference": "d6250383d6d6b1c8fb70f7522737d625d1b6f148" + "reference": "e08ff75ed78ab66622662c3914abb55ba9ccf35f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-navigation/zipball/d6250383d6d6b1c8fb70f7522737d625d1b6f148", - "reference": "d6250383d6d6b1c8fb70f7522737d625d1b6f148", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-navigation/zipball/e08ff75ed78ab66622662c3914abb55ba9ccf35f", + "reference": "e08ff75ed78ab66622662c3914abb55ba9ccf35f", "shasum": "" }, "require": { @@ -4000,23 +4004,23 @@ ], "description": "Helfi - Navigation", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-navigation/tree/2.1.2", + "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-navigation/tree/2.1.3", "issues": "https://github.com/City-of-Helsinki/drupal-module-helfi-navigation/issues" }, - "time": "2023-10-04T11:36:07+00:00" + "time": "2023-10-06T09:42:23+00:00" }, { "name": "drupal/helfi_platform_config", - "version": "3.4.19", + "version": "3.4.24", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config.git", - "reference": "2013f96158af6d4dfa9428a18fd6116c26ae5f37" + "reference": "e0bb476200b068015d2d64595a11ee85307d536c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/2013f96158af6d4dfa9428a18fd6116c26ae5f37", - "reference": "2013f96158af6d4dfa9428a18fd6116c26ae5f37", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/e0bb476200b068015d2d64595a11ee85307d536c", + "reference": "e0bb476200b068015d2d64595a11ee85307d536c", "shasum": "" }, "require": { @@ -4061,6 +4065,7 @@ "drupal/simple_sitemap": "^4.1", "drupal/siteimprove": "^2.0", "drupal/social_media": "^2.0", + "drupal/stomp": "^2.0", "drupal/token": "^1.9", "drupal/translatable_menu_link_uri": "^2.0", "drupal/view_unpublished": "^1.0", @@ -4119,10 +4124,10 @@ ], "description": "HELfi platform config", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/3.4.19", + "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/3.4.24", "issues": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/issues" }, - "time": "2023-10-04T11:35:55+00:00" + "time": "2023-10-10T06:52:38+00:00" }, { "name": "drupal/helfi_proxy", @@ -4593,17 +4598,17 @@ }, { "name": "drupal/linkit", - "version": "6.0.0", + "version": "6.0.2", "source": { "type": "git", "url": "https://git.drupalcode.org/project/linkit.git", - "reference": "6.0.0" + "reference": "6.0.2" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/linkit-6.0.0.zip", - "reference": "6.0.0", - "shasum": "3c4143eb797abee04e5af47eb1885a65e6321b51" + "url": "https://ftp.drupal.org/files/projects/linkit-6.0.2.zip", + "reference": "6.0.2", + "shasum": "b7d965d122403c0d1cd8b891db3ea56004026804" }, "require": { "drupal/core": "^9.4 || ^10.0.0" @@ -4618,8 +4623,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "6.0.0", - "datestamp": "1688748025", + "version": "6.0.2", + "datestamp": "1696865395", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -5140,17 +5145,17 @@ }, { "name": "drupal/pathauto", - "version": "1.11.0", + "version": "1.12.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/pathauto.git", - "reference": "8.x-1.11" + "reference": "8.x-1.12" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/pathauto-8.x-1.11.zip", - "reference": "8.x-1.11", - "shasum": "a006fe9e6046a9833711a1ae56aa4752e65bcdc8" + "url": "https://ftp.drupal.org/files/projects/pathauto-8.x-1.12.zip", + "reference": "8.x-1.12", + "shasum": "b7b6432e315e38e59a7c6cc117134326c580de4c" }, "require": { "drupal/core": "^9.3 || ^10", @@ -5163,8 +5168,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.11", - "datestamp": "1660129564", + "version": "8.x-1.12", + "datestamp": "1696776683", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -6131,6 +6136,39 @@ "source": "https://git.drupalcode.org/project/stage_file_proxy" } }, + { + "name": "drupal/stomp", + "version": "2.0.0-alpha1", + "source": { + "type": "git", + "url": "https://github.com/City-of-Helsinki/drupal-module-stomp.git", + "reference": "820e1f3aa23dfdce441ac827e03286528111f497" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-stomp/zipball/820e1f3aa23dfdce441ac827e03286528111f497", + "reference": "820e1f3aa23dfdce441ac827e03286528111f497", + "shasum": "" + }, + "require": { + "php": "^8.1", + "stomp-php/stomp-php": "^5.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "drupal/coder": "^8.3" + }, + "type": "drupal-module", + "license": [ + "GPL-2.0-or-later" + ], + "description": "Integrate Drupal with an external STOMP or AMQP message queue, such as ActiveMQ.", + "support": { + "source": "https://github.com/City-of-Helsinki/drupal-module-stomp/tree/2.0.0-alpha1", + "issues": "https://github.com/City-of-Helsinki/drupal-module-stomp/issues" + }, + "time": "2023-10-06T08:19:03+00:00" + }, { "name": "drupal/token", "version": "1.12.0", @@ -7264,16 +7302,16 @@ }, { "name": "firebase/php-jwt", - "version": "v6.8.1", + "version": "v6.9.0", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "5dbc8959427416b8ee09a100d7a8588c00fb2e26" + "reference": "f03270e63eaccf3019ef0f32849c497385774e11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/5dbc8959427416b8ee09a100d7a8588c00fb2e26", - "reference": "5dbc8959427416b8ee09a100d7a8588c00fb2e26", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/f03270e63eaccf3019ef0f32849c497385774e11", + "reference": "f03270e63eaccf3019ef0f32849c497385774e11", "shasum": "" }, "require": { @@ -7321,9 +7359,9 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.8.1" + "source": "https://github.com/firebase/php-jwt/tree/v6.9.0" }, - "time": "2023-07-14T18:33:00+00:00" + "time": "2023-10-05T00:24:42+00:00" }, { "name": "galbar/jsonpath", @@ -7860,33 +7898,33 @@ }, { "name": "laminas/laminas-escaper", - "version": "2.12.0", + "version": "2.13.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-escaper.git", - "reference": "ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490" + "reference": "af459883f4018d0f8a0c69c7a209daef3bf973ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-escaper/zipball/ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490", - "reference": "ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490", + "url": "https://api.github.com/repos/laminas/laminas-escaper/zipball/af459883f4018d0f8a0c69c7a209daef3bf973ba", + "reference": "af459883f4018d0f8a0c69c7a209daef3bf973ba", "shasum": "" }, "require": { "ext-ctype": "*", "ext-mbstring": "*", - "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0" + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "conflict": { "zendframework/zend-escaper": "*" }, "require-dev": { - "infection/infection": "^0.26.6", - "laminas/laminas-coding-standard": "~2.4.0", + "infection/infection": "^0.27.0", + "laminas/laminas-coding-standard": "~2.5.0", "maglnet/composer-require-checker": "^3.8.0", - "phpunit/phpunit": "^9.5.18", - "psalm/plugin-phpunit": "^0.17.0", - "vimeo/psalm": "^4.22.0" + "phpunit/phpunit": "^9.6.7", + "psalm/plugin-phpunit": "^0.18.4", + "vimeo/psalm": "^5.9" }, "type": "library", "autoload": { @@ -7918,7 +7956,7 @@ "type": "community_bridge" } ], - "time": "2022-10-10T10:11:09+00:00" + "time": "2023-10-10T08:35:13+00:00" }, { "name": "laminas/laminas-feed", @@ -10640,6 +10678,79 @@ }, "time": "2020-01-30T12:17:27+00:00" }, + { + "name": "stomp-php/stomp-php", + "version": "5.1.0", + "source": { + "type": "git", + "url": "https://github.com/stomp-php/stomp-php.git", + "reference": "cf1fbd79cf48b9701909e42205f1d968cec6ff7a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/stomp-php/stomp-php/zipball/cf1fbd79cf48b9701909e42205f1d968cec6ff7a", + "reference": "cf1fbd79cf48b9701909e42205f1d968cec6ff7a", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Stomp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Dejan Bosnanac", + "email": "dejan@nighttale.net", + "homepage": "http://www.nighttale.net" + }, + { + "name": "Sören Rohweder", + "email": "s.rohweder@blage.net", + "homepage": "http://www.monofone.de" + }, + { + "name": "Jens Radtke", + "email": "swefl@fin-sn.de", + "homepage": "http://www.fin-sn.de" + } + ], + "description": "stomp support for PHP", + "homepage": "http://github.com/stomp-php/stomp-php", + "keywords": [ + "activeMQ", + "apollomq", + "jms", + "messaging", + "rabbitmq", + "stomp" + ], + "support": { + "issues": "https://github.com/stomp-php/stomp-php/issues", + "source": "https://github.com/stomp-php/stomp-php/tree/5.1.0" + }, + "funding": [ + { + "url": "https://github.com/jmglsn", + "type": "github" + }, + { + "url": "https://github.com/staabm", + "type": "github" + } + ], + "time": "2023-06-19T17:34:28+00:00" + }, { "name": "symfony-cmf/routing", "version": "2.3.4", @@ -13018,16 +13129,16 @@ }, { "name": "symfony/string", - "version": "v6.3.2", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "53d1a83225002635bca3482fcbf963001313fb68" + "reference": "13d76d0fb049051ed12a04bef4f9de8715bea339" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/53d1a83225002635bca3482fcbf963001313fb68", - "reference": "53d1a83225002635bca3482fcbf963001313fb68", + "url": "https://api.github.com/repos/symfony/string/zipball/13d76d0fb049051ed12a04bef4f9de8715bea339", + "reference": "13d76d0fb049051ed12a04bef4f9de8715bea339", "shasum": "" }, "require": { @@ -13084,7 +13195,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.3.2" + "source": "https://github.com/symfony/string/tree/v6.3.5" }, "funding": [ { @@ -13100,7 +13211,7 @@ "type": "tidelift" } ], - "time": "2023-07-05T08:41:27+00:00" + "time": "2023-09-18T10:38:32+00:00" }, { "name": "symfony/translation", @@ -13377,16 +13488,16 @@ }, { "name": "symfony/var-dumper", - "version": "v5.4.28", + "version": "v5.4.29", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "684b36ff415e1381d4a943c3ca2502cd2debad73" + "reference": "6172e4ae3534d25ee9e07eb487c20be7760fcc65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/684b36ff415e1381d4a943c3ca2502cd2debad73", - "reference": "684b36ff415e1381d4a943c3ca2502cd2debad73", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/6172e4ae3534d25ee9e07eb487c20be7760fcc65", + "reference": "6172e4ae3534d25ee9e07eb487c20be7760fcc65", "shasum": "" }, "require": { @@ -13446,7 +13557,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.4.28" + "source": "https://github.com/symfony/var-dumper/tree/v5.4.29" }, "funding": [ { @@ -13462,7 +13573,7 @@ "type": "tidelift" } ], - "time": "2023-08-24T13:38:36+00:00" + "time": "2023-09-12T10:09:58+00:00" }, { "name": "symfony/yaml", @@ -14221,16 +14332,16 @@ }, { "name": "composer/composer", - "version": "2.2.21", + "version": "2.2.22", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "978198befc71de0b18fc1fc5a472c03b184b504a" + "reference": "fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/978198befc71de0b18fc1fc5a472c03b184b504a", - "reference": "978198befc71de0b18fc1fc5a472c03b184b504a", + "url": "https://api.github.com/repos/composer/composer/zipball/fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa", + "reference": "fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa", "shasum": "" }, "require": { @@ -14300,7 +14411,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", - "source": "https://github.com/composer/composer/tree/2.2.21" + "source": "https://github.com/composer/composer/tree/2.2.22" }, "funding": [ { @@ -14316,7 +14427,7 @@ "type": "tidelift" } ], - "time": "2023-02-15T12:07:40+00:00" + "time": "2023-09-29T08:53:46+00:00" }, { "name": "composer/metadata-minifier", @@ -17775,6 +17886,59 @@ } ], "time": "2021-07-28T10:34:58+00:00" + }, + { + "name": "weitzman/drupal-test-traits", + "version": "2.1.0", + "source": { + "type": "git", + "url": "git@gitlab.com:weitzman/drupal-test-traits.git", + "reference": "e40ee4e8e41f229d297c5e714fd63c4a00c633a2" + }, + "dist": { + "type": "zip", + "url": "https://gitlab.com/api/v4/projects/weitzman%2Fdrupal-test-traits/repository/archive.zip?sha=e40ee4e8e41f229d297c5e714fd63c4a00c633a2", + "reference": "e40ee4e8e41f229d297c5e714fd63c4a00c633a2", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "installer-paths": { + "web/core": [ + "type:drupal-core" + ] + }, + "drupal-scaffold": { + "locations": { + "web-root": "web/" + }, + "file-mapping": { + "[project-root]/.editorconfig": false, + "[project-root]/.gitattributes": false, + "[project-root]/.gitignore": false + } + } + }, + "autoload": { + "psr-4": { + "weitzman\\DrupalTestTraits\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Moshe Weitzman", + "email": "weitzman@tejasa.com" + } + ], + "description": "Traits for testing Drupal sites that have user content (versus unpopulated sites).", + "time": "2023-04-23T03:17:53+00:00" } ], "aliases": [], diff --git a/conf/cmi/block.block.hdbt_subtheme_chatleijuke.yml b/conf/cmi/block.block.hdbt_subtheme_chatleijuke.yml deleted file mode 100644 index f3516cc9..00000000 --- a/conf/cmi/block.block.hdbt_subtheme_chatleijuke.yml +++ /dev/null @@ -1,27 +0,0 @@ -uuid: 15d4ac73-bdff-46e3-a8c5-3b419d5bedfa -langcode: en -status: true -dependencies: - module: - - helfi_platform_config - - system - theme: - - hdbt_subtheme -id: hdbt_subtheme_chatleijuke -theme: hdbt_subtheme -region: attachments -weight: 0 -provider: null -plugin: chat_leijuke -settings: - id: chat_leijuke - label: 'Chat Leijuke Neuvonta' - label_display: '0' - provider: helfi_platform_config - chat_title: 'Ask about the city!' - chat_selection: genesys_neuvonta -visibility: - request_path: - id: request_path - negate: false - pages: "/neuvonta-ja-tuki/helsinki-info\r\n/informationstjanster-och-stod/helsingfors-info\r\n/advisory-and-support-services/helsinki-info\r\n/neuvonta-ja-tuki/helsinki-info/*\r\n/informationstjanster-och-stod/helsingfors-info/*\r\n/advisory-and-support-services/helsinki-info/*\r\n/ota-yhteytta/helsinki-info\r\n/ta-kontakt/helsingfors-info\r\n/contact-us/helsinki-info\r\n/ota-yhteytta-helsingin-kaupunkiin\r\n/kontakta-helsingfors-stad\r\n/contact-the-city-of-helsinki" diff --git a/conf/cmi/block.block.ibmchatapp_neuvonta_en.yml b/conf/cmi/block.block.ibmchatapp_neuvonta_en.yml new file mode 100644 index 00000000..93ba75a2 --- /dev/null +++ b/conf/cmi/block.block.ibmchatapp_neuvonta_en.yml @@ -0,0 +1,37 @@ +uuid: 7f625e65-71c3-4f95-842a-bfdc8b1c2109 +langcode: en +status: true +dependencies: + module: + - helfi_platform_config + - language + - system + theme: + - hdbt_subtheme +id: ibmchatapp_neuvonta_en +theme: hdbt_subtheme +region: attachments +weight: 0 +provider: null +plugin: ibm_chat_app +settings: + id: ibm_chat_app + label: 'IBM Chat App Neuvonta EN' + label_display: visible + provider: helfi_platform_config + hostname: 'https://coh-chat-app-prod.ow6i4n9pdzm.eu-de.codeengine.appdomain.cloud' + engagementId: helsinki-info-chat-en + tenantId: www-hel-fi-prod + assistantId: ace +visibility: + language: + id: language + negate: false + context_mapping: + language: '@language.current_language_context:language_interface' + langcodes: + en: en + request_path: + id: request_path + negate: false + pages: "/advisory-and-support-services/helsinki-info\r\n/advisory-and-support-services/helsinki-info/*\r\n/contact-us/helsinki-info\r\n/contact-the-city-of-helsinki" diff --git a/conf/cmi/block.block.ibmchatapp_neuvonta_fi.yml b/conf/cmi/block.block.ibmchatapp_neuvonta_fi.yml new file mode 100644 index 00000000..91037dc3 --- /dev/null +++ b/conf/cmi/block.block.ibmchatapp_neuvonta_fi.yml @@ -0,0 +1,37 @@ +uuid: 892eb9fc-277f-440e-b12a-0e3ea461c9af +langcode: en +status: true +dependencies: + module: + - helfi_platform_config + - language + - system + theme: + - hdbt_subtheme +id: ibmchatapp_neuvonta_fi +theme: hdbt_subtheme +region: attachments +weight: 0 +provider: null +plugin: ibm_chat_app +settings: + id: ibm_chat_app + label: 'IBM Chat App Neuvonta FI' + label_display: '0' + provider: helfi_platform_config + hostname: 'https://coh-chat-app-prod.ow6i4n9pdzm.eu-de.codeengine.appdomain.cloud' + engagementId: helsinki-info-chat-fi + tenantId: www-hel-fi-prod + assistantId: ace +visibility: + request_path: + id: request_path + negate: false + pages: "/neuvonta-ja-tuki/helsinki-info\r\n/neuvonta-ja-tuki/helsinki-info/*\r\n/ota-yhteytta/helsinki-info\r\n/ota-yhteytta-helsingin-kaupunkiin" + language: + id: language + negate: false + context_mapping: + language: '@language.current_language_context:language_interface' + langcodes: + fi: fi diff --git a/conf/cmi/block.block.ibmchatapp_neuvonta_sv.yml b/conf/cmi/block.block.ibmchatapp_neuvonta_sv.yml new file mode 100644 index 00000000..02755496 --- /dev/null +++ b/conf/cmi/block.block.ibmchatapp_neuvonta_sv.yml @@ -0,0 +1,37 @@ +uuid: dd804b2f-3123-437d-8f3e-10e4630940c7 +langcode: en +status: true +dependencies: + module: + - helfi_platform_config + - language + - system + theme: + - hdbt_subtheme +id: ibmchatapp_neuvonta_sv +theme: hdbt_subtheme +region: attachments +weight: 0 +provider: null +plugin: ibm_chat_app +settings: + id: ibm_chat_app + label: 'IBM Chat App Neuvonta SV' + label_display: '0' + provider: helfi_platform_config + hostname: 'https://coh-chat-app-prod.ow6i4n9pdzm.eu-de.codeengine.appdomain.cloud' + engagementId: helsinki-info-chat-sv + tenantId: www-hel-fi-prod + assistantId: ace +visibility: + language: + id: language + negate: false + context_mapping: + language: '@language.current_language_context:language_interface' + langcodes: + sv: sv + request_path: + id: request_path + negate: false + pages: "/informationstjanster-och-stod/helsingfors-info\r\n/informationstjanster-och-stod/helsingfors-info/*\r\n/ta-kontakt/helsingfors-info\r\n/kontakta-helsingfors-stad" diff --git a/conf/cmi/config_ignore.settings.yml b/conf/cmi/config_ignore.settings.yml index f839c29d..7683f5d5 100644 --- a/conf/cmi/config_ignore.settings.yml +++ b/conf/cmi/config_ignore.settings.yml @@ -5,3 +5,8 @@ ignored_config_entities: - 'hdbt_admin_tools.site_settings:site_settings' - 'hdbt_admin_tools.site_settings:footer_settings' - 'easy_breadcrumb.settings:home_segment_title' + - block.block.ibmchatapp + - block.block.ibmchatapp_neuvonta_fi + - block.block.ibmchatapp_neuvonta_sv + - block.block.ibmchatapp_neuvonta_en + - block.block.ibmchatapp_watson_talpa diff --git a/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml b/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml index 834c4cb8..648d8e2a 100644 --- a/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml +++ b/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml @@ -16,7 +16,7 @@ dependencies: - path - readonly_field_widget _core: - default_config_hash: cotjiL17Qafj5pirtPax237aflvFs_-3pKHSP6wblrg + default_config_hash: RcjlFBYhitNunsd4AVtO6f3l-efOfSCW_nlNFMznzhk id: tpr_unit.tpr_unit.default targetEntityType: tpr_unit bundle: tpr_unit @@ -359,6 +359,14 @@ content: region: content settings: { } third_party_settings: { } + unit_picture_caption: + type: string_textarea + weight: 5 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } www: type: readonly_field_widget weight: 10 diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml index 22c41e1b..b1313270 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml @@ -18,7 +18,7 @@ dependencies: - telephone - text _core: - default_config_hash: eEYHiODeZDTb8z0FJIhd8OeomGNTM2nh51IdmVBQBqc + default_config_hash: wdJwarmtiJ0vb01WKk2D0Ze8oSHKTf0ni1WKSnYpfvE id: tpr_unit.tpr_unit.default targetEntityType: tpr_unit bundle: tpr_unit @@ -30,7 +30,7 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 14 + weight: 15 region: content accessibility_phone: type: string @@ -38,14 +38,14 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 13 + weight: 14 region: content accessibility_sentences: type: tpr_accessibility_sentence label: hidden settings: { } third_party_settings: { } - weight: 19 + weight: 20 region: content accessibility_www: type: link @@ -57,14 +57,14 @@ content: rel: '' target: '' third_party_settings: { } - weight: 15 + weight: 16 region: content address: type: address_plain label: hidden settings: { } third_party_settings: { } - weight: 5 + weight: 6 region: content address_postal: type: string @@ -72,14 +72,14 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 9 + weight: 10 region: content call_charge_info: type: text_default label: above settings: { } third_party_settings: { } - weight: 11 + weight: 12 region: content description: type: text_default @@ -94,7 +94,7 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 8 + weight: 9 region: content field_content: type: entity_reference_revisions_entity_view @@ -103,7 +103,7 @@ content: view_mode: default link: '' third_party_settings: { } - weight: 18 + weight: 19 region: content field_lower_content: type: entity_reference_revisions_entity_view @@ -112,21 +112,37 @@ content: view_mode: default link: '' third_party_settings: { } - weight: 20 + weight: 21 region: content field_metatags: type: metatag_empty_formatter label: above settings: { } third_party_settings: { } - weight: 17 + weight: 18 region: content highlights: type: tpr_connection label: hidden settings: { } third_party_settings: { } - weight: 22 + weight: 23 + region: content + latitude: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 24 + region: content + longitude: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 23 region: content name: type: string @@ -149,7 +165,7 @@ content: label: hidden settings: { } third_party_settings: { } - weight: 7 + weight: 8 region: content phone: type: telephone_link @@ -157,7 +173,7 @@ content: settings: title: '' third_party_settings: { } - weight: 6 + weight: 7 region: content picture_url: type: imagecache_external_responsive_image @@ -183,7 +199,7 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 21 + weight: 22 region: content service_map_embed: type: service_map_embed @@ -193,7 +209,7 @@ content: link_title: 'Open larger map' target: true third_party_settings: { } - weight: 10 + weight: 11 region: content services: type: entity_reference_label @@ -201,7 +217,14 @@ content: settings: link: true third_party_settings: { } - weight: 16 + weight: 17 + region: content + unit_picture_caption: + type: basic_string + label: hidden + settings: { } + third_party_settings: { } + weight: 5 region: content www: type: link @@ -213,7 +236,7 @@ content: rel: '' target: '' third_party_settings: { } - weight: 12 + weight: 13 region: content hidden: contacts: true @@ -221,9 +244,7 @@ hidden: field_unit_type: true hide_description: true langcode: true - latitude: true links: true - longitude: true other_info: true price_info: true show_www: true diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml index c579c110..5e084068 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml @@ -12,7 +12,7 @@ dependencies: - address - helfi_tpr _core: - default_config_hash: CmgZbjhEqqtXajBdd0qdd1pKeF8AlLnIjmX77kO52jk + default_config_hash: lnEuzT7rRncgL-KC-uIf6ZHGYQprRCEHpYN8WrnQUno id: tpr_unit.tpr_unit.minimal targetEntityType: tpr_unit bundle: tpr_unit @@ -73,4 +73,5 @@ hidden: services: true show_www: true streetview_entrance_url: true + unit_picture_caption: true www: true diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml index df91ba80..105b455d 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml @@ -14,7 +14,7 @@ dependencies: - helfi_tpr - imagecache_external _core: - default_config_hash: E_I6tFu_ojyafS1ARj9pBdic7fwoYSiFD1UOeVO-eEo + default_config_hash: AoDOI9a3GINbOYGLRXgyPzlenlc4f7iHDdcaKsBT-HM id: tpr_unit.tpr_unit.teaser targetEntityType: tpr_unit bundle: tpr_unit @@ -91,4 +91,5 @@ hidden: services: true show_www: true streetview_entrance_url: true + unit_picture_caption: true www: true diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml index c201c265..f273b449 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml @@ -92,4 +92,5 @@ hidden: services: true show_www: true streetview_entrance_url: true + unit_picture_caption: true www: true diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml index de8cd468..7263a5a6 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml @@ -105,4 +105,5 @@ hidden: services: true show_www: true streetview_entrance_url: true + unit_picture_caption: true www: true diff --git a/conf/cmi/core.extension.yml b/conf/cmi/core.extension.yml index f3deeb31..290ad283 100644 --- a/conf/cmi/core.extension.yml +++ b/conf/cmi/core.extension.yml @@ -138,6 +138,7 @@ module: siteimprove: 0 social_media: 0 sophron: 0 + stomp: 0 system: 0 taxonomy: 0 telephone: 0 diff --git a/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml b/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml index 59baec39..e1a87165 100644 --- a/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml +++ b/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml @@ -3,7 +3,7 @@ langcode: en status: true dependencies: { } _core: - default_config_hash: ZjzZvHTvsEfBX_dhlTXEZmLbS_ELM5uV7xbXTaR7D7g + default_config_hash: znut8SNGQRsGO4_fUxjvl_SIZqbb0T7hsv98bRKxcM8 id: helfi_announcements label: 'Helfi: Announcements' label_plural: 'Helfi: Announcements' @@ -41,7 +41,7 @@ field_mapper_config: value: '$.attributes["field_announcement_title"]' storage_client_id: helfi_announcements storage_client_config: { } -persistent_cache_max_age: 600 +persistent_cache_max_age: -1 annotation_entity_type_id: null annotation_bundle_id: null annotation_field_name: null diff --git a/conf/cmi/language/fi/block.block.hdbt_subtheme_chatleijuke.yml b/conf/cmi/language/fi/block.block.hdbt_subtheme_chatleijuke.yml deleted file mode 100644 index e1f4c655..00000000 --- a/conf/cmi/language/fi/block.block.hdbt_subtheme_chatleijuke.yml +++ /dev/null @@ -1,2 +0,0 @@ -settings: - chat_title: 'Kysy kaupungista!' diff --git a/conf/cmi/simple_sitemap.bundle_settings.default.menu_link_content.main.yml b/conf/cmi/simple_sitemap.bundle_settings.default.menu_link_content.main.yml deleted file mode 100644 index 8e55877d..00000000 --- a/conf/cmi/simple_sitemap.bundle_settings.default.menu_link_content.main.yml +++ /dev/null @@ -1,4 +0,0 @@ -index: true -priority: '0.5' -changefreq: '' -include_images: false diff --git a/conf/cmi/simple_sitemap.settings.yml b/conf/cmi/simple_sitemap.settings.yml index dab3211a..92e8ef45 100644 --- a/conf/cmi/simple_sitemap.settings.yml +++ b/conf/cmi/simple_sitemap.settings.yml @@ -13,6 +13,5 @@ disable_language_hreflang: false excluded_languages: { } enabled_entity_types: - node - - menu_link_content - tpr_service - tpr_unit diff --git a/conf/cmi/views.view.editoria11y_dismissals.yml b/conf/cmi/views.view.editoria11y_dismissals.yml new file mode 100644 index 00000000..dcfbd24d --- /dev/null +++ b/conf/cmi/views.view.editoria11y_dismissals.yml @@ -0,0 +1,1492 @@ +langcode: en +status: true +dependencies: + module: + - editoria11y + - user +id: editoria11y_dismissals +label: 'Editoria11y dismissals' +module: views +description: '' +tag: '' +base_table: editoria11y_dismissals +base_field: id +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + title: Dismissals + fields: + id: + id: id + table: editoria11y_dismissals + field: id + relationship: none + group_type: group + admin_label: '' + entity_type: null + entity_field: null + plugin_id: numeric + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + pager: + type: none + options: + offset: 0 + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'manage editoria11y results' + cache: + type: none + options: { } + empty: + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + plugin_id: text_custom + empty: true + content: 'No dismissals found.' + tokenize: false + sorts: { } + arguments: { } + filters: { } + filter_groups: + operator: AND + groups: { } + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + page_path: page_path + page_title: page_title + result_name: result_name + dismissal_status: dismissal_status + name: name + created: created + stale: stale + default: created + info: + page_path: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + page_title: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + result_name: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + dismissal_status: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + name: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + created: + sortable: false + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + stale: + sortable: false + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: false + caption: '' + description: '' + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: + uid: + id: uid + table: editoria11y_dismissals + field: uid + plugin_id: standard + use_ajax: true + group_by: false + use_more: true + use_more_always: true + use_more_text: 'All dismissals' + link_display: '0' + link_url: '' + header: + editoria11y_sync_check: + id: editoria11y_sync_check + table: editoria11y_dismissals + field: editoria11y_sync_check + relationship: none + group_type: group + admin_label: '' + plugin_id: editoria11y_sync_check + empty: true + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - user.permissions + tags: { } + dismissals__page: + id: dismissals__page + display_title: 'Dismissals page' + display_plugin: page + position: 1 + display_options: + title: 'Dismissed accessibility alerts' + fields: + page_title: + id: page_title + table: editoria11y_dismissals + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: 'Page with issue' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + result_name: + id: result_name + table: editoria11y_dismissals + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: 'Dismissed issue' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: ed11y-api-result-name + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + dismissal_status: + id: dismissal_status + table: editoria11y_dismissals + field: dismissal_status + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Marked + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: ed11y-api-marked + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + created: + id: created + table: editoria11y_dismissals + field: created + relationship: none + group_type: group + admin_label: '' + plugin_id: date + label: 'On' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + date_format: short + custom_date_format: '' + timezone: '' + name: + id: name + table: users_field_data + field: name + relationship: uid + group_type: group + admin_label: '' + entity_type: user + entity_field: name + plugin_id: field + label: By + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: ed11y-api-by + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: user_name + settings: + link_to_entity: false + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + stale: + id: stale + table: editoria11y_dismissals + field: stale + relationship: none + group_type: group + admin_label: '' + plugin_id: boolean + label: 'Still on page' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + type: yes-no + type_custom_true: '' + type_custom_false: '' + not: true + page_path: + id: page_path + table: editoria11y_dismissals + field: page_path + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Path + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + uid: + id: uid + table: editoria11y_dismissals + field: uid + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + label: '' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + nothing: + id: nothing + table: views + field: nothing + relationship: none + group_type: group + admin_label: '' + plugin_id: custom + label: Reset + exclude: false + alter: + alter_text: true + text: "\r\n \r\n \r\n" + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: false + pager: + type: full + options: + offset: 0 + items_per_page: 50 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + first: '« First' + last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 9 + sorts: + created: + id: created + table: editoria11y_dismissals + field: created + relationship: none + group_type: group + admin_label: '' + plugin_id: date + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + granularity: second + filters: + page_title: + id: page_title + table: editoria11y_dismissals + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: page_title_op + label: 'Page title contains' + description: '' + use_operator: false + operator: page_title_op + operator_limit_selection: false + operator_list: { } + identifier: title + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + page_path: + id: page_path + table: editoria11y_dismissals + field: page_path + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: page_path_op + label: 'Url contains' + description: '' + use_operator: false + operator: page_path_op + operator_limit_selection: false + operator_list: { } + identifier: url + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + page_language: + id: page_language + table: editoria11y_dismissals + field: page_language + relationship: none + group_type: group + admin_label: '' + plugin_id: language + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: page_language_op + label: Language + description: '' + use_operator: false + operator: page_language_op + operator_limit_selection: false + operator_list: { } + identifier: lang + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + uid: + id: uid + table: users_field_data + field: uid + relationship: uid + group_type: group + admin_label: '' + entity_type: user + entity_field: uid + plugin_id: user_name + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: uid_op + label: By + description: '' + use_operator: false + operator: uid_op + operator_limit_selection: false + operator_list: { } + identifier: uid + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + author: '0' + editor: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + result_name: + id: result_name + table: editoria11y_dismissals + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: in_operator + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: result_name_op + label: 'Issue type' + description: '' + use_operator: false + operator: result_name_op + operator_limit_selection: false + operator_list: { } + identifier: result + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + author: '0' + editor: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + stale: + id: stale + table: editoria11y_dismissals + field: stale + relationship: none + group_type: group + admin_label: '' + plugin_id: in_operator + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: stale_op + label: 'Still on page' + description: '' + use_operator: false + operator: stale_op + operator_limit_selection: false + operator_list: { } + identifier: stale + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + dismissal_status: + id: dismissal_status + table: editoria11y_dismissals + field: dismissal_status + relationship: none + group_type: group + admin_label: '' + plugin_id: in_operator + operator: in + value: + all: all + hide: hide + ok: ok + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + filter_groups: + operator: AND + groups: + 1: AND + defaults: + title: false + pager: false + use_more: false + use_more_always: false + use_more_text: false + relationships: false + fields: false + sorts: false + filters: false + filter_groups: false + relationships: + uid: + id: uid + table: editoria11y_dismissals + field: uid + relationship: none + group_type: group + admin_label: 'Linked Drupal user' + plugin_id: standard + required: true + display_description: '' + use_more: false + use_more_always: true + use_more_text: 'All dismissals' + display_extenders: { } + path: admin/reports/editoria11y/dismissals + menu: + type: tab + title: 'Dismissed Alerts' + description: 'Issues marked as hidden or OK in Editoria11y.' + weight: 4 + expanded: false + menu_name: admin + parent: editoria11y.settings + context: '0' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } + recent_dismissals: + id: recent_dismissals + display_title: 'Recent Dismissals block' + display_plugin: block + position: 1 + display_options: + title: 'Recent dismissals' + fields: + page_path: + id: page_path + table: editoria11y_dismissals + field: page_path + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: '' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_title: + id: page_title + table: editoria11y_dismissals + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: editoria11y_page_link + label: Page + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + result_name: + id: result_name + table: editoria11y_dismissals + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: editoria11y_pages_by_issue_link + label: Issue + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + dismissal_status: + id: dismissal_status + table: editoria11y_dismissals + field: dismissal_status + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Marked + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + name: + id: name + table: users_field_data + field: name + relationship: uid + group_type: group + admin_label: '' + entity_type: user + entity_field: name + plugin_id: field + label: By + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: user_name + settings: + link_to_entity: false + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + created: + id: created + table: editoria11y_dismissals + field: created + relationship: none + group_type: group + admin_label: '' + plugin_id: date + label: 'On' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + date_format: short + custom_date_format: '' + timezone: '' + stale: + id: stale + table: editoria11y_dismissals + field: stale + relationship: none + group_type: group + admin_label: '' + plugin_id: boolean + label: 'Still on page?' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + type: yes-no + type_custom_true: '' + type_custom_false: '' + not: true + pager: + type: some + options: + offset: 0 + items_per_page: 5 + sorts: { } + filters: { } + filter_groups: + operator: AND + groups: { } + defaults: + title: false + pager: false + link_display: false + link_url: false + relationships: false + fields: false + sorts: false + filters: false + filter_groups: false + relationships: + uid: + id: uid + table: editoria11y_dismissals + field: uid + relationship: none + group_type: group + admin_label: 'Linked Drupal user' + plugin_id: standard + required: false + display_description: '' + link_display: dismissals__page + link_url: '' + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - user.permissions + tags: { } diff --git a/conf/cmi/views.view.editoria11y_results.yml b/conf/cmi/views.view.editoria11y_results.yml new file mode 100644 index 00000000..ce768f29 --- /dev/null +++ b/conf/cmi/views.view.editoria11y_results.yml @@ -0,0 +1,3307 @@ +langcode: en +status: true +dependencies: + module: + - editoria11y + - user +id: editoria11y_results +label: 'Editoria11y results' +module: views +description: '' +tag: '' +base_table: editoria11y_results +base_field: id +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + title: 'Top results' + fields: + id: + id: id + table: editoria11y_results + field: id + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + label: ID + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + pager: + type: none + options: + offset: 0 + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'manage editoria11y results' + cache: + type: none + options: { } + empty: + title: + id: title + table: views + field: title + relationship: none + group_type: group + admin_label: '' + plugin_id: title + empty: true + title: 'No known issues at this url' + sorts: { } + arguments: { } + filters: { } + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + page_title: page_title + page_result_count: page_result_count + page_path: page_path + default: page_result_count + info: + page_title: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + page_result_count: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + page_path: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: false + caption: '' + description: '' + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + use_ajax: false + group_by: true + show_admin_links: false + use_more: false + use_more_always: true + use_more_text: 'All pages with issues' + link_display: pages__page + link_url: '' + header: + editoria11y_sync_check: + id: editoria11y_sync_check + table: editoria11y_results + field: editoria11y_sync_check + relationship: none + group_type: group + admin_label: '' + plugin_id: editoria11y_sync_check + empty: false + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - url.query_args + - user.permissions + tags: { } + block_recent_issues: + id: block_recent_issues + display_title: 'Block: Recent issues' + display_plugin: block + position: 2 + display_options: + title: 'Recent issues' + fields: + created: + id: created + table: editoria11y_results + field: created + relationship: none + group_type: group + admin_label: '' + plugin_id: date + label: Detected + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + date_format: fallback + custom_date_format: '' + timezone: '' + result_name: + id: result_name + table: editoria11y_results + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Issue + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_path: + id: page_path + table: editoria11y_results + field: page_path + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: 'Page path' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_title: + id: page_title + table: editoria11y_results + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: editoria11y_page_link + label: Page + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + pager: + type: some + options: + offset: 0 + items_per_page: 5 + sorts: + created: + id: created + table: editoria11y_results + field: created + relationship: none + group_type: group + admin_label: '' + plugin_id: date + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + granularity: second + result_name: + id: result_name + table: editoria11y_results + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + filters: { } + filter_groups: + operator: AND + groups: { } + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + result_name: result_name + result_name_count: result_name_count + created: created + default: created + info: + result_name: + sortable: false + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + result_name_count: + sortable: false + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + created: + sortable: false + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: false + caption: '' + description: '' + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + defaults: + title: false + pager: false + use_more: false + use_more_always: false + use_more_text: false + link_display: false + link_url: false + style: false + row: false + fields: false + sorts: false + filters: false + filter_groups: false + display_description: '' + use_more: true + use_more_always: true + use_more_text: 'Recent issues' + link_display: recent__page + link_url: '' + display_extenders: { } + block_description: 'Editoria11y - Most frequent issues' + block_category: Editoria11y + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - user.permissions + tags: { } + block_top_issues: + id: block_top_issues + display_title: 'Block: Top issues' + display_plugin: block + position: 2 + display_options: + title: 'Top issues' + fields: + result_name: + id: result_name + table: editoria11y_results + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Issue + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + result_name_count: + id: result_name_count + table: editoria11y_results + field: result_name_count + relationship: none + group_type: sum + admin_label: '' + plugin_id: numeric + label: Count + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + pager: + type: some + options: + offset: 0 + items_per_page: 5 + sorts: + result_name_count: + id: result_name_count + table: editoria11y_results + field: result_name_count + relationship: none + group_type: sum + admin_label: '' + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + result_name: + id: result_name + table: editoria11y_results + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + filters: { } + filter_groups: + operator: AND + groups: { } + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + result_name: result_name + result_name_count: result_name_count + default: result_name_count + info: + result_name: + sortable: false + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + result_name_count: + sortable: false + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: false + caption: '' + description: '' + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + defaults: + title: false + pager: false + use_more: false + use_more_always: false + use_more_text: false + link_display: false + link_url: false + style: false + row: false + fields: false + sorts: false + filters: false + filter_groups: false + display_description: '' + use_more: true + use_more_always: true + use_more_text: 'All issues' + link_display: issues__page + link_url: '' + display_extenders: { } + block_description: 'Editoria11y - Most frequent issues' + block_category: Editoria11y + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - user.permissions + tags: { } + block_top_results: + id: block_top_results + display_title: 'Block: Pages with most issues' + display_plugin: block + position: 2 + display_options: + title: 'Pages with most issues' + fields: + page_title: + id: page_title + table: editoria11y_results + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: editoria11y_page_link + label: Page + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_path: + id: page_path + table: editoria11y_results + field: page_path + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: 'Page path' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: true + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_result_count: + id: page_result_count + table: editoria11y_results + field: page_result_count + relationship: none + group_type: group + admin_label: '' + plugin_id: editoria11y_issues_by_page_link + label: 'Issues on page' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + pager: + type: some + options: + offset: 0 + items_per_page: 5 + sorts: + page_result_count: + id: page_result_count + table: editoria11y_results + field: page_result_count + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + arguments: { } + filters: { } + filter_groups: + operator: AND + groups: { } + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + page_title: page_title + page_path: page_path + default: '-1' + info: + page_title: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + page_path: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: false + caption: '' + description: '' + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + defaults: + title: false + pager: false + use_more: false + use_more_always: false + use_more_text: false + group_by: false + style: false + row: false + fields: false + sorts: false + arguments: false + filters: false + filter_groups: false + header: false + group_by: true + display_description: '' + use_more: true + use_more_always: true + use_more_text: 'All pages with issues' + header: { } + display_extenders: { } + allow: + items_per_page: false + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - user.permissions + tags: { } + issues__page: + id: issues__page + display_title: 'All Issues' + display_plugin: page + position: 2 + display_options: + title: 'All issues' + fields: + result_name: + id: result_name + table: editoria11y_results + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Issue + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + result_name_count: + id: result_name_count + table: editoria11y_results + field: result_name_count + relationship: none + group_type: sum + admin_label: '' + plugin_id: numeric + label: Count + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + pager: + type: full + options: + offset: 0 + items_per_page: 50 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + first: '« First' + last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 9 + sorts: + result_name_count: + id: result_name_count + table: editoria11y_results + field: result_name_count + relationship: none + group_type: sum + admin_label: '' + plugin_id: standard + order: DESC + expose: + label: 'Result name count' + field_identifier: result_name_count + exposed: false + result_name: + id: result_name + table: editoria11y_results + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: 'Result name' + field_identifier: result_name + exposed: false + filters: { } + filter_groups: + operator: AND + groups: { } + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + result_name: result_name + result_name_count: result_name_count + default: result_name_count + info: + result_name: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + result_name_count: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: false + caption: '' + description: '' + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + defaults: + title: false + pager: false + use_more: false + use_more_always: false + use_more_text: false + style: false + row: false + fields: false + sorts: false + filters: false + filter_groups: false + display_description: '' + use_more: false + use_more_always: true + use_more_text: 'All pages with issues' + display_extenders: { } + path: admin/reports/editoria11y/issues + menu: + type: tab + title: 'Issue types' + description: '' + weight: 0 + expanded: false + menu_name: admin + parent: editoria11y.settings + context: '0' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - url.query_args + - user.permissions + tags: { } + issues_by_page__page: + id: issues_by_page__page + display_title: 'Issues on specified page' + display_plugin: page + position: 2 + display_options: + title: '' + fields: + result_name_count: + id: result_name_count + table: editoria11y_results + field: result_name_count + relationship: none + group_type: sum + admin_label: '' + plugin_id: numeric + label: Count + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + result_name: + id: result_name + table: editoria11y_results + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Issue + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + created: + id: created + table: editoria11y_results + field: created + relationship: none + group_type: group + admin_label: '' + plugin_id: date + label: Detected + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + date_format: short + custom_date_format: '' + timezone: '' + page_path: + id: page_path + table: editoria11y_results + field: page_path + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: 'Page path' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_title: + id: page_title + table: editoria11y_results + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: editoria11y_page_link + label: 'Page title' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + pager: + type: full + options: + offset: 0 + items_per_page: 50 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + first: '« First' + last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 9 + sorts: + result_name_count: + id: result_name_count + table: editoria11y_results + field: result_name_count + relationship: none + group_type: sum + admin_label: '' + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + result_name: + id: result_name + table: editoria11y_results + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + arguments: + page_path: + id: page_path + table: editoria11y_results + field: page_path + relationship: none + group_type: group + admin_label: '' + plugin_id: string + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: query_parameter + default_argument_options: + query_param: q + fallback: '' + multiple: and + default_argument_skip_url: false + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: true + validate: + type: none + fail: empty + validate_options: { } + glossary: false + limit: 0 + case: none + path_case: none + transform_dash: false + break_phrase: false + filters: { } + filter_groups: + operator: AND + groups: { } + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + result_name: result_name + result_name_count: result_name_count + page_path: page_path + page_title: page_title + created: created + default: result_name_count + info: + result_name: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + result_name_count: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + page_path: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + page_title: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + created: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: false + caption: '' + description: '' + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + defaults: + title: false + pager: false + style: false + row: false + fields: false + sorts: false + arguments: false + filters: false + filter_groups: false + header: false + footer: false + display_description: '' + header: + editoria11y_sync_check: + id: editoria11y_sync_check + table: editoria11y_results + field: editoria11y_sync_check + relationship: none + group_type: group + admin_label: '' + plugin_id: editoria11y_sync_check + empty: false + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + plugin_id: text_custom + empty: false + content: '

Accessibility issues on page {{page_title}}

' + tokenize: true + footer: + area_text_custom_1: + id: area_text_custom_1 + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + plugin_id: text_custom + empty: true + content: '

All pages with issues

' + tokenize: false + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + plugin_id: text_custom + empty: false + content: '' + tokenize: true + display_extenders: { } + path: admin/reports/editoria11y/page + menu: + type: none + title: 'Issue types' + description: '' + weight: 0 + expanded: false + menu_name: admin + parent: editoria11y.settings + context: '0' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } + pages__page: + id: pages__page + display_title: 'All pages with issues' + display_plugin: page + position: 2 + display_options: + title: 'Pages with accessibility issues' + fields: + page_result_count: + id: page_result_count + table: editoria11y_results + field: page_result_count + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + label: 'Issues found' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_title: + id: page_title + table: editoria11y_results + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Page + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_path: + id: page_path + table: editoria11y_results + field: page_path + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Path + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + entity_type: + id: entity_type + table: editoria11y_results + field: entity_type + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Type + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_language: + id: page_language + table: editoria11y_results + field: page_language + relationship: none + group_type: group + admin_label: '' + plugin_id: language + label: Language + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + native_language: false + pager: + type: mini + options: + offset: 0 + items_per_page: 50 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + sorts: + page_result_count: + id: page_result_count + table: editoria11y_results + field: page_result_count + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + page_title: + id: page_title + table: editoria11y_results + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + filters: + page_title: + id: page_title + table: editoria11y_results + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: page_title_op + label: 'Page title contains' + description: '' + use_operator: false + operator: page_title_op + operator_limit_selection: false + operator_list: { } + identifier: title + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + page_url: + id: page_url + table: editoria11y_results + field: page_url + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: page_url_op + label: 'Url contains' + description: '' + use_operator: false + operator: page_url_op + operator_limit_selection: false + operator_list: { } + identifier: url + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + page_language: + id: page_language + table: editoria11y_results + field: page_language + relationship: none + group_type: group + admin_label: '' + plugin_id: language + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: page_language_op + label: Language + description: '' + use_operator: false + operator: page_language_op + operator_limit_selection: false + operator_list: { } + identifier: language + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + editor: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + entity_type: + id: entity_type + table: editoria11y_results + field: entity_type + relationship: none + group_type: group + admin_label: '' + plugin_id: in_operator + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: entity_type_op + label: 'Page type' + description: '' + use_operator: false + operator: entity_type_op + operator_limit_selection: false + operator_list: { } + identifier: type + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + filter_groups: + operator: AND + groups: + 1: AND + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + page_title: page_title + page_language: page_language + entity_type: entity_type + page_result_count: page_result_count + page_path: page_path + default: page_result_count + info: + page_title: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + page_language: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + entity_type: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + page_result_count: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + page_path: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: false + caption: '' + description: '' + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + defaults: + title: false + css_class: false + pager: false + style: false + row: false + fields: false + sorts: false + filters: false + filter_groups: false + css_class: editoria11y-pagelist + display_description: '' + display_extenders: { } + path: admin/reports/editoria11y/pages + menu: + type: tab + title: 'Pages with issues' + description: '' + weight: 1 + expanded: false + menu_name: admin + parent: editoria11y.settings + context: '0' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } + pages_by_issue__page: + id: pages_by_issue__page + display_title: 'Pages with specified issue' + display_plugin: page + position: 2 + display_options: + title: 'Pages with a specific issue' + fields: + result_name_count: + id: result_name_count + table: editoria11y_results + field: result_name_count + relationship: none + group_type: group + admin_label: '' + plugin_id: editoria11y_issues_by_page_link + label: Count + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_title: + id: page_title + table: editoria11y_results + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Page + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_path: + id: page_path + table: editoria11y_results + field: page_path + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: '' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + created: + id: created + table: editoria11y_results + field: created + relationship: none + group_type: group + admin_label: '' + plugin_id: date + label: Detected + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + date_format: short + custom_date_format: '' + timezone: '' + pager: + type: mini + options: + offset: 0 + items_per_page: 50 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + sorts: + result_name_count: + id: result_name_count + table: editoria11y_results + field: result_name_count + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + page_title: + id: page_title + table: editoria11y_results + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + arguments: + result_name: + id: result_name + table: editoria11y_results + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: string + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: true + title: 'Pages with issue: "{{ arguments.result_name }}"' + default_argument_type: query_parameter + default_argument_options: + query_param: q + fallback: '' + multiple: and + default_argument_skip_url: false + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: true + validate: + type: none + fail: 'not found' + validate_options: { } + glossary: false + limit: 0 + case: none + path_case: none + transform_dash: false + break_phrase: false + filters: { } + filter_groups: + operator: AND + groups: { } + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + result_name_count: result_name_count + page_title: page_title + page_path: page_path + created: created + default: result_name_count + info: + result_name_count: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + page_title: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + page_path: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + created: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: false + caption: '' + description: '' + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + defaults: + title: false + pager: false + style: false + row: false + fields: false + sorts: false + arguments: false + filters: false + filter_groups: false + footer: false + display_description: '' + footer: + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + plugin_id: text_custom + empty: true + content: 'All issues' + tokenize: false + display_extenders: { } + path: admin/reports/editoria11y/issue + menu: + type: none + title: 'Pages with issues' + description: '' + weight: 0 + expanded: false + menu_name: admin + parent: editoria11y.settings + context: '0' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } + recent__page: + id: recent__page + display_title: 'Recent issues' + display_plugin: page + position: 2 + display_options: + title: 'Recent accessibility issues' + fields: + created: + id: created + table: editoria11y_results + field: created + relationship: none + group_type: group + admin_label: '' + plugin_id: date + label: Detected + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + date_format: short + custom_date_format: '' + timezone: '' + result_name: + id: result_name + table: editoria11y_results + field: result_name + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Issue + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + result_name_count: + id: result_name_count + table: editoria11y_results + field: result_name_count + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + label: Count + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_title: + id: page_title + table: editoria11y_results + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Page + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + entity_type: + id: entity_type + table: editoria11y_results + field: entity_type + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: Type + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + page_language: + id: page_language + table: editoria11y_results + field: page_language + relationship: none + group_type: group + admin_label: '' + plugin_id: language + label: Language + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + native_language: false + page_path: + id: page_path + table: editoria11y_results + field: page_path + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + label: '' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + pager: + type: mini + options: + offset: 0 + items_per_page: 50 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + sorts: + created: + id: created + table: editoria11y_results + field: created + relationship: none + group_type: group + admin_label: '' + plugin_id: date + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + granularity: second + page_title: + id: page_title + table: editoria11y_results + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: standard + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + filters: + page_title: + id: page_title + table: editoria11y_results + field: page_title + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: page_title_op + label: 'Page title contains' + description: '' + use_operator: false + operator: page_title_op + operator_limit_selection: false + operator_list: { } + identifier: title + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + page_url: + id: page_url + table: editoria11y_results + field: page_url + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: page_url_op + label: 'Url contains' + description: '' + use_operator: false + operator: page_url_op + operator_limit_selection: false + operator_list: { } + identifier: url + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + page_language: + id: page_language + table: editoria11y_results + field: page_language + relationship: none + group_type: group + admin_label: '' + plugin_id: language + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: page_language_op + label: Language + description: '' + use_operator: false + operator: page_language_op + operator_limit_selection: false + operator_list: { } + identifier: language + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + entity_type: + id: entity_type + table: editoria11y_results + field: entity_type + relationship: none + group_type: group + admin_label: '' + plugin_id: in_operator + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: entity_type_op + label: 'Page type' + description: '' + use_operator: false + operator: entity_type_op + operator_limit_selection: false + operator_list: { } + identifier: type + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + filter_groups: + operator: AND + groups: + 1: AND + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + created: created + result_name: result_name + result_name_count: result_name_count + page_title: page_title + page_language: page_language + entity_type: entity_type + page_path: page_path + default: created + info: + created: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + result_name: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + result_name_count: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + page_title: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + page_language: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + entity_type: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + page_path: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: false + summary: '' + empty_table: false + caption: '' + description: '' + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + defaults: + title: false + pager: false + style: false + row: false + fields: false + sorts: false + filters: false + filter_groups: false + display_description: '' + display_extenders: { } + path: admin/reports/editoria11y/recent + menu: + type: tab + title: 'Recent issues' + description: '' + weight: 2 + expanded: false + menu_name: admin + parent: editoria11y.settings + context: '0' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } diff --git a/docker-compose.yml b/docker-compose.yml index c9be64c7..c7dc6ba8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,7 @@ services: STAGE_FILE_PROXY_ORIGIN: "${STAGE_FILE_PROXY_ORIGIN}" STAGE_FILE_PROXY_ORIGIN_DIR: "${STAGE_FILE_PROXY_ORIGIN_DIR}" APP_ENV: "${APP_ENV:-local}" + ELASTIC_PROXY_URL: ${ELASTIC_PROXY_URL:-""} DRUPAL_ROUTES: "https://varnish-${DRUPAL_HOSTNAME},https://helfi-proxy.docker.so,http://${COMPOSE_PROJECT_NAME}-varnish" DRUPAL_REVERSE_PROXY_ADDRESS: helfi-proxy.docker.so DRUSH_OPTIONS_URI: "https://${DRUPAL_HOSTNAME}" @@ -21,9 +22,9 @@ services: # xdebug by default (like /etc/environments, ~/.bashrc, or ~/.zshrc). XDEBUG_ENABLE: "${XDEBUG_ENABLE:-false}" # DOCKERHOST: host.docker.internal - # Use drush server to run functional tests so we don't have to care about - # permission issues. - SIMPLETEST_BASE_URL: "http://127.0.0.1:8888" + # Use drush server to run functional tests, so we don't have to care about + # permission or SSL issues. + SIMPLETEST_BASE_URL: "http://app:8888" SIMPLETEST_DB: "mysql://drupal:drupal@db:3306/drupal" BROWSERTEST_OUTPUT_BASE_URL: "https://${DRUPAL_HOSTNAME}" DRUPAL_VARNISH_HOST: "${COMPOSE_PROJECT_NAME}-varnish" @@ -82,6 +83,59 @@ services: - "traefik.http.routers.${COMPOSE_PROJECT_NAME}-varnish.tls=true" - "traefik.http.services.${COMPOSE_PROJECT_NAME}-varnish.loadbalancer.server.port=6081" - "traefik.docker.network=stonehenge-network" + elastic: + image: docker.elastic.co/elasticsearch/elasticsearch:8.4.0 + container_name: "${COMPOSE_PROJECT_NAME}-elastic" + environment: + - node.name="${COMPOSE_PROJECT_NAME}-elastic" + - discovery.seed_hosts=elastic + - cluster.name=es-docker-cluster + - cluster.initial_master_nodes="${COMPOSE_PROJECT_NAME}-elastic" + - bootstrap.memory_lock=true + - "ES_JAVA_OPTS=-Xms512m -Xmx512m" + - "http.cors.allow-origin=\"*\"" + - "http.cors.enabled=true" + - "http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization" + - "http.cors.allow-credentials=true" + - xpack.security.enabled=false + ulimits: + memlock: + soft: -1 + hard: -1 + ports: + - 9200-9220:9200 + networks: + - internal + - stonehenge-network + labels: + - "traefik.enable=true" + - "traefik.http.routers.${COMPOSE_PROJECT_NAME}-elastic.entrypoints=https" + - "traefik.http.routers.${COMPOSE_PROJECT_NAME}-elastic.rule=Host(`elastic-${DRUPAL_HOSTNAME}`)" + - "traefik.http.routers.${COMPOSE_PROJECT_NAME}-elastic.tls=true" + - "traefik.http.services.${COMPOSE_PROJECT_NAME}-elastic.loadbalancer.server.port=9200" + - "traefik.docker.network=stonehenge-network" + - "traefik.port=9200" + profiles: + - search + artemis: + container_name: "${COMPOSE_PROJECT_NAME}-artemis" + image: quay.io/artemiscloud/activemq-artemis-broker + environment: + AMQ_EXTRA_ARGS: "--nio --user admin --password admin" + depends_on: + - app + networks: + - internal + profiles: + - queue + chromium: + # @todo Update this to newer version once minkphp supports Selenium 4. + # @see https://github.com/minkphp/MinkSelenium2Driver/pull/372 + image: selenium/standalone-chrome:106.0 + networks: + - internal + profiles: + - testing networks: internal: external: false diff --git a/docker/openshift/crons/purge-queue.sh b/docker/openshift/crons/purge-queue.sh index d74ef3c4..2690144e 100644 --- a/docker/openshift/crons/purge-queue.sh +++ b/docker/openshift/crons/purge-queue.sh @@ -12,8 +12,15 @@ function has_items { while true do if has_items; then - drush p:queue-work --no-interaction --finish --format=json | jq --arg DATE "$(date +'%Y-%m-%dT%H:%M:%S%:z')" -c '.[] |= . + {"date" : $DATE}' + RESULT=$(drush p:queue-work --no-interaction --finish --format=json | jq --arg DATE "$(date +'%Y-%m-%dT%H:%M:%S%:z')" -c '.[] |= . + {"date" : $DATE}') + # RESULT is an array of json objects. Process each result and + # only output the failed items. + echo $RESULT | jq -c '.[]' | while read LINE; do + if [ $(echo "$LINE" | jq .failed) -gt "0" ]; then + echo $LINE + fi + done fi - # Sleep for 60 seconds. + sleep 60 done diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 0ae082a9..b4434b3c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,10 +1,14 @@ @@ -12,11 +16,11 @@ - - + + - - + + diff --git a/public/sites/default/settings.php b/public/sites/default/settings.php index fb6e9839..442df275 100755 --- a/public/sites/default/settings.php +++ b/public/sites/default/settings.php @@ -12,6 +12,31 @@ ini_set('zend.enable_gc', 'Off'); } + +if (!function_exists('drupal_get_env')) { + /** + * Gets the value of given environment variable. + * + * @param string|array $variables + * The variables to scan. + * + * @return mixed + * The value. + */ + function drupal_get_env(string|array $variables) : mixed { + if (!is_array($variables)) { + $variables = [$variables]; + } + + foreach ($variables as $var) { + if ($value = getenv($var)) { + return $value; + } + } + return NULL; + } +} + if ($simpletest_db = getenv('SIMPLETEST_DB')) { $parts = parse_url($simpletest_db); putenv(sprintf('DRUPAL_DB_NAME=%s', substr($parts['path'], 1))); @@ -69,6 +94,10 @@ } $routes[] = 'http://127.0.0.1'; +if ($simpletest_base_url = getenv('SIMPLETEST_BASE_URL')) { + $routes[] = $simpletest_base_url; +} + if ($drush_options_uri = getenv('DRUSH_OPTIONS_URI')) { $routes[] = $drush_options_uri; } @@ -102,8 +131,14 @@ 'driver' => 'helfi_azure', 'config' => [ 'name' => $blob_storage_name, - 'key' => getenv('AZURE_BLOB_STORAGE_KEY'), - 'token' => getenv('AZURE_BLOB_STORAGE_SAS_TOKEN'), + 'key' => drupal_get_env([ + 'AZURE_BLOB_STORAGE_KEY', + 'BLOBSTORAGE_ACCOUNT_KEY', + ]), + 'token' => drupal_get_env([ + 'AZURE_BLOB_STORAGE_SAS_TOKEN', + 'BLOBSTORAGE_SAS_TOKEN', + ]), 'container' => getenv('AZURE_BLOB_STORAGE_CONTAINER'), 'endpointSuffix' => 'core.windows.net', 'protocol' => 'https', @@ -205,6 +240,34 @@ $config['helfi_proxy.settings']['robots_header_enabled'] = (bool) $robots_header_enabled; } +$artemis_destination = drupal_get_env([ + 'ARTEMIS_DESTINATION', + 'PROJECT_NAME', +]); + +$artemis_brokers = getenv('ARTEMIS_BROKERS'); + +if ($artemis_brokers && $artemis_destination) { + $settings['stomp']['default'] = [ + 'clientId' => getenv('ARTEMIS_CLIENT_ID') ?: 'artemis', + 'login' => getenv('ARTEMIS_LOGIN') ?: NULL, + 'passcode' => getenv('ARTEMIS_PASSCODE') ?: NULL, + 'destination' => sprintf('/queue/%s', $artemis_destination), + 'brokers' => $artemis_brokers, + 'timeout' => ['read' => 12000], + 'heartbeat' => [ + 'send' => 20000, + 'receive' => 0, + 'observers' => [ + [ + 'class' => '\Stomp\Network\Observer\HeartbeatEmitter', + ], + ], + ], + ]; + $settings['queue_default'] = 'queue.stomp.default'; +} + $config['filelog.settings']['rotation']['schedule'] = 'never'; if ( diff --git a/tools/make/project/robo.mk b/tools/make/project/robo.mk deleted file mode 100644 index 8780af09..00000000 --- a/tools/make/project/robo.mk +++ /dev/null @@ -1,86 +0,0 @@ -STONEHENGE_PATH ?= ${HOME}/stonehenge -PROJECT_DIR ?= ${GITHUB_WORKSPACE} -SITE_PREFIX ?= / - -SETUP_ROBO_TARGETS := -CI_POST_INSTALL_TARGETS := - -ifeq ($(CI),true) - SETUP_ROBO_TARGETS += install-stonehenge start-stonehenge set-permissions - CI_POST_INSTALL_TARGETS += fix-files-permission -endif - -SETUP_ROBO_TARGETS += up composer-install $(CI_POST_INSTALL_TARGETS) update-automation - -ifeq ($(DRUPAL_BUILD_FROM_SCRATCH),true) - SETUP_ROBO_TARGETS += install-drupal post-install-tasks -else - SETUP_ROBO_TARGETS += install-drupal-from-dump post-install-tasks -endif - -install-stonehenge: $(STONEHENGE_PATH)/.git - -$(STONEHENGE_PATH)/.git: - git clone -b 3.x https://github.com/druidfi/stonehenge.git $(STONEHENGE_PATH) - -PHONY += start-stonehenge -start-stonehenge: - cd $(STONEHENGE_PATH) && COMPOSE_FILE=docker-compose.yml make up - -$(PROJECT_DIR)/helfi-test-automation-python/.git: - git clone https://github.com/City-of-Helsinki/helfi-test-automation-python.git $(PROJECT_DIR)/helfi-test-automation-python - -PHONY += update-automation -update-automation: $(PROJECT_DIR)/helfi-test-automation-python/.git - git pull - -PHONY += install-drupal -install-drupal: - $(call docker_run_ci,app,drush si minimal -y) - $(call docker_run_ci,app,drush cr) - $(call docker_run_ci,app,drush si minimal --existing-config -y) - $(call docker_run_ci,app,drush deploy) - -PHONY += install-drupal-from-dump -install-drupal-from-dump: - $(call docker_run_ci,app,drush sql-drop -y) - $(call docker_run_ci,app,mysql --user=drupal --password=drupal --database=drupal --host=db --port=3306 -A < latest.sql) - $(call docker_run_ci,app,drush deploy) - -PHONY += post-install-tasks -post-install-tasks: - $(call docker_run_ci,app,drush upwd helfi-admin Test_Automation) - $(call docker_run_ci,app,drush en helfi_example_content syslog -y) - $(call docker_run_ci,app,drush helfi:migrate-fixture tpr_unit --publish) - $(call docker_run_ci,app,drush helfi:migrate-fixture tpr_service --publish) - $(call docker_run_ci,app,drush helfi:migrate-fixture tpr_errand_service --publish) - $(call docker_run_ci,app,drush helfi:migrate-fixture tpr_service_channel --publish) - $(call docker_run_ci,app,drush pmu editoria11y -y) - -PHONY += save-dump -save-dump: - $(call docker_run_ci,app,drush sql-dump --result-file=/app/latest.sql) - -PHONY += robo-shell -robo-shell: - @docker compose $(DOCKER_COMPOSE_FILES) exec robo sh - -PHONY += set-permissions -set-permissions: - chmod 777 /home/runner/.cache/composer -R - chmod 777 -R $(PROJECT_DIR) - -PHONY += fix-files-permission -fix-files-permission: - mkdir $(PROJECT_DIR)public/sites/default/files -p && chmod 777 -R $(PROJECT_DIR)public/sites/default/files - -define docker_run_ci - docker compose exec -T $(1) sh -c "$(2)" -endef - -PHONY += setup-robo -setup-robo: $(SETUP_ROBO_TARGETS) - -PHONY += run-robo-tests -run-robo-tests: - $(call docker_run_ci,robo,cd /app/helfi-test-automation-python && chmod +x run_all_tests.sh && PREFIX=$(SITE_PREFIX) BASE_URL=$(DRUPAL_HOSTNAME) ./run_all_tests.sh)