Thu, 02 Jul 2009 18:33:13 +0200 Enable the ProjectSurvey and GradingProjectSurvey views in the core.
Daniel Diniz <ajaksu@gmail.com> [Thu, 02 Jul 2009 18:33:13 +0200] rev 2495
Enable the ProjectSurvey and GradingProjectSurvey views in the core. Also add menu items to the program menu for easy access to these options. Reviewed by: Lennard de Rijk
Thu, 02 Jul 2009 17:51:07 +0200 Implemented taking ProjectSurveys.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 17:51:07 +0200] rev 2494
Implemented taking ProjectSurveys. The user will first be served a list of all eligble StudentProjects for which the ProjectSurvey can be taken. After clicking on the list the key_name of the project is attached as a GET param and the code uses the normal take view with the hooks to let everything run smoothly. An extra access check method is required which checks if the Project mentioned in the GET param is a valid project for the current user. This check will run together with the isSurveyTakable checker.
Thu, 02 Jul 2009 17:47:24 +0200 Edit SurveyRecord model to not make use of different Survey property for each subclass.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 17:47:24 +0200] rev 2493
Edit SurveyRecord model to not make use of different Survey property for each subclass. This does mean that a simple query needs to be constructed by hand whenever you want to query for every SurveyRecord for a specific Survey. However the naming is now the same over each SurveyRecord and it fits well into the rest of the design of Melange.
Thu, 02 Jul 2009 17:08:10 +0200 Made the CSV exporter for Survey not rely on the BackReferenceProperty in Survey.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 17:08:10 +0200] rev 2492
Made the CSV exporter for Survey not rely on the BackReferenceProperty in Survey.
Thu, 02 Jul 2009 16:53:13 +0200 Added getTakeProjectSurveyRedirect.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 16:53:13 +0200] rev 2491
Added getTakeProjectSurveyRedirect. This redirect is used when taking a ProjectSurvey.
Thu, 02 Jul 2009 16:51:31 +0200 Added the possibility to change the action of the form on the Survey take page.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 16:51:31 +0200] rev 2490
Added the possibility to change the action of the form on the Survey take page.
Thu, 02 Jul 2009 16:50:08 +0200 Small style fix in Surveys helper.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 16:50:08 +0200] rev 2489
Small style fix in Surveys helper.
Thu, 02 Jul 2009 15:40:37 +0200 Set required is True for StudentProject reference in ProjectSurveyRecord.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 15:40:37 +0200] rev 2488
Set required is True for StudentProject reference in ProjectSurveyRecord.
Thu, 02 Jul 2009 15:38:33 +0200 Removed obsolete if tag form take template.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 15:38:33 +0200] rev 2487
Removed obsolete if tag form take template.
Thu, 02 Jul 2009 15:34:02 +0200 Added hook methods to takeGet and takePost.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 15:34:02 +0200] rev 2486
Added hook methods to takeGet and takePost.
Thu, 02 Jul 2009 14:48:10 +0200 Fixed typo in title of Survey Take page.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 14:48:10 +0200] rev 2485
Fixed typo in title of Survey Take page.
Thu, 02 Jul 2009 12:46:12 +0200 Add a base implementation of takePost.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 12:46:12 +0200] rev 2484
Add a base implementation of takePost. Normal Surveys can now be taken, however comments are not stored yet.
Thu, 02 Jul 2009 12:45:06 +0200 Added getSurveyResponseFromPost method to Surveys Helper.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 12:45:06 +0200] rev 2483
Added getSurveyResponseFromPost method to Surveys Helper. This method will be used to read the POST dictionary from a request. And will transform it into the fields that need to be set in a SurveyRecord for the questions specified by the given Survey. A TODO has been added to handle the naming/handling of the comment fields.
Thu, 02 Jul 2009 12:43:06 +0200 Added updateOrCreateFromFields method to SurveyRecordLogic.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 12:43:06 +0200] rev 2482
Added updateOrCreateFromFields method to SurveyRecordLogic. The reading of the fields from the POST request will not happen in this Logic anymore.
Thu, 02 Jul 2009 12:40:42 +0200 Added base class logic for Expando based models.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 12:40:42 +0200] rev 2481
Added base class logic for Expando based models.
(0) -1000 -300 -100 -15 +15 +100 +300 tip