diff --git a/.changelog b/.changelog new file mode 100644 index 00000000..d99a566c --- /dev/null +++ b/.changelog @@ -0,0 +1,11 @@ + ['build', 'ci', 'docs', 'refactor', 'revert', 'style', 'test'], + 'tagPrefix' => 'v', + 'tagSuffix' => '', + 'commitUrlFormat' => '{{host}}/{{owner}}/{{repository}}/commit/{{hash}}', + 'compareUrlFormat' => '{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}', + 'issueUrlFormat' => 'https://humanitarian.atlassian.net/browse/{{id}}', + 'hiddenVersionSeparator' => true, +]; diff --git a/.github/workflows/composer-update.yml b/.github/workflows/composer-update.yml index d17d494b..e4e42fe1 100644 --- a/.github/workflows/composer-update.yml +++ b/.github/workflows/composer-update.yml @@ -13,8 +13,10 @@ jobs: id: update-action uses: UN-OCHA/actions/composer-update@main with: + aws_access_key_id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} + aws_secret_access_key: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} github_access_token: ${{ secrets.PAT }} - patch_branch: 'develop' + patch_branch: ${{ github.head_ref || github.ref_name }} patch_maintainers: ${{ secrets.DRUPAL_MAINTAINERS }} slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }} slack_channel_name: ${{ vars.SLACK_CHANNEL }} diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3d40551f..be276ebd 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -230,6 +230,14 @@ jobs: run: | docker compose -f tests/docker-compose.yml exec -T drupal drush watchdog:show + - name: PHP Logs + id: phplog + if: failure() + uses: cafuego/command-output@main + with: + run: | + docker compose -f tests/docker-compose.yml exec -T drupal grep -i fatal /var/log/php/error.log + - name: Find Comment uses: peter-evans/find-comment@v3 if: ${{ !env.ACT }} @@ -259,10 +267,15 @@ jobs:
Software Versions ${{ steps.versions.outputs.stdout }}
+
Drupal Logs ${{ steps.dblog.outputs.stdout }}
+
PHP Logs + ${{ steps.phplog.outputs.stdout }} +
+ *Pusher: @${{ github.actor }}, Action: `${{ github.event_name }}`, Workflow: `${{ github.workflow }}`* edit-mode: replace diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..a2fc1cb9 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,808 @@ + +# Changelog + +All notable changes to this project will be documented in this file. + + +## [2.1.0](https://github.com/UN-OCHA/unocha-site/compare/v2.0.3...v2.1.0) (2024-09-17) + +### Features + +* Add drush command to create embed links ([e144c5](https://github.com/UN-OCHA/unocha-site/commit/e144c5bff9e094d02571410b81aa69d5a390ea8b)) +* Add feature flag for videos ([a95c2a](https://github.com/UN-OCHA/unocha-site/commit/a95c2a76deb7c1ff73c410c20ccad35bff49e70b)) +* Better video embed ([232863](https://github.com/UN-OCHA/unocha-site/commit/2328639b39c536fd76d06924a65360e6a1f17e37)) +* Categories with videos ([c8cab6](https://github.com/UN-OCHA/unocha-site/commit/c8cab69929cb75ff1a42536c6f74257e75c2af27)) +* Embed PowerBi [#UNO-853](https://https://humanitarian.atlassian.net/browse/UNO-853) ([4d0a3a](https://github.com/UN-OCHA/unocha-site/commit/4d0a3a92f0fc7c7ad3cf2e64963029d50fe49cdd)) +* Max width 100% ([4f8b70](https://github.com/UN-OCHA/unocha-site/commit/4f8b7021c7c8f94e7e88ac47f91c4591706d37f5)) +* OEmbed for videos ([a51d61](https://github.com/UN-OCHA/unocha-site/commit/a51d617d48a8695819565840510947a4168df6a5)) + +### Bug Fixes + +* Embed PowerBi title [#UNO-853](https://https://humanitarian.atlassian.net/browse/UNO-853) ([d8877f](https://github.com/UN-OCHA/unocha-site/commit/d8877fb03099a17060a1bd09c3c3fbfd3fc10642)) +* Include core patch for aggregation error ([4f5732](https://github.com/UN-OCHA/unocha-site/commit/4f5732ec37f3f14fc11a869487076ec035bf4792)) + +### Chores + +* Add more domains for csp ([320433](https://github.com/UN-OCHA/unocha-site/commit/320433503d7cf369a1d07c954205afa4742b2e69)) +* Add tools [#OPS-10867](https://https://humanitarian.atlassian.net/browse/OPS-10867), [#OPS-10867](https://https://humanitarian.atlassian.net/browse/OPS-10867), [#OPS-10867](https://https://humanitarian.atlassian.net/browse/OPS-10867) ([6743f7](https://github.com/UN-OCHA/unocha-site/commit/6743f742553d27aad19663a7de17a91c8383e490), [7c1a11](https://github.com/UN-OCHA/unocha-site/commit/7c1a11de65c8836cf7d234b3955c7a5b3337d6c5), [deb2ba](https://github.com/UN-OCHA/unocha-site/commit/deb2ba59faa4b36328848dc735101ba9415f4e32)) +* CSP [#UNO-849](https://https://humanitarian.atlassian.net/browse/UNO-849), [#UNO-849](https://https://humanitarian.atlassian.net/browse/UNO-849) ([d71f5b](https://github.com/UN-OCHA/unocha-site/commit/d71f5b9b0ff24c9d90cf246351afe128f2f21ee3), [5fc61d](https://github.com/UN-OCHA/unocha-site/commit/5fc61db3dd790dc2f5fea0d77f3a677641474314)) +* Fix js_optimizer error ([8791ad](https://github.com/UN-OCHA/unocha-site/commit/8791add5a179dd27a4fd2882b51bf64e4106633c)) +* Fix js error ([7ef3df](https://github.com/UN-OCHA/unocha-site/commit/7ef3dfc70313a5e6341d83216074e877a88df899)) +* Include php logs if tests fail ([710556](https://github.com/UN-OCHA/unocha-site/commit/7105563500d201b16eda22e427e021b81fd1f75f)) +* Pass on credentials to action ([927993](https://github.com/UN-OCHA/unocha-site/commit/9279934112d74394cf39c1e8fb364ab815d3bb62)) +* Remove patch which is blocking core update ([e2cc7b](https://github.com/UN-OCHA/unocha-site/commit/e2cc7b2284a2771e21ce7633b0ba82867ed1036d)) +* Update all outdated drupal/* unocha/* drush/* packages. ([c38ff8](https://github.com/UN-OCHA/unocha-site/commit/c38ff8f3b4a74608174e245b5e2994e1a83d7773), [8a15e2](https://github.com/UN-OCHA/unocha-site/commit/8a15e20cdb6a6e9b612589eb6e9c5e35b400ce1c), [c496dc](https://github.com/UN-OCHA/unocha-site/commit/c496dc91283a706c6e886f50b189be7566133a87), [ec44f4](https://github.com/UN-OCHA/unocha-site/commit/ec44f4f1c20814d0f14a10126211980242226c82), [f869ab](https://github.com/UN-OCHA/unocha-site/commit/f869ab269c7c3665b154f5076fa05cb2c059094e)) + +##### Deps-dev + +* Bump axios ([eb9566](https://github.com/UN-OCHA/unocha-site/commit/eb9566babf21109f2faec7238c1b956f645759d1)) + +## [2.0.1](https://github.com/UN-OCHA/unocha-site/compare/v2.0.0...v2.0.1) (2024-06-18) + + +--- + +## [2.0.0](https://github.com/UN-OCHA/unocha-site/compare/v1.19...v2.0.0) (2024-05-13) + + +--- + +## [1.19](https://github.com/UN-OCHA/unocha-site/compare/v1.18...v1.19) (2024-04-16) + +### Features + +* Add datawrapper [#UNO-829](https://github.com/UN-OCHA/unocha-site/issues/UNO-829) ([652bf7](https://github.com/UN-OCHA/unocha-site/commit/652bf702865876a53ae9a58a324a357f11a087e9)) + +### Bug Fixes + +* Ok, so the patch for aws only pplies to dev, not 2.0.3, so just go to dev. ([2d8b2e](https://github.com/UN-OCHA/unocha-site/commit/2d8b2e893fca457da0e53634cbae0c1b74dd4fee)) + + +--- + +## [1.18](https://github.com/UN-OCHA/unocha-site/compare/v1.17...v1.18) (2024-03-18) + +### Bug Fixes + +* Order menu links by weight and title ([4cce77](https://github.com/UN-OCHA/unocha-site/commit/4cce773b9962e5438a8a578c84a9108e99725243)) + + +--- + +## [1.17](https://github.com/UN-OCHA/unocha-site/compare/v1.16...v1.17) (2024-03-05) + + +--- + +## [1.16](https://github.com/UN-OCHA/unocha-site/compare/v1.15...v1.16) (2024-02-20) + + +--- + +## [1.15](https://github.com/UN-OCHA/unocha-site/compare/v1.14...v1.15) (2024-02-13) + +### Bug Fixes + +* Composer super user ([eb0710](https://github.com/UN-OCHA/unocha-site/commit/eb07105e27ee181980e870537137f4f27f8b10d1)) + + +--- + +## [1.14](https://github.com/UN-OCHA/unocha-site/compare/v1.13.2...v1.14) (2024-01-31) + +### Features + +* Add class with selected view mode in reliefweb river paragraph to help with styling in forms ([8b0705](https://github.com/UN-OCHA/unocha-site/commit/8b0705428cd3ab693daff074c3355bd502322305)) +* Add theme suggestion for paragraph with a view mode field ([d90f4b](https://github.com/UN-OCHA/unocha-site/commit/d90f4baf0f21a539a71c2950dd9dac3ade58e1a6)) +* Composer install default_content module ([4effc0](https://github.com/UN-OCHA/unocha-site/commit/4effc0105c09391a0a8d9451b671d85f20f690d7)) +* Demo content exported by uuid ([1a4283](https://github.com/UN-OCHA/unocha-site/commit/1a428314611b116a892a9c8b7b51f2faa0f35142)) +* Expand tests with performance and e2e ([4e8e7d](https://github.com/UN-OCHA/unocha-site/commit/4e8e7de945666495728885545fd782a304aa10ed)) + +### Bug Fixes + +* Update the lock file. ([acca21](https://github.com/UN-OCHA/unocha-site/commit/acca2135d60c5af6ab9150462c94bb6b68b3dcbe)) +* Update the lock file again. ([956079](https://github.com/UN-OCHA/unocha-site/commit/95607940b898f0d270e9128a6ad28f5e7c650fc0)) + + +--- + +## [1.13.2](https://github.com/UN-OCHA/unocha-site/compare/v1.13.1...v1.13.2) (2024-01-18) + + +--- + +## [1.13.1](https://github.com/UN-OCHA/unocha-site/compare/v1.13.0...v1.13.1) (2024-01-17) + +### Features + +* Human friendly tz ([8d0832](https://github.com/UN-OCHA/unocha-site/commit/8d08323e22064d73653d271ea509fe49f22bccf6)) +* Use un_date [#UNO-812](https://github.com/UN-OCHA/unocha-site/issues/UNO-812) ([f7fd2d](https://github.com/UN-OCHA/unocha-site/commit/f7fd2d9f8437b2084158ae0cfc9158de57ade958)) + + +--- + +## [1.13.0](https://github.com/UN-OCHA/unocha-site/compare/v1.12.0...v1.13.0) (2024-01-03) + + +--- + +## [1.12.0](https://github.com/UN-OCHA/unocha-site/compare/v1.11.0...v1.12.0) (2023-11-29) + +### Features + +* Add user manager role ([462e65](https://github.com/UN-OCHA/unocha-site/commit/462e6593ff79ed8b2a8969ef4ec124d1bc776d0f)) + + +--- + +## [1.11.0](https://github.com/UN-OCHA/unocha-site/compare/v1.10.3...v1.11.0) (2023-11-22) + +### Features + +* Replace twitter with x icon in cd footer and social share, regen sprite ([6fcbba](https://github.com/UN-OCHA/unocha-site/commit/6fcbbac0fbdc673d833de8300d0c47503b82b433)) + +### Bug Fixes + +* Composer lock out of sync ([4dddd9](https://github.com/UN-OCHA/unocha-site/commit/4dddd96db80f34ebabd6642a86cfdb7529b95243)) + + +--- + +## [1.10.3](https://github.com/UN-OCHA/unocha-site/compare/v1.10.2...v1.10.3) (2023-11-15) + +### Features + +* Add icon after external links ([413e7d](https://github.com/UN-OCHA/unocha-site/commit/413e7df9de00ba954c93d3e0d0a9833c05ffa1a8)) + + +--- + +## [1.10.2](https://github.com/UN-OCHA/unocha-site/compare/v1.10.1...v1.10.2) (2023-11-07) + + +--- + +## [1.10.1](https://github.com/UN-OCHA/unocha-site/compare/v1.10.0...v1.10.1) (2023-11-01) + +### Bug Fixes + +* Caching of story nodes ([a08f23](https://github.com/UN-OCHA/unocha-site/commit/a08f23575d5e7e2ad2aa0f2fea2fcf6a09f1cd71)) + + +--- + +## [1.10.0](https://github.com/UN-OCHA/unocha-site/compare/v1.9.1...v1.10.0) (2023-11-01) + +### Features + +* Add featured stories field to stories paragraph type ([5af7c3](https://github.com/UN-OCHA/unocha-site/commit/5af7c3a6c1abba83c3a87561627602df8c84e1db)) +* Adjust logic to use the featured stories field for the stories paragraph type ([4ac544](https://github.com/UN-OCHA/unocha-site/commit/4ac5446610991c1f82becda67132a00d7581b092)) +* Use entity browser to select featured stories ([72a46e](https://github.com/UN-OCHA/unocha-site/commit/72a46eb494aa7655f0a79f61bb2aeaac5257adf8)) +* Use node story card template for stories paragraph to display the date and featured ([a4523d](https://github.com/UN-OCHA/unocha-site/commit/a4523da106d53dfc62014bdea0ba21f1da6b9c94)) + +### Bug Fixes + +* Add some explicit permisisons for things, so code coverage may run. ([12d7bf](https://github.com/UN-OCHA/unocha-site/commit/12d7bfcc43a9463a10655fa21f5c3f826c29a2da)) +* Commit the config changes that fixed the thing. ([d4a5d1](https://github.com/UN-OCHA/unocha-site/commit/d4a5d18d3f5ceeed13c758cd175766444734b919)) +* Use the actual variable name, not a Jenkins-like typo. ([f07c9f](https://github.com/UN-OCHA/unocha-site/commit/f07c9fd6d33ca600827cfc8664eb4f6805acc851)) + + +--- + +## [1.9.1](https://github.com/UN-OCHA/unocha-site/compare/v1.9.0...v1.9.1) (2023-10-18) + + +--- + +## [1.9.0](https://github.com/UN-OCHA/unocha-site/compare/v1.8.2...v1.9.0) (2023-10-11) + +### Bug Fixes + +* Ensure we use a different cache key based on the story view mode ([131765](https://github.com/UN-OCHA/unocha-site/commit/131765ca764a9338ad09a187560714a5c13b6485)) +* Oh, missed moving a social_auth setting to config_dev. ([50b127](https://github.com/UN-OCHA/unocha-site/commit/50b1274247363d28680318d13cdf7b617f5c8703)) +* Remove mapbox token from mabox responses ([273ff0](https://github.com/UN-OCHA/unocha-site/commit/273ff07917e608e38e113cdc60eb4253054fbb62)) +* Return nodes associated with menu links in the menu links order ([a2edb1](https://github.com/UN-OCHA/unocha-site/commit/a2edb1691292841a8ac9cbbaa38878aa47f3494f)) + +##### Accessibility + +* Adjust variables to provide orange shade with enough contrast on light grey background, set to use for RW river tag ([cd7afa](https://github.com/UN-OCHA/unocha-site/commit/cd7afae9dab6ed5b58fcab99051e7d1cd3349473)) +* Avoid duplicate ID ([88d55e](https://github.com/UN-OCHA/unocha-site/commit/88d55e7392341782dd98ebc116061122dad149d0)) +* Mailchimp label for and input id should match ([473244](https://github.com/UN-OCHA/unocha-site/commit/473244a7761cf72e41886882695946c536b22072)) + + +--- + +## [1.8.2](https://github.com/UN-OCHA/unocha-site/compare/v1.8.1...v1.8.2) (2023-10-05) + + +--- + +## [1.8.1](https://github.com/UN-OCHA/unocha-site/compare/v1.8.0...v1.8.1) (2023-10-05) + + +--- + +## [1.8.0](https://github.com/UN-OCHA/unocha-site/compare/v1.7.0...v1.8.0) (2023-10-05) + +### Bug Fixes + +* Json linking data script to set WebSite name ([ef0e1c](https://github.com/UN-OCHA/unocha-site/commit/ef0e1ca1f35851c0f9c1023155024cace361242a)) +* Use hook_deploy_NAME instead of hook_post_update_NAME since we use drush deploy for deployments ([a14cde](https://github.com/UN-OCHA/unocha-site/commit/a14cdebbcfcbd8958a01dedbd746f46541939dcc)) + + +--- + +## [1.7.0](https://github.com/UN-OCHA/unocha-site/compare/v1.6.0...v1.7.0) (2023-10-04) + +### Features + +* Add responsive image style, view modes for image media, story nodes, stories paragraphs ([d5b240](https://github.com/UN-OCHA/unocha-site/commit/d5b24091c401753ed5d7e2582b8d3ecc5e0459c3)) +* Samples module for demo content, install, enable, set perms ([4f1062](https://github.com/UN-OCHA/unocha-site/commit/4f1062c601b70b1e04212f55b5344f98b7ade82a)) +* Use different view mode and template for featured stories when using cards with featured view mode ([0482d3](https://github.com/UN-OCHA/unocha-site/commit/0482d3fb2c9ce467efd1b04ae1ce4aace6356d83)) + +### Bug Fixes + + +##### Accessibility + +* Append more --global to IDs ([ed6b73](https://github.com/UN-OCHA/unocha-site/commit/ed6b73dc9f9bf0406c6c9a718e2d5add296b3b9c)) +* New partial for global subscription, append --global to IDs to prevent duplicate id errors on pages with Regional or Country mailchimp forms ([a7114f](https://github.com/UN-OCHA/unocha-site/commit/a7114f0a407fefb9e27c7b358d8742b0c2f6aa5f)) +* Prevent warning of redundant alt text for logo ([5a6903](https://github.com/UN-OCHA/unocha-site/commit/5a69034744a5b02a71d7596f8f7b4b5ce597e455)) +* Set nav h2 colour to prevent contrast issues ([1fd374](https://github.com/UN-OCHA/unocha-site/commit/1fd374b95067693a584151f7a0ba8615286f0f5f)) + + +--- + +## [1.6.0](https://github.com/UN-OCHA/unocha-site/compare/v1.4.1...v1.6.0) (2023-09-12) + +### Features + +* 3:2 image style for Card thumbnails ([c7f395](https://github.com/UN-OCHA/unocha-site/commit/c7f395e77b102047c5619bb63e0b695a6421286c)) +* Add nginx rules to handle legacy file URLs redirections ([3c81be](https://github.com/UN-OCHA/unocha-site/commit/3c81bec8ef43d6d9e90ad4ba652248f2de6e9ea8)) + +### Bug Fixes + +* Schema settings for the unocha_reliefweb module ([a8bf83](https://github.com/UN-OCHA/unocha-site/commit/a8bf83e47808e97cc0682dfc3caa708d3e08ff92)) + + +--- + +## [1.4.1](https://github.com/UN-OCHA/unocha-site/compare/v1.4.0...v1.4.1) (2023-08-23) + +### Bug Fixes + +* Environement indicator from copy/paste ([dadbd5](https://github.com/UN-OCHA/unocha-site/commit/dadbd549b10697e42ca3e8b200e6f44f99adbae2)) + + +--- + +## [1.4.0](https://github.com/UN-OCHA/unocha-site/compare/v1.3.0...v1.4.0) (2023-08-23) + +### Features + +* Allow editors to view and edit any unpublished content or media ([35ca8b](https://github.com/UN-OCHA/unocha-site/commit/35ca8b7e73a74e0416e57977f5cd95747cae80a0)) +* Display attachments similarly to RW based on content format ([6374c5](https://github.com/UN-OCHA/unocha-site/commit/6374c5045af3dd9041433052e0e994426913ee91)) +* Override RW image template to use same caption styling as rest of site ([e9ba5d](https://github.com/UN-OCHA/unocha-site/commit/e9ba5dcf2485d4ca07cf44410d51254ce4ca9864)) +* Rename sticky to featured and hide promote to front page ([59e7d1](https://github.com/UN-OCHA/unocha-site/commit/59e7d1e4b751092ac884f04fd38712119b8c4399)) + +### Bug Fixes + +* Allow editors to view other unpublished content ([917f81](https://github.com/UN-OCHA/unocha-site/commit/917f813ad291291fc0175c0ec9e21a828b3754f9)) +* Allow editors to view other unpublished media ([a93f3a](https://github.com/UN-OCHA/unocha-site/commit/a93f3a1681226a05f02ab8305088a2ea274b1ecf)) + + +--- + +## [1.3.0](https://github.com/UN-OCHA/unocha-site/compare/v1.2.0...v1.3.0) (2023-08-16) + +### Features + +* Pass non-existent legacy file links back to Drupal so redirect module can act. ([630ac4](https://github.com/UN-OCHA/unocha-site/commit/630ac4c9e92298fabcb33349b25453a75a95586f)) +* Use node story card template for stories paragraph to display the date and featured ([733d36](https://github.com/UN-OCHA/unocha-site/commit/733d36e9f70be767b1404ce75d4913e761a82a1c)) + +### Bug Fixes + +* Do not show stories on nodes being created to avoid confusion ([7198d9](https://github.com/UN-OCHA/unocha-site/commit/7198d922d83da61a1112ad599922c6288bf779d2)) +* Ensure the proxy_pass hosts are variables, so nginx will refresh its IP cache. ([6afefa](https://github.com/UN-OCHA/unocha-site/commit/6afefafa32e5f37ce8bdadfb2ac845d188ff1c49)) +* Pluralize the news and stories exposed filter names to avoid conflict with layout paragraphs ([fd15e7](https://github.com/UN-OCHA/unocha-site/commit/fd15e7665b93c27bbde9005bfd59c4829d0649f9)) +* Prevent error when there a no stories to show in a stories paragraph type ([58c65b](https://github.com/UN-OCHA/unocha-site/commit/58c65b3bda503ce9ee847ae4ef63d47f168ad671)) +* Use select widget for improved EX for news and stories paragraph type ([261276](https://github.com/UN-OCHA/unocha-site/commit/26127649ad572c01bc8c12731437fd90e0712adb)) + + +--- + +## [1.2.0](https://github.com/UN-OCHA/unocha-site/compare/v1.1.0...v1.2.0) (2023-08-08) + +### Bug Fixes + +* Add form to define the breadcrumb parent path for the ocha products ([3963ae](https://github.com/UN-OCHA/unocha-site/commit/3963ae35c56a92a368b4d66c2cddd704f6e5daeb)) +* Add permission for editors to edit the breadcrumb paths for the RW white labeled docs ([e42240](https://github.com/UN-OCHA/unocha-site/commit/e4224080ffe24446b717b00472dc00bf892cea4c)) +* A valid json is better ([e2e191](https://github.com/UN-OCHA/unocha-site/commit/e2e191d91c21a10e881456dc363f58c5fbcac904)) +* Derive the active trail from the given route match when calculating the menu breadcrumb ([100be3](https://github.com/UN-OCHA/unocha-site/commit/100be3f8c35e7cf138754d3a4bbfe5f7afc2b8d1)) +* Use the breadcrumb from the parent path for the publications ([7985e7](https://github.com/UN-OCHA/unocha-site/commit/7985e758d53a5de889a611dbde3e69795072be4c)) + + +--- + +## [1.1.0](https://github.com/UN-OCHA/unocha-site/compare/v1.0.0...v1.1.0) (2023-08-01) + +### Bug Fixes + +* Allow editors to modify the menus ([1ff2ff](https://github.com/UN-OCHA/unocha-site/commit/1ff2ff37143b6bf7bee344478db7ffe7fc7a8602)) +* Permission for editor to access page to edit terms ([25ec70](https://github.com/UN-OCHA/unocha-site/commit/25ec70983a71bc6b023b1f4160dadeaa096d2554)) +* Remove leftover attributes from paragraphs that impact backend ([f7d643](https://github.com/UN-OCHA/unocha-site/commit/f7d64388c79b077192e7f9c2a37eb553d35032ea)) + + +--- + +## [1.0.0](https://github.com/UN-OCHA/unocha-site/compare/v0.0.1...v1.0.0) (2023-07-27) + +### Features + +* 5 column layout, and add second row to existing layouts for better vertical rhythm control ([8eeefa](https://github.com/UN-OCHA/unocha-site/commit/8eeefa052b201a58c6ceba9d1e096b3fdf934afb)) +* Add and enable samlauth so UniteID logins work. ([8abbb7](https://github.com/UN-OCHA/unocha-site/commit/8abbb79c41203ee6dafa66829f4e8b5a58d1b302)) +* Add Azure AD (b2c) login. ([5006be](https://github.com/UN-OCHA/unocha-site/commit/5006be3927d735a24fa8e14b5c0887a61cb61d6f)) +* Add contextual filter for the event type on the upcoming events view block ([e9ae2b](https://github.com/UN-OCHA/unocha-site/commit/e9ae2b95b49f90d51a6b6a9fc8435b39304e5e80)) +* Add count data attribute to the media collection galleries to ease styling ([e24a4b](https://github.com/UN-OCHA/unocha-site/commit/e24a4b768e1114e2f876091b3b9d8d467280c3f2)) +* Add drush command to create/update redirects ([32957f](https://github.com/UN-OCHA/unocha-site/commit/32957f18da38e1c492f9775020ad2083bcaa8400)) +* Add footnote and source link fields to donors paragaph type ([a7f961](https://github.com/UN-OCHA/unocha-site/commit/a7f961ac281bf782243a9f44f069385dae46d8d8)) +* Add has response and office type fields and vocabulary ([fdd4fb](https://github.com/UN-OCHA/unocha-site/commit/fdd4fb5d7cc4e33e6f3eb21f8085bb63c756405a)) +* Additional classes for the response maps to help styling ([511558](https://github.com/UN-OCHA/unocha-site/commit/511558c56198d8f7615653894791565ef7d6a81e)) +* Add media centre paragraph template with view all link to the archive page ([1d5c40](https://github.com/UN-OCHA/unocha-site/commit/1d5c4076b3caaccb0e396a913a9fc0a2a8db2e0c)) +* Add new RW river curated paragraph type ([f21d4b](https://github.com/UN-OCHA/unocha-site/commit/f21d4b26a9c2bd1c93bf084c75b34259aef305b8)) +* Add news and stories paragraph type and change stories views ([945799](https://github.com/UN-OCHA/unocha-site/commit/9457998801646133079f5df8898c95987fbdf06f)) +* Add paginated media centre block to use on the archive page ([ca9e74](https://github.com/UN-OCHA/unocha-site/commit/ca9e7493b23238579bc29a2372e25a444880d765)) +* Add regional figures field ([d06567](https://github.com/UN-OCHA/unocha-site/commit/d065670ae8ac8219bce02ef0b626365a0d2671b2)) +* Add social share links to RW document pages ([6f32e7](https://github.com/UN-OCHA/unocha-site/commit/6f32e71a22a3118d352710d2729e8df6e726d423)) +* Add styling for media centre view all link ([b30202](https://github.com/UN-OCHA/unocha-site/commit/b302022da372e88287f2ddf45c31d6262657980d)) +* Add template for the donors paragraph ([7bdc30](https://github.com/UN-OCHA/unocha-site/commit/7bdc303c8ab358bf493c44cb5b52b6d2ef7e423c)) +* Add template for the media collection node ([56e8a8](https://github.com/UN-OCHA/unocha-site/commit/56e8a8a7ac98f81d87e01884ae102ba8ebab9619)) +* Adjust styling of paragraphs in the backend forms ([863b98](https://github.com/UN-OCHA/unocha-site/commit/863b985588b2fe23c8256205c0e7203bcdcde298)) +* Alter the events paragaph form to allow to select view display option and filter by event types ([f82a2a](https://github.com/UN-OCHA/unocha-site/commit/f82a2a05d77e95e960beb3d04bb5b7665d74e755)) +* Change title of top sectors ([a66137](https://github.com/UN-OCHA/unocha-site/commit/a6613726ab6026aee19d787b8a257fe746e9b973)) +* Contact form ([f28e25](https://github.com/UN-OCHA/unocha-site/commit/f28e2508a665d08e4e79c7a357f052be72c3893f)) +* Create templates in admin subtheme that link to the cd subtheme to have similar appearance in the backend form ([8e7f54](https://github.com/UN-OCHA/unocha-site/commit/8e7f54066f7167e75e754cc6b8f5c371807a4470)) +* Display 6 items in the media centre block ([599631](https://github.com/UN-OCHA/unocha-site/commit/599631f923995688a1e85f970f8345fc0f807ea2)) +* Display media centre list field in media centre paragraph type to allow selecting the block to display ([9086fe](https://github.com/UN-OCHA/unocha-site/commit/9086fec1b6f51cc403ebca9ad3e8a8bc3f24e6d3)) +* Enable user menu ([6c49ec](https://github.com/UN-OCHA/unocha-site/commit/6c49ecac71d46dc3bc7b899946dbffd582ccb434)) +* Expose expanded and enabled fields in node menu link widget ([ce0768](https://github.com/UN-OCHA/unocha-site/commit/ce076852f6302368b56a4b37d9dcd7c21bc9549e)) +* Filter responses appearing in the maps ([f9abb2](https://github.com/UN-OCHA/unocha-site/commit/f9abb22a8f18ad827eb639db6f1d9540f7d64d1a)) +* Formatter for the ReliefWebDocument field to display the values as a river ([6c0b19](https://github.com/UN-OCHA/unocha-site/commit/6c0b1951b3567e8904ada1e10f9644ea6f21551e)) +* Install stage_file_proxy ([1adacd](https://github.com/UN-OCHA/unocha-site/commit/1adacdb72056003aaf4d6beb5525b7a8ead3457c)) +* Media centre content type and fields, display and View ([bb42ed](https://github.com/UN-OCHA/unocha-site/commit/bb42ed14263e8c7fa0544c2150c07c70ea446ee7)) +* Only show user menu when logged in ([71a403](https://github.com/UN-OCHA/unocha-site/commit/71a40373ad26a03e7594a1f7042612fc99a8fdba)) +* Paragraph type for media item, with video and image field, rw document field, link field, title and text, and view mode ([b03065](https://github.com/UN-OCHA/unocha-site/commit/b030650129d9556e3bfe7af80c15ba887622a932)) +* Rewrite URLs for the old /sites/unocha/files path. ([993f9d](https://github.com/UN-OCHA/unocha-site/commit/993f9dcba90896f36363ce3f2479fa080a3969b3)) +* Show 12 items on the stories page to avoid blank before pager ([b949f7](https://github.com/UN-OCHA/unocha-site/commit/b949f7372be547ca653917c9b7d35a308669ebff)) +* Sitemap ([f12b94](https://github.com/UN-OCHA/unocha-site/commit/f12b941f50a0e9ea126775f5fd003cd753c226d2)) +* Template for the RW river curated paragraph type ([c91e62](https://github.com/UN-OCHA/unocha-site/commit/c91e62085d7acfca7945d1a7fe8fb973c712d4fa)) +* Update reliefweb documents service to be able to retrieve a river from a list of document urls ([cb07db](https://github.com/UN-OCHA/unocha-site/commit/cb07db6fa15ae3c7bc2a48189899a97fed7b6561)) +* Update uno-donors template and styling to handle ocha donors ([db5e28](https://github.com/UN-OCHA/unocha-site/commit/db5e2844beb56b434ed903ab670fd7b68c8fec8a)) +* Update unocha donors module to be able to display ocha donors ([a741e4](https://github.com/UN-OCHA/unocha-site/commit/a741e4353c66792a6916ae5088d122a5ae48eedf)) +* Use entire width for first image in media gallery depending on the number of images ([dda92f](https://github.com/UN-OCHA/unocha-site/commit/dda92f439c0d80d08de47501735bcff747b7afa2)) + +### Bug Fixes + +* Allow selection of top sectors ([af3648](https://github.com/UN-OCHA/unocha-site/commit/af364863155994a20df1809e0605e38ee483dbed)) +* Complete change in case for patches dir ([350d9c](https://github.com/UN-OCHA/unocha-site/commit/350d9c0a03f1201c50e24e8c084f9ff703598928)) +* Css/js aggregation for Drupal 10+ - attempt 3 ([8e7903](https://github.com/UN-OCHA/unocha-site/commit/8e790364129813bc69c1eeaf7316a6ca30c244c3)) +* Css/js aggregation for Drupal 10.1 ([577761](https://github.com/UN-OCHA/unocha-site/commit/577761985befe40c88ca9eecd9a59bba5f996d66)) +* Css aggregation for Drupal 10.1+ ([f8b6fb](https://github.com/UN-OCHA/unocha-site/commit/f8b6fb0f37ebbae293c034fa8449274a80f909f3)) +* Display 0 as 0 ([b07bf5](https://github.com/UN-OCHA/unocha-site/commit/b07bf5900dfbb4fba429ed49fbed58a9a0ff7a84)) +* Display of regional office donors ([4f56de](https://github.com/UN-OCHA/unocha-site/commit/4f56de6827a6190544dbc3ba1aa02957afcfde58)) +* Donor type in donors template ([f0e7fe](https://github.com/UN-OCHA/unocha-site/commit/f0e7fe2b87b854870c8394b8205f6cc9d369daba)) +* Homepage metatags ([723272](https://github.com/UN-OCHA/unocha-site/commit/7232720b892d15403afe57c815e29af0da847a0c)) +* Ids of main navigation menu ([3f8485](https://github.com/UN-OCHA/unocha-site/commit/3f8485b3895a0cb2061c0d11da59c663f55062a8)) +* Make the actions use the slack channel *var* instead of *secret*. ([d50500](https://github.com/UN-OCHA/unocha-site/commit/d505006f908c24a7546b7abc6c910caf10b64388)) +* Move all configurables to Ansible. ([4ceda2](https://github.com/UN-OCHA/unocha-site/commit/4ceda2e239bfec2e8d217ab30c14cf1877ae2a05)) +* Ordering of donors ([d449ce](https://github.com/UN-OCHA/unocha-site/commit/d449ce42c2092ea7cecf607860cecc8f42a8e401)) +* Order tabs by menu weight ([99a2c6](https://github.com/UN-OCHA/unocha-site/commit/99a2c65ac88e8bf04eb66b86ff25abca4a287c2d)) +* Patch stage_file_proxy so it honours its settings. ([c1c5ba](https://github.com/UN-OCHA/unocha-site/commit/c1c5baf133d1033b99c6f35595fe453d05847c3f)) +* Preserve image ration for metatag images of events and leaders ([fb71b3](https://github.com/UN-OCHA/unocha-site/commit/fb71b37cb087489be9fe2316f8ee71e5dbd2f4ee)) +* Prevent rendering twice layout regions ([cd5b21](https://github.com/UN-OCHA/unocha-site/commit/cd5b21d6b92507f6d132da2497b364265e203282)) +* Proper loc length ([82952e](https://github.com/UN-OCHA/unocha-site/commit/82952ef1e80b553ec98fd66eba8982705e901f7d)) +* Proper offset for pagination ([7ae419](https://github.com/UN-OCHA/unocha-site/commit/7ae41958db1e3ce116f92d3f7e452274b529ed8b)) +* Property name typo ([a2a41d](https://github.com/UN-OCHA/unocha-site/commit/a2a41df56ca177ae7d0ebefdd9b56765aab0642e)) +* Remove the dev config pertaining to absent modules, so we can enable. ([a6eb6c](https://github.com/UN-OCHA/unocha-site/commit/a6eb6cfccfb0421669d0566c313de46b81d9f68b)) +* Rename the snippet and comment it to be the generic legacy file handler. ([d72479](https://github.com/UN-OCHA/unocha-site/commit/d7247911380346991e0dcbaa3656428d25504f4f)) +* Replace the legacy/ecosoc rule with one that works. ([677232](https://github.com/UN-OCHA/unocha-site/commit/6772323aeefcdbea16ede1fe2651d7cea26f705c)) +* Schema for reliefweb fields ([95c42d](https://github.com/UN-OCHA/unocha-site/commit/95c42df27895a17ba8d7dbf8fb31ad9bccb10c70)) +* Show funding amount for top sectors ([60f371](https://github.com/UN-OCHA/unocha-site/commit/60f371d484cf65398ac022ed8166c2c6f3eee011)) +* Show percentage unit ([c46189](https://github.com/UN-OCHA/unocha-site/commit/c4618924ea914e2d4da4bfdce6ce4baf03f24d21)) +* Twig empty does not behave like php empty ([e569d0](https://github.com/UN-OCHA/unocha-site/commit/e569d00eb72d697c8c511eab38f2226c3c9f3e2e)) +* Typo ([9932f3](https://github.com/UN-OCHA/unocha-site/commit/9932f3a221031a3abf30ed5c6745e7e4fb331a26)) +* Update ocha_key_figures module to fix issue with current year option for regional office donors ([b541a3](https://github.com/UN-OCHA/unocha-site/commit/b541a3a953176ec2518427516b7a3f5aa082f69d)) +* Use one decimal point for the figures ([732467](https://github.com/UN-OCHA/unocha-site/commit/732467ead2dc4f4ecdaceda36f3ad897752acbf3)) +* Use the actual oid as OID ([f16b4a](https://github.com/UN-OCHA/unocha-site/commit/f16b4a7272f071b92de35fddd678c9a6dc5e0e7e)) +* Workaround to hide figure prefix and suffix that are not displayed properly - to remove once fixed in ocha_key_figures ([f4ed59](https://github.com/UN-OCHA/unocha-site/commit/f4ed59cfb1d84c56058aeb5f4e19414c202bf745)) +* Wrong variable name ([4af728](https://github.com/UN-OCHA/unocha-site/commit/4af728613b84db263af84c6c6513455570035d80), [8c2249](https://github.com/UN-OCHA/unocha-site/commit/8c22497993ca2ff3d8e30a591a850cee86222c7e)) + + +--- + +## [0.0.1](https://github.com/UN-OCHA/unocha-site/compare/v.1.6.1...v0.0.1) (2023-06-13) + +### Features + +* 3:2 image style for Card thumbnails ([c7f395](https://github.com/UN-OCHA/unocha-site/commit/c7f395e77b102047c5619bb63e0b695a6421286c)) +* 5 column layout, and add second row to existing layouts for better vertical rhythm control ([8eeefa](https://github.com/UN-OCHA/unocha-site/commit/8eeefa052b201a58c6ceba9d1e096b3fdf934afb)) +* Add and enable samlauth so UniteID logins work. ([8abbb7](https://github.com/UN-OCHA/unocha-site/commit/8abbb79c41203ee6dafa66829f4e8b5a58d1b302)) +* Add Azure AD (b2c) login. ([5006be](https://github.com/UN-OCHA/unocha-site/commit/5006be3927d735a24fa8e14b5c0887a61cb61d6f)) +* Add contextual filter for the event type on the upcoming events view block ([e9ae2b](https://github.com/UN-OCHA/unocha-site/commit/e9ae2b95b49f90d51a6b6a9fc8435b39304e5e80)) +* Add count data attribute to the media collection galleries to ease styling ([e24a4b](https://github.com/UN-OCHA/unocha-site/commit/e24a4b768e1114e2f876091b3b9d8d467280c3f2)) +* Add drush command to create/update redirects ([32957f](https://github.com/UN-OCHA/unocha-site/commit/32957f18da38e1c492f9775020ad2083bcaa8400)) +* Add footnote and source link fields to donors paragaph type ([a7f961](https://github.com/UN-OCHA/unocha-site/commit/a7f961ac281bf782243a9f44f069385dae46d8d8)) +* Add has response and office type fields and vocabulary ([fdd4fb](https://github.com/UN-OCHA/unocha-site/commit/fdd4fb5d7cc4e33e6f3eb21f8085bb63c756405a)) +* Additional classes for the response maps to help styling ([511558](https://github.com/UN-OCHA/unocha-site/commit/511558c56198d8f7615653894791565ef7d6a81e)) +* Add media centre paragraph template with view all link to the archive page ([1d5c40](https://github.com/UN-OCHA/unocha-site/commit/1d5c4076b3caaccb0e396a913a9fc0a2a8db2e0c)) +* Add new RW river curated paragraph type ([f21d4b](https://github.com/UN-OCHA/unocha-site/commit/f21d4b26a9c2bd1c93bf084c75b34259aef305b8)) +* Add news and stories paragraph type and change stories views ([945799](https://github.com/UN-OCHA/unocha-site/commit/9457998801646133079f5df8898c95987fbdf06f)) +* Add nginx rules to handle legacy file URLs redirections ([3c81be](https://github.com/UN-OCHA/unocha-site/commit/3c81bec8ef43d6d9e90ad4ba652248f2de6e9ea8)) +* Add paginated media centre block to use on the archive page ([ca9e74](https://github.com/UN-OCHA/unocha-site/commit/ca9e7493b23238579bc29a2372e25a444880d765)) +* Add regional figures field ([d06567](https://github.com/UN-OCHA/unocha-site/commit/d065670ae8ac8219bce02ef0b626365a0d2671b2)) +* Add social share links to RW document pages ([6f32e7](https://github.com/UN-OCHA/unocha-site/commit/6f32e71a22a3118d352710d2729e8df6e726d423)) +* Add styling for media centre view all link ([b30202](https://github.com/UN-OCHA/unocha-site/commit/b302022da372e88287f2ddf45c31d6262657980d)) +* Add template for the donors paragraph ([7bdc30](https://github.com/UN-OCHA/unocha-site/commit/7bdc303c8ab358bf493c44cb5b52b6d2ef7e423c)) +* Add template for the media collection node ([56e8a8](https://github.com/UN-OCHA/unocha-site/commit/56e8a8a7ac98f81d87e01884ae102ba8ebab9619)) +* Adjust styling of paragraphs in the backend forms ([863b98](https://github.com/UN-OCHA/unocha-site/commit/863b985588b2fe23c8256205c0e7203bcdcde298)) +* Allow editors to view and edit any unpublished content or media ([35ca8b](https://github.com/UN-OCHA/unocha-site/commit/35ca8b7e73a74e0416e57977f5cd95747cae80a0)) +* Alter the events paragaph form to allow to select view display option and filter by event types ([f82a2a](https://github.com/UN-OCHA/unocha-site/commit/f82a2a05d77e95e960beb3d04bb5b7665d74e755)) +* Change title of top sectors ([a66137](https://github.com/UN-OCHA/unocha-site/commit/a6613726ab6026aee19d787b8a257fe746e9b973)) +* Contact form ([f28e25](https://github.com/UN-OCHA/unocha-site/commit/f28e2508a665d08e4e79c7a357f052be72c3893f)) +* Create templates in admin subtheme that link to the cd subtheme to have similar appearance in the backend form ([8e7f54](https://github.com/UN-OCHA/unocha-site/commit/8e7f54066f7167e75e754cc6b8f5c371807a4470)) +* Display 6 items in the media centre block ([599631](https://github.com/UN-OCHA/unocha-site/commit/599631f923995688a1e85f970f8345fc0f807ea2)) +* Display attachments similarly to RW based on content format ([6374c5](https://github.com/UN-OCHA/unocha-site/commit/6374c5045af3dd9041433052e0e994426913ee91)) +* Display media centre list field in media centre paragraph type to allow selecting the block to display ([9086fe](https://github.com/UN-OCHA/unocha-site/commit/9086fec1b6f51cc403ebca9ad3e8a8bc3f24e6d3)) +* Enable user menu ([6c49ec](https://github.com/UN-OCHA/unocha-site/commit/6c49ecac71d46dc3bc7b899946dbffd582ccb434)) +* Expose expanded and enabled fields in node menu link widget ([ce0768](https://github.com/UN-OCHA/unocha-site/commit/ce076852f6302368b56a4b37d9dcd7c21bc9549e)) +* Filter responses appearing in the maps ([f9abb2](https://github.com/UN-OCHA/unocha-site/commit/f9abb22a8f18ad827eb639db6f1d9540f7d64d1a)) +* Formatter for the ReliefWebDocument field to display the values as a river ([6c0b19](https://github.com/UN-OCHA/unocha-site/commit/6c0b1951b3567e8904ada1e10f9644ea6f21551e)) +* Install stage_file_proxy ([1adacd](https://github.com/UN-OCHA/unocha-site/commit/1adacdb72056003aaf4d6beb5525b7a8ead3457c)) +* Media centre content type and fields, display and View ([bb42ed](https://github.com/UN-OCHA/unocha-site/commit/bb42ed14263e8c7fa0544c2150c07c70ea446ee7)) +* Only show user menu when logged in ([71a403](https://github.com/UN-OCHA/unocha-site/commit/71a40373ad26a03e7594a1f7042612fc99a8fdba)) +* Override RW image template to use same caption styling as rest of site ([e9ba5d](https://github.com/UN-OCHA/unocha-site/commit/e9ba5dcf2485d4ca07cf44410d51254ce4ca9864)) +* Paragraph type for media item, with video and image field, rw document field, link field, title and text, and view mode ([b03065](https://github.com/UN-OCHA/unocha-site/commit/b030650129d9556e3bfe7af80c15ba887622a932)) +* Pass non-existent legacy file links back to Drupal so redirect module can act. ([630ac4](https://github.com/UN-OCHA/unocha-site/commit/630ac4c9e92298fabcb33349b25453a75a95586f)) +* Rename sticky to featured and hide promote to front page ([59e7d1](https://github.com/UN-OCHA/unocha-site/commit/59e7d1e4b751092ac884f04fd38712119b8c4399)) +* Rewrite URLs for the old /sites/unocha/files path. ([993f9d](https://github.com/UN-OCHA/unocha-site/commit/993f9dcba90896f36363ce3f2479fa080a3969b3)) +* Show 12 items on the stories page to avoid blank before pager ([b949f7](https://github.com/UN-OCHA/unocha-site/commit/b949f7372be547ca653917c9b7d35a308669ebff)) +* Sitemap ([f12b94](https://github.com/UN-OCHA/unocha-site/commit/f12b941f50a0e9ea126775f5fd003cd753c226d2)) +* Template for the RW river curated paragraph type ([c91e62](https://github.com/UN-OCHA/unocha-site/commit/c91e62085d7acfca7945d1a7fe8fb973c712d4fa)) +* Update reliefweb documents service to be able to retrieve a river from a list of document urls ([cb07db](https://github.com/UN-OCHA/unocha-site/commit/cb07db6fa15ae3c7bc2a48189899a97fed7b6561)) +* Update uno-donors template and styling to handle ocha donors ([db5e28](https://github.com/UN-OCHA/unocha-site/commit/db5e2844beb56b434ed903ab670fd7b68c8fec8a)) +* Update unocha donors module to be able to display ocha donors ([a741e4](https://github.com/UN-OCHA/unocha-site/commit/a741e4353c66792a6916ae5088d122a5ae48eedf)) +* Use entire width for first image in media gallery depending on the number of images ([dda92f](https://github.com/UN-OCHA/unocha-site/commit/dda92f439c0d80d08de47501735bcff747b7afa2)) +* Use node story card template for stories paragraph to display the date and featured ([733d36](https://github.com/UN-OCHA/unocha-site/commit/733d36e9f70be767b1404ce75d4913e761a82a1c)) + +### Bug Fixes + +* Add form to define the breadcrumb parent path for the ocha products ([3963ae](https://github.com/UN-OCHA/unocha-site/commit/3963ae35c56a92a368b4d66c2cddd704f6e5daeb)) +* Add permission for editors to edit the breadcrumb paths for the RW white labeled docs ([e42240](https://github.com/UN-OCHA/unocha-site/commit/e4224080ffe24446b717b00472dc00bf892cea4c)) +* Allow editors to modify the menus ([1ff2ff](https://github.com/UN-OCHA/unocha-site/commit/1ff2ff37143b6bf7bee344478db7ffe7fc7a8602)) +* Allow editors to view other unpublished content ([917f81](https://github.com/UN-OCHA/unocha-site/commit/917f813ad291291fc0175c0ec9e21a828b3754f9)) +* Allow editors to view other unpublished media ([a93f3a](https://github.com/UN-OCHA/unocha-site/commit/a93f3a1681226a05f02ab8305088a2ea274b1ecf)) +* Allow selection of top sectors ([af3648](https://github.com/UN-OCHA/unocha-site/commit/af364863155994a20df1809e0605e38ee483dbed)) +* A valid json is better ([e2e191](https://github.com/UN-OCHA/unocha-site/commit/e2e191d91c21a10e881456dc363f58c5fbcac904)) +* Complete change in case for patches dir ([350d9c](https://github.com/UN-OCHA/unocha-site/commit/350d9c0a03f1201c50e24e8c084f9ff703598928)) +* Css/js aggregation for Drupal 10+ - attempt 3 ([8e7903](https://github.com/UN-OCHA/unocha-site/commit/8e790364129813bc69c1eeaf7316a6ca30c244c3)) +* Css/js aggregation for Drupal 10.1 ([577761](https://github.com/UN-OCHA/unocha-site/commit/577761985befe40c88ca9eecd9a59bba5f996d66)) +* Css aggregation for Drupal 10.1+ ([f8b6fb](https://github.com/UN-OCHA/unocha-site/commit/f8b6fb0f37ebbae293c034fa8449274a80f909f3)) +* Derive the active trail from the given route match when calculating the menu breadcrumb ([100be3](https://github.com/UN-OCHA/unocha-site/commit/100be3f8c35e7cf138754d3a4bbfe5f7afc2b8d1)) +* Display 0 as 0 ([b07bf5](https://github.com/UN-OCHA/unocha-site/commit/b07bf5900dfbb4fba429ed49fbed58a9a0ff7a84)) +* Display of regional office donors ([4f56de](https://github.com/UN-OCHA/unocha-site/commit/4f56de6827a6190544dbc3ba1aa02957afcfde58)) +* Donor type in donors template ([f0e7fe](https://github.com/UN-OCHA/unocha-site/commit/f0e7fe2b87b854870c8394b8205f6cc9d369daba)) +* Do not show stories on nodes being created to avoid confusion ([7198d9](https://github.com/UN-OCHA/unocha-site/commit/7198d922d83da61a1112ad599922c6288bf779d2)) +* Ensure the proxy_pass hosts are variables, so nginx will refresh its IP cache. ([6afefa](https://github.com/UN-OCHA/unocha-site/commit/6afefafa32e5f37ce8bdadfb2ac845d188ff1c49)) +* Environement indicator from copy/paste ([dadbd5](https://github.com/UN-OCHA/unocha-site/commit/dadbd549b10697e42ca3e8b200e6f44f99adbae2)) +* Homepage metatags ([723272](https://github.com/UN-OCHA/unocha-site/commit/7232720b892d15403afe57c815e29af0da847a0c)) +* Ids of main navigation menu ([3f8485](https://github.com/UN-OCHA/unocha-site/commit/3f8485b3895a0cb2061c0d11da59c663f55062a8)) +* Make the actions use the slack channel *var* instead of *secret*. ([d50500](https://github.com/UN-OCHA/unocha-site/commit/d505006f908c24a7546b7abc6c910caf10b64388)) +* Move all configurables to Ansible. ([4ceda2](https://github.com/UN-OCHA/unocha-site/commit/4ceda2e239bfec2e8d217ab30c14cf1877ae2a05)) +* Ordering of donors ([d449ce](https://github.com/UN-OCHA/unocha-site/commit/d449ce42c2092ea7cecf607860cecc8f42a8e401)) +* Order tabs by menu weight ([99a2c6](https://github.com/UN-OCHA/unocha-site/commit/99a2c65ac88e8bf04eb66b86ff25abca4a287c2d)) +* Patch stage_file_proxy so it honours its settings. ([c1c5ba](https://github.com/UN-OCHA/unocha-site/commit/c1c5baf133d1033b99c6f35595fe453d05847c3f)) +* Permission for editor to access page to edit terms ([25ec70](https://github.com/UN-OCHA/unocha-site/commit/25ec70983a71bc6b023b1f4160dadeaa096d2554)) +* Pluralize the news and stories exposed filter names to avoid conflict with layout paragraphs ([fd15e7](https://github.com/UN-OCHA/unocha-site/commit/fd15e7665b93c27bbde9005bfd59c4829d0649f9)) +* Preserve image ration for metatag images of events and leaders ([fb71b3](https://github.com/UN-OCHA/unocha-site/commit/fb71b37cb087489be9fe2316f8ee71e5dbd2f4ee)) +* Prevent error when there a no stories to show in a stories paragraph type ([58c65b](https://github.com/UN-OCHA/unocha-site/commit/58c65b3bda503ce9ee847ae4ef63d47f168ad671)) +* Prevent rendering twice layout regions ([cd5b21](https://github.com/UN-OCHA/unocha-site/commit/cd5b21d6b92507f6d132da2497b364265e203282)) +* Proper loc length ([82952e](https://github.com/UN-OCHA/unocha-site/commit/82952ef1e80b553ec98fd66eba8982705e901f7d)) +* Proper offset for pagination ([7ae419](https://github.com/UN-OCHA/unocha-site/commit/7ae41958db1e3ce116f92d3f7e452274b529ed8b)) +* Property name typo ([a2a41d](https://github.com/UN-OCHA/unocha-site/commit/a2a41df56ca177ae7d0ebefdd9b56765aab0642e)) +* Remove leftover attributes from paragraphs that impact backend ([f7d643](https://github.com/UN-OCHA/unocha-site/commit/f7d64388c79b077192e7f9c2a37eb553d35032ea)) +* Remove the dev config pertaining to absent modules, so we can enable. ([a6eb6c](https://github.com/UN-OCHA/unocha-site/commit/a6eb6cfccfb0421669d0566c313de46b81d9f68b)) +* Rename the snippet and comment it to be the generic legacy file handler. ([d72479](https://github.com/UN-OCHA/unocha-site/commit/d7247911380346991e0dcbaa3656428d25504f4f)) +* Replace the legacy/ecosoc rule with one that works. ([677232](https://github.com/UN-OCHA/unocha-site/commit/6772323aeefcdbea16ede1fe2651d7cea26f705c)) +* Schema for reliefweb fields ([95c42d](https://github.com/UN-OCHA/unocha-site/commit/95c42df27895a17ba8d7dbf8fb31ad9bccb10c70)) +* Schema settings for the unocha_reliefweb module ([a8bf83](https://github.com/UN-OCHA/unocha-site/commit/a8bf83e47808e97cc0682dfc3caa708d3e08ff92)) +* Show funding amount for top sectors ([60f371](https://github.com/UN-OCHA/unocha-site/commit/60f371d484cf65398ac022ed8166c2c6f3eee011)) +* Show percentage unit ([c46189](https://github.com/UN-OCHA/unocha-site/commit/c4618924ea914e2d4da4bfdce6ce4baf03f24d21)) +* Twig empty does not behave like php empty ([e569d0](https://github.com/UN-OCHA/unocha-site/commit/e569d00eb72d697c8c511eab38f2226c3c9f3e2e)) +* Typo ([9932f3](https://github.com/UN-OCHA/unocha-site/commit/9932f3a221031a3abf30ed5c6745e7e4fb331a26)) +* Update ocha_key_figures module to fix issue with current year option for regional office donors ([b541a3](https://github.com/UN-OCHA/unocha-site/commit/b541a3a953176ec2518427516b7a3f5aa082f69d)) +* Use one decimal point for the figures ([732467](https://github.com/UN-OCHA/unocha-site/commit/732467ead2dc4f4ecdaceda36f3ad897752acbf3)) +* Use select widget for improved EX for news and stories paragraph type ([261276](https://github.com/UN-OCHA/unocha-site/commit/26127649ad572c01bc8c12731437fd90e0712adb)) +* Use the actual oid as OID ([f16b4a](https://github.com/UN-OCHA/unocha-site/commit/f16b4a7272f071b92de35fddd678c9a6dc5e0e7e)) +* Use the breadcrumb from the parent path for the publications ([7985e7](https://github.com/UN-OCHA/unocha-site/commit/7985e758d53a5de889a611dbde3e69795072be4c)) +* Workaround to hide figure prefix and suffix that are not displayed properly - to remove once fixed in ocha_key_figures ([f4ed59](https://github.com/UN-OCHA/unocha-site/commit/f4ed59cfb1d84c56058aeb5f4e19414c202bf745)) +* Wrong variable name ([4af728](https://github.com/UN-OCHA/unocha-site/commit/4af728613b84db263af84c6c6513455570035d80), [8c2249](https://github.com/UN-OCHA/unocha-site/commit/8c22497993ca2ff3d8e30a591a850cee86222c7e)) + + +--- + +## [.1.6.1](https://github.com/UN-OCHA/unocha-site/compare/v.1.5.0...v.1.6.1) (2023-09-26) + +### Features + +* Add nginx rules to handle legacy file URLs redirections ([3c81be](https://github.com/UN-OCHA/unocha-site/commit/3c81bec8ef43d6d9e90ad4ba652248f2de6e9ea8)) + + +--- + +## [.1.5.0](https://github.com/UN-OCHA/unocha-site/compare/d60acf6ae4a3a72cf542dd51ac2d295ea9d00094...v.1.5.0) (2023-09-05) + +### Features + +* 3:2 image style for Card thumbnails ([c7f395](https://github.com/UN-OCHA/unocha-site/commit/c7f395e77b102047c5619bb63e0b695a6421286c)) +* 5 column layout, and add second row to existing layouts for better vertical rhythm control ([8eeefa](https://github.com/UN-OCHA/unocha-site/commit/8eeefa052b201a58c6ceba9d1e096b3fdf934afb)) +* Add and enable canto connector and entity browser modules ([2ae918](https://github.com/UN-OCHA/unocha-site/commit/2ae918a8e99d39b43718f7a4edda09023782596a)) +* Add and enable samlauth so UniteID logins work. ([8abbb7](https://github.com/UN-OCHA/unocha-site/commit/8abbb79c41203ee6dafa66829f4e8b5a58d1b302)) +* Add Azure AD (b2c) login. ([5006be](https://github.com/UN-OCHA/unocha-site/commit/5006be3927d735a24fa8e14b5c0887a61cb61d6f)) +* Add basic component for styling of RW document pages ([919d03](https://github.com/UN-OCHA/unocha-site/commit/919d039053194945fb7849e86c7512199ad5e052)) +* Add CBPF paragraph type ([10bafb](https://github.com/UN-OCHA/unocha-site/commit/10bafb0ef18d16221815a507a8d04c0bdb7621d8)) +* Add children menu field to display links to the page and its children as tabs ([832752](https://github.com/UN-OCHA/unocha-site/commit/8327528ccc6025c602231f36b7c74b4db9ddb9b0)) +* Add choices module to improve UX for select fields ([d15274](https://github.com/UN-OCHA/unocha-site/commit/d15274240e2304bd06190dd4b8c492caf5515389)) +* Add contextual filter for the event type on the upcoming events view block ([e9ae2b](https://github.com/UN-OCHA/unocha-site/commit/e9ae2b95b49f90d51a6b6a9fc8435b39304e5e80)) +* Add count data attribute to the media collection galleries to ease styling ([e24a4b](https://github.com/UN-OCHA/unocha-site/commit/e24a4b768e1114e2f876091b3b9d8d467280c3f2)) +* Add date_range_timezone field and field_type_converter to convert the event date field ([ab8dfb](https://github.com/UN-OCHA/unocha-site/commit/ab8dfb3de98dea258cd4c65a6f81c0ba9e994a0e)) +* Add date formats ([bc54bb](https://github.com/UN-OCHA/unocha-site/commit/bc54bb70deae99ef622fd7fda770b8cdf9b7f370)) +* Add donors paragraph type ([c2670c](https://github.com/UN-OCHA/unocha-site/commit/c2670c934deb71cb7a76c6d27bc1c2d2f990b25f)) +* Add drush command to create/update redirects ([32957f](https://github.com/UN-OCHA/unocha-site/commit/32957f18da38e1c492f9775020ad2083bcaa8400)) +* Add figures module ([4a71d1](https://github.com/UN-OCHA/unocha-site/commit/4a71d178c845efab16e3861b65423bb95dab1fa1)) +* Add footnote and source link fields to donors paragaph type ([a7f961](https://github.com/UN-OCHA/unocha-site/commit/a7f961ac281bf782243a9f44f069385dae46d8d8)) +* Add has response and office type fields and vocabulary ([fdd4fb](https://github.com/UN-OCHA/unocha-site/commit/fdd4fb5d7cc4e33e6f3eb21f8085bb63c756405a)) +* Additional classes for the response maps to help styling ([511558](https://github.com/UN-OCHA/unocha-site/commit/511558c56198d8f7615653894791565ef7d6a81e)) +* Add leader content type, paragraph type and related image styles and view modes ([e6576f](https://github.com/UN-OCHA/unocha-site/commit/e6576f290a8316cc9b051faba018ab931e0bff68)) +* Add location, shortname and iso3 fields to country terms ([4cb6d4](https://github.com/UN-OCHA/unocha-site/commit/4cb6d464e5add8459481b781e15c64a7450b406f)) +* Add mapbox nginx proxy settings ([94a657](https://github.com/UN-OCHA/unocha-site/commit/94a65788f0e80c151956e324ead1dbde37e8fe91)) +* Add maps custom module ([a67734](https://github.com/UN-OCHA/unocha-site/commit/a67734fc46326cc87eefcb9ba830833370735a42)) +* Add media centre paragraph template with view all link to the archive page ([1d5c40](https://github.com/UN-OCHA/unocha-site/commit/1d5c4076b3caaccb0e396a913a9fc0a2a8db2e0c)) +* Add new RW river curated paragraph type ([f21d4b](https://github.com/UN-OCHA/unocha-site/commit/f21d4b26a9c2bd1c93bf084c75b34259aef305b8)) +* Add news and stories paragraph type and change stories views ([945799](https://github.com/UN-OCHA/unocha-site/commit/9457998801646133079f5df8898c95987fbdf06f)) +* Add nginx rules to pass attachments urls to ReliefWeb ([0e588a](https://github.com/UN-OCHA/unocha-site/commit/0e588a8f98d033ae86266fad01ee20101f23f7aa), [c46aa7](https://github.com/UN-OCHA/unocha-site/commit/c46aa7a2d660335c922ab47dc47dfc8d31fb1c12)) +* Add nginx rule to be able to load canto assets ([bc2668](https://github.com/UN-OCHA/unocha-site/commit/bc266846fe011d4a79cf4647ec62cec7ca649848)) +* Add node and paragraph templates for the maps ([ef6f0f](https://github.com/UN-OCHA/unocha-site/commit/ef6f0fa990bec1f7546a387ec75cfcd8399854ec)) +* Add number formatting helper ([b433ef](https://github.com/UN-OCHA/unocha-site/commit/b433efc811f243534ce1602ecff03de7ab274d07)) +* Add ocha_key_figures module ([5a4bfc](https://github.com/UN-OCHA/unocha-site/commit/5a4bfc020162727c40333ae093eaf09e1b66f98e)) +* Add oembed_providers module and set up custom provider for Canto videos ([e86969](https://github.com/UN-OCHA/unocha-site/commit/e869694b6cd95c8309a21f5375d5d03fcf94c9c2)) +* Add paginated cards and teasers view modes for paragraphs and use them for the RW rivers ([3faee0](https://github.com/UN-OCHA/unocha-site/commit/3faee01dfcdec0af4bf0874cb48516ccba2f3d3d)) +* Add paginated media centre block to use on the archive page ([ca9e74](https://github.com/UN-OCHA/unocha-site/commit/ca9e7493b23238579bc29a2372e25a444880d765)) +* Add pagination setting to RW river formatter ([a08163](https://github.com/UN-OCHA/unocha-site/commit/a08163146eb32d368aabdf5792f101bfb5756eec)) +* Add pagination to Canto library widget ([688d91](https://github.com/UN-OCHA/unocha-site/commit/688d919f8784dc5c282559e8b7d7b5b65ed07584)) +* Add possibility to select videos from Canto ([9a0529](https://github.com/UN-OCHA/unocha-site/commit/9a0529693271ccc1a1f9f060bdbbf79df25837f0)) +* Add preprocessor for the children menu field to display it as tabs ([1a24aa](https://github.com/UN-OCHA/unocha-site/commit/1a24aa941e588fde8d388170a2009a9dc6a7392b)) +* Add property to limit nested levels of menu items ([6da41d](https://github.com/UN-OCHA/unocha-site/commit/6da41d3c5e37ecfd12e3ab9da983f6543d6d8c8e)) +* Add regional figures field ([d06567](https://github.com/UN-OCHA/unocha-site/commit/d065670ae8ac8219bce02ef0b626365a0d2671b2)) +* Add ReliefWeb document field type and refactor code to use a service to get ReliefWeb documents ([6c7236](https://github.com/UN-OCHA/unocha-site/commit/6c7236a6f39ae83dfb2ed2617f64cac1fe328256)) +* Add Resource content type ([d5c9f4](https://github.com/UN-OCHA/unocha-site/commit/d5c9f4adb0a2fd7ca3651ed557e63463a5c8d196)) +* Add Resources paragraph type ([0b4f28](https://github.com/UN-OCHA/unocha-site/commit/0b4f286d81ae45b2547ae489a33037269f040217)) +* Add rw-icons and uno-reponse-map components ([fb32b1](https://github.com/UN-OCHA/unocha-site/commit/fb32b1411f750883376d8133c924371cc1570220)) +* Add section paragraph type with notably tabs view mode ([82b979](https://github.com/UN-OCHA/unocha-site/commit/82b9792cf8261dbe3a0dd3e00ae9349beb4759ca)) +* Add social share links to RW document pages ([6f32e7](https://github.com/UN-OCHA/unocha-site/commit/6f32e71a22a3118d352710d2729e8df6e726d423)) +* Add stories paragraph type ([756b80](https://github.com/UN-OCHA/unocha-site/commit/756b80c644373bf121bb19027ef0bd25ceb89b0c)) +* Add styling for media centre view all link ([b30202](https://github.com/UN-OCHA/unocha-site/commit/b302022da372e88287f2ddf45c31d6262657980d)) +* Add subscribe paragraph type ([e7ae2b](https://github.com/UN-OCHA/unocha-site/commit/e7ae2b5dd2169087f7d780b9512794969c4f7b99)) +* Add template and component for the event date ([e6a5b7](https://github.com/UN-OCHA/unocha-site/commit/e6a5b704bfd81662206310a0707e3de7f6acecc2)) +* Add template for the donors paragraph ([7bdc30](https://github.com/UN-OCHA/unocha-site/commit/7bdc303c8ab358bf493c44cb5b52b6d2ef7e423c)) +* Add template for the media collection node ([56e8a8](https://github.com/UN-OCHA/unocha-site/commit/56e8a8a7ac98f81d87e01884ae102ba8ebab9619)) +* Add template for the Resources paragraph type ([7f10c3](https://github.com/UN-OCHA/unocha-site/commit/7f10c3cb6e16c2ef065f843fbe5218ab2fb1fd39)) +* Add template for the stories paragraph type ([385782](https://github.com/UN-OCHA/unocha-site/commit/3857820d149042ccf2e903b53daf5389dc4aa9f0)) +* Add template override for main navigation and simplify mega menu styling ([7ffa63](https://github.com/UN-OCHA/unocha-site/commit/7ffa63eccea83adc7745da05a3c3f3a1a775ed2a)) +* Add template overrides for the ocha_key_figures to ensure the attributes are set ([43d3d4](https://github.com/UN-OCHA/unocha-site/commit/43d3d479b05c1fddd6eeb622c3a14f1d33e534ca)) +* Add theme suggestions for fields ([f40de3](https://github.com/UN-OCHA/unocha-site/commit/f40de3c04cb515db4e03bcf33088b598eefd6441)) +* Add twig filters to format numbers ([d2fb27](https://github.com/UN-OCHA/unocha-site/commit/d2fb27b9cc905e59bc2f238af3924aac7410e302)) +* Add unocha_breadcrumbs to handle events and stories ([fda842](https://github.com/UN-OCHA/unocha-site/commit/fda842786c0340ddd43b5abce5a11eef15f93974)) +* Add unocha_canto module ([de884b](https://github.com/UN-OCHA/unocha-site/commit/de884b22b5e518e0b262504087b3506f7da22e94), [010b4f](https://github.com/UN-OCHA/unocha-site/commit/010b4f521ebfacc785e36c47b027936fac24810c)) +* Add unocha_donors module ([4d18d9](https://github.com/UN-OCHA/unocha-site/commit/4d18d91a62a393fcec188e5eaece1ac23cff7a4c)) +* Add unocha_migrate module that create/update country terms on install ([7020eb](https://github.com/UN-OCHA/unocha-site/commit/7020eb351b5f2632df34a77f2067619a657f07ea)) +* Add unocha paragraphs module with preprocessing of the stories paragraph type ([426218](https://github.com/UN-OCHA/unocha-site/commit/4262186789f2c1ec51810016a64000e24f15014e)) +* Add utility and reliefweb integration custom modules ([dd1326](https://github.com/UN-OCHA/unocha-site/commit/dd13269a1406560a9948506d5c3e1623e8a04a29), [6f6e05](https://github.com/UN-OCHA/unocha-site/commit/6f6e05fc3f4b0d98b42c07fe9e08db4054017b75)) +* Add view modes for figures paragraphs to select different formats for the figures ([71b782](https://github.com/UN-OCHA/unocha-site/commit/71b78269490818fdaf74afbe46c9f82a9911d09b)) +* Add views entity reference filter module ([a0505c](https://github.com/UN-OCHA/unocha-site/commit/a0505cda7d3e90f9d05b3e8f9706827176687072)) +* Adjust styling of figures ([73f8de](https://github.com/UN-OCHA/unocha-site/commit/73f8dea2d742428c4cb217aca0f4719c03f56dc9)) +* Adjust styling of paragraphs in the backend forms ([863b98](https://github.com/UN-OCHA/unocha-site/commit/863b985588b2fe23c8256205c0e7203bcdcde298)) +* Admin sub theme of Claro, with CK editor anchor modal fix ([114cca](https://github.com/UN-OCHA/unocha-site/commit/114cca6735d1d6298f34bb61e3fe93376bc495fe)) +* Allow editors to view and edit any unpublished content or media ([35ca8b](https://github.com/UN-OCHA/unocha-site/commit/35ca8b7e73a74e0416e57977f5cd95747cae80a0)) +* Allow nested paragraphs so we can add sections inside sections for tab display for example ([ade79b](https://github.com/UN-OCHA/unocha-site/commit/ade79b7b6283a72a7d8fa1161038172d9e69c8ca)) +* Allow overriding the figure label ([64a46e](https://github.com/UN-OCHA/unocha-site/commit/64a46e4e7d4b4ce202cc5c7286846ae46f701538)) +* Allow to override the unocha canto oembed URL to ease local development ([732aaf](https://github.com/UN-OCHA/unocha-site/commit/732aaf0402368a77fd23c2d92938c8c465b4df31)) +* Also allow tabs on other content types than basic ([c50a7c](https://github.com/UN-OCHA/unocha-site/commit/c50a7c64b93b99a05f5dcce2ae306a44b2fdf831)) +* Also use stable for the base image in addition to the builder and remove unnecessary nginx config override ([3fbc61](https://github.com/UN-OCHA/unocha-site/commit/3fbc61274fd77a84daa8fa6b9dccdb10fde74bc6)) +* Alter the events paragaph form to allow to select view display option and filter by event types ([f82a2a](https://github.com/UN-OCHA/unocha-site/commit/f82a2a05d77e95e960beb3d04bb5b7665d74e755)) +* Base theme update to v8 ([3e56aa](https://github.com/UN-OCHA/unocha-site/commit/3e56aa0d743a1fdc2d627eb56959d2e7babd20d2)) +* Basic content type, ckeditor, for facilitating content development ([38cda5](https://github.com/UN-OCHA/unocha-site/commit/38cda501635a5e52085f2a53eb00bac93e15d3d8)) +* Basic tests from starterkit ([7c2c1c](https://github.com/UN-OCHA/unocha-site/commit/7c2c1c72519ad71cc3ebcfc4d78badaf6ebccc29)) +* Better handling of respones with country overlap ([b7a498](https://github.com/UN-OCHA/unocha-site/commit/b7a498ae2549bea8d6ce5146d89745c619754e35)) +* Breadcrumbs for the RW white labeled documents ([4524df](https://github.com/UN-OCHA/unocha-site/commit/4524df442b51ac650d62177ba1c1b086650efb22)) +* Campaign paragraph type with node reference field ([e16bd5](https://github.com/UN-OCHA/unocha-site/commit/e16bd56b5d4b106aa523f6b69fe999452f137091)) +* Change title of top sectors ([a66137](https://github.com/UN-OCHA/unocha-site/commit/a6613726ab6026aee19d787b8a257fe746e9b973)) +* Composer require menu_breadcrumb and menu_position modules ([75c24c](https://github.com/UN-OCHA/unocha-site/commit/75c24c75bfc6a0997cc3152627bdeb603b30326a)) +* Config sync (field_canto_asset_id for image media and unocha_canto settings and enabling) ([90d007](https://github.com/UN-OCHA/unocha-site/commit/90d0078ed91573119db259281879e62a61196006)) +* Configure Views ([4b19c6](https://github.com/UN-OCHA/unocha-site/commit/4b19c63c3d9401eb9b2444357e878c220a83844d)) +* Contact form ([f28e25](https://github.com/UN-OCHA/unocha-site/commit/f28e2508a665d08e4e79c7a357f052be72c3893f)) +* Content types, fields and display ([00fa6e](https://github.com/UN-OCHA/unocha-site/commit/00fa6e1c048a32ffa78f0d5e09f2d2348685ff95)) +* Cpbf paragraph template to show graphics in an iframe ([1f18ee](https://github.com/UN-OCHA/unocha-site/commit/1f18ee627be81113ca6780e43e9ba214c97d4f73)) +* Create templates in admin subtheme that link to the cd subtheme to have similar appearance in the backend form ([8e7f54](https://github.com/UN-OCHA/unocha-site/commit/8e7f54066f7167e75e754cc6b8f5c371807a4470)) +* Datawrapper embed para type ([859b01](https://github.com/UN-OCHA/unocha-site/commit/859b0154de865c587f66a7c027a35021a627fb57)) +* Disable open user registrations. ([003376](https://github.com/UN-OCHA/unocha-site/commit/00337680aa460d7f625d76fe4a90fd57fea6eaff)) +* Display 6 items in the media centre block ([599631](https://github.com/UN-OCHA/unocha-site/commit/599631f923995688a1e85f970f8345fc0f807ea2)) +* Display attachments similarly to RW based on content format ([6374c5](https://github.com/UN-OCHA/unocha-site/commit/6374c5045af3dd9041433052e0e994426913ee91)) +* Display media centre list field in media centre paragraph type to allow selecting the block to display ([9086fe](https://github.com/UN-OCHA/unocha-site/commit/9086fec1b6f51cc403ebca9ad3e8a8bc3f24e6d3)) +* Display mode field on Views entity ref paragraph type used in template for teaser vs card ([ac70e5](https://github.com/UN-OCHA/unocha-site/commit/ac70e55bdefbc6bd6b2b96f621f63fcfcd227c0e)) +* Display path alias below title on manage/content view to help differentiate between pages ([a5c0be](https://github.com/UN-OCHA/unocha-site/commit/a5c0be82e9fd3faf4134390599d88d3f18a0932f)) +* Donors library and markup with values hardcoded in template, and included in paragraph template override for now ([c3ba05](https://github.com/UN-OCHA/unocha-site/commit/c3ba05df1aab1a6e056b90de7b2537239a40b90b)) +* Do not disply page title on RW document pages ([93a9b0](https://github.com/UN-OCHA/unocha-site/commit/93a9b00181f61382e37d603651cdac4bf788940c)) +* Do the event date field conversion before the config import to avoid conflicts ([3943f3](https://github.com/UN-OCHA/unocha-site/commit/3943f3d4c113abd618d6a9098fa40238d918bba5)) +* Editor role with perms to edit content and menu items ([5024b3](https://github.com/UN-OCHA/unocha-site/commit/5024b32ca415995bcaf297263a69e2294913dd06)) +* Enable choices select widget for relevant node fields ([5e4f2d](https://github.com/UN-OCHA/unocha-site/commit/5e4f2d02210b9dd0b02ea17d028a8cbf55091b4e)) +* Enable the unocha utility and reliefweb modules ([6f29a1](https://github.com/UN-OCHA/unocha-site/commit/6f29a115824022c77c009675e7b99a3bb7d6b645), [5826ea](https://github.com/UN-OCHA/unocha-site/commit/5826ea1f9d5460fb49d88635030b3f2b394473bf)) +* Enable unocha_maps module ([6663d2](https://github.com/UN-OCHA/unocha-site/commit/6663d271d474d2d3fde02af2e29a4bdaa6199aab)) +* Enable unocha figures module ([e12e0b](https://github.com/UN-OCHA/unocha-site/commit/e12e0bccfea351f623fe4e17b8e261c1006d1c07)) +* Enable user menu ([6c49ec](https://github.com/UN-OCHA/unocha-site/commit/6c49ecac71d46dc3bc7b899946dbffd582ccb434)) +* Enable webp format for image media type ([e4df27](https://github.com/UN-OCHA/unocha-site/commit/e4df275b6a648207c7662fcb721b1b79773503d2)) +* Entity reference display experiment ([d330e7](https://github.com/UN-OCHA/unocha-site/commit/d330e76a71ea71c75013bd9da29dd7a25740be90)) +* Export response map paragraph type config and node map view mode config ([cff135](https://github.com/UN-OCHA/unocha-site/commit/cff135d87b582b425eb32c81fa23649f92f1b8bf)) +* Expose expanded and enabled fields in node menu link widget ([ce0768](https://github.com/UN-OCHA/unocha-site/commit/ce076852f6302368b56a4b37d9dcd7c21bc9549e)) +* Figures paragraph type styles based on gho, and template override for double field, field and paragraph ([64cf3c](https://github.com/UN-OCHA/unocha-site/commit/64cf3cd3d2e2ef7c3ab69bf0656b10eaff92d476)) +* Figures styling ([004312](https://github.com/UN-OCHA/unocha-site/commit/004312ab3db2af95b90b466bf4bbe48e0eb573ae)) +* Filter responses appearing in the maps ([f9abb2](https://github.com/UN-OCHA/unocha-site/commit/f9abb22a8f18ad827eb639db6f1d9540f7d64d1a)) +* Footer menus and blocks ([041c83](https://github.com/UN-OCHA/unocha-site/commit/041c8391437a31569467146c53b3a088a8aece79), [8f06dc](https://github.com/UN-OCHA/unocha-site/commit/8f06dcee5a7fc2895cc5eb5e4348207f102dc528), [d93f53](https://github.com/UN-OCHA/unocha-site/commit/d93f5355f3ba4c41fc18132a1489abd9bd46d8e2)) +* Formatter for the ReliefWebDocument field to display the values as a river ([6c0b19](https://github.com/UN-OCHA/unocha-site/commit/6c0b1951b3567e8904ada1e10f9644ea6f21551e)) +* Hide the title of the video media to avoid the generic 'remote video file' ([45c706](https://github.com/UN-OCHA/unocha-site/commit/45c706a98ed2daef074e4afc8409cfdc0ebbc810)) +* Image api optimize webp module from d10 compat fork and config ([224c1a](https://github.com/UN-OCHA/unocha-site/commit/224c1acea92115859f800e7e3e4e470a5230b179)) +* Image styles from GHO 2022 ([b15af8](https://github.com/UN-OCHA/unocha-site/commit/b15af88aa3f6c27a9cd541db718c11c7b1512f7f)) +* Improve styling of choices select widgets ([7c1217](https://github.com/UN-OCHA/unocha-site/commit/7c1217514d5dbe65c593b65820b99af1092bca54)) +* Install and enable modules from latest startekit updates ([ed0e61](https://github.com/UN-OCHA/unocha-site/commit/ed0e6189e4d3f8596dfc3c6a98bd1ef01641ee6b)) +* Install double_field module for Figures para type ([97a224](https://github.com/UN-OCHA/unocha-site/commit/97a224974166a500ee184a3f3bf0a179e2b78509)) +* Install modules ([9eaefc](https://github.com/UN-OCHA/unocha-site/commit/9eaefc3051126b196fd353f1c1f009b333241c84)) +* Install stage_file_proxy ([1adacd](https://github.com/UN-OCHA/unocha-site/commit/1adacdb72056003aaf4d6beb5525b7a8ead3457c)) +* Layout paragraph for multi col layout ([e56d21](https://github.com/UN-OCHA/unocha-site/commit/e56d21abbd0d1367df6d457cf34144bb69fc8d8b)) +* Linkit module for autocomplete link field via WYSIWYG ([d3821e](https://github.com/UN-OCHA/unocha-site/commit/d3821e54b97fb332d8d889f5364cbbfa642ea311)) +* Make regions collapsible in main menu on small screens ([b8d3c5](https://github.com/UN-OCHA/unocha-site/commit/b8d3c5be97b7c26a8c78d18ad836bfb2c44607fe)) +* Media centre content type and fields, display and View ([bb42ed](https://github.com/UN-OCHA/unocha-site/commit/bb42ed14263e8c7fa0544c2150c07c70ea446ee7)) +* Ocha_search with GCSE ID and search block ([7509e7](https://github.com/UN-OCHA/unocha-site/commit/7509e79c40ef60da0775d7c0a4c5bbddc668a6c5)) +* Only show user menu when logged in ([71a403](https://github.com/UN-OCHA/unocha-site/commit/71a40373ad26a03e7594a1f7042612fc99a8fdba)) +* Override RW image template to use same caption styling as rest of site ([e9ba5d](https://github.com/UN-OCHA/unocha-site/commit/e9ba5dcf2485d4ca07cf44410d51254ce4ca9864)) +* Paragraph type for media item, with video and image field, rw document field, link field, title and text, and view mode ([b03065](https://github.com/UN-OCHA/unocha-site/commit/b030650129d9556e3bfe7af80c15ba887622a932)) +* Paragraph types and display ([662760](https://github.com/UN-OCHA/unocha-site/commit/6627604f0e2cc876b706613965c81aca8e6c44c7)) +* Paragraph types for card and card list, with column count ([e8a15a](https://github.com/UN-OCHA/unocha-site/commit/e8a15a305ee21beb56af5fdb71fef067a96d30a0)) +* Pass non-existent legacy file links back to Drupal so redirect module can act. ([630ac4](https://github.com/UN-OCHA/unocha-site/commit/630ac4c9e92298fabcb33349b25453a75a95586f)) +* Post update hook to convert the field event date ([b9a7f7](https://github.com/UN-OCHA/unocha-site/commit/b9a7f7938fb0fa8cf5e56744e38a67fda99de9f4)) +* Prevent Drupal from moving buttons inside a dialog ([d1fadf](https://github.com/UN-OCHA/unocha-site/commit/d1fadfc92f237fe889e2efdaadbd355349d01a7d)) +* Prevent potential issue with responses without a country ([68e863](https://github.com/UN-OCHA/unocha-site/commit/68e863f16f8a48beae1984236c966d90a0e544fa)) +* Region link for external donation site ([bc7e0b](https://github.com/UN-OCHA/unocha-site/commit/bc7e0be9f728dc805b53977e3f92d25d5a05c2e0)) +* Rename sticky to featured and hide promote to front page ([59e7d1](https://github.com/UN-OCHA/unocha-site/commit/59e7d1e4b751092ac884f04fd38712119b8c4399)) +* Response menu ([0f8d34](https://github.com/UN-OCHA/unocha-site/commit/0f8d34350dc981965adf94d0f16d7e74747fc4e0)) +* Responses menu ([903c02](https://github.com/UN-OCHA/unocha-site/commit/903c02942e7caf473c13a687dfee86a9d37e2f1e)) +* Response vocab and menu, mock component for response menu ([f2279a](https://github.com/UN-OCHA/unocha-site/commit/f2279a9956cf78e3d1e7443f87e3a572a012dc14)) +* Responsive image config, images styles, media types and display ([1af04f](https://github.com/UN-OCHA/unocha-site/commit/1af04fc81e39c206f9ade2b7a3db81e5b74dfcc8)) +* Rewrite URLs for the old /sites/unocha/files path. ([993f9d](https://github.com/UN-OCHA/unocha-site/commit/993f9dcba90896f36363ce3f2479fa080a3969b3)) +* RW Key figures template and component from RWR, config for para type ([379d5f](https://github.com/UN-OCHA/unocha-site/commit/379d5f310ea4e436fb278d0d2b7687fb8d7c04c7)) +* RW river, document, and rss feed para types and templates, hard-coded ([fd5c81](https://github.com/UN-OCHA/unocha-site/commit/fd5c81d12f278292f2b4a88be65476f6200ef909)) +* Show 12 items on the stories page to avoid blank before pager ([b949f7](https://github.com/UN-OCHA/unocha-site/commit/b949f7372be547ca653917c9b7d35a308669ebff)) +* Sitemap ([f12b94](https://github.com/UN-OCHA/unocha-site/commit/f12b941f50a0e9ea126775f5fd003cd753c226d2)) +* Social media component with images and preprocess function ([6145b6](https://github.com/UN-OCHA/unocha-site/commit/6145b6242b1d028718b97caa4033e5a75c04bd29)) +* Sort paragraph types in selector widget ([ccc094](https://github.com/UN-OCHA/unocha-site/commit/ccc094e6b54e3e7d55fd18d45c5e60a45f3f568c)) +* Sub theme ([35c3c1](https://github.com/UN-OCHA/unocha-site/commit/35c3c12f575bbdeeddbe4b63d40c8a10882e4f60)) +* Tabs as nested paragraph with viewmode ([4eae0e](https://github.com/UN-OCHA/unocha-site/commit/4eae0efbff4472c47504125199505e1a60886b58)) +* Taxonomy reference field as part of Node para type, to cater for Responses ([5d61ed](https://github.com/UN-OCHA/unocha-site/commit/5d61ed8f5531b36b23b4b863a455261226441414)) +* Template for the RW river curated paragraph type ([c91e62](https://github.com/UN-OCHA/unocha-site/commit/c91e62085d7acfca7945d1a7fe8fb973c712d4fa)) +* Templates and minimal styling for donors ([cc940d](https://github.com/UN-OCHA/unocha-site/commit/cc940df250fcf135fc8ac0d9b510fe73c962b872)) +* Templates and minimal styling for the leader nodes ([4a1277](https://github.com/UN-OCHA/unocha-site/commit/4a12773269ddc1d471a70531e13b8a7f55ac5329)) +* Templates and styling for the subscribe paragraph type ([08e81f](https://github.com/UN-OCHA/unocha-site/commit/08e81f31d2a11e6b12dadb7fed694b367aebf3e9)) +* Title and text field on all para types, max-width for single column ([e3fa90](https://github.com/UN-OCHA/unocha-site/commit/e3fa90df47d8675f3ca76b870a0c1e4f3fa70b57)) +* Two column layout with sidebar to achieve Humanitarian Resources 3 column design using RW river paragraph types ([3be9c3](https://github.com/UN-OCHA/unocha-site/commit/3be9c32c906b002ae16bfe989de1a56d0c941be4)) +* Update base theme to latest release ([f2c21d](https://github.com/UN-OCHA/unocha-site/commit/f2c21d4e2f3cceb8e0986e499b18b44edf62ae2d)) +* Update config to add canto image media and paragraph type ([64243d](https://github.com/UN-OCHA/unocha-site/commit/64243db1d932843eed357df7149f00d678524240)) +* Update figures paragraph type to use new key_figure field ([d9191d](https://github.com/UN-OCHA/unocha-site/commit/d9191dfffd84ceea039d5ea4f100c681b01964f7)) +* Update local stack ([c4ed52](https://github.com/UN-OCHA/unocha-site/commit/c4ed52a0876844eb9441395f8f8bb376a2d6a7e4)) +* Update news and stories views page to have dropdowns for the region and response filters ([44190a](https://github.com/UN-OCHA/unocha-site/commit/44190afdd8170826d571d02929fff4cdf550c902)) +* Update reliefweb documents service to be able to retrieve a river from a list of document urls ([cb07db](https://github.com/UN-OCHA/unocha-site/commit/cb07db6fa15ae3c7bc2a48189899a97fed7b6561)) +* Update RW river, RW document and Figures paragraph types to use the new RWRiver and RWDocument field types ([eb628b](https://github.com/UN-OCHA/unocha-site/commit/eb628b83070b50a3eef0e021cf062fea686c149d)) +* Update RW River and figures paragraph templates and add template for RW document in figures paragraph ([6fd356](https://github.com/UN-OCHA/unocha-site/commit/6fd356ee2ad01d2e38a4a565c26655505e143a95)) +* Update uno-donors template and styling to handle ocha donors ([db5e28](https://github.com/UN-OCHA/unocha-site/commit/db5e2844beb56b434ed903ab670fd7b68c8fec8a)) +* Update unocha_paragraphs to also handle resources ([d0ffe4](https://github.com/UN-OCHA/unocha-site/commit/d0ffe408d8b36cdd5c266603871614a115b3c85c)) +* Update unocha donors module to be able to display ocha donors ([a741e4](https://github.com/UN-OCHA/unocha-site/commit/a741e4353c66792a6916ae5088d122a5ae48eedf)) +* Use entire width for first image in media gallery depending on the number of images ([dda92f](https://github.com/UN-OCHA/unocha-site/commit/dda92f439c0d80d08de47501735bcff747b7afa2)) +* Use node story card template for stories paragraph to display the date and featured ([733d36](https://github.com/UN-OCHA/unocha-site/commit/733d36e9f70be767b1404ce75d4913e761a82a1c)) +* Use oembed-video field template in admin theme as well to use the calculated aspect ratio ([31b03d](https://github.com/UN-OCHA/unocha-site/commit/31b03ddd62961760d86d193985422b65c64ee513)) +* Use php 8.2 stable image ([be6648](https://github.com/UN-OCHA/unocha-site/commit/be664880a7e011711c35c3c04977989741304402)) +* Video paragraph type with remote video media type ([88db12](https://github.com/UN-OCHA/unocha-site/commit/88db12fd23947f2ee938b2dab4f941929bf31067)) +* Vocabularies ([41cff5](https://github.com/UN-OCHA/unocha-site/commit/41cff5ff4b73c02b63b22790d2facfbdffd00e9c)) + +### Bug Fixes + +* Active for children menu links ([ca6f6a](https://github.com/UN-OCHA/unocha-site/commit/ca6f6acdc7f69423290a1bad31112b621220441a)) +* Add form to define the breadcrumb parent path for the ocha products ([3963ae](https://github.com/UN-OCHA/unocha-site/commit/3963ae35c56a92a368b4d66c2cddd704f6e5daeb)) +* Add missing schema for the key figure formatter settings ([d196ce](https://github.com/UN-OCHA/unocha-site/commit/d196ce1d0680c6ac8d52103c8f6ae594f4294fb9)) +* Add permission for editors to edit the breadcrumb paths for the RW white labeled docs ([e42240](https://github.com/UN-OCHA/unocha-site/commit/e4224080ffe24446b717b00472dc00bf892cea4c)) +* Allow 0 as figure value ([dd2960](https://github.com/UN-OCHA/unocha-site/commit/dd296051be7389c7842ae02134e37485eed4b389)) +* Allow editors to modify the menus ([1ff2ff](https://github.com/UN-OCHA/unocha-site/commit/1ff2ff37143b6bf7bee344478db7ffe7fc7a8602)) +* Allow editors to view other unpublished content ([917f81](https://github.com/UN-OCHA/unocha-site/commit/917f813ad291291fc0175c0ec9e21a828b3754f9)) +* Allow editors to view other unpublished media ([a93f3a](https://github.com/UN-OCHA/unocha-site/commit/a93f3a1681226a05f02ab8305088a2ea274b1ecf)) +* Allow selection of top sectors ([af3648](https://github.com/UN-OCHA/unocha-site/commit/af364863155994a20df1809e0605e38ee483dbed)) +* Api filter optimization for ranges ([144e5d](https://github.com/UN-OCHA/unocha-site/commit/144e5d08b83eabffe7ad37422edcba39cc33d57c)) +* A valid json is better ([e2e191](https://github.com/UN-OCHA/unocha-site/commit/e2e191d91c21a10e881456dc363f58c5fbcac904)) +* Bump to a fixed docker image with webp support. ([87c550](https://github.com/UN-OCHA/unocha-site/commit/87c5502b4663deef56ca69462c3331141c45cfac)) +* Caching context for breadcrumbs ([a74d1c](https://github.com/UN-OCHA/unocha-site/commit/a74d1ce7ee39baa1e41dd63d6e699eadcb144f6b)) +* Caching of RW API and converter requests ([6e7a75](https://github.com/UN-OCHA/unocha-site/commit/6e7a75c7ad72e2e5bdc352c34810642c5af257c0)) +* Check access to nodes for maps, resources and stories paragraph types ([2d8e12](https://github.com/UN-OCHA/unocha-site/commit/2d8e12e9f049a16c272573c64593eab9bb52b7a6)) +* Closing tags for the OCT unearmarked list ([876537](https://github.com/UN-OCHA/unocha-site/commit/8765372ec5b6b886504354e8720cf4fd26f1196f)) +* Complete change in case for patches dir ([350d9c](https://github.com/UN-OCHA/unocha-site/commit/350d9c0a03f1201c50e24e8c084f9ff703598928)) +* Composer issue in tests ([8ae386](https://github.com/UN-OCHA/unocha-site/commit/8ae386d9e27751190f081be7b9c466586e81e877)) +* Css/js aggregation for Drupal 10+ - attempt 3 ([8e7903](https://github.com/UN-OCHA/unocha-site/commit/8e790364129813bc69c1eeaf7316a6ca30c244c3)) +* Css/js aggregation for Drupal 10.1 ([577761](https://github.com/UN-OCHA/unocha-site/commit/577761985befe40c88ca9eecd9a59bba5f996d66)) +* Css aggregation for Drupal 10.1+ ([f8b6fb](https://github.com/UN-OCHA/unocha-site/commit/f8b6fb0f37ebbae293c034fa8449274a80f909f3)) +* Deprecration from maintenance200 ([653306](https://github.com/UN-OCHA/unocha-site/commit/653306f9febc26e9bd214b9ff5e04344310e0f13)) +* Derive the active trail from the given route match when calculating the menu breadcrumb ([100be3](https://github.com/UN-OCHA/unocha-site/commit/100be3f8c35e7cf138754d3a4bbfe5f7afc2b8d1)) +* Display 0 as 0 ([b07bf5](https://github.com/UN-OCHA/unocha-site/commit/b07bf5900dfbb4fba429ed49fbed58a9a0ff7a84)) +* Display of regional office donors ([4f56de](https://github.com/UN-OCHA/unocha-site/commit/4f56de6827a6190544dbc3ba1aa02957afcfde58)) +* Display of view all link in ReliefWeb River field formatter ([179065](https://github.com/UN-OCHA/unocha-site/commit/179065ae7e44b0f5c2e1e3b64531940d7e4b1927)) +* Donor type in donors template ([f0e7fe](https://github.com/UN-OCHA/unocha-site/commit/f0e7fe2b87b854870c8394b8205f6cc9d369daba)) +* Do not filter RW documents by ocha_product ([a62970](https://github.com/UN-OCHA/unocha-site/commit/a62970dff2dcf427e6ecab168e02ee8cfd699158)) +* Do not show stories on nodes being created to avoid confusion ([7198d9](https://github.com/UN-OCHA/unocha-site/commit/7198d922d83da61a1112ad599922c6288bf779d2)) +* Drupal 10 / PHP 8.2 requires drupal-test-traits v2 or phpunit just errors out. ([32c859](https://github.com/UN-OCHA/unocha-site/commit/32c859a01f93cf47f34f6e52ac87efd568100b68)) +* Ensure archived results are not returned from the ocha key figures api ([315837](https://github.com/UN-OCHA/unocha-site/commit/315837275259b96d6b59942bae4a01b84f4dcd0e)) +* Ensure menu is not displayed as mega menu when expanded is unchecked ([af042f](https://github.com/UN-OCHA/unocha-site/commit/af042f5425b6a3cd607cf2b4e96ea772dfc020c3)) +* Ensure the proxy_pass hosts are variables, so nginx will refresh its IP cache. ([6afefa](https://github.com/UN-OCHA/unocha-site/commit/6afefafa32e5f37ce8bdadfb2ac845d188ff1c49)) +* Ensure there is a title for the 404 page ([2290cc](https://github.com/UN-OCHA/unocha-site/commit/2290cc12dab018b21a544d62adccc5a75bb88316)) +* Environement indicator from copy/paste ([dadbd5](https://github.com/UN-OCHA/unocha-site/commit/dadbd549b10697e42ca3e8b200e6f44f99adbae2)) +* Filter out unpublished stories ([fe5bc3](https://github.com/UN-OCHA/unocha-site/commit/fe5bc37a951b41196a9305bd8fd677001c659fec)) +* Homepage metatags ([723272](https://github.com/UN-OCHA/unocha-site/commit/7232720b892d15403afe57c815e29af0da847a0c)) +* Ids of main navigation menu ([3f8485](https://github.com/UN-OCHA/unocha-site/commit/3f8485b3895a0cb2061c0d11da59c663f55062a8)) +* Make the actions use the slack channel *var* instead of *secret*. ([d50500](https://github.com/UN-OCHA/unocha-site/commit/d505006f908c24a7546b7abc6c910caf10b64388)) +* Move all configurables to Ansible. ([4ceda2](https://github.com/UN-OCHA/unocha-site/commit/4ceda2e239bfec2e8d217ab30c14cf1877ae2a05)) +* Number formatter ([dc9440](https://github.com/UN-OCHA/unocha-site/commit/dc944052df4e96fbae4097027320e6db194892de)) +* Ordering of donors ([d449ce](https://github.com/UN-OCHA/unocha-site/commit/d449ce42c2092ea7cecf607860cecc8f42a8e401)) +* Order tabs by menu weight ([99a2c6](https://github.com/UN-OCHA/unocha-site/commit/99a2c65ac88e8bf04eb66b86ff25abca4a287c2d)) +* Patch stage_file_proxy so it honours its settings. ([c1c5ba](https://github.com/UN-OCHA/unocha-site/commit/c1c5baf133d1033b99c6f35595fe453d05847c3f)) +* Permission for editor to access page to edit terms ([25ec70](https://github.com/UN-OCHA/unocha-site/commit/25ec70983a71bc6b023b1f4160dadeaa096d2554)) +* Pluralize the news and stories exposed filter names to avoid conflict with layout paragraphs ([fd15e7](https://github.com/UN-OCHA/unocha-site/commit/fd15e7665b93c27bbde9005bfd59c4829d0649f9)) +* Preserve image ration for metatag images of events and leaders ([fb71b3](https://github.com/UN-OCHA/unocha-site/commit/fb71b37cb087489be9fe2316f8ee71e5dbd2f4ee)) +* Preserve label override ([6cd04e](https://github.com/UN-OCHA/unocha-site/commit/6cd04ed390395ac19aa5b328a5e6bb87f379019c)) +* Preserve scripts directory ([413a74](https://github.com/UN-OCHA/unocha-site/commit/413a748178c9da885112069abb280144e2afdd5e)) +* Prevent error when there a no stories to show in a stories paragraph type ([58c65b](https://github.com/UN-OCHA/unocha-site/commit/58c65b3bda503ce9ee847ae4ef63d47f168ad671)) +* Prevent rendering twice layout regions ([cd5b21](https://github.com/UN-OCHA/unocha-site/commit/cd5b21d6b92507f6d132da2497b364265e203282)) +* Proper loc length ([82952e](https://github.com/UN-OCHA/unocha-site/commit/82952ef1e80b553ec98fd66eba8982705e901f7d)) +* Proper offset for pagination ([7ae419](https://github.com/UN-OCHA/unocha-site/commit/7ae41958db1e3ce116f92d3f7e452274b529ed8b)) +* Property name typo ([a2a41d](https://github.com/UN-OCHA/unocha-site/commit/a2a41df56ca177ae7d0ebefdd9b56765aab0642e)) +* Remove default title for RW rivers ([e059bf](https://github.com/UN-OCHA/unocha-site/commit/e059bf176fa3be1c51abab8594798459cbbee2fc)) +* Remove leftover attributes from paragraphs that impact backend ([f7d643](https://github.com/UN-OCHA/unocha-site/commit/f7d64388c79b077192e7f9c2a37eb553d35032ea)) +* Remove leftovers from the canto image media ([91c61a](https://github.com/UN-OCHA/unocha-site/commit/91c61aab25080cb1974646942025769efc44799c)) +* Remove the dev config pertaining to absent modules, so we can enable. ([a6eb6c](https://github.com/UN-OCHA/unocha-site/commit/a6eb6cfccfb0421669d0566c313de46b81d9f68b)) +* Remove the devel settings file ([548bc1](https://github.com/UN-OCHA/unocha-site/commit/548bc167abdd7eb471091613aa99da7d42308e4f)) +* Rename the snippet and comment it to be the generic legacy file handler. ([d72479](https://github.com/UN-OCHA/unocha-site/commit/d7247911380346991e0dcbaa3656428d25504f4f)) +* Replace filters of stories view so that filter conjunctions are respected ([d2ee63](https://github.com/UN-OCHA/unocha-site/commit/d2ee63610b1a80f4674604d456bea37f0872e427)) +* Replace the legacy/ecosoc rule with one that works. ([677232](https://github.com/UN-OCHA/unocha-site/commit/6772323aeefcdbea16ede1fe2651d7cea26f705c)) +* Schema for reliefweb fields ([95c42d](https://github.com/UN-OCHA/unocha-site/commit/95c42df27895a17ba8d7dbf8fb31ad9bccb10c70)) +* Schema settings for the unocha_reliefweb module ([a8bf83](https://github.com/UN-OCHA/unocha-site/commit/a8bf83e47808e97cc0682dfc3caa708d3e08ff92)) +* Show amount for OCT earmarked donors ([1f1323](https://github.com/UN-OCHA/unocha-site/commit/1f1323499eccf97819bbeaab61a94df68cf04759)) +* Show funding amount for top sectors ([60f371](https://github.com/UN-OCHA/unocha-site/commit/60f371d484cf65398ac022ed8166c2c6f3eee011)) +* Show percentage unit ([c46189](https://github.com/UN-OCHA/unocha-site/commit/c4618924ea914e2d4da4bfdce6ce4baf03f24d21)) +* SSL connection to mapbox ([c91d4d](https://github.com/UN-OCHA/unocha-site/commit/c91d4d9905cabc32bf64f5f600ffe65301465fa5)) +* Twig empty does not behave like php empty ([e569d0](https://github.com/UN-OCHA/unocha-site/commit/e569d00eb72d697c8c511eab38f2226c3c9f3e2e)) +* Typo ([9932f3](https://github.com/UN-OCHA/unocha-site/commit/9932f3a221031a3abf30ed5c6745e7e4fb331a26)) +* Typo in paragraph type name ([b26476](https://github.com/UN-OCHA/unocha-site/commit/b26476eb17a27b756563a146ba021ef79be7bc3c)) +* Unocha figure templates ([eca0d4](https://github.com/UN-OCHA/unocha-site/commit/eca0d47b5ff1478111557e082f1dab95f35696ed)) +* Update ocha_key_figures module to fix issue with current year option for regional office donors ([b541a3](https://github.com/UN-OCHA/unocha-site/commit/b541a3a953176ec2518427516b7a3f5aa082f69d)) +* Use one decimal point for the figures ([732467](https://github.com/UN-OCHA/unocha-site/commit/732467ead2dc4f4ecdaceda36f3ad897752acbf3)) +* Use our memcache and mysql images ([25bcc7](https://github.com/UN-OCHA/unocha-site/commit/25bcc765e7d6ea354f718852f7bf18b018599e4b)) +* Use select widget for improved EX for news and stories paragraph type ([261276](https://github.com/UN-OCHA/unocha-site/commit/26127649ad572c01bc8c12731437fd90e0712adb)) +* Use the actual oid as OID ([f16b4a](https://github.com/UN-OCHA/unocha-site/commit/f16b4a7272f071b92de35fddd678c9a6dc5e0e7e)) +* Use the breadcrumb from the parent path for the publications ([7985e7](https://github.com/UN-OCHA/unocha-site/commit/7985e758d53a5de889a611dbde3e69795072be4c)) +* Workaround to hide figure prefix and suffix that are not displayed properly - to remove once fixed in ocha_key_figures ([f4ed59](https://github.com/UN-OCHA/unocha-site/commit/f4ed59cfb1d84c56058aeb5f4e19414c202bf745)) +* Wrong variable name ([4af728](https://github.com/UN-OCHA/unocha-site/commit/4af728613b84db263af84c6c6513455570035d80), [8c2249](https://github.com/UN-OCHA/unocha-site/commit/8c22497993ca2ff3d8e30a591a850cee86222c7e)) + + +--- + diff --git a/PATCHES/core_js_optimizer.patch b/PATCHES/core_js_optimizer.patch new file mode 100644 index 00000000..dc7eb580 --- /dev/null +++ b/PATCHES/core_js_optimizer.patch @@ -0,0 +1,53 @@ +diff --git a/core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php b/core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php +index 647a2c36a017f890c0e43bbdb350084989b1a7f1..3912afe5a9feeaae235c640cd89816091c7e97be 100644 +--- a/core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php ++++ b/core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php +@@ -155,24 +155,32 @@ public function deleteAll() { + public function optimizeGroup(array $group): string { + $data = ''; + $current_license = FALSE; +- foreach ($group['items'] as $js_asset) { +- // Ensure license information is available as a comment after +- // optimization. +- if ($js_asset['license'] !== $current_license) { +- $data .= "/* @license " . $js_asset['license']['name'] . " " . $js_asset['license']['url'] . " */\n"; +- } +- $current_license = $js_asset['license']; +- // Optimize this JS file, but only if it's not yet minified. +- if (isset($js_asset['minified']) && $js_asset['minified']) { +- $data .= file_get_contents($js_asset['data']); +- } +- else { +- $data .= $this->optimizer->optimize($js_asset); ++ ++ // No preprocessing, single JS asset: just use the existing URI. ++ if ($group['type'] === 'file' && !$group['preprocess']) { ++ $data = file_get_contents($group['items'][0]['data']); ++ } ++ else { ++ foreach ($group['items'] as $js_asset) { ++ // Ensure license information is available as a comment after ++ // optimization. ++ if ($js_asset['license'] !== $current_license) { ++ $data .= "/* @license " . $js_asset['license']['name'] . " " . $js_asset['license']['url'] . " */\n"; ++ } ++ $current_license = $js_asset['license']; ++ // Optimize this JS file, but only if it's not yet minified. ++ if (isset($js_asset['minified']) && $js_asset['minified']) { ++ $data .= file_get_contents($js_asset['data']); ++ } ++ else { ++ $data .= $this->optimizer->optimize($js_asset); ++ } ++ // Append a ';' and a newline after each JS file to prevent them from ++ // running together. ++ $data .= ";\n"; + } +- // Append a ';' and a newline after each JS file to prevent them from +- // running together. +- $data .= ";\n"; + } ++ + // Remove unwanted JS code that causes issues. + return $this->optimizer->clean($data); + } diff --git a/composer.json b/composer.json index e7cd41a3..9242a44c 100644 --- a/composer.json +++ b/composer.json @@ -88,6 +88,7 @@ "webflo/drupal-finder": "^1.2.2" }, "require-dev": { + "davidrjonas/composer-lock-diff": "*", "drupal/coder": "^8.3", "drupal/config_filter": "^2.4", "drupal/config_inspector": "^2.1", @@ -95,7 +96,7 @@ "drupal/devel": "^5.0", "drupal/devel_php": "^1.3", "kint-php/kint": "^5.0", - "marcocesarato/php-conventional-changelog": "^1.16", + "marcocesarato/php-conventional-changelog": "*", "mglaman/drupal-check": "^1.4", "palantirnet/drupal-rector": "^0.20", "phpcompatibility/php-compatibility": "^9.3", @@ -186,7 +187,7 @@ }, "[web-root]/robots.txt": { "append": "assets/robots.txt.append" - } + } }, "locations": { "web-root": "html/" @@ -207,7 +208,7 @@ ], "post-create-project-cmd-message": [ " ", - " Congratulations, you\u2019ve installed the Drupal codebase ", + " Congratulations, you’ve installed the Drupal codebase ", " from the drupal/recommended-project template! ", " ", "", @@ -262,5 +263,6 @@ "pre-pool-create": [ "scripts\\composer\\DrupalLenientRequirement::changeVersionConstraint" ] - } -} + }, + "version": "2.1.0" +} \ No newline at end of file diff --git a/composer.lock b/composer.lock index 09a60935..bb3a8423 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": "365ce6e5ef690ff3dc7d23fb430f3908", + "content-hash": "936e01722d67138bb8591abf085a2aa5", "packages": [ { "name": "asm89/stack-cors", @@ -118,16 +118,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.319.1", + "version": "3.321.11", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "78d9f8823a5796e9188a4ddcd9ef2374e47d8b7f" + "reference": "bbd357d246350ffcd0dd8df30951d2d46c5ddadb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/78d9f8823a5796e9188a4ddcd9ef2374e47d8b7f", - "reference": "78d9f8823a5796e9188a4ddcd9ef2374e47d8b7f", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/bbd357d246350ffcd0dd8df30951d2d46c5ddadb", + "reference": "bbd357d246350ffcd0dd8df30951d2d46c5ddadb", "shasum": "" }, "require": { @@ -210,9 +210,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.319.1" + "source": "https://github.com/aws/aws-sdk-php/tree/3.321.11" }, - "time": "2024-08-08T18:05:03+00:00" + "time": "2024-09-13T18:05:10+00:00" }, { "name": "behat/mink", @@ -653,48 +653,48 @@ }, { "name": "composer/composer", - "version": "2.7.7", + "version": "2.7.9", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "291942978f39435cf904d33739f98d7d4eca7b23" + "reference": "e30ccdd665828ae66eb1be78f056e39e1d5f55ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/291942978f39435cf904d33739f98d7d4eca7b23", - "reference": "291942978f39435cf904d33739f98d7d4eca7b23", + "url": "https://api.github.com/repos/composer/composer/zipball/e30ccdd665828ae66eb1be78f056e39e1d5f55ab", + "reference": "e30ccdd665828ae66eb1be78f056e39e1d5f55ab", "shasum": "" }, "require": { - "composer/ca-bundle": "^1.0", + "composer/ca-bundle": "^1.5", "composer/class-map-generator": "^1.3.3", "composer/metadata-minifier": "^1.0", - "composer/pcre": "^2.1 || ^3.1", + "composer/pcre": "^2.2 || ^3.2", "composer/semver": "^3.3", "composer/spdx-licenses": "^1.5.7", "composer/xdebug-handler": "^2.0.2 || ^3.0.3", - "justinrainbow/json-schema": "^5.2.11", + "justinrainbow/json-schema": "^5.3", "php": "^7.2.5 || ^8.0", "psr/log": "^1.0 || ^2.0 || ^3.0", - "react/promise": "^2.8 || ^3", + "react/promise": "^3.2", "seld/jsonlint": "^1.4", "seld/phar-utils": "^1.2", "seld/signal-handler": "^2.0", - "symfony/console": "^5.4.11 || ^6.0.11 || ^7", - "symfony/filesystem": "^5.4 || ^6.0 || ^7", - "symfony/finder": "^5.4 || ^6.0 || ^7", + "symfony/console": "^5.4.35 || ^6.3.12 || ^7.0.3", + "symfony/filesystem": "^5.4.35 || ^6.3.12 || ^7.0.3", + "symfony/finder": "^5.4.35 || ^6.3.12 || ^7.0.3", "symfony/polyfill-php73": "^1.24", "symfony/polyfill-php80": "^1.24", "symfony/polyfill-php81": "^1.24", - "symfony/process": "^5.4 || ^6.0 || ^7" + "symfony/process": "^5.4.35 || ^6.3.12 || ^7.0.3" }, "require-dev": { - "phpstan/phpstan": "^1.11.0", + "phpstan/phpstan": "^1.11.8", "phpstan/phpstan-deprecation-rules": "^1.2.0", "phpstan/phpstan-phpunit": "^1.4.0", "phpstan/phpstan-strict-rules": "^1.6.0", "phpstan/phpstan-symfony": "^1.4.0", - "symfony/phpunit-bridge": "^6.4.1 || ^7.0.1" + "symfony/phpunit-bridge": "^6.4.3 || ^7.0.1" }, "suggest": { "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", @@ -747,7 +747,7 @@ "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", "security": "https://github.com/composer/composer/security/policy", - "source": "https://github.com/composer/composer/tree/2.7.7" + "source": "https://github.com/composer/composer/tree/2.7.9" }, "funding": [ { @@ -763,7 +763,7 @@ "type": "tidelift" } ], - "time": "2024-06-10T20:11:12+00:00" + "time": "2024-09-04T12:43:28+00:00" }, { "name": "composer/installers", @@ -982,26 +982,26 @@ }, { "name": "composer/pcre", - "version": "3.2.0", + "version": "3.3.1", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "ea4ab6f9580a4fd221e0418f2c357cdd39102a90" + "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/ea4ab6f9580a4fd221e0418f2c357cdd39102a90", - "reference": "ea4ab6f9580a4fd221e0418f2c357cdd39102a90", + "url": "https://api.github.com/repos/composer/pcre/zipball/63aaeac21d7e775ff9bc9d45021e1745c97521c4", + "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4", "shasum": "" }, "require": { "php": "^7.4 || ^8.0" }, "conflict": { - "phpstan/phpstan": "<1.11.8" + "phpstan/phpstan": "<1.11.10" }, "require-dev": { - "phpstan/phpstan": "^1.11.8", + "phpstan/phpstan": "^1.11.10", "phpstan/phpstan-strict-rules": "^1.1", "phpunit/phpunit": "^8 || ^9" }, @@ -1041,7 +1041,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.2.0" + "source": "https://github.com/composer/pcre/tree/3.3.1" }, "funding": [ { @@ -1057,7 +1057,7 @@ "type": "tidelift" } ], - "time": "2024-07-25T09:36:02+00:00" + "time": "2024-08-27T18:44:43+00:00" }, { "name": "composer/semver", @@ -2005,16 +2005,16 @@ }, { "name": "doctrine/annotations", - "version": "1.14.3", + "version": "1.14.4", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af" + "reference": "253dca476f70808a5aeed3a47cc2cc88c5cab915" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af", - "reference": "fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/253dca476f70808a5aeed3a47cc2cc88c5cab915", + "reference": "253dca476f70808a5aeed3a47cc2cc88c5cab915", "shasum": "" }, "require": { @@ -2025,11 +2025,11 @@ }, "require-dev": { "doctrine/cache": "^1.11 || ^2.0", - "doctrine/coding-standard": "^9 || ^10", - "phpstan/phpstan": "~1.4.10 || ^1.8.0", + "doctrine/coding-standard": "^9 || ^12", + "phpstan/phpstan": "~1.4.10 || ^1.10.28", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "symfony/cache": "^4.4 || ^5.4 || ^6", - "vimeo/psalm": "^4.10" + "symfony/cache": "^4.4 || ^5.4 || ^6.4 || ^7", + "vimeo/psalm": "^4.30 || ^5.14" }, "suggest": { "php": "PHP 8.0 or higher comes with attributes, a native replacement for annotations" @@ -2075,9 +2075,9 @@ ], "support": { "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.14.3" + "source": "https://github.com/doctrine/annotations/tree/1.14.4" }, - "time": "2023-02-01T09:20:38+00:00" + "time": "2024-09-05T10:15:52+00:00" }, { "name": "doctrine/deprecations", @@ -2489,11 +2489,11 @@ "source": { "type": "git", "url": "https://git.drupalcode.org/project/aws.git", - "reference": "5c8371feefd3ea641cca486925e3db9e628b07ba" + "reference": "8189f4bf5967349815fdac013fe6c331a956b24b" }, "require": { "aws/aws-sdk-php": "^3.54", - "drupal/core": "^9.2 || ^10" + "drupal/core": "^9.2 || ^10 || ^11" }, "type": "drupal-module", "extra": { @@ -2501,8 +2501,8 @@ "dev-2.0.x": "2.0.x-dev" }, "drupal": { - "version": "2.0.3+4-dev", - "datestamp": "1690752016", + "version": "2.0.4+1-dev", + "datestamp": "1725630062", "security-coverage": { "status": "not-covered", "message": "Dev releases are not covered by Drupal security advisories." @@ -2669,29 +2669,29 @@ }, { "name": "drupal/components", - "version": "3.0.0-beta3", + "version": "3.1.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/components.git", - "reference": "3.0.0-beta3" + "reference": "3.1.0" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/components-3.0.0-beta3.zip", - "reference": "3.0.0-beta3", - "shasum": "47ced4332f0a655ca38ae1b54e97a8e78d59f0bc" + "url": "https://ftp.drupal.org/files/projects/components-3.1.0.zip", + "reference": "3.1.0", + "shasum": "a9d9f7517f54038d0d6fa68185d80e26d2ad1d8d" }, "require": { - "drupal/core": "^9 || ^10" + "drupal/core": "^10.2 || ^11" }, "type": "drupal-module", "extra": { "drupal": { - "version": "3.0.0-beta3", - "datestamp": "1651759488", + "version": "3.1.0", + "datestamp": "1725921122", "security-coverage": { - "status": "not-covered", - "message": "Beta releases are not covered by Drupal security advisories." + "status": "covered", + "message": "Covered by Drupal's security advisory policy" } } }, @@ -2702,11 +2702,15 @@ "authors": [ { "name": "JohnAlbin", - "homepage": "https://www.drupal.org/user/32095", + "homepage": "https://www.drupal.org/user/1036766", "email": "virtually.johnalbin@gmail.com" }, { - "name": "RobLoach", + "name": "johnalbin", + "homepage": "https://www.drupal.org/user/32095" + }, + { + "name": "robloach", "homepage": "https://www.drupal.org/user/61114" } ], @@ -2796,16 +2800,16 @@ }, { "name": "drupal/core", - "version": "10.3.2", + "version": "10.3.5", "source": { "type": "git", "url": "https://github.com/drupal/core.git", - "reference": "10e79c67a903844bef02a5cf10475d9a8b623e7a" + "reference": "831a269a4d99957638977ec325c3346f896d9f08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core/zipball/10e79c67a903844bef02a5cf10475d9a8b623e7a", - "reference": "10e79c67a903844bef02a5cf10475d9a8b623e7a", + "url": "https://api.github.com/repos/drupal/core/zipball/831a269a4d99957638977ec325c3346f896d9f08", + "reference": "831a269a4d99957638977ec325c3346f896d9f08", "shasum": "" }, "require": { @@ -2851,7 +2855,7 @@ "symfony/serializer": "^6.4", "symfony/validator": "^6.4", "symfony/yaml": "^6.4", - "twig/twig": "^3.9.3" + "twig/twig": "^3.14.0" }, "conflict": { "drush/drush": "<12.4.3" @@ -2954,22 +2958,22 @@ ], "description": "Drupal is an open source content management platform powering millions of websites and applications.", "support": { - "source": "https://github.com/drupal/core/tree/10.3.2" + "source": "https://github.com/drupal/core/tree/10.3.5" }, - "time": "2024-08-08T09:23:57+00:00" + "time": "2024-09-12T09:45:37+00:00" }, { "name": "drupal/core-composer-scaffold", - "version": "10.3.2", + "version": "10.3.5", "source": { "type": "git", "url": "https://github.com/drupal/core-composer-scaffold.git", - "reference": "a1a186caeb89899143e0c6912ccee9d3d7181dbe" + "reference": "f58ab5c0d02d275c5aa226c4505b457e41b161cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/a1a186caeb89899143e0c6912ccee9d3d7181dbe", - "reference": "a1a186caeb89899143e0c6912ccee9d3d7181dbe", + "url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/f58ab5c0d02d275c5aa226c4505b457e41b161cc", + "reference": "f58ab5c0d02d275c5aa226c4505b457e41b161cc", "shasum": "" }, "require": { @@ -3004,13 +3008,13 @@ "drupal" ], "support": { - "source": "https://github.com/drupal/core-composer-scaffold/tree/10.3.2" + "source": "https://github.com/drupal/core-composer-scaffold/tree/10.3.5" }, - "time": "2024-05-11T08:21:39+00:00" + "time": "2024-08-22T14:31:34+00:00" }, { "name": "drupal/core-dev", - "version": "10.3.2", + "version": "10.3.5", "source": { "type": "git", "url": "https://github.com/drupal/core-dev.git", @@ -3060,22 +3064,22 @@ ], "description": "require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.", "support": { - "source": "https://github.com/drupal/core-dev/tree/10.3.2" + "source": "https://github.com/drupal/core-dev/tree/10.3.5" }, "time": "2024-07-04T10:19:29+00:00" }, { "name": "drupal/core-recommended", - "version": "10.3.2", + "version": "10.3.5", "source": { "type": "git", "url": "https://github.com/drupal/core-recommended.git", - "reference": "18b7288d2e661afadfff4a714c5a166bf2554124" + "reference": "055a27d032e1fdcbac90976a14bdd152b368d761" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core-recommended/zipball/18b7288d2e661afadfff4a714c5a166bf2554124", - "reference": "18b7288d2e661afadfff4a714c5a166bf2554124", + "url": "https://api.github.com/repos/drupal/core-recommended/zipball/055a27d032e1fdcbac90976a14bdd152b368d761", + "reference": "055a27d032e1fdcbac90976a14bdd152b368d761", "shasum": "" }, "require": { @@ -3084,7 +3088,7 @@ "doctrine/annotations": "~1.14.3", "doctrine/deprecations": "~1.1.3", "doctrine/lexer": "~2.1.1", - "drupal/core": "10.3.2", + "drupal/core": "10.3.5", "egulias/email-validator": "~4.0.2", "guzzlehttp/guzzle": "~7.8.1", "guzzlehttp/promises": "~2.0.2", @@ -3133,7 +3137,7 @@ "symfony/var-dumper": "~v6.4.7", "symfony/var-exporter": "~v6.4.7", "symfony/yaml": "~v6.4.7", - "twig/twig": "~v3.10.2" + "twig/twig": "~v3.14.0" }, "conflict": { "webflo/drupal-core-strict": "*" @@ -3145,9 +3149,9 @@ ], "description": "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.", "support": { - "source": "https://github.com/drupal/core-recommended/tree/10.3.2" + "source": "https://github.com/drupal/core-recommended/tree/10.3.5" }, - "time": "2024-08-08T09:23:57+00:00" + "time": "2024-09-12T09:45:37+00:00" }, { "name": "drupal/csp", @@ -3349,30 +3353,30 @@ }, { "name": "drupal/default_content", - "version": "2.0.0-alpha2", + "version": "2.0.0-alpha3", "source": { "type": "git", "url": "https://git.drupalcode.org/project/default_content.git", - "reference": "2.0.0-alpha2" + "reference": "2.0.0-alpha3" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/default_content-2.0.0-alpha2.zip", - "reference": "2.0.0-alpha2", - "shasum": "5c365ea21b0be63dc00ec2db50179291d6fb3d89" + "url": "https://ftp.drupal.org/files/projects/default_content-2.0.0-alpha3.zip", + "reference": "2.0.0-alpha3", + "shasum": "fdd90c70bd91896835f6ba5ec42c260c1a144a2b" }, "require": { - "drupal/core": "^9.1 || ^10" + "drupal/core": "^9.1 || ^10 || ^11" }, "require-dev": { - "drupal/hal": " ^9 || ^1 || ^2", + "drupal/hal": "^1 || ^2", "drupal/paragraphs": "^1" }, "type": "drupal-module", "extra": { "drupal": { - "version": "2.0.0-alpha2", - "datestamp": "1659466706", + "version": "2.0.0-alpha3", + "datestamp": "1724492420", "security-coverage": { "status": "not-covered", "message": "Alpha releases are not covered by Drupal security advisories." @@ -3380,7 +3384,7 @@ }, "drush": { "services": { - "drush.services.yml": "^9 || ^10 || ^11" + "drush.services.yml": "^9 || ^10 || ^11 || ^12" } } }, @@ -3398,7 +3402,7 @@ "homepage": "https://www.drupal.org/user/1852732" }, { - "name": "Berdir", + "name": "berdir", "homepage": "https://www.drupal.org/user/214652" }, { @@ -3414,7 +3418,7 @@ "homepage": "https://www.drupal.org/user/395439" }, { - "name": "Sam152", + "name": "sam152", "homepage": "https://www.drupal.org/user/1485048" } ], @@ -3476,20 +3480,20 @@ }, { "name": "drupal/entity_browser", - "version": "2.10.0", + "version": "2.11.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/entity_browser.git", - "reference": "8.x-2.10" + "reference": "8.x-2.11" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/entity_browser-8.x-2.10.zip", - "reference": "8.x-2.10", - "shasum": "d52548ea66dc56108c2e211aeaff6e1cc0522e85" + "url": "https://ftp.drupal.org/files/projects/entity_browser-8.x-2.11.zip", + "reference": "8.x-2.11", + "shasum": "4ead3d3f9f6365fbc25cfbd0edcc5e0a9cc52e02" }, "require": { - "drupal/core": "^9.5 || ^10" + "drupal/core": "^10.2 || ^11" }, "conflict": { "drupal/media_entity": "1.*" @@ -3502,13 +3506,14 @@ "drupal/entityqueue": "^1.0", "drupal/inline_entity_form": "^1.0@rc", "drupal/paragraphs": "^1.0", + "drupal/search_api": "^1.0", "drupal/token": "^1.0" }, "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-2.10", - "datestamp": "1702325310", + "version": "8.x-2.11", + "datestamp": "1723378138", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -3634,20 +3639,20 @@ }, { "name": "drupal/entity_usage", - "version": "2.0.0-beta13", + "version": "2.0.0-beta14", "source": { "type": "git", "url": "https://git.drupalcode.org/project/entity_usage.git", - "reference": "8.x-2.0-beta13" + "reference": "8.x-2.0-beta14" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/entity_usage-8.x-2.0-beta13.zip", - "reference": "8.x-2.0-beta13", - "shasum": "3b07a629ed6c94ee23656556b0d1a1c7ba58a77f" + "url": "https://ftp.drupal.org/files/projects/entity_usage-8.x-2.0-beta14.zip", + "reference": "8.x-2.0-beta14", + "shasum": "68124ea440273a8f4e40bc7d07421c8a230c287b" }, "require": { - "drupal/core": "^10.1 || ^11" + "drupal/core": "^10.2 || ^11" }, "require-dev": { "drupal/block_field": "~1.0", @@ -3664,8 +3669,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-2.0-beta13", - "datestamp": "1721834455", + "version": "8.x-2.0-beta14", + "datestamp": "1724498300", "security-coverage": { "status": "not-covered", "message": "Beta releases are not covered by Drupal security advisories." @@ -3869,17 +3874,17 @@ }, { "name": "drupal/geofield", - "version": "1.60.0", + "version": "1.61.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/geofield.git", - "reference": "8.x-1.60" + "reference": "8.x-1.61" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/geofield-8.x-1.60.zip", - "reference": "8.x-1.60", - "shasum": "ffb1891148b343208e7a190c8cc606a339c74ee1" + "url": "https://ftp.drupal.org/files/projects/geofield-8.x-1.61.zip", + "reference": "8.x-1.61", + "shasum": "b204f101ee536597b9c293f66f75102d6ea2d268" }, "require": { "drupal/core": "^9 || ^10 || ^11", @@ -3892,8 +3897,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.60", - "datestamp": "1722078200", + "version": "8.x-1.61", + "datestamp": "1725441883", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -4003,29 +4008,29 @@ }, { "name": "drupal/honeypot", - "version": "2.1.3", + "version": "2.2.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/honeypot.git", - "reference": "2.1.3" + "reference": "2.2.0" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/honeypot-2.1.3.zip", - "reference": "2.1.3", - "shasum": "101105029a10a574ef6017824182500ab9905856" + "url": "https://ftp.drupal.org/files/projects/honeypot-2.2.0.zip", + "reference": "2.2.0", + "shasum": "56397c3779ebac1526cce9ecd39385017ee9a837" }, "require": { - "drupal/core": "^9.2 || ^10" + "drupal/core": "^10.3 || ^11" }, "require-dev": { - "drupal/rules": "^3.0" + "drupal/rules": "^4.0" }, "type": "drupal-module", "extra": { "drupal": { - "version": "2.1.3", - "datestamp": "1695604754", + "version": "2.2.0", + "datestamp": "1723761042", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -4047,7 +4052,7 @@ "homepage": "https://www.drupal.org/user/213194" }, { - "name": "TR", + "name": "tr", "homepage": "https://www.drupal.org/user/202830" }, { @@ -4347,7 +4352,7 @@ ], "authors": [ { - "name": "Cellar Door", + "name": "cellar door", "homepage": "https://www.drupal.org/user/658076" }, { @@ -4375,20 +4380,20 @@ }, { "name": "drupal/layout_paragraphs", - "version": "2.0.8", + "version": "2.1.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/layout_paragraphs.git", - "reference": "2.0.8" + "reference": "2.1.0" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/layout_paragraphs-2.0.8.zip", - "reference": "2.0.8", - "shasum": "a47e8cb60657c5aad1ad0b267d0c621c7e01a31c" + "url": "https://ftp.drupal.org/files/projects/layout_paragraphs-2.1.0.zip", + "reference": "2.1.0", + "shasum": "499d68d48f1a92d6620f9d3fd781122a95ed92bc" }, "require": { - "drupal/core": "^9.2 || ^10 || ^11", + "drupal/core": "^10 || ^11", "drupal/paragraphs": "^1.6" }, "require-dev": { @@ -4399,8 +4404,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "2.0.8", - "datestamp": "1722385148", + "version": "2.1.0", + "datestamp": "1724879054", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -4496,26 +4501,26 @@ }, { "name": "drupal/mailsystem", - "version": "4.4.0", + "version": "4.5.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/mailsystem.git", - "reference": "8.x-4.4" + "reference": "8.x-4.5" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/mailsystem-8.x-4.4.zip", - "reference": "8.x-4.4", - "shasum": "49b2e9efd090cdb4a282c7638b1c76d6723c47b6" + "url": "https://ftp.drupal.org/files/projects/mailsystem-8.x-4.5.zip", + "reference": "8.x-4.5", + "shasum": "e52a814a87b343ab69f8d8ef462a9873c1d01158" }, "require": { - "drupal/core": "^9 || ^10" + "drupal/core": "^9 || ^10.1 || ^11" }, "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-4.4", - "datestamp": "1657576306", + "version": "8.x-4.5", + "datestamp": "1723379369", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -4528,7 +4533,7 @@ ], "authors": [ { - "name": "Berdir", + "name": "berdir", "homepage": "https://www.drupal.org/user/214652" }, { @@ -4680,17 +4685,17 @@ }, { "name": "drupal/memcache", - "version": "2.6.0", + "version": "2.7.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/memcache.git", - "reference": "8.x-2.6" + "reference": "8.x-2.7" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/memcache-8.x-2.6.zip", - "reference": "8.x-2.6", - "shasum": "c58d66e426134c082490dca25b057c6ae0ea3d2a" + "url": "https://ftp.drupal.org/files/projects/memcache-8.x-2.7.zip", + "reference": "8.x-2.7", + "shasum": "d16c7641eb1367606c55e1657b5fa8ae07c59ecf" }, "require": { "drupal/core": "^9.5 || ^10 || ^11" @@ -4698,8 +4703,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-2.6", - "datestamp": "1720732159", + "version": "8.x-2.7", + "datestamp": "1723657818", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -4872,7 +4877,7 @@ "role": "Developer" }, { - "name": "Dave Reid", + "name": "dave reid", "homepage": "https://www.drupal.org/user/53892" } ], @@ -4958,26 +4963,26 @@ }, { "name": "drupal/oembed_providers", - "version": "2.1.2", + "version": "2.2.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/oembed_providers.git", - "reference": "2.1.2" + "reference": "2.2.0" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/oembed_providers-2.1.2.zip", - "reference": "2.1.2", - "shasum": "ad125c7e55555499f001755c365f96edce1d6343" + "url": "https://ftp.drupal.org/files/projects/oembed_providers-2.2.0.zip", + "reference": "2.2.0", + "shasum": "318bafadd5e9b74a593f08e252dc5ea6dec98cd2" }, "require": { - "drupal/core": "^9.0|^10.0" + "drupal/core": "^10|^11" }, "type": "drupal-module", "extra": { "drupal": { - "version": "2.1.2", - "datestamp": "1692724351", + "version": "2.2.0", + "datestamp": "1723853165", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -5119,6 +5124,10 @@ "name": "ajayNimbolkar", "homepage": "https://www.drupal.org/user/2876727" }, + { + "name": "batigolix", + "homepage": "https://www.drupal.org/user/22175" + }, { "name": "fabianderijk", "homepage": "https://www.drupal.org/user/278745" @@ -5393,26 +5402,26 @@ }, { "name": "drupal/redirect", - "version": "1.9.0", + "version": "1.10.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/redirect.git", - "reference": "8.x-1.9" + "reference": "8.x-1.10" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/redirect-8.x-1.9.zip", - "reference": "8.x-1.9", - "shasum": "2987de20f509e9f7cec8a0f81d3a6774f9b0ba3e" + "url": "https://ftp.drupal.org/files/projects/redirect-8.x-1.10.zip", + "reference": "8.x-1.10", + "shasum": "9d72d7e0717dbdea3ab3306c5d6840da5bd3024c" }, "require": { - "drupal/core": "^9.2 || ^10" + "drupal/core": "^9.2 || ^10 || ^11" }, "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.9", - "datestamp": "1693393506", + "version": "8.x-1.10", + "datestamp": "1723277641", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -5429,7 +5438,7 @@ "homepage": "https://www.drupal.org/user/214652" }, { - "name": "Dave Reid", + "name": "dave reid", "homepage": "https://www.drupal.org/user/53892" }, { @@ -5569,26 +5578,26 @@ }, { "name": "drupal/seckit", - "version": "2.0.1", + "version": "2.0.3", "source": { "type": "git", "url": "https://git.drupalcode.org/project/seckit.git", - "reference": "2.0.1" + "reference": "2.0.3" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/seckit-2.0.1.zip", - "reference": "2.0.1", - "shasum": "2eee3b9719bdd5951c2b78f419c86f4765010439" + "url": "https://ftp.drupal.org/files/projects/seckit-2.0.3.zip", + "reference": "2.0.3", + "shasum": "34d38f2daaf99781ef6b7e7fbe2eeabc73a7ca16" }, "require": { - "drupal/core": "^9.3 || ^10" + "drupal/core": "^9.5 || ^10 || ^11" }, "type": "drupal-module", "extra": { "drupal": { - "version": "2.0.1", - "datestamp": "1671195208", + "version": "2.0.3", + "datestamp": "1726075930", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -5597,7 +5606,7 @@ }, "notification-url": "https://packages.drupal.org/8/downloads", "license": [ - "GPL-2.0+" + "GPL-2.0-or-later" ], "authors": [ { @@ -5624,7 +5633,7 @@ "security" ], "support": { - "source": "http://cgit.drupalcode.org/seckit", + "source": "https://git.drupalcode.org/project/seckit", "issues": "http://drupal.org/project/issues/seckit" } }, @@ -5710,7 +5719,7 @@ ], "authors": [ { - "name": "Ewout Goosmann", + "name": "ewout goosmann", "homepage": "https://www.drupal.org/user/3138239" } ], @@ -6031,17 +6040,17 @@ }, { "name": "drupal/stage_file_proxy", - "version": "3.1.0", + "version": "3.1.2", "source": { "type": "git", "url": "https://git.drupalcode.org/project/stage_file_proxy.git", - "reference": "3.1.0" + "reference": "3.1.2" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/stage_file_proxy-3.1.0.zip", - "reference": "3.1.0", - "shasum": "e2684977e612555fcd10ebeabfba0f63e4a2424d" + "url": "https://ftp.drupal.org/files/projects/stage_file_proxy-3.1.2.zip", + "reference": "3.1.2", + "shasum": "1aba8488efc193db71a991e8f8f76825af219079" }, "require": { "drupal/core": "^10.3 || ^11", @@ -6057,8 +6066,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "3.1.0", - "datestamp": "1721592834", + "version": "3.1.2", + "datestamp": "1724012934", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -6243,20 +6252,20 @@ }, { "name": "drupal/user_expire", - "version": "1.2.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/user_expire.git", - "reference": "8.x-1.2" + "reference": "8.x-1.3" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/user_expire-8.x-1.2.zip", - "reference": "8.x-1.2", - "shasum": "0abbcabf84426b9c7e7a18c87b155e10a040e8a2" + "url": "https://ftp.drupal.org/files/projects/user_expire-8.x-1.3.zip", + "reference": "8.x-1.3", + "shasum": "58f6225567a854a3d7f7b5eaa7c15bf37873cb49" }, "require": { - "drupal/core": "^9 || ^10 || ^11" + "drupal/core": "^9 || ^10" }, "require-dev": { "drupal/rules": "^3.0@alpha" @@ -6264,8 +6273,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.2", - "datestamp": "1721765636", + "version": "8.x-1.3", + "datestamp": "1725558574", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -6301,26 +6310,26 @@ }, { "name": "drupal/username_enumeration_prevention", - "version": "1.3.0", + "version": "1.4.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/username_enumeration_prevention.git", - "reference": "8.x-1.3" + "reference": "8.x-1.4" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/username_enumeration_prevention-8.x-1.3.zip", - "reference": "8.x-1.3", - "shasum": "fa3f1f57a9d5ad77943c484ff7e1e40f5cd73df7" + "url": "https://ftp.drupal.org/files/projects/username_enumeration_prevention-8.x-1.4.zip", + "reference": "8.x-1.4", + "shasum": "29fab36a86de64694b3074d42ac948547459aea6" }, "require": { - "drupal/core": "^8 || ^9 || ^10" + "drupal/core": "^9.5 || ^10 || ^11" }, "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.3", - "datestamp": "1670892402", + "version": "8.x-1.4", + "datestamp": "1725566327", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -6332,6 +6341,10 @@ "GPL-2.0-or-later" ], "authors": [ + { + "name": "japerry", + "homepage": "https://www.drupal.org/user/45640" + }, { "name": "nicksanta", "homepage": "https://www.drupal.org/user/87915" @@ -6393,20 +6406,20 @@ }, { "name": "drupal/viewsreference", - "version": "2.0.0-beta9", + "version": "2.0.0-beta10", "source": { "type": "git", "url": "https://git.drupalcode.org/project/viewsreference.git", - "reference": "8.x-2.0-beta9" + "reference": "8.x-2.0-beta10" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/viewsreference-8.x-2.0-beta9.zip", - "reference": "8.x-2.0-beta9", - "shasum": "3ccf5039a67a66a5530b12894b14c9391b01550f" + "url": "https://ftp.drupal.org/files/projects/viewsreference-8.x-2.0-beta10.zip", + "reference": "8.x-2.0-beta10", + "shasum": "699c3f790d3dbe6ebcd890916409c66562a04eb4" }, "require": { - "drupal/core": "^9.3 || ^10 || ^11" + "drupal/core": "^10 || ^11" }, "conflict": { "drupal/viewsreferennce": "*" @@ -6417,8 +6430,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-2.0-beta9", - "datestamp": "1722575139", + "version": "8.x-2.0-beta10", + "datestamp": "1725510905", "security-coverage": { "status": "not-covered", "message": "Beta releases are not covered by Drupal security advisories." @@ -8160,23 +8173,24 @@ }, { "name": "mikey179/vfsstream", - "version": "v1.6.11", + "version": "v1.6.12", "source": { "type": "git", "url": "https://github.com/bovigo/vfsStream.git", - "reference": "17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f" + "reference": "fe695ec993e0a55c3abdda10a9364eb31c6f1bf0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bovigo/vfsStream/zipball/17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f", - "reference": "17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f", + "url": "https://api.github.com/repos/bovigo/vfsStream/zipball/fe695ec993e0a55c3abdda10a9364eb31c6f1bf0", + "reference": "fe695ec993e0a55c3abdda10a9364eb31c6f1bf0", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=7.1.0" }, "require-dev": { - "phpunit/phpunit": "^4.5|^5.0" + "phpunit/phpunit": "^7.5||^8.5||^9.6", + "yoast/phpunit-polyfills": "^2.0" }, "type": "library", "extra": { @@ -8207,20 +8221,20 @@ "source": "https://github.com/bovigo/vfsStream/tree/master", "wiki": "https://github.com/bovigo/vfsStream/wiki" }, - "time": "2022-02-23T02:02:42+00:00" + "time": "2024-08-29T18:43:31+00:00" }, { "name": "mtdowling/jmespath.php", - "version": "2.7.0", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/jmespath/jmespath.php.git", - "reference": "bbb69a935c2cbb0c03d7f481a238027430f6440b" + "reference": "a2a865e05d5f420b50cc2f85bb78d565db12a6bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/bbb69a935c2cbb0c03d7f481a238027430f6440b", - "reference": "bbb69a935c2cbb0c03d7f481a238027430f6440b", + "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/a2a865e05d5f420b50cc2f85bb78d565db12a6bc", + "reference": "a2a865e05d5f420b50cc2f85bb78d565db12a6bc", "shasum": "" }, "require": { @@ -8237,7 +8251,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "2.8-dev" } }, "autoload": { @@ -8271,9 +8285,9 @@ ], "support": { "issues": "https://github.com/jmespath/jmespath.php/issues", - "source": "https://github.com/jmespath/jmespath.php/tree/2.7.0" + "source": "https://github.com/jmespath/jmespath.php/tree/2.8.0" }, - "time": "2023-08-25T10:54:48+00:00" + "time": "2024-09-04T18:46:31+00:00" }, { "name": "myclabs/deep-copy", @@ -8337,16 +8351,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.1.0", + "version": "v5.2.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1" + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/683130c2ff8c2739f4822ff7ac5c873ec529abd1", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", "shasum": "" }, "require": { @@ -8389,9 +8403,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.1.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.2.0" }, - "time": "2024-07-01T20:03:41+00:00" + "time": "2024-09-15T16:40:33+00:00" }, { "name": "onelogin/php-saml", @@ -8708,21 +8722,21 @@ }, { "name": "open-telemetry/gen-otlp-protobuf", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/gen-otlp-protobuf.git", - "reference": "76e2a44357f8c3fdcabcb070ec8a59e52ae3e3c3" + "reference": "3aa87bc4d0279ebb53c2917a79f26602625c488e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/gen-otlp-protobuf/zipball/76e2a44357f8c3fdcabcb070ec8a59e52ae3e3c3", - "reference": "76e2a44357f8c3fdcabcb070ec8a59e52ae3e3c3", + "url": "https://api.github.com/repos/opentelemetry-php/gen-otlp-protobuf/zipball/3aa87bc4d0279ebb53c2917a79f26602625c488e", + "reference": "3aa87bc4d0279ebb53c2917a79f26602625c488e", "shasum": "" }, "require": { "google/protobuf": "^3.3.0", - "php": "^7.4 || ^8.0" + "php": "^8.0" }, "suggest": { "ext-protobuf": "For better performance, when dealing with the protobuf format" @@ -8767,7 +8781,7 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2024-01-16T21:54:57+00:00" + "time": "2024-04-30T18:28:30+00:00" }, { "name": "open-telemetry/sdk", @@ -8854,16 +8868,16 @@ }, { "name": "open-telemetry/sem-conv", - "version": "1.25.0", + "version": "1.27.1", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/sem-conv.git", - "reference": "23f457ba390847647a17068e0095d9ffe9a4824c" + "reference": "1dba705fea74bc0718d04be26090e3697e56f4e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/23f457ba390847647a17068e0095d9ffe9a4824c", - "reference": "23f457ba390847647a17068e0095d9ffe9a4824c", + "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/1dba705fea74bc0718d04be26090e3697e56f4e6", + "reference": "1dba705fea74bc0718d04be26090e3697e56f4e6", "shasum": "" }, "require": { @@ -8907,7 +8921,7 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2024-04-09T23:31:35+00:00" + "time": "2024-08-28T09:20:31+00:00" }, { "name": "orakili/composer-drupal-info-file-patch-helper", @@ -10053,22 +10067,22 @@ }, { "name": "phpstan/extension-installer", - "version": "1.4.1", + "version": "1.4.3", "source": { "type": "git", "url": "https://github.com/phpstan/extension-installer.git", - "reference": "f6b87faf9fc7978eab2f7919a8760bc9f58f9203" + "reference": "85e90b3942d06b2326fba0403ec24fe912372936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/f6b87faf9fc7978eab2f7919a8760bc9f58f9203", - "reference": "f6b87faf9fc7978eab2f7919a8760bc9f58f9203", + "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/85e90b3942d06b2326fba0403ec24fe912372936", + "reference": "85e90b3942d06b2326fba0403ec24fe912372936", "shasum": "" }, "require": { "composer-plugin-api": "^2.0", "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.9.0" + "phpstan/phpstan": "^1.9.0 || ^2.0" }, "require-dev": { "composer/composer": "^2.0", @@ -10089,24 +10103,28 @@ "MIT" ], "description": "Composer plugin for automatic installation of PHPStan extensions", + "keywords": [ + "dev", + "static analysis" + ], "support": { "issues": "https://github.com/phpstan/extension-installer/issues", - "source": "https://github.com/phpstan/extension-installer/tree/1.4.1" + "source": "https://github.com/phpstan/extension-installer/tree/1.4.3" }, - "time": "2024-06-10T08:20:49+00:00" + "time": "2024-09-04T20:21:43+00:00" }, { "name": "phpstan/phpdoc-parser", - "version": "1.29.1", + "version": "1.30.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "fcaefacf2d5c417e928405b71b400d4ce10daaf4" + "reference": "51b95ec8670af41009e2b2b56873bad96682413e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fcaefacf2d5c417e928405b71b400d4ce10daaf4", - "reference": "fcaefacf2d5c417e928405b71b400d4ce10daaf4", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/51b95ec8670af41009e2b2b56873bad96682413e", + "reference": "51b95ec8670af41009e2b2b56873bad96682413e", "shasum": "" }, "require": { @@ -10138,22 +10156,22 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.29.1" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.30.1" }, - "time": "2024-05-31T08:52:43+00:00" + "time": "2024-09-07T20:13:05+00:00" }, { "name": "phpstan/phpstan", - "version": "1.11.10", + "version": "1.12.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "640410b32995914bde3eed26fa89552f9c2c082f" + "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/640410b32995914bde3eed26fa89552f9c2c082f", - "reference": "640410b32995914bde3eed26fa89552f9c2c082f", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0fcbf194ab63d8159bb70d9aa3e1350051632009", + "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009", "shasum": "" }, "require": { @@ -10198,25 +10216,25 @@ "type": "github" } ], - "time": "2024-08-08T09:02:50+00:00" + "time": "2024-09-09T08:10:35+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", - "reference": "fa8cce7720fa782899a0aa97b6a41225d1bb7b26" + "reference": "f94d246cc143ec5a23da868f8f7e1393b50eaa82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/fa8cce7720fa782899a0aa97b6a41225d1bb7b26", - "reference": "fa8cce7720fa782899a0aa97b6a41225d1bb7b26", + "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/f94d246cc143ec5a23da868f8f7e1393b50eaa82", + "reference": "f94d246cc143ec5a23da868f8f7e1393b50eaa82", "shasum": "" }, "require": { "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.11" + "phpstan/phpstan": "^1.12" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", @@ -10243,9 +10261,9 @@ "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", "support": { "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", - "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.2.0" + "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.2.1" }, - "time": "2024-04-20T06:39:48+00:00" + "time": "2024-09-11T15:52:35+00:00" }, { "name": "phpstan/phpstan-phpunit", @@ -10301,35 +10319,35 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.31", + "version": "9.2.32", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965" + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/48c34b5d8d983006bd2adc2d0de92963b9155965", - "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/85402a822d1ecf1db1096959413d35e1c37cf1a5", + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.18 || ^5.0", + "nikic/php-parser": "^4.19.1 || ^5.1.0", "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" + "phpunit/php-file-iterator": "^3.0.6", + "phpunit/php-text-template": "^2.0.4", + "sebastian/code-unit-reverse-lookup": "^2.0.3", + "sebastian/complexity": "^2.0.3", + "sebastian/environment": "^5.1.5", + "sebastian/lines-of-code": "^1.0.4", + "sebastian/version": "^3.0.2", + "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.6" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -10338,7 +10356,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.2-dev" + "dev-main": "9.2.x-dev" } }, "autoload": { @@ -10367,7 +10385,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.31" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.32" }, "funding": [ { @@ -10375,7 +10393,7 @@ "type": "github" } ], - "time": "2024-03-02T06:37:42+00:00" + "time": "2024-08-22T04:23:01+00:00" }, { "name": "phpunit/php-file-iterator", @@ -11083,16 +11101,16 @@ }, { "name": "psr/log", - "version": "3.0.0", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", "shasum": "" }, "require": { @@ -11127,9 +11145,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.0" + "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "time": "2021-07-14T16:46:02+00:00" + "time": "2024-09-11T13:17:53+00:00" }, { "name": "psy/psysh", @@ -12778,16 +12796,16 @@ }, { "name": "symfony/console", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "504974cbe43d05f83b201d6498c206f16fc0cdbc" + "reference": "42686880adaacdad1835ee8fc2a9ec5b7bd63998" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/504974cbe43d05f83b201d6498c206f16fc0cdbc", - "reference": "504974cbe43d05f83b201d6498c206f16fc0cdbc", + "url": "https://api.github.com/repos/symfony/console/zipball/42686880adaacdad1835ee8fc2a9ec5b7bd63998", + "reference": "42686880adaacdad1835ee8fc2a9ec5b7bd63998", "shasum": "" }, "require": { @@ -12852,7 +12870,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.10" + "source": "https://github.com/symfony/console/tree/v6.4.11" }, "funding": [ { @@ -12868,7 +12886,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:30:32+00:00" + "time": "2024-08-15T22:48:29+00:00" }, { "name": "symfony/css-selector", @@ -12937,16 +12955,16 @@ }, { "name": "symfony/dependency-injection", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "5caf9c5f6085f13b27d70a236b776c07e4a1c3eb" + "reference": "e93c8368dc9915c2fe12018ff22fcbbdd32c9a9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/5caf9c5f6085f13b27d70a236b776c07e4a1c3eb", - "reference": "5caf9c5f6085f13b27d70a236b776c07e4a1c3eb", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/e93c8368dc9915c2fe12018ff22fcbbdd32c9a9e", + "reference": "e93c8368dc9915c2fe12018ff22fcbbdd32c9a9e", "shasum": "" }, "require": { @@ -12998,7 +13016,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v6.4.10" + "source": "https://github.com/symfony/dependency-injection/tree/v6.4.11" }, "funding": [ { @@ -13014,7 +13032,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T07:32:07+00:00" + "time": "2024-08-29T08:15:38+00:00" }, { "name": "symfony/deprecation-contracts", @@ -13449,16 +13467,16 @@ }, { "name": "symfony/finder", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "af29198d87112bebdd397bd7735fbd115997824c" + "reference": "d7eb6daf8cd7e9ac4976e9576b32042ef7253453" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/af29198d87112bebdd397bd7735fbd115997824c", - "reference": "af29198d87112bebdd397bd7735fbd115997824c", + "url": "https://api.github.com/repos/symfony/finder/zipball/d7eb6daf8cd7e9ac4976e9576b32042ef7253453", + "reference": "d7eb6daf8cd7e9ac4976e9576b32042ef7253453", "shasum": "" }, "require": { @@ -13493,7 +13511,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.4.10" + "source": "https://github.com/symfony/finder/tree/v6.4.11" }, "funding": [ { @@ -13509,7 +13527,7 @@ "type": "tidelift" } ], - "time": "2024-07-24T07:06:38+00:00" + "time": "2024-08-13T14:27:37+00:00" }, { "name": "symfony/http-foundation", @@ -13590,16 +13608,16 @@ }, { "name": "symfony/http-kernel", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "147e0daf618d7575b5007055340d09aece5cf068" + "reference": "1ba6b89d781cb47448155cc70dd2e0f1b0584c79" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/147e0daf618d7575b5007055340d09aece5cf068", - "reference": "147e0daf618d7575b5007055340d09aece5cf068", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1ba6b89d781cb47448155cc70dd2e0f1b0584c79", + "reference": "1ba6b89d781cb47448155cc70dd2e0f1b0584c79", "shasum": "" }, "require": { @@ -13684,7 +13702,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.4.10" + "source": "https://github.com/symfony/http-kernel/tree/v6.4.11" }, "funding": [ { @@ -13700,7 +13718,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T14:52:04+00:00" + "time": "2024-08-30T16:57:20+00:00" }, { "name": "symfony/intl", @@ -13946,16 +13964,16 @@ }, { "name": "symfony/mime", - "version": "v6.4.9", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "7d048964877324debdcb4e0549becfa064a20d43" + "reference": "dba5d5f6073baf7a3576b580cc4a208b4ca00553" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/7d048964877324debdcb4e0549becfa064a20d43", - "reference": "7d048964877324debdcb4e0549becfa064a20d43", + "url": "https://api.github.com/repos/symfony/mime/zipball/dba5d5f6073baf7a3576b580cc4a208b4ca00553", + "reference": "dba5d5f6073baf7a3576b580cc4a208b4ca00553", "shasum": "" }, "require": { @@ -14011,7 +14029,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.4.9" + "source": "https://github.com/symfony/mime/tree/v6.4.11" }, "funding": [ { @@ -14027,20 +14045,20 @@ "type": "tidelift" } ], - "time": "2024-06-28T09:49:33+00:00" + "time": "2024-08-13T12:15:02+00:00" }, { "name": "symfony/phpunit-bridge", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/phpunit-bridge.git", - "reference": "ad510515b11ba5291fdd59b25d70227bfac2d7ab" + "reference": "168f412dcd6caf3813a9cc0f286cd68f6a76f070" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/ad510515b11ba5291fdd59b25d70227bfac2d7ab", - "reference": "ad510515b11ba5291fdd59b25d70227bfac2d7ab", + "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/168f412dcd6caf3813a9cc0f286cd68f6a76f070", + "reference": "168f412dcd6caf3813a9cc0f286cd68f6a76f070", "shasum": "" }, "require": { @@ -14093,7 +14111,7 @@ "description": "Provides utilities for PHPUnit, especially user deprecation notices management", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/phpunit-bridge/tree/v6.4.10" + "source": "https://github.com/symfony/phpunit-bridge/tree/v6.4.11" }, "funding": [ { @@ -14109,7 +14127,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:30:32+00:00" + "time": "2024-08-13T14:27:37+00:00" }, { "name": "symfony/polyfill-ctype", @@ -14595,36 +14613,28 @@ }, { "name": "symfony/polyfill-php72", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "10112722600777e02d2745716b70c5db4ca70442" + "reference": "fa2ae56c44f03bed91a39bfc9822e31e7c5c38ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/10112722600777e02d2745716b70c5db4ca70442", - "reference": "10112722600777e02d2745716b70c5db4ca70442", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/fa2ae56c44f03bed91a39bfc9822e31e7c5c38ce", + "reference": "fa2ae56c44f03bed91a39bfc9822e31e7c5c38ce", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, - "type": "library", + "type": "metapackage", "extra": { "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" } }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" - } - }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" @@ -14648,7 +14658,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php72/tree/v1.31.0" }, "funding": [ { @@ -14664,24 +14674,24 @@ "type": "tidelift" } ], - "time": "2024-06-19T12:30:46+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "ec444d3f3f6505bb28d11afa41e75faadebc10a1" + "reference": "0f68c03565dcaaf25a890667542e8bd75fe7e5bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/ec444d3f3f6505bb28d11afa41e75faadebc10a1", - "reference": "ec444d3f3f6505bb28d11afa41e75faadebc10a1", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/0f68c03565dcaaf25a890667542e8bd75fe7e5bb", + "reference": "0f68c03565dcaaf25a890667542e8bd75fe7e5bb", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { @@ -14724,7 +14734,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.31.0" }, "funding": [ { @@ -14740,24 +14750,24 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433", - "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { @@ -14804,7 +14814,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" }, "funding": [ { @@ -14820,24 +14830,24 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "3fb075789fb91f9ad9af537c4012d523085bd5af" + "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/3fb075789fb91f9ad9af537c4012d523085bd5af", - "reference": "3fb075789fb91f9ad9af537c4012d523085bd5af", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", + "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { @@ -14880,7 +14890,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0" }, "funding": [ { @@ -14896,24 +14906,24 @@ "type": "tidelift" } ], - "time": "2024-06-19T12:30:46+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php82", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php82.git", - "reference": "77ff49780f56906788a88974867ed68bc49fae5b" + "reference": "5d2ed36f7734637dacc025f179698031951b1692" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/77ff49780f56906788a88974867ed68bc49fae5b", - "reference": "77ff49780f56906788a88974867ed68bc49fae5b", + "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/5d2ed36f7734637dacc025f179698031951b1692", + "reference": "5d2ed36f7734637dacc025f179698031951b1692", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { @@ -14956,7 +14966,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php82/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php82/tree/v1.31.0" }, "funding": [ { @@ -14972,7 +14982,7 @@ "type": "tidelift" } ], - "time": "2024-06-19T12:30:46+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php83", @@ -15114,16 +15124,16 @@ }, { "name": "symfony/psr-http-message-bridge", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/psr-http-message-bridge.git", - "reference": "89a24648d73e4eee30893b0da16abc454a65c53b" + "reference": "74835ba54eca99a38f374f7a6d932fa510124773" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/89a24648d73e4eee30893b0da16abc454a65c53b", - "reference": "89a24648d73e4eee30893b0da16abc454a65c53b", + "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/74835ba54eca99a38f374f7a6d932fa510124773", + "reference": "74835ba54eca99a38f374f7a6d932fa510124773", "shasum": "" }, "require": { @@ -15177,7 +15187,7 @@ "psr-7" ], "support": { - "source": "https://github.com/symfony/psr-http-message-bridge/tree/v6.4.10" + "source": "https://github.com/symfony/psr-http-message-bridge/tree/v6.4.11" }, "funding": [ { @@ -15193,20 +15203,20 @@ "type": "tidelift" } ], - "time": "2024-07-15T09:36:38+00:00" + "time": "2024-08-14T13:55:58+00:00" }, { "name": "symfony/routing", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "aad19fe10753ba842f0d653a8db819c4b3affa87" + "reference": "8ee0c24c1bf61c263a26f1b9b6d19e83b1121f2a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/aad19fe10753ba842f0d653a8db819c4b3affa87", - "reference": "aad19fe10753ba842f0d653a8db819c4b3affa87", + "url": "https://api.github.com/repos/symfony/routing/zipball/8ee0c24c1bf61c263a26f1b9b6d19e83b1121f2a", + "reference": "8ee0c24c1bf61c263a26f1b9b6d19e83b1121f2a", "shasum": "" }, "require": { @@ -15260,7 +15270,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.4.10" + "source": "https://github.com/symfony/routing/tree/v6.4.11" }, "funding": [ { @@ -15276,20 +15286,20 @@ "type": "tidelift" } ], - "time": "2024-07-15T09:26:24+00:00" + "time": "2024-08-29T08:15:38+00:00" }, { "name": "symfony/serializer", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "9a67fcf320561e96f94d62bbe0e169ac534a5718" + "reference": "a75d03d7720417f8a654e73e8f02acdea8779cd0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/9a67fcf320561e96f94d62bbe0e169ac534a5718", - "reference": "9a67fcf320561e96f94d62bbe0e169ac534a5718", + "url": "https://api.github.com/repos/symfony/serializer/zipball/a75d03d7720417f8a654e73e8f02acdea8779cd0", + "reference": "a75d03d7720417f8a654e73e8f02acdea8779cd0", "shasum": "" }, "require": { @@ -15358,7 +15368,7 @@ "description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/serializer/tree/v6.4.10" + "source": "https://github.com/symfony/serializer/tree/v6.4.11" }, "funding": [ { @@ -15374,7 +15384,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T13:13:26+00:00" + "time": "2024-08-17T07:51:47+00:00" }, { "name": "symfony/service-contracts", @@ -15461,16 +15471,16 @@ }, { "name": "symfony/string", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "ccf9b30251719567bfd46494138327522b9a9446" + "reference": "5bc3eb632cf9c8dbfd6529d89be9950d1518883b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/ccf9b30251719567bfd46494138327522b9a9446", - "reference": "ccf9b30251719567bfd46494138327522b9a9446", + "url": "https://api.github.com/repos/symfony/string/zipball/5bc3eb632cf9c8dbfd6529d89be9950d1518883b", + "reference": "5bc3eb632cf9c8dbfd6529d89be9950d1518883b", "shasum": "" }, "require": { @@ -15527,7 +15537,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.10" + "source": "https://github.com/symfony/string/tree/v6.4.11" }, "funding": [ { @@ -15543,7 +15553,7 @@ "type": "tidelift" } ], - "time": "2024-07-22T10:21:14+00:00" + "time": "2024-08-12T09:55:28+00:00" }, { "name": "symfony/translation-contracts", @@ -15625,16 +15635,16 @@ }, { "name": "symfony/validator", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "bcf939a9d1acd7d2912e9474c0c3d7840a03cbcd" + "reference": "4ff41cf10af1de99ad92895411b55c9f309bc2d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/bcf939a9d1acd7d2912e9474c0c3d7840a03cbcd", - "reference": "bcf939a9d1acd7d2912e9474c0c3d7840a03cbcd", + "url": "https://api.github.com/repos/symfony/validator/zipball/4ff41cf10af1de99ad92895411b55c9f309bc2d8", + "reference": "4ff41cf10af1de99ad92895411b55c9f309bc2d8", "shasum": "" }, "require": { @@ -15702,7 +15712,7 @@ "description": "Provides tools to validate values", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/validator/tree/v6.4.10" + "source": "https://github.com/symfony/validator/tree/v6.4.11" }, "funding": [ { @@ -15718,20 +15728,20 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:30:32+00:00" + "time": "2024-08-30T15:57:55+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "a71cc3374f5fb9759da1961d28c452373b343dd4" + "reference": "ee14c8254a480913268b1e3b1cba8045ed122694" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/a71cc3374f5fb9759da1961d28c452373b343dd4", - "reference": "a71cc3374f5fb9759da1961d28c452373b343dd4", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ee14c8254a480913268b1e3b1cba8045ed122694", + "reference": "ee14c8254a480913268b1e3b1cba8045ed122694", "shasum": "" }, "require": { @@ -15787,7 +15797,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.4.10" + "source": "https://github.com/symfony/var-dumper/tree/v6.4.11" }, "funding": [ { @@ -15803,7 +15813,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:30:32+00:00" + "time": "2024-08-30T16:03:21+00:00" }, { "name": "symfony/var-exporter", @@ -15884,16 +15894,16 @@ }, { "name": "symfony/yaml", - "version": "v6.4.8", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "52903de178d542850f6f341ba92995d3d63e60c9" + "reference": "be37e7f13195e05ab84ca5269365591edd240335" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/52903de178d542850f6f341ba92995d3d63e60c9", - "reference": "52903de178d542850f6f341ba92995d3d63e60c9", + "url": "https://api.github.com/repos/symfony/yaml/zipball/be37e7f13195e05ab84ca5269365591edd240335", + "reference": "be37e7f13195e05ab84ca5269365591edd240335", "shasum": "" }, "require": { @@ -15936,7 +15946,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.4.8" + "source": "https://github.com/symfony/yaml/tree/v6.4.11" }, "funding": [ { @@ -15952,7 +15962,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:49:08+00:00" + "time": "2024-08-12T09:55:28+00:00" }, { "name": "theseer/tokenizer", @@ -16006,24 +16016,24 @@ }, { "name": "twig/twig", - "version": "v3.10.3", + "version": "v3.14.0", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "67f29781ffafa520b0bbfbd8384674b42db04572" + "reference": "126b2c97818dbff0cdf3fbfc881aedb3d40aae72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/67f29781ffafa520b0bbfbd8384674b42db04572", - "reference": "67f29781ffafa520b0bbfbd8384674b42db04572", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/126b2c97818dbff0cdf3fbfc881aedb3d40aae72", + "reference": "126b2c97818dbff0cdf3fbfc881aedb3d40aae72", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-ctype": "^1.8", "symfony/polyfill-mbstring": "^1.3", - "symfony/polyfill-php80": "^1.22" + "symfony/polyfill-php81": "^1.29" }, "require-dev": { "psr/container": "^1.0|^2.0", @@ -16069,7 +16079,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.10.3" + "source": "https://github.com/twigphp/Twig/tree/v3.14.0" }, "funding": [ { @@ -16081,7 +16091,7 @@ "type": "tidelift" } ], - "time": "2024-05-16T10:04:27+00:00" + "time": "2024-09-09T17:55:12+00:00" }, { "name": "un-ocha/oauth2-hid", @@ -16425,6 +16435,46 @@ } ], "packages-dev": [ + { + "name": "davidrjonas/composer-lock-diff", + "version": "1.7.0", + "source": { + "type": "git", + "url": "https://github.com/davidrjonas/composer-lock-diff.git", + "reference": "3c39a39849e6d235e588c6ae273d97c8785e9008" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/davidrjonas/composer-lock-diff/zipball/3c39a39849e6d235e588c6ae273d97c8785e9008", + "reference": "3c39a39849e6d235e588c6ae273d97c8785e9008", + "shasum": "" + }, + "bin": [ + "composer-lock-diff" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "David Jonas", + "homepage": "https://github.com/davidrjonas" + } + ], + "description": "See what has changed after a composer update.", + "support": { + "issues": "https://github.com/davidrjonas/composer-lock-diff/issues", + "source": "https://github.com/davidrjonas/composer-lock-diff/tree/1.7.0" + }, + "time": "2022-03-11T17:43:07+00:00" + }, { "name": "doctrine/common", "version": "3.4.4", @@ -16896,30 +16946,33 @@ }, { "name": "drupal/devel", - "version": "5.2.1", + "version": "5.3.1", "source": { "type": "git", "url": "https://git.drupalcode.org/project/devel.git", - "reference": "5.2.1" + "reference": "5.3.1" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/devel-5.2.1.zip", - "reference": "5.2.1", - "shasum": "793861751e01092fe8bc7c0cd47589ebea2bb8df" + "url": "https://ftp.drupal.org/files/projects/devel-5.3.1.zip", + "reference": "5.3.1", + "shasum": "6a5f13bdf93dc5f7f194b6af847589ae15e37b63" }, "require": { "doctrine/common": "^2.7 || ^3.4", - "drupal/core": ">=10.0 <12.0.0-stable", + "drupal/core": "^10.3 || ^11 || ^12", "php": ">=8.1", - "symfony/var-dumper": "^4 || ^5 || ^6" + "symfony/var-dumper": "^4 || ^5 || ^6 || ^7" }, "conflict": { + "drupal/core": "<10.3", "drush/drush": "<12.5.1", "kint-php/kint": "<3" }, "require-dev": { - "drush/drush": "^12.5.1" + "drush/drush": "^13", + "firephp/firephp-core": "^0.5.3", + "kint-php/kint": "^5.1" }, "suggest": { "kint-php/kint": "Kint provides an informative display of arrays/objects. Useful for debugging and developing." @@ -16927,8 +16980,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "5.2.1", - "datestamp": "1711328410", + "version": "5.3.1", + "datestamp": "1723258446", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -17002,6 +17055,65 @@ "source": "https://git.drupalcode.org/project/devel_php" } }, + { + "name": "jangregor/phpstan-prophecy", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/Jan0707/phpstan-prophecy.git", + "reference": "5ee56c7db1d58f0578c82a35e3c1befe840e85a9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Jan0707/phpstan-prophecy/zipball/5ee56c7db1d58f0578c82a35e3c1befe840e85a9", + "reference": "5ee56c7db1d58f0578c82a35e3c1befe840e85a9", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0", + "phpstan/phpstan": "^1.0.0" + }, + "conflict": { + "phpspec/prophecy": "<1.7.0 || >=2.0.0", + "phpunit/phpunit": "<6.0.0 || >=12.0.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.1.1", + "ergebnis/license": "^1.0.0", + "ergebnis/php-cs-fixer-config": "~2.2.0", + "phpspec/prophecy": "^1.7.0", + "phpunit/phpunit": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0" + }, + "type": "phpstan-extension", + "extra": { + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "JanGregor\\Prophecy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jan Gregor Emge-Triebel", + "email": "jan@jangregor.me" + } + ], + "description": "Provides a phpstan/phpstan extension for phpspec/prophecy", + "support": { + "issues": "https://github.com/Jan0707/phpstan-prophecy/issues", + "source": "https://github.com/Jan0707/phpstan-prophecy/tree/1.0.2" + }, + "time": "2024-04-03T08:15:54+00:00" + }, { "name": "jean85/pretty-package-versions", "version": "2.0.6", @@ -17206,27 +17318,28 @@ }, { "name": "mglaman/drupal-check", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/mglaman/drupal-check.git", - "reference": "e78eff7b10f79659c020a45baaa1f3035cb9a06a" + "reference": "4011f1f357bdd89793d13b1f8536625eb9d3cce7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mglaman/drupal-check/zipball/e78eff7b10f79659c020a45baaa1f3035cb9a06a", - "reference": "e78eff7b10f79659c020a45baaa1f3035cb9a06a", + "url": "https://api.github.com/repos/mglaman/drupal-check/zipball/4011f1f357bdd89793d13b1f8536625eb9d3cce7", + "reference": "4011f1f357bdd89793d13b1f8536625eb9d3cce7", "shasum": "" }, "require": { "composer/xdebug-handler": "^1.1 || ^2.0.1 || ^3.0", + "jangregor/phpstan-prophecy": "^1.0", "jean85/pretty-package-versions": "^1.5.0 || ^2.0.1", "mglaman/phpstan-drupal": "^1.0.0", "nette/neon": "^3.1", "php": "^7.2.5|^8.0", "phpstan/phpstan-deprecation-rules": "^1.0.0", - "symfony/console": "~3.4.5 || ^4.2|| ^5.0 || ^6.0", - "symfony/process": "~3.4.5 || ^4.2|| ^5.0 || ^6.0", + "symfony/console": "~3.4.5 || ^4.2|| ^5.0 || ^6.0 || ^7.0", + "symfony/process": "~3.4.5 || ^4.2|| ^5.0 || ^6.0 || ^7.0", "webflo/drupal-finder": "^1.1" }, "require-dev": { @@ -17261,7 +17374,7 @@ "description": "CLI tool for running checks on a Drupal code base", "support": { "issues": "https://github.com/mglaman/drupal-check/issues", - "source": "https://github.com/mglaman/drupal-check/tree/1.4.0" + "source": "https://github.com/mglaman/drupal-check/tree/1.5.0" }, "funding": [ { @@ -17277,7 +17390,7 @@ "type": "tidelift" } ], - "time": "2022-04-29T02:26:28+00:00" + "time": "2024-08-14T21:40:06+00:00" }, { "name": "nette/neon", @@ -17642,21 +17755,21 @@ }, { "name": "rector/rector", - "version": "1.2.2", + "version": "1.2.5", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "044e6364017882d1e346da8690eeabc154da5495" + "reference": "e98aa793ca3fcd17e893cfaf9103ac049775d339" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/044e6364017882d1e346da8690eeabc154da5495", - "reference": "044e6364017882d1e346da8690eeabc154da5495", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/e98aa793ca3fcd17e893cfaf9103ac049775d339", + "reference": "e98aa793ca3fcd17e893cfaf9103ac049775d339", "shasum": "" }, "require": { "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.11" + "phpstan/phpstan": "^1.12.2" }, "conflict": { "rector/rector-doctrine": "*", @@ -17689,7 +17802,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/1.2.2" + "source": "https://github.com/rectorphp/rector/tree/1.2.5" }, "funding": [ { @@ -17697,7 +17810,7 @@ "type": "github" } ], - "time": "2024-07-25T07:44:34+00:00" + "time": "2024-09-08T17:43:24+00:00" }, { "name": "symfony/config", @@ -17776,11 +17889,17 @@ }, { "name": "weitzman/drupal-test-traits", - "version": "2.3.0", + "version": "2.3.1", "source": { "type": "git", - "url": "https://git.drupalcode.org/project/dtt/", - "reference": "9385da6be0db48ecdb27e6646ae2bb0864c1dcee" + "url": "https://git.drupalcode.org/project/dtt.git", + "reference": "5e3df23c93f4f3e4f34fd7677df10bc06616f4ce" + }, + "dist": { + "type": "zip", + "url": "https://git.drupalcode.org/api/v4/projects/project%2Fdtt/repository/archive.zip?sha=5e3df23c93f4f3e4f34fd7677df10bc06616f4ce", + "reference": "5e3df23c93f4f3e4f34fd7677df10bc06616f4ce", + "shasum": "" }, "require": { "php": ">=8.1" @@ -17823,7 +17942,10 @@ } ], "description": "Traits for testing Drupal sites that have user content (versus unpopulated sites).", - "time": "2024-05-08T13:42:59+00:00" + "support": { + "source": "https://git.drupalcode.org/project/dtt/-/tree/2.3.1" + }, + "time": "2024-08-10T19:01:22+00:00" } ], "aliases": [], diff --git a/composer.patches.json b/composer.patches.json index 68bff33e..293bf834 100644 --- a/composer.patches.json +++ b/composer.patches.json @@ -3,8 +3,8 @@ "drupal/amazon_ses": { "Cron fails on amazon_ses when not configured": "PATCHES/amazon_ses-3417090-cron-queue-14.patch" }, - "drupal/csp": { - "Simplify log format": "PATCHES/csp-log-format.patch" + "drupal/core": { + "Js optimize error https://www.drupal.org/project/drupal/issues/3416508": "PATCHES/core_js_optimizer.patch" }, "drupal/datetime_range_timezone": { "Views integration": "PATCHES/datetime_range_timezone-views-integration.patch" diff --git a/config/aws.profile.amazon_ses.yml b/config/aws.profile.amazon_ses.yml index 0b0a2668..a832450e 100644 --- a/config/aws.profile.amazon_ses.yml +++ b/config/aws.profile.amazon_ses.yml @@ -6,6 +6,7 @@ id: amazon_ses name: 'Amazon SES' default: 1 aws_role_arn: '' +aws_role_session_name: null aws_access_key_id: '' aws_secret_access_key: '' region: us-east-1 diff --git a/config/core.entity_form_display.paragraph.ocha_powerbi.default.yml b/config/core.entity_form_display.paragraph.ocha_powerbi.default.yml new file mode 100644 index 00000000..7ec2a8c8 --- /dev/null +++ b/config/core.entity_form_display.paragraph.ocha_powerbi.default.yml @@ -0,0 +1,44 @@ +uuid: 936d5a83-6cba-4304-824c-3f3acdf29b89 +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.ocha_powerbi.field_embed_link + - field.field.paragraph.ocha_powerbi.field_text + - field.field.paragraph.ocha_powerbi.field_title + - paragraphs.paragraphs_type.ocha_powerbi + module: + - link + - text +id: paragraph.ocha_powerbi.default +targetEntityType: paragraph +bundle: ocha_powerbi +mode: default +content: + field_embed_link: + type: link_default + weight: 2 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + field_text: + type: text_textarea + weight: 1 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + field_title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + created: true + status: true diff --git a/config/core.entity_view_display.paragraph.ocha_powerbi.default.yml b/config/core.entity_view_display.paragraph.ocha_powerbi.default.yml new file mode 100644 index 00000000..8873fec1 --- /dev/null +++ b/config/core.entity_view_display.paragraph.ocha_powerbi.default.yml @@ -0,0 +1,40 @@ +uuid: 46384436-922f-46dd-b545-58f8a1da2e7b +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.ocha_powerbi.field_embed_link + - field.field.paragraph.ocha_powerbi.field_text + - field.field.paragraph.ocha_powerbi.field_title + - paragraphs.paragraphs_type.ocha_powerbi + module: + - ocha_powerbi + - text +id: paragraph.ocha_powerbi.default +targetEntityType: paragraph +bundle: ocha_powerbi +mode: default +content: + field_embed_link: + type: ocha_powerbi + label: hidden + settings: { } + third_party_settings: { } + weight: 2 + region: content + field_text: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 1 + region: content + field_title: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 0 + region: content +hidden: { } diff --git a/config/core.entity_view_display.paragraph.ocha_powerbi.preview.yml b/config/core.entity_view_display.paragraph.ocha_powerbi.preview.yml new file mode 100644 index 00000000..c2f08e39 --- /dev/null +++ b/config/core.entity_view_display.paragraph.ocha_powerbi.preview.yml @@ -0,0 +1,46 @@ +uuid: e9129ce3-441b-498f-bbfe-1bb11109fb9f +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.paragraph.preview + - field.field.paragraph.ocha_powerbi.field_embed_link + - field.field.paragraph.ocha_powerbi.field_text + - field.field.paragraph.ocha_powerbi.field_title + - paragraphs.paragraphs_type.ocha_powerbi + module: + - link + - text +id: paragraph.ocha_powerbi.preview +targetEntityType: paragraph +bundle: ocha_powerbi +mode: preview +content: + field_embed_link: + type: link_separate + label: inline + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 2 + region: content + field_text: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 1 + region: content + field_title: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 0 + region: content +hidden: { } diff --git a/config/core.extension.yml b/config/core.extension.yml index e75fbcea..a83efb59 100644 --- a/config/core.extension.yml +++ b/config/core.extension.yml @@ -70,6 +70,7 @@ module: ocha_key_figures: 0 ocha_mediavalet: 0 ocha_monitoring: 0 + ocha_powerbi: 0 ocha_search: 0 oembed_providers: 0 options: 0 diff --git a/config/field.field.paragraph.ocha_powerbi.field_embed_link.yml b/config/field.field.paragraph.ocha_powerbi.field_embed_link.yml new file mode 100644 index 00000000..2ba1c7f1 --- /dev/null +++ b/config/field.field.paragraph.ocha_powerbi.field_embed_link.yml @@ -0,0 +1,23 @@ +uuid: 07741489-2ab8-409c-bac1-8cdac9ea52ce +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_embed_link + - paragraphs.paragraphs_type.ocha_powerbi + module: + - link +id: paragraph.ocha_powerbi.field_embed_link +field_name: field_embed_link +entity_type: paragraph +bundle: ocha_powerbi +label: 'Embed link' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + title: 0 + link_type: 16 +field_type: link diff --git a/config/field.field.paragraph.ocha_powerbi.field_text.yml b/config/field.field.paragraph.ocha_powerbi.field_text.yml new file mode 100644 index 00000000..6d935ae9 --- /dev/null +++ b/config/field.field.paragraph.ocha_powerbi.field_text.yml @@ -0,0 +1,24 @@ +uuid: 3d47c6ad-b095-4e92-986f-c2d87d809817 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_text + - filter.format.ckeditor + - paragraphs.paragraphs_type.ocha_powerbi + module: + - text +id: paragraph.ocha_powerbi.field_text +field_name: field_text +entity_type: paragraph +bundle: ocha_powerbi +label: Text +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - ckeditor +field_type: text_long diff --git a/config/field.field.paragraph.ocha_powerbi.field_title.yml b/config/field.field.paragraph.ocha_powerbi.field_title.yml new file mode 100644 index 00000000..7cfa4567 --- /dev/null +++ b/config/field.field.paragraph.ocha_powerbi.field_title.yml @@ -0,0 +1,19 @@ +uuid: bfdf8792-35a5-4876-adc3-3b220d333e09 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_title + - paragraphs.paragraphs_type.ocha_powerbi +id: paragraph.ocha_powerbi.field_title +field_name: field_title +entity_type: paragraph +bundle: ocha_powerbi +label: Title +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/field.storage.paragraph.field_embed_link.yml b/config/field.storage.paragraph.field_embed_link.yml new file mode 100644 index 00000000..fce3c61d --- /dev/null +++ b/config/field.storage.paragraph.field_embed_link.yml @@ -0,0 +1,19 @@ +uuid: 01a33b38-dcda-4590-90d1-8e3d8c19a2f3 +langcode: en +status: true +dependencies: + module: + - link + - paragraphs +id: paragraph.field_embed_link +field_name: field_embed_link +entity_type: paragraph +type: link +settings: { } +module: link +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/ocha_mediavalet.settings.yml b/config/ocha_mediavalet.settings.yml index 44714f69..361b825e 100644 --- a/config/ocha_mediavalet.settings.yml +++ b/config/ocha_mediavalet.settings.yml @@ -9,3 +9,4 @@ client_id: '' secret: '' debug: 0 max_age: 900 +oembed_method: embed diff --git a/config/paragraphs.paragraphs_type.ocha_powerbi.yml b/config/paragraphs.paragraphs_type.ocha_powerbi.yml new file mode 100644 index 00000000..bc2cd7f1 --- /dev/null +++ b/config/paragraphs.paragraphs_type.ocha_powerbi.yml @@ -0,0 +1,10 @@ +uuid: 2091950e-c01b-4c23-a4b4-28adad947e08 +langcode: en +status: true +dependencies: { } +id: ocha_powerbi +label: 'Power BI' +icon_uuid: null +icon_default: null +description: '' +behavior_plugins: { } diff --git a/config/seckit.settings.yml b/config/seckit.settings.yml index 0ad9beac..5747583f 100644 --- a/config/seckit.settings.yml +++ b/config/seckit.settings.yml @@ -8,25 +8,25 @@ seckit_xss: webkit: false report-only: false default-src: "'self'" - script-src: "'self' 'unsafe-inline' 'unsafe-eval' fonts.googleapis.com www.gstatic.com https://*.google.com https://*.googletagmanager.com *.google-analytics.com https://tagmanager.google.com https://cdn.popupsmart.com https://cdnjs.cloudflare.com https://cbpfgms.github.io" + script-src: "'self' 'unsafe-inline' 'unsafe-eval' fonts.googleapis.com www.gstatic.com https://*.google.com https://*.googletagmanager.com *.google-analytics.com https://tagmanager.google.com https://cdn.popupsmart.com https://cdnjs.cloudflare.com https://cbpfgms.github.io https://connect.facebook.net https://partner.googleadservices.com https://www.googleadservices.com https://googleads.g.doubleclick.net" object-src: "'none'" - style-src: "'self' 'unsafe-inline' https://googletagmanager.com https://tagmanager.google.com fonts.googleapis.com https://www.google.com https://cdnjs.cloudflare.com" + style-src: "'self' 'unsafe-inline' https://googletagmanager.com https://tagmanager.google.com fonts.googleapis.com https://www.google.com https://cdnjs.cloudflare.com https://cbpfgms.github.io https://cdn.popupsmart.com https://use.fontawesome.com" img-src: "'self' data: https://*" - media-src: "'self' https://mvsfservicefabricusva.blob.core.windows.net" - frame-src: "'self' https://*.googletagmanager.com https://bid.g.doubleclick.net https://td.doubleclick.net" + media-src: "'self' data: https://mvsfservicefabricusva.blob.core.windows.net" + frame-src: "'self' https://*.googletagmanager.com https://bid.g.doubleclick.net https://td.doubleclick.net https://datawrapper.dwcdn.net https://www.youtube.com https://embed.mediavalet.com https://app.powerbi.com" frame-ancestors: "'self'" - child-src: "'self'" - font-src: "'self' data: fonts.gstatic.com" + child-src: "'self' blob:" + font-src: "'self' data: fonts.gstatic.com https://use.fontawesome.com" connect-src: "'self' https://*" report-uri: /report-csp-violation upgrade-req: false policy-uri: '' x_xss: + select: 0 seckit_x_xss_option_disable: Disabled seckit_x_xss_option_0: '0' seckit_x_xss_option_1: 1; seckit_x_xss_option_1_block: '1; mode=block' - select: 0 seckit_csrf: origin: true origin_whitelist: '' diff --git a/html/modules/custom/ocha_mediavalet/README.md b/html/modules/custom/ocha_mediavalet/README.md new file mode 100644 index 00000000..d2d37924 --- /dev/null +++ b/html/modules/custom/ocha_mediavalet/README.md @@ -0,0 +1,16 @@ +# OCHA MediaValet + +Provides integration with MediaValet for both images and videos. + +## Videos + +For embedding we support 2 differenct modes: + +- local: Use a plain video html tag with a poster +- directlink: Use MV API to create embedding + +## Drush commands + +- `ocha_mediavalet:generate-embed-link uuid` generates embedding for a certain asset +- `ocha_mediavalet:generate-missing-embed-links` generates embedding for all videos + diff --git a/html/modules/custom/ocha_mediavalet/config/install/ocha_mediavalet.settings.yml b/html/modules/custom/ocha_mediavalet/config/install/ocha_mediavalet.settings.yml index 5942e112..f68e999c 100644 --- a/html/modules/custom/ocha_mediavalet/config/install/ocha_mediavalet.settings.yml +++ b/html/modules/custom/ocha_mediavalet/config/install/ocha_mediavalet.settings.yml @@ -8,3 +8,4 @@ secret: '' debug: 0 max_age: 900 oembed_base_url: +oembed_method: 'embed' diff --git a/html/modules/custom/ocha_mediavalet/drush.services.yml b/html/modules/custom/ocha_mediavalet/drush.services.yml new file mode 100644 index 00000000..3e2c1e44 --- /dev/null +++ b/html/modules/custom/ocha_mediavalet/drush.services.yml @@ -0,0 +1,6 @@ +services: + ocha_mediavalet.commands: + class: \Drupal\ocha_mediavalet\Commands\OchaMediaValetCommands + arguments: ['@ocha_mediavalet.service.client', '@entity_type.manager'] + tags: + - { name: drush.command } diff --git a/html/modules/custom/ocha_mediavalet/src/Api/MediaValetClient.php b/html/modules/custom/ocha_mediavalet/src/Api/MediaValetClient.php index 1d4b018e..9bcc5f31 100644 --- a/html/modules/custom/ocha_mediavalet/src/Api/MediaValetClient.php +++ b/html/modules/custom/ocha_mediavalet/src/Api/MediaValetClient.php @@ -3,6 +3,7 @@ namespace Drupal\ocha_mediavalet\Api; use GuzzleHttp\ClientInterface; +use GuzzleHttp\Exception\ConnectException; use Psr\Log\LoggerInterface; /** @@ -48,6 +49,13 @@ class MediaValetClient { 'records' => 0, ]; + /** + * Timeout for http requests. + * + * @var int + */ + protected $timeout = 10; + /** * Constructor. */ @@ -118,6 +126,22 @@ public function getResultInfo() : array { return $this->resultInfo; } + /** + * Get timeout. + */ + public function getTimeout() : int { + return $this->timeout; + } + + /** + * Set timeout. + */ + public function setTimeout(int $timeout) : self { + $this->timeout = $timeout; + + return $this; + } + /** * Set result info. */ @@ -176,11 +200,11 @@ protected function isAccessTokenValid() : bool { ], ]); - if ($response->getStatusCode() != 200) { - $this->loggerFactory->alert('Access token request failed', [ - 'code' => $response->getStatusCode(), - 'message' => $response->getReasonPhrase() ?? '', - ]); + if ($response->getStatusCode() != 200 && $response->getStatusCode() != 201) { + $this->loggerFactory->alert(strtr('Access token request failed: @message (@code)', [ + '@code' => $response->getStatusCode(), + '@message' => $response->getReasonPhrase() ?? '', + ])); return FALSE; } @@ -193,10 +217,10 @@ protected function isAccessTokenValid() : bool { return TRUE; } catch (\Throwable $th) { - $this->loggerFactory->alert('Access token request failed', [ - 'code' => $th->getCode(), - 'message' => $th->getMessage() ?? '', - ]); + $this->loggerFactory->alert(strtr('Access token request failed: @message (@code)', [ + '@code' => $th->getCode(), + '@message' => $th->getMessage() ?? '', + ])); } return FALSE; @@ -224,11 +248,11 @@ protected function refreshToken() : bool { ], ]); - if ($response->getStatusCode() != 200) { - $this->loggerFactory->alert('Refresh token request failed', [ - 'code' => $response->getStatusCode(), - 'message' => $response->getReasonPhrase() ?? '', - ]); + if ($response->getStatusCode() != 200 && $response->getStatusCode() != 201) { + $this->loggerFactory->alert(strtr('Refresh token request failed: @message (@code)', [ + '@code' => $response->getStatusCode(), + '@message' => $response->getReasonPhrase() ?? '', + ])); return FALSE; } @@ -242,7 +266,7 @@ protected function refreshToken() : bool { } /** - * Perform a GET request. + * Perform a GET/POST request. * * @param string $resource * API resource endpoint (ex: reports). @@ -250,62 +274,71 @@ protected function refreshToken() : bool { * API request payload (body for POST or parameters for GET). * @param string $method * Request method. - * @param int $timeout - * Request timeout. - * @param bool $cache_enabled - * Whether to cache the queries or not. * * @return array|null * The data from the API response or NULL in case of error. */ - public function request($resource, array $payload = [], $method = 'GET', $timeout = 30, $cache_enabled = TRUE) { + public function request($resource, array $payload = [], $method = 'GET') { + $method = strtoupper($method); $cid = $this->getCacheId($resource, $method, $payload); static $cache = []; - if ($cache_enabled && isset($cache[$cid])) { + if (isset($cache[$cid])) { return $cache[$cid]; } if (!$this->isAccessTokenValid()) { - return FALSE; + return []; } + $options = [ + 'timeout' => $this->getTimeout(), + 'connect_timeout' => 4, + 'headers' => [ + 'x-mv-api-version' => '1.1', + 'Accept' => 'application/json', + 'Ocp-Apim-Subscription-Key' => $this->subscriptionKey, + 'Authorization' => 'Bearer ' . $this->accessTokenInfo['access_token'], + ], + ]; + if ($method == 'GET') { $payload += [ 'count' => $this->getCount(), 'offset' => $this->getOffset(), ]; + + $options['query'] = $payload; + } + elseif ($method == 'POST') { + $options['headers']['Content-Type'] = 'application/json'; + $options['json'] = $payload; } $endpoint = rtrim($this->endpointApi, '/') . '/' . ltrim($resource, '/'); - $response = $this->httpClient->request($method, $endpoint, [ - 'timeout' => $timeout, - 'connect_timeout' => $timeout, - 'headers' => [ - 'x-mv-api-version' => '1.1', - 'Accept' => 'application/json', - 'Ocp-Apim-Subscription-Key' => $this->subscriptionKey, - 'Authorization' => 'Bearer ' . $this->accessTokenInfo['access_token'], - ], - 'query' => $payload, - ]); - if ($response->getStatusCode() != 200) { - $this->loggerFactory->alert('Refresh token request failed', [ - 'code' => $response->getStatusCode(), - 'message' => $response->getReasonPhrase() ?? '', - ]); + try { + $response = $this->httpClient->request($method, $endpoint, $options); + + if ($response->getStatusCode() != 200 && $response->getStatusCode() != 201) { + $this->loggerFactory->alert(strtr('Refresh token request failed: @message (@code)', [ + '@code' => $response->getStatusCode(), + '@message' => $response->getReasonPhrase() ?? '', + ])); + return []; + } - return FALSE; - } + $data = json_decode($response->getBody()->getContents(), TRUE); - $data = json_decode($response->getBody()->getContents(), TRUE); + if (!empty($data)) { + $cache[$cid] = $data; + } - if ($cache_enabled) { - $cache[$cid] = $data; + return $data; + } + catch (ConnectException $e) { + return []; } - - return $data; } /** @@ -353,16 +386,7 @@ public function getCategoryAssets(string $category_uuid) : MediaValetData { $data = $this->request('categories/' . $category_uuid . '/assets'); foreach ($data['payload']['assets'] as $item) { - $items[$item['id']] = [ - 'id' => $item['id'], - 'title' => $item['title'], - 'filename' => $item['file']['fileName'], - 'thumb' => $item['media']['thumb'], - 'download' => $item['media']['download'], - 'stream' => $item['media']['streamingManifest'] ?? '', - 'is_image' => strtolower($item['media']['type']) == 'image', - 'is_video' => strtolower($item['media']['type']) == 'video', - ]; + $items[$item['id']] = $this->buildAssetItem($item); } return new MediaValetData( @@ -372,27 +396,13 @@ public function getCategoryAssets(string $category_uuid) : MediaValetData { } /** - * Get assets. + * Get asset. */ public function getAsset(string $asset_uuid) : MediaValetData { $item = []; $data = $this->request('assets/' . $asset_uuid); - $item = [ - 'id' => $data['payload']['id'], - 'title' => $data['payload']['title'], - 'filename' => $data['payload']['file']['fileName'], - 'thumb' => $data['payload']['media']['thumb'], - 'medium' => $data['payload']['media']['medium'], - 'large' => $data['payload']['media']['large'], - 'original' => $data['payload']['media']['original'], - 'download' => $data['payload']['media']['download'], - 'stream' => $data['payload']['media']['streamingManifest'] ?? '', - 'is_image' => strtolower($data['payload']['media']['type']) == 'image', - 'is_video' => strtolower($data['payload']['media']['type']) == 'video', - 'height' => $data['payload']['file']['imageHeight'] ?? '', - 'width' => $data['payload']['file']['imageWidth'] ?? '', - ]; + $item = $this->buildAssetItem($data['payload']); return new MediaValetData( $item, @@ -400,6 +410,59 @@ public function getAsset(string $asset_uuid) : MediaValetData { ); } + /** + * Get direct link. + */ + public function getDirectLinks(string $asset_uuid) : MediaValetData { + $data = $this->request('directlinks/' . $asset_uuid); + + if (isset($data['payload'])) { + return new MediaValetData( + $data['payload'], + $this->setBuildInfo($data), + ); + } + + return new MediaValetData( + [], + [], + ); + } + + /** + * Create direct link. + */ + public function createDirectLink(string $asset_uuid) : MediaValetData { + $payload = [ + 'RenditionSettings' => [ + 'Size' => [ + 'Type' => 'Original', + ], + 'Format' => 'MP4', + ], + 'LinkSettings' => [ + 'IsDevModeEnabled' => FALSE, + 'LinkName' => 'Default', + 'IsEmbedCode' => TRUE, + 'IsUniqueLink' => FALSE, + ], + ]; + + $data = $this->request('directlinks/' . $asset_uuid, $payload, 'POST'); + + if (isset($data['payload'])) { + return new MediaValetData( + $data['payload'], + $this->setBuildInfo($data), + ); + } + + return new MediaValetData( + $data, + $this->setBuildInfo($data), + ); + } + /** * Get keywords. */ @@ -436,16 +499,7 @@ public function search($text, array $options = []) : MediaValetData { $data = $this->request('assets', $options); foreach ($data['payload']['assets'] as $item) { - $items[$item['id']] = [ - 'id' => $item['id'], - 'title' => $item['title'], - 'filename' => $item['file']['fileName'], - 'thumb' => $item['media']['thumb'], - 'download' => $item['media']['download'], - 'stream' => $item['media']['streamingManifest'] ?? '', - 'is_image' => strtolower($item['media']['type']) == 'image', - 'is_video' => strtolower($item['media']['type']) == 'video', - ]; + $items[$item['id']] = $this->buildAssetItem($item); } return new MediaValetData( @@ -454,4 +508,27 @@ public function search($text, array $options = []) : MediaValetData { ); } + /** + * Build asset item. + */ + protected function buildAssetItem($item) : array { + return [ + 'id' => $item['id'], + 'title' => $item['title'], + 'filename' => $item['file']['fileName'], + 'thumb' => $item['media']['thumb'], + 'medium' => $item['media']['medium'], + 'large' => $item['media']['large'], + 'original' => $item['media']['original'], + 'download' => $item['media']['download'], + 'stream' => $item['media']['streamingManifest'] ?? '', + 'is_image' => strtolower($item['media']['type']) == 'image', + 'is_video' => strtolower($item['media']['type']) == 'video', + 'height' => $item['file']['imageHeight'] ?? '', + 'width' => $item['file']['imageWidth'] ?? '', + 'categories' => $item['categories'] ?? [], + 'format' => $item['file']['fileType'] ?? '', + ]; + } + } diff --git a/html/modules/custom/ocha_mediavalet/src/Commands/OchaMediaValetCommands.php b/html/modules/custom/ocha_mediavalet/src/Commands/OchaMediaValetCommands.php new file mode 100644 index 00000000..51ec1aa0 --- /dev/null +++ b/html/modules/custom/ocha_mediavalet/src/Commands/OchaMediaValetCommands.php @@ -0,0 +1,97 @@ + 10, + ], + ) { + $data = $this->mediavaletService + ->setTimeout($options['timeout']) + ->getEmbedLink($uuid)->getData(); + + if (empty($data)) { + $this->output->writeln(strtr('No embed link found/created for @uuid', [ + '@uuid' => $uuid, + ])); + } + else { + if (!isset($data['cdnLink'])) { + print_r($data); + } + $this->output->writeln(strtr('Embed for @uuid is @url', [ + '@uuid' => $uuid, + '@url' => $data['cdnLink'], + ])); + } + } + + /** + * Generate missing embed links. + * + * @command ocha_mediavalet:generate-missing-embed-links + * + * @validate-module-enabled ocha_mediavalet + * + * @option timeout + * Timeout for HTTP requests. + * + * @usage ocha_mediavalet:generate-missing-embed-links + * Generate missing embed links. + */ + public function generateMissingEmbedLinks( + array $options = [ + 'timeout' => 10, + ], + ) { + + $this->mediavaletService + ->setMediaType(MediaValetClient::MEDIATYPEVIDEO) + ->setCount(9999) + ->setOffset(0); + $videos = $this->mediavaletService->search('', '')->getData(); + + $this->output()->writeln(strtr('Checking @num video files.', [ + '@num' => count($videos), + ])); + + foreach ($videos as $uuid => $video) { + $this->generateEmbedLink($uuid, $options); + } + } + +} diff --git a/html/modules/custom/ocha_mediavalet/src/Controller/MediaValetController.php b/html/modules/custom/ocha_mediavalet/src/Controller/MediaValetController.php index ff92053a..fcca2d82 100644 --- a/html/modules/custom/ocha_mediavalet/src/Controller/MediaValetController.php +++ b/html/modules/custom/ocha_mediavalet/src/Controller/MediaValetController.php @@ -94,7 +94,30 @@ public function video($uuid) { $asset = $this->mediavaletService->getAsset($uuid); $data = $asset->getData(); - $video_url = $data['download']; + $html = ''; + $oembed_method = $this->config('ocha_mediavalet.settings')->get('oembed_method') ?? 'local'; + + if ($oembed_method == 'local') { + $html = ''; + } + else { + $embed = $this->mediavaletService->getEmbedLink($uuid)->getData(); + if (isset($embed['cdnLink'])) { + $html = ''; + } + } + $width = (int) $data['width'] ?? 800; $height = (int) $data['height'] ?? 800; @@ -102,11 +125,18 @@ public function video($uuid) { 'type' => 'video', 'version' => '1.0', 'title' => $data['title'] ?? '', - 'html' => '', 'width' => $width, 'height' => $height, ]; + if (!empty($html)) { + $oembed['html'] = $html; + } + else { + $oembed['type'] = 'photo'; + $oembed['url'] = $data['large']; + } + $oembed['thumbnail_url'] = $data['thumb']; $oembed['thumbnail_width'] = 800; $oembed['thumbnail_height'] = round($height * 800 / $width); diff --git a/html/modules/custom/ocha_mediavalet/src/Plugin/MediaLibrarySource/MediaValetImage.php b/html/modules/custom/ocha_mediavalet/src/Plugin/MediaLibrarySource/MediaValetImage.php index b067cc98..3d2945f8 100644 --- a/html/modules/custom/ocha_mediavalet/src/Plugin/MediaLibrarySource/MediaValetImage.php +++ b/html/modules/custom/ocha_mediavalet/src/Plugin/MediaLibrarySource/MediaValetImage.php @@ -136,11 +136,7 @@ protected function queryResults() : MediaValetData { ->setCount($this->configuration['items_per_page']) ->setOffset($this->getValue('page') * $this->configuration['items_per_page']); - if ($this->getSearch()) { - return $this->mediavaletService->search($this->getSearch(), $this->getSelectedCategory(), 'Image'); - } - - return $this->mediavaletService->getCategoryAssets($this->getSelectedCategory()); + return $this->mediavaletService->search($this->getSearch(), $this->getSelectedCategory()); } /** diff --git a/html/modules/custom/ocha_mediavalet/src/Plugin/MediaLibrarySource/MediaValetVideo.php b/html/modules/custom/ocha_mediavalet/src/Plugin/MediaLibrarySource/MediaValetVideo.php index 5fc4a469..a91baaff 100644 --- a/html/modules/custom/ocha_mediavalet/src/Plugin/MediaLibrarySource/MediaValetVideo.php +++ b/html/modules/custom/ocha_mediavalet/src/Plugin/MediaLibrarySource/MediaValetVideo.php @@ -138,11 +138,7 @@ protected function queryResults() : MediaValetData { ->setCount($this->configuration['items_per_page']) ->setOffset($this->getValue('page') * $this->configuration['items_per_page']); - if (TRUE || $this->getSearch()) { - return $this->mediavaletService->search($this->getSearch(), $this->getSelectedCategory(), 'Video'); - } - - return $this->mediavaletService->getCategoryAssets($this->getSelectedCategory()); + return $this->mediavaletService->search($this->getSearch(), $this->getSelectedCategory()); } /** @@ -176,11 +172,31 @@ public function buildForm(array &$form, FormStateInterface $form_state) { * Get categories. */ protected function getCategories() { - $data = $this->mediavaletService + // Get all categories. + $categories = $this->mediavaletService + ->setMediaType(MediaValetClient::MEDIATYPEVIDEO) + ->getCategories()->getData(); + + // Get all videos. + $this->mediavaletService ->setMediaType(MediaValetClient::MEDIATYPEVIDEO) - ->getCategories(); + ->setCount(9999) + ->setOffset(0); + $videos = $this->mediavaletService->search('', '')->getData(); + + // Filter categories. + $data = []; + foreach ($videos as $video) { + foreach ($video['categories'] as $category_id) { + if (isset($categories[$category_id])) { + $data[$category_id] = $categories[$category_id]; + } + } + } - return $data->getData(); + asort($data); + + return $data; } /** @@ -202,6 +218,7 @@ protected function getSearch() { */ public function getEntityId($selected_id) { $data = $this->mediavaletService->getAsset($selected_id); + $asset = $data->getData(); // Create a media entity. @@ -209,7 +226,7 @@ public function getEntityId($selected_id) { // Add thumbnail. if ($entity->hasField('thumbnail')) { - $image = file_get_contents($asset['thumb']); + $image = file_get_contents($asset['large']); $filename = pathinfo($asset['filename'], PATHINFO_FILENAME) . '.png'; // Save to filesystem. diff --git a/html/modules/custom/ocha_mediavalet/src/Services/MediaValetService.php b/html/modules/custom/ocha_mediavalet/src/Services/MediaValetService.php index f31a63b2..f6188ba5 100644 --- a/html/modules/custom/ocha_mediavalet/src/Services/MediaValetService.php +++ b/html/modules/custom/ocha_mediavalet/src/Services/MediaValetService.php @@ -24,7 +24,7 @@ class MediaValetService { protected $cache; /** - * ReliefWeb API config. + * Config. * * @var \Drupal\Core\Config\ImmutableConfig */ @@ -189,6 +189,22 @@ public function getResultInfo() : array { return $this->mediavaletClient->getResultInfo(); } + /** + * Get timeout. + */ + public function getTimeout() : int { + return $this->mediavaletClient->getTimeout(); + } + + /** + * Set timeout. + */ + public function setTimeout(int $timeout) : self { + $this->mediavaletClient->setTimeout($timeout); + + return $this; + } + /** * Log it. */ @@ -229,6 +245,10 @@ protected function updateCachedAccessTokenInfo() { * Cache data. */ protected function cacheIt($cid, $data) { + if (empty($data)) { + return; + } + $cache_lifetime = $this->config->get('max_age'); $cache_expiration = $this->time->getRequestTime() + $cache_lifetime; $this->cache->set($cid, $data, $cache_expiration); @@ -319,6 +339,71 @@ public function getAsset(string $asset_uuid) : MediaValetData { return $data; } + /** + * Get direct links. + */ + public function getDirectLinks(string $asset_uuid) : MediaValetData { + $this->logIt('getDirectLinks called'); + $cid = 'direct_link:' . $asset_uuid; + $cached = $this->getCache($cid); + if ($cached) { + return $cached; + } + + $data = $this->mediavaletClient->getDirectLinks($asset_uuid); + + $this->logIt('getDirectLinks finished'); + $this->cacheIt($cid, $data); + $this->updateCachedAccessTokenInfo(); + + return $data; + } + + /** + * Get embed link. + */ + public function getEmbedLink(string $asset_uuid) : MediaValetData { + $this->logIt('getEmbedLink called'); + $cid = 'embed_link:' . $asset_uuid; + $cached = $this->getCache($cid); + if ($cached) { + return $cached; + } + + $data = []; + $direct_links = $this->getDirectLinks($asset_uuid)->getData(); + + foreach ($direct_links as $direct_link) { + if (!isset($direct_link['state']) || $direct_link['state'] != 'Active') { + continue; + } + + if (!isset($direct_link['cdnLink'])) { + continue; + } + + if (strpos($direct_link['cdnLink'], 'https://embed.mediavalet.com/') !== 0) { + continue; + } + + $data = $direct_link; + break; + } + + if (!empty($data)) { + $data = new MediaValetData($data, []); + } + else { + $data = $this->mediavaletClient->createDirectLink($asset_uuid); + } + + $this->logIt('getEmbedLink finished'); + $this->cacheIt($cid, $data); + $this->updateCachedAccessTokenInfo(); + + return $data; + } + /** * Get keywords. */ @@ -348,7 +433,7 @@ public function getKeywords() : MediaValetData { /** * Search. */ - public function search(string $text, string $category_uuid = '', string $media_type = 'Image') : MediaValetData { + public function search(string $text, string $category_uuid = '') : MediaValetData { $this->logIt('search called with ' . $text . ' and ' . $category_uuid); $cid = implode(':', [ diff --git a/html/modules/custom/ocha_powerbi/README.md b/html/modules/custom/ocha_powerbi/README.md new file mode 100644 index 00000000..fb88bd0c --- /dev/null +++ b/html/modules/custom/ocha_powerbi/README.md @@ -0,0 +1,3 @@ +# OCHA Power BI + +Embed PowerBI using the embed link, like `https://app.powerbi.com/reportEmbed?reportId=`. diff --git a/html/modules/custom/ocha_powerbi/config/optional/core.entity_form_display.paragraph.ocha_powerbi.default.yml b/html/modules/custom/ocha_powerbi/config/optional/core.entity_form_display.paragraph.ocha_powerbi.default.yml new file mode 100644 index 00000000..7ec2a8c8 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/config/optional/core.entity_form_display.paragraph.ocha_powerbi.default.yml @@ -0,0 +1,44 @@ +uuid: 936d5a83-6cba-4304-824c-3f3acdf29b89 +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.ocha_powerbi.field_embed_link + - field.field.paragraph.ocha_powerbi.field_text + - field.field.paragraph.ocha_powerbi.field_title + - paragraphs.paragraphs_type.ocha_powerbi + module: + - link + - text +id: paragraph.ocha_powerbi.default +targetEntityType: paragraph +bundle: ocha_powerbi +mode: default +content: + field_embed_link: + type: link_default + weight: 2 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + field_text: + type: text_textarea + weight: 1 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + field_title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + created: true + status: true diff --git a/html/modules/custom/ocha_powerbi/config/optional/core.entity_view_display.paragraph.ocha_powerbi.default.yml b/html/modules/custom/ocha_powerbi/config/optional/core.entity_view_display.paragraph.ocha_powerbi.default.yml new file mode 100644 index 00000000..8873fec1 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/config/optional/core.entity_view_display.paragraph.ocha_powerbi.default.yml @@ -0,0 +1,40 @@ +uuid: 46384436-922f-46dd-b545-58f8a1da2e7b +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.ocha_powerbi.field_embed_link + - field.field.paragraph.ocha_powerbi.field_text + - field.field.paragraph.ocha_powerbi.field_title + - paragraphs.paragraphs_type.ocha_powerbi + module: + - ocha_powerbi + - text +id: paragraph.ocha_powerbi.default +targetEntityType: paragraph +bundle: ocha_powerbi +mode: default +content: + field_embed_link: + type: ocha_powerbi + label: hidden + settings: { } + third_party_settings: { } + weight: 2 + region: content + field_text: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 1 + region: content + field_title: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 0 + region: content +hidden: { } diff --git a/html/modules/custom/ocha_powerbi/config/optional/core.entity_view_display.paragraph.ocha_powerbi.preview.yml b/html/modules/custom/ocha_powerbi/config/optional/core.entity_view_display.paragraph.ocha_powerbi.preview.yml new file mode 100644 index 00000000..c2f08e39 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/config/optional/core.entity_view_display.paragraph.ocha_powerbi.preview.yml @@ -0,0 +1,46 @@ +uuid: e9129ce3-441b-498f-bbfe-1bb11109fb9f +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.paragraph.preview + - field.field.paragraph.ocha_powerbi.field_embed_link + - field.field.paragraph.ocha_powerbi.field_text + - field.field.paragraph.ocha_powerbi.field_title + - paragraphs.paragraphs_type.ocha_powerbi + module: + - link + - text +id: paragraph.ocha_powerbi.preview +targetEntityType: paragraph +bundle: ocha_powerbi +mode: preview +content: + field_embed_link: + type: link_separate + label: inline + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 2 + region: content + field_text: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 1 + region: content + field_title: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 0 + region: content +hidden: { } diff --git a/html/modules/custom/ocha_powerbi/config/optional/field.field.paragraph.ocha_powerbi.field_embed_link.yml b/html/modules/custom/ocha_powerbi/config/optional/field.field.paragraph.ocha_powerbi.field_embed_link.yml new file mode 100644 index 00000000..2ba1c7f1 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/config/optional/field.field.paragraph.ocha_powerbi.field_embed_link.yml @@ -0,0 +1,23 @@ +uuid: 07741489-2ab8-409c-bac1-8cdac9ea52ce +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_embed_link + - paragraphs.paragraphs_type.ocha_powerbi + module: + - link +id: paragraph.ocha_powerbi.field_embed_link +field_name: field_embed_link +entity_type: paragraph +bundle: ocha_powerbi +label: 'Embed link' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + title: 0 + link_type: 16 +field_type: link diff --git a/html/modules/custom/ocha_powerbi/config/optional/field.field.paragraph.ocha_powerbi.field_text.yml b/html/modules/custom/ocha_powerbi/config/optional/field.field.paragraph.ocha_powerbi.field_text.yml new file mode 100644 index 00000000..6d935ae9 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/config/optional/field.field.paragraph.ocha_powerbi.field_text.yml @@ -0,0 +1,24 @@ +uuid: 3d47c6ad-b095-4e92-986f-c2d87d809817 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_text + - filter.format.ckeditor + - paragraphs.paragraphs_type.ocha_powerbi + module: + - text +id: paragraph.ocha_powerbi.field_text +field_name: field_text +entity_type: paragraph +bundle: ocha_powerbi +label: Text +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - ckeditor +field_type: text_long diff --git a/html/modules/custom/ocha_powerbi/config/optional/field.field.paragraph.ocha_powerbi.field_title.yml b/html/modules/custom/ocha_powerbi/config/optional/field.field.paragraph.ocha_powerbi.field_title.yml new file mode 100644 index 00000000..7cfa4567 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/config/optional/field.field.paragraph.ocha_powerbi.field_title.yml @@ -0,0 +1,19 @@ +uuid: bfdf8792-35a5-4876-adc3-3b220d333e09 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_title + - paragraphs.paragraphs_type.ocha_powerbi +id: paragraph.ocha_powerbi.field_title +field_name: field_title +entity_type: paragraph +bundle: ocha_powerbi +label: Title +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/html/modules/custom/ocha_powerbi/config/optional/field.storage.paragraph.field_embed_link.yml b/html/modules/custom/ocha_powerbi/config/optional/field.storage.paragraph.field_embed_link.yml new file mode 100644 index 00000000..fce3c61d --- /dev/null +++ b/html/modules/custom/ocha_powerbi/config/optional/field.storage.paragraph.field_embed_link.yml @@ -0,0 +1,19 @@ +uuid: 01a33b38-dcda-4590-90d1-8e3d8c19a2f3 +langcode: en +status: true +dependencies: + module: + - link + - paragraphs +id: paragraph.field_embed_link +field_name: field_embed_link +entity_type: paragraph +type: link +settings: { } +module: link +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/html/modules/custom/ocha_powerbi/config/optional/paragraphs.paragraphs_type.ocha_powerbi.yml b/html/modules/custom/ocha_powerbi/config/optional/paragraphs.paragraphs_type.ocha_powerbi.yml new file mode 100644 index 00000000..bc2cd7f1 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/config/optional/paragraphs.paragraphs_type.ocha_powerbi.yml @@ -0,0 +1,10 @@ +uuid: 2091950e-c01b-4c23-a4b4-28adad947e08 +langcode: en +status: true +dependencies: { } +id: ocha_powerbi +label: 'Power BI' +icon_uuid: null +icon_default: null +description: '' +behavior_plugins: { } diff --git a/html/modules/custom/ocha_powerbi/css/ocha-powerbi.css b/html/modules/custom/ocha_powerbi/css/ocha-powerbi.css new file mode 100644 index 00000000..7bade786 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/css/ocha-powerbi.css @@ -0,0 +1,3 @@ +.ocha-powerbi iframe { + max-width: 100%; +} diff --git a/html/modules/custom/ocha_powerbi/ocha_powerbi.info.yml b/html/modules/custom/ocha_powerbi/ocha_powerbi.info.yml new file mode 100644 index 00000000..e413f691 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/ocha_powerbi.info.yml @@ -0,0 +1,7 @@ +type: module +name: OCHA PowerBi +description: 'Handles PowerBi integration.' +package: unocha +core_version_requirement: ^9 || ^10 +dependencies: + - paragraphs:paragraphs diff --git a/html/modules/custom/ocha_powerbi/ocha_powerbi.libraries.yml b/html/modules/custom/ocha_powerbi/ocha_powerbi.libraries.yml new file mode 100644 index 00000000..89434997 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/ocha_powerbi.libraries.yml @@ -0,0 +1,4 @@ +powerbi-responsive-iframe: + css: + component: + css/ocha-powerbi.css: {} diff --git a/html/modules/custom/ocha_powerbi/ocha_powerbi.module b/html/modules/custom/ocha_powerbi/ocha_powerbi.module new file mode 100644 index 00000000..0dc9496a --- /dev/null +++ b/html/modules/custom/ocha_powerbi/ocha_powerbi.module @@ -0,0 +1,21 @@ + [ + 'variables' => [ + 'embed_url' => NULL, + 'width' => NULL, + 'height' => NULL, + ], + ], + ]; +} diff --git a/html/modules/custom/ocha_powerbi/src/Plugin/Field/FieldFormatter/OchaPowerBiFormatter.php b/html/modules/custom/ocha_powerbi/src/Plugin/Field/FieldFormatter/OchaPowerBiFormatter.php new file mode 100644 index 00000000..2d8ea1a5 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/src/Plugin/Field/FieldFormatter/OchaPowerBiFormatter.php @@ -0,0 +1,40 @@ + $item) { + $element[$delta] = [ + '#theme' => 'ocha_powerbi_formatter', + '#embed_url' => $item->getUrl(), + '#width' => 1140, + '#height' => 540, + ]; + } + + return $element; + } + +} diff --git a/html/modules/custom/ocha_powerbi/templates/ocha-powerbi-formatter.html.twig b/html/modules/custom/ocha_powerbi/templates/ocha-powerbi-formatter.html.twig new file mode 100644 index 00000000..ec5f7e16 --- /dev/null +++ b/html/modules/custom/ocha_powerbi/templates/ocha-powerbi-formatter.html.twig @@ -0,0 +1,25 @@ +{# +/** + * @file + * Default theme implementation for a OCHA powerbi wrapper formatter. + * + * Available variables: + * - attributes: Iframe attributes. + * + * @ingroup themeable + */ +#} + +{{ attach_library('ocha_powerbi/powerbi-responsive-iframe') }} +
+ +
diff --git a/html/themes/custom/common_design_subtheme/components/uno-section-tabs/uno-section-tabs.js b/html/themes/custom/common_design_subtheme/components/uno-section-tabs/uno-section-tabs.js index 7d040a38..affb64f2 100644 --- a/html/themes/custom/common_design_subtheme/components/uno-section-tabs/uno-section-tabs.js +++ b/html/themes/custom/common_design_subtheme/components/uno-section-tabs/uno-section-tabs.js @@ -89,9 +89,12 @@ }); // Initially activate the first tab and reveal the first tab panel. - tabs[0].removeAttribute('tabindex'); - tabs[0].setAttribute('aria-selected', 'true'); - panels[0].hidden = false; + for (var tab of tabs) { + tab.removeAttribute('tabIndex'); + tab.setAttribute('aria-selected', 'true'); + panels[0].hidden = false; + break; + } }; // Enhance tabbed sections. diff --git a/html/themes/custom/common_design_subtheme/package-lock.json b/html/themes/custom/common_design_subtheme/package-lock.json index 9d0d9166..f093acea 100644 --- a/html/themes/custom/common_design_subtheme/package-lock.json +++ b/html/themes/custom/common_design_subtheme/package-lock.json @@ -3400,12 +3400,12 @@ "dev": true }, "node_modules/axios": { - "version": "1.6.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", - "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", + "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", "dev": true, "dependencies": { - "follow-redirects": "^1.15.4", + "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -14755,12 +14755,12 @@ "dev": true }, "axios": { - "version": "1.6.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", - "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", + "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", "dev": true, "requires": { - "follow-redirects": "^1.15.4", + "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml index 94ae3c68..c0e1d418 100644 --- a/tests/docker-compose.yml +++ b/tests/docker-compose.yml @@ -1,12 +1,12 @@ -version: "2.2" +name: unocha-test networks: default: volumes: - unocha-test-site-database: - unocha-test-site-public: - unocha-test-site-private: + site-database: + site-public: + site-private: services: memcache: @@ -29,7 +29,7 @@ services: - MYSQL_USER=unocha - MYSQL_PASS=unocha volumes: - - "unocha-test-site-database:/var/lib/mysql:rw" + - "site-database:/var/lib/mysql:rw" networks: - default @@ -45,8 +45,8 @@ services: # Mount config. - "../config:/srv/www/config:rw" # Mount volumes for the private and public files. - - "unocha-test-site-public:/srv/www/html/sites/default/files:rw" - - "unocha-test-site-private:/srv/www/html/sites/default/private:rw" + - "site-public:/srv/www/html/sites/default/files:rw" + - "site-private:/srv/www/html/sites/default/private:rw" # Mount the folders needed for the tests. - "../phpcs.xml:/srv/www/phpcs.xml:ro" - "../phpunit.xml:/srv/www/phpunit.xml:ro"