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.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 11 Aug 2009 10:22:01 -0700] rev 2754
Project Survey results view now doesn't list all for plain users.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 10 Aug 2009 18:57:55 -0700] rev 2753
Set the proper filters for the ProjectSurvey results view.
Also opened it up to users.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 10 Aug 2009 18:57:00 -0700] rev 2752
Fix copy/paste fail in Survey results view regarding allowed_to_read.
allowed_to_read would never be set to True since survey_entity was not defined.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 10 Aug 2009 18:49:34 -0700] rev 2751
_getResultsViewRecordFields does not need fields argument anymore.
It now returns its own filter dictionary when called. Should be overwritten by subclasses who wish to use other filters.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 10 Aug 2009 18:03:55 -0700] rev 2750
Open up the Survey Results view for users.
Mario Ferraro <fadinlight@gmail.com> [Tue, 11 Aug 2009 18:06:57 +0100] rev 2749
Upgrade jQuery UI to version 1.7.
Following our upgrade to JQuery 1.3 we can now upgrade to
the most recent version.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 10 Aug 2009 16:58:51 -0700] rev 2748
Updated several page titles to contain more information.
Fixes Issue 437.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 10 Aug 2009 16:35:01 -0700] rev 2747
Added hook for the edit view.
This hook is called on both GET and POST requests.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 10 Aug 2009 15:49:47 -0700] rev 2746
Redirect to the manage page for failed, completed and withdrawn projects.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 10 Aug 2009 15:37:12 -0700] rev 2745
Made the specific SurveyTakeForm used in a View part of params.
This fixes the Grade question not showing up on the preview and view record pages.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 10 Aug 2009 15:28:42 -0700] rev 2744
Removed the grade_choices keyword argument from GradeSurveyTakeForm.
This is because this class already assumes very specific things about the grade_choices keyword argument. Therefore it is now a constant inside this class.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 10 Aug 2009 15:14:29 -0700] rev 2743
Enable the project management page to be visited for project in other statusses.
This enables org admins to easily view Survey results for projects that have failed.
Sverre Rabbelier <sverre@rabbelier.nl> [Sun, 09 Aug 2009 21:00:32 -0700] rev 2742
Added tag v0-5-20090809 for changeset 107bec037dda
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 09 Aug 2009 20:59:15 -0700] rev 2741
Set new Melange version number to 0-5-20090809 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 09 Aug 2009 13:42:31 -0700] rev 2740
Added project title and student name to the ProjectSurvey take page.
This required some reodering of the Survey take template and also a renamed setH
elpAndStatus to _setSurveyTakeContext.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 09 Aug 2009 13:03:47 -0700] rev 2739
Added capability to update a single GradingRecord on the edit page.
Mario Ferraro <fadinlight@gmail.com> [Sat, 08 Aug 2009 18:42:22 +0100] rev 2738
Upgrade to jQuery library to 1.3.2 version.
This will allow us to use also the new Event object (for example
for publish/subscribe pattern) along with some plugins
(like Colorbox) which work only with newer (>=1.3) jQuery versions.
Some further testing is suggested.
Daniel Hans <Daniel.M.Hans@gmail.com> [Fri, 07 Aug 2009 02:06:33 +0200] rev 2737
List of countries is actually alphabetically sorted.
Daniel Hans <Daniel.M.Hans@gmail.com> [Fri, 07 Aug 2009 01:27:24 +0200] rev 2736
Argument store added to updateEntityProperties.
This argument determines if an entity should be stored in the data model after its properties are updated.
It may be useful, for example, along with tasks (Task Queue API). One may want to make some modifications to an entity during execution of a task, but the developer is sure that at least one new task, which also wants to modify the entity, will be queued, so he or she can just update the entity without saving the changes to the data model, set the entity in memcache and the following task (which is to be executed very shortly) is to retrive the current entity from the memcache (without any expensive calls to the actual data model).
Daniel Hans <Daniel.M.Hans@gmail.com> [Fri, 07 Aug 2009 01:00:58 +0200] rev 2735
Each country has its continent assigned.
In order to retrive the continent, one has to use COUNTRIES_TO_CONTINENT dictionary.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 06 Aug 2009 10:48:44 +0200] rev 2734
Added and enabled new access check for viewing ProjectSurvey records.
Org Admins, project Mentors and project Students are now allowed to see their own ProjectSurveyRecords.
Note however that Students and Mentors have no interface yet to find the whereabouts of their records.
Fixes Issue 659.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 05 Aug 2009 22:00:08 +0200] rev 2733
Added and enabled access check for viewing SurveyRecords.
Note that viewing ProjectSurveys or ProjectGradingSurveys are still dev only.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 05 Aug 2009 16:52:08 +0200] rev 2732
Enabled Org Admins to take Surveys on behalf of their Mentors.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 05 Aug 2009 12:38:50 +0200] rev 2731
The Survey Results view now only list Records of interest to the current user.
Also added a hook that can be overwritten by subclasses to adjust the filter. THis will be useful when wanting to filter on ProjectSurveyRecords for a specific org.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 04 Aug 2009 21:46:03 +0200] rev 2730
Redone the list_info function for the Project's manage page.
This will reduce the overhead because Django calls the info method over and over again.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 04 Aug 2009 21:29:49 +0200] rev 2729
Added redirect to the StudentProject manage page for viewing SurveyRecords.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 04 Aug 2009 17:07:44 +0200] rev 2728
Whitespace fix in User model.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 04 Aug 2009 17:00:46 +0200] rev 2727
ViewResults for Surveys is now showing all SurveyRecords.
The redirect will redirect the user to the viewing of a single SurveyRecord.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 04 Aug 2009 16:57:27 +0200] rev 2726
Added redirect for viewing SurveyRecords and enabled links in the Record list.
Patch by: Lennard de Rijk and James Levy
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 04 Aug 2009 16:52:41 +0200] rev 2725
Removed TODO from ProjectSurvey and GradingProjectSurvey views.
James Levy <jamesalexanderlevy@gmail.com> [Tue, 04 Aug 2009 16:46:47 +0200] rev 2724
Added templates for listing SurveyRecords.
In the process results_heading and results_row got renamed to records_heading and records_row.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 04 Aug 2009 15:59:42 +0200] rev 2723
The Survey public view now uses the proper page name.
Also removed the pick view entry from the Survey View.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 04 Aug 2009 15:58:31 +0200] rev 2722
Added view for showing Survey Records.
The current access level is set to Developer only until this feature is complete
d.
A start has also been made on the viewResults method which will list the appropr
iate SurveyRecords for a given survey with a redirect to the viewRecord view.
Patch by: Lennard de Rijk and James Levy
James Levy <jamesalexanderlevy@gmail.com> [Tue, 04 Aug 2009 15:34:41 +0200] rev 2721
Added template for viewing Survey Records.
Reviewed by: Lennard de Rijk