| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The new question form was missing the inputs for categories. There are
now there and covered by our test suite.
|
|
|
|
|
|
|
| |
While starting to input quiz questions for the arch tester quizzes we
found out that it would be best if questions could belong to many
categories. Now the relationship between questions and categories is
many to many. Bug #356179.
|
|
|
|
|
|
| |
We have a need for a many to many between questions and categories so
start the work by renaming QuestionCategory to just Category. This
allows us to add a pivot model with the name QuestionCategory.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Documented models:
Answer
Comment
EmailAnswer
Guest
MultipleChoiceAnswer
Option
Question
QuestionCategory
QuestionContentEmail
QuestionContentMultipleChoice
QuestionContentText
QuestionGroup
User
UserCategory
UserQuestionGroup
|
| |
|
| |
|
|
|
|
| |
Added index of question groups (supports filtering by category).
|
|
|
|
| |
Question and QuestionCategory models allow changing only for administrators.
|
| |
|
| |
|
|
|
|
| |
With tests for them.
|
|
|
|
|
|
|
|
| |
Created Permissions::AnyoneCanViewRecruiterCanChange module and used it
to add permissions for Question and QuestionCategory models.Added
Permissions::TestPermissions module and used it to tests
permissions for Question and QuestionCategoryfor Created users fixture
tests for User and Question now use fixture.
|
|
Question belongs to QuestionCategory.
|