diff --git a/composer.json b/composer.json index 060f7a9919f46927c6c07fb188e416422f0f9f90..18de7ed2e0ad620476cb17cc960d536abdbf9880 100644 --- a/composer.json +++ b/composer.json @@ -172,7 +172,7 @@ "drupal/twig_tweak": "2.4", "drupal/twitter_block": "3.0-alpha0", "drupal/userprotect": "1.0", - "drupal/video_embed_field": "2.2", + "drupal/video_embed_field": "2.3", "drupal/view_unpublished": "1.0-alpha1", "drupal/views_accordion": "1.1", "drupal/views_ajax_history": "1.2", diff --git a/composer.lock b/composer.lock index d61ecec2e4de52403765ecb1502ee21a79360550..887d9cf9207dbf3c3864abf78e12028128ccad8b 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": "8086d330dc9c96db5ffdc91d54b984b5", + "content-hash": "23e954f836631a163d4f0751ea02133a", "packages": [ { "name": "alchemy/zippy", @@ -6093,7 +6093,8 @@ "homepage": "https://www.drupal.org/project/migrate_devel", "support": { "source": "http://cgit.drupalcode.org/migrate_devel" - } + }, + "time": "2017-06-25T23:46:13+00:00" }, { "name": "drupal/migrate_plus", @@ -7884,23 +7885,23 @@ }, { "name": "drupal/video_embed_field", - "version": "2.2.0", + "version": "2.3.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/video_embed_field.git", - "reference": "8.x-2.2" + "reference": "8.x-2.3" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/video_embed_field-8.x-2.2.zip", - "reference": "8.x-2.2", - "shasum": "1e76eeefb27f4166d3d119e8c27469bbf12c0f06" + "url": "https://ftp.drupal.org/files/projects/video_embed_field-8.x-2.3.zip", + "reference": "8.x-2.3", + "shasum": "d9b4b3bde48edf49d1aa038aae6736496558caf4" }, "require": { - "drupal/core": "^8.7.0" + "drupal/core": "^8.8 || ^9" }, "require-dev": { - "drupal/colorbox": "*", + "drupal/colorbox": "^1.0", "drupal/media_entity": "*", "drupal/media_entity_embeddable_video": "*", "drupal/video_embed_media": "*" @@ -7911,8 +7912,8 @@ "dev-2.x": "2.x-dev" }, "drupal": { - "version": "8.x-2.2", - "datestamp": "1564103585", + "version": "8.x-2.3", + "datestamp": "1584489966", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -9568,6 +9569,7 @@ "email": "jakub.onderka@gmail.com" } ], + "abandoned": "php-parallel-lint/php-console-color", "time": "2018-09-29T17:23:10+00:00" }, { @@ -9614,6 +9616,7 @@ } ], "description": "Highlight PHP code in terminal", + "abandoned": "php-parallel-lint/php-console-highlighter", "time": "2018-09-29T18:48:56+00:00" }, { diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 22958b8a224d302d08ed0bc3446eea3f48d23663..3f214fccd65185a7841c3e6111475e37aef817f2 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -8129,24 +8129,24 @@ }, { "name": "drupal/video_embed_field", - "version": "2.2.0", - "version_normalized": "2.2.0.0", + "version": "2.3.0", + "version_normalized": "2.3.0.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/video_embed_field.git", - "reference": "8.x-2.2" + "reference": "8.x-2.3" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/video_embed_field-8.x-2.2.zip", - "reference": "8.x-2.2", - "shasum": "1e76eeefb27f4166d3d119e8c27469bbf12c0f06" + "url": "https://ftp.drupal.org/files/projects/video_embed_field-8.x-2.3.zip", + "reference": "8.x-2.3", + "shasum": "d9b4b3bde48edf49d1aa038aae6736496558caf4" }, "require": { - "drupal/core": "^8.7.0" + "drupal/core": "^8.8 || ^9" }, "require-dev": { - "drupal/colorbox": "*", + "drupal/colorbox": "^1.0", "drupal/media_entity": "*", "drupal/media_entity_embeddable_video": "*", "drupal/video_embed_media": "*" @@ -8157,8 +8157,8 @@ "dev-2.x": "2.x-dev" }, "drupal": { - "version": "8.x-2.2", - "datestamp": "1564103585", + "version": "8.x-2.3", + "datestamp": "1584489966", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -9871,7 +9871,8 @@ "name": "Jakub Onderka", "email": "jakub.onderka@gmail.com" } - ] + ], + "abandoned": "php-parallel-lint/php-console-color" }, { "name": "jakub-onderka/php-console-highlighter", @@ -9919,7 +9920,8 @@ "homepage": "http://www.acci.cz/" } ], - "description": "Highlight PHP code in terminal" + "description": "Highlight PHP code in terminal", + "abandoned": "php-parallel-lint/php-console-highlighter" }, { "name": "league/container", diff --git a/web/modules/video_embed_field/composer.json b/web/modules/video_embed_field/composer.json index ad7fdca15dbe6d257632ff5eb9ab20362747ec87..d68064ed002238c76562170425d1b769b9233b55 100644 --- a/web/modules/video_embed_field/composer.json +++ b/web/modules/video_embed_field/composer.json @@ -3,5 +3,17 @@ "description": "A pluggable field type for storing videos from external video hosts such as Vimeo and YouTube.", "type": "drupal-module", "homepage": "https://www.drupal.org/project/video_embed_field", - "license": "GPL-2.0+" + "license": "GPL-2.0+", + "require": { + "drupal/core": "^8.8 || ^9" + }, + "repositories": { + "drupal": { + "type": "composer", + "url": "https://packages.drupal.org/8" + } + }, + "require-dev": { + "drupal/colorbox": "^1.0" + } } diff --git a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/oEmbedUpdateTest.php b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/oEmbedUpdateTest.php index 6ed942555a5f1f3ab501a40d364fb87a72c9028b..fdc2582521de8215d531bcb7db5b25fb752f9644 100644 --- a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/oEmbedUpdateTest.php +++ b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/oEmbedUpdateTest.php @@ -31,7 +31,10 @@ public function testOEmbedUpdate() { $sourceField = $mediaType->getSource()->getSourceFieldDefinition($mediaType); $this->assertEqual($sourceField->getType(), 'video_embed_field'); - $formDisplay = entity_get_form_display('media', $mediaType->id(), 'default'); + /** @var \Drupal\Core\Entity\EntityDisplayRepositoryInterface $display_repository */ + $display_repository = $this->container->get('entity_display.repository'); + + $formDisplay = $display_repository->getFormDisplay('media', $mediaType->id()); $formField = $formDisplay->getComponent($sourceField->getName()); $this->assertEqual($formField['type'], 'video_embed_field_textfield'); @@ -47,7 +50,7 @@ public function testOEmbedUpdate() { $sourceField = $mediaType->getSource()->getSourceFieldDefinition($mediaType); $this->assertEqual($sourceField->getType(), 'string'); - $formDisplay = entity_get_form_display('media', $mediaType->id(), 'default'); + $formDisplay = $display_repository->getFormDisplay('media', $mediaType->id()); $formField = $formDisplay->getComponent($sourceField->getName()); $this->assertEqual($formField['type'], 'oembed_textfield'); diff --git a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.info.yml b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.info.yml index b8a65a11f537e3a6d46b91612eaa3368b56a0b4a..4bb0a68e678e49adcc29fdba15a2e031350f1634 100644 --- a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.info.yml +++ b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.info.yml @@ -2,13 +2,12 @@ name: Video Embed Media - Migrate to core oEmbed type: module description: 'Provides a drush command to migrate to cores oEmbed' package: Video Embed Field -# core: 8.x +core_version_requirement: ^8.8 || ^9 dependencies: - drupal:media (>= 8.6) - video_embed_field:video_embed_media -# Information added by Drupal.org packaging script on 2019-07-26 -version: '8.x-2.2' -core: '8.x' +# Information added by Drupal.org packaging script on 2020-03-18 +version: '8.x-2.3' project: 'video_embed_field' -datestamp: 1564103587 +datestamp: 1584489968 diff --git a/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.info.yml b/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.info.yml index 42dd220d8a9ce2cd951f8d096f978a59205ca0d5..001d7c3ad55155de3241b2c0fd6d998d4f7ed46c 100644 --- a/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.info.yml +++ b/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.info.yml @@ -2,13 +2,12 @@ name: Video Embed Media type: module description: 'Integrates video_embed_field with the Media module, creating a new media type tailored to display embedded videos. Useful for websites which are using the media suite of modules.' package: Video Embed Field -# core: 8.x +core_version_requirement: ^8.8 || ^9 dependencies: - drupal:media (>= 8.4) - video_embed_field:video_embed_field -# Information added by Drupal.org packaging script on 2019-07-26 -version: '8.x-2.2' -core: '8.x' +# Information added by Drupal.org packaging script on 2020-03-18 +version: '8.x-2.3' project: 'video_embed_field' -datestamp: 1564103587 +datestamp: 1584489968 diff --git a/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.install b/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.install index 843637edfe844fd70c0c06c9a5d5e70b49f6d0be..144423bc1636863f313efafce233686f6c600b8e 100644 --- a/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.install +++ b/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.install @@ -18,7 +18,7 @@ function video_embed_media_install() { $destination = \Drupal::config('media.settings')->get('icon_base_uri'); $file_system->prepareDirectory($destination, FileSystemInterface::CREATE_DIRECTORY | FileSystemInterface::MODIFY_PERMISSIONS); - $files = file_scan_directory($icon_folder, '/.*\.(svg|png|jpg|jpeg|gif)$/'); + $files = $file_system->scanDirectory($icon_folder, '/.*\.(svg|png|jpg|jpeg|gif)$/'); foreach ($files as $file) { // We don't want to copy the icons when they already exist. The icons could // be placed manually, so we don't want to replace the existing files. diff --git a/web/modules/video_embed_field/modules/video_embed_wysiwyg/video_embed_wysiwyg.info.yml b/web/modules/video_embed_field/modules/video_embed_wysiwyg/video_embed_wysiwyg.info.yml index a2cb4b778c553be0552697816b6c810c7d68e89b..84e39fe66b45136e7298f5b8e0c2441e5cdcc636 100644 --- a/web/modules/video_embed_field/modules/video_embed_wysiwyg/video_embed_wysiwyg.info.yml +++ b/web/modules/video_embed_field/modules/video_embed_wysiwyg/video_embed_wysiwyg.info.yml @@ -2,14 +2,13 @@ name: Video Embed WYSIWYG type: module description: 'Integrates video_embed_field directly into ckeditor. Useful for websites not using the media suite of modules that need WYSIWYG support.' package: Video Embed Field -# core: 8.x +core_version_requirement: ^8.8 || ^9 dependencies: - drupal:field - drupal:ckeditor - video_embed_field:video_embed_field -# Information added by Drupal.org packaging script on 2019-07-26 -version: '8.x-2.2' -core: '8.x' +# Information added by Drupal.org packaging script on 2020-03-18 +version: '8.x-2.3' project: 'video_embed_field' -datestamp: 1564103587 +datestamp: 1584489968 diff --git a/web/modules/video_embed_field/tests/modules/video_embed_field_mock_provider/video_embed_field_mock_provider.info.yml b/web/modules/video_embed_field/tests/modules/video_embed_field_mock_provider/video_embed_field_mock_provider.info.yml index 9ebc61a57f4d926b87e1376424ddfc9e59741297..10c3538b9cad1c42ed24d57c754d55f0e8b0b482 100644 --- a/web/modules/video_embed_field/tests/modules/video_embed_field_mock_provider/video_embed_field_mock_provider.info.yml +++ b/web/modules/video_embed_field/tests/modules/video_embed_field_mock_provider/video_embed_field_mock_provider.info.yml @@ -3,10 +3,9 @@ description: A mock provider for testing purposes only. type: module hidden: true package: Testing -# core: 8.x +core: 8.x -# Information added by Drupal.org packaging script on 2019-07-26 -version: '8.x-2.2' -core: '8.x' +# Information added by Drupal.org packaging script on 2020-03-18 +version: '8.x-2.3' project: 'video_embed_field' -datestamp: 1564103587 +datestamp: 1584489968 diff --git a/web/modules/video_embed_field/tests/src/Kernel/KernelTestBase.php b/web/modules/video_embed_field/tests/src/Kernel/KernelTestBase.php index b86d36f8984deb28732d1c282d41470f4dd85f6f..3276290f875670f6cf506c3155a27a76b5d8d9d7 100644 --- a/web/modules/video_embed_field/tests/src/Kernel/KernelTestBase.php +++ b/web/modules/video_embed_field/tests/src/Kernel/KernelTestBase.php @@ -3,6 +3,7 @@ namespace Drupal\Tests\video_embed_field\Kernel; use Drupal\Core\Entity\Entity\EntityViewDisplay; +use Drupal\Core\File\FileSystemInterface; use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; use Drupal\KernelTests\KernelTestBase as CoreKernelTestBase; @@ -32,6 +33,7 @@ abstract class KernelTestBase extends CoreKernelTestBase { * @var array */ public static $modules = [ + 'colorbox', 'user', 'system', 'field', @@ -69,9 +71,6 @@ protected function setUp() { 'bundle' => $this->entityTypeId, ])->save(); - // Fake colorbox being enabled for the purposes of testing. - $this->container->get('module_handler')->addModule('colorbox', NULL); - // Use a HTTP mock which won't attempt to download anything. $this->container->set('http_client', new MockHttpClient()); diff --git a/web/modules/video_embed_field/video_embed_field.info.yml b/web/modules/video_embed_field/video_embed_field.info.yml index acd8ed9cd01e14eb3b239ff188de0766d3814081..04bdbb8ff0fd6c120342bf973571d4a28f90a183 100644 --- a/web/modules/video_embed_field/video_embed_field.info.yml +++ b/web/modules/video_embed_field/video_embed_field.info.yml @@ -2,19 +2,18 @@ name: Video Embed Field type: module description: 'Provides a field type for displaying videos from 3rd party providers such as YouTube and Vimeo.' package: Video Embed Field -# core: 8.x +core_version_requirement: ^8.8 || ^9 dependencies: - drupal:field - drupal:image - - drupal:system (>=8.7.0) + - drupal:system test_dependencies: - media_entity:media_entity - media_entity_embeddable_video:media_entity_embeddable_video - colorbox:colorbox -# Information added by Drupal.org packaging script on 2019-07-26 -version: '8.x-2.2' -core: '8.x' +# Information added by Drupal.org packaging script on 2020-03-18 +version: '8.x-2.3' project: 'video_embed_field' -datestamp: 1564103587 +datestamp: 1584489968