aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Categories are selectable for new questionsPetteri Räty2011-03-191-0/+2
| | | | | The new question form was missing the inputs for categories. There are now there and covered by our test suite.
* Questions can belong to many categoriesPetteri Räty2011-03-121-0/+27
| | | | | | | 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.
* Rename QuestionCategory to CategoryPetteri Räty2011-03-121-39/+0
| | | | | | 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.
* Add copyright notice to *.rb files under lib/ and app/Joachim Filip Ignacy Bartosik2010-09-011-0/+14
|
* Document modelsJoachim Filip Ignacy Bartosik2010-08-141-0/+4
| | | | | | | | | | | | | | | | | | | Documented models: Answer Comment EmailAnswer Guest MultipleChoiceAnswer Option Question QuestionCategory QuestionContentEmail QuestionContentMultipleChoice QuestionContentText QuestionGroup User UserCategory UserQuestionGroup
* Add :null => false to required fields and relations in models.Joachim Filip Ignacy Bartosik2010-08-051-1/+1
|
* Empty lines improving readabilityJoachim Filip Ignacy Bartosik2010-07-271-0/+1
|
* Users can view descriptions of question groupsJoachim Filip Ignacy Bartosik2010-07-121-0/+4
| | | | Added index of question groups (supports filtering by category).
* Permissions fix.Joachim Filip Ignacy Bartosik2010-05-281-1/+1
| | | | Question and QuestionCategory models allow changing only for administrators.
* Answered questions are marked.Joachim Filip Ignacy Bartosik2010-05-211-1/+1
|
* User has and belongs to many categoriesJoachim Filip Ignacy Bartosik2010-05-211-1/+3
|
* Validations for Question and QuestionCategory modelsJoachim Filip Ignacy Bartosik2010-05-211-0/+1
| | | | With tests for them.
* Permissions Question and QuestionCategory modelsJoachim Filip Ignacy Bartosik2010-05-211-17/+1
| | | | | | | | 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.
* Generated Question and QuestionCategory models.Joachim Filip Ignacy Bartosik2010-05-211-0/+29
Question belongs to QuestionCategory.