-
Notifications
You must be signed in to change notification settings - Fork 985
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev #17350: Question theme should be a separate database column, not …
…an attribute (#1933) * Dev #17350: Question theme should be a separate database column, not an attribute * Dev #17350: Question theme should be a separate database column, not an attribute - Fix update process - Add relation to Question model * Dev #17350: Question theme should be a separate database column, not an attribute - Fixed 'createFieldMap' * Dev #17350: Question theme should be a separate database column, not an attribute - Updated QuestionAttribute::getQuestionTemplateValue() - Stop using QuestionAttribute::getQuestionTemplateValue() on QuestionAdministrationController - Added 'core()' scope to QuestionTheme (to filter only core/base themes) * Dev #17350: Question theme should be a separate database column, not an attribute - Updated QuestionAttribute::addAdditionalAttributesFromExtendedTheme() * Dev #17350: Question theme should be a separate database column, not an attribute - Updated QuestionTemplate::getQuestionTemplateFolderName() * Dev #17350: Question theme should be a separate database column, not an attribute - Update QuestionTheme::uninstall() * Dev #17350: Question theme should be a separate database column, not an attribute - Updated QuestionAttributeHelper * Dev #17350: Question theme should be a separate database column, not an attribute - Fix question create/edit - Fix update process to include user settings - Stop using "core" as question theme name (use the real name) * Dev #17350: Question theme should be a separate database column, not an attribute - Fixed formatting on updatedb_helper * Dev #17350: Question theme should be a separate database column, not an attribute - Deprecated QuestionAttribute::getQuestionTemplateValue() - Fixed message from QuestionTheme::uninstall() mixing 'question type' and 'question theme' * Dev #17350: Question theme should be a separate database column, not an attribute - Don't throw exception on findQuestionMetaData() when question theme name is empty * Dev #17350: Question theme should be a separate database column, not an attribute - Remove 'core' default value for question_theme_name on several functions - Rename scope for base themes - Replace question_theme relation on Question model for a getQuestionTheme() method - Change how findQuestionMetaData handles the theme base themes * Dev #17350: Question theme should be a separate database column, not an attribute - Fix wrong test * Dev #17350: Question theme should be a separate database column, not an attribute - Keep the question theme 'cached' on Question model * Dev #17350: Question theme should be a separate database column, not an attribute - Replace usage of findQuestionMetaData() on 'create.php' view in favor of ->getQuestionTheme() * Dev #17350: Question theme should be a separate database column, not an attribute - Revert commit 3ad22b5 which included wrong files * Dev #17350: Question theme should be a separate database column, not an attribute - Fix wrong test * Dev #17350: Question theme should be a separate database column, not an attribute - Add test for Question::getQuestionTheme() * Dev #17350: Question theme should be a separate database column, not an attribute - Fix error on QuestionCreate * Dev #17350: Question theme should be a separate database column, not an attribute - Use getRelated() on Question::getQuestionTheme() - Fix update procedure - Fix QuestionTheme::getDecodedSettings() * Dev #17350: Question theme should be a separate database column, not an attribute - Remove test for retrieving the proper question theme when no theme name is set * Dev #17350: Question theme should be a separate database column, not an attribute - Try to fix the tests * Dev #17350: Question theme should be a separate database column, not an attribute - Try to fix the tests Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
- Loading branch information
1 parent
3b82b14
commit c56c388
Showing
22 changed files
with
318 additions
and
146 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
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
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
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
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
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
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
Oops, something went wrong.