| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The EmailAddress problem was submitted upstream to hobo.
|
|
|
|
|
|
| |
Fix bug:
https://bugs.gentoo.org/show_bug.cgi?id=355909
|
|
|
|
|
|
| |
Fix bug:
https://bugs.gentoo.org/show_bug.cgi?id=355721
|
|
|
|
|
|
| |
Fix bug:
https://bugs.gentoo.org/show_bug.cgi?id=355723
|
| |
|
| |
|
|
|
|
|
|
|
| |
The application showed (Not available) card when someone viewed answer
for question with no reference answer. Then the reference answer was
nil. Anyone could view nil, but it was shown as (Not available) card. Fix bug:
https://bugs.gentoo.org/show_bug.cgi?id=368179
|
|
|
|
|
| |
Fix bug:
https://bugs.gentoo.org/show_bug.cgi?id=356847
|
|
|
|
|
| |
Bug
https://bugs.gentoo.org/show_bug.cgi?id=368617
|
|
|
|
|
| |
Fix bug:
https://bugs.gentoo.org/show_bug.cgi?id=368185
|
|
|
|
|
|
| |
Recruits who don't have any categories should not be considered ready.
There's plenty people signing and not answering anything so they should
not be listed. Fixes bug #355717.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Removed unnecessary check if user is signed up from Question#view_permitted?
Behaviour didn't change.
|
|
|
|
|
|
| |
* Don't allow mentor of owner of answer to destroy it
* Add test to make sure project lead can create acceptance only if accepting
nick is nick of the lead
|
| |
|
|
|
|
| |
Permissions and RichTypes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Documented models:
Answer
Comment
EmailAnswer
Guest
MultipleChoiceAnswer
Option
Question
QuestionCategory
QuestionContentEmail
QuestionContentMultipleChoice
QuestionContentText
QuestionGroup
User
UserCategory
UserQuestionGroup
|
|
|
|
|
| |
I defined view_permitted not view_permitted? so the function was
ignored.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Found bugs:
- User#any_pending_project_acceptances? was returning true even if all
acceptances were already accepted
- User#answered_all_multi_choice_questions? didn't work with grouped
multiple choice questions
Side note : scopes in Question need cleaning (eg. unanswered should just
select unanswered questions (not unanswered and grouped like it does now))
|
|
|
|
|
|
|
| |
And fix bugs found when adding tests:
- Answer#view_permitted? was broken when owner was nil
- Answer#wrong_answers_of was returning answers for non-multiple
choice questions if they didn't match reference answers.
|
| |
|
| |
|
|
|
|
|
| |
This is available only during registration because users can set their
openids freely after they have registered.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Previously mentors were allowed to edit feedback but they weren't allowed
to update answer with changed feedback.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Necessary fixes included.
|
| |
|
|
|
|
| |
Changes needed to pass features included.
|