Skip to content

Commit

Permalink
Merge pull request #243 from openeuropa/OEL-2861
Browse files Browse the repository at this point in the history
OEL-2861: Update oe_oembed to latest minor.
  • Loading branch information
brummbar authored Mar 18, 2024
2 parents 9909ab6 + 1f91c70 commit 82fc1e5
Show file tree
Hide file tree
Showing 70 changed files with 730 additions and 708 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"openeuropa/oe_dashboard_agent": "^1.0.0",
"openeuropa/oe_list_pages": "^1.0",
"openeuropa/oe_multilingual": "^1.14",
"openeuropa/oe_oembed": "^0.7.0",
"openeuropa/oe_oembed": "^0.10",
"openeuropa/oe_paragraphs": "^1.21",
"openeuropa/oe_starter_content": "^1.2.0",
"openeuropa/oe_subscriptions": "^1.0@alpha",
Expand Down
1,270 changes: 641 additions & 629 deletions composer.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase_contact_forms\ExistingSite;

Expand Down
2 changes: 1 addition & 1 deletion modules/oe_showcase_fields/oe_showcase_fields.install
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Install file.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\oe_bootstrap_theme\ConfigImporter;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* OpenEuropa Showcase Fields post updates.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\oe_bootstrap_theme\ConfigImporter;

Expand Down
2 changes: 1 addition & 1 deletion modules/oe_showcase_glossary/oe_showcase_glossary.module
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* OE Showcase Glossary module.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\oe_showcase_glossary\GlossaryViewHooks;
use Drupal\views\Plugin\views\query\QueryPluginBase;
Expand Down
2 changes: 1 addition & 1 deletion modules/oe_showcase_glossary/src/GlossaryViewHooks.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\oe_showcase_glossary;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase_glossary\ExistingSite;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* OE Showcase list pages module.
*/

declare(strict_types = 1);
declare(strict_types=1);

/**
* Implements hook_form_FORM_ID_alter().
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* OE Showcase List pages post updates.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\oe_bootstrap_theme\ConfigImporter;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\oe_showcase_list_pages\EventSubscriber;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase_list_pages\ExistingSiteJavascript;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* OE Showcase multilingual module.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\block\Entity\Block;
use Drupal\Core\Access\AccessResult;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase_multilingual\ExistingSiteJavascript;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase_multilingual\ExistingSiteJavascript;

Expand Down
2 changes: 1 addition & 1 deletion modules/oe_showcase_page/oe_showcase_page.install
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Install and update functions for the OE Showcase Page module.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\oe_bootstrap_theme\ConfigImporter;

Expand Down
2 changes: 1 addition & 1 deletion modules/oe_showcase_page/oe_showcase_page.module
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* OE Showcase Page module.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\Core\Form\FormStateInterface;

Expand Down
2 changes: 1 addition & 1 deletion modules/oe_showcase_page/oe_showcase_page.post_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* OpenEuropa Showcase Page post updates.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\field\Entity\FieldConfig;

Expand Down
4 changes: 2 additions & 2 deletions modules/oe_showcase_page/tests/src/ExistingSite/PageTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase_page\ExistingSite;

Expand Down Expand Up @@ -480,7 +480,7 @@ public function testCreatePage() {
'label' => 'Link 2',
'path' => 'https://www.example2.com',
],
'image' => '<img src="//ec.europa.eu/avservices/avs/files/video6/repository/prod/photo/store/store2/1/P039321-615406.jpg" alt="Visit by Federica Mogherini, Vice-President of the EC, and Johannes Hahn, Member of the EC, to Romania" class="d-block w-100">',
'image' => '<img src="https://ec.europa.eu/avservices/avs/files/video6/repository/prod/photo/store/store2/1/P039321-615406.jpg" alt="Visit by Federica Mogherini, Vice-President of the EC, and Johannes Hahn, Member of the EC, to Romania" class="d-block w-100">',
],
],
];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase_page\ExistingSiteJavascript;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* OE Showcase Search post updates.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\block\Entity\Block;
use Drupal\oe_bootstrap_theme\ConfigImporter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase_search\ExistingSite;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase_search\ExistingSiteJavascript;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Install and update functions for the OE Showcase Subscriptions module.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\oe_bootstrap_theme\ConfigImporter;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* The OpenEuropa Showcase User Profile installation file.
*/

declare(strict_types = 1);
declare(strict_types=1);

/**
* Implements hook_install().
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Showcase user profile module.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Session\AccountInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* OpenEuropa Showcase User profile post updates.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\field\Entity\FieldConfig;
use Drupal\oe_bootstrap_theme\ConfigImporter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\oe_showcase_user_profile\EventSubscriber;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\oe_showcase_user_profile\Plugin\ConceptSubset;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase_user_profile\ExistingSite;

Expand Down
2 changes: 1 addition & 1 deletion oe_showcase.install
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Install file.
*/

declare(strict_types = 1);
declare(strict_types=1);

/**
* Implements hook_post_updates_alter().
Expand Down
12 changes: 11 additions & 1 deletion oe_showcase.post_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* OpenEuropa Showcase post updates.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\block\Entity\Block;
use Drupal\Core\Config\FileStorage;
Expand Down Expand Up @@ -863,3 +863,13 @@ function oe_showcase_post_update_00037(): void {
->grantPermission('unflag subscribe_node')
->save();
}

/**
* Update the Media AV Portal URIs to include HTTPS.
*/
function oe_showcase_post_update_00038(): void {
$config = \Drupal::configFactory()->getEditable('media_avportal.settings');
$config->set('iframe_base_uri', 'https://ec.europa.eu/avservices/play.cfm');
$config->set('photos_base_uri', 'https://ec.europa.eu/avservices/avs/files/video6/repository/prod/photo/store/');
$config->save();
}
2 changes: 1 addition & 1 deletion src/AllowedFormats.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\oe_showcase;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Contains post update functions.
*/

declare(strict_types = 1);
declare(strict_types=1);

/**
* Empty post update method.
Expand Down
2 changes: 1 addition & 1 deletion tests/modules/z_module/z_module.post_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* EWCMS Updates post updates.
*/

declare(strict_types = 1);
declare(strict_types=1);

/**
* Empty post update method.
Expand Down
2 changes: 1 addition & 1 deletion tests/src/ExistingSite/AuthorisationTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase\ExistingSite;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/ExistingSite/CookieConsentTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase\ExistingSite;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/ExistingSite/EULoginTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase\ExistingSite;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/ExistingSite/EventTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase\ExistingSite;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/ExistingSite/LegacyAllowedFormatsTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase\ExistingSite;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/ExistingSite/ManageMenuItemsTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase\ExistingSite;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/ExistingSite/ManageSiteSpecificFooterTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase\ExistingSite;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/ExistingSite/MediaAccessTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase\ExistingSite;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/ExistingSite/NewsTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase\ExistingSite;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/ExistingSite/PersonTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_showcase\ExistingSite;

Expand Down
Loading

0 comments on commit 82fc1e5

Please sign in to comment.