Skip to content

Commit

Permalink
Version 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bihor committed Sep 11, 2023
1 parent 658ebf5 commit 332a3c8
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Classes/Domain/Repository/SelectedRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function deleteByParticipantAndQuestion($participantId, $questionId)
->select('uid')
->from($table)
->where(
$queryBuilder->expr()->andX(
$queryBuilder->expr()->and(
$queryBuilder->expr()->eq('participant', $queryBuilder->createNamedParameter($participantId, \PDO::PARAM_INT)),
$queryBuilder->expr()->eq('question', $queryBuilder->createNamedParameter($questionId, \PDO::PARAM_INT))
)
Expand Down
2 changes: 1 addition & 1 deletion Classes/Updates/FixImageReferencesUpgradeWizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class FixImageReferencesUpgradeWizard implements UpgradeWizardInterface, R
*/
public function getIdentifier(): string
{
return 'fpmasterquiz_fiximagereferences';
return 'fixImageReferencesFpQuiz';
}

/**
Expand Down
1 change: 0 additions & 1 deletion Configuration/TypoScript/constants.ts

This file was deleted.

1 change: 0 additions & 1 deletion Configuration/TypoScript/setup.ts

This file was deleted.

7 changes: 6 additions & 1 deletion Documentation/ChangeLog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,9 @@ ChangeLog
4.0:
Breaking: all plugins must be changed via an update-script (in the install-tool)!
TypoScript module.tx_fpmasterquiz_web_fpmasterquizmod1 changed to module.tx_fpmasterquiz
Note for the Ajax-version: maybe you need to change the value of "ajaxfpmasterquiz_page.10.pluginName"
Note for the Ajax-version: maybe you need to change the value of "ajaxfpmasterquiz_page.10.pluginName"

Changes in version 4.1:
TypoScript-files renamed from .ts to .typoscript
Prevent PHP and JavaScript errors from missing settings
Upgrade Wizard for old file references
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# fp_masterquiz

version 4.0.2
version 4.1.0

TYPO3 extension to create a quiz, poll or test. The participant result will be saved in the DB too and can be deleted automatically via Scheduler.

Expand Down Expand Up @@ -39,4 +39,9 @@ Changes in version 3.7.1:
Changes in version 4.0:
- Breaking: all plugins must be changed via an update-script (in the install-tool)!
- TypoScript module.tx_fpmasterquiz_web_fpmasterquizmod1 changed to module.tx_fpmasterquiz
- Note for the Ajax-version: maybe you need to change the value of "ajaxfpmasterquiz_page.10.pluginName"
- Note for the Ajax-version: maybe you need to change the value of "ajaxfpmasterquiz_page.10.pluginName"

Changes in version 4.1:
- TypoScript-files renamed from .ts to .typoscript
- Prevent PHP and JavaScript errors from missing settings
- Upgrade Wizard for old file references
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'state' => 'stable',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '4.0.3',
'version' => '4.1.0',
'constraints' => [
'depends' => [
'typo3' => '12.4.0-12.4.99',
Expand Down
2 changes: 1 addition & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function()
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['switchableControllerActionsPluginUpdaterFpQuiz']
= \Fixpunkt\FpMasterquiz\Updates\SwitchableControllerActionsPluginUpdater::class;
// Fix faulty image references
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['fpmasterquiz_fiximagereferences']
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['fixImageReferencesFpQuiz']
= \Fixpunkt\FpMasterquiz\Updates\FixImageReferencesUpgradeWizard::class;
}
);

0 comments on commit 332a3c8

Please sign in to comment.