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.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 13 Aug 2009 14:02:22 -0700] rev 2770
Redone the acceptedStudentsExport functionality.
The method has been renamed to exportStudentsWithProjects and retrieves the document_name and the new shipping address properties. Also it filters out all invalid projects or projects for wich the scope_path doesn't match the given scope_pa
th_start.
Also there is no more need to use the argument given to this method when adding the extra columns. The data is now prepared by one loop which uses the key present in the accepted_students dictionary for retrieving the data used by the extra columns.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 13 Aug 2009 11:52:43 -0700] rev 2769
Added export for Org Admins and Mentors, but only one per User.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 13 Aug 2009 10:46:53 -0700] rev 2768
Added methods that give the shipping information for a role entity.
The shipping fields are only given when all the required address fields are set. Otherwise the residential fields are returned.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 13 Aug 2009 10:23:31 -0700] rev 2767
Changed to_dict to call all callable values when their key is in field_names.
This is useful for instance when exporting role instances and you want to export document_name.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 12 Aug 2009 15:44:18 -0700] rev 2766
Fixed Survey Take page which was erroring on undefined variables.
Get me a brown paper bag please ^_^.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 12 Aug 2009 13:39:40 -0700] rev 2765
Removed unused import from GradingProjectSurvey view.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 12 Aug 2009 13:37:57 -0700] rev 2764
Cleaned up Survey Logic.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 12 Aug 2009 13:32:29 -0700] rev 2763
Added base Model for Expando models.
Due to comments on r031e5828f3.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 12 Aug 2009 11:31:05 -0700] rev 2762
Added intial GSoC logic modules.
This will be filled with GSoC specific code once the transformation is complete.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 12 Aug 2009 10:17:08 -0700] rev 2761
Added basic GSoC module models.
These models will be filled with GSoC specific entries once the transformation is complete.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 12 Aug 2009 09:39:16 -0700] rev 2760
Added inital GSoC module package structure.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 11 Aug 2009 15:56:55 -0700] rev 2759
Set ASCII-only cleaner for first and last name when dealing with roles.
Madhusudan.C.S <madhusudancs@gmail.com> [Wed, 12 Aug 2009 02:37:55 +0530] rev 2758
Changed the parameter from ancestor to ancestors to accommodate a list of ancestors.
Madhusudan C.S. <madhusudancs@gmail.com> [Tue, 11 Aug 2009 12:48:10 -0700] rev 2757
updateOrCreateFromFields is made to call updateOrCreateFromKeyName.
updateOrCreateFromFields called self._model.get_or_insert which only creates
new entities but doesn't update the properties if the entity already exists.
So updateOrCreateFromFields is now made to call updateOrCreateFromKeyName
which actually updates the entity properties if entity already exists.
Reviewed by: Lennard de Rijk
Madhusudan C.S. <madhusudancs@gmail.com> [Tue, 11 Aug 2009 11:39:28 -0700] rev 2756
Added ancestors property to getQueryForFields for queries with ancestor filter.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 11 Aug 2009 10:54:56 -0700] rev 2755
Completed the proper filter for the GradingProjectSurvey results view.
Also set the access check to checkIsUser.