Sat, 11 Jul 2009 13:56:55 +0200 Indention fixes and adding "reference_class=" in ReferenceProperty params.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 11 Jul 2009 13:56:55 +0200] rev 2588
Indention fixes and adding "reference_class=" in ReferenceProperty params.
Tue, 07 Jul 2009 20:17:23 -0500 Start using buildout to bring in external dependencies.
Augie Fackler <durin42@gmail.com> [Tue, 07 Jul 2009 20:17:23 -0500] rev 2587
Start using buildout to bring in external dependencies. This makes running tests easier in situations where dependencies are not always available, such as buildbot. Thanks to Matthew Wilkes <matthew@matthewwilkes.co.uk> for help and moral support.
Fri, 10 Jul 2009 12:09:09 +0200 Added GradingSurveyGroup to the sitemap and sidebar.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 10 Jul 2009 12:09:09 +0200] rev 2586
Added GradingSurveyGroup to the sitemap and sidebar.
Fri, 10 Jul 2009 12:06:29 +0200 Completed the Create and Edit view for GradingSurveyGroup.
Daniel Diniz <ajaksu@gmail.com> [Fri, 10 Jul 2009 12:06:29 +0200] rev 2585
Completed the Create and Edit view for GradingSurveyGroup. Note that I've added a TODO to redo _editPost to give us kwargs. Would also get rid of hidden fields elsewhere. Reviewed by: Lennard de Rijk
Fri, 10 Jul 2009 11:59:00 +0200 Fixed GradingRecord and GradingSurveyRecord Logic to load the correct Model.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 10 Jul 2009 11:59:00 +0200] rev 2584
Fixed GradingRecord and GradingSurveyRecord Logic to load the correct Model.
Fri, 10 Jul 2009 11:39:41 +0200 Added denySidebar to several access checks.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 10 Jul 2009 11:39:41 +0200] rev 2583
Added denySidebar to several access checks.
Thu, 09 Jul 2009 23:50:21 +0200 Added Surveys to sidebar menu.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 23:50:21 +0200] rev 2582
Added Surveys to sidebar menu.
Thu, 09 Jul 2009 14:00:59 +0200 Changed title entry in GradingSurveyGroup's public template to name.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 14:00:59 +0200] rev 2581
Changed title entry in GradingSurveyGroup's public template to name.
Thu, 09 Jul 2009 11:52:35 +0200 Added skeleton view and templates for GradingSurveyGroup.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 11:52:35 +0200] rev 2580
Added skeleton view and templates for GradingSurveyGroup.
Thu, 09 Jul 2009 11:47:31 +0200 Added name property to GradingSurveyGroup.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 11:47:31 +0200] rev 2579
Added name property to GradingSurveyGroup. This can be used (by humans :D) to easily identify different instances of this model.
Thu, 09 Jul 2009 11:00:17 +0200 Added missing blank line to GradingSurveyGroup logic.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 11:00:17 +0200] rev 2578
Added missing blank line to GradingSurveyGroup logic.
Thu, 09 Jul 2009 10:52:19 +0200 Added logic for GradingRecord and GradingSurveyGroup.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 10:52:19 +0200] rev 2577
Added logic for GradingRecord and GradingSurveyGroup.
Thu, 09 Jul 2009 10:39:30 +0200 Removed results list from Survey edit.
Daniel Diniz <ajaksu@gmail.com> [Thu, 09 Jul 2009 10:39:30 +0200] rev 2576
Removed results list from Survey edit. Some changes to the Survey Result page have also been made, however the results viewer and the CSV export are not working properly in that View. Reviewd by: Lennard de Rijk
Thu, 09 Jul 2009 10:16:29 +0200 Extended tooltip timeout to 10 seconds for all fields.
Mario Ferraro <fadinlight@gmail.com> [Thu, 09 Jul 2009 10:16:29 +0200] rev 2575
Extended tooltip timeout to 10 seconds for all fields. This is because the tooltip currently timesout to fast for people to read the whole stories they can contain. Especially because Surveys can have custom tooltips. Reviewed by: Lennard de Rijk
Wed, 08 Jul 2009 15:45:53 +0200 Minor stylefix to StudentProject model.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 08 Jul 2009 15:45:53 +0200] rev 2574
Minor stylefix to StudentProject model.
Wed, 08 Jul 2009 15:44:54 +0200 Changed the StudentProject model to handle a dynamic amount of GradeRecords.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 08 Jul 2009 15:44:54 +0200] rev 2573
Changed the StudentProject model to handle a dynamic amount of GradeRecords. This allows for a dynamic amount of moments where a StudentProject can be evaluated. Also included in this patch are changes to the status property that will help to enable PA's to withdraw StudentProjects from the program without the need for a developer to step in.
Wed, 08 Jul 2009 11:50:02 +0200 Renamed several files due to recent changes.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 08 Jul 2009 11:50:02 +0200] rev 2572
Renamed several files due to recent changes.
Wed, 08 Jul 2009 10:45:49 +0200 Style fixing in GradeRecord model
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 08 Jul 2009 10:45:49 +0200] rev 2571
Style fixing in GradeRecord model
Wed, 08 Jul 2009 10:40:46 +0200 Several Survey UI fixes.
Daniel Diniz <ajaksu@gmail.com> [Wed, 08 Jul 2009 10:40:46 +0200] rev 2570
Several Survey UI fixes. Fixes: Too narrow fieldsets in new question/option dialogs. Survey submit (on take view) and save/export/etc. buttons at weird places, instead of at bottom. Weird placement of radio buttons in Opera. Too narrow selects in IE. Broken images in edit view in IE and Opera. Reviewed by: Lennard de Rijk (Only on IE)
Tue, 07 Jul 2009 21:16:57 +0200 Fixed base template URL to tagged version of the deployed source code.
Madhusudan C.S. <madhusudancs@gmail.com> [Tue, 07 Jul 2009 21:16:57 +0200] rev 2569
Fixed base template URL to tagged version of the deployed source code. The old link revered to SVN based projects. Reviewed by: Lennard de Rijk
Tue, 07 Jul 2009 20:02:27 +0200 Fixed imports for Survey logic.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Jul 2009 20:02:27 +0200] rev 2568
Fixed imports for Survey logic.
Tue, 07 Jul 2009 18:46:47 +0200 Added skeleton models for GradingSurveyGroup and Records.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Jul 2009 18:46:47 +0200] rev 2567
Added skeleton models for GradingSurveyGroup and Records. SurveyRecordGroup has been renamed to GradingRecord. GradingSurveyGroup will hold which Surveys should be linked. While the acompanying GradingRecords (with their reference to a GradingSurveyGroup) will hold the Records for each StudentProject that can take these Surveys.
Mon, 06 Jul 2009 17:20:30 +0200 Added tag v0-5-20090706 for changeset c17b671e5657
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 17:20:30 +0200] rev 2566
Added tag v0-5-20090706 for changeset c17b671e5657
Mon, 06 Jul 2009 17:19:57 +0200 Set new Melange version number to 0-5-20090706 in app.yaml.template. v0-5-20090706
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 17:19:57 +0200] rev 2565
Set new Melange version number to 0-5-20090706 in app.yaml.template.
Mon, 06 Jul 2009 17:18:41 +0200 Ensure that the Grade field data stays in clean_data.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 17:18:41 +0200] rev 2564
Ensure that the Grade field data stays in clean_data. This prevents a bug that happens when you pick an invalid entry in the choice a grade field. If this bug was triggered the value of the survey_record.grade was used. Now however a proper ValidationError is raised.
Mon, 06 Jul 2009 17:03:19 +0200 Add missing import to Project Survey view.
Daniel Diniz <ajaksu@gmail.com> [Mon, 06 Jul 2009 17:03:19 +0200] rev 2563
Add missing import to Project Survey view. Reviewed by: Lennard de Rijk
Mon, 06 Jul 2009 16:32:14 +0200 Renamed several files due to recent changes.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 16:32:14 +0200] rev 2562
Renamed several files due to recent changes.
Mon, 06 Jul 2009 16:21:51 +0200 Now properly escaping JS and converting new lines into br for Tooltips.
Mario Ferraro <fadinlight@gmail.com> [Mon, 06 Jul 2009 16:21:51 +0200] rev 2561
Now properly escaping JS and converting new lines into br for Tooltips. Patch by: Mario Ferraro, Lennard de Rijk
Mon, 06 Jul 2009 16:13:27 +0200 Added ability to add custom tooltips and UI improvements.
Daniel Diniz <ajaksu@gmail.com> [Mon, 06 Jul 2009 16:13:27 +0200] rev 2560
Added ability to add custom tooltips and UI improvements. Reviewed by: Lennard de Rijk
Mon, 06 Jul 2009 15:06:05 +0200 Public Survey template now resembles the take template more closely.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 15:06:05 +0200] rev 2559
Public Survey template now resembles the take template more closely.
Mon, 06 Jul 2009 14:58:46 +0200 Added the possiblitity to add a description to the top of the Survey.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 14:58:46 +0200] rev 2558
Added the possiblitity to add a description to the top of the Survey. Thie uses the content property which has been inherited from the Work model.
Mon, 06 Jul 2009 13:19:00 +0200 Use CSS instead of JS for Survey layout.
James Levy <jamesalexanderlevy@gmail.com> [Mon, 06 Jul 2009 13:19:00 +0200] rev 2557
Use CSS instead of JS for Survey layout. Reviewed by: Lennard de Rijk
Mon, 06 Jul 2009 12:06:28 +0200 Remove the custom propmpt inside textareas and input fields.
Daniel Diniz <ajaksu@gmail.com> [Mon, 06 Jul 2009 12:06:28 +0200] rev 2556
Remove the custom propmpt inside textareas and input fields. This will hopefully be replaced with custom tooltips. Two reasons for this are that the tooltips will still be readable once your start typing and this way we avoid a bug that caused a textarea to go into prompt mode on some form validation errors. Reviewed by: Lennard de Rijk
Mon, 06 Jul 2009 00:54:48 +0200 Fix HtmlSanitizer to return cleaned string in proper encoding.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 06 Jul 2009 00:54:48 +0200] rev 2555
Fix HtmlSanitizer to return cleaned string in proper encoding. This fix prevent HtmlSanitizer from throwing UnicodeDecodeError exception.
Mon, 06 Jul 2009 00:31:48 +0200 Added clear:right property to submit button in Survey take form.
James Levy <jamesalexanderlevy@gmail.com [Mon, 06 Jul 2009 00:31:48 +0200] rev 2554
Added clear:right property to submit button in Survey take form. Reviewed by: Lennard de Rijk
Mon, 06 Jul 2009 00:29:30 +0200 Fix button layout on Safari 4.0 for Survey take page.
Mario Ferraro <fadinlight@gmail.com [Mon, 06 Jul 2009 00:29:30 +0200] rev 2553
Fix button layout on Safari 4.0 for Survey take page. Reviewed by: Lennard de Rijk
Mon, 06 Jul 2009 00:16:47 +0200 Fix comment indention in survey-take javascript file.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 06 Jul 2009 00:16:47 +0200] rev 2552
Fix comment indention in survey-take javascript file.
Sun, 05 Jul 2009 23:45:57 +0200 Renamed survey-take-090627.js to survey-take-090705.js.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 05 Jul 2009 23:45:57 +0200] rev 2551
Renamed survey-take-090627.js to survey-take-090705.js.
Sun, 05 Jul 2009 23:43:57 +0200 Increased bottom margin on comments for better grouping.
James Levy <jamesalexanderlevy@gmail.com> [Sun, 05 Jul 2009 23:43:57 +0200] rev 2550
Increased bottom margin on comments for better grouping. Reviewed by: Lennard de Rijk
Sun, 05 Jul 2009 13:31:34 +0200 Changed the filter for getting a SurveyRecord for a ProjectSurvey
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 05 Jul 2009 13:31:34 +0200] rev 2549
Changed the filter for getting a SurveyRecord for a ProjectSurvey ProjectSurveyRecords are characterized by the Survey and a Project entity. The user property is just there to state who last submitted the Survey.
Sun, 05 Jul 2009 13:00:08 +0200 Added tag v0-5-20090705p1 for changeset c7726e3ab173
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 05 Jul 2009 13:00:08 +0200] rev 2548
Added tag v0-5-20090705p1 for changeset c7726e3ab173
Sun, 05 Jul 2009 12:59:33 +0200 Set new Melange version number to 0-5-20090705p1 in app.yaml.template. v0-5-20090705p1
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 05 Jul 2009 12:59:33 +0200] rev 2547
Set new Melange version number to 0-5-20090705p1 in app.yaml.template.
Sun, 05 Jul 2009 12:57:09 +0200 Ensure that accessViolations for Survey menu items get captured.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 05 Jul 2009 12:57:09 +0200] rev 2546
Ensure that accessViolations for Survey menu items get captured. (Also ensure that you think before committing something you broke yourself :()
Sun, 05 Jul 2009 12:19:19 +0200 Added tag v0-5-20090705 for changeset 8f3a8e066111
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 05 Jul 2009 12:19:19 +0200] rev 2545
Added tag v0-5-20090705 for changeset 8f3a8e066111
Sun, 05 Jul 2009 12:18:31 +0200 Set new Melange version number to 0-5-20090705 in app.yaml.template. v0-5-20090705
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 05 Jul 2009 12:18:31 +0200] rev 2544
Set new Melange version number to 0-5-20090705 in app.yaml.template.
Sun, 05 Jul 2009 11:32:26 +0200 Added Menu items for all three kinds of Surveys to the program menu.
James Levy <jamesalexanderlevy@gmail.com> [Sun, 05 Jul 2009 11:32:26 +0200] rev 2543
Added Menu items for all three kinds of Surveys to the program menu. The menu items turn red when the user has not taken the Survey yet. Patch by: James Levy, Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 05 Jul 2009 00:57:03 +0200 POST data always overwrites survey_record data when used to populate form.
Daniel Diniz <ajaksu@gmail.com> [Sun, 05 Jul 2009 00:57:03 +0200] rev 2542
POST data always overwrites survey_record data when used to populate form. It also fixes validation errors on takeGet. Patch by: Daniel Diniz, Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 04 Jul 2009 18:48:58 +0100 Fixes bug when option name contains double quotes.
Mario Ferraro <fadinlight@gmail.com> [Sat, 04 Jul 2009 18:48:58 +0100] rev 2541
Fixes bug when option name contains double quotes.
Sat, 04 Jul 2009 18:53:37 +0200 Several style fixes due to code reviews.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 18:53:37 +0200] rev 2540
Several style fixes due to code reviews.
Sat, 04 Jul 2009 17:23:19 +0200 Ensure that long questions and comments are stored as db.Text.
Daniel Diniz <ajaksu@gmail.com> [Sat, 04 Jul 2009 17:23:19 +0200] rev 2539
Ensure that long questions and comments are stored as db.Text. This is done by adding the setCleaners methods which sets the appropriate cleaners for dynamic fields. Reviewed by: Lennard de Rijk
Sat, 04 Jul 2009 17:16:16 +0200 Style fix in access module.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 17:16:16 +0200] rev 2538
Style fix in access module.
Sat, 04 Jul 2009 17:02:51 +0200 Returned ProjectSurvey create to checkIsUser.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 17:02:51 +0200] rev 2537
Returned ProjectSurvey create to checkIsUser. The access protection is properly done by the form validator.
Sat, 04 Jul 2009 16:44:08 +0200 Added access checks for taking a Project(Grading)Survey.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 16:44:08 +0200] rev 2536
Added access checks for taking a Project(Grading)Survey.
Sat, 04 Jul 2009 16:23:00 +0200 Brown paper bag fix for using non-existing logic in ProjectSurvey views.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 16:23:00 +0200] rev 2535
Brown paper bag fix for using non-existing logic in ProjectSurvey views.
Sat, 04 Jul 2009 15:59:19 +0200 Fixed basic Survey access check.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 15:59:19 +0200] rev 2534
Fixed basic Survey access check. Also enabled this check for all relevant Views. However ProjectSurveys and subclasses still need an additional check. A stub for this has been added to the access module.
Sat, 04 Jul 2009 15:30:08 +0200 Fixed broken selection questions from refactoring SurveyForm.
Daniel Diniz <ajaksu@gmail.com> [Sat, 04 Jul 2009 15:30:08 +0200] rev 2533
Fixed broken selection questions from refactoring SurveyForm. Reviewed by: Lennard de Rijk
Sat, 04 Jul 2009 15:16:54 +0200 Fixed showing the correct list of projects for taking a Grading Project Survey.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 15:16:54 +0200] rev 2532
Fixed showing the correct list of projects for taking a Grading Project Survey. Note that when a user is a mentor for a lot of Organizations the amount of subqueries might exceed the allowed amount. A TODO has been added to fix this issue. However this will hopefully not be a problem that pops up soon. Also some minor docstring addition to Project Survey view.
Sat, 04 Jul 2009 15:08:28 +0200 Refactored filter construction to _constructFilterForProjectSelection.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 15:08:28 +0200] rev 2531
Refactored filter construction to _constructFilterForProjectSelection. This allows Grading Project Survey to overwrite this method and create its own filter.
Sat, 04 Jul 2009 14:29:13 +0200 Make sure that radio button questions validate correctly and allow only one choice.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 14:29:13 +0200] rev 2530
Make sure that radio button questions validate correctly and allow only one choice. Reviewed by: Lennard de Rijk
Sat, 04 Jul 2009 14:22:02 +0200 Added Daniel Diniz and Zachary Voase to the AUTHORS file.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 14:22:02 +0200] rev 2529
Added Daniel Diniz and Zachary Voase to the AUTHORS file.
Sat, 04 Jul 2009 14:19:39 +0200 Added Daniel Diniz to authors for Grading Project Survey View.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 14:19:39 +0200] rev 2528
Added Daniel Diniz to authors for Grading Project Survey View.
Sat, 04 Jul 2009 14:15:11 +0200 Add a grade field to the Grading Project Survey form.
Daniel Diniz <ajaksu@gmail.com> [Sat, 04 Jul 2009 14:15:11 +0200] rev 2527
Add a grade field to the Grading Project Survey form. This also takes care of validating and transforming the data into True(pass) or False(fail). GradingProjectSurveys are hereby working for developers. Reviewed by: Lennard de Rijk
Sat, 04 Jul 2009 13:53:17 +0200 Survey editing/taking Javascript and CSS fixes.
James Levy <jamesalexanderlevy@gmail.com> [Sat, 04 Jul 2009 13:53:17 +0200] rev 2526
Survey editing/taking Javascript and CSS fixes. This patch adds some cosmetic changes and functional fixes: - UI now removes all of the field content when a field is deleted, - CSS tweaks, and jQuery hack to specialize comment CSS, - fixed JS path in take.html. Reviewed by: Pawel Solyga (with some small changes)
Sat, 04 Jul 2009 12:07:27 +0200 Remove public role type from SURVEY_TAKING_ACCESS in Survey model.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 04 Jul 2009 12:07:27 +0200] rev 2525
Remove public role type from SURVEY_TAKING_ACCESS in Survey model.
Fri, 03 Jul 2009 20:41:19 -0700 try to fix the surveys-have-no-scope issue
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 03 Jul 2009 20:41:19 -0700] rev 2524
try to fix the surveys-have-no-scope issue to-be-reviewed: also untested
Fri, 03 Jul 2009 18:39:17 -0700 addressed comments to previous version
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 03 Jul 2009 18:39:17 -0700] rev 2523
addressed comments to previous version to-be-reviewed: still untested
Fri, 03 Jul 2009 18:24:02 -0700 return found entity for activity checks
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 03 Jul 2009 18:24:02 -0700] rev 2522
return found entity for activity checks
Fri, 03 Jul 2009 18:23:12 -0700 survey access: stylefix and remove public role type
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 03 Jul 2009 18:23:12 -0700] rev 2521
survey access: stylefix and remove public role type
Fri, 03 Jul 2009 22:36:10 +0200 Style fixes in Survey helper.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 22:36:10 +0200] rev 2520
Style fixes in Survey helper.
Fri, 03 Jul 2009 22:27:42 +0200 Added _getSurveyTakeForm to the Survey view.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 22:27:42 +0200] rev 2519
Added _getSurveyTakeForm to the Survey view. Subclasses can overwrite this method to create their own form. ProjectGradingSurvey will likely be an example for this.
Fri, 03 Jul 2009 21:59:10 +0200 Only initialize a SurveyTakeForm in take instead of in takeGet and takePost.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 21:59:10 +0200] rev 2518
Only initialize a SurveyTakeForm in take instead of in takeGet and takePost. This will allow for other subclassed views to easily replace the form the view is using. Also small style fix in Survey helper.
Fri, 03 Jul 2009 21:06:22 +0200 Split SurveyForm into SurveyTakeForm and SurveyEditForm.
Daniel Diniz <ajaksu@gmail.com> [Fri, 03 Jul 2009 21:06:22 +0200] rev 2517
Split SurveyForm into SurveyTakeForm and SurveyEditForm. This allows for a more cleaner implementation of the Form code. And this will make it easier to break free from the getFields method in the future. Also the getRoleSpecifcFields method and the this_user and project variables have been removed. They are deemed obsolete. Reviewed by: Lennard de Rijk
Fri, 03 Jul 2009 20:38:43 +0200 Do not call takeGet when SurveyForm ValidationError occurs.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 20:38:43 +0200] rev 2516
Do not call takeGet when SurveyForm ValidationError occurs. Problems occured when a SurveyRecord was specified in the SurveyForm. The SurveyRecord data reset the erroneous POST data. Further code reduction might be possible soonish.
Fri, 03 Jul 2009 19:15:09 +0200 Several stylefixes due to received reviews.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 19:15:09 +0200] rev 2515
Several stylefixes due to received reviews.
Fri, 03 Jul 2009 18:39:30 +0200 Style fixes in Access module.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 18:39:30 +0200] rev 2514
Style fixes in Access module.
Fri, 03 Jul 2009 18:34:18 +0200 Style fixes to the GradingProjectSurvey View module.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 18:34:18 +0200] rev 2513
Style fixes to the GradingProjectSurvey View module.
Fri, 03 Jul 2009 18:23:34 +0200 Sub_merge params for GradingProjectSurvey View.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 18:23:34 +0200] rev 2512
Sub_merge params for GradingProjectSurvey View.
Fri, 03 Jul 2009 18:23:02 +0200 Added rudimentary grade field to GradingProjectSurvey take View.
James Levy <jamesalexanderlevy@gmail.com> [Fri, 03 Jul 2009 18:23:02 +0200] rev 2511
Added rudimentary grade field to GradingProjectSurvey take View. Patch by: James Levy, Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 03 Jul 2009 18:20:33 +0200 Ensure that the params from subclasses get merged properly with ProjectSurvey view.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 18:20:33 +0200] rev 2510
Ensure that the params from subclasses get merged properly with ProjectSurvey view.
Fri, 03 Jul 2009 18:09:48 +0200 Corrected the links to Grading Project Surveys in Program menu.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 18:09:48 +0200] rev 2509
Corrected the links to Grading Project Surveys in Program menu.
Fri, 03 Jul 2009 17:55:36 +0200 Added missing import to ProjectSurvey View.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 17:55:36 +0200] rev 2508
Added missing import to ProjectSurvey View.
Fri, 03 Jul 2009 15:21:44 +0200 Fix pick_multi only returning one answer as maximum.
Daniel Diniz <ajaksu@gmail.com> [Fri, 03 Jul 2009 15:21:44 +0200] rev 2507
Fix pick_multi only returning one answer as maximum. Reviewed by: Lennard de Rijk
Fri, 03 Jul 2009 15:00:00 +0200 Removed getSurveyResponseFromPost from Surveys helper.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 15:00:00 +0200] rev 2506
Removed getSurveyResponseFromPost from Surveys helper. We will use the power of Django Forms instead of getting our own properties. This fits better into the rest of Melange which also uses this approach.
Fri, 03 Jul 2009 14:53:26 +0200 Renamed survey-edit-090627.js due to recent changes.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 14:53:26 +0200] rev 2505
Renamed survey-edit-090627.js due to recent changes.
Fri, 03 Jul 2009 14:43:49 +0200 Form errors when taking a Survey now have the correct context.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 14:43:49 +0200] rev 2504
Form errors when taking a Survey now have the correct context.
Fri, 03 Jul 2009 14:36:16 +0200 Fixed Survey Form error giving 505.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 14:36:16 +0200] rev 2503
Fixed Survey Form error giving 505. I failed when changing the system to work with collectCleanedFields.
Fri, 03 Jul 2009 14:35:03 +0200 Surveys can now have required questions and comments can be turned on/off.
Daniel Diniz <ajaksu@gmail.com> [Fri, 03 Jul 2009 14:35:03 +0200] rev 2502
Surveys can now have required questions and comments can be turned on/off. Storing comments is now working. However some issues arise when form errors occur, like missing context and the errors also trigger before a form has been submitted. Reviewed by: Lennard de Rijk
Fri, 03 Jul 2009 14:19:23 +0200 Added Survey From Field validation.
Daniel Diniz <ajaksu@gmail.com> [Fri, 03 Jul 2009 14:19:23 +0200] rev 2501
Added Survey From Field validation. Also added the COMMENT_PREFIX in Survey model to ensure that comments are stored in the same way everwhere. Reviewed by: Lennard de Rijk
Fri, 03 Jul 2009 12:10:24 +0200 Style fixes and a forgotten parameter in Survey(Record) logic.
Daniel Diniz <ajaksu@gmail.com> [Fri, 03 Jul 2009 12:10:24 +0200] rev 2500
Style fixes and a forgotten parameter in Survey(Record) logic. Reviewed by: Lennard de Rijk
Fri, 03 Jul 2009 12:05:23 +0200 Removed unnecessary variable in ProjectSurvey take method.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 12:05:23 +0200] rev 2499
Removed unnecessary variable in ProjectSurvey take method.
Fri, 03 Jul 2009 12:02:57 +0200 Overwrite _getSurveyRecordFor in ProjectSurvey view to take StudentProject into account.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 12:02:57 +0200] rev 2498
Overwrite _getSurveyRecordFor in ProjectSurvey view to take StudentProject into account.
Fri, 03 Jul 2009 12:00:53 +0200 Added _getSurveyRecordFor method to Survey View.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 12:00:53 +0200] rev 2497
Added _getSurveyRecordFor method to Survey View. This method is used by the Take view to get the right SurveyRecord for the current request. Subclassed Views that want to fetch their records in another way can override this method.
Thu, 02 Jul 2009 18:35:57 +0200 Added default Survey list templates for ProjectSurvey and GradingProjectSurvey.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 18:35:57 +0200] rev 2496
Added default Survey list templates for ProjectSurvey and GradingProjectSurvey.
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.
Thu, 02 Jul 2009 11:25:52 +0200 Removed two obsolete/outdated methods in Survey Logic.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 11:25:52 +0200] rev 2480
Removed two obsolete/outdated methods in Survey Logic. The updateSurveyRecord can be found in the SurveyRecord logic.
Thu, 02 Jul 2009 10:46:39 +0200 Removed obsolote method call in Program View.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 10:46:39 +0200] rev 2479
Removed obsolote method call in Program View.
Thu, 02 Jul 2009 10:33:58 +0200 Clean up and other fixes for Survey modules.
Daniel Diniz <ajaksu@gmail.com> [Thu, 02 Jul 2009 10:33:58 +0200] rev 2478
Clean up and other fixes for Survey modules. Reviewed by: Lennard de Rijk
Wed, 01 Jul 2009 21:53:20 +0200 Implemented the takeGet view for Surveys.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 21:53:20 +0200] rev 2477
Implemented the takeGet view for Surveys.
Wed, 01 Jul 2009 17:28:44 +0200 Fixed multiple typos in Survey tooltips strings.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 17:28:44 +0200] rev 2476
Fixed multiple typos in Survey tooltips strings.
Wed, 01 Jul 2009 17:25:54 +0200 Added skeleton for the take view and its template.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 17:25:54 +0200] rev 2475
Added skeleton for the take view and its template. Also fixed the sorting of imports of the Survey View.
Wed, 01 Jul 2009 16:28:27 +0200 Move getMenusForScope to the end of the View class.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 16:28:27 +0200] rev 2474
Move getMenusForScope to the end of the View class. Adhering to our principle that we the methods we use for generating our menus can be usually found at the bottom of the View class.
Wed, 01 Jul 2009 16:22:35 +0200 Changed the Survey public view to give a preview of the Survey.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 16:22:35 +0200] rev 2473
Changed the Survey public view to give a preview of the Survey. Also changed the access rights for deleting a Survey because of the possible invalid references problem. Added two TODO's to the _public method. The first one involves enabling the SurveyForm to generate a form without passing along the Logic since it is only used to retrieve the Survey entity which we already have available. The second one involves a brief discussion about the getFields method's functionality and name.
Wed, 01 Jul 2009 14:49:54 +0200 Removed activate grade URL pattern from Survey View.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 14:49:54 +0200] rev 2472
Removed activate grade URL pattern from Survey View. The remaining methods will be ported over in a patch from Ajaksu.
Wed, 01 Jul 2009 14:42:54 +0200 Brown paper bag "without tea" morning typo fix in Survey View.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 14:42:54 +0200] rev 2471
Brown paper bag "without tea" morning typo fix in Survey View.
Wed, 01 Jul 2009 14:28:51 +0200 Style fix in Survey views helper.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 14:28:51 +0200] rev 2470
Style fix in Survey views helper.
Wed, 01 Jul 2009 08:29:49 +0200 Returned access checks in Survey View to the right state.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 08:29:49 +0200] rev 2469
Returned access checks in Survey View to the right state. This got bugged in James's commt.
(0) -1000 -120 +120 tip