James Levy <jamesalexanderlevy@gmail.com> [Tue, 25 Aug 2009 15:58:21 +0200] rev 2798
Added SurveyRecordForm for viewing a SurveyRecord.
This is subclassed into GradeSurveyRecord form for the GradingProjectSurveys. This should replace the need for the read_only kwarg in SurveyTakeForm. A TODO to try and extract this has been added.
Fixes Issue 672.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 25 Aug 2009 15:28:50 +0200] rev 2797
Make sure the PlainTextWidget converts linebreaks to proper HTML.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 25 Aug 2009 11:43:36 +0200] rev 2796
Added tag v0-5-20090825 for changeset 776aae4d0499
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 25 Aug 2009 11:43:14 +0200] rev 2795
Set new Melange version number to 0-5-20090825 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 24 Aug 2009 23:52:48 +0200] rev 2794
Only create GradingRecords for succeful projects or failed projects with Surveys.
This is done because it has no use to create new GradingRecords for already failed/invalid projects because the outcome of this one will have no changing effect on the status.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 24 Aug 2009 18:44:41 +0200] rev 2793
Set default taking access for GradingProjectSurvey to org.
This will allow Mentors and Org Admins to take GradingProjectSurveys in case that an Org Admin has no Mentor roles.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 24 Aug 2009 18:43:38 +0200] rev 2792
Added org taking access to Surveys.
This taking access means that everyone with an active role for any organization for a given program can take the Survey. This will allow one Survey to be taken by both Org Admins and Mentors.
Madhusudan.C.S <madhusudancs@gmail.com> [Mon, 24 Aug 2009 20:22:45 +0530] rev 2791
Removed reference to GHOPTask and GHOPProgram.
In addition changed required=True to False for information property.
Madhusudan.C.S <madhusudancs@gmail.com> [Mon, 24 Aug 2009 20:12:10 +0530] rev 2790
Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com> [Mon, 24 Aug 2009 20:08:35 +0530] rev 2789
Changed GHOPComment model to inherit from base model.
All the properties are specific to the GHOPComment model. The GHOPComment
model is also made ID based. Changes changes property from StringProperty
to StringListProperty.
Madhusudan.C.S <madhusudancs@gmail.com> [Mon, 24 Aug 2009 19:38:57 +0530] rev 2788
Changed all status to start with Uppercase letters, made 3 properties required.
Changed all the status to start with Uppercase letters because they are
publicly visible. Also changed required=True to False for created_by,
modified_by property to allow site admin to create and modify tasks. Also
changed required=True to False for history to allow history not to be written
until the task is published.
Madhusudan.C.S <madhusudancs@gmail.com> [Mon, 24 Aug 2009 04:31:23 +0530] rev 2787
Reverting last 4 patches containing GHOP related views.
As Lennard suggested all the model patches should come first
followed by the logic and views patches, to make sure nothing
committed breaks the existing code after thorough review.
Madhusudan.C.S <madhusudancs@gmail.com> [Sat, 22 Aug 2009 04:05:48 +0530] rev 2786
Added extra menu items per GHOPOrganization.
Madhusudan.C.S <madhusudancs@gmail.com> [Sat, 22 Aug 2009 04:00:56 +0530] rev 2785
Added Organization View for GHOP.
Along with adding the View, the View is also registered with sitemap
in the GHOP module's callback.py
Madhusudan.C.S <madhusudancs@gmail.com> [Sat, 22 Aug 2009 03:56:25 +0530] rev 2784
Added timeline view for GHOP.
Moved the method _createTimelineForType from Views to Logic for both core
Program and GHOPProgram. Added default values parameter to apps_tasks_limit
and slots in Program model. Registered timeline view for the sitemap in GHOP
callback.py. Added timeline view module and class which overrides the edit
method. Overriding the params['edit_form'] to accommodate dynainclude and
dynaexclude fields.
Madhusudan C.S <madhusudancs@gmail.com> [Sat, 22 Aug 2009 03:56:14 +0530] rev 2783
Extended program configuration create/edit views specifically to support GHOP.
Added the first views for GHOP, which are inherited from soc program views.
Added new param keys, module_package. url_name key now specifies this
is view is from a Melange GHOP module. Also added the view to GHOP module's
callback.py. The program Logic class's timeline_logic variable is tied to
corresponding timeline logic within the constructor.
Madhusudan.C.S <madhusudancs@gmail.com> [Sat, 22 Aug 2009 03:56:04 +0530] rev 2782
Dotted path to the views in URL patterns is changed to a params parameter.
This change makes the URL mapping from URL to View method in patterns generic
where the base package path is taken from the params['module_package'] value
to support module system of Melange where inherited View classes override the
params['module_package'] value to specify their own View methods.
Madhusudan.C.S <madhusudancs@gmail.com> [Sat, 22 Aug 2009 03:44:13 +0530] rev 2781
program_logic is passed as a parameter to three checkers than hard coding it.
program_logic is added as a parameter to checkIsActivePeriod
checkCanCreateOrgApp checkIsNotParticipatingInProgramInScope access check
methods and the corresponding arguments are added in all the places they
are used.
Daniel Hans <Daniel.M.Hans@gmail.com> [Mon, 17 Aug 2009 18:47:48 +0200] rev 2780
Whitespace fix in Base view.
Daniel Hans <Daniel.M.Hans@gmail.com> [Mon, 17 Aug 2009 18:43:23 +0200] rev 2779
Argument to_json added to json function in Base view.
Its value (which should be a boolean) determines if the data should be converted to a JSON object. Therefore if someone has already a JSON string and wants to return it in a HTTP response, he or she may set to_json=False and the object will not be converted.
Daniel Hans <Daniel.M.Hans@gmail.com> [Mon, 17 Aug 2009 14:01:13 +0200] rev 2778
Whitespace fix in Program view.
Daniel Hans <Daniel.M.Hans@gmail.com> [Mon, 17 Aug 2009 13:52:50 +0200] rev 2777
Added redirect for use to manage statistics.
Also some minor stylish issues fixed.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 14 Aug 2009 10:28:27 -0700] rev 2776
Added tag v0-5-20090814p1 for changeset 4027acdbf91d
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 14 Aug 2009 10:28:06 -0700] rev 2775
Set new Melange version number to 0-5-20090814p1 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 14 Aug 2009 10:21:09 -0700] rev 2774
Fixed call to get QueryForFields due to changes in r0548101922.
The order argument was given as ancestor instead of order.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 14 Aug 2009 10:13:27 -0700] rev 2773
Added tag v0-5-20090814 for changeset bb96d2c3885e
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 14 Aug 2009 10:12:50 -0700] rev 2772
Set new Melange version number to 0-5-20090814 in app.yaml.template.
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 14 Aug 2009 03:58:40 +0530] rev 2771
checkIsAfterEvent takes logic as argument instead of hard coded program logic.
checkIsAfterEvent access checker uses hard coded core program_logic. Instead
it now takes the program logic as an argument to accommodate GHOPProgram
logic.