-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
83 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace oat\pciSamples\migrations; | ||
|
||
use Doctrine\DBAL\Schema\Schema; | ||
use Doctrine\Migrations\Exception\IrreversibleMigration; | ||
use oat\pciSamples\scripts\install\RegisterPciTextReaderIMS; | ||
use oat\pciSamples\scripts\install\RegisterPciTextReaderOAT; | ||
use oat\tao\scripts\tools\migrations\AbstractMigration; | ||
|
||
/** | ||
* Auto-generated Migration: Please modify to your needs! | ||
* | ||
* phpcs:disable Squiz.Classes.ValidClassName | ||
*/ | ||
final class Version202407021254084106_pciSamples extends AbstractMigration | ||
{ | ||
public function getDescription(): string | ||
{ | ||
return 'Add target "_blank" to any HTML anchors of Text Reader interaction'; | ||
} | ||
|
||
public function up(Schema $schema): void | ||
{ | ||
$this->runAction(new RegisterPciTextReaderOAT(), ['0.9.2']); | ||
$this->runAction(new RegisterPciTextReaderIMS(), ['1.2.2']); | ||
} | ||
|
||
public function down(Schema $schema): void | ||
{ | ||
throw new IrreversibleMigration( | ||
sprintf( | ||
'In order to undo this migration, please revert the client-side changes and run "%s" and "%s"', | ||
RegisterPciTextReaderIMS::class, | ||
RegisterPciTextReaderOAT::class | ||
) | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"typeIdentifier": "textReaderInteraction", | ||
"label": "Text reader", | ||
"description": "The Paging widget combines a scrolling widget with additional paging controls.", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"author": "Aleh Hutnikau", | ||
"email": "[email protected]", | ||
"tags": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
views/js/pciCreator/dev/textReaderInteraction/runtime/textReaderInteraction.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
views/js/pciCreator/dev/textReaderInteraction/runtime/textReaderInteraction.min.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"typeIdentifier": "textReaderInteraction", | ||
"label": "Text reader", | ||
"description": "The Paging widget combines a scrolling widget with additional paging controls.", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"author": "Aleh Hutnikau", | ||
"email": "[email protected]", | ||
"tags": [ | ||
|
2 changes: 1 addition & 1 deletion
2
views/js/pciCreator/ims/textReaderInteraction/imsPciCreator.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
views/js/pciCreator/ims/textReaderInteraction/imsPciCreator.min.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
views/js/pciCreator/ims/textReaderInteraction/runtime/textReaderInteraction.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
views/js/pciCreator/ims/textReaderInteraction/runtime/textReaderInteraction.min.js.map
Large diffs are not rendered by default.
Oops, something went wrong.