| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Fix bug:
https://bugs.gentoo.org/show_bug.cgi?id=368185
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Use Mail gem for receiving emails. Changed fixture email question to require a
valid signature. Tests for signatures validation.
|
|
|
|
|
| |
Charts are shown only to recruiters on questions show pages, but other
users may view charts directly (by entering URL manually).
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
MySQL did not like some of our hand written SQL. Rewrote the parts
so that tests pass on both PostgreSQL and MySQL. Changes in
multiple choice setup in features are because the messy way we do
things didn't work on MySQL. A cleanup of the steps is called for later.
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Only recruiters and project leads can create project acceptances.
Recruiters do this by editing users, project leads by clicking "This
recruit needs your acceptance" button on recruit show pages.
|
|
|
|
| |
Necessary fixes included.
|
|
|
|
|
| |
Feature for viewing answers of recruits. To make the feature work
extended card for Answers.
|
|
|
|
|
|
| |
Once recruit answered all multiple choice answers [s]he is supposed to
[s]he will see message on home page telling if his/her answers are
correct.
|
| |
|
|
|
|
| |
Added index of question groups (supports filtering by category).
|
|
|
|
|
|
| |
When adding user to category associate user with one question from each
group in this category. Feature to make sure question listings are
correct.
|
| |
|
|
|
|
|
| |
User has many project acceptances. Project acceptance can be marked as
accepted only by user with proper nick.
|
|
|
|
| |
Nicks must be unique. Mentors and recruiters must have nicks.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Includes Cucumber scenario for feature that exists already: view listing
of unanswered questions.
|
|
|
|
|
| |
Cucumber steps and path helpers needed to write features for existing
code. Separate commit because multiple feature branches need this.
|
|
|