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.