Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 8.12.0 #387

Merged
merged 13 commits into from
Oct 19, 2023
45 changes: 45 additions & 0 deletions migrations/Version202310091022361465_qtiItemPci.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php

declare(strict_types=1);

namespace oat\qtiItemPci\migrations;

use Doctrine\DBAL\Schema\Schema;
use oat\tao\scripts\tools\migrations\AbstractMigration;
use Doctrine\Migrations\Exception\IrreversibleMigration;
use oat\qtiItemPci\model\IMSPciModel;
use oat\qtiItemPci\scripts\install\RegisterIMSPciAudioRecording;

/**
* Auto-generated Migration: Please modify to your needs!
*
* phpcs:add autostart metadata on dealy to Audio event log
*/
final class Version202310091022361465_qtiItemPci extends AbstractMigration
{

public function getDescription(): string
{
return 'Update Audio Recording PCI: add autostart metadata on dealy to event log';
}

public function up(Schema $schema): void
{
$registry = (new IMSPciModel())->getRegistry();
$this->addReport(
$this->propagate(
new RegisterIMSPciAudioRecording()
)(
['1.2.1']
)
);

}

public function down(Schema $schema): void
{
throw new IrreversibleMigration(
'In order to undo this migration, please revert the client-side changes and run ' . RegisterIMSPciAudioRecording::class
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"label": "Audio recording",
"short": "Audio",
"description": "Allow test taker to record audio",
"version": "1.2.0",
"version": "1.2.1",
"author": "Christophe Noël",
"email": "christophe@taotesting.com",
"tags": ["audio"],
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ define([
self.playRecording();
dispatchInteractiontraceEvent({
domEventType: 'play',
auto: true
autostart: true
});
}
if (self.beepPlayer && self.beepPlayer.getIsPlayingEndSound()) {
Expand Down Expand Up @@ -582,7 +582,7 @@ define([
this.startRecording();
dispatchInteractiontraceEvent({
domEventType: 'record',
auto: true
autostart: true
});
return;
}
Expand Down Expand Up @@ -628,7 +628,8 @@ define([
self.startRecording();
dispatchInteractiontraceEvent({
domEventType: 'record',
delay: self.getDelayInSeconds(),
autostart: true,
delay: self.getDelayInSeconds()
});
}, self.getDelayInSeconds() * 1000);
});
Expand Down Expand Up @@ -1009,7 +1010,7 @@ define([
self.startRecording();
dispatchInteractiontraceEvent({
domEventType: 'record',
auto: true
autostart: true
});
}
}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading