Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 00:36:49 +0200] rev 2898
Fix 500 when saving /site/edit without email
When saving /site/edit with no no_reply_email set, a 500 error page
would be returned due to an empty value being passed as value to
the datastore (which is not allowed for email fields).
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 01:22:03 +0200] rev 2897
Remove __melange_queries logging
It causes the local instance to become very slow, as it has to pickle
all queries. A better solution would be to store them in the per
request value store and then add middleware to store that data at
end-of-request.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 09 Sep 2009 22:28:46 +0200] rev 2896
Moved enabling GHOP to settings.py.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 09 Sep 2009 21:14:22 +0200] rev 2895
Added the GHOP modules to the callback.
The ENABLE_MODULE has been added to ensure that the current build does not suffer from any weird artefacts that might occur due to the presence of this module. Of course in time it will be removed.
Thanks Madhusudan for getting us this far ^_^. Minor CSS and image patches should follow shortly.
Madhusudan.C.S <madhusudancs@gmail.com> [Wed, 09 Sep 2009 21:00:51 +0200] rev 2894
Use available Rights Checker when rights are already defined.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Wed, 09 Sep 2009 20:15:53 +0200] rev 2893
Several style and import fixes regarding the GHOP module.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gamil.com> [Tue, 08 Sep 2009 21:30:32 +0200] rev 2892
Added jquery in-place-edit.
Reviewed by: to-be-reviewed
Madhusudan.C.S <madhusudancs@gmail.com> [Tue, 08 Sep 2009 21:22:23 +0200] rev 2891
Added GHOP Program View.
Reviewed by: to-be-reviewed
Madhusudan.C.S <madhusudancs@gmail.com> [Tue, 08 Sep 2009 21:11:23 +0200] rev 2890
Added GHOP Timeline View.
Reviewed by: to-be-reviewed
Madhusudan.C.S <madhusudancs@gmail.com> [Tue, 08 Sep 2009 21:08:14 +0200] rev 2889
Added GHOP Task Subscription View.
Reviewed by: Lennard de Rijk.
Madhusudan.C.S <madhusudancs@gmail.com> [Tue, 08 Sep 2009 21:02:09 +0200] rev 2888
Added GHOP Organization View.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Tue, 08 Sep 2009 20:58:14 +0200] rev 2887
Added GHOP Org Admin View.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Tue, 08 Sep 2009 20:57:03 +0200] rev 2886
Added GHOP Mentor View.
Note that the access checks have not been updated yet.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Tue, 08 Sep 2009 20:54:19 +0200] rev 2885
Added GHOP Task View.
TODO's have been added on the places where the code struggles with consistency and compactness issues.
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 08 Sep 2009 20:52:03 +0200] rev 2884
Renamed method in GHOP Cleaning to match style guide.
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 08 Sep 2009 14:56:47 +0200] rev 2883
Hook up the conversion tasks
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 08 Sep 2009 14:56:39 +0200] rev 2882
Add a view to start conversion tasks
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 08 Sep 2009 14:24:16 +0200] rev 2881
Add templates for conversion task starter
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 07 Sep 2009 20:37:15 +0200] rev 2880
Fix import sort order
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 07 Sep 2009 20:36:14 +0200] rev 2879
Revert "revert wrong head"
This reverts commit re440e94a87.
Sverre Rabbelier <sverre@rabbelier.nl> [Mon, 07 Sep 2009 20:27:37 +0200] rev 2878
merge with wrong head
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 07 Sep 2009 20:07:58 +0200] rev 2877
Fix miscaching of homepage
Add system.getHostname() and system.getAppVersion() to the homepage
key so that we do not use an wrong version.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 07 Sep 2009 20:06:27 +0200] rev 2876
Use system.getHostname() everywhere
Replace os.environ['HTTP_HOST'] with system.getHostname(), as a
result we do not crash when 'HTTP_HOST' is unset now.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 07 Sep 2009 20:02:35 +0200] rev 2875
Add a getHostname to system
It is better to abstract how we retrieve the hostname than to access
it directly (see also getAppVersion).
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 05 Sep 2009 15:56:19 +0200] rev 2874
Enable local memcache api in interactive console
Mario Ferraro <fadinlight@gmail.com> [Mon, 07 Sep 2009 15:20:49 +0200] rev 2873
Scripts to run Shrinksafe during build.
The function that runs shrinksafe over JS files has been put
to a separate shell file to be run standalone without building
if needed.
Mario Ferraro <fadinlight@gmail.com> [Mon, 07 Sep 2009 15:07:37 +0200] rev 2872
Added Shrinksafe code to shrink JS files before deploy.
Sverre Rabbelier <sverre@rabbelier.nl> [Mon, 07 Sep 2009 20:26:39 +0200] rev 2871
revert wrong head
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 06 Sep 2009 23:47:08 +0200] rev 2870
Added tag v0-5-20090906 for changeset 9f7f269383f7
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 07 Sep 2009 20:07:58 +0200] rev 2869
Fix miscaching of homepage
Add system.getHostname() and system.getAppVersion() to the homepage
key so that we do not use an wrong version.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 06 Sep 2009 23:46:28 +0200] rev 2868
Set new Melange version number to 0-5-20090906 in app.yaml.template.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 07 Sep 2009 20:06:27 +0200] rev 2867
Use system.getHostname() everywhere
Replace os.environ['HTTP_HOST'] with system.getHostname(), as a
result we do not crash when 'HTTP_HOST' is unset now.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 06 Sep 2009 23:45:14 +0200] rev 2866
Remove some left overs from recent Google App Engine 1.2.5 update.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 07 Sep 2009 20:02:35 +0200] rev 2865
Add a getHostname to system
It is better to abstract how we retrieve the hostname than to access
it directly (see also getAppVersion).
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 06 Sep 2009 23:31:53 +0200] rev 2864
Update Google App Engine from 1.2.3 to 1.2.5 in thirdparty folder.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 05 Sep 2009 15:56:19 +0200] rev 2863
Enable local memcache api in interactive console
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 05 Sep 2009 14:04:24 +0200] rev 2862
Fixed Ivory Coast rename that was introduced in r74f0972f52.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 04 Sep 2009 22:51:23 +0200] rev 2861
Fixed GHOP Cleaning clean_mentors_list method from using query on list.
Somehow this fix was missing from the previous revision, bad HG.
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 04 Sep 2009 22:42:47 +0200] rev 2860
Added cleaning method to validate a list of mentor's link_ids.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 04 Sep 2009 22:35:13 +0200] rev 2859
Added cleaning method to convert a list of comma separated strings into a set.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 03 Sep 2009 12:46:07 +0530] rev 2858
Added additional methods for TaskTag model and add arbit_tag type to GHOPTask.
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 02 Sep 2009 20:42:23 +0200] rev 2857
Updated to r11 of app_profiler
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 02 Sep 2009 10:52:04 +0200] rev 2856
Prefetch referenced fields in project listing
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 02 Sep 2009 10:51:25 +0200] rev 2855
Hook up prefetching in the view (helper)
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 02 Sep 2009 10:24:10 +0200] rev 2854
Add support for prefetching fields
This makes it possible to specify the fields that should be
prefetched as part of a getForFields query. Doing a prefetch on a
ReferenceProperty when it is known that the property will be
referenced in (almost all) entities is far more efficient than
doing the invididual fetches sequentially.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 31 Aug 2009 05:06:17 -0700] rev 2853
only store queries in debug mode
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 31 Aug 2009 05:04:31 -0700] rev 2852
fix typo in memcache.get in base logic
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Aug 2009 14:33:48 -0700] rev 2851
Store queries in memcache
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Aug 2009 14:33:22 -0700] rev 2850
Do not store core in Checker
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Aug 2009 14:32:14 -0700] rev 2849
Add self.in_request to Core and verify correct state
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Aug 2009 14:31:26 -0700] rev 2848
Convert profiler/start page to html
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Aug 2009 14:30:52 -0700] rev 2847
Use profiler.py to prevent import failures
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Aug 2009 14:30:09 -0700] rev 2846
Set expiration date of static dirs to 1d
Madhusudan.C.S <madhusudancs@gmail.com> [Sun, 30 Aug 2009 22:00:07 +0530] rev 2845
GHOPWorkSubmission model is made id_based and inherits from base.
Also a reference property to GHOPOrganization is added in
GHOPWorkSubmission model.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 30 Aug 2009 17:34:47 +0200] rev 2844
Added missing blank line to GHOP redirects helper.
Madhusudan.C.S <madhusudancs@gmail.com> [Sun, 30 Aug 2009 17:34:03 +0200] rev 2843
Added __init__ file to the GHOP views module.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Sun, 30 Aug 2009 17:31:02 +0200] rev 2842
Added list_info method for use in the GHOP module.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Sun, 30 Aug 2009 17:50:54 +0530] rev 2841
Updated the docstrings for GHOP access methods.
The checkRoleAndStatusForTask and checkStatusForTask methods' docstrings
tell more on what they specifically do and why they both exist separately.
Madhusudan.C.S <madhusudancs@gmail.com> [Sun, 30 Aug 2009 13:56:21 +0200] rev 2840
Added access checks for GHOP Module.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Sun, 30 Aug 2009 13:16:58 +0200] rev 2839
Added redirects module for GHOP.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Sun, 30 Aug 2009 13:15:06 +0200] rev 2838
Added templatetag and filter libraries for GHOP.
Reviewed by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Aug 2009 01:40:45 -0700] rev 2837
Set profiler/ to admin only
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Aug 2009 11:49:47 -0700] rev 2836
Use per-request store to store access rights
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Aug 2009 11:48:27 -0700] rev 2835
Use the per-request store to store the context
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Aug 2009 11:47:32 -0700] rev 2834
Hook up the new per-request value storage
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Aug 2009 11:45:55 -0700] rev 2833
Add a new per-request value store to Core
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 27 Aug 2009 20:34:43 -0700] rev 2832
Profiling patch
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 28 Aug 2009 19:41:28 +0530] rev 2831
STATE_TRANSITIONS dictionary values are changed to strings.
Our assumption that Python's functions and methods are first class members
and using the method names directly as dictionary values doesn't seem to
work. So we are using method names as strings in STATE_TRANSITIONS
dictionary and getting the method object using getattr.
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 28 Aug 2009 13:17:32 +0200] rev 2830
Added templatetags for use in the GHOP module.
Reviewed by: to-be-reviewed
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 28 Aug 2009 13:16:34 +0200] rev 2829
Bulk added templates for GHOPOrganization views.
Reviewed by: to-be-reviewed
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 28 Aug 2009 13:15:56 +0200] rev 2828
Bulk add templates regarding GHOPProgram Views.
Reviewed by: to-be-reviewed
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 28 Aug 2009 13:14:16 +0200] rev 2827
Bulk add templates regarding Task Views.
Reviewed by: to-be-reviewed
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 28 Aug 2009 13:13:05 +0200] rev 2826
Added Task for sending out emails to subscribed users about a Comment.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 28 Aug 2009 12:57:12 +0200] rev 2825
Added method to send out mail about a Task update.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 28 Aug 2009 12:47:38 +0200] rev 2824
Added template for mails regarding Task updates.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 28 Aug 2009 12:34:16 +0200] rev 2823
Added several methods to the Task Logic module.
These include the automatic tranistion methods. The methods for running updates , that for instance place comments, in a datastore transition to keep the Task synced with the comments. And a rudimentary way of updating the Tasks' history.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 27 Aug 2009 22:40:26 +0530] rev 2822
Removed scope and scope_path properties from GHOPComment since it is ID based.
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 27 Aug 2009 22:35:28 +0530] rev 2821
Added reference to GHOPProgram entity for Work Submissions.
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 27 Aug 2009 12:02:00 +0200] rev 2820
Added GHOP Form cleaning module.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 27 Aug 2009 11:48:33 +0200] rev 2819
Added GHOPTaskSubscription Logic module.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 27 Aug 2009 11:15:35 +0200] rev 2818
Added GHOP Student Logic.
Note that on creation of a GHOPStudent a GAE Task is created to update the taskswith the new GHOPStudent reference. This is due to the fact that we allow users to claim task without being a registered Student.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 27 Aug 2009 11:13:52 +0200] rev 2817
Added GAE tasks that are related to updating GHOP Tasks.
Several TODO's have been added. Also note that some functionality that is being used here is under construction and is being integrated asap. That's the price to pay for cleaner integration commits I guess :).
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 27 Aug 2009 10:44:26 +0200] rev 2816
Added GHOP Logic helper package.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 27 Aug 2009 10:40:43 +0200] rev 2815
Added ghop-update queue for dealing with GHOP Task updates.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 27 Aug 2009 10:15:02 +0200] rev 2814
Added GHOP task package for holding GAE Task related modules.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 26 Aug 2009 18:45:01 +0200] rev 2813
Removed workflow property from Program model.
This has become obsolete with the new Module approach.
Also fixed a small error I made when reviewing Madhusudan's timeline patch in _editPost for Program View.
Madhusudan.C.S <madhusudancs@gmail.com> [Wed, 26 Aug 2009 18:37:35 +0200] rev 2812
Moved createTimelineForType to Program Logic.
Using polymorphism and the timeline_logic keyword argument the TIMELINE_LOGIC collection can now be removed.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 26 Aug 2009 18:31:19 +0200] rev 2811
Added timeline_logic keyword argument to Program logic.
This will allow us to track which Timeline logic belongs to which each Program.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 26 Aug 2009 18:26:15 +0200] rev 2810
Make the timeline View work directly on the GSoC timeline for the time being.
This will help us get rid of the weird TIMELINE_LOGIC constant we are using now to switch between the different timelines. The other timelines should get their own View module.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 26 Aug 2009 18:23:58 +0200] rev 2809
Make Sponsor the scope_logic for the GSoC timeline model.
This will prevent errors when for instance generating URL's that are relying on the scope of this timeline.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 26 Aug 2009 18:11:25 +0200] rev 2808
Take the safe way when trying to delete a Sponsor.
Madhusudan.C.S <madhusudancs@gmail.com> [Wed, 26 Aug 2009 17:31:34 +0200] rev 2807
GHOPComment Logic is made to inherit from base Logic and made ID based.
This matches the recent changes to the GHOP Comment model.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Wed, 26 Aug 2009 17:27:40 +0200] rev 2806
Added role_name and disallow_last_resign keyword params to OA and Mentor Logic.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Wed, 26 Aug 2009 20:17:27 +0530] rev 2805
Added GHOPTaskSubscription model to keep track subscriptions for GHOPTasks.
Mario Ferraro <fadinlight@gmail.com> [Tue, 25 Aug 2009 19:33:48 +0100] rev 2804
JSLint comment moved because of new uncompressed JSLint complains.
Mario Ferraro <fadinlight@gmail.com> [Tue, 25 Aug 2009 19:32:53 +0100] rev 2803
JSLint script file renamed because of better file name style.
Mario Ferraro <fadinlight@gmail.com> [Tue, 25 Aug 2009 19:29:47 +0100] rev 2802
JSLint updated to uncompressed version.
Mario Ferraro <fadinlight@gmail.com> [Tue, 25 Aug 2009 16:15:07 +0100] rev 2801
Renamed all JS files affected by former commit.
And also changed templates accordingly.
Mario Ferraro <fadinlight@gmail.com> [Tue, 25 Aug 2009 15:58:30 +0100] rev 2800
Made all JS code JSLint compliant.
Mario Ferraro <fadinlight@gmail.com> [Tue, 25 Aug 2009 15:55:26 +0100] rev 2799
JSLint added to verify Javascript code quality against guidelines.
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.