aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve coverage of QuestionContentText modelJoachim Filip Ignacy Bartosik2010-08-141-0/+13
|
* Improve coverage of QuestionContentMultipleChoiceJoachim Filip Ignacy Bartosik2010-08-141-0/+13
|
* Improve coverage of QuestionCategory modelJoachim Filip Ignacy Bartosik2010-08-141-0/+10
|
* Improve coverage of ProjectAcceptance model and fix found bugJoachim Filip Ignacy Bartosik2010-08-143-7/+65
| | | | | I defined view_permitted not view_permitted? so the function was ignored.
* Factory for guests to simplify testsJoachim Filip Ignacy Bartosik2010-08-142-0/+3
|
* Improve coverage of User model and fix found bugsJoachim Filip Ignacy Bartosik2010-08-142-2/+90
| | | | | | | | | | | 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))
* Improve Answer model tests coverageJoachim Filip Ignacy Bartosik2010-08-143-2/+117
| | | | | | | 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.
* Improve coverage of QuestionContentEmail modelJoachim Filip Ignacy Bartosik2010-08-143-6/+15
|
* Improve EmailAnswer model coverageJoachim Filip Ignacy Bartosik2010-08-142-0/+28
|
* Bugfix: spec for email answer was named improperly (and one test broke)Joachim Filip Ignacy Bartosik2010-08-111-1/+2
|
* Don't show input for mentors to users who can't edit itJoachim Filip Ignacy Bartosik2010-08-112-3/+7
|
* Recognize users that register using OpenID from dev.gentoo.org as mentorsJoachim Filip Ignacy Bartosik2010-08-112-0/+42
| | | | | This is available only during registration because users can set their openids freely after they have registered.
* If user is invalid only thing [s]he can do is editing his/her account.Joachim Filip Ignacy Bartosik2010-08-115-0/+33
|
* Alternative login with openIDJoachim Filip Ignacy Bartosik2010-08-1111-3/+95
|
* Content inside <content-body:> instead of <content:> on users/questions pageJoachim Filip Ignacy Bartosik2010-08-111-8/+4
|
* When collecting lead data collect include subproject leadsJoachim Filip Ignacy Bartosik2010-08-091-4/+25
|
* When obtaining lead data from gentoo.org use XPath to find nodes in XMLJoachim Filip Ignacy Bartosik2010-08-091-23/+1
|
* Bugfix - previous commit was tested unproperly and introduced some bugsJoachim Filip Ignacy Bartosik2010-08-095-11/+9
| | | | | | 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-0511-35/+35
|
* Run tests in prepared environment, don't load config.Joachim Filip Ignacy Bartosik2010-08-053-10/+7
|
* Change navigation tab Suggestion Questions to Suggest QuestionsJoachim Filip Ignacy Bartosik2010-08-053-3/+3
|
* Only owner can edit feedback of answerJoachim Filip Ignacy Bartosik2010-08-052-0/+17
| | | | | Previously mentors were allowed to edit feedback but they weren't allowed to update answer with changed feedback.
* Put content inside <content-body:> instead of <content:>Joachim Filip Ignacy Bartosik2010-08-057-12/+16
|
* Replace try with _? where possibleJoachim Filip Ignacy Bartosik2010-08-056-8/+8
|
* Remove unneeded try-sJoachim Filip Ignacy Bartosik2010-08-051-2/+2
|
* Add functions to Guest model to avoid try-sJoachim Filip Ignacy Bartosik2010-08-0512-37/+40
|
* Switch back to Rails 2.3.5Joachim Filip Ignacy Bartosik2010-08-051-1/+1
|
* Fix database configs to include all environmentsJoachim Filip Ignacy Bartosik2010-08-033-1/+12
|
* Improve indentation of database config for sqlite3Joachim Filip Ignacy Bartosik2010-08-031-15/+15
|
* Remove unused configuration entries from documentationJoachim Filip Ignacy Bartosik2010-08-021-3/+0
|
* Check if needed configuration entries are present on startupJoachim Filip Ignacy Bartosik2010-08-021-1/+66
|
* Rake prepare task to can prepare MySQL configurationJoachim Filip Ignacy Bartosik2010-08-023-2/+19
|
* Make tests pass on MySQLJoachim Filip Ignacy Bartosik2010-08-025-14/+16
| | | | | | | 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.
* Don't show questions with no contentJoachim Filip Ignacy Bartosik2010-07-292-5/+20
| | | | Necessary fixes included.
* Show instructions when creating new question email contentJoachim Filip Ignacy Bartosik2010-07-295-4/+18
|
* Cover editing questions content with cucumber featuresJoachim Filip Ignacy Bartosik2010-07-295-3/+42
| | | | Changes needed to pass features included.
* Notify users trying to answer email question if question wasn't recognisedJoachim Filip Ignacy Bartosik2010-07-295-2/+73
|
* Add ability to receive emails through HTTPPetteri Räty2010-07-291-0/+8
| | | | | ./script/runner is a bit slow as it loads the Rails env each time and it's also a bit of pain to setup permission wise for development.
* Email questionsJoachim Filip Ignacy Bartosik2010-07-2918-3/+383
| | | | | | 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
* Allow project leads to add Project Acceptances easilyJoachim Filip Ignacy Bartosik2010-07-296-5/+72
| | | | | | 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.
* Rake task prepare:lead_dataJoachim Filip Ignacy Bartosik2010-07-293-1/+55
| | | | | The task fetches Gentoo project leads data from gentoo.org and stores it in tmp/lead_data.yml
* Improved way admins create questionsJoachim Filip Ignacy Bartosik2010-07-293-3/+6
|
* Properly show 'Answer it!' linksJoachim Filip Ignacy Bartosik2010-07-292-10/+27
|
* <view> for CheckList now checks if user can view itJoachim Filip Ignacy Bartosik2010-07-271-0/+1
|
* Reorganized homepage (grouped elements relevant for each role together)Joachim Filip Ignacy Bartosik2010-07-272-48/+61
| | | | | And changed them a bit (some rewording, some cleaning code, stopped showing recruit bits to non-recruits).
* Made Checklist a regular inputJoachim Filip Ignacy Bartosik2010-07-274-31/+14
| | | | | Previously it had to be handled separately. Updated Answer#update_from and Answer#new_from to work with it.
* Cleaned detailed tagsJoachim Filip Ignacy Bartosik2010-07-271-25/+22
|
* Moved navigation tag to separate fileJoachim Filip Ignacy Bartosik2010-07-272-10/+10
|
* Removed form for question content from question edit page (wasn't rendered)Joachim Filip Ignacy Bartosik2010-07-271-5/+0
|
* Move reference answer to <detailed> tag for answer.Joachim Filip Ignacy Bartosik2010-07-272-12/+13
|