From 5d58bbef595492f9fba2098aa8ba4d56b48c1d36 Mon Sep 17 00:00:00 2001 From: martinyde Date: Wed, 13 Sep 2023 13:13:55 +0200 Subject: [PATCH 1/7] Update os2forms failed jobs --- CHANGELOG.md | 2 +- composer.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ace1caa7..36a54d73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ Nedenfor ses dato for release og beskrivelse af opgaver som er implementeret. * Added retry action to error log * Changed failed jobs view * Opdaterede til [OS2forms failed jobs to -1.3.0](https://github.com/itk-dev/os2forms_failed_jobs/releases/tag/1.3.0) +1.3.1](https://github.com/itk-dev/os2forms_failed_jobs/releases/tag/1.3.1) * Opdaterede til [Beskedfordeler 1.1.1](https://github.com/itk-dev/beskedfordeler-drupal/releases/tag/1.1.1) * Opdaterede til [Os2forms organisation diff --git a/composer.lock b/composer.lock index 64221164..49b9775e 100644 --- a/composer.lock +++ b/composer.lock @@ -8680,16 +8680,16 @@ }, { "name": "itk-dev/os2forms_failed_jobs", - "version": "1.3.0", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/itk-dev/os2forms_failed_jobs.git", - "reference": "fcc5c9740ec99d272cb8ef8b42e3032557643c1e" + "reference": "8ba210e294cbfdd2876952c2d4448bc2fc73478a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/itk-dev/os2forms_failed_jobs/zipball/fcc5c9740ec99d272cb8ef8b42e3032557643c1e", - "reference": "fcc5c9740ec99d272cb8ef8b42e3032557643c1e", + "url": "https://api.github.com/repos/itk-dev/os2forms_failed_jobs/zipball/8ba210e294cbfdd2876952c2d4448bc2fc73478a", + "reference": "8ba210e294cbfdd2876952c2d4448bc2fc73478a", "shasum": "" }, "require": { @@ -8717,9 +8717,9 @@ "description": "Provides list of failed jobs to each form.", "support": { "issues": "https://github.com/itk-dev/os2forms_failed_jobs/issues", - "source": "https://github.com/itk-dev/os2forms_failed_jobs/tree/1.3.0" + "source": "https://github.com/itk-dev/os2forms_failed_jobs/tree/1.3.1" }, - "time": "2023-08-31T10:36:34+00:00" + "time": "2023-09-13T11:08:09+00:00" }, { "name": "itk-dev/os2forms_nemlogin_openid_connect", From 49cf8f5cfd2aa337c47d26588f1d74f78090a8c0 Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Wed, 13 Sep 2023 13:17:56 +0200 Subject: [PATCH 2/7] =?UTF-8?q?FORDRIF-171:=20Updated=20Maestro=20and=20OS?= =?UTF-8?q?2Forms=20forl=C3=B8b=20modules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 + README.md | 4 +- composer.json | 6 +- composer.lock | 290 ++++++++++++------ ...ue_queue.os2forms_forloeb_notification.yml | 16 + config/sync/config_ignore.settings.yml | 1 + config/sync/maestro.settings.yml | 2 + config/sync/mailsystem.settings.yml | 4 + config/sync/os2forms_forloeb.settings.yml | 19 ++ package.json | 4 +- phpcs.xml.dist | 1 + 11 files changed, 255 insertions(+), 95 deletions(-) create mode 100644 config/sync/advancedqueue.advancedqueue_queue.os2forms_forloeb_notification.yml create mode 100644 config/sync/os2forms_forloeb.settings.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 36a54d73..949a4611 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,9 @@ Nedenfor ses dato for release og beskrivelse af opgaver som er implementeret. * Opdaterede til [Os2forms sync 1.1.3](https://github.com/itk-dev/os2forms_sync/releases/tag/1.1.3) * Enable os2forms_webform_maps and related contrib modules +* [#216](https://github.com/itk-dev/os2forms_selvbetjening/pull/216) + Updated OS2Forms forløb and Maestro in order to send notifications to + anonymous users. ## [2.4.9] 2023-09-06 diff --git a/README.md b/README.md index 0eae7ed1..f1b20150 100644 --- a/README.md +++ b/README.md @@ -149,8 +149,8 @@ docker compose exec phpfpm composer coding-standards-check ``` ```sh -docker compose run node yarn --cwd /app install -docker compose run node yarn --cwd /app coding-standards-check +docker compose run --rm node yarn --cwd /app install +docker compose run --rm node yarn --cwd /app coding-standards-check ``` ## Testing diff --git a/composer.json b/composer.json index f7f5164d..e365b9a2 100644 --- a/composer.json +++ b/composer.json @@ -41,6 +41,10 @@ { "type": "composer", "url": "https://packages.drupal.org/8" + }, + { + "type": "vcs", + "url": "https://github.com/itk-dev/os2forms_forloeb" } ], "require": { @@ -56,7 +60,6 @@ "drupal/key_auth": "^2.1", "drupal/keyboard_shortcuts": "^1.1.1", "drupal/lang_dropdown": "^2.0", - "drupal/maestro": "^3.0", "drupal/memcache": "^2.5", "drupal/menu_link_attributes": "^1.3", "drupal/openid_connect": "^2.0", @@ -75,6 +78,7 @@ "itk-dev/serviceplatformen": "dev-feature/guzzle6-adapter as 1.5", "itk-dev/web_accessibility_statement": "^1.0", "os2forms/os2forms_digital_post": "^3.0", + "os2forms/os2forms_forloeb": "dev-feature/maestro-stuff as 2.6", "os2forms/os2forms_forloeb_profile": "^1.12", "os2forms/os2forms_get_organized": "^1.1.2", "os2forms/os2forms_organisation": "^1.1.1", diff --git a/composer.lock b/composer.lock index 49b9775e..fd17f276 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": "df9d8a40b2ae507137ad825a5872bc7d", + "content-hash": "19ae21d139800cd382acfb2f85f33b7d", "packages": [ { "name": "asm89/stack-cors", @@ -636,16 +636,16 @@ }, { "name": "consolidation/output-formatters", - "version": "4.3.1", + "version": "4.3.2", "source": { "type": "git", "url": "https://github.com/consolidation/output-formatters.git", - "reference": "f65524e9ecd2bd0021c4b18710005caaa6dcbd86" + "reference": "06711568b4cd169700ff7e8075db0a9a341ceb58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/f65524e9ecd2bd0021c4b18710005caaa6dcbd86", - "reference": "f65524e9ecd2bd0021c4b18710005caaa6dcbd86", + "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/06711568b4cd169700ff7e8075db0a9a341ceb58", + "reference": "06711568b4cd169700ff7e8075db0a9a341ceb58", "shasum": "" }, "require": { @@ -684,9 +684,9 @@ "description": "Format text by applying transformations provided by plug-in formatters.", "support": { "issues": "https://github.com/consolidation/output-formatters/issues", - "source": "https://github.com/consolidation/output-formatters/tree/4.3.1" + "source": "https://github.com/consolidation/output-formatters/tree/4.3.2" }, - "time": "2023-05-20T03:23:06+00:00" + "time": "2023-07-06T04:45:41+00:00" }, { "name": "consolidation/robo", @@ -1158,30 +1158,30 @@ }, { "name": "doctrine/instantiator", - "version": "1.5.0", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", - "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^9 || ^11", + "doctrine/coding-standard": "^11", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.16 || ^1", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-phpunit": "^1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.30 || ^5.4" + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^5.4" }, "type": "library", "autoload": { @@ -1208,7 +1208,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + "source": "https://github.com/doctrine/instantiator/tree/2.0.0" }, "funding": [ { @@ -1224,7 +1224,7 @@ "type": "tidelift" } ], - "time": "2022-12-30T00:15:36+00:00" + "time": "2022-12-30T00:23:10+00:00" }, { "name": "doctrine/lexer", @@ -2175,17 +2175,17 @@ }, { "name": "drupal/clientside_validation", - "version": "3.0.1", + "version": "3.0.0-rc4", "source": { "type": "git", "url": "https://git.drupalcode.org/project/clientside_validation.git", - "reference": "3.0.1" + "reference": "3.0.0-rc4" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/clientside_validation-3.0.1.zip", - "reference": "3.0.1", - "shasum": "a5064ff992f8924d83edfdb5b1cab2464b629c5a" + "url": "https://ftp.drupal.org/files/projects/clientside_validation-3.0.0-rc4.zip", + "reference": "3.0.0-rc4", + "shasum": "646ea754f3331bd2f6d7d29f798d033176b0474a" }, "require": { "drupal/core": "^8.7.7 || ^9", @@ -2198,11 +2198,11 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "3.0.1", - "datestamp": "1660914342", + "version": "3.0.0-rc4", + "datestamp": "1592755000", "security-coverage": { - "status": "covered", - "message": "Covered by Drupal's security advisory policy" + "status": "not-covered", + "message": "RC releases are not covered by Drupal security advisories." } } }, @@ -4479,26 +4479,26 @@ }, { "name": "drupal/libraries", - "version": "3.0.0-beta3", + "version": "3.0.0-beta1", "source": { "type": "git", "url": "https://git.drupalcode.org/project/libraries.git", - "reference": "8.x-3.0-beta3" + "reference": "8.x-3.0-beta1" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/libraries-8.x-3.0-beta3.zip", - "reference": "8.x-3.0-beta3", - "shasum": "5feb776342d065a276c1409c1f0f306cf2834b53" + "url": "https://ftp.drupal.org/files/projects/libraries-8.x-3.0-beta1.zip", + "reference": "8.x-3.0-beta1", + "shasum": "7843870c52251cc5290e1cdca94524f71edbf016" }, "require": { - "drupal/core": "^8.8 || ^9" + "drupal/core": "^8 || ^9" }, "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-3.0-beta3", - "datestamp": "1679503579", + "version": "8.x-3.0-beta1", + "datestamp": "1618261123", "security-coverage": { "status": "not-covered", "message": "Beta releases are not covered by Drupal security advisories." @@ -4538,7 +4538,7 @@ "description": "Allows version-dependent and shared usage of external libraries in Drupal.", "homepage": "http://drupal.org/project/libraries", "support": { - "source": "https://git.drupalcode.org/project/libraries", + "source": "http://cgit.drupalcode.org/libraries", "issues": "http://drupal.org/project/issues/libraries", "irc": "irc://irc.freenode.org/drupal-contribute" } @@ -4670,17 +4670,17 @@ }, { "name": "drupal/maestro", - "version": "3.1.0-rc1", + "version": "3.1.0-rc2", "source": { "type": "git", "url": "https://git.drupalcode.org/project/maestro.git", - "reference": "3.1.0-rc1" + "reference": "3.1.0-rc2" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/maestro-3.1.0-rc1.zip", - "reference": "3.1.0-rc1", - "shasum": "a8ca32127f5d795a065ac38bd27aa487c5142251" + "url": "https://ftp.drupal.org/files/projects/maestro-3.1.0-rc2.zip", + "reference": "3.1.0-rc2", + "shasum": "c6365f6bc087a2daf434ed649fc437046b323e84" }, "require": { "drupal/core": "^9.4 || ^10" @@ -4692,8 +4692,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "3.1.0-rc1", - "datestamp": "1671216754", + "version": "3.1.0-rc2", + "datestamp": "1694466204", "security-coverage": { "status": "not-covered", "message": "RC releases are not covered by Drupal security advisories." @@ -4790,26 +4790,26 @@ }, { "name": "drupal/masquerade", - "version": "2.0.0-rc4", + "version": "2.0.0-beta4", "source": { "type": "git", "url": "https://git.drupalcode.org/project/masquerade.git", - "reference": "8.x-2.0-rc4" + "reference": "8.x-2.0-beta4" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/masquerade-8.x-2.0-rc4.zip", - "reference": "8.x-2.0-rc4", - "shasum": "2d1da938f58ff539e945b5234e3c8b718cc93a51" + "url": "https://ftp.drupal.org/files/projects/masquerade-8.x-2.0-beta4.zip", + "reference": "8.x-2.0-beta4", + "shasum": "8ab6cf13239e92a787f373d83bd245b9d50f7e6b" }, "require": { - "drupal/core": "^9.2 || ^10" + "drupal/core": "^8.7.7 || ^9" }, "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-2.0-rc4", - "datestamp": "1691692361", + "version": "8.x-2.0-beta4", + "datestamp": "1591126607", "security-coverage": { "status": "not-covered", "message": "Project has not opted into security advisory coverage!" @@ -6218,27 +6218,27 @@ }, { "name": "drupal/webform_composite", - "version": "1.0.0-rc3", + "version": "1.0.0-rc2", "source": { "type": "git", "url": "https://git.drupalcode.org/project/webform_composite.git", - "reference": "8.x-1.0-rc3" + "reference": "8.x-1.0-rc2" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/webform_composite-8.x-1.0-rc3.zip", - "reference": "8.x-1.0-rc3", - "shasum": "8f0f26d60a75b89332f9dc80eebfe90292a90c84" + "url": "https://ftp.drupal.org/files/projects/webform_composite-8.x-1.0-rc2.zip", + "reference": "8.x-1.0-rc2", + "shasum": "08d7c23d8b4014d066598ae4b7632682c05bcd83" }, "require": { - "drupal/core": "^8.8 || ^9 || ^10", + "drupal/core": "^8 || ^9", "drupal/webform": "*" }, "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.0-rc3", - "datestamp": "1675311365", + "version": "8.x-1.0-rc2", + "datestamp": "1591213393", "security-coverage": { "status": "not-covered", "message": "RC releases are not covered by Drupal security advisories." @@ -8975,21 +8975,21 @@ }, { "name": "jms/serializer", - "version": "3.23.0", + "version": "3.24.0", "source": { "type": "git", "url": "https://github.com/schmittjoh/serializer.git", - "reference": "ac0b16ee5317d1aacc41deb91c6c325eae97c176" + "reference": "bd18f0a6ee4d75515b33091afa3333e100e0be43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/ac0b16ee5317d1aacc41deb91c6c325eae97c176", - "reference": "ac0b16ee5317d1aacc41deb91c6c325eae97c176", + "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/bd18f0a6ee4d75515b33091afa3333e100e0be43", + "reference": "bd18f0a6ee4d75515b33091afa3333e100e0be43", "shasum": "" }, "require": { "doctrine/annotations": "^1.13 || ^2.0", - "doctrine/instantiator": "^1.0.3", + "doctrine/instantiator": "^1.0.3 || ^2.0", "doctrine/lexer": "^1.1 || ^2", "jms/metadata": "^2.6", "php": "^7.2||^8.0", @@ -9005,7 +9005,7 @@ "ocramius/proxy-manager": "^1.0|^2.0", "phpbench/phpbench": "^1.0", "phpstan/phpstan": "^1.0.2", - "phpunit/phpunit": "^8.5.21||^9.0", + "phpunit/phpunit": "^8.5.21||^9.0||^10.0", "psr/container": "^1.0|^2.0", "symfony/dependency-injection": "^3.0|^4.0|^5.0|^6.0", "symfony/expression-language": "^3.2|^4.0|^5.0|^6.0", @@ -9059,7 +9059,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/serializer/issues", - "source": "https://github.com/schmittjoh/serializer/tree/3.23.0" + "source": "https://github.com/schmittjoh/serializer/tree/3.24.0" }, "funding": [ { @@ -9067,7 +9067,7 @@ "type": "github" } ], - "time": "2023-02-17T17:40:48+00:00" + "time": "2023-06-04T20:28:00+00:00" }, { "name": "laminas/laminas-escaper", @@ -9858,6 +9858,109 @@ }, "time": "2023-08-14T12:49:48+00:00" }, + { + "name": "os2forms/os2forms_forloeb", + "version": "dev-feature/maestro-stuff", + "source": { + "type": "git", + "url": "https://github.com/itk-dev/os2forms_forloeb.git", + "reference": "9b473674d73d1e343d085ecd33c3e3190a86a8a0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/itk-dev/os2forms_forloeb/zipball/9b473674d73d1e343d085ecd33c3e3190a86a8a0", + "reference": "9b473674d73d1e343d085ecd33c3e3190a86a8a0", + "shasum": "" + }, + "require": { + "cweagans/composer-patches": "^1.6.5", + "dompdf/dompdf": "^2.0", + "drupal/admin_toolbar": "^3.0", + "drupal/chosen": "^2.10", + "drupal/ckeditor_a11ychecker": "2.0.0-alpha1", + "drupal/clientside_validation": "3.0.0-rc4", + "drupal/coc_forms_auto_export": "2.0.0-alpha1", + "drupal/config_entity_revisions": "^1.7.0", + "drupal/diff": "^1.0", + "drupal/embed": "^1.4", + "drupal/events_logging": "^1.5", + "drupal/header_and_footer_scripts": "^3.0", + "drupal/image_widget_crop": "^2.3", + "drupal/ldap": "^4.2", + "drupal/ldap_auth": "^1.17", + "drupal/libraries": "3.0.0-beta1", + "drupal/linkit": "^5.0", + "drupal/logging_alerts": "^2.0", + "drupal/maestro": "^3.1", + "drupal/masquerade": "2.0.0-beta4", + "drupal/queue_mail": "^1.4", + "drupal/queue_ui": "^2.1", + "drupal/r4032login": "^2.1", + "drupal/simple_ldap": "1.0.0-alpha3", + "drupal/simplesamlphp_auth": "^3.2", + "drupal/switch_page_theme": "^4.0", + "drupal/telephone_validation": "^2.2", + "drupal/ultimate_cron": "^2.0.0", + "drupal/user_default_page": "^2.1", + "drupal/webform_composite": "1.0-rc2", + "drupal/webform_node_element": "^1.2", + "drupal/webform_remote_handlers": "^1.6.0", + "drupal/webform_rest": "^4.0.0-beta2", + "drupal/webform_scheduled_tasks": "^2.0", + "drupal/webform_views": "^5.0@alpha", + "drupal/workflow_participants": "^2.4", + "os2forms/os2forms": "^3.7", + "os2forms/os2forms_digital_post": "^3.0", + "webmozart/path-util": "^2.3", + "zaporylie/composer-drupal-optimizations": "^1.2" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", + "drupal/coder": "^8.3" + }, + "suggest": { + "itk-dev/os2forms_digital_post": "Send digital post" + }, + "type": "drupal-module", + "extra": { + "composer-exit-on-patch-failure": true, + "enable-patching": true, + "patches": { + "drupal/user_default_page": { + "Warning: in_array() expects parameter 2 to be array, null given in user_default_page_user_logout() (https://www.drupal.org/node/3246986)": "https://www.drupal.org/files/issues/2021-11-01/user_default_page-3246986-2.patch" + }, + "drupal/coc_forms_auto_export": { + "3240592 - Problem with phpseclib requirement in 2.x (https://www.drupal.org/project/coc_forms_auto_export/issues/3240592)": "https://www.drupal.org/files/issues/2021-10-04/requirement-namespace-3240592-1.patch" + }, + "//": "Note: drupal/dynamic_entity_reference is required by drupal/workflow_participants", + "drupal/dynamic_entity_reference": { + "entityQuery reference JOINs should specify target_type (https://www.drupal.org/project/dynamic_entity_reference/issues/3120952#comment-14141038)": "https://www.drupal.org/files/issues/2021-06-22/entityquery-reference-joins-should-specify-target_type-3120952-24.patch" + } + } + }, + "scripts": { + "coding-standards-check/phpcs": [ + "phpcs --standard=phpcs.xml.dist" + ], + "coding-standards-check": [ + "@coding-standards-check/phpcs" + ], + "coding-standards-apply/phpcs": [ + "phpcbf --standard=phpcs.xml.dist" + ], + "coding-standards-apply": [ + "@coding-standards-apply/phpcs" + ] + }, + "license": [ + "EUPL-1.2" + ], + "description": "This module adds Maestro workflow engine and functionality to produce advanced workflows", + "support": { + "source": "https://github.com/itk-dev/os2forms_forloeb/tree/feature/maestro-stuff" + }, + "time": "2023-09-12T07:47:07+00:00" + }, { "name": "os2forms/os2forms_forloeb_profile", "version": "1.12.0", @@ -11616,16 +11719,16 @@ }, { "name": "psy/psysh", - "version": "v0.11.18", + "version": "v0.11.20", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "4f00ee9e236fa6a48f4560d1300b9c961a70a7ec" + "reference": "0fa27040553d1d280a67a4393194df5228afea5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/4f00ee9e236fa6a48f4560d1300b9c961a70a7ec", - "reference": "4f00ee9e236fa6a48f4560d1300b9c961a70a7ec", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/0fa27040553d1d280a67a4393194df5228afea5b", + "reference": "0fa27040553d1d280a67a4393194df5228afea5b", "shasum": "" }, "require": { @@ -11686,9 +11789,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.11.18" + "source": "https://github.com/bobthecow/psysh/tree/v0.11.20" }, - "time": "2023-05-23T02:31:11+00:00" + "time": "2023-07-31T14:32:22+00:00" }, { "name": "ralouphie/getallheaders", @@ -16413,16 +16516,16 @@ }, { "name": "symfony/polyfill-uuid", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166" + "reference": "9c44518a5aff8da565c8a55dbe85d2769e6f630e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/f3cf1a645c2734236ed1e2e671e273eeb3586166", - "reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/9c44518a5aff8da565c8a55dbe85d2769e6f630e", + "reference": "9c44518a5aff8da565c8a55dbe85d2769e6f630e", "shasum": "" }, "require": { @@ -16437,7 +16540,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -16475,7 +16578,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.28.0" }, "funding": [ { @@ -16491,7 +16594,7 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/process", @@ -17244,16 +17347,16 @@ }, { "name": "symfony/uid", - "version": "v6.2.7", + "version": "v6.3.0", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0" + "reference": "01b0f20b1351d997711c56f1638f7a8c3061e384" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0", - "reference": "d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0", + "url": "https://api.github.com/repos/symfony/uid/zipball/01b0f20b1351d997711c56f1638f7a8c3061e384", + "reference": "01b0f20b1351d997711c56f1638f7a8c3061e384", "shasum": "" }, "require": { @@ -17298,7 +17401,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v6.2.7" + "source": "https://github.com/symfony/uid/tree/v6.3.0" }, "funding": [ { @@ -17314,7 +17417,7 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:44:56+00:00" + "time": "2023-04-08T07:25:02+00:00" }, { "name": "symfony/validator", @@ -22295,11 +22398,18 @@ "version": "dev-feature/guzzle6-adapter", "alias": "1.5", "alias_normalized": "1.5.0.0" + }, + { + "package": "os2forms/os2forms_forloeb", + "version": "dev-feature/maestro-stuff", + "alias": "2.6", + "alias_normalized": "2.6.0.0" } ], "minimum-stability": "dev", "stability-flags": { - "itk-dev/serviceplatformen": 20 + "itk-dev/serviceplatformen": 20, + "os2forms/os2forms_forloeb": 20 }, "prefer-stable": true, "prefer-lowest": false, @@ -22307,5 +22417,5 @@ "php": "^8.1" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/config/sync/advancedqueue.advancedqueue_queue.os2forms_forloeb_notification.yml b/config/sync/advancedqueue.advancedqueue_queue.os2forms_forloeb_notification.yml new file mode 100644 index 00000000..0c028ef4 --- /dev/null +++ b/config/sync/advancedqueue.advancedqueue_queue.os2forms_forloeb_notification.yml @@ -0,0 +1,16 @@ +uuid: ec53e881-af8a-4032-87b9-2bad63d22389 +langcode: da +status: true +dependencies: { } +id: os2forms_forloeb_notification +label: 'OS2Forms forløb notification' +backend: database +backend_configuration: + lease_time: 300 +processor: daemon +processing_time: 90 +locked: false +threshold: + type: 0 + limit: 0 + state: all diff --git a/config/sync/config_ignore.settings.yml b/config/sync/config_ignore.settings.yml index 1a22e412..209fc32d 100644 --- a/config/sync/config_ignore.settings.yml +++ b/config/sync/config_ignore.settings.yml @@ -22,3 +22,4 @@ ignored_config_entities: - 'os2web_datalookup.serviceplatformen_cpr_extended:certfile_passphrase' - 'os2web_datalookup.serviceplatformen_cpr_extended:certfile' - 'os2web_datalookup.serviceplatformen_cpr_extended:certfile_test' + - 'os2forms_forloeb.settings' diff --git a/config/sync/maestro.settings.yml b/config/sync/maestro.settings.yml index 48cc0b82..d10363ac 100644 --- a/config/sync/maestro.settings.yml +++ b/config/sync/maestro.settings.yml @@ -7,3 +7,5 @@ maestro_orchestrator_development_mode: 0 _core: default_config_hash: mCGD8kihnK7wqaQPAlYskypDDPWuP2VO502z-Wwg_RM langcode: da +maestro_sitewide_token: task +maestro_token_zero_user: 1 diff --git a/config/sync/mailsystem.settings.yml b/config/sync/mailsystem.settings.yml index 48fc9212..368b0e7c 100644 --- a/config/sync/mailsystem.settings.yml +++ b/config/sync/mailsystem.settings.yml @@ -10,3 +10,7 @@ modules: none: sender: SMTPMailSystem formatter: webform_php_mail + os2forms_forloeb: + none: + sender: SMTPMailSystem + formatter: webform_php_mail diff --git a/config/sync/os2forms_forloeb.settings.yml b/config/sync/os2forms_forloeb.settings.yml new file mode 100644 index 00000000..2b1036db --- /dev/null +++ b/config/sync/os2forms_forloeb.settings.yml @@ -0,0 +1,19 @@ +known_anonymous_roles: + anonymous: anonymous + virksomhed: virksomhed + citizen: citizen + authenticated: 0 + administrator: 0 + site_admin: 0 + flow_designer: 0 + forloeb_designer: 0 + sagsbehandler: 0 + medarbejder: 0 + leder: 0 + os2forms_rest_api_user: 0 + os2forms_rest_api_user_write: 0 +processing: + queue: os2forms_forloeb_notification +templates: + notification_email: "{#\r\n/**\r\n * @file\r\n * Template for Maestro notification email.\r\n *\r\n * Available variables:\r\n * - message: The notification message\r\n * - subject: the notification subject\r\n * - contect: the notification content. Must be rendered as `processed_text`, i.e.:\r\n * @code\r\n * {{ {\r\n * '#type': 'processed_text',\r\n * '#text': message.content.value,\r\n * '#format': message.content.format,\r\n * } }}\r\n * @endcode\r\n * - notification_type: The type of notification ()\r\n * - task_url: URL of the task.\r\n * - action_label: Optional label for the task action.\r\n */\r\n#}\r\n
\r\n {# @see https://api.drupal.org/api/drupal/core%21modules%21filter%21filter.module/function/check_markup/9 #}\r\n
\r\n {{ {\r\n '#type': 'processed_text',\r\n '#text': message.content.value,\r\n '#format': message.content.format,\r\n } }}\r\n
\r\n\r\n {% if task_url|default(false) %}\r\n {{ action_label|default('Go to your task'|t) }}\r\n {% endif %}\r\n
\r\n" + notification_pdf: "{#\r\n/**\r\n * @file\r\n * Template for Maestro notification PDF.\r\n *\r\n * Available variables:\r\n * - message: The notification message\r\n * - subject: the notification subject\r\n * - contect: the notification content. Must be rendered as `processed_text`, i.e.:\r\n * @code\r\n * {{ {\r\n * '#type': 'processed_text',\r\n * '#text': message.content.value,\r\n * '#format': message.content.format,\r\n * } }}\r\n * @endcode\r\n * - notification_type: The type of notification ()\r\n * - task_url: URL of the task.\r\n * - action_label: Optional label for the task action.\r\n */\r\n#}\r\n\r\n\r\n\r\n \r\n \r\n {{ message.subject }}\r\n \r\n\r\n\r\n
\r\n \"Aarhus\r\n
\r\n\r\n
\r\n {# @see https://api.drupal.org/api/drupal/core%21modules%21filter%21filter.module/function/check_markup/9 #}\r\n
\r\n {{ {\r\n '#type': 'processed_text',\r\n '#text': message.content.value,\r\n '#format': message.content.format,\r\n } }}\r\n
\r\n
\r\n\r\n\r\n" diff --git a/package.json b/package.json index 50049294..4d540cf1 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "markdownlint-cli": "^0.31.1" }, "scripts": { - "coding-standards-check/markdownlint": "markdownlint '*.md' 'web/modules/custom/**/*.md'", + "coding-standards-check/markdownlint": "markdownlint '*.md' 'docs/**/*.md' 'web/modules/custom/**/*.md'", "coding-standards-check": "yarn coding-standards-check/markdownlint", - "coding-standards-apply/markdownlint": "markdownlint --fix '*.md' 'web/modules/custom/**/*.md'", + "coding-standards-apply/markdownlint": "markdownlint '*.md' 'docs/**/*.md' 'web/modules/custom/**/*.md' --fix", "coding-standards-apply": "yarn coding-standards-apply/markdownlint" } } diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 98df3e71..78e03f96 100755 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -6,6 +6,7 @@ web/modules/custom/itkdev_booking/ web/modules/custom/itkdev_booking/assets/ + vendor/ From 04f5758108fe041d462d5c4eb27e76f4c66ef0a7 Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Wed, 13 Sep 2023 13:18:42 +0200 Subject: [PATCH 3/7] FORDRIF-171: Prevented potential undefined index error --- .../custom/os2forms_selvbetjening/os2forms_selvbetjening.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.module b/web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.module index 0a19ab20..a7bd11da 100644 --- a/web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.module +++ b/web/modules/custom/os2forms_selvbetjening/os2forms_selvbetjening.module @@ -23,7 +23,7 @@ function os2forms_selvbetjening_form_alter(array &$form, FormStateInterface $for function os2forms_selvbetjening_webform_element_alter(array &$element, FormStateInterface $form_state, array $context) { // Add js-form-item class to webform_more element to expose them to form // states (element conditions). - if ('webform_more' === $element['#type']) { + if ('webform_more' === ($element['#type'] ?? NULL)) { $element['#attributes']['class'][] = 'js-form-item'; } } From 53d0dcad75a661614b69d82311686b4a76fb0a40 Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Wed, 13 Sep 2023 16:14:54 +0200 Subject: [PATCH 4/7] FORDRIF-171: Updated docker compose setup --- .docker/vhost.conf | 10 ++++++++++ docker-compose.dev.yml | 23 ++++++++++++----------- docker-compose.redirect.yml | 2 +- docker-compose.server.yml | 2 +- docker-compose.yml | 14 +++++++------- 5 files changed, 31 insertions(+), 20 deletions(-) diff --git a/.docker/vhost.conf b/.docker/vhost.conf index 7c55a7d4..f3fb3ab2 100644 --- a/.docker/vhost.conf +++ b/.docker/vhost.conf @@ -86,6 +86,16 @@ server { log_not_found off; } + # Enforce clean URLs + # Removes index.php from urls like: + # www.example.com/index.php/my-page --> www.example.com/my-page + # + # Could be done with 301 for permanent or other redirect codes. + absolute_redirect off; + if ($request_uri ~* "^(.*/)index\.php/(.*)") { + return 301 /$2; + } + error_log /dev/stderr; access_log /dev/stdout main; } diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 0e734f29..7693fef4 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -1,28 +1,29 @@ -# itk-version: 3.0.0 +# itk-version: 3.1.0 version: "3" services: phpfpm: environment: - - PHP_SENDMAIL_PATH='/usr/local/bin/mhsendmail --smtp-addr="mailhog:1025"' + - PHP_SENDMAIL_PATH=/usr/sbin/sendmail -S mail:1025 nginx: labels: - "traefik.http.routers.${COMPOSE_PROJECT_NAME}.middlewares=ITKBasicAuth@file" - mailhog: - image: itkdev/mailhog + mail: + image: axllent/mailpit + restart: unless-stopped networks: - app - frontend labels: - "traefik.enable=true" - "traefik.docker.network=frontend" - - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}-http.rule=Host(`mailhog.${COMPOSE_SERVER_DOMAIN}`)" - - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}-http.entrypoints=web" - - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}-http.middlewares=redirect-to-https" + - "traefik.http.routers.mail_${COMPOSE_PROJECT_NAME}-http.rule=Host(`mail.${COMPOSE_SERVER_DOMAIN}`)" + - "traefik.http.routers.mail_${COMPOSE_PROJECT_NAME}-http.entrypoints=web" + - "traefik.http.routers.mail_${COMPOSE_PROJECT_NAME}-http.middlewares=redirect-to-https" - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https" - - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}.rule=Host(`mailhog.${COMPOSE_SERVER_DOMAIN}`)" - - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}.entrypoints=websecure" - - "traefik.http.services.mailhog_${COMPOSE_PROJECT_NAME}.loadbalancer.server.port=8025" - - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}.middlewares=ITKMailhogAuth@file" + - "traefik.http.routers.mail_${COMPOSE_PROJECT_NAME}.rule=Host(`mail.${COMPOSE_SERVER_DOMAIN}`)" + - "traefik.http.routers.mail_${COMPOSE_PROJECT_NAME}.entrypoints=websecure" + - "traefik.http.services.mail_${COMPOSE_PROJECT_NAME}.loadbalancer.server.port=8025" + - "traefik.http.routers.mail_${COMPOSE_PROJECT_NAME}.middlewares=ITKMailhogAuth@file" diff --git a/docker-compose.redirect.yml b/docker-compose.redirect.yml index 9c1d2af1..ac81f43c 100644 --- a/docker-compose.redirect.yml +++ b/docker-compose.redirect.yml @@ -1,4 +1,4 @@ -# itk-version: 3.0.0 +# itk-version: 3.1.0 version: "3" services: diff --git a/docker-compose.server.yml b/docker-compose.server.yml index bbff4d2a..fd345a29 100644 --- a/docker-compose.server.yml +++ b/docker-compose.server.yml @@ -1,4 +1,4 @@ -# itk-version: 3.0.0 +# itk-version: 3.1.0 version: "3" networks: diff --git a/docker-compose.yml b/docker-compose.yml index 673d0788..852bd53b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -# itk-version: 3.0.0 +# itk-version: 3.1.0 version: "3" networks: @@ -31,14 +31,14 @@ services: image: itkdev/php8.1-fpm:latest networks: - app - - frontend extra_hosts: - "host.docker.internal:host-gateway" environment: - PHP_XDEBUG_MODE=${PHP_XDEBUG_MODE:-off} - PHP_MAX_EXECUTION_TIME=30 - PHP_MEMORY_LIMIT=256M - # - PHP_MAIL=1 # Uncomment to enable mailhog. + # Depending on the setup you may have to remove --read-envelope-from from msmtp (cf. https://marlam.de/msmtp/msmtp.html) or use SMTP to send mail + - PHP_SENDMAIL_PATH=/usr/bin/msmtp --host=mail --port=1025 --read-recipients --read-envelope-from - DOCKER_HOST_DOMAIN=${COMPOSE_DOMAIN} - COMPOSER_VERSION=2 - PHP_IDE_CONFIG=serverName=localhost @@ -77,8 +77,8 @@ services: environment: - MEMCACHED_CACHE_SIZE=64 - mailhog: - image: itkdev/mailhog + mail: + image: axllent/mailpit networks: - app - frontend @@ -88,5 +88,5 @@ services: labels: - "traefik.enable=true" - "traefik.docker.network=frontend" - - "traefik.http.routers.${COMPOSE_PROJECT_NAME}Mailhog.rule=Host(`mailhog-${COMPOSE_DOMAIN}`)" - - "traefik.http.services.${COMPOSE_PROJECT_NAME}Mailhog.loadbalancer.server.port=8025" + - "traefik.http.routers.${COMPOSE_PROJECT_NAME}mail.rule=Host(`mail-${COMPOSE_DOMAIN}`)" + - "traefik.http.services.${COMPOSE_PROJECT_NAME}mail.loadbalancer.server.port=8025" From 95897dfd198f1b8096b323f706c9eadbdb63d410 Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Wed, 20 Sep 2023 12:53:15 +0200 Subject: [PATCH 5/7] FORDRIF-171: Updated composer stuff --- composer.json | 4 +- composer.lock | 148 ++++++++++---------------------------------------- 2 files changed, 32 insertions(+), 120 deletions(-) diff --git a/composer.json b/composer.json index e365b9a2..18858daf 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ }, { "type": "vcs", - "url": "https://github.com/itk-dev/os2forms_forloeb" + "url": "https://github.com/itk-dev/os2forms" } ], "require": { @@ -77,8 +77,8 @@ "itk-dev/os2forms_user_field_lookup": "^1.0", "itk-dev/serviceplatformen": "dev-feature/guzzle6-adapter as 1.5", "itk-dev/web_accessibility_statement": "^1.0", + "os2forms/os2forms": "dev-feature/maestro-anonymous-notifications-and-flows as 3.11", "os2forms/os2forms_digital_post": "^3.0", - "os2forms/os2forms_forloeb": "dev-feature/maestro-stuff as 2.6", "os2forms/os2forms_forloeb_profile": "^1.12", "os2forms/os2forms_get_organized": "^1.1.2", "os2forms/os2forms_organisation": "^1.1.1", diff --git a/composer.lock b/composer.lock index fd17f276..717d3ae0 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": "19ae21d139800cd382acfb2f85f33b7d", + "content-hash": "37746e447487a5acbbc2e853391672af", "packages": [ { "name": "asm89/stack-cors", @@ -9683,16 +9683,16 @@ }, { "name": "os2forms/os2forms", - "version": "3.10.0", + "version": "dev-feature/maestro-anonymous-notifications-and-flows", "source": { "type": "git", - "url": "https://github.com/OS2Forms/os2forms.git", - "reference": "af1d24f5218016802d93cc25d9018474d5d07ed9" + "url": "https://github.com/itk-dev/os2forms.git", + "reference": "14ff976360a9d123947a562a8ed4845e3b98eb02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/OS2Forms/os2forms/zipball/af1d24f5218016802d93cc25d9018474d5d07ed9", - "reference": "af1d24f5218016802d93cc25d9018474d5d07ed9", + "url": "https://api.github.com/repos/itk-dev/os2forms/zipball/14ff976360a9d123947a562a8ed4845e3b98eb02", + "reference": "14ff976360a9d123947a562a8ed4845e3b98eb02", "shasum": "" }, "require": { @@ -9759,6 +9759,9 @@ "drupal/coder": "^8.3", "drupal/maillog": "^1.0" }, + "suggest": { + "os2forms/os2forms_digital_post": "Send Maestro notifications via digital post (see https://github.com/itk-dev/os2forms_digital_post/blob/main/README.md)" + }, "type": "drupal-module", "extra": { "composer-exit-on-patch-failure": false, @@ -9781,16 +9784,28 @@ } } }, - "notification-url": "https://packagist.org/downloads/", + "scripts": { + "coding-standards-check/phpcs": [ + "phpcs --standard=phpcs.xml.dist" + ], + "coding-standards-check": [ + "@coding-standards-check/phpcs" + ], + "coding-standards-apply/phpcs": [ + "phpcbf --standard=phpcs.xml.dist" + ], + "coding-standards-apply": [ + "@coding-standards-apply/phpcs" + ] + }, "license": [ "EUPL-1.2" ], "description": "Drupal 8 OS2Form module provides advanced webform functionality for Danish Municipalities", "support": { - "issues": "https://github.com/OS2Forms/os2forms/issues", - "source": "https://github.com/OS2Forms/os2forms/tree/3.10.0" + "source": "https://github.com/itk-dev/os2forms/tree/feature/maestro-anonymous-notifications-and-flows" }, - "time": "2023-08-23T07:56:34+00:00" + "time": "2023-09-14T13:45:18+00:00" }, { "name": "os2forms/os2forms_digital_post", @@ -9858,109 +9873,6 @@ }, "time": "2023-08-14T12:49:48+00:00" }, - { - "name": "os2forms/os2forms_forloeb", - "version": "dev-feature/maestro-stuff", - "source": { - "type": "git", - "url": "https://github.com/itk-dev/os2forms_forloeb.git", - "reference": "9b473674d73d1e343d085ecd33c3e3190a86a8a0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/itk-dev/os2forms_forloeb/zipball/9b473674d73d1e343d085ecd33c3e3190a86a8a0", - "reference": "9b473674d73d1e343d085ecd33c3e3190a86a8a0", - "shasum": "" - }, - "require": { - "cweagans/composer-patches": "^1.6.5", - "dompdf/dompdf": "^2.0", - "drupal/admin_toolbar": "^3.0", - "drupal/chosen": "^2.10", - "drupal/ckeditor_a11ychecker": "2.0.0-alpha1", - "drupal/clientside_validation": "3.0.0-rc4", - "drupal/coc_forms_auto_export": "2.0.0-alpha1", - "drupal/config_entity_revisions": "^1.7.0", - "drupal/diff": "^1.0", - "drupal/embed": "^1.4", - "drupal/events_logging": "^1.5", - "drupal/header_and_footer_scripts": "^3.0", - "drupal/image_widget_crop": "^2.3", - "drupal/ldap": "^4.2", - "drupal/ldap_auth": "^1.17", - "drupal/libraries": "3.0.0-beta1", - "drupal/linkit": "^5.0", - "drupal/logging_alerts": "^2.0", - "drupal/maestro": "^3.1", - "drupal/masquerade": "2.0.0-beta4", - "drupal/queue_mail": "^1.4", - "drupal/queue_ui": "^2.1", - "drupal/r4032login": "^2.1", - "drupal/simple_ldap": "1.0.0-alpha3", - "drupal/simplesamlphp_auth": "^3.2", - "drupal/switch_page_theme": "^4.0", - "drupal/telephone_validation": "^2.2", - "drupal/ultimate_cron": "^2.0.0", - "drupal/user_default_page": "^2.1", - "drupal/webform_composite": "1.0-rc2", - "drupal/webform_node_element": "^1.2", - "drupal/webform_remote_handlers": "^1.6.0", - "drupal/webform_rest": "^4.0.0-beta2", - "drupal/webform_scheduled_tasks": "^2.0", - "drupal/webform_views": "^5.0@alpha", - "drupal/workflow_participants": "^2.4", - "os2forms/os2forms": "^3.7", - "os2forms/os2forms_digital_post": "^3.0", - "webmozart/path-util": "^2.3", - "zaporylie/composer-drupal-optimizations": "^1.2" - }, - "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", - "drupal/coder": "^8.3" - }, - "suggest": { - "itk-dev/os2forms_digital_post": "Send digital post" - }, - "type": "drupal-module", - "extra": { - "composer-exit-on-patch-failure": true, - "enable-patching": true, - "patches": { - "drupal/user_default_page": { - "Warning: in_array() expects parameter 2 to be array, null given in user_default_page_user_logout() (https://www.drupal.org/node/3246986)": "https://www.drupal.org/files/issues/2021-11-01/user_default_page-3246986-2.patch" - }, - "drupal/coc_forms_auto_export": { - "3240592 - Problem with phpseclib requirement in 2.x (https://www.drupal.org/project/coc_forms_auto_export/issues/3240592)": "https://www.drupal.org/files/issues/2021-10-04/requirement-namespace-3240592-1.patch" - }, - "//": "Note: drupal/dynamic_entity_reference is required by drupal/workflow_participants", - "drupal/dynamic_entity_reference": { - "entityQuery reference JOINs should specify target_type (https://www.drupal.org/project/dynamic_entity_reference/issues/3120952#comment-14141038)": "https://www.drupal.org/files/issues/2021-06-22/entityquery-reference-joins-should-specify-target_type-3120952-24.patch" - } - } - }, - "scripts": { - "coding-standards-check/phpcs": [ - "phpcs --standard=phpcs.xml.dist" - ], - "coding-standards-check": [ - "@coding-standards-check/phpcs" - ], - "coding-standards-apply/phpcs": [ - "phpcbf --standard=phpcs.xml.dist" - ], - "coding-standards-apply": [ - "@coding-standards-apply/phpcs" - ] - }, - "license": [ - "EUPL-1.2" - ], - "description": "This module adds Maestro workflow engine and functionality to produce advanced workflows", - "support": { - "source": "https://github.com/itk-dev/os2forms_forloeb/tree/feature/maestro-stuff" - }, - "time": "2023-09-12T07:47:07+00:00" - }, { "name": "os2forms/os2forms_forloeb_profile", "version": "1.12.0", @@ -22400,16 +22312,16 @@ "alias_normalized": "1.5.0.0" }, { - "package": "os2forms/os2forms_forloeb", - "version": "dev-feature/maestro-stuff", - "alias": "2.6", - "alias_normalized": "2.6.0.0" + "package": "os2forms/os2forms", + "version": "dev-feature/maestro-anonymous-notifications-and-flows", + "alias": "3.11", + "alias_normalized": "3.11.0.0" } ], "minimum-stability": "dev", "stability-flags": { "itk-dev/serviceplatformen": 20, - "os2forms/os2forms_forloeb": 20 + "os2forms/os2forms": 20 }, "prefer-stable": true, "prefer-lowest": false, From 1106600096442953bb9de165ca917a31d6b687db Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Mon, 25 Sep 2023 13:34:44 +0200 Subject: [PATCH 6/7] FORDRIF-171: Updated config --- config/sync/os2forms_forloeb.settings.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/sync/os2forms_forloeb.settings.yml b/config/sync/os2forms_forloeb.settings.yml index 2b1036db..3449f0fd 100644 --- a/config/sync/os2forms_forloeb.settings.yml +++ b/config/sync/os2forms_forloeb.settings.yml @@ -1,14 +1,14 @@ known_anonymous_roles: anonymous: anonymous + medarbejder: medarbejder virksomhed: virksomhed - citizen: citizen + borger: borger authenticated: 0 administrator: 0 site_admin: 0 flow_designer: 0 forloeb_designer: 0 sagsbehandler: 0 - medarbejder: 0 leder: 0 os2forms_rest_api_user: 0 os2forms_rest_api_user_write: 0 From 0b79d4e030e8f640dea83d5f849788c4cb08537f Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Mon, 25 Sep 2023 14:20:32 +0200 Subject: [PATCH 7/7] FORDRIF-171: Updated composer stuff --- composer.json | 2 +- composer.lock | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 18858daf..26224177 100644 --- a/composer.json +++ b/composer.json @@ -77,7 +77,7 @@ "itk-dev/os2forms_user_field_lookup": "^1.0", "itk-dev/serviceplatformen": "dev-feature/guzzle6-adapter as 1.5", "itk-dev/web_accessibility_statement": "^1.0", - "os2forms/os2forms": "dev-feature/maestro-anonymous-notifications-and-flows as 3.11", + "os2forms/os2forms": "dev-feature/maestro-anonymous-notifications-and-flows as 3.10", "os2forms/os2forms_digital_post": "^3.0", "os2forms/os2forms_forloeb_profile": "^1.12", "os2forms/os2forms_get_organized": "^1.1.2", diff --git a/composer.lock b/composer.lock index 717d3ae0..1487186b 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": "37746e447487a5acbbc2e853391672af", + "content-hash": "9769cdee87f807dc2c7a269bae70dfc6", "packages": [ { "name": "asm89/stack-cors", @@ -9687,12 +9687,12 @@ "source": { "type": "git", "url": "https://github.com/itk-dev/os2forms.git", - "reference": "14ff976360a9d123947a562a8ed4845e3b98eb02" + "reference": "6f0fa1573ec5d0bee9a614a63a4baa23ba325814" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/itk-dev/os2forms/zipball/14ff976360a9d123947a562a8ed4845e3b98eb02", - "reference": "14ff976360a9d123947a562a8ed4845e3b98eb02", + "url": "https://api.github.com/repos/itk-dev/os2forms/zipball/6f0fa1573ec5d0bee9a614a63a4baa23ba325814", + "reference": "6f0fa1573ec5d0bee9a614a63a4baa23ba325814", "shasum": "" }, "require": { @@ -9719,7 +9719,7 @@ "drupal/libraries": "^3.0@beta", "drupal/linkit": "^5.0", "drupal/logging_alerts": "^2.0", - "drupal/maestro": "^3.0", + "drupal/maestro": "^3.1", "drupal/mailsystem": "^4.1", "drupal/masquerade": "^2.0@RC", "drupal/pathauto": "^1.5", @@ -9805,7 +9805,7 @@ "support": { "source": "https://github.com/itk-dev/os2forms/tree/feature/maestro-anonymous-notifications-and-flows" }, - "time": "2023-09-14T13:45:18+00:00" + "time": "2023-09-25T12:08:11+00:00" }, { "name": "os2forms/os2forms_digital_post", @@ -22314,8 +22314,8 @@ { "package": "os2forms/os2forms", "version": "dev-feature/maestro-anonymous-notifications-and-flows", - "alias": "3.11", - "alias_normalized": "3.11.0.0" + "alias": "3.10", + "alias_normalized": "3.10.0.0" } ], "minimum-stability": "dev",