aboutsummaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Fix seeds to work with new schemaPetteri Räty2011-03-134-20/+25
|
* Preserve existing categoriesPetteri Räty2011-03-121-0/+3
| | | | | When migrating to many to many question categories bring over the existing category information.
* Questions can belong to many categoriesPetteri Räty2011-03-122-3/+29
| | | | | | | 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-126-35/+64
| | | | | | 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.
* Start tracking migrationsJoachim Filip Ignacy Bartosik2010-12-153-6/+182
| | | | | | | Migrations are useful for applications that are working, so we shall track them. Includes initial migrations. Removes app/models/job.rb because it caused problems for hobo_migration generator.
* Email answers allow checking signaturesJoachim Filip Ignacy Bartosik2010-12-021-4/+5
| | | | | Use Mail gem for receiving emails. Changed fixture email question to require a valid signature. Tests for signatures validation.
* Send emails as delayed jobJoachim Filip Ignacy Bartosik2010-11-091-1/+14
|
* Alternative login with openIDJoachim Filip Ignacy Bartosik2010-08-111-1/+2
|
* Bugfix - previous commit was tested unproperly and introduced some bugsJoachim Filip Ignacy Bartosik2010-08-092-3/+3
| | | | | | Answer can't enforce :null=>false on content field of answer because when user answers multiple choice question and selects no options his/her answer will have empty content field.
* Add :null => false to required fields and relations in models.Joachim Filip Ignacy Bartosik2010-08-051-18/+18
|
* Email questionsJoachim Filip Ignacy Bartosik2010-07-293-1/+32
| | | | | | Also make sure users can answer questions with multiple and text content and can't answer email questions within application. Added "Gentoo-dev-announce posting" question to seed
* Rake task prepare:lead_dataJoachim Filip Ignacy Bartosik2010-07-291-1/+2
| | | | | The task fetches Gentoo project leads data from gentoo.org and stores it in tmp/lead_data.yml
* Empty lines improving readabilityJoachim Filip Ignacy Bartosik2010-07-271-4/+4
|
* Improved readability of ProjectAcceptance modelJoachim Filip Ignacy Bartosik2010-07-271-2/+2
| | | | | Replaced logic expressions with return-ifs. Changed one function to named scope
* Allow recruits to give feedback on documentation + tiny bug fixJoachim Filip Ignacy Bartosik2010-07-271-2/+3
| | | | | | A tiny bug (missing try) was discovered when making this commit: multiple choice question with no options could not be displayed. This commit fixes the bug.
* Validate that mentors have been Gentoo developers long enoughJoachim Filip Ignacy Bartosik2010-07-231-0/+3
| | | | Configuration for that check is stored in config/config.yml
* Use markdown in seedJoachim Filip Ignacy Bartosik2010-07-201-22/+22
|
* Allow to configure domain for emails of seed usersJoachim Filip Ignacy Bartosik2010-07-192-7/+12
|
* Add an example multiple choice question to seedJoachim Filip Ignacy Bartosik2010-07-122-0/+16
|
* Multiple choice questionsJoachim Filip Ignacy Bartosik2010-07-123-8/+44
|
* Users can view descriptions of question groupsJoachim Filip Ignacy Bartosik2010-07-121-3/+4
| | | | Added index of question groups (supports filtering by category).
* Added a group of alternative questions to seedJoachim Filip Ignacy Bartosik2010-07-122-1/+41
| | | | Example of alternative questions from Betelgeuse.
* User may view and answer only one randomly chosen question from groupJoachim Filip Ignacy Bartosik2010-07-121-1/+19
| | | | | | When adding user to category associate user with one question from each group in this category. Feature to make sure question listings are correct.
* Allow users to suggest questionsJoachim Filip Ignacy Bartosik2010-07-081-4/+7
|
* Users can list their contributions, mentors can find for recruits with no mentorJoachim Filip Ignacy Bartosik2010-06-251-6/+7
|
* Rewrite seed to make it cleanerJoachim Filip Ignacy Bartosik2010-06-253-119/+180
| | | | Questions and users data moved to external YAML files.
* Project acceptancesJoachim Filip Ignacy Bartosik2010-06-251-1/+11
| | | | | User has many project acceptances. Project acceptance can be marked as accepted only by user with proper nick.
* Added nick to user modelJoachim Filip Ignacy Bartosik2010-06-252-7/+9
| | | | Nicks must be unique. Mentors and recruiters must have nicks.
* Support for mentor commentsJoachim Filip Ignacy Bartosik2010-06-242-1/+20
| | | | | | | Generated Comment model and CommentsController. Added relation (answer has many comments, comment belongs to answer). Added email notification when new comment is created. This commit includes also schema change and tests.
* Seed with user with some unanswered questions.Joachim Filip Ignacy Bartosik2010-06-241-0/+7
|
* Mentors can approve and disapprove answersJoachim Filip Ignacy Bartosik2010-06-082-14/+17
| | | | | | Answer approved status can be changed by mentor of answers owner. When owner of answer changes answer it must be saved as unapproved. Added approved answers to seed.
* Answer can be marked as referenceJoachim Filip Ignacy Bartosik2010-06-082-1/+9
| | | | | Only recruiters can create, update, edit, destroy reference answers. Only one reference answer per question is allowed.
* Some useful seed.Joachim Filip Ignacy Bartosik2010-06-081-7/+120
|
* Recruit belongs to mentor.Joachim Filip Ignacy Bartosik2010-05-241-1/+3
|
* Permissions for answersJoachim Filip Ignacy Bartosik2010-05-211-1/+3
| | | | | | And tests for permissions them. Any logged in user can create, update, view, delete answers [s]he owns. No one can change answers someone else owns. Recruiters can view all answers.
* User has and belongs to many categoriesJoachim Filip Ignacy Bartosik2010-05-211-1/+11
|
* Generated answer modelJoachim Filip Ignacy Bartosik2010-05-211-1/+10
| | | | Answer belongs to question.
* Generated Question and QuestionCategory models.Joachim Filip Ignacy Bartosik2010-05-211-1/+18
| | | | Question belongs to QuestionCategory.
* Added rolesJoachim Filip Ignacy Bartosik2010-05-211-0/+31
| | | | | Role is a separate model. User is invalid if is non-recruiter administrator. Administrators can change role of anybody. No one else can change anybody's role.
* Initial commit - web app created by `hobo`, .gitignore, README.Joachim Filip Ignacy Bartosik2010-05-181-0/+7