Lennard de Rijk <ljvderijk@gmail.com> [Sun, 04 Oct 2009 21:15:58 +0200] rev 3007
Added StudentProject update to the Module Conversion updates.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 04 Oct 2009 20:46:59 +0200] rev 3006
Added Review module conversion update.
In which we'll phase out the reviewer property from Review.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 04 Oct 2009 15:14:06 +0200] rev 3005
Removed obsolete value to unpack in the updateGHOPTask Task.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 04 Oct 2009 15:07:29 +0200] rev 3004
Also pass along the args when running an update.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 03 Oct 2009 21:49:08 +0200] rev 3003
GHOP Comments do not need to be created by a User.
We also have "system" messages.
Madhusudan.C.S <madhusudancs@gmail.com> [Sat, 03 Oct 2009 22:17:58 +0530] rev 3002
Fix the deadline counter to start counting only after Task claim is accepted.
Deadline counter used to start when the task was claimed to be requested.
This commit fixes that.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 01 Oct 2009 20:48:11 +0200] rev 3001
Only set new properties outside the "properties" loop for the ModuleConversion.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 01 Oct 2009 20:46:51 +0200] rev 3000
Add the Student to GSoCStudent conversion,
Also fix the import sorting.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 01 Oct 2009 20:37:55 +0200] rev 2999
Only store all the entities once in the ModuleConversion, after the for loop.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 01 Oct 2009 20:36:57 +0200] rev 2998
Add OrgAdmin and Mentor to GSoCOrgadmin and GSoCMentor updates.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 01 Oct 2009 20:13:40 +0200] rev 2997
Added the Organization to GSoCOrganzation update.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 30 Sep 2009 21:39:09 +0200] rev 2996
Use the iterative task iterator for the ProgramConversion update.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 30 Sep 2009 21:26:50 +0200] rev 2995
Changed the working of the iterative_task decorator.
The decorator now needs the logic for the model which it fetches. This is much nicer then "fetching" it using import.
Also order has been removed since it has no use when iterating over all entities when key is involved. Fields to filter can now dynamically be set by the function that is wrapped.
Note that it will merge the filter with the task_default kwarg and it will only use the start_key if their is no key present in the context.
Also note that task_default gathers all kwargs. I tried to do it otherwise (with default kwargs) but I couldn't get it to work. Feel free to improve :).
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 30 Sep 2009 21:10:36 +0200] rev 2994
Removed order property in the getBatchOfData.
This ordering is not possible since you want to go over the entities in order oftheir key and ordering them would prohibit this from happening properly.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 29 Sep 2009 20:11:54 +0200] rev 2993
Removed the debug logging line from the Task decorator.
Also make use of the next_start_key as name for the new starting key.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 29 Sep 2009 20:10:08 +0200] rev 2992
Made getBatchOfData use start_key instead of next_key.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 29 Sep 2009 20:04:24 +0200] rev 2991
Fixed use of wrong dictionary key in Task Decorators.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 29 Sep 2009 19:56:58 +0200] rev 2990
Moved the Tasks decorators to their own module.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 28 Sep 2009 14:24:30 +0200] rev 2989
Make batch size a param to getBatchOfData
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 28 Sep 2009 12:22:48 +0200] rev 2988
Added tag v0-5-20090928 for changeset db28a7db5cc6
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 28 Sep 2009 12:22:26 +0200] rev 2987
Set new Melange version number to 0-5-20090928 in app.yaml.template.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 28 Sep 2009 11:07:55 +0200] rev 2986
Merging test back in
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 28 Sep 2009 00:50:59 +0200] rev 2985
Fixed whitespace in base model.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 28 Sep 2009 11:03:57 +0200] rev 2984
Move soc.logic.tasks to soc.tasks.responses
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 27 Sep 2009 23:34:21 +0200] rev 2983
I hate how Hg handles unsynched remote changes
Daniel Hans <Daniel.M.Hans@gmail.com> [Sun, 27 Sep 2009 23:31:39 +0200] rev 2982
Add task and iterative_task decorator
Also add getBatchOfData method to the base logic and tasks logic
module.
Reviewed-by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 27 Sep 2009 18:18:53 +0200] rev 2981
Fixed Task public view to always call the update method.
Also removed an obsolete value ws_entity that could not be unpacked (therefore causing 505's).
Daniel Hans <Daniel.M.Hans@gmail.com> [Sun, 27 Sep 2009 23:31:39 +0200] rev 2980
Add task and iterative_task decorator
Also add getBatchOfData method to the base logic and tasks logic
module.
Reviewed-by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 27 Sep 2009 17:46:43 +0200] rev 2979
Fixed GHOP Task Logic's updateEntityProperties.
This method now properly calls the supermethod and also uses the right keyword argument (silent instead of siltent).
Madhusudan.C.S <madhusudancs@gmail.com> [Sun, 27 Sep 2009 01:23:58 +0530] rev 2978
Fixes the problem of GHOP Task editing after it is created.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 25 Sep 2009 09:21:47 +0200] rev 2977
Style fix in soc.views.models.request module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 25 Sep 2009 09:20:10 +0200] rev 2976
Add missing blank line in soc.modules.gsoc.logic.models.student module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 25 Sep 2009 09:07:35 +0200] rev 2975
Add missing blank line in soc.models.survey_record module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 25 Sep 2009 08:43:25 +0200] rev 2974
Fix whitespace in pylint disable-msg comment in soc.views.models.student_project module.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 24 Sep 2009 21:17:33 +0200] rev 2973
Added first version of the 1st step in the module conversion process.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 24 Sep 2009 21:15:45 +0200] rev 2972
Style fixes in seed_db module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 24 Sep 2009 21:07:31 +0200] rev 2971
Style fix in soc.views.helper.redirects module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 24 Sep 2009 20:59:38 +0200] rev 2970
Fix indentions in student_project view module.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 24 Sep 2009 20:31:56 +0200] rev 2969
Corrected an import in the student_school_type update module.
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 22 Sep 2009 13:07:27 +0200] rev 2968
Prevent modification of key fields
Only non-id-based entities are affected as id-based entities do not
have any un-modificable fields.
Daniel Hans <Daniel.M.Hans@gmail.com> [Tue, 22 Sep 2009 13:15:33 +0200] rev 2967
Add a script to generate a kml file with all active GSoC participants
Only the students, mentors, and organization admins that are 'active'
are exported. Students that do not have a project are not exported.
Reviewed-by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 22 Sep 2009 00:51:51 +0200] rev 2966
Added tag v0-5-20090922 for changeset 06f4fe351977
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 22 Sep 2009 00:51:27 +0200] rev 2965
Set new Melange version number to 0-5-20090922 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 21 Sep 2009 20:52:33 +0200] rev 2964
Renamed timeline entry in GHOP Timeline to match style of the timeline.
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 18 Sep 2009 22:11:13 +0200] rev 2963
Fixed a typo in getRightsChecker docstring
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 18 Sep 2009 22:08:50 +0200] rev 2962
Throw an exception when registering an already registered right
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 18 Sep 2009 21:50:54 +0200] rev 2961
Convert cleaning module to use the new checker in core
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 18 Sep 2009 21:38:14 +0200] rev 2960
Use ',' instead of ':' in function call
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 18 Sep 2009 21:37:15 +0200] rev 2959
Remove ghop related liens from soc_core callback
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 18 Sep 2009 21:21:22 +0200] rev 2958
Fixed unknown variable in GHOP Access checker.
Fixes Issue 691.
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 18 Sep 2009 20:06:28 +0200] rev 2957
Enable document system for GHOP
As can be seen from the changes outside app/soc/modules, there is
still some work to be done to make the modules fully restricted
to configuration changes and code in app/soc/modules.
Reviewed-by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 18 Sep 2009 19:56:23 +0200] rev 2956
Use the new rights code in core
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 18 Sep 2009 19:55:03 +0200] rev 2955
Add document rights registration to core
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 18 Sep 2009 19:34:30 +0200] rev 2954
Move around Core methods into more relevant sections
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 18 Sep 2009 18:55:57 +0200] rev 2953
Use getOrCreateTaskSubscriptionForTask in the TaskSubscription View.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 18 Sep 2009 18:53:14 +0200] rev 2952
Added getOrCreateTaskSubscriptionForTask to TaskSubscription Logic.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 18 Sep 2009 18:40:17 +0200] rev 2951
Added listing of all Accepted GHOPOrganizations to the Program View.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 18 Sep 2009 21:59:42 +0530] rev 2950
ret_list keyword argument is added to tags_strings method to enable returning lists also instead of strings.
Madhusudan.C.S <madhusudancs@gmai.com> [Fri, 18 Sep 2009 18:39:00 +0200] rev 2949
Added index to sort GHOPOrganizations per program by their name.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 18 Sep 2009 20:35:55 +0530] rev 2948
Added a templatetag for table field to show date in ordinal fashion.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 17 Sep 2009 23:37:55 +0200] rev 2947
Added missing argument to org_app View access check.
Madhusudan.C.S <madhusudancs@gmail.com> [Fri, 18 Sep 2009 03:05:47 +0530] rev 2946
Added GHOP views helper to INSTALLED_APPS in django settings.py.
Adding this path to INSTALLED_APPS enables GHOP specific templatetags that resides
in this path.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 17 Sep 2009 22:24:59 +0200] rev 2945
Added apply_mentor view to GHOPOrganization view.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 17 Sep 2009 22:13:08 +0200] rev 2944
Added 2 missing views to the GHOPOrganization View.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 17 Sep 2009 22:05:42 +0200] rev 2943
Fixed error in mentor field cleaning, the list of mentors was never resolved.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 17 Sep 2009 21:59:30 +0200] rev 2942
Removed undefined order argument in GHOP Task View.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 17 Sep 2009 21:22:49 +0200] rev 2941
Bron paper bag fix, should have been part of ref809d10aa.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 17 Sep 2009 21:09:53 +0200] rev 2940
Fixed error occuring when tags list was empty in GHOPProgram edit View.
Mario Ferraro <fadinlight@gmail.com> [Thu, 17 Sep 2009 17:31:40 +0200] rev 2939
Map JS renamed because of latest changes.
Mario Ferraro <fadinlight@gmail.com> [Thu, 17 Sep 2009 17:25:41 +0200] rev 2938
Shrinksafe complains during compression of map JS fixed.
It comes that "long" can't be used as a variable name as we did,
because Shrinksafe complains that "long" is a reserved keyword.
Mario Ferraro <fadinlight@gmail.com> [Thu, 17 Sep 2009 17:15:10 +0200] rev 2937
Shrinksafe script fixed to workaround Linux vs BSD stat packages.
Under MacOSX (BSD) the format for stat needs "-f" switch, while
under Linux stat needs "-c". Changed to use ls and awk, which
seem to be cross compatible.
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 17 Sep 2009 14:41:15 +0530] rev 2936
Added program_logic parameter to checkCanEditTimeline access check and corresponding changes in timeline views.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 17 Sep 2009 12:50:14 +0530] rev 2935
Removed slots and apps_tasks_limit from extra_dynaexclude in params and added a getExtraMenus entry to callback for program.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 17 Sep 2009 12:43:30 +0530] rev 2934
Added all indexes required for GHOP specific queries.
Reviewed by: Lennard de Rijk
Madhusudan.C.S <madhusudancs@gmail.com> [Thu, 17 Sep 2009 12:40:56 +0530] rev 2933
Added all GHOP specific css properties.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 16 Sep 2009 20:09:13 +0200] rev 2932
Fixed the Student update to properly find its own URL.
Also style fix in start_update module.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 16 Sep 2009 13:38:18 +0200] rev 2931
Enabled the Student School type updater.
The updater now passes along the runner URL to the starter function.
Also fixed the TaskRunner to display correct error messages when a invalid option has been specified.
Madhusudan.C.S <madhusudancs@gmai.com> [Wed, 16 Sep 2009 13:35:53 +0200] rev 2930
Added updater to update the existing Student models with the school_type entry.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 15 Sep 2009 22:38:01 +0200] rev 2929
Moved the Student cleaner to the create form such that it is always used.
Also enforced that the user picks a School type in the cleaner for the time being.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 15 Sep 2009 22:23:06 +0200] rev 2928
Changed the TaskRunner to start and run update tasks.
Also changed the way the different updates are defined as to comments received on r2ddd386d1d.
Madhusudan.C.S <madhusudancs@gmail.com> [Tue, 15 Sep 2009 22:03:18 +0200] rev 2927
Changed the Student Model cleaner to deal with the new Student properties.
Patch by: Madhusudan.C.S and Lennard de Rijk
Reviewed by: to-be-reviewed
Madhusudan.C.S <madhusudancs@gmail.com> [Tue, 15 Sep 2009 22:01:16 +0200] rev 2926
Added school_type and grade property to Student model.
A GAE Task will be provided to update the existing entities in a later commit.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 15 Sep 2009 21:57:28 +0200] rev 2925
Moved the updater to its own module.
Madhusudan.C.S <madhusudancs@gmail.com> [Tue, 15 Sep 2009 21:05:23 +0200] rev 2924
Added Student create/edit/apply template for use with the new Student Model.
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 15 Sep 2009 20:57:46 +0200] rev 2923
Enabled the GHOPStudent view in the GHOP module.
Madhusudan.C.S <madhusudancs@gmail.com> [Tue, 15 Sep 2009 20:54:40 +0200] rev 2922
Added GHOPStudent view and access checks.
Reviewed by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 14 Sep 2009 20:21:47 +0200] rev 2921
Added tag v0-5-20090914 for changeset afeac06aabb2
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 14 Sep 2009 20:19:46 +0200] rev 2920
Set new Melange version number to 0-5-20090914 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 14 Sep 2009 19:58:43 +0200] rev 2919
Using the new checkIsMyActiveRole check where necessary.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 14 Sep 2009 19:58:10 +0200] rev 2918
Added checkIsMyActiveRole check to the access module.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 14 Sep 2009 18:52:57 +0200] rev 2917
Make coverage conditional on run.py flag
Coverage can now be enabled by running './run.py --coverage'.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 14 Sep 2009 18:44:46 +0200] rev 2916
Manually call start and end in test_sidebar
Since we are not using a request directly we need to manually do the
set-up and tear-down required.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 14 Sep 2009 18:43:15 +0200] rev 2915
Use request.start and end
Without the start and end we die on 'assert self.in_request' in the
core per request value store methods.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 14 Sep 2009 18:42:52 +0200] rev 2914
Add a start and end method to MockRequest
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 13 Sep 2009 22:48:10 +0200] rev 2913
Added tag v0-5-200913 for changeset 55adeea795ab
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 13 Sep 2009 22:43:20 +0200] rev 2912
Set new Melange version number to 0-5-20090913 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 12 Sep 2009 21:33:52 +0200] rev 2911
Changed the conversion starter system to an update starter system.
Also increased the usability of the update page by adding more information abou t each update that can be done and for which version number this applies.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 21:27:17 +0200] rev 2910
Use the new optional argument to endRequest in the middleware
Currently endRequest is called twice on an exception if Django
intercepts the exception and returns it's own result. By setting
optional=True we do not crash on 'assert self.in_request'.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 21:26:27 +0200] rev 2909
Add optional argument to endRequest
The optional argument allows endRequest to be called more than once,
as long as any invocation after the first has optional=True.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 21:25:56 +0200] rev 2908
Document value store methods
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 17:10:39 +0200] rev 2907
Remove memcache setup from interactive.py script
Memcache integration with remote_api has been added in the latest
AppEngine release, so we no longer have to use the stub.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 14:42:37 +0200] rev 2906
Add docstring to middleware hooks
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 14:38:42 +0200] rev 2905
Fix copy/paste fail in maintenance middleware docstring
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 01:20:12 +0200] rev 2904
Enable the new middleware and empty the view decorator
The view decorator should be removed entirely in a later commit.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 01:19:23 +0200] rev 2903
Add ValueStoreMiddleware
Based on the view decorator.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 01:06:37 +0200] rev 2902
Add MaintenanceMiddleware
Based on the view decorator.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 01:05:24 +0200] rev 2901
Add ExceptionHandlerMiddleware
Based on the existing view decorator.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 01:04:58 +0200] rev 2900
Add Middleware directory
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 12 Sep 2009 00:59:58 +0200] rev 2899
Fix broken maintenance mode
Maintenance mode has been broken since r7fe19ebfe0d3 (Thu Jun 4)
"Display caught errors on the page itself", fix it by passing the
site entity, rather than the site module to isActivePeriod.
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.
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
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 04 Aug 2009 15:33:39 +0200] rev 2720
Use proper id for survey_description div.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 03 Aug 2009 17:33:58 +0200] rev 2719
Added link for students to resign their profile to the Program menu.
Fixes Issue 549.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 03 Aug 2009 17:32:34 +0200] rev 2718
Fixed access check for Student Manage/Resign page.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 03 Aug 2009 17:05:55 +0200] rev 2717
Fixed typo in access module comment and StudentProject list description.
Madhusudan C.S. <madhusudancs@gmail.com> [Mon, 03 Aug 2009 15:17:21 +0200] rev 2716
Added minimum age property to Program model.
This will allow hosts to specify a minium age requirement for Students wanting to participate in a program.
Reviewed and edited by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 02 Aug 2009 23:51:55 +0200] rev 2715
Added some helpful text to the Student Project Withdraw view.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 02 Aug 2009 23:45:42 +0200] rev 2714
Fixed Org home view map to only appear when projects have been announced.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 02 Aug 2009 22:39:47 +0200] rev 2713
Added tag v0-5-20090802 for changeset 2fb96db18711
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 02 Aug 2009 22:39:09 +0200] rev 2712
Set new Melange version number to 0-5-20090802 in app.yaml.template.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Aug 2009 02:57:20 -0700] rev 2711
addressed comments by Lennard
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Aug 2009 02:52:48 -0700] rev 2710
add checkIsHostForStudentProject checker
Madhusudan.C.S <madhusudancs@gmail.com> [Sun, 02 Aug 2009 15:19:50 +0530] rev 2709
Add parent parameter to accommodate entity groups.
Madhusudan.C.S <madhusudancs@gmail.com> [Sun, 02 Aug 2009 15:20:00 +0530] rev 2708
Notification logic in main SoC is capable of getting constructor parameters.
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 01 Aug 2009 16:22:10 -0700] rev 2707
Fix for copy/paste fail
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 01 Aug 2009 15:55:33 -0700] rev 2706
Add link to withdraw student project page
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 01 Aug 2009 15:37:58 -0700] rev 2705
Allow hosts to withdraw student projects
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 01 Aug 2009 15:37:36 -0700] rev 2704
Add three new redirects
Madhusudan.C.S <madhusudancs@gmail.com> [Sat, 01 Aug 2009 19:27:20 +0530] rev 2703
Style fixes in the ghop task model module.
Pawel Solyga <pawel.solyga@gmail.com> [Sat, 01 Aug 2009 14:50:53 +0200] rev 2702
Added optional filters property to deepFetch.
Note that additional indexes are required whenever this is used.
Reviewed by: Lennard de Rijk
Mario Ferraro <fadinlight@gmail.com> [Sat, 01 Aug 2009 13:20:05 +0100] rev 2701
Organization home page map dimensions now fit the world.
Mario Ferraro <fadinlight@gmail.com> [Sat, 01 Aug 2009 12:31:05 +0100] rev 2700
Role name for mentors now correctly shown in map's infoWindows.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 01 Aug 2009 10:07:08 +0200] rev 2699
Enable the map that shows the connections between mentors and students.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 31 Jul 2009 18:29:09 +0200] rev 2698
Edited the role form to clarify the intention of the checkbox+marker.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 30 Jul 2009 14:02:23 +0200] rev 2697
Renamed main CSS and map JS file due to recent changes.
Mario Ferraro <fadinlight@gmail.com> [Thu, 30 Jul 2009 14:00:37 +0200] rev 2696
Moved the student<->mentor map on the org home page below the list.
Also fixed the wrong EOL in the home.html template.
Patch by: Mario Ferraro and Lennard de Rijk
Reviewed by: to-be-reviewed
Mario Ferraro <fadinlight@gmail.com> [Thu, 30 Jul 2009 13:56:21 +0200] rev 2695
Redone the student<-> mentor map JS to reflect recent datastructure changes.
Reviewed by: Lennard de Rijk (functional review)
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 30 Jul 2009 13:54:47 +0200] rev 2694
Redone the gathering of data for the student<->mentor map.
Note that the data is not actually being put in the template yet.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 30 Jul 2009 10:54:09 +0200] rev 2693
Style fixes in StudentProject View.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 30 Jul 2009 10:53:03 +0200] rev 2692
Factored out the "No Record Available" message.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 30 Jul 2009 10:49:19 +0200] rev 2691
Pre-storing the information for setStudentProjectSurveyInfo.
This is a rename from getStudentProjectSurveyInfo because it now sets the info directly in the list content.
This is done because Django queries the wrapper method every time the info is called in the template.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 30 Jul 2009 10:05:22 +0200] rev 2690
Added project information to the Project manage page.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 30 Jul 2009 10:01:57 +0200] rev 2689
Renamed hasAtLeastOneRecord to hasRecord.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 30 Jul 2009 09:53:22 +0200] rev 2688
Added list of Surveys to the Project's manage page.
This list will show wether or not a Survey has been taken and will also feature links to (re)take a Survey and in the near future to see the actual SurveyRecord.
Note that the take Survey link is working however Org Admins will receive an access denied message when following this link.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 30 Jul 2009 09:43:15 +0200] rev 2687
Added getProjectSurveyInfoForProject to list_info helper.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 30 Jul 2009 09:29:36 +0200] rev 2686
Added new table templates for showing Suryves on the Project manage page.
Note that a system for showing SurveyRecords still needs to be committed.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 28 Jul 2009 11:23:11 +0200] rev 2685
Added columns to the manage project page that show the amount of evaluations.
The total possible amount of evaluations that is shown is based on surveys which have at least one Record.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 28 Jul 2009 11:20:42 +0200] rev 2684
Added hasAtLeastOneRecord method to Survey Logic.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 27 Jul 2009 15:03:20 +0200] rev 2683
Two style fixes.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 27 Jul 2009 13:12:17 +0200] rev 2682
Added tag v0-5-20090727 for changeset 0b4358ef9983
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 27 Jul 2009 13:06:36 +0200] rev 2681
Set new Melange version number to 0-5-20090727 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 25 Jul 2009 13:13:20 +0200] rev 2680
Every radio button is now properly shown on a new line.
Update issue 655
Owner: ljvderijk
Fixes Issue 655.
Madhusudan C.S <madhusudancs@gmail.com> [Sat, 25 Jul 2009 01:09:46 +0530] rev 2679
Adds to Melange a tags framework based on taggable-mixin.
The taggable-mixin allowed only tag per Datastore model. This is extended
framework allows any arbitrary number of tags per Datastore model. Also,
now one can define different models for different Tag types which are all
inherited from the base Tag model provided by taggable-mixin.
The GHOPTask model makes use of 2 tags per model, one for difficulty and the
other for task_type, both using the tags framework.
Reviewed by: Paweł Sołyga
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 24 Jul 2009 21:00:04 +0200] rev 2678
Send out a Notification upon creation of a new Request entity.
The receivers are specified by the corresponding Role logic this Role Request is for. Currently Organization and Club Administrators will receive "new request" messages about respectively Mentor and Club Membership requests.
Fixes Issue 442.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 24 Jul 2009 20:57:53 +0200] rev 2677
Use proper in-line import in Request helper.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 24 Jul 2009 20:56:08 +0200] rev 2676
Added sendNewRequestNotification to the Notifications helper.
This method will send out a notification upon arrival of a new Request to all users who have an active role for the Request's scope and the roles as specified by the getRoleLogicsToNotifyUponNewRequest.
Also renamed getRoleLogicsToNotifyUponeNewRequest to getRoleLogicsToNotifyUponNewRequest.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 24 Jul 2009 20:49:59 +0200] rev 2675
Added template for a notification upon arrival of a new Request.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 24 Jul 2009 20:17:35 +0200] rev 2674
Tables listing Requests now show the name of the Group the request is for/from.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 24 Jul 2009 20:13:40 +0200] rev 2673
Added missing role_name to org_admin Logic.
Also reordered keyword arguments in role Logics.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 24 Jul 2009 19:59:26 +0200] rev 2672
Added getRoleLogicsToNotifyUponeNewRequest for use with notifications.
This method returns a list of all the Role Logics that can be used to query who should receive a notification when a new Role Request arrives.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 24 Jul 2009 15:23:45 +0200] rev 2671
Use proper in-line imports where possible in the Notifications helper.
James Levy <jamesalexanderlevy@gmail.com> [Thu, 23 Jul 2009 18:28:49 -0700] rev 2670
fix for issue 653 by adding wrap=hard attr to textareas for surveys
JamesLevy <jamesalexanderlevy@gmail.com> [Thu, 23 Jul 2009 16:56:00 -0700] rev 2669
seed_db now creates fixture student project entities, and corresponding project surveys and grading surveys for debugging purposes.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 23 Jul 2009 14:55:29 +0200] rev 2668
Use role_name where needed for creating/handling requests.
Also added TODO to extend the redirect for further use with the new module system.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 23 Jul 2009 14:43:20 +0200] rev 2667
Use role_name to register the Role with the Group View.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 23 Jul 2009 14:41:53 +0200] rev 2666
Use role_name from Role Logic as key to store the different Role Views.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 23 Jul 2009 14:37:44 +0200] rev 2665
Style fixes in Group View.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 23 Jul 2009 14:36:45 +0200] rev 2664
Added registerRole to Role Logic where all roles are registered.
This is used to make the use of the role property in the Request Model more easily consistent.
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 18 Jul 2009 15:04:44 -0700] rev 2663
update Sidebar tests to use getCore
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 18 Jul 2009 14:58:12 -0700] rev 2662
register a core for the test modules to use
Mario Ferraro <fadinlight@gmail.com> [Wed, 15 Jul 2009 17:11:17 +0200] rev 2661
Fixed line length.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 15 Jul 2009 15:28:02 +0200] rev 2660
Another batch of style fixes for Surveys.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 15 Jul 2009 15:18:58 +0200] rev 2659
More style fixes due to code reviews for Surveys.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 15 Jul 2009 15:07:01 +0200] rev 2658
Several style fixes and code cleaning for surveys.
James Levy <jamesalexanderlevy@gmail.com> [Wed, 15 Jul 2009 12:20:48 +0200] rev 2657
Fixed wrong js being referenced by the public Survey template.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 15 Jul 2009 11:48:43 +0200] rev 2656
Added validation to email fields where needed.
Apparently Django did not generate an email field when it was required.
Fixes issue 623.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 22:33:37 +0200] rev 2655
Slow down mail tasks some more to ensure they actually complete.
ApplicationError 1 might occur when mails are being sent too fast.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 21:24:55 +0200] rev 2654
Added tag v0-5-20090714 for changeset 8846761b3a6c
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 21:24:24 +0200] rev 2653
Set new Melange version number to 0-5-20090714 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 21:13:12 +0200] rev 2652
Made requested changes to GradingRecord results mail.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 21:09:18 +0200] rev 2651
Added the ability to update project + mail when editing a single GradingRecord
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 19:06:53 +0200] rev 2650
Fixed message on Records page for GradingSurveyGroups.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 18:44:33 +0200] rev 2649
Fixed issue where GradingSurveyRecords from another group could be edited.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 18:36:16 +0200] rev 2648
Added button to the GradingRecords overview to send mail when updating projects.
Note that this will mail all the projects for which a record is available.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 18:35:20 +0200] rev 2647
Added task to send out email for each processed GradingRecord.
If send_mail evaluates to True in the POST data for updateProjectsForSurveyGroup task then the results of every GradingRecord will be mailed to the Student. The Mentor and Org Admins will be cc'ed.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 18:28:33 +0200] rev 2646
Added mail template for when GradingRecords are proccessed.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 17:29:53 +0200] rev 2645
Made the reminder templates extend the mail base instead of notification.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 16:48:08 +0200] rev 2644
Added Task to process GradingRecords and update their StudentProjects.
An index for this operation is required and has been added to the index.yaml file.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 16:46:42 +0200] rev 2643
Added updateProjectsForGradingRecords to StudentProject Logic.
This method takes a list of record_entities, processes them and batch puts the update StudentProjects.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Jul 2009 15:17:10 +0200] rev 2642
Add new project status column to accepted students csv export.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 13:10:56 +0200] rev 2641
Added Student and Mentor link id to the GradingRecord list.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Jul 2009 00:55:05 +0200] rev 2640
Fixed an error occuring when assigning more then one secondary mentors.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 23:08:14 +0200] rev 2639
Withdrawn projects are removed from GradingRecord creation/update task.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 22:11:28 +0200] rev 2638
Changed tag for latest version to match the correct commit.
Sorry, somehow one file stayed behind :).
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 22:04:19 +0200] rev 2637
Excluded the new StudentProject failed_evaluations property from Forms.
(Something went wrong on my side this should have been in before the tag)
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 21:57:10 +0200] rev 2636
Added tag v0-5-20090713 for changeset 51d83d0572ec
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 21:56:53 +0200] rev 2635
Set new Melange version number to 0-5-20090713 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 21:56:01 +0200] rev 2634
Added failed_evaluations property to StudentProject model.
This is used to store GradingRecords which state a fail for this project. It's a list because manual changes in GradingRecords might force multiple GradingRecords to state a fail. Also it needs to be clear which GradingRecords have been processed and with which grade_decision.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 18:04:10 +0200] rev 2633
Changed GradingRecord heading/row templates to give more useful info.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 12:52:54 +0200] rev 2632
Added view for editing GradingRecords.
This view shows a list of GradingRecords if the id param is not present in the GET data.
Also renamed grading_record to view_records and fixed the redirect for that page
to also point to the GradingRecord edit page.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 12:48:37 +0200] rev 2631
Fixed style error in GradingSurveyGroup Task model.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 12:48:05 +0200] rev 2630
Made the locked property non-required.
This makes it easier to generate a Form that can properly deal with GradingRecords. Since required boolean properties can only be set to true by such an automatically generated form.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 12:46:54 +0200] rev 2629
Added template for editing GradingRecords.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 11:12:42 +0200] rev 2628
Added getRecordLogic method to GradingSurveyGroup Logic.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 11:02:57 +0200] rev 2627
Added redirect for editing a GradingRecord.
The view for this will be added in a later commit.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 10:18:14 +0200] rev 2626
Fixed bug where grade_decision would not be properly set in 2 out of 4 cases.
Daniel Hans <Daniel.M.Hans@gmail.com> [Mon, 13 Jul 2009 11:43:40 +0200] rev 2625
Style fix in callback.py
dhans [Mon, 13 Jul 2009 11:19:55 +0200] rev 2624
Fixed issue with opening items on survey lists while pressing ctrl button
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 01:15:46 +0200] rev 2623
Added messages to the Records page when a task has been successfully started.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 01:07:18 +0200] rev 2622
Style fixes in GradingRecord Logic.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 01:07:03 +0200] rev 2621
Changed GradingRecord list templates to show more info.
They now show wether or not a Mentor/Student eval has been found.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 01:00:59 +0200] rev 2620
Added GradingSurveyGroup tasks to the core URL's.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 01:00:20 +0200] rev 2619
The buttons on the GradingSurveyGroup record page now enqueue Tasks.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 00:59:48 +0200] rev 2618
Added Tasks to update/create GradingRecords for a given GradingSurveyGroup.
Also added a stub to update StudentProjects for a given GradingSurveyGroup.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 00:59:11 +0200] rev 2617
Added methods to GradingRecord Logic to facilitate creating/updating them.
UpdateOrCreateRecordsFor will batch put GradingRecords for a given SurveyGroup and StudentProject.
getFieldsForGradingRecord will return the fields that need to be set for a single GradingRecord entity given a StudentProject, GradingSurveyGroup and if it is an update a GradingRecord entity.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Jul 2009 00:53:42 +0200] rev 2616
Added buttons to start tasks to GradingSurveyGroup Record view.
Also fixed an error in the GradingRecord row template.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Jul 2009 22:25:43 +0200] rev 2615
Fixed errors in comments and docstring for the Surveys Task module.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Jul 2009 22:00:12 +0200] rev 2614
Refactored logErrorAndReturnOK into separate module.
Augie Fackler <durin42@gmail.com> [Sun, 12 Jul 2009 11:46:36 -0500] rev 2613
buildout.cfg: We require nose as well for tests.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Jul 2009 16:01:41 +0200] rev 2612
Added view to GradingSurveyGroup to list all records for a specified group.
This view will later be extended with options to start Tasks for collecting the data and processing it.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Jul 2009 16:00:32 +0200] rev 2611
Added listing templates for GradingRecords.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Jul 2009 14:03:35 +0200] rev 2610
Add scope view for GradingSurveyGroup and set access checks.
The access checks are now properly set for create, edit and show. To facilitate the scope view the access check have an extra check built in to ensure that a scope is actually present before cheking for an existing Program.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Jul 2009 13:55:21 +0200] rev 2609
Fixed passing along empty params to scope selection view.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Jul 2009 12:50:01 +0200] rev 2608
Renamed tag for latest version to match the app.yaml version entry.
Thanks to Madhusudan C.S. for noticing this.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Jul 2009 00:45:45 +0200] rev 2607
Added tag 0-5-20090711p1 for changeset 03aa33e8600b
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Jul 2009 00:45:01 +0200] rev 2606
Set new Melange version number to 0-5-20090711p1 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Jul 2009 00:40:24 +0200] rev 2605
Removed several sidebar entries for Surveys which where not properly working.
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 11 Jul 2009 15:05:02 -0700] rev 2604
Added tag v0-5-20090711 for changeset 4db295c3fbb3
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 11 Jul 2009 15:04:43 -0700] rev 2603
Set new Melange version number to 0-5-20090711 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Jul 2009 00:02:28 +0200] rev 2602
Fixed typo in ProjectSurvey reminder mail.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Jul 2009 23:53:30 +0200] rev 2601
Fixed the redirect for Survey reminder emails.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Jul 2009 23:38:37 +0200] rev 2600
Fixed typo in GradingProjectSurvey reminder email.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 11 Jul 2009 23:29:31 +0200] rev 2599
Add queue.yaml to build scripts.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Jul 2009 23:29:22 +0200] rev 2598
Changed URL pattern for starting sending out survey reminders.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Jul 2009 23:19:18 +0200] rev 2597
Added the Surveys Tasks to the registered URL patterns.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Jul 2009 23:18:52 +0200] rev 2596
Added a view to start sending out a reminder.
Note that this view is currently developer-only.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Jul 2009 23:18:14 +0200] rev 2595
Added Surveys Tasks module to send reminders.
All reminders are CC'ed to the org admins.
Also added an index property on StudentProjects which is required for the reminder Tasks.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Jul 2009 23:15:22 +0200] rev 2594
Added empty Tasks package and queue.yaml.
Also reserved an admin only URL space for use by Tasks.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Jul 2009 20:42:23 +0200] rev 2593
Edited help text to be more clear when a Survey has been submitted.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 11 Jul 2009 20:10:33 +0200] rev 2592
Add setOrganizationInSurveyRecords function to stats.py script.
setOrganizationInSurveyRecords will iterate thru all ProjectSurveyRecords and GradingProjectSurveyRecords and set the organization property in the record model.This will be useful later for showing Org admins their mentors and students surveys list and results.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 11 Jul 2009 19:54:23 +0200] rev 2591
Add Organization reference property to ProjectSurveyRecord.
Also update ProjectSurvey view _takePost method to set this property everytime survey is taken.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 11 Jul 2009 19:37:26 +0200] rev 2590
Fix indention and add missing dot in docstring in survey models.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Jul 2009 17:25:19 +0200] rev 2589
GradingSurveyGroup now uses DynaForm for its forms.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 11 Jul 2009 13:56:55 +0200] rev 2588
Indention fixes and adding "reference_class=" in ReferenceProperty params.
Augie Fackler <durin42@gmail.com> [Tue, 07 Jul 2009 20:17:23 -0500] rev 2587
Start using buildout to bring in external dependencies.
This makes running tests easier in situations where dependencies are not always available, such as buildbot.
Thanks to Matthew Wilkes <matthew@matthewwilkes.co.uk> for help and moral support.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 10 Jul 2009 12:09:09 +0200] rev 2586
Added GradingSurveyGroup to the sitemap and sidebar.
Daniel Diniz <ajaksu@gmail.com> [Fri, 10 Jul 2009 12:06:29 +0200] rev 2585
Completed the Create and Edit view for GradingSurveyGroup.
Note that I've added a TODO to redo _editPost to give us kwargs. Would also get rid of hidden fields elsewhere.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 10 Jul 2009 11:59:00 +0200] rev 2584
Fixed GradingRecord and GradingSurveyRecord Logic to load the correct Model.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 10 Jul 2009 11:39:41 +0200] rev 2583
Added denySidebar to several access checks.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 23:50:21 +0200] rev 2582
Added Surveys to sidebar menu.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 14:00:59 +0200] rev 2581
Changed title entry in GradingSurveyGroup's public template to name.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 11:52:35 +0200] rev 2580
Added skeleton view and templates for GradingSurveyGroup.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 11:47:31 +0200] rev 2579
Added name property to GradingSurveyGroup.
This can be used (by humans :D) to easily identify different instances of this model.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 11:00:17 +0200] rev 2578
Added missing blank line to GradingSurveyGroup logic.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 09 Jul 2009 10:52:19 +0200] rev 2577
Added logic for GradingRecord and GradingSurveyGroup.
Daniel Diniz <ajaksu@gmail.com> [Thu, 09 Jul 2009 10:39:30 +0200] rev 2576
Removed results list from Survey edit.
Some changes to the Survey Result page have also been made, however the results viewer and the CSV export are not working properly in that View.
Reviewd by: Lennard de Rijk
Mario Ferraro <fadinlight@gmail.com> [Thu, 09 Jul 2009 10:16:29 +0200] rev 2575
Extended tooltip timeout to 10 seconds for all fields.
This is because the tooltip currently timesout to fast for people to read the whole stories they can contain. Especially because Surveys can have custom tooltips.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 08 Jul 2009 15:45:53 +0200] rev 2574
Minor stylefix to StudentProject model.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 08 Jul 2009 15:44:54 +0200] rev 2573
Changed the StudentProject model to handle a dynamic amount of GradeRecords.
This allows for a dynamic amount of moments where a StudentProject can be evaluated.
Also included in this patch are changes to the status property that will help to enable PA's to withdraw StudentProjects from the program without the need for a developer to step in.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 08 Jul 2009 11:50:02 +0200] rev 2572
Renamed several files due to recent changes.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 08 Jul 2009 10:45:49 +0200] rev 2571
Style fixing in GradeRecord model
Daniel Diniz <ajaksu@gmail.com> [Wed, 08 Jul 2009 10:40:46 +0200] rev 2570
Several Survey UI fixes.
Fixes:
Too narrow fieldsets in new question/option dialogs.
Survey submit (on take view) and save/export/etc. buttons at weird places, instead of at bottom.
Weird placement of radio buttons in Opera.
Too narrow selects in IE.
Broken images in edit view in IE and Opera.
Reviewed by: Lennard de Rijk (Only on IE)
Madhusudan C.S. <madhusudancs@gmail.com> [Tue, 07 Jul 2009 21:16:57 +0200] rev 2569
Fixed base template URL to tagged version of the deployed source code.
The old link revered to SVN based projects.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Jul 2009 20:02:27 +0200] rev 2568
Fixed imports for Survey logic.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Jul 2009 18:46:47 +0200] rev 2567
Added skeleton models for GradingSurveyGroup and Records.
SurveyRecordGroup has been renamed to GradingRecord.
GradingSurveyGroup will hold which Surveys should be linked. While the acompanying GradingRecords (with their reference to a GradingSurveyGroup) will hold the Records for each StudentProject that can take these Surveys.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 17:20:30 +0200] rev 2566
Added tag v0-5-20090706 for changeset c17b671e5657
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 17:19:57 +0200] rev 2565
Set new Melange version number to 0-5-20090706 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 17:18:41 +0200] rev 2564
Ensure that the Grade field data stays in clean_data.
This prevents a bug that happens when you pick an invalid entry in the choice a grade field. If this bug was triggered the value of the survey_record.grade was used. Now however a proper ValidationError is raised.
Daniel Diniz <ajaksu@gmail.com> [Mon, 06 Jul 2009 17:03:19 +0200] rev 2563
Add missing import to Project Survey view.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 16:32:14 +0200] rev 2562
Renamed several files due to recent changes.
Mario Ferraro <fadinlight@gmail.com> [Mon, 06 Jul 2009 16:21:51 +0200] rev 2561
Now properly escaping JS and converting new lines into br for Tooltips.
Patch by: Mario Ferraro, Lennard de Rijk
Daniel Diniz <ajaksu@gmail.com> [Mon, 06 Jul 2009 16:13:27 +0200] rev 2560
Added ability to add custom tooltips and UI improvements.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 15:06:05 +0200] rev 2559
Public Survey template now resembles the take template more closely.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Jul 2009 14:58:46 +0200] rev 2558
Added the possiblitity to add a description to the top of the Survey.
Thie uses the content property which has been inherited from the Work model.
James Levy <jamesalexanderlevy@gmail.com> [Mon, 06 Jul 2009 13:19:00 +0200] rev 2557
Use CSS instead of JS for Survey layout.
Reviewed by: Lennard de Rijk
Daniel Diniz <ajaksu@gmail.com> [Mon, 06 Jul 2009 12:06:28 +0200] rev 2556
Remove the custom propmpt inside textareas and input fields.
This will hopefully be replaced with custom tooltips. Two reasons for this are that the tooltips will still be readable once your start typing and this way we avoid a bug that caused a textarea to go into prompt mode on some form validation errors.
Reviewed by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 06 Jul 2009 00:54:48 +0200] rev 2555
Fix HtmlSanitizer to return cleaned string in proper encoding.
This fix prevent HtmlSanitizer from throwing UnicodeDecodeError exception.
James Levy <jamesalexanderlevy@gmail.com [Mon, 06 Jul 2009 00:31:48 +0200] rev 2554
Added clear:right property to submit button in Survey take form.
Reviewed by: Lennard de Rijk
Mario Ferraro <fadinlight@gmail.com [Mon, 06 Jul 2009 00:29:30 +0200] rev 2553
Fix button layout on Safari 4.0 for Survey take page.
Reviewed by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 06 Jul 2009 00:16:47 +0200] rev 2552
Fix comment indention in survey-take javascript file.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 05 Jul 2009 23:45:57 +0200] rev 2551
Renamed survey-take-090627.js to survey-take-090705.js.
James Levy <jamesalexanderlevy@gmail.com> [Sun, 05 Jul 2009 23:43:57 +0200] rev 2550
Increased bottom margin on comments for better grouping.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 05 Jul 2009 13:31:34 +0200] rev 2549
Changed the filter for getting a SurveyRecord for a ProjectSurvey
ProjectSurveyRecords are characterized by the Survey and a Project entity. The user property is just there to state who last submitted the Survey.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 05 Jul 2009 13:00:08 +0200] rev 2548
Added tag v0-5-20090705p1 for changeset c7726e3ab173
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 05 Jul 2009 12:59:33 +0200] rev 2547
Set new Melange version number to 0-5-20090705p1 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 05 Jul 2009 12:57:09 +0200] rev 2546
Ensure that accessViolations for Survey menu items get captured.
(Also ensure that you think before committing something you broke yourself :()
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 05 Jul 2009 12:19:19 +0200] rev 2545
Added tag v0-5-20090705 for changeset 8f3a8e066111
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 05 Jul 2009 12:18:31 +0200] rev 2544
Set new Melange version number to 0-5-20090705 in app.yaml.template.
James Levy <jamesalexanderlevy@gmail.com> [Sun, 05 Jul 2009 11:32:26 +0200] rev 2543
Added Menu items for all three kinds of Surveys to the program menu.
The menu items turn red when the user has not taken the Survey yet.
Patch by: James Levy, Lennard de Rijk
Reviewed by: to-be-reviewed
Daniel Diniz <ajaksu@gmail.com> [Sun, 05 Jul 2009 00:57:03 +0200] rev 2542
POST data always overwrites survey_record data when used to populate form.
It also fixes validation errors on takeGet.
Patch by: Daniel Diniz, Lennard de Rijk
Reviewed by: to-be-reviewed
Mario Ferraro <fadinlight@gmail.com> [Sat, 04 Jul 2009 18:48:58 +0100] rev 2541
Fixes bug when option name contains double quotes.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 18:53:37 +0200] rev 2540
Several style fixes due to code reviews.
Daniel Diniz <ajaksu@gmail.com> [Sat, 04 Jul 2009 17:23:19 +0200] rev 2539
Ensure that long questions and comments are stored as db.Text.
This is done by adding the setCleaners methods which sets the appropriate cleaners for dynamic fields.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 17:16:16 +0200] rev 2538
Style fix in access module.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 17:02:51 +0200] rev 2537
Returned ProjectSurvey create to checkIsUser.
The access protection is properly done by the form validator.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 16:44:08 +0200] rev 2536
Added access checks for taking a Project(Grading)Survey.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 16:23:00 +0200] rev 2535
Brown paper bag fix for using non-existing logic in ProjectSurvey views.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 15:59:19 +0200] rev 2534
Fixed basic Survey access check.
Also enabled this check for all relevant Views. However ProjectSurveys and subclasses still need an additional check. A stub for this has been added to the access module.
Daniel Diniz <ajaksu@gmail.com> [Sat, 04 Jul 2009 15:30:08 +0200] rev 2533
Fixed broken selection questions from refactoring SurveyForm.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 15:16:54 +0200] rev 2532
Fixed showing the correct list of projects for taking a Grading Project Survey.
Note that when a user is a mentor for a lot of Organizations the amount of subqueries might exceed the allowed amount. A TODO has been added to fix this issue. However this will hopefully not be a problem that pops up soon.
Also some minor docstring addition to Project Survey view.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 15:08:28 +0200] rev 2531
Refactored filter construction to _constructFilterForProjectSelection.
This allows Grading Project Survey to overwrite this method and create its own filter.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 14:29:13 +0200] rev 2530
Make sure that radio button questions validate correctly and allow only one choice.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 14:22:02 +0200] rev 2529
Added Daniel Diniz and Zachary Voase to the AUTHORS file.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 04 Jul 2009 14:19:39 +0200] rev 2528
Added Daniel Diniz to authors for Grading Project Survey View.
Daniel Diniz <ajaksu@gmail.com> [Sat, 04 Jul 2009 14:15:11 +0200] rev 2527
Add a grade field to the Grading Project Survey form.
This also takes care of validating and transforming the data into True(pass) or False(fail). GradingProjectSurveys are hereby working for developers.
Reviewed by: Lennard de Rijk
James Levy <jamesalexanderlevy@gmail.com> [Sat, 04 Jul 2009 13:53:17 +0200] rev 2526
Survey editing/taking Javascript and CSS fixes.
This patch adds some cosmetic changes and functional fixes:
- UI now removes all of the field content when a field is deleted,
- CSS tweaks, and jQuery hack to specialize comment CSS,
- fixed JS path in take.html.
Reviewed by: Pawel Solyga (with some small changes)
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 04 Jul 2009 12:07:27 +0200] rev 2525
Remove public role type from SURVEY_TAKING_ACCESS in Survey model.
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 03 Jul 2009 20:41:19 -0700] rev 2524
try to fix the surveys-have-no-scope issue
to-be-reviewed: also untested
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 03 Jul 2009 18:39:17 -0700] rev 2523
addressed comments to previous version
to-be-reviewed: still untested
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 03 Jul 2009 18:24:02 -0700] rev 2522
return found entity for activity checks
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 03 Jul 2009 18:23:12 -0700] rev 2521
survey access: stylefix and remove public role type
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 22:36:10 +0200] rev 2520
Style fixes in Survey helper.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 22:27:42 +0200] rev 2519
Added _getSurveyTakeForm to the Survey view.
Subclasses can overwrite this method to create their own form. ProjectGradingSurvey will likely be an example for this.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 21:59:10 +0200] rev 2518
Only initialize a SurveyTakeForm in take instead of in takeGet and takePost.
This will allow for other subclassed views to easily replace the form the view is using.
Also small style fix in Survey helper.
Daniel Diniz <ajaksu@gmail.com> [Fri, 03 Jul 2009 21:06:22 +0200] rev 2517
Split SurveyForm into SurveyTakeForm and SurveyEditForm.
This allows for a more cleaner implementation of the Form code. And this will make it easier to break free from the getFields method in the future.
Also the getRoleSpecifcFields method and the this_user and project variables have been removed. They are deemed obsolete.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 20:38:43 +0200] rev 2516
Do not call takeGet when SurveyForm ValidationError occurs.
Problems occured when a SurveyRecord was specified in the SurveyForm. The SurveyRecord data reset the erroneous POST data. Further code reduction might be possible soonish.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 19:15:09 +0200] rev 2515
Several stylefixes due to received reviews.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 18:39:30 +0200] rev 2514
Style fixes in Access module.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 18:34:18 +0200] rev 2513
Style fixes to the GradingProjectSurvey View module.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 18:23:34 +0200] rev 2512
Sub_merge params for GradingProjectSurvey View.
James Levy <jamesalexanderlevy@gmail.com> [Fri, 03 Jul 2009 18:23:02 +0200] rev 2511
Added rudimentary grade field to GradingProjectSurvey take View.
Patch by: James Levy, Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 18:20:33 +0200] rev 2510
Ensure that the params from subclasses get merged properly with ProjectSurvey view.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 18:09:48 +0200] rev 2509
Corrected the links to Grading Project Surveys in Program menu.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 17:55:36 +0200] rev 2508
Added missing import to ProjectSurvey View.
Daniel Diniz <ajaksu@gmail.com> [Fri, 03 Jul 2009 15:21:44 +0200] rev 2507
Fix pick_multi only returning one answer as maximum.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 15:00:00 +0200] rev 2506
Removed getSurveyResponseFromPost from Surveys helper.
We will use the power of Django Forms instead of getting our own properties. This fits better into the rest of Melange which also uses this approach.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 14:53:26 +0200] rev 2505
Renamed survey-edit-090627.js due to recent changes.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 14:43:49 +0200] rev 2504
Form errors when taking a Survey now have the correct context.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 14:36:16 +0200] rev 2503
Fixed Survey Form error giving 505.
I failed when changing the system to work with collectCleanedFields.
Daniel Diniz <ajaksu@gmail.com> [Fri, 03 Jul 2009 14:35:03 +0200] rev 2502
Surveys can now have required questions and comments can be turned on/off.
Storing comments is now working. However some issues arise when form errors occur, like missing context and the errors also trigger before a form has been submitted.
Reviewed by: Lennard de Rijk
Daniel Diniz <ajaksu@gmail.com> [Fri, 03 Jul 2009 14:19:23 +0200] rev 2501
Added Survey From Field validation.
Also added the COMMENT_PREFIX in Survey model to ensure that comments are stored in the same way everwhere.
Reviewed by: Lennard de Rijk
Daniel Diniz <ajaksu@gmail.com> [Fri, 03 Jul 2009 12:10:24 +0200] rev 2500
Style fixes and a forgotten parameter in Survey(Record) logic.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 12:05:23 +0200] rev 2499
Removed unnecessary variable in ProjectSurvey take method.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 12:02:57 +0200] rev 2498
Overwrite _getSurveyRecordFor in ProjectSurvey view to take StudentProject into account.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Jul 2009 12:00:53 +0200] rev 2497
Added _getSurveyRecordFor method to Survey View.
This method is used by the Take view to get the right SurveyRecord for the current request. Subclassed Views that want to fetch their records in another way can override this method.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 18:35:57 +0200] rev 2496
Added default Survey list templates for ProjectSurvey and GradingProjectSurvey.
Daniel Diniz <ajaksu@gmail.com> [Thu, 02 Jul 2009 18:33:13 +0200] rev 2495
Enable the ProjectSurvey and GradingProjectSurvey views in the core.
Also add menu items to the program menu for easy access to these options.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 17:51:07 +0200] rev 2494
Implemented taking ProjectSurveys.
The user will first be served a list of all eligble StudentProjects for which the ProjectSurvey can be taken. After clicking on the list the key_name of the project is attached as a GET param and the code uses the normal take view with the hooks to let everything run smoothly.
An extra access check method is required which checks if the Project mentioned in the GET param is a valid project for the current user. This check will run together with the isSurveyTakable checker.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 17:47:24 +0200] rev 2493
Edit SurveyRecord model to not make use of different Survey property for each subclass.
This does mean that a simple query needs to be constructed by hand whenever you want to query for every SurveyRecord for a specific Survey. However the naming is now the same over each SurveyRecord and it fits well into the rest of the design of Melange.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 17:08:10 +0200] rev 2492
Made the CSV exporter for Survey not rely on the BackReferenceProperty in Survey.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 16:53:13 +0200] rev 2491
Added getTakeProjectSurveyRedirect.
This redirect is used when taking a ProjectSurvey.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 16:51:31 +0200] rev 2490
Added the possibility to change the action of the form on the Survey take page.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 16:50:08 +0200] rev 2489
Small style fix in Surveys helper.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 15:40:37 +0200] rev 2488
Set required is True for StudentProject reference in ProjectSurveyRecord.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 15:38:33 +0200] rev 2487
Removed obsolete if tag form take template.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 15:34:02 +0200] rev 2486
Added hook methods to takeGet and takePost.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 14:48:10 +0200] rev 2485
Fixed typo in title of Survey Take page.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 12:46:12 +0200] rev 2484
Add a base implementation of takePost.
Normal Surveys can now be taken, however comments are not stored yet.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 12:45:06 +0200] rev 2483
Added getSurveyResponseFromPost method to Surveys Helper.
This method will be used to read the POST dictionary from a request. And will transform it into the fields that need to be set in a SurveyRecord for the questions specified by the given Survey.
A TODO has been added to handle the naming/handling of the comment fields.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 12:43:06 +0200] rev 2482
Added updateOrCreateFromFields method to SurveyRecordLogic.
The reading of the fields from the POST request will not happen in this Logic anymore.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 12:40:42 +0200] rev 2481
Added base class logic for Expando based models.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 11:25:52 +0200] rev 2480
Removed two obsolete/outdated methods in Survey Logic.
The updateSurveyRecord can be found in the SurveyRecord logic.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Jul 2009 10:46:39 +0200] rev 2479
Removed obsolote method call in Program View.
Daniel Diniz <ajaksu@gmail.com> [Thu, 02 Jul 2009 10:33:58 +0200] rev 2478
Clean up and other fixes for Survey modules.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 21:53:20 +0200] rev 2477
Implemented the takeGet view for Surveys.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 17:28:44 +0200] rev 2476
Fixed multiple typos in Survey tooltips strings.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 17:25:54 +0200] rev 2475
Added skeleton for the take view and its template.
Also fixed the sorting of imports of the Survey View.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 16:28:27 +0200] rev 2474
Move getMenusForScope to the end of the View class.
Adhering to our principle that we the methods we use for generating our menus can be usually found at the bottom of the View class.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 16:22:35 +0200] rev 2473
Changed the Survey public view to give a preview of the Survey.
Also changed the access rights for deleting a Survey because of the possible invalid references problem.
Added two TODO's to the _public method. The first one involves enabling the SurveyForm to generate a form without passing along the Logic since it is only used to retrieve the Survey entity which we already have available. The second one involves a brief discussion about the getFields method's functionality and name.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 14:49:54 +0200] rev 2472
Removed activate grade URL pattern from Survey View.
The remaining methods will be ported over in a patch from Ajaksu.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 14:42:54 +0200] rev 2471
Brown paper bag "without tea" morning typo fix in Survey View.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 14:28:51 +0200] rev 2470
Style fix in Survey views helper.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Jul 2009 08:29:49 +0200] rev 2469
Returned access checks in Survey View to the right state.
This got bugged in James's commt.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 30 Jun 2009 18:16:33 +0200] rev 2468
Fixed too long line in Surveys helper.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 30 Jun 2009 18:02:10 +0200] rev 2467
Solved some merging problems and use the getRecordLogic where needed.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 30 Jun 2009 17:55:43 +0200] rev 2466
Reverted some changes in SurveyLogic.
SurveyRecord logic is defined in its own module.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 30 Jun 2009 15:58:56 +0200] rev 2465
Use an existing logic for showing Survey Results.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 30 Jun 2009 14:56:48 +0200] rev 2464
Merge params from inheriting Survey views so functionality can be reused.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 30 Jun 2009 14:55:55 +0200] rev 2463
Add more flexibility to the Survey helper for use with the new Survey types.
This includes using the new SurveyLogic methods from an earlier commit. And passing on the Logic from the view where necessary.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 30 Jun 2009 14:45:11 +0200] rev 2462
Added getRecordLogic method to SurveyLogic.
This is used to retrieve the SurveyRecordLogic that belongs to a certain SurveyLogic.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 30 Jun 2009 08:54:39 +0200] rev 2461
Removed setting of the scope in the ProjectSurvey init.
This is because it is not possible to query for another entity outside your entity group in the __init__ fucntion.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 30 Jun 2009 08:50:56 +0200] rev 2460
Added getSurveyForContent method to SurveyLogic.
This method returns a Survey for a given content. The backreferenceproperty will not work because of inheritance.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 30 Jun 2009 08:49:34 +0200] rev 2459
Calling the correct super in Project and Grading Survey Logic.
james@jamess-macbook-air.local [Tue, 30 Jun 2009 03:03:46 -0700] rev 2458
merged upstream
Zachary Voase <disturbyte@googlemail.com> [Tue, 30 Jun 2009 10:59:05 +0200] rev 2457
Add paver script that will replace our current build.sh from scripts folder.
Until I update the wiki to describe how this new paver build script works I'm leaving the old one in the repository.
Reviewed by: Pawel Solyga
Sverre Rabbelier <sverre@rabbelier.nl> [Mon, 29 Jun 2009 23:19:49 -0700] rev 2456
Add checkHasSurveyAccess access check
To-be-reviewed, untested code
james@jamess-macbook-air.local [Tue, 30 Jun 2009 03:02:53 -0700] rev 2455
fixed critical errors related to survey subclassing and renaming of deadline and opening properties, and surveys in sidebar are now marked as such and have a red color if untaken
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 30 Jun 2009 00:06:53 +0200] rev 2454
Removed survey_kind from Survey model.
The inheritance structure should make this obsolete.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 29 Jun 2009 23:40:24 +0200] rev 2453
Set the correct base_model and scope_logic for extended Survey logic.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 29 Jun 2009 23:16:21 +0200] rev 2452
Added two missing imports to the Project and Grading Surveys views.
Daniel Diniz <ajaksu@gmail.com> [Mon, 29 Jun 2009 19:29:15 +0200] rev 2451
Added SurveyContentSchema to improve readability for the survey helper.
Reviewed by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 29 Jun 2009 16:51:48 +0200] rev 2450
Added tag v0-5-20090629 for changeset 0dee663d6582
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 29 Jun 2009 16:50:38 +0200] rev 2449
et new Melange version number to 0-5-20090629 in app.yaml.template.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 29 Jun 2009 15:53:50 +0200] rev 2448
Added skeleton view for ProjectSurvey and GradingProjectSurvey.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 29 Jun 2009 15:44:33 +0200] rev 2447
Prepared Survey access controls to deal with multiple logics.
Also added a TODO to move a method to another view.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 29 Jun 2009 15:19:28 +0200] rev 2446
Extracted the ProjectSurvey and ProjectGradingSurvey records to a new module.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 29 Jun 2009 14:06:30 +0200] rev 2445
Removed unused import from Survey model.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 29 Jun 2009 14:01:24 +0200] rev 2444
Separated two survey types out of the main survey model.
These models are ProjectSurvey and GradingProjectSurvey.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 29 Jun 2009 13:50:03 +0200] rev 2443
Seperated Logic for ProjectSurvey and GradingProject surveys.
These changes also include their respective records.
Daniel Diniz <ajaksu@gmail.com> [Sun, 28 Jun 2009 23:58:03 +0200] rev 2442
Start on adding ProjectSurvey and GradingProjectSurvey.
New classes still need to be made for logic and views so the appropriate methods can be overwritten.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 28 Jun 2009 22:12:33 +0200] rev 2441
Added .settings to hgignore.
Eclipse IDE uses this map to store some settings. Since this is widely used I decided to add it to the ignore list.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 28 Jun 2009 17:53:58 +0200] rev 2440
Renamed opening to survey_start and deadline to survey_end.
Symmetry seems to be both pleasing and helpful when understanding the code.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 28 Jun 2009 17:44:44 +0200] rev 2439
Put ResultsLogic in its own Logic module named survey_record.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 28 Jun 2009 14:55:47 +0200] rev 2438
Removed non-existing import in Survey Logic.
James don't get ahead of yourself :D.
Daniel Diniz <ajaksu@gmail.com> [Sun, 28 Jun 2009 14:49:39 +0200] rev 2437
Added Survey menu items to the Program menu.
Patch by: Daniel Diniz
Reviewed by: Lennard de Rijk
Daniel Diniz <ajaksu@gmail.com> [Sun, 28 Jun 2009 14:48:19 +0200] rev 2436
Added Surveys to the sitemap.
Patch by: Daniel Diniz
Reviewed by: Lennard de Rijk
James Levy <jamesalexanderlevy@gmail.com> [Sun, 28 Jun 2009 14:46:31 +0200] rev 2435
Added View for Surveys.
Patch by: James Levy, Daniel Diniz
Reviewed by: to-be-reviewed
Daniel Diniz <ajaksu@gmail.com> [Sun, 28 Jun 2009 14:45:08 +0200] rev 2434
Added redirect for use in Surveys.
Also some minor style changes.
Patch by: Daniel Diniz
Reviewed by: Lennard de Rijk
Daniel Diniz <ajaksu@gmail.com> [Sun, 28 Jun 2009 14:40:55 +0200] rev 2433
Added Access checks for Surveys.
Patch by: Daniel Diniz, James Levy
Reviewed by: Lennard de Rijk
James Levy <jamesalexanderlevy@gmail.com> [Sun, 28 Jun 2009 14:32:21 +0200] rev 2432
Added Survey Views Helper for rendering several widgets.
Patch by: James Levy, Daniel Diniz, Lennard de Rijk
Reviewed by: Lennard de Rijk
James Levy <jamesalexanderlevy@gmail.com> [Sun, 28 Jun 2009 14:18:01 +0200] rev 2431
Added logic for Survey and SurveyRecord.
The logic for the SurveyRecord will be seperated within the upcoming days.
Patch by: James Levy, Daniel Diniz, Lennard de Rijk
Reviewed by: Lennard de Rijk
James Levy <jamesalexanderlevy@gmail.com> [Sun, 28 Jun 2009 13:18:56 +0200] rev 2430
Added SurveyRecordGroup for the use in evaluation surveys.
Patch by: James Levy, Daniel Diniz
Reviewed by: Lennard de Rijk
James Levy <jamesalexanderlevy@gmail.com> [Sun, 28 Jun 2009 13:13:58 +0200] rev 2429
Added SurveyRecordModel.
Lennard: On top of the orginial patch I've added several comments to the fields and two TODO's for further subclassing.
Patch by: James Levy, Daniel Diniz, Lennard de Rijk
Reviewed by: Lennard de Rijk
James Levy <jamesalexanderlevy@gmail.com> [Sun, 28 Jun 2009 13:07:18 +0200] rev 2428
Added Survey and SurveyContent model.
They are currently located in a single file this can be undone later on.
Patch by: James Levy, Daniel Diniz, Lennard de Rijk
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 27 Jun 2009 22:11:48 +0200] rev 2427
Fixed docstring in Document Logic.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 27 Jun 2009 09:42:32 +0200] rev 2426
Renamed css due to previous changes in previous commit.
Daniel Diniz <ajaksu@gmail.com> [Sat, 27 Jun 2009 09:39:01 +0200] rev 2425
Edited stylesheet for use in Surveys.
Patch by: Daniel Diniz, James Levy
Reviewed by: Mario Ferraro
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 27 Jun 2009 09:36:54 +0200] rev 2424
Renamed JavaScript files in templates to match the correct files using prefixes.
Daniel Diniz <ajaksu@gmail.com> [Sat, 27 Jun 2009 09:35:50 +0200] rev 2423
Adding JS files for use in Surveys.
Patch by: Daniel Diniz, James Levy
Reviewed by: Mario Ferraro
Daniel Diniz <ajaksu@gmail.com> [Fri, 26 Jun 2009 21:58:12 +0200] rev 2422
Added templates considering Surveys.
Patch by: Daniel Diniz, James Levy
Reviewed by: Lennard de Rijk
Daniel Diniz <ajaksu@gmail.com> [Fri, 26 Jun 2009 21:54:46 +0200] rev 2421
Renamed jquery.growfield.js to jquery-growfield.js.
Reviewed by: Lennard de Rijk
Daniel Diniz <ajaksu@gmail.com> [Tue, 23 Jun 2009 20:54:03 +0200] rev 2420
Patch that adds the JS and CSS files for surveys.
The only update is in app/jquery/jquery-ui.core.js, from a non-release
(added by Paweł for the date picker) to a slightly updated released
version.
Reviewed by: Lennard de Rijk, Mario Ferraro
Patch by: Daniel Diniz, James Levy
Daniel Diniz <ajaksu@gmail.com> [Tue, 23 Jun 2009 20:43:22 +0200] rev 2419
Patch that touches 'upstream' templates, for use in surveys.
Consists out of three changes.
1 - Move the </head> placement in base.hmtl to after the closing of
scripts_block, so templates that extend base.html can add scripts to
the <head>.
2 - Add tooltips for checkboxes inside fieldsets.
3 - Comment out an empty table row in templatetags/_as_table.html,
which probably has an arcane reason to stay empty :)
Reviewed by: Lennard de Rijk, Pawel Solyga
Patch by: Daniel Diniz, James Levy
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 22 Jun 2009 07:32:45 +0200] rev 2418
Fixes an issue where the organization home page would throw a 505 when no projects where accepted.
This only happens after the project announced deadline because only then would the project list be constructed.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 21 Jun 2009 18:27:30 +0200] rev 2417
Added tag v0-5-20090621 for changeset 96ff51144dca
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 21 Jun 2009 18:22:02 +0200] rev 2416
Set new Melange version number to 0-5-20090621 in app.yaml.template
Mario Ferraro <fadinlight@gmail.com> [Fri, 19 Jun 2009 23:13:06 +0100] rev 2415
jQuery Spin plugin updated to version 1.1.1
Former version had a bug if max was not specified
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 19 Jun 2009 20:19:03 +0200] rev 2414
Use build-in django 1.0.x on deployed version of Melange.
Using SDK (Development server) right now we are still using django.zip when running from build folder and django folder when running from app folder. django.zip file is still uploaded when deploying the app but it's not used. We might totally get rid of django folder and django.zip soon (discussion needed).
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 19 Jun 2009 16:13:32 +0200] rev 2413
Update GAE to 1.2.3 in thirdparty folder.
Sverre Rabbelier <sverre@rabbelier.nl> [Mon, 08 Jun 2009 22:34:05 +0200] rev 2412
Added tag v0-5-20090608 for changeset 19e9fdde919e
Sverre Rabbelier <sverre@rabbelier.nl> [Mon, 08 Jun 2009 22:31:28 +0200] rev 2411
Set new Melange version number to 0-5-20090604 in app.yaml.template
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 08 Jun 2009 22:28:17 +0200] rev 2410
Temporary fix for Issue 636 by turning off the caching of the page's entities.
This also means that pagination is turned back on because querying all 1000 projects every time will take too long.
Sverre Rabbelier <sverre@rabbelier.nl> [Mon, 08 Jun 2009 21:57:12 +0200] rev 2409
fix copy/paste fail in homepage caching
Madhusudan C.S. <madhusudancs@gmail.com> [Mon, 08 Jun 2009 08:54:21 +0200] rev 2408
Added group attribute to each GHOPProgram property so it is grouped on edit/create forms.
Added 3 new groups, "Contest Rules" group, "Prize Information" group and
"Task Settings" group to organize the properties in a useful manner on the edit/create forms.
Reviewed by: Lennard de Rijk
Madhusudan C.S. <madhusudancs@gmail.com> [Mon, 08 Jun 2009 08:48:24 +0200] rev 2407
Changed GHOP module imports to be consistent with rest of Melange code.
The imports used the from <module-path> import <module> as <local_module_name>
syntax. These kinds of imports are changed to import <module_path.module_name>
syntax to be consistent with the Melange code base.
Reviewed by: Lennard de Rijk
Madhusudan C.S. <madhusudancs@gmail.com> [Mon, 08 Jun 2009 08:42:13 +0200] rev 2406
Changed the property that holds the minimum age required for Students to participate in a GHOP based program.
Added a new property student_min_age_as_of to hold the DateTime from when the minimum age should be reached. Changed student_min_age property to now store the student minimum age as an integer.
This all feel more user friendly then letting the program admin calculate the required DateTime. Storing the two properties is then still needed in this case since information might be lost otherwise when the program admin brings up the edit view.
Reviewed by: Lennard de Rijk
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 06 Jun 2009 20:40:08 +0200] rev 2405
Remove now unneeded getCallback from ghop.__init__
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 06 Jun 2009 20:29:09 +0200] rev 2404
Remove getCallback indirection in modules
Instead, assume that the imported module contains the Callback class
that was previously returned by getCallback. This is done to prevent
a circular import (caused by the __init__ importing a submodule).
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 06 Jun 2009 19:42:54 +0200] rev 2403
Removed authors from 'empty' __init__.py files.
Augie Fackler <durin42@gmail.com> [Sat, 06 Jun 2009 10:30:56 -0500] rev 2402
Add HTTP_HOST to environ variables mocked. Also add license headers to run.py.
Madhusudan C.S. <madhusudancs@gmail.com> [Sat, 06 Jun 2009 17:28:56 +0200] rev 2401
Added logic for every GHOP specific model.
Defined logic for every model defined for GHOP. These logics do nothing special
now. They are just inherited from their parent classes. Necessary GHOP specific
logic will be added later as necessary.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 06 Jun 2009 17:16:52 +0200] rev 2400
Added licenses and fixed the authors of __init__.py for the GHOP module.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 05 Jun 2009 22:54:19 +0200] rev 2399
Changed imports in models to comply with recent GHOP code move.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 05 Jun 2009 22:07:15 +0200] rev 2398
Removed unused import.
Madhusudan C.S. <madhusudancs@gmail.com> [Fri, 05 Jun 2009 21:27:03 +0200] rev 2397
Moved the GHOP module into the modules package.
This also includes moving the templates and content into their respective place inside the Soc folder. This is to avoid adding every folder to the app.yaml file.
Patch by: Madhusudan C.S. and Lennard de Rijk
Reviewed by: Lennard de Rijk
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 05 Jun 2009 08:24:32 +0200] rev 2396
also rename batch_size in cron.py
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 05 Jun 2009 00:03:09 +0200] rev 2395
Added tag v0-5-20090604 for changeset 1dc8d7f9458e
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 05 Jun 2009 00:00:30 +0200] rev 2394
Set new Melange version number to 0-5-20090604 in app.yaml.template
Sverre Rabbelier <sverre@rabbelier.nl> [Thu, 04 Jun 2009 23:21:33 +0200] rev 2393
Display caught errors on the page itself
Similar to the previous commit, show directly rather than redirect.
Sverre Rabbelier <sverre@rabbelier.nl> [Thu, 04 Jun 2009 22:26:24 +0200] rev 2392
Make the maintenance page a hardcoded response
Show the maintenance message on the requested page, instead of
redirecting to a specific url which then displays a page with the
maintenance notice.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 04 Jun 2009 22:08:11 +0200] rev 2391
Merge with Pawel's tip.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 04 Jun 2009 20:55:30 +0200] rev 2390
Partial fix for displaying mentors and students on Organization home page.
Connections between mentors and students are not yet displayed and also there is some probably with displaying markers in Safari for some reason, everything works fine in FF.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 04 Jun 2009 20:46:37 +0200] rev 2389
Comment out GMaps support in Organization home page template.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 04 Jun 2009 22:02:14 +0200] rev 2388
Small indentation fix.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 04 Jun 2009 20:38:32 +0200] rev 2387
Add missing if statement in organization list row template.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 04 Jun 2009 22:01:57 +0200] rev 2386
Fixed an issue where some access checks would fail due to missing arguments.
This happens when an org document is being checked for write access when trying to show the edit link on the document's show page.
Madhusudan.C.S <madhusudancs@gmail.com> [Wed, 03 Jun 2009 23:38:02 +0530] rev 2385
Introduced 'module_package' key in params dict to support modules in melange
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 04 Jun 2009 21:58:05 +0200] rev 2384
Now showing link to edit the home page document on the home page.
This will only show up if you have the right to edit the document.
Update issue 271
Now also working for home pages.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 02 Jun 2009 19:23:06 +0200] rev 2383
Temporary turn off GMaps support on Organization home pages until it's fixed.
Currently not all markers and polyline connections between students and mentors show up.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 04 Jun 2009 20:21:15 +0200] rev 2382
Added link to edit the Document on the Document's public page.
This link will only show if the user is allowed to edit the document.
Fixes issue 271.
Update issue 271
Owner: ljvderijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 02 Jun 2009 19:20:14 +0200] rev 2381
Rename soc-090421.css and update base.html template.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 04 Jun 2009 18:21:04 +0200] rev 2380
Clarified docstring for document read/write access check.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 02 Jun 2009 19:17:46 +0200] rev 2379
Small changes in #extra_left, #extra_right tags in css file.
Google Maps and Student Project List on Organization home page now doesn't lay on page footer if too high.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 04 Jun 2009 08:12:57 +0200] rev 2378
Added a link to the website where the user has registered to the welcome email.
Fixes Issue 630.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 01 Jun 2009 23:42:36 +0200] rev 2377
Add taggable-mixin and gviz to build script.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 01 Jun 2009 22:23:46 +0200] rev 2376
Extend taggable-mixin to support different Tag models.
Usage is pretty simple. Tag model is default in Taggable constructor but you
can call it with different model like GHOPTaskType that inherits from Tag model.
Both Taggable and Tag models have been updated and they don't use hardcoded Tag
model anymore and instead use cls of class methods or self.__class__. In case
of Taggable it's self.__tag_model.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 01 Jun 2009 22:17:38 +0200] rev 2375
Make taggable-mixin tests working by updating GAE path.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 01 Jun 2009 20:38:38 +0200] rev 2374
Merge with Pawel's head.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 01 Jun 2009 20:31:38 +0200] rev 2373
Add google-visualization-python project to Melange repository.
This python module will be used with our Statistics module to leverage Google Visualization API and python as a data source.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 01 Jun 2009 20:03:22 +0200] rev 2372
Removed unecessary use of %.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 30 May 2009 09:19:10 +0200] rev 2371
Changed University Student expected graduation date to be a dynamic dropdown.
The range of choices is dynamically made by taking the current_year-1 to the current_year+20. It does not start at the current year because a Student might need to change it's profile during a Program that runs across multiple years.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 30 May 2009 01:03:20 +0200] rev 2370
Added GHOP specific Mentor and Org Admin Models.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 30 May 2009 00:50:39 +0200] rev 2369
Add missing __init__.py file in taggable-mixin module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 30 May 2009 00:36:52 +0200] rev 2368
Add taggable-mixin to Melange repository.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 29 May 2009 20:56:39 +0200] rev 2367
Add some missing docstrings to Seeder classes in seed_db.py
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 27 May 2009 20:37:04 +0200] rev 2366
Style fixes and pylint: disable-msg comments in different modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 27 May 2009 03:31:58 +0200] rev 2365
Add pylint: disable-msg= where needed in Melange modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 27 May 2009 03:31:27 +0200] rev 2364
Rename bathSize variable to batch_size in soc.logic.models.base module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 27 May 2009 03:22:37 +0200] rev 2363
Style fixes and wrong function call fix in soc.views.helper.lists module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 27 May 2009 02:12:56 +0200] rev 2362
Remove unused variable from soc.view.models.cron module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 27 May 2009 02:09:38 +0200] rev 2361
Some more pylint fixes in different Melange modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 27 May 2009 01:47:38 +0200] rev 2360
Style and pylint fixes in Melange modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 27 May 2009 00:31:40 +0200] rev 2359
Style and variable names fixes in soc.modules.core module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 26 May 2009 22:18:04 +0200] rev 2358
Remove unused imports in Melange modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 26 May 2009 22:10:02 +0200] rev 2357
Remove unused imports from main.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 26 May 2009 22:04:52 +0200] rev 2356
Some small fixes to unique_user_id_adder module.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 26 May 2009 02:45:03 +0200] rev 2355
Fixed typo in org_prize_assignment model.
Sverre Rabbelier <sverre@rabbelier.nl> [Tue, 26 May 2009 02:37:39 +0200] rev 2354
remove accidental head
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 26 May 2009 02:03:53 +0200] rev 2353
Fixed the notification list to show a properly formatted date and time column.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 26 May 2009 01:58:56 +0200] rev 2352
Link id and key name fixes for Organization And OrgApplication in seed_db.
Dan Bentley <dbentley@google.com> [Mon, 25 May 2009 16:23:16 -0700] rev 2351
Add Organization Application seeding.
Fix the seeding in seed_db so that a consistent linkid for organization
applications is used.
Use the last entry in the split array instead of the 2nd.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 26 May 2009 00:51:33 +0200] rev 2350
Make user_id property in User model not required.
Sverre Rabbelier <sverre@rabbelier.nl> [Tue, 26 May 2009 00:19:09 +0200] rev 2349
Merged with Sverre
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 25 May 2009 23:45:20 +0200] rev 2348
Fixed model name and comment typo's in task model.
Also changed the corresponding reference properties.
Madhusudan C.S. <madhusudancs@gmail.com> [Mon, 25 May 2009 23:42:56 +0200] rev 2347
Added several models related to the GHOP workflow.
These models will form the base of the GHOP infrastructure together with the already commited task model.
Reviewed by: Lennard de Rijk
Sverre Rabbelier <sverre@rabbelier.nl> [Mon, 25 May 2009 23:40:07 +0200] rev 2346
Do not die on NeedIndexErrors
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 25 May 2009 22:59:56 +0200] rev 2345
Add helper functions, model update and jobs for unique user ids.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 25 May 2009 22:59:33 +0200] rev 2344
Add missing django.template import to shell.py.
Sverre Rabbelier <sverre@rabbelier.nl> [Mon, 25 May 2009 20:42:11 +0200] rev 2343
Revert "Add a supplemantal block to the edit form"
This reverts commit f50455c4cdcb.
Sverre Rabbelier <sverre@rabbelier.nl> [Mon, 25 May 2009 20:41:54 +0200] rev 2342
Revert "Add an EditForm id to the edit form"
This reverts commit f835e39b4dbc.
James Levy <jamesalexanderlevy@gmail.com> [Mon, 25 May 2009 02:25:44 +0200] rev 2341
Add a supplemantal block to the edit form
James Levy <jamesalexanderlevy@gmail.com> [Mon, 25 May 2009 02:23:42 +0200] rev 2340
Add an EditForm id to the edit form
Sverre Rabbelier <sverre@rabbelier.nl> [Mon, 25 May 2009 02:40:11 +0200] rev 2339
Remove executable bit from datatimepicker
Madhusudan C.S. <madhusudancs@gmail.com> [Mon, 25 May 2009 02:33:26 +0200] rev 2338
Added GHOP Task model.
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 25 May 2009 01:56:09 +0200] rev 2337
Added __init__.py to ghop folder.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 24 May 2009 22:32:39 +0200] rev 2336
Merge with Sverre's recent module architecture commit.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 24 May 2009 22:29:54 +0200] rev 2335
Add web based python shell to Melange.
It is accessible via http://host/admin/shell url and requires developer rights.
Shell project is part of google-app-engine-samples. This commit moves django configuration from main.py to separate gae_django.py module. Shell project has been modified in order to work correctly with django 1.0+. Build script has been updated and includes shell folder and gae_django.py file.
http://code.google.com/p/google-app-engine-samples/source/browse/trunk/shell/
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 22 May 2009 10:08:08 +0200] rev 2334
Comment style fix in soc.views.models.organization module.
Sverre Rabbelier <sverre@rabbelier.nl> [Sun, 24 May 2009 21:40:37 +0200] rev 2333
First step in the module design
The new module design allows modules to be registered by adding them
to settings.MODULES. Currently modules cannot do a lot (they can
register with the sidebar and the sitemap), but the structure is in
place.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 22 May 2009 09:40:53 +0200] rev 2332
Add comment regarding Student Project sorting on Organization home page.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 21 May 2009 14:44:41 +0200] rev 2331
Add sorting of student projects on organization home page.
List of student projects on organization home page is now sorted in alphabetical order by student name. Fixes issue 613.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 21 May 2009 13:25:11 +0200] rev 2330
Now clicking cancel button returns user to previous page. Fixes issue 569.
If you don't want that behaviour you can define cancel_redirect and user will be redirected to given url on "Cancel" button click instead of redirecting to previous page.
Patch by: Daniel Hans & Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 20 May 2009 12:32:36 +0200] rev 2329
Add comment to clean_html_content function and update __authors__.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 May 2009 20:23:42 +0200] rev 2328
Invoke pylint from build script.
Using --skip-pylint build script command line parameter you can skip pylint invocation.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 May 2009 19:37:38 +0200] rev 2327
Replace usage of feedparser for sanitizing html with new HtmlSanitizer module.
HtmlSanitizer prevents from XSS attacks (Fixes issue 606).
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 May 2009 19:34:19 +0200] rev 2326
Add htmlsanitizer folder to build script.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 May 2009 19:33:47 +0200] rev 2325
Add missing __init__.py file to htmlsanitizer folder.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 May 2009 14:49:43 +0200] rev 2324
Add HtmlSanitizer python module to Melange repository.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 May 2009 14:48:47 +0200] rev 2323
Add BeautifulSoup Python HTML/XML parser to Melange repository.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 May 2009 14:05:38 +0200] rev 2322
Add acceptedStudentsCSVExport function to stats.py script.
This funtion is used to generate CSV with all accepted students. It still needs some work and I left TODOs there. I also added helper function for saving data to CSV, which can be reused for other kinds of reports.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 May 2009 14:23:29 +0200] rev 2321
Remove accidentaly committed file.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 May 2009 14:22:45 +0200] rev 2320
Merge with Sverre's accidental head.
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 15 May 2009 23:05:13 +0200] rev 2319
Do not rely on notifiction module being imported
This has worked so far mostly by accident, but it turned out to be
brittle while writing tests. This makes sure that the notification
module is always imported before use.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 15 May 2009 20:54:36 +0200] rev 2318
Style fixes in test_functional.py.
Matthew Wilkes <matthew@matthewwilkes.co.uk> [Fri, 15 May 2009 18:01:43 +0200] rev 2317
Add some example function tests that use gaeftest
Sverre Rabbelier <sverre@rabbelier.nl> [Mon, 25 May 2009 23:42:15 +0200] rev 2316
Use key_name instead of link_id
Some entities do not have a link_id, but all entities are guaranteed
to have a key_name (or an id).
Sverre Rabbelier <sverre@rabbelier.nl> [Tue, 26 May 2009 20:04:59 +0200] rev 2315
Use key_name instead of link_id
Some entities do not have a link_id, but all entities are guaranteed
to have a key_name (or an id).
Matthew Wilkes <matthew@matthewwilkes.co.uk> [Fri, 15 May 2009 15:29:41 +0200] rev 2314
Include required antl3 library and check if datastore is available
The datastore is checked for availability before requesting it to
be cleared. This is because gaeftest uses its own method for ensuring
no leakage of data by providing a temporary file as the backend.
Reviewed by: Sverre Rabbelier
Daniel Bentley <dbentley@google.com> [Sun, 12 Apr 2009 09:06:45 +0000] rev 2313
Use offset_linkid instead of offset to scan >1000 entities.
this is a first-cut. It works in all the ways I could make earlier
versions fail. It passes link_id as URL parameters. It also has a new
class LinkCreator which makes the main body of getListContents even easier
to write.
I wasn't sure if link_id's could have non alphanumeric characters; if so, they
need to be URL encoded/decoded.
I also need to go and remove any mention of raw offsets now, because we don't
use them.
I believe I've talked about this approach with a few of you and it sounded
reasonable. Feel free to roll-back/fix/amend/comment-for-me-to-fix. This is
my first big-logic-change to Melange.
Patch by: Dan Bentley
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 15 May 2009 12:37:01 +0200] rev 2312
Revert not finished 1000 limitation fix commit (ef7222d484).
We are going to put this into separate branch until it's finished.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 12 May 2009 15:52:53 +0200] rev 2311
Add vcs-load-dirs project to thirdparty directory.
vcs-load-dirs project contains load-dir scripts for different version control sysystems including git, hg, darcs, bazaar.
More information about the project:
http://software.complete.org/software/wiki/vcs-load-dirs/
http://software.complete.org/static/vcs-load-dirs/doc//hg_load_dirs.1.html
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 12 May 2009 15:48:36 +0200] rev 2310
Add .DS_Store Mac OS X specific files to .hgignore.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 12 May 2009 15:39:52 +0200] rev 2309
Update Google App Engine to 1.2.2 in thirdparty folder.
Sverre Rabbelier <sverre@rabbelier.nl> [Thu, 14 May 2009 22:40:39 +0200] rev 2308
added foo
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 12 May 2009 13:02:10 +0200] rev 2307
Fix ordering of names in AUTHORS file.
Sverre Rabbelier <sverre@rabbelier.nl> [Sun, 10 May 2009 02:38:57 +0200] rev 2306
Add .gitignore to .hgignore
We're all ignoring one another, pretending the other doesn't exist at
all, how rude!
Sverre Rabbelier <sverre@rabbelier.nl> [Sun, 10 May 2009 02:29:07 +0200] rev 2305
Add .git to the .hgignore file
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 09 May 2009 19:23:02 +0200] rev 2304
Remove __init__.py from project root as well
This is in line with the earlier patch to remove the __init__.py file
from the app/ directory.
---
0 files changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 __init__.py
Sverre Rabbelier <sverre@rabbelier.nl> [Sat, 09 May 2009 15:28:26 +0200] rev 2303
[PATCH] Remove __init__.py from app, as app is not a module
From 6916391964ed3b48021351d3a9ea7a7bc836a373 Mon Sep 17 00:00:00 2001
Date: Sat, 9 May 2009 15:19:04 +0200
---
scripts/build.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
delete mode 100644 app/__init__.py
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 09 May 2009 01:37:21 +0200] rev 2302
Renamed duplicate slots because of recent changes.
Mario Ferraro <fadinlight@gmail.com> [Sat, 09 May 2009 01:36:22 +0200] rev 2301
Fixes Issue 625 where the Duplicate calculation would hang if no assigned slots where available.
Reviewed by: Lennard de Rijk
Mario Ferraro <fadinlight@gmail.com> [Sat, 09 May 2009 01:14:03 +0200] rev 2300
Fixed Issue 627 where multiple Purr boxes would show when using calendar widget.
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 08 May 2009 14:58:19 +0200] rev 2299
Add Marcelo to AUTHORS file and fix typo
Marcelo de Sena Lacerda <marceloslacerda@gmail.com> [Fri, 08 May 2009 14:55:36 +0200] rev 2298
Add coverage support to the test suite
This requires nose 0.11 to run.
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 08 May 2009 14:42:16 +0200] rev 2297
Added coverage output files to .hgignore
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 05 May 2009 21:48:46 +0200] rev 2296
Fixed typo in docstring as to comments on r3012 (svn repo).
Also now importing logic and using keyword arguments as to comply with the codebase standards
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 04 May 2009 19:23:44 +0200] rev 2295
Replace BeautyTips tooltips with purr info box for all form fields with help text.
Patch by: Mario Ferraro
Reviewed by: Pawel Solyga
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 01 May 2009 01:37:43 +0200] rev 2294
Use python2.5 in our unit tests
Patch by: Sverre Rabbelier
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 01 May 2009 00:56:29 +0200] rev 2293
Ignore .project and .pydevproject files
Patch by: Sverre Rabbelier
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 01 May 2009 00:35:06 +0200] rev 2292
Add full list of accepted students
Patch by: Daniel Hans
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 01 May 2009 00:32:18 +0200] rev 2291
Ignore backup files (*~)
Patch by: Sverre Rabbelier
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 01 May 2009 00:31:39 +0200] rev 2290
Ignore zip files and build directory
Patch by: Sverre Rabbelier
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 01 May 2009 00:25:11 +0200] rev 2289
Merged revert
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 01 May 2009 00:03:02 +0200] rev 2288
Backed out changeset 571f2de51138
Test commit that was not meant to be committed.
Patch by: Sverre Rabbelier
Sverre Rabbelier <sverre@rabbelier.nl> [Thu, 30 Apr 2009 23:33:04 +0200] rev 2287
Make dev_appserver error out when python version >2.5 is used
Patch by: Sverre Rabbelier
Sverre Rabbelier <sverre@rabbelier.nl> [Thu, 30 Apr 2009 17:13:09 +0200] rev 2286
Added file 'foo.txt'
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 29 Apr 2009 22:24:14 +0200] rev 2285
Fixed StudentProposal apply view that broke during split of Create/Edit view.
Also included whitespace fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 29 Apr 2009 18:51:58 +0200] rev 2284
Fix Issue 389 (Clicking list entry will not open new tab/window).
Patch by: Daniel Hans
Reviewed by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 29 Apr 2009 18:20:30 +0200] rev 2283
Fix too long line in soc.view.models.organization module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 28 Apr 2009 12:47:06 +0200] rev 2282
Remove E1103 and E1101 errors from ignore list in pylintrc file.
We are going to use "# pylint disable-msg=E1103" comments in the source file itself to ignore false-positives.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 27 Apr 2009 13:01:53 +0200] rev 2281
Style fixes in app.soc.views.models.student_project module.
Too long line and missing whitespace.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 25 Apr 2009 20:52:03 +0200] rev 2280
Show all Co-Mentors on the Student Project public page.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 25 Apr 2009 20:50:48 +0200] rev 2279
Changed Additional Mentors to Co-Mentors in the manage view.
Due to a conversation with Pawel.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk [Sat, 25 Apr 2009 20:24:00 +0200] rev 2278
Added functionality to set additional mentors for a Student Project.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk [Sat, 25 Apr 2009 20:22:13 +0200] rev 2277
Fixed missing value in context when a form with a different name then form was used.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 25 Apr 2009 10:13:06 +0200] rev 2276
Fix broken tests by renaming default app id from "your_app_id" to "test-app-run".
This fix is required due to changes in GAE 1.2.1.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 25 Apr 2009 10:09:24 +0200] rev 2275
Add .hgignore to repository and ignore all .pyc files and app.yaml file.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 24 Apr 2009 22:34:31 +0000] rev 2274
Add getStudentsProjects to context in stats.py script.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 24 Apr 2009 14:16:00 +0000] rev 2273
Load /Users/solydzajs/Desktop/google_appengine into
trunk/thirdparty/google_appengine.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 21 Apr 2009 16:28:13 +0000] rev 2272
Renamed .css file due to recent changes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 21 Apr 2009 16:24:32 +0000] rev 2271
Added map of accepted student proposals to mentors to the org home page.
Patch by: Madhusudan C.S
Reviewed by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 21 Apr 2009 16:24:13 +0000] rev 2270
Fix missing dot in stats.py docstring.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 21 Apr 2009 14:36:47 +0000] rev 2269
Fixing the build now that emails have been tested.
Patch by: Augie Fackler
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 21 Apr 2009 14:25:57 +0000] rev 2268
Intentionally breaking the build so that we can verify BuildBot will send email.
Patch by: Augie Fackler
Augie Fackler <durin42@gmail.com> [Tue, 21 Apr 2009 01:45:12 +0000] rev 2267
Fixing the build now that emails have been tested.
Patch by: Augie Fackler
Augie Fackler <durin42@gmail.com> [Tue, 21 Apr 2009 01:38:04 +0000] rev 2266
Intentionally breaking the build so that we can verify BuildBot will send email.
Patch by: Augie Fackler
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Apr 2009 22:52:51 +0000] rev 2265
Added reviveJobs and deidleJobs to stats.py
These can be used to mark jobs as 'waiting' (meaning they will be
executed again).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Apr 2009 22:52:38 +0000] rev 2264
Email address is actually private, not public, make this obvios
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Apr 2009 22:52:21 +0000] rev 2263
Set the last_modified_on date to last change
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Apr 2009 22:52:05 +0000] rev 2262
Set batch size to 10
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Apr 2009 22:51:48 +0000] rev 2261
Added index needed to convert proposals
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 20 Apr 2009 22:31:25 +0000] rev 2260
Some minor style fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 20 Apr 2009 20:57:59 +0000] rev 2259
Changed the accepted and rejected list to redirect to the review page in ListProposals view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 20 Apr 2009 20:56:56 +0000] rev 2258
Allowing student project review page to be viewed in read-only mode after the deadline has passed.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 20 Apr 2009 19:08:47 +0000] rev 2257
Fixed typo in access module naming.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 20 Apr 2009 03:44:17 +0000] rev 2256
Set new Melange version number to 0-5-20090420 in app.yaml.template.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 22:51:58 +0000] rev 2255
Some minor style fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 22:50:30 +0000] rev 2254
Added listing of accepted and rejected proposals to the organization proposal page.
The link will redirect to the public page where comments can still be placed.
Patch by: Madhusudan.C.S
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 22:14:35 +0000] rev 2253
Added org_home_gmap function to the map JS for displaying the mentor-student map.
Patch by: Madhusudan.C.S and Merio Ferraro
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 22:07:20 +0000] rev 2252
Added mentor-marker.png to content\images.
This is for use on the organization home pages having the map displayed.
Patch by: Madhusudan.C.S
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 22:05:25 +0000] rev 2251
Renamed map JS to facilitate upcoming changes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 21:50:04 +0000] rev 2250
Added the gathering of data required to display a map on the org home page.
Patch by: Madhusudan.C.S
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 21:37:14 +0000] rev 2249
Added ccTld property to role to retrieve the ccTld of the country of residence for a specific role entity.
Patch by: Madhusudan.C.S
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 21:26:38 +0000] rev 2248
Added dictionary mapping country names to their CCTLD in countries model.
Patch by: Madhusudan.C.S
Reviewed by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 17:42:57 +0000] rev 2247
Don't run in a transaction if not needed
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 17:42:44 +0000] rev 2246
Tweak the 'load balancing' algorithm
In order to reduce contention we randomly skipped jobs, but this
caused many jobs to end up stopping early. Now instead we keep on
going until we time out (also increased the chance of doing work).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 17:42:27 +0000] rev 2245
Added deleteEntities methods to stats.py
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 16:23:29 +0000] rev 2244
Fixed typo in cron.job module's timeOutJob docstring.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 14:48:21 +0000] rev 2243
Use status codes in job.py
The previous behavior of being able go do 'if not handler.handle' is
still valid as the status code for 'timed out' is 0.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 14:45:22 +0000] rev 2242
getDefaultMailSender now properly handles users who are logged in but not registered.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 14:35:31 +0000] rev 2241
Allow anyone to see student projects
The required rights['show'] exception was already made, but the
any_access check was preventing it from being effictive.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 10:46:20 +0000] rev 2240
Changed the type of Error occurring when no valid sender could be found to a FatalJobError in student_proposal_mailer.
This means that the job will be immediately aborted.
This patch is due to comments on r3000 by SRabbelier.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 10:37:10 +0000] rev 2239
Students can not list their own projects before the accepted students announced deadline.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 10:29:57 +0000] rev 2238
Student Proposal Mailer is now sending out real emails.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 10:28:35 +0000] rev 2237
Fixed a comment typo and possible bug in mail_dispatcher.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 19 Apr 2009 10:26:11 +0000] rev 2236
Added email templates for accepted and rejected students in a GSoC like program.
These templates are specifically for GSoC2009 as per request in Issue 379.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 00:07:46 +0000] rev 2235
Major brown paper bag fix
Filter was set to empty dict while it was passed in as a possibly
empty param.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 00:07:29 +0000] rev 2234
Add a startSpam method to stats
This method creates the job responsible for sending out emails to
students.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 00:07:17 +0000] rev 2233
Add job to the index
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 00:07:05 +0000] rev 2232
Add a random chance to ignore a job to reduce contention
This should probably be solved better (perhaps with a binary
exponential backoff).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 00:06:46 +0000] rev 2231
Do not fetch all jobs with each poke
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 00:06:29 +0000] rev 2230
Add entityIterator to base Logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Apr 2009 00:06:12 +0000] rev 2229
Store how many times a job has timed out and abort if needed
Patch by: Sverre Rabblier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 21:34:41 +0000] rev 2228
Wrong usage of twoline_table_row caused weird layout in project
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 21:34:25 +0000] rev 2227
Add cron.yaml to the build script
Patch by: Sverre Rabbelier, Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 18 Apr 2009 21:30:58 +0000] rev 2226
Instead of text_data use key_data property to check for uniqueness.
Brown paper bag fix, querying for TextProperty is not smart ^_^.
Patch by: Lennard de Rijk, Sverre Rabbelier
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 18 Apr 2009 21:26:13 +0000] rev 2225
Style fix in Job model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 18 Apr 2009 21:22:43 +0000] rev 2224
Hook up the Student Proposal Mailer in the cron/jobs module.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 18 Apr 2009 21:21:22 +0000] rev 2223
Added Student Proposal Mailer module for mailing students who are accepted/rejected into the program.
TODO has been added to actually sent out the emails.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 19:00:04 +0000] rev 2222
Various improvements to convertProposals
It should now be ready to convert proposals to projects and reject
all proposals that were not accepted.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 18:59:53 +0000] rev 2221
Add a silent option to updateOrCreateFromFields
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 18 Apr 2009 17:14:42 +0000] rev 2220
Fixed wrong import for list proposals view.
This seems to be working in the p3 release though.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 18 Apr 2009 15:06:36 +0000] rev 2219
Fixed typo and added myself to authors in the cron/job module.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 15:05:56 +0000] rev 2218
Add a script to convert proposals.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 18 Apr 2009 15:04:24 +0000] rev 2217
Added FatalJobError to the cron/job module.
This Error will lead to abortion of the raising job.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 18 Apr 2009 14:51:27 +0000] rev 2216
Fixed typo in documentation of the Job Model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 18 Apr 2009 14:43:42 +0000] rev 2215
Changed the response message in the cron poke view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 14:27:40 +0000] rev 2214
Remove debug url too
This should have been part of the previous commit.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 14:25:30 +0000] rev 2213
Remove testing method and update docstring for cron system
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 14:04:39 +0000] rev 2212
Removed unneeded imports and variables
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 14:04:11 +0000] rev 2211
Add cron, the core of the job system
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 14:03:49 +0000] rev 2210
Add priority groups and jobs to the sitemap
Also add an entry in the Site menu to list them.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 14:03:28 +0000] rev 2209
Add jobs (model, logic, and view)
Jobs are the core of the Job system, allowing distributed processing
of taks in an interuptable manner.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 14:02:56 +0000] rev 2208
Add priority groups (model, logic, and view)
Priority groups will be a key part of the Job system, allowing the
site admin to give a higher priority to certain job types on the fly.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 18 Apr 2009 14:00:30 +0000] rev 2207
The listing of accepted projects on the Organization's homepage is now timeline dependent.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 18 Apr 2009 13:59:24 +0000] rev 2206
White space fix in list_info module.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 12:49:37 +0000] rev 2205
Fix user_self calling editGet with a wrong parameter
Also fix wrong call to collectCleanedFields and stray seed
argument in user_self.
Patch by: Sverre Rabbelier, Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 12:37:12 +0000] rev 2204
Split edit and create into different methods
This makes removes unneeded responsibility from the edit view and
makes it possible to more tightly restrict the usage of the edit and
create views to only creating/editing.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 12:36:55 +0000] rev 2203
Add support for ID based entities
This allows entities that do not have a key name to be created and
edited without requiring the presence of a key_name.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 12:07:02 +0000] rev 2202
Use proposal key instead of raw proposal
Patch by: Sverre Rabbelier, Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 18 Apr 2009 11:41:56 +0000] rev 2201
Show in green the proposals that would be accepted
Patch by: Sverre Rabbelier, Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Apr 2009 22:50:16 +0000] rev 2200
Add proper generation of Student entities and StudentProposal entities to seed_db module.
Add link for generating 200 Students to seed_db.html template.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 17 Apr 2009 21:36:49 +0000] rev 2199
Rename that should have been part of r2953.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 17 Apr 2009 21:14:43 +0000] rev 2198
Renamed stepsize to step_size in Student Proposal Logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 17 Apr 2009 20:26:37 +0000] rev 2197
Moved the code to retrieve all Proposal which should be accepted for one Organization to the Proposal Logic module.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Apr 2009 19:54:27 +0000] rev 2196
Style fixes in soc.views.helper.lists module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Apr 2009 19:53:54 +0000] rev 2195
Style fixes in soc.views.models.organization module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Apr 2009 19:53:23 +0000] rev 2194
Fix too long line in soc.views.models.program module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Apr 2009 19:52:57 +0000] rev 2193
Comment out unused variables in soc.views.models.base module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Apr 2009 19:01:26 +0000] rev 2192
Fix too long line in soc.views.helper.templatetags.forms_helpers module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Apr 2009 16:23:01 +0000] rev 2191
Proposal CSV export for students.
Patch by: Matthew Wilkes
Reviewed by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 15 Apr 2009 23:22:11 +0000] rev 2190
Readability fix in base logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 15 Apr 2009 23:21:40 +0000] rev 2189
Remove redundant if check
site_logic.getSingleton() is guaranteed to return an entity.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Apr 2009 19:13:52 +0000] rev 2188
Comment out unused variables in soc.logic.allocations module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Apr 2009 19:13:16 +0000] rev 2187
Fix too long line in soc.cache.logic module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Apr 2009 16:05:29 +0000] rev 2186
Add missing responses import and replace usage of helper.responses with just responses in soc.views.models.student module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Apr 2009 15:56:17 +0000] rev 2185
Fix too long line and redefining variable 'review' from outer scope in soc.views.models.student_proposal module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Daniel Bentley <dbentley@google.com> [Wed, 15 Apr 2009 08:01:17 +0000] rev 2184
Step 2 of moving to new seeding model.
Create Seeder class, which abstracts some seeding.
Move user to Seeder class, and make new OrganizationSeeder class.
If people like this, I'll finish the rest soon.
Patch by: Dan Bentley
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Apr 2009 18:44:06 +0000] rev 2183
Added additional_mentors property to StudentProject.
As per request by Issue 588.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 14 Apr 2009 18:42:27 +0000] rev 2182
Whitespace fix in sponsor model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 13 Apr 2009 21:46:33 +0000] rev 2181
Place the getSingleton call in view decorator in the try
This way timeouts on the getSingleton() call are also catched.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 13 Apr 2009 21:32:29 +0000] rev 2180
Fix a bug in duplicate detection
This is caused by AppEngine's inability to sort a query when the
inequality or IN operator is used. See also [0].
[0] http://code.google.com/p/googleappengine/issues/detail?id=1100
Patch by: Sverre Rabbelier and Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 13 Apr 2009 21:32:12 +0000] rev 2179
Undid superfluas replacement of .name() with .name_or_id()
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 13 Apr 2009 16:31:36 +0000] rev 2178
Fixes access check for manage view.
Added forgotten IsMyEntity check and fixed a bug introduced by a rename in r2816.
Addresses Issue 584.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 13 Apr 2009 15:31:39 +0000] rev 2177
Do not rely on dicts.merge to change target
Also make dicts.merge actually not touch target. This is much cleaner
than modifying in place, especially since we assign the result of the
dicts.merge call to target most of the time anyway.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 13 Apr 2009 15:30:48 +0000] rev 2176
Use key().id_or_name() instead of key().name()
These two cases were introduced after the previous refactoring was
done and did not follow the new behavior.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 13 Apr 2009 14:34:42 +0000] rev 2175
Fix a bug in seed_db
Using %(num)d with an int as argument doesn't work.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Apr 2009 16:43:30 +0000] rev 2174
Added a warning message to alert the user that reviews are not editable.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 12 Apr 2009 16:09:00 +0000] rev 2173
Added overview of private reviews to the Student Proposal review page.
Addresses Issue 496.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 12 Apr 2009 13:22:43 +0000] rev 2172
Load /Users/solydzajs/Downloads/google_appengine into
trunk/thirdparty/google_appengine.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Apr 2009 13:14:03 +0000] rev 2171
Do not rely on a backup_admin being set
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Apr 2009 12:31:55 +0000] rev 2170
Send out notifications and emails to admin and backup admin
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Apr 2009 12:31:23 +0000] rev 2169
Allow the backup_admin to fill in the org application
Patch by: Sverre Rabbelier
Daniel Bentley <dbentley@google.com> [Sun, 12 Apr 2009 09:06:45 +0000] rev 2168
Use offset_linkid instead of offset to scan >1000 entities.
this is a first-cut. It works in all the ways I could make earlier
versions fail. It passes link_id as URL parameters. It also has a new
class LinkCreator which makes the main body of getListContents even easier
to write.
I wasn't sure if link_id's could have non alphanumeric characters; if so, they
need to be URL encoded/decoded.
I also need to go and remove any mention of raw offsets now, because we don't
use them.
I believe I've talked about this approach with a few of you and it sounded
reasonable. Feel free to roll-back/fix/amend/comment-for-me-to-fix. This is
my first big-logic-change to Melange.
Patch by: Dan Bentley
Daniel Bentley <dbentley@google.com> [Sun, 12 Apr 2009 06:24:14 +0000] rev 2167
Respond to comments on r2769.
Patch by: Dan Bentley
Daniel Bentley <dbentley@google.com> [Sun, 12 Apr 2009 06:21:15 +0000] rev 2166
Last step of refactoring before adding support for > 1000 entities.
Make helper functions. One extracts list parameters.
One creates links more simply. This is cleaning up the large
function body so I can move stuff around more radically.
Patch by: Dan Bentley
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Apr 2009 00:18:38 +0000] rev 2165
Add (better) help_text to publish_location and school_name
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Apr 2009 00:18:19 +0000] rev 2164
Brown paper bag fix
Can't call .key() if there is no entity.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 11 Apr 2009 23:04:29 +0000] rev 2163
Added Joel Sherrill to the AUTHORS file
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 11 Apr 2009 22:59:30 +0000] rev 2162
Lower ASCII fix
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 11 Apr 2009 22:58:57 +0000] rev 2161
Remove getKeySuffix and it's usage
We can use .key().id_or_name() everywhere now.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 11 Apr 2009 22:58:19 +0000] rev 2160
Use key().id_or_name() instead of key().name()
This is to allow for the usage of auto-id's.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 11 Apr 2009 22:57:23 +0000] rev 2159
Use key.id_or_name in templates rather than key.name
This is to allow for usage of auto-id's.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Apr 2009 17:40:41 +0000] rev 2158
Indentation fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Apr 2009 16:00:03 +0000] rev 2157
Indentation fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Apr 2009 13:42:12 +0000] rev 2156
Added two menu items to the program menu.
The first addition is a link to redirect to the Host's view for showing duplicates.
The second addition is a link for Students to an overview of all their projects in the current program.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Apr 2009 13:37:31 +0000] rev 2155
Removed obsolete white line in soc/models/views/models/organization.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Apr 2009 13:36:50 +0000] rev 2154
Added listing of Student Projects for Students themselves.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Apr 2009 13:34:37 +0000] rev 2153
Added three new redirect methods.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 11 Apr 2009 13:32:35 +0000] rev 2152
Brown paper bag fix for Student Project Manage and Edit access check.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 11 Apr 2009 13:19:23 +0000] rev 2151
Style fix in function names in stats.py
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 11 Apr 2009 12:27:41 +0000] rev 2150
When ranking, put them at or above the given rank
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 11 Apr 2009 12:27:20 +0000] rev 2149
Remove slots_allocation from program view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 10 Apr 2009 15:46:05 +0000] rev 2148
Make it possible to save any value with saveValues
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 10 Apr 2009 15:45:52 +0000] rev 2147
Allow loading a previously saved slot allocation
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 10 Apr 2009 15:32:11 +0000] rev 2146
Added Manage Student Projects item to the organization menu.
Only visible after the accepted students deadline has passed and the current user is an org admin.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 10 Apr 2009 15:24:43 +0000] rev 2145
Fixed typo in checkStudentProjectHasStatus docstring.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 10 Apr 2009 15:22:38 +0000] rev 2144
Removed TODO that has been completed in r2876.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 10 Apr 2009 11:27:33 +0000] rev 2143
Fix bug exposed in previous commit
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 10 Apr 2009 11:27:15 +0000] rev 2142
Add a test case to demonstrate a bug in the allocator
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Apr 2009 22:37:29 +0000] rev 2141
Set new Melange version number to 0-5-20090410 in app.yaml.template.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 09 Apr 2009 22:06:18 +0000] rev 2140
Add a new allocation algorithm and use it
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 09 Apr 2009 22:05:44 +0000] rev 2139
Change iterative to algorithm in slot allocator
Also store the slots in program model instead of in each org.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 09 Apr 2009 22:05:07 +0000] rev 2138
Store min and max slots in the program model
Also add a field to store the current allocation.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 09 Apr 2009 22:04:47 +0000] rev 2137
If nothing is assigned, return no assignments
Before the popularity was returned instead.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 08 Apr 2009 23:45:41 +0000] rev 2136
Add a submit method and button to slots view
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 08 Apr 2009 22:47:46 +0000] rev 2135
Make "Private Comment" first in the selection box on Student Proposal review page.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 08 Apr 2009 22:21:50 +0000] rev 2134
Add auto-completion for mentor field
Patch by: Kai Blin
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 08 Apr 2009 22:21:30 +0000] rev 2133
Make mentor pickable
Patch by: Kai Blin
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 08 Apr 2009 22:21:12 +0000] rev 2132
Make it possible to specify the key_order for pick
Patch by: Kai Blin
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 08 Apr 2009 22:20:53 +0000] rev 2131
Add a temporary hack to allow filtering on org.key().name()
Patch by: Kai Blin
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 08 Apr 2009 22:20:33 +0000] rev 2130
Drop the 'adjustement' part of slots allocation
Also cap the max slots at slots_desired (and name it 'max' rather
than 'mentors', which is a more accurate name anyway).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 08 Apr 2009 22:20:00 +0000] rev 2129
Use slots allocated instead of adjustment in slots view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 08 Apr 2009 22:19:24 +0000] rev 2128
Use the new self._getAcceptedOrgsList in slots view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 08 Apr 2009 22:19:05 +0000] rev 2127
Factor out _getAcceptedOrgsList from acceptedOrgs
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 22:22:43 +0000] rev 2126
Public page for StudentProjects now displays public info.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 22:20:23 +0000] rev 2125
Added public info as TinyMCE to the edit pages.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 22:19:01 +0000] rev 2124
Added public_info property to StudentProject model.
This can be used to further elaborate about your project on it's public page.
Also fixed some style and textual issues.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 21:57:50 +0000] rev 2123
Student Project public page now shows feed entries.
Patch by: Madhusudan C.S
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 21:55:54 +0000] rev 2122
Added feed_url to StudentProject.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 21:40:23 +0000] rev 2121
Added list of projects to the organization home page.
Only projects that have not failed will be shown here. The list will link to each project public page which will contain the necessary info about the project.
Addresses part of Issue 491.
Patch by: Madhusudan C.S
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 21:12:29 +0000] rev 2120
Changed StudentProposal list to show the amount of pending mentors if none have been assigned.
Addresses Issue 551.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 07 Apr 2009 18:50:24 +0000] rev 2119
Brown paper bag fix
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 07 Apr 2009 18:20:27 +0000] rev 2118
Set new Melange version number to 0-5-20090407 in app.yaml.template.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 07 Apr 2009 18:12:29 +0000] rev 2117
Add missing imports, remove unsused imports, fix too long lines and some other style fixes in soc.views.models.student_project module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 07 Apr 2009 12:31:12 +0000] rev 2116
Add pylint: disable-msg=W0706 to soc.views.helper.access module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 08:49:47 +0000] rev 2115
Major update to the views concerning StudentProjects.
Organization admins can now reassign a Mentor for each of their active (meaning student has not failed or finished) projects.
To facilitate this an overview has been added for the Organization Admins in which they can choose which Project to edit.
Students can now edit the public information that is used in their projects.
Several TODO's have been added to make it easier to navigate to these pages.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 08:44:56 +0000] rev 2114
Added new redirect method to be used for StudentProjects.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 08:43:50 +0000] rev 2113
Added two new templates for use in StudentProject views.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 08:41:58 +0000] rev 2112
Added 2 new access checks to deal with StudentProjects.
In preparation for the view updates regarding StudentProject.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 08:40:51 +0000] rev 2111
Student Project listing now includes mentor column.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 08:09:47 +0000] rev 2110
Change the dropdown menu to state Comment Visible to Student.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 07 Apr 2009 07:28:31 +0000] rev 2109
Only show mentor name in the detailed list.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 06 Apr 2009 23:46:46 +0000] rev 2108
Properly handle exports when there are multiple lists
If there are multiple lists whose index does not match their position
in the contents, things weren't handled properly.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 06 Apr 2009 22:55:49 +0000] rev 2107
Make slots view available to hosts
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 06 Apr 2009 22:55:27 +0000] rev 2106
Use the new nr_applications and nr_mentors
This saves _a lot_ of computing time, making it possible to use the
slot allocation view when there are a significant number of orgs.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 06 Apr 2009 22:55:08 +0000] rev 2105
Add the amount of proposals and mentors to slots view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 06 Apr 2009 22:54:41 +0000] rev 2104
Added Matthew Wilkes to the AUTHORS file
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 06 Apr 2009 22:54:31 +0000] rev 2103
Added key_order to student proposal to enable csv export
We need to add it to organization.py rather than to student_proposal
because otherwise students could see the score and status of their
proposals by using the csv export functionality.
Patch by: "Matthew Wilkes" <matthew@matthewwilkes.co.uk>
Reviewed by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 06 Apr 2009 22:54:11 +0000] rev 2102
Fixed wrong usage of twoline_field in proposal view
The proposal view currently uses twoline_field to show the abstract
and contents of a proposal, which causes unbalanced tables and most
data shoved to the far right of the screen.
Patch by: "Matthew Wilkes" <matthew@matthewwilkes.co.uk>
Reviewed by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 06 Apr 2009 22:53:47 +0000] rev 2101
Fixed bug introduced by fixing a pylint error
Here first was very much intentionally set to None, as later on we
check if it is none in an 'first if first else exception' statement.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Apr 2009 22:02:16 +0000] rev 2100
Added name column to all role lists.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Apr 2009 21:38:10 +0000] rev 2099
Added Mentor name column to StudentProposals list.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 06 Apr 2009 21:19:58 +0000] rev 2098
Fix too long line in soc.views.models.student_proposal module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Apr 2009 21:05:30 +0000] rev 2097
Added simple listing (no score, rank) for Student Proposals you are a mentor for.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 06 Apr 2009 20:36:18 +0000] rev 2096
Changed label and help_text for public review button on studentproposal review page.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 06 Apr 2009 19:22:42 +0000] rev 2095
Replace current favicon with the cleaned up one (smudges).
Patch by: ajatsu
Reviewed by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 06 Apr 2009 18:18:53 +0000] rev 2094
Allow students to see and comment on withdrawn and ineligible proposals, hide withdraw button for those proposals.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 06 Apr 2009 18:16:30 +0000] rev 2093
Indention fix in soc.views.models.organization module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 06 Apr 2009 11:04:57 +0000] rev 2092
When Student withdrew a proposal a public comment "Student withdrew proposal." is posted.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 06 Apr 2009 10:11:44 +0000] rev 2091
Make "Mark as Ineligible" reversable and make this feature available for mentors too.
Now also with every click on "Mark as Ineligible" or "Mark as Eligible" button a private comment is posted with message "Marked Student Proposal as Ineligible/Eligible" which will help keep track of the changes made by mentors/org admins.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 05 Apr 2009 23:39:36 +0000] rev 2090
Add a script to subscribe someone to all updates
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 05 Apr 2009 23:39:25 +0000] rev 2089
Add the entities to the context too
This makes it easier to quickly get specific entities from
the datastore.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 05 Apr 2009 22:51:54 +0000] rev 2088
Fix posting public comments as private in student proposals review.html template.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 05 Apr 2009 19:43:26 +0000] rev 2087
Brown paper bag fix, sort by last name in AUTHORS
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 05 Apr 2009 19:38:10 +0000] rev 2086
Added Dmitri to the AUTHORS file
CLA signed with "Igor Gasowski for Dmitri Gaskin" since Dmitri is a
minor (Igor Gasowski is his father).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 05 Apr 2009 19:37:56 +0000] rev 2085
Use different colors for public/private comment widget
Patch by: Dmitri Gaskin <dmitrig01@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 05 Apr 2009 18:18:07 +0000] rev 2084
Fixed a missing variable declaration
This caused /org_app/list to be broken.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 05 Apr 2009 17:57:33 +0000] rev 2083
Disable E1002 pylint error in soc.views.helper.dynaform module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 05 Apr 2009 17:50:56 +0000] rev 2082
Fixed a 'stylefix' in DynaField that wasn't a style issue
The word 'base' was not chosen arbitarily but is a variable name,
by changing it to object DynaFields were no longer a subclass of
Field, so they were not included anymore.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 04 Apr 2009 09:09:35 +0000] rev 2081
Fix wrong usage of helper requests module in soc.views.models.base after recent unused imports cleanup.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 03 Apr 2009 19:17:26 +0000] rev 2080
Also show 'List my student proposals' after signup closes
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 03 Apr 2009 19:17:08 +0000] rev 2079
Minor tweaks to orgStats
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:54:57 +0000] rev 2078
Fix calling of super class __init__ method in out_of_band Error class (wrong number of parameters).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:43:41 +0000] rev 2077
Style fixes, add missing docstring, fix some wrong calls to super classes and removal of unused imports in soc.views.helper.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:41:08 +0000] rev 2076
Style fixes and removal of unused imports in soc.views.models.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:34:20 +0000] rev 2075
Call super class in __init__ in soc.views.out_of_band module Error class.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:32:15 +0000] rev 2074
Fix too long lines, style and remove unused imports in soc.models modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:30:36 +0000] rev 2073
Style fixes and removal of unused imports in soc.logic modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:29:36 +0000] rev 2072
Style fixes and removal of unused imports in soc.logic.models modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:27:31 +0000] rev 2071
Disable some messages in pylintrc and disable cyclic imports check in silent mode of do_pylint.sh.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:23:53 +0000] rev 2070
Remove unused imports soc.cache.base module and rename key variable to filter_key in soc.views.sitemap modules (access to outer scope names).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:21:26 +0000] rev 2069
Remove unused imports in soc.views.sitemap modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:19:46 +0000] rev 2068
Style fixes and removal of unused imports in soc.logic.helper modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:10:32 +0000] rev 2067
Add missing docstring url.py.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:09:34 +0000] rev 2066
Add missing docstrings to main.py and settings.py.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 03 Apr 2009 17:06:27 +0000] rev 2065
Add license file and docstring to __init__.py files across different modules within Melange.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 03 Apr 2009 10:36:57 +0000] rev 2064
Returning a JSON response on successfully storing the found duplicates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 03 Apr 2009 04:54:10 +0000] rev 2063
Fixed a typo in stats.py
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 02 Apr 2009 23:06:52 +0000] rev 2062
Refactor getProps to use dateFetch
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 02 Apr 2009 23:06:39 +0000] rev 2061
Style fixes
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 02 Apr 2009 23:06:28 +0000] rev 2060
Add and use a getEntities method
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 02 Apr 2009 23:06:15 +0000] rev 2059
Make it possible to retrieve all properties in toDict
We used to retrieve only the properties that are specified in the
self.properties() dictionary, instead, we now iterate over the
key_fields and only use self.properties() if those are not specified.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 02 Apr 2009 23:05:56 +0000] rev 2058
Add dateFetch
This way it's possible to incrementally fetch new or modified
entities given a certain base set.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 02 Apr 2009 23:05:43 +0000] rev 2057
Make stats.py executable
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 02 Apr 2009 23:05:31 +0000] rev 2056
Print how many entities have been retrieved
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Apr 2009 19:40:28 +0000] rev 2055
Enable storing of the duplicate calculation results.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 02 Apr 2009 19:38:49 +0000] rev 2054
Added ProposalDuplicates model and logic.
This will be used for storing the answer on duplicate calculations.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 02 Apr 2009 16:30:38 +0000] rev 2053
Replace "Founded by" with "Registered by" in soc.models.group module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 02 Apr 2009 15:31:36 +0000] rev 2052
Add some additional functions for stats to stats.py script.
This included getStudents, getUsers, getMentors, getOrgAdmins, countStudentsWithProposals and some style fixes.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 02 Apr 2009 10:11:38 +0000] rev 2051
Make the mentor and organization admin comment submission on student proposal nicer. Now drop down box allows you to select comment type and based on selected type and your current Role shows you available comment options. Left TODO to put inline JS into separate JS file.
Patch by: Tim Ansell (small fixes by Pawel Solyga)
Reviewed by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 01 Apr 2009 17:23:49 +0000] rev 2050
"Where did you hear about this program"- can now be changed at any time.
Addresses Issue 487.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Daniel Bentley <dbentley@google.com> [Wed, 01 Apr 2009 12:01:58 +0000] rev 2049
Some fixes to lists helper to reduce mutation.
Also added some TODO's to describe the plan.
Patch by: Dan Bentley
Daniel Bentley <dbentley@google.com> [Wed, 01 Apr 2009 10:24:26 +0000] rev 2048
A new model for seeding the database that makes it easier to seed many entities.
new_seed_many is a function that seeds in a different way. Instead of using
redirects, it figures out what the high-water mark of seeding is and
proceeds from there.
This is obviously a half-way step. I've talked about it with Sverre; I think
I've mentioned it to others. If we like it, I volunteer to convert everything
to this model (I think there will be savings and simplification when we're all
the way). If we don't like it, I'll back out this code. But I'll also be sad,
because this makes it a lot easier to add many entities (which I care about
because I'm trying to fix list view for that many entities).
Patch by: Dan Bentley
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 01 Apr 2009 00:30:01 +0000] rev 2047
Added a stats module to scripts
Usable to retrieve and save statistics. Currently only organization
popularity (by means of student applications) is supported.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 01 Apr 2009 00:29:50 +0000] rev 2046
Factor out the setup() method in interactive
Also allow specifying a custom context dictionary in remote, which
will be used by the stats module to add helper methods.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 01 Apr 2009 00:29:34 +0000] rev 2045
Fixed a typo in seed_db.html
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 31 Mar 2009 19:25:43 +0000] rev 2044
Now using GET request for getting the data.
This will prevent a 411 error from occurring on a live website. Also the URL does not need the timestamp since it already is added automatically.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 31 Mar 2009 19:25:17 +0000] rev 2043
Missing template change from r2750.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 31 Mar 2009 19:21:26 +0000] rev 2042
Renamed duplicate-slots.js to prepare for changes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 31 Mar 2009 16:00:17 +0000] rev 2041
Make invalid Student Proposals also accessible for Hosts, Mentors and Org admins. Previously only new and pending Student Proposals could be viewed.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 31 Mar 2009 15:45:39 +0000] rev 2040
Added example text to birth_date.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 31 Mar 2009 11:40:40 +0000] rev 2039
Fix docstring in interactive.py script.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 30 Mar 2009 22:57:27 +0000] rev 2038
Set new Melange version number to 0-5-20090331 in app.yaml.template.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 30 Mar 2009 22:52:15 +0000] rev 2037
Added nr_applications and nr_mentors
These two properties can then be used to store the amount of
applications and mentors an organization has.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 30 Mar 2009 22:38:08 +0000] rev 2036
Use ugettext and shorter variable names for inellegible list
We use the abbreviated variable names in other list views as well to
make it doable to work with them (with the meaning of the
abbreviation explained with a comment after the definition). Bring
the inellegible list up to date with this.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 30 Mar 2009 22:16:55 +0000] rev 2035
Add listing of ineligible Student Proposals to "View all Students Proposals" view. Now mentors and org admin can see what application has been marked as ineligible or withdrawn by student.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 30 Mar 2009 21:16:18 +0000] rev 2034
Fixed the duplicate slots view.
The script would not clear the screen upon recalculation also the list of duplicates would increase with every iteration because the variables weren't properly reset.
Patch by: Merio Ferraro, Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 30 Mar 2009 21:12:44 +0000] rev 2033
Renamed duplicate-slots.js to prepare for changes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 30 Mar 2009 19:46:41 +0000] rev 2032
Added missing return to manage access check.
Addresses Issue 471.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 30 Mar 2009 19:41:05 +0000] rev 2031
Enforce the 500 character limit for abstracts.
Addresses Issue 417.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 30 Mar 2009 19:36:43 +0000] rev 2030
Fixed typo in docstring for logic/models/base.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 30 Mar 2009 19:35:44 +0000] rev 2029
Added clean_content_length method to clean content of a specific size.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 29 Mar 2009 21:35:02 +0000] rev 2028
This patch adds a javascript confirmation box when clicking "Mark as Ineligible" on Student Proposal. This is temporary until we make this action reversible.
Patch by: Tim Ansell
Reviewed by: Pawel Solyga
Tim Ansell <mithro@gmail.com> [Sun, 29 Mar 2009 07:43:04 +0000] rev 2027
Make test@example.com a mentor for one gsoc org and an admin (for a different) gsoc org.
This was the number one issue which was stopping me from testing a bunch of
patches.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Mar 2009 20:19:50 +0000] rev 2026
Set fields to 100% width again
This patch properly fixes the problem without punishing other
browsers for IE's brokenness. If we have any other IE specific
fixes, we should include them in this way too.
Patch by: Timothy Robert Ansell <tansell@google.com>
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Mar 2009 20:19:18 +0000] rev 2025
Remove two trailing comma's
IE dies when there is a trailing comma in a js dictionary.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Mar 2009 02:21:48 +0000] rev 2024
Add a script to start an interactive shell with remote api
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Mar 2009 02:21:37 +0000] rev 2023
Enabled remote_api for admins only
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 27 Mar 2009 14:19:16 +0000] rev 2022
Fix Issue 381(Date fields should be displayed in ISO standard formatting) and Issue 207 (Date selector Javascript control always starts out with year 1900 selected).
Patch by: Daniel Hans
Reviewed by: Pawel Solyga
Chen Lunpeng <forever.clp@gmail.com> [Fri, 27 Mar 2009 13:16:27 +0000] rev 2021
Fixed some typo in app/soc/views/models/base.py
Patch by: Chen Lunpeng
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 27 Mar 2009 11:16:35 +0000] rev 2020
Clarified docstring in access.py and changed edit access checks for role views.
Addresses Issue 455.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 27 Mar 2009 10:34:18 +0000] rev 2019
Fixed access check in club_member view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 27 Mar 2009 09:51:25 +0000] rev 2018
Added missing access checks to various roles.
Addresses Issue 454.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Mar 2009 14:11:06 +0000] rev 2017
Added document_name alias for use on award certificates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Mar 2009 13:58:13 +0000] rev 2016
Disabled CSV export for roles.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Mar 2009 13:35:49 +0000] rev 2015
Name alias now does not use the name_on_documents.
We should use other methods when the name_on_documents is needed.
Addresses Issue 431.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 26 Mar 2009 12:19:33 +0000] rev 2014
Add missing utf decode in html cleaner in soc.logic.cleaning module. This should fix all the 500 errors that we got. Remove extra blank line in soc.views.model.document.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 25 Mar 2009 22:42:35 +0000] rev 2013
Use minified tiny_mce.js javascript file instead of tiny_mce_src.js which is 100kB larger.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 25 Mar 2009 18:56:31 +0000] rev 2012
Student Proposal Review template now has the right header_title.
Should have been part of r2714.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 25 Mar 2009 18:54:55 +0000] rev 2011
Student Proposal Review page now has a title that contains the title and student name.
Addresses part of Issue 437.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 25 Mar 2009 17:55:16 +0000] rev 2010
Made the Student Proposal review page more clear by separating the submit button from the other buttons.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 25 Mar 2009 17:44:36 +0000] rev 2009
Set new Melange version number to 0-5-20090325 in app.yaml.template.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 25 Mar 2009 15:20:01 +0000] rev 2008
Placing a public review via the review interface now also triggers the status change to pending.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 25 Mar 2009 15:16:50 +0000] rev 2007
Show additional info link on Student Proposal pages.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 25 Mar 2009 14:07:21 +0000] rev 2006
Added cleaning to student proposal content and the contents of the reviews.
Addresses Issue 433.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 25 Mar 2009 08:46:28 +0000] rev 2005
Removed leftover URL in duplicate-slots.js
No code change, so no copy/rename.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Mar 2009 19:49:35 +0000] rev 2004
Added JS to the duplicate proposals page.
TODO's:
Caching
Fix the recalculate to properly clear the previous iteration.
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Mar 2009 18:43:22 +0000] rev 2003
Fixed error occurring when mentor or student posts a comment because a built-in function was passed rather then a real argument.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 24 Mar 2009 18:00:46 +0000] rev 2002
Fix csv export of properties that are not string (like datetime.time). Also replace name_on_documents with name helper property.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 24 Mar 2009 16:21:36 +0000] rev 2001
Set new Melange version number to 0-5-20090324 in app.yaml.template.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 24 Mar 2009 16:18:53 +0000] rev 2000
Add csv export support for Roles. If needed we will add support for extra properties in Mentor, Org Admin and Students models later.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Mar 2009 08:46:18 +0000] rev 1999
Now showing student name in list proposal views.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 23 Mar 2009 22:43:14 +0000] rev 1998
Fixed a typo in proposal listing
It should be 'sent to', not 'send to'.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 23 Mar 2009 21:54:50 +0000] rev 1997
Enable resizing in the TinyMCE widget
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 23 Mar 2009 20:15:17 +0000] rev 1996
Add "Edit my Student Profile" link to program menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 23 Mar 2009 20:05:00 +0000] rev 1995
Added check to prevent students from submitting more proposals then allowed by the program settings.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 23 Mar 2009 08:44:29 +0000] rev 1994
Fixed a typo in Organization model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 22 Mar 2009 23:45:23 +0000] rev 1993
Set new Melange version number to 0-5-20090322 in app.yaml.template.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Mar 2009 22:54:40 +0000] rev 1992
Redirect to show if there is no home document
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Mar 2009 22:54:14 +0000] rev 1991
Make _public return True iff public page should be shown
If the public page should not be shown, and 'public_redirect' is set,
a redirect to 'public_redirect' will be returned.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Mar 2009 22:15:46 +0000] rev 1990
Automagically convert '+' to '00' in phone numbers
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Mar 2009 22:06:54 +0000] rev 1989
Added a 'Can we contact you' property
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Mar 2009 20:13:19 +0000] rev 1988
Make sure the user has restricted rights to create a new document
This way users cannot create a document in a scope they should not
have direct access to.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Mar 2009 18:05:10 +0000] rev 1987
Add example text on t-shirt sizes
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Mar 2009 14:52:38 +0000] rev 1986
Ensure that the link_id entered is the user's in edit_self
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Mar 2009 14:52:05 +0000] rev 1985
Optionally return link_id in clean_user_is_current
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Mar 2009 14:51:37 +0000] rev 1984
Use getFromKeyFields instead of getForFields where possible
Lookup by key_name is a lot faster than doing a query, so if possible
the use of getFromKeyFields is preferred over getForFields.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Mar 2009 18:15:18 +0000] rev 1983
Student proposal list now shows proper date and the normal list shows the organization name.
Addresses Issue 396.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Mar 2009 18:02:49 +0000] rev 1982
Removes the Mentor from all Student Proposals possible mentor lists when resigning.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
David Anderson <david.jc.anderson@gmail.com> [Sat, 21 Mar 2009 17:12:07 +0000] rev 1981
Factor out input and file utils into io.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Mar 2009 16:19:42 +0000] rev 1980
Added fields requested in Issue 392 to Student Model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Mar 2009 15:55:33 +0000] rev 1979
Push agreements to group 99 for Role forms.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Mar 2009 13:07:12 +0000] rev 1978
Use the new as_email tag for user profile
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Mar 2009 13:06:32 +0000] rev 1977
Added an as_email template tag
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Mar 2009 10:40:20 +0000] rev 1976
Fixed typo in variable name.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 21 Mar 2009 08:47:25 +0000] rev 1975
Fix broken list_msg that caused 500 errors on many pages that contain list. Also make sure not to display list_msg if it is None.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 21 Mar 2009 01:07:40 +0000] rev 1974
Set new Melange version number to 0-5-20090321 in app.yaml.template.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 21 Mar 2009 00:49:10 +0000] rev 1973
Add school name and school country properties to Student Role. For now we will use this solution, and hopefully soon we will introduce new School model.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Mar 2009 00:30:07 +0000] rev 1972
Mentors cant resign when mentoring a project/proposal.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 23:59:18 +0000] rev 1971
Only show 'Register as student' link student has a user profile
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 23:21:45 +0000] rev 1970
Explain better what a link_id should look like
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 23:21:21 +0000] rev 1969
Typo and thinko fix in accepted_orgs_msg
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 22:50:34 +0000] rev 1968
Show the accepted_orgs_msg for the accepted orgs page
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 22:49:56 +0000] rev 1967
Allow for a message to be displayed above the list view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 22:49:18 +0000] rev 1966
Add an non-required accepted_orgs_msg property to program profile
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 22:00:14 +0000] rev 1965
Requests now link to a user's profile
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 21:59:42 +0000] rev 1964
Added an as_user template tag
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 21:27:39 +0000] rev 1963
Clean phone numbers to be numeric only
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 21:27:14 +0000] rev 1962
Added a numeric_only cleaner
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 21:16:15 +0000] rev 1961
Added example text to the phone number fields
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 21:11:23 +0000] rev 1960
Removed formatting from TinyMCE that use the style tag
The style tag is removed by feedparser as it can be used to insert
malicious content.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 21:02:46 +0000] rev 1959
Show all orgs in accepted org list view
Also cache the result for 15 minutes if all orgs have created their
organization profile.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 21:02:21 +0000] rev 1958
Made _getPickData more generic by supporting ordening
As such, renamed it to _getData.
Also use a more robust way to represent the filter in case it
contains entities.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 21:01:49 +0000] rev 1957
Added a new index for accepted orgs listing
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Mar 2009 19:11:56 +0000] rev 1956
Fixed docstring for canResign method.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Mar 2009 18:53:37 +0000] rev 1955
Moved canResign check to role logic so subclasses can override.
Also changed the variable name in the templates to be more generic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Mar 2009 16:54:01 +0000] rev 1954
Minor style fix.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 20 Mar 2009 14:40:22 +0000] rev 1953
Add date postfix to slot-allocator.js file. Update base.html template with path to slot-allocator-090320.js.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 20 Mar 2009 14:37:52 +0000] rev 1952
Slot allocator Javascript fix. This prevents from calling updateFromJSON function if there is no data.
Patch by: Mario Ferraro
Reviewed by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Mar 2009 14:18:07 +0000] rev 1951
Fixed copy/paste fail in docstring.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Mar 2009 14:17:10 +0000] rev 1950
Only show valid roles on user roles page.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Mar 2009 14:07:57 +0000] rev 1949
Added "How did you hear about this program?" to Student Profile.
Addresses Issue 333.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Mar 2009 14:04:57 +0000] rev 1948
Fixed double sending of notifications on creating a new invite.
Request logic now handles sending of the notification instead of the view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Mar 2009 11:49:12 +0000] rev 1947
Fixed redirect after creating/rejecting a request/invite.
Addresses Issue 374.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 20 Mar 2009 10:57:54 +0000] rev 1946
Set new Melange version number to 0-5-20090320 in app.yaml.template.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 09:58:23 +0000] rev 1945
Moved and updated seed_many documentation
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 20 Mar 2009 09:09:48 +0000] rev 1944
Minor style fixes
Also, move the stripping of the binary name to the __main__ part,
otherwise a nonsense argument has to be provided when running from
the interactive interpreter.
Patch by: Sverre Rabbelier
Daniel Bentley <dbentley@google.com> [Fri, 20 Mar 2009 08:11:59 +0000] rev 1943
A script for writing the application name into an app.yaml based on an app.yaml.template.
My first check-in. I apologize if I forgot, overlooked, or just plum messed something up. I'm sure I have. I'll fix it, and appreciate any review you can give.
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Mar 2009 23:25:34 +0000] rev 1942
Verbiage fix in Mentor list heading
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Mar 2009 17:30:17 +0000] rev 1941
Explicitly added access check for public profile page view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Mar 2009 17:11:03 +0000] rev 1940
Verbiage fix
Patch by: Sverre Rabbelier3
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Mar 2009 17:10:26 +0000] rev 1939
Allow everyone to view an org app public page
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Mar 2009 08:53:52 +0000] rev 1938
Minor whitespace fix.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Mar 2009 08:52:55 +0000] rev 1937
Added the users' public name to the process_request page.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Mar 2009 08:38:01 +0000] rev 1936
Added basic student project view.
TODO's added:
-Org admins should be able to assign a mentor
-Determine who can edit the title,abstract and additional info link
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Mar 2009 08:37:16 +0000] rev 1935
Added new Student Project cleaning method.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Mar 2009 08:31:15 +0000] rev 1934
Added basic Student Project templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Mar 2009 08:30:06 +0000] rev 1933
Added StudentProject logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Mar 2009 08:27:47 +0000] rev 1932
Added StudentProject model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Mar 2009 08:04:07 +0000] rev 1931
Org applications can now be deleted up to the deadline.
As requested in Issue 341.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Mar 2009 00:12:59 +0000] rev 1930
Rename 'orgs' to 'organizations' in page title
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Mar 2009 00:12:35 +0000] rev 1929
Added missing status to seeded orgs
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 18 Mar 2009 17:18:19 +0000] rev 1928
The org list proposals page now shows the amount of assigned slots.
Also colors the list of possible accepted proposals.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 18 Mar 2009 17:17:20 +0000] rev 1927
Added a new custom class and fixed the base template css reference.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 18 Mar 2009 17:12:25 +0000] rev 1926
Added list_info helper module.
This module can be used in the same way as the redirects module, to support custom info methods for lists.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 18 Mar 2009 17:07:33 +0000] rev 1925
Renamed .css file to facilitate todays changes.
This is done seperatly because Google Code's online diff does not regard this as a rename.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 18 Mar 2009 16:21:19 +0000] rev 1924
Always show the accepted organizations list even when there are None.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 18 Mar 2009 16:15:32 +0000] rev 1923
Added missing access check for listing of accepted orgs.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 18 Mar 2009 16:14:29 +0000] rev 1922
Added new access method that can check if a given event has taken place already.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 18 Mar 2009 15:29:25 +0000] rev 1921
Set new Melange version number to 0-5-20090318 in app.yaml.template.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 18 Mar 2009 12:41:59 +0000] rev 1920
Change the order of student proposals lists for org admins and mentors. Now the new proposals list shows up at the top. Also don't show the list of new proposals if it's empty.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Mar 2009 22:03:00 +0000] rev 1919
Proposal data is now stored in a list rather then a dictionary for the AssignedProposals JSON object.
As requested by Mario.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Mar 2009 20:51:07 +0000] rev 1918
Cleaned up the proposal data that gets put into a JSON object.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Mar 2009 20:24:59 +0000] rev 1917
Fixed a bug where giving a limit but no offset would cause a 505.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Mar 2009 18:03:31 +0000] rev 1916
Fixed layout for StudentProposal reviews.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Mar 2009 18:02:11 +0000] rev 1915
Renamed .css file to facilitate todays changes.
This is done seperatly because Google Code's diff does not regard this as a rename.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Mar 2009 17:35:12 +0000] rev 1914
Moved subscription buttons to the top and comment placing to the bottom for StudentProposal review and public page.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 17 Mar 2009 17:19:30 +0000] rev 1913
Added missing ','.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 17 Mar 2009 16:54:50 +0000] rev 1912
Add organization name to organization application acceptance/rejection email templates.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 17 Mar 2009 13:28:06 +0000] rev 1911
Added a Assign Slots link to sidebar for Hosts
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 17 Mar 2009 13:25:55 +0000] rev 1910
Added an assign slots redirects
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 17 Mar 2009 13:22:00 +0000] rev 1909
Make accepted org list redirect to public page
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Mar 2009 23:55:28 +0000] rev 1908
Added a seed_db.html
A static page with some seed_db and seed_many links.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Mar 2009 23:55:04 +0000] rev 1907
Added org app seeding to seed_many
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Mar 2009 23:54:33 +0000] rev 1906
Added StudentProposal to clean_db
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Mar 2009 23:54:07 +0000] rev 1905
Added seed student proposal support to seed_many
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Mar 2009 23:53:41 +0000] rev 1904
Add seed mentor support to seed_many
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Mar 2009 23:53:14 +0000] rev 1903
Added seed org support to seed_many
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Mar 2009 23:52:49 +0000] rev 1902
Added seed user to seed many
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Mar 2009 23:52:22 +0000] rev 1901
Added a seed_many url
Similar to the former user_start, user_end, and user_goal, only now
more generic. Also now properly propagates the 'step' argument.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Mar 2009 23:51:46 +0000] rev 1900
Factor out ensureUser and add Error class in seed_db
Also removed the seed_many stuff, this will be moved to a seperate
url with in a more generic approach.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Mar 2009 23:51:20 +0000] rev 1899
Added format and containsAll to the dicts module
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Mar 2009 21:18:20 +0000] rev 1898
Hook up the new template tag for StudentProposal reviews.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Mar 2009 21:17:04 +0000] rev 1897
Added a new template tag to serve up background color for StudentProposals Reviews.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Mar 2009 21:14:55 +0000] rev 1896
Added background color for StudentProposal reviews to the .css file.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Mar 2009 19:08:50 +0000] rev 1895
Notifications will not be sent out to the reviewer.
Should have been in r2574.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Mar 2009 18:05:08 +0000] rev 1894
Send out a message on a new StudentProposal review to all followers.
Updated docstring in notifications helper to be clearer about the method's intentions.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Mar 2009 18:02:01 +0000] rev 1893
Added sendNewReviewNotification to the notifications helper.
This is to be used for messaging ReviewFollowers.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Mar 2009 18:00:39 +0000] rev 1892
Added new_review template.
Fixed minor style issue in notifications base template.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Mar 2009 17:58:55 +0000] rev 1891
Make the notifications look less bloated by not adhering to the linebreaks in the template but only to the HTML in them.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Mar 2009 16:27:21 +0000] rev 1890
Increased the length of the timebased link_id to handle more items at once.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Mar 2009 15:33:27 +0000] rev 1889
Use site_name if the system sends a message.
Addresses comments on r2564.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 16 Mar 2009 11:57:50 +0000] rev 1888
Style fixes for release modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 22:32:05 +0000] rev 1887
Changed notifications helper to properly use the fact that from_user is not a required property.
The list template has changed to reflect this. The naming is open for discussion but note that if it is decided to change it that it also needs to be changed in the public.html template.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 20:58:39 +0000] rev 1886
Changed line-endings in notifications base template.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 20:42:21 +0000] rev 1885
Fixed an Epic Fail in StudentProposal logic ^_^.
Import was wrong.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 20:40:03 +0000] rev 1884
Delete all ReviewFollowers and remove the entry in the ranker before deleting a StudentProposal.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 20:27:50 +0000] rev 1883
The StudentProposal review view now also allow you to subscribe to public/private reviews.
Note that message sending is not yet implemented.
Also moved the other GET parameter stuff into ReviewGet method.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 19:29:31 +0000] rev 1882
Everyone that is able to see the StudentProposals public page can subscribe to public review updates.
Note: No messages will be sent yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 19:26:10 +0000] rev 1881
Added the ReviewFollower logic module.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 19:25:14 +0000] rev 1880
Added the ReviewFollower model.
To be used to track who is subscribed to StudentProposals being reviewed. Or any other entity that uses the Review model to convey messages.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 17:33:50 +0000] rev 1879
Some minor style fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Mar 2009 17:22:15 +0000] rev 1878
Fix missing utf encoding of data when exporting lists to csv file.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 16:42:54 +0000] rev 1877
Updated help text for email properties in Group model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 16:30:53 +0000] rev 1876
Allow backup admins to edit org application
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 16:30:26 +0000] rev 1875
Specify the type of Link ID used
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 16:20:24 +0000] rev 1874
Some minor style fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 16:10:19 +0000] rev 1873
Added the Follower Logic Module.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 16:08:45 +0000] rev 1872
Added the Follower model.
This will be used to let people subscribe to for instance a student proposal so that they can receive updates about it.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 15:21:06 +0000] rev 1871
Replaced a '.' with '?' in org app
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 15:07:38 +0000] rev 1870
Verbiage fix in ACL
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 14:55:45 +0000] rev 1869
Verbiage fix in org app
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 14:53:00 +0000] rev 1868
Updated the accepted organization email for GSoC 2009.
Left a TODO to use a proper template. Issue 200 addresses a possible solution.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Mar 2009 14:14:13 +0000] rev 1867
Set new Melange version number to 0-5-20090315 in app.yaml.template.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 14:10:21 +0000] rev 1866
Renamed "Idea page" to "Ideas page"
Also renamed "all organizations" to "accepted organizations".
Added a longer description to the first list.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 13:36:14 +0000] rev 1865
Remove key_order from 'list accepted orgs' view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 13:35:45 +0000] rev 1864
Don't create csv export when no key_order is defined
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 13:16:38 +0000] rev 1863
Added a 'accepted orgs' view to program
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 13:16:03 +0000] rev 1862
Make an org's application visible to all logged in users
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 13:15:32 +0000] rev 1861
Don't show possibly private info on org_app public page
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 13:15:01 +0000] rev 1860
Added an getAcceptedOrgsRedirect to redirects
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 13:14:33 +0000] rev 1859
Remove program id from org list
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Mar 2009 13:13:54 +0000] rev 1858
Show idea page instead of last modified date in org app
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Mar 2009 11:31:26 +0000] rev 1857
Style fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Mar 2009 20:12:56 +0000] rev 1856
Added a list of developers to the User menu
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Mar 2009 19:46:20 +0000] rev 1855
Fixed a very obvious bug in slots()
The bug was not visible due to the allocator always returning an
empty dictionary.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Mar 2009 19:45:52 +0000] rev 1854
Don't return an empty dict when no allocation can be made
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 14 Mar 2009 18:02:01 +0000] rev 1853
Group StudentProposals under Students in the sidebar.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Mar 2009 16:09:13 +0000] rev 1852
Show 'list my org apps' only if you have org apps
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Mar 2009 16:08:38 +0000] rev 1851
Pre-accepted or pre-rejected orgs should stay under 'needs review'
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Mar 2009 16:08:09 +0000] rev 1850
Enable javascript in duplicate students view
Patch by: Sverre Rabbelier
David Anderson <david.jc.anderson@gmail.com> [Sat, 14 Mar 2009 03:49:16 +0000] rev 1849
Factor out the Subversion wrapper to a separate module.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Mar 2009 00:12:22 +0000] rev 1848
Show 'List my Organization Applications' link even after signup closed
Patch by: Sverre Rabbelier
David Anderson <david.jc.anderson@gmail.com> [Fri, 13 Mar 2009 23:18:06 +0000] rev 1847
Followup to r2517: don't import threading in release.py
David Anderson <david.jc.anderson@gmail.com> [Fri, 13 Mar 2009 23:12:43 +0000] rev 1846
Redirect stdout/stderr through the logging system.
This change also causes the uncaptured output of subprocesses to
be routed to the logging system for recording in the session
transcript.
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Mar 2009 23:12:40 +0000] rev 1845
Fixed a thinko-fix in toDict
The pick() view was broken because of this.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Mar 2009 23:12:15 +0000] rev 1844
Set the content type to text/csv for csv exports
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Mar 2009 23:11:44 +0000] rev 1843
Add row headings to the csv export
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Mar 2009 23:11:16 +0000] rev 1842
Added an identity function to dicts
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Mar 2009 23:10:49 +0000] rev 1841
Don't override org view params
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Mar 2009 23:04:27 +0000] rev 1840
Changed the workflow for students regarding their proposals.
The list_self for students now points to the public page where they can see their public reviews. A link on this page has been added to point to the view where they can edit their proposal.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Mar 2009 23:01:11 +0000] rev 1839
Added example and help text to clarify the use of some fields on the proposal ranking.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Mar 2009 22:35:39 +0000] rev 1838
Some textual changes for proposal reviewing.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Mar 2009 20:25:18 +0000] rev 1837
Minor textual changes in the StudentProposal model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Mar 2009 18:41:35 +0000] rev 1836
The rejected applications subsection now links to the public page for the list_self view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
David Anderson <david.jc.anderson@gmail.com> [Fri, 13 Mar 2009 18:22:01 +0000] rev 1835
Fix indentation to match Melange/Google style.
David Anderson <david.jc.anderson@gmail.com> [Fri, 13 Mar 2009 18:14:54 +0000] rev 1834
Add a log module to initialize and manage logging.
David Anderson <david.jc.anderson@gmail.com> [Fri, 13 Mar 2009 18:14:44 +0000] rev 1833
Add a decolorize() helper to undo the effects of colorize().
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Mar 2009 16:56:56 +0000] rev 1832
Fixed checkIsNotParticipatingInProgramInScope to just query for the given program instead of iterating over a list.
Also fixed the error messages to show the correct message.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Mar 2009 14:11:08 +0000] rev 1831
Updated index.yaml to reflect changes necessary for the duplicate checking views.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Mar 2009 13:49:07 +0000] rev 1830
Started with the view for showing students who have been assigned to multiple slots.
The basics that are in this patch will be used by Mario Ferraro to write the actual view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Mar 2009 13:46:30 +0000] rev 1829
Fixed whitespace in cache/base.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Mar 2009 13:26:03 +0000] rev 1828
Changed the edit template to show a Submit button instead of Save Changes when "creating" an entity.
This is because Save Changes confuses people, it has the tendency to imply a partial save.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
David Anderson <david.jc.anderson@gmail.com> [Fri, 13 Mar 2009 03:11:42 +0000] rev 1827
Move run() into the util module.
David Anderson <david.jc.anderson@gmail.com> [Fri, 13 Mar 2009 02:56:35 +0000] rev 1826
Followup to r2496. Fix obvious errors.
David Anderson <david.jc.anderson@gmail.com> [Fri, 13 Mar 2009 02:13:21 +0000] rev 1825
Move the Paths class to the util module.
David Anderson <david.jc.anderson@gmail.com> [Fri, 13 Mar 2009 01:59:54 +0000] rev 1824
Refactor ANSI colorization into a new utility module.
David Anderson <david.jc.anderson@gmail.com> [Fri, 13 Mar 2009 01:49:39 +0000] rev 1823
Fix the Melange version regular expression to detect patch versions.
David Anderson <david.jc.anderson@gmail.com> [Fri, 13 Mar 2009 01:44:18 +0000] rev 1822
Create an error module containing the top-level error class.
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Mar 2009 00:12:42 +0000] rev 1821
Only show export link if list_key_order is set
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 23:05:40 +0000] rev 1820
Display a warning if there are errors on the form
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 23:04:53 +0000] rev 1819
Make the error message align with the input field
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 23:04:14 +0000] rev 1818
Moved stylesheet to mitigate overenthousiastic browser caching.
Also fixed some minor whitespace damage in the css while at it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 23:03:28 +0000] rev 1817
Add a style class for td.twolineformfielderrorlabel.
Also right-aligned td.formfielderrorlabel etc.
Patch by: Sverre Rabbelier
David Anderson <david.jc.anderson@gmail.com> [Thu, 12 Mar 2009 22:46:10 +0000] rev 1816
Add the Google SoC release script to the Melange repository.
The intent is to refactor this script and make it usable by
Melange as well.
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 22:30:04 +0000] rev 1815
Always convert newlines to linebreaks
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 22:29:14 +0000] rev 1814
Some code re-use in templates
As a side-effect the pre-accept and pre-accept are now first, rather
then mingled with the other buttons.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 21:38:40 +0000] rev 1813
Define a key order for document and org app
This way the export order will be constant, even if we add more model
properties later on.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 21:38:07 +0000] rev 1812
Strip leading and trailing newlines from our responses
Without this CSV exports look funny.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 21:37:38 +0000] rev 1811
Greatly simplify makeNewPaginationChoices
Also added two developer-only choices.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 21:37:09 +0000] rev 1810
Adhere to the DEF_... pattern for constants in lists
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 21:36:39 +0000] rev 1809
Make it possible to specify the key order for csv export
Patch by: Sverre Rabbelier
Augie Fackler <durin42@gmail.com> [Thu, 12 Mar 2009 14:16:55 +0000] rev 1808
build.sh: bail if run in the wrong directory.
Patch by: Augie Fackler
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 13:39:57 +0000] rev 1807
Add an export link to all list views
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 13:39:03 +0000] rev 1806
Added generic csv export to all list views
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 13:38:24 +0000] rev 1805
Factor download functionality out of export()
This way any kind of data can be offered as downloadable file.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 13:37:26 +0000] rev 1804
Keep the current list and row number
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 13:36:36 +0000] rev 1803
Return "" when there is no info/action set
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 13:35:35 +0000] rev 1802
Allow developers to specify a higher limit for a list view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 00:48:52 +0000] rev 1801
Reinstate the 1k limit in pick()
Considering the performance hit we take with every query of this size
we need to think of a way around having to do such large queries,
rather than doing them anyway.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Mar 2009 00:48:23 +0000] rev 1800
If not running local, use ajax.googleapis to serve jquery
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Mar 2009 21:30:28 +0000] rev 1799
Redirect to current page if the current request times out
When deleting entities it doesn't matter if we get interrupted.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Mar 2009 21:29:58 +0000] rev 1798
Use accounts.getCurrentAccount instead of users.get_current_user
This way accounts are normalized, which is usefull now that debug
mode is also available even if deployed on appspot.com.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Mar 2009 21:29:32 +0000] rev 1797
isDebug now also checks melange version
To facilitate this getMelangeVersion was introduced and in order to
not show the 'Flush Cache' button a isLocal method was also added.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Mar 2009 21:28:48 +0000] rev 1796
Allow for query caching in pick
Turn the caching on for /user/pick
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Mar 2009 21:28:11 +0000] rev 1795
Added query caching
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Mar 2009 19:27:13 +0000] rev 1794
Also clear RankerRoot and ranker from datastore
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Mar 2009 19:26:41 +0000] rev 1793
Make it possible to only add users
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Mar 2009 19:26:11 +0000] rev 1792
Make it possible to add an arbitrary amount of users
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Mar 2009 19:25:41 +0000] rev 1791
Make it possible to add more users and orgs with GET args
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 10 Mar 2009 23:56:04 +0000] rev 1790
Retrieve all entities rather than just the first 1k
We probably need to start doing some caching for the pick view soon.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 10 Mar 2009 23:55:33 +0000] rev 1789
Return a HttpResponse in seed_db
Also moved the adding of the django patterns to where they belong so
that they do not get added multiple times.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 10 Mar 2009 21:08:30 +0000] rev 1788
StudentProposal abstract is now a text property to support more then 500 bytes.
Just in case someone decides to enter a lot of info. The organizations can decide whether it fits their idea of an abstract.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 10 Mar 2009 19:09:12 +0000] rev 1787
Organization admins can now put a Student Proposal at a specific rank.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 10 Mar 2009 19:06:16 +0000] rev 1786
Added getRankerFor method to student_proposal logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 10 Mar 2009 15:53:26 +0000] rev 1785
Use the correct timeline logic in edit()
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 10 Mar 2009 15:52:53 +0000] rev 1784
Use params['logic'] instead of self._logic
This makes it possible to specify a different logic for each view.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 10 Mar 2009 14:43:14 +0000] rev 1783
Do not override fields in the model if they are already set
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 10 Mar 2009 12:31:25 +0000] rev 1782
checkIsApplicationAccepted now properly checks if the application is really from the applying user.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 09 Mar 2009 23:56:42 +0000] rev 1781
Add TinyMCE widget for org apps
Also add a cleaner for description and contrib_template.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 09 Mar 2009 23:56:14 +0000] rev 1780
Added a getFromKeyNameOr404 to base.Logic
This also fixes a bug introduced in r2437 where this method was used
although it didn't exist yet.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 09 Mar 2009 20:43:46 +0000] rev 1779
Org admins can mark a StudentProposal as invalid if they for any reason find it ineligible.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 09 Mar 2009 19:37:56 +0000] rev 1778
Open the agreement text in a new window
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 09 Mar 2009 19:37:23 +0000] rev 1777
Fix an access bug
Instead of 'show' the keyword 'public' was used, which is no longer
used for access checks.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Mar 2009 16:34:54 +0000] rev 1776
Replace getFromKeyName with getFromKeyNameOr404 where appropriate in soc.views.helper.access module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Mar 2009 10:58:04 +0000] rev 1775
Add missing "a" in soc/mail/welcome.html template. Fixes Issue 313.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 09 Mar 2009 08:52:10 +0000] rev 1774
Removed star next to logo.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Mar 2009 01:11:33 +0000] rev 1773
Fix typo in soc.logic.cleaning module (site_logic.logic was called instead of just site_logic).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Mar 2009 00:53:07 +0000] rev 1772
Set new Melange version number to 0-5-20090308 in app.yaml.template.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Mar 2009 00:44:45 +0000] rev 1771
Make the http links use <a href> tag in new_notification.html and welcome.html mail templates.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Mar 2009 00:43:36 +0000] rev 1770
Move all the jquery-purr css settings into separate file and add it to base.html template only if needed.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Mar 2009 00:42:08 +0000] rev 1769
Remove some copy/pasted docstring in soc.views.models.comment module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Mar 2009 00:40:55 +0000] rev 1768
Typo fix in soc.logic.cleaning module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Mar 2009 00:40:27 +0000] rev 1767
Small text changes in process_request.html template.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Mar 2009 00:39:25 +0000] rev 1766
Add indention in soc.views.models.organization module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Mar 2009 00:38:43 +0000] rev 1765
Add missing blank lines in test_utils module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 09 Mar 2009 00:08:32 +0000] rev 1764
Views should have a unique name
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 09 Mar 2009 00:01:21 +0000] rev 1763
Addressed comments by Pawel
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 09 Mar 2009 00:00:41 +0000] rev 1762
Use getFromKeyFieldsOr404 in slots() and allocateSlots()
Handling of the exception is done by the view decorator.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 09 Mar 2009 00:00:13 +0000] rev 1761
Except and properly handle Errors in view decorator
After the next release we can remove all try/except combinations that
are not customized and leave the handling of those exceptions to the
view decorator.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 23:58:27 +0000] rev 1760
Hide 'slots' and add 'slots_desired'
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 08 Mar 2009 21:59:57 +0000] rev 1759
Revert r2376 since it's not needed as discussed in Issue 188.
http://code.google.com/p/soc/issues/detail?id=188
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 21:51:17 +0000] rev 1758
Some minor style fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 21:37:21 +0000] rev 1757
Some minor style fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 20:07:22 +0000] rev 1756
The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Should solve issue 237.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 19:12:17 +0000] rev 1755
Fixed a cleaning bug which allowed a proposal to be recreated by the original proposer.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 18:09:04 +0000] rev 1754
Made all links in e-mail verbatim to solve Issue 250.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 17:41:02 +0000] rev 1753
Students who withdraw their proposal will now be removed from the ranker.
And therefore don't influence the ranking of other proposals anymore.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 17:19:25 +0000] rev 1752
The student proposal public page can now be used to place a public comment.
Developers, Hosts, and the student/org_admin/mentor that this proposal is from/directed to can leave a comment.
All the comments placed will show up on the review page aswell, and vica versa.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 16:26:17 +0000] rev 1751
Switch from actual applications to popularity
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 15:00:59 +0000] rev 1750
Make use of groupDictBy in program.slots
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 15:00:31 +0000] rev 1749
Add a groupDictBy to dicts
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 15:00:08 +0000] rev 1748
Play nice with non-float allocations
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 14:38:24 +0000] rev 1747
Provide the 'return_url' in the allocate slots view
This url can then be used to post and receive JSON data from.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 14:37:28 +0000] rev 1746
Add a getSlotsRedirect to redirects.py
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 14:36:55 +0000] rev 1745
Don't override the params argument
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 14:36:24 +0000] rev 1744
Treat the response from the server as a JSON object
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 13:58:15 +0000] rev 1743
Restricted slots and assign_slots to dev-only for now
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 13:34:56 +0000] rev 1742
Reviews are now sorted on their created date.
Else stuff might move around when we allow people to edit their reviews.
Should have been part of r2398.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 13:14:28 +0000] rev 1741
Public reviews are now shown on the public page for the student proposal.
The assigned mentor name has been removed from the public page.
The student proposal view now uses the new getReviewsForEntity method.
Patch by: Lennard de Rijk
Reviewed by:to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 13:11:49 +0000] rev 1740
Added a new method in the review logic to return all reviews for the given entity as scope.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 13:10:38 +0000] rev 1739
Some style fixes for the student proposal review template.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 12:27:42 +0000] rev 1738
Proposal public page now properly renders HTML content.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:13:15 +0000] rev 1737
Support non-float slots
This is for easier interaction with the frontend.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:05:12 +0000] rev 1736
Add and use the new and improved allocation scripts
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:04:46 +0000] rev 1735
Update the slot allocation view and template
Patch by: Sverre Rabbelier, "Mario Ferraro" <fadinlight@gmail.com>
Reviewed by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:04:08 +0000] rev 1734
Add a slot allocation script and template
Patch by: Sverre Rabbelier, "Mario Ferraro" <fadinlight@gmail.com>
Reviewed by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:03:28 +0000] rev 1733
Hook up json2.js in base.html
We do not load it by default.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:03:01 +0000] rev 1732
Add a no_pagination.html template
This template can be used to turn of pagination but still have the
blue 'bars' at the top and bottom show up.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 08 Mar 2009 00:00:13 +0000] rev 1731
Add json2.js to repository under json folder, update build script and app.yaml.template files.
This is pretty useful set of functions for JSON manipulation in Javascript, we will mostly use stringify function. This code is on Public Domain license and comes from http://www.json.org/js.html.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 22:14:04 +0000] rev 1730
Important roles can now not resign if they are the last in their group.
Fixes Issue 288.
I've decided to do it outside of the logic because if the need arises to kick the last org admin out of a group we need the ability to do so.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 20:27:52 +0000] rev 1729
Have slots default to 0
Patch by: Sverre Rabbelier, "Mario Ferraro" <fadinlight@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 20:27:24 +0000] rev 1728
Include IntegerProperty in the JSON object
Patch by: Sverre Rabbelier, "Mario Ferraro" <fadinlight@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 20:26:58 +0000] rev 1727
Added the spin jquery plugin
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 19:46:18 +0000] rev 1726
Add a link to the full agreement text
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 19:45:38 +0000] rev 1725
Make it possible to specify a link to the full text
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 19:31:39 +0000] rev 1724
Students can not be kicked from a program by a organization admin.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 19:23:32 +0000] rev 1723
Reverting part of r2378, since it's not ready yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 19:17:02 +0000] rev 1722
All address fields for roles and groups can now only use characters that can successfully be converted to ASCII.
Has to do with Issue 243.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 18:16:54 +0000] rev 1721
Adjust the total_popularity after ranging
This way 'off the scale' orgs (many applicants, with only few mentors
available) will not pull the total amount of allocated slots down as
much as before.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 17:55:14 +0000] rev 1720
Removed the street address from influencing the maps plug in.
Legally we are not allowed to publish people's street address, people can drag the marker to their street if they wish to, we are now using the postal code which would be a region within a city (if this is too much we might also take this out).
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 17:36:32 +0000] rev 1719
Show the marker for the Google maps plug in by default.
This fixes Issue 307.
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 17:09:05 +0000] rev 1718
Added an pre-processing algorithm
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 17:08:23 +0000] rev 1717
Added assigned mentors and amount of minimum slots per org
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 16:06:30 +0000] rev 1716
Fixes banned people being able to create a new user entity.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:22:48 +0000] rev 1715
Added the review capability to the student_proposal review page.
Note that editing of reviews still is not allowed, and Students can't read/respond yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:19:53 +0000] rev 1714
Moved some template tags out of forms_helpers into comments_helpers.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:19:06 +0000] rev 1713
Added new template tag for a review.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:13:11 +0000] rev 1712
Org Application contributors template is now marked safe.
This means the HTML content will be properly rendered.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:11:51 +0000] rev 1711
Updated the docstring for the Comment model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:07:49 +0000] rev 1710
Added Logic for the Review Model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:07:17 +0000] rev 1709
Redone the Review model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 14:56:22 +0000] rev 1708
Add forgotten image
Forgotten by: Sverre Rabbelier
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 14:49:03 +0000] rev 1707
Add the jquery-purr plugin
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 00:33:39 +0000] rev 1706
Added a slots JSON call
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 00:33:10 +0000] rev 1705
Added a slot allocation view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 00:32:15 +0000] rev 1704
Add slots to the organization model
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 00:31:48 +0000] rev 1703
Factor out the 'json' part from pick
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 00:31:16 +0000] rev 1702
Minor style fixes
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 22:55:49 +0000] rev 1701
Fixed more typos in Sponsor Menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 22:32:26 +0000] rev 1700
Clean document references
This has the advantage that we can inform the user if a document
could not be found.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 22:31:43 +0000] rev 1699
Add a document ref cleaner
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 22:31:19 +0000] rev 1698
Switch Program to regular presence
It does not use a global ToS anyway.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 22:30:42 +0000] rev 1697
Set the proper filter for the home document
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 22:30:12 +0000] rev 1696
Small optimization in getForFields
If the value is a list with only one element, make it a value
instead.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 19:06:22 +0000] rev 1695
Fixed typo in Sponsor sidebar menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Noticed by: Sverre "The Pirate" Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 18:57:35 +0000] rev 1694
Refactored part of getForFields into a getQueryForFields method.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 18:11:09 +0000] rev 1693
Add a link to an org's home page if appropriate
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 17:48:49 +0000] rev 1692
Bump the default pagination from 10 to 50
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 17:14:05 +0000] rev 1691
Add a very basic view test
Mostly just a Proof of Concept.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 17:13:32 +0000] rev 1690
Set CURRENT_VERSION_ID in run.py
It is used by params.constructParams.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 17:13:13 +0000] rev 1689
Add path to MockRequest
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 17:12:51 +0000] rev 1688
Split out test_model model and logic into it's own module
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 15:52:12 +0000] rev 1687
Removed commented property from comment model.
scope_path is set to the commented Work anyway and back references don't work. This means we can also comment on any other linkable.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 15:23:22 +0000] rev 1686
Added created_on DateTime property to request.
As requested in Issue 302.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 12:08:55 +0000] rev 1685
Added a rank column to the proposals list.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 22:30:58 +0000] rev 1684
Silence index.yaml
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 22:30:37 +0000] rev 1683
Make org description use TinyMCE
Also clean it as well as the contrib_template with the new cleaner.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 22:30:06 +0000] rev 1682
Make clean_document_content generic
Also allow all input for Developers.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 22:29:29 +0000] rev 1681
Fix some whitespace damadge
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 22:29:00 +0000] rev 1680
Import user and site logic globals directly
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 21:38:18 +0000] rev 1679
Add item info to the list iterator
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 19:21:43 +0000] rev 1678
Added comment support, but don't enable it
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 19:20:02 +0000] rev 1677
Make it possible to add some default values to the context
Currently only used in show, but easy enough to add elsewhere.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Mar 2009 17:44:48 +0000] rev 1676
Organization Proposals list now correctly sorts.
Changed the index.yaml to reflect this. (Removed old entry).
Also added a TODO to change this list once http://code.google.com/p/googleappengine/issues/detail?id=1100 is fixed. This means we can't properly sort when using the IN operator on another property then we are sorting on.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 07:49:30 +0000] rev 1675
Added missing ranklist in build script
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 23:41:26 +0000] rev 1674
Set new Melange version number to 0-4-20090305 in app.yaml.template.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Mar 2009 23:26:11 +0000] rev 1673
Add a test to ensure that ordening and filtering works
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Mar 2009 23:11:33 +0000] rev 1672
Only show key_fields in error message
This caused a crash when GET, POST, and context were added to
the django_args by the decorators.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Mar 2009 23:11:05 +0000] rev 1671
Don't redirect to non-existant /document/list after deleting
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Mar 2009 23:10:38 +0000] rev 1670
Fixed a bug discovered by excepting the proper exception
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Mar 2009 23:10:13 +0000] rev 1669
Fixed a bug in document logic
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 22:35:54 +0000] rev 1668
The organization proposal list has been significantly changed.
It now redirects to the review page. All reviewed applications are separated from the non-reviewed ones by two lists.
This view uses the two new templates submitted in this patch.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 22:24:45 +0000] rev 1667
Updated list to use the new order in getForFields.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 22:11:26 +0000] rev 1666
Mentor buttons only show up depending on if you are already on the possible mentors list.
Also made the textual changes stated in a comment on r2250.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:27:11 +0000] rev 1665
Fix too long lines, remove unused imports and variables, rename too short variables, add missing docstring and fix style in soc.views.helper.templatetags.forms_helpers module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:25:08 +0000] rev 1664
Fix too long line in soc.views.models.sponsor module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:24:32 +0000] rev 1663
Fix the bug where undefined variable was used in _editPost method of soc.view.models.org_admin module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:23:42 +0000] rev 1662
Fix too long lines soc.views.models.club_admin, club_app and club_member modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:22:52 +0000] rev 1661
Fix too long lines and remove unused imports in soc.views.models.host module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:19:49 +0000] rev 1660
Fix too long lines and remove unused variables in soc.views.models.role module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:19:07 +0000] rev 1659
Fix too long lines and fix the bug where undefined variable was used in _editPost method in soc.views.models.mentor module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:17:40 +0000] rev 1658
Fix too long lines and rename unused loop variables to _ in soc.views.models.base module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:16:26 +0000] rev 1657
Fix too long lines and indentions in soc.models.student_proposal module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:15:38 +0000] rev 1656
Remove unused variable in soc.logic.validate module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:15:01 +0000] rev 1655
Rename too short variable name in soc.logic.mail_dispatcher module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:14:19 +0000] rev 1654
Fix too long lines in soc.logic.models.org_admin module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:12:36 +0000] rev 1653
Fix too long lines in soc.models.ranker_root module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:11:43 +0000] rev 1652
Fix too long lines in soc.logic.helper.timeline module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:10:07 +0000] rev 1651
Comment out unused variables and add used but not declared class variables to __init__ method in soc.logic.allocations module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 20:54:30 +0000] rev 1650
Fix too long line in soc.models.user module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 20:50:27 +0000] rev 1649
Rename unused loop variables to _ in soc.views.helper.params module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 20:49:19 +0000] rev 1648
Remove unused variables and imports, fix too long lines in soc.logic.helper.notifications module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 20:47:34 +0000] rev 1647
Rename unused loop variable to _ in soc.views.models.user_self module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 19:31:21 +0000] rev 1646
Add date postfix to the filename of each our JS or CSS files that still don't have it. Update filename changes in soc/base.html template.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 19:00:44 +0000] rev 1645
Style fixes plus removal of unused imports, add missing docstring and fix too long lines in soc.views.models.org_app module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:54:39 +0000] rev 1644
Style fixes plus remove unused imports in soc.views.models.group_app module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:44:14 +0000] rev 1643
Fix too long lines, remove unused variable, add missing docstring in soc.views.models.program module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:41:03 +0000] rev 1642
Some style fixes and removal of unused imports in soc.views.models.document module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:38:50 +0000] rev 1641
Some style fixes, removal of unused imports and add ugettext where it was missing in soc.views.models.organization module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:34:28 +0000] rev 1640
Remove unused imports and variable, plus some style fixes in soc.views.models.group module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:33:20 +0000] rev 1639
Fix too long lines in soc.views.models.student_proposal module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:22:29 +0000] rev 1638
Remove unused imports and fix too long lines and some style fixes in soc.views.models.club module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:19:00 +0000] rev 1637
Remove unused imports and fix too long lines in soc.views.models.request module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:16:46 +0000] rev 1636
Remove unused imports and fix too long lines in soc.views.models.timeline module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:16:20 +0000] rev 1635
Remove unused imports and fix too long lines in soc.views.models.site module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:14:16 +0000] rev 1634
Remove unused imports and fix too long lines in soc.views.models.user_self module
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:36:14 +0000] rev 1633
Remove unused imports, style and too long lines fixes, remove unused variables, rename too short variable names, fix docstrings in soc.views.helper.access module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:33:48 +0000] rev 1632
Remove unused imports and rename too short variable names in soc.views.helper.decorators module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:32:55 +0000] rev 1631
Style fixes and add ValueError exception catching to soc.views.helper.request module
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:31:39 +0000] rev 1630
Fix too long lines in soc.views.helper.params module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:30:22 +0000] rev 1629
Fix too long lines in soc.models.group_app module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:29:35 +0000] rev 1628
Fix too long lines in soc.models.org_app module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:28:02 +0000] rev 1627
Style and too long lines fixes in soc.models.role module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:24:19 +0000] rev 1626
Remove unused imports, add missing blank lines, fix too long lines, fix docstring parameters to match the ones in method declaration, rename to short variable names in soc.logic.models.base module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:22:22 +0000] rev 1625
Add missing whitespace in soc.logic.models.role module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:21:39 +0000] rev 1624
Fix too long lines in soc.logic.models.student_proposal module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 17:04:25 +0000] rev 1623
Renamed rankerroot to ranker_root and made some changes due to comments.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 16:54:17 +0000] rev 1622
Fixed early line ending in StudentProposal model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 16:49:19 +0000] rev 1621
Add missing docstrings, fix indentions and too long lines in soc.logic.cleaning module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 16:48:10 +0000] rev 1620
Added access check to student_proposal review.
Hosts and Developers can comment but not score an proposal (unless of course they are an org_admin/mentor).
Fixed the initial scoring being set to -4, which is annoying if you just want to comment.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 16:47:59 +0000] rev 1619
Remove unused normalized variable from denormalizeAccount method in soc.logic.accounts module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 16:46:54 +0000] rev 1618
Fix indention in _readonly_field_as_twoline_table_row.html template.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 16:45:03 +0000] rev 1617
Remove unused imports from soc.views.sitemap.build module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 16:44:21 +0000] rev 1616
Update pylintrc file. Now function and method names can by up to 40 characters (30 was maximum previously).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 16:29:21 +0000] rev 1615
Changed delete rights due to comments on r2138.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 03 Mar 2009 23:27:39 +0000] rev 1614
Convert getForFields back to the Query API and add tests
This is possible now that it supports the 'IN' operator.
Added tests to make sure there are no regressions.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 23:11:37 +0000] rev 1613
Added student proposal review page.
The proposals can now receive a score. Only org admins can assign a mentor. Every mentor can state if he wants to be a possible mentor (or be taken of this list).
TODO's have been added for the access check, comment system and autocomplete.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 23:01:31 +0000] rev 1612
Keep the score within the allowed bounds via student_proposal logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 22:52:11 +0000] rev 1611
Brown paper bag fix in student_proposal logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 22:48:57 +0000] rev 1610
Update the ranker belonging to the org of a student_proposal when the score changes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 22:47:44 +0000] rev 1609
Create a new Ranker for each organization that is created.
Also updated seed_db. seed_db will be moved to logic module soon by SRabbelier.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 22:45:32 +0000] rev 1608
Added a possible_mentors property to the StudentProposal.
Also set the name and [min,max] score for the RankList.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 22:39:53 +0000] rev 1607
Added RankerRoot model.
This will be used to contain a reference to the root of the tree the RankList module uses.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 03 Mar 2009 21:49:05 +0000] rev 1606
Fix the KeyError: 'scope_path' error in soc.views.helper.access module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 21:04:50 +0000] rev 1605
Fixed two bugs introduced in r2160.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 20:03:16 +0000] rev 1604
Two docstring fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 03 Mar 2009 19:51:13 +0000] rev 1603
Add a script to normalize user accounts
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 03 Mar 2009 19:50:42 +0000] rev 1602
Seed some users as well
Users 100-200 are normalized on purpose.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 03 Mar 2009 19:50:11 +0000] rev 1601
Make it possible to work on all entities in a query
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 03 Mar 2009 19:27:55 +0000] rev 1600
Fix access bug due to forgotten normalization
Prevent this from happening again by wrapping all occurences of
users.get_current_account with accounts.getCurrentAccount, which will
always normalize (unless explicitly told not to).
Patch by: Sverre Rabbelier
Augie Fackler <durin42@gmail.com> [Tue, 03 Mar 2009 03:37:16 +0000] rev 1599
Add myself to authors on this file, and allow my whitespace cleanup hook to cleanup whitespace.
Patch by: Augie Fackler
Augie Fackler <durin42@gmail.com> [Tue, 03 Mar 2009 03:37:02 +0000] rev 1598
Fix a missing import reported in #melange.
Patch by: Augie Fackler
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Mar 2009 22:57:40 +0000] rev 1597
Add google-app-engine-ranklist project to ranklist folder in app.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 21:56:30 +0000] rev 1596
Fixed a missing .logic in organization
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 21:38:23 +0000] rev 1595
Fixed a typo in the example for network info
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 20:32:59 +0000] rev 1594
Display a notice if the entity cannot be deleted
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 19:48:20 +0000] rev 1593
Make the ToS field less high
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 19:47:50 +0000] rev 1592
Add a maintenance end date
Patch by: Sverre rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 19:47:04 +0000] rev 1591
Support HTML in the site-wide notice
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Mar 2009 18:30:00 +0000] rev 1590
Set new Melange version number to 0-4-20090302 in app.yaml.template.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 00:03:53 +0000] rev 1589
Use the new readonly_safe_field where appropriate
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 00:02:59 +0000] rev 1588
Added a _readonly_safe_field_as_table_row template tag
Should only be used with fields that have been cleaned through
feedparser or similar.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 00:02:11 +0000] rev 1587
Make use of readonly_url_field where appropriate
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 00:01:05 +0000] rev 1586
Add a new template tag _readonly_url_field_as_table_row
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:39:21 +0000] rev 1585
Make it possible to put the site in maintenance mode
By specifying the UTC date from which the maintenance shoulds start,
developers can put the site in 'maintenance' mode.
Also redirect to /maintenance if we get a CapabilityDisabledError.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:20:47 +0000] rev 1584
Make use of decorators.view for all views
This gives us a 'view' hook where we can do things that need to be
done for all views (such as catching certain exceptions, or checking
for maintenance mode).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:19:22 +0000] rev 1583
Added decorators
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:18:23 +0000] rev 1582
Redirect to an error page when a GAE exception occurs
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:00:54 +0000] rev 1581
Added a maintenance page
Currently not used, except when navigating to /maintenance.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:00:23 +0000] rev 1580
Make it possible to use base.html to display simple messages
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 18:57:08 +0000] rev 1579
Added a site-wide notice
The notice is displayed below the 'login' bar, andonly if it is set
in Site Settings.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 15:33:52 +0000] rev 1578
Turn off relative urls and removing of script hostname in TinyMCE
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Mar 2009 15:13:28 +0000] rev 1577
Fix bug in checkDocumentPick of soc.views.helper.access module, which cause KeyError exceptions in document picker.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Mar 2009 15:10:43 +0000] rev 1576
Add missing thickbox file into soc/content/images and fix the url to this file in jquery-thickbox.css.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Mar 2009 15:03:52 +0000] rev 1575
Fix wrong link to loadingAnimation.gif file in jquery-autocomplete.css.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 14:23:09 +0000] rev 1574
Fixed a bug in getFromKeyFieldsOr404
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Mar 2009 10:10:42 +0000] rev 1573
Added missing comment to soc/logic/models/base.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Tim Ansell <mithro@gmail.com> [Sun, 01 Mar 2009 02:11:19 +0000] rev 1572
Small fix so that error fields get the same formatting as non-error fields.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 00:53:26 +0000] rev 1571
Made description the last field on the org public page
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 22:23:16 +0000] rev 1570
Improved Organization Application review overview and bulk reviewing.
Both buttons now fade out and if no organizations can be accepted/rejected the buttons will not fade and a message will be shown to the user explaining the situation.
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 21:26:28 +0000] rev 1569
Students who follow the submit your student proposal link will now see their org's proposal template when creating their own proposal.
Also made the org link_id field readonly.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 21:25:23 +0000] rev 1568
StudentProposal content is now a TextProperty.
This is necessary to allow more then 500 bytes of content.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 21:12:20 +0000] rev 1567
Member template in organization is now called Contributor Template.
This matches the Organization Application, this way the information is automatically transferred to the new Organization.
Note that the template shows raw HTML, we might change the template tag to use |safe for it's input to show the true layout of the template. I've sent an email to SRabbelier about that.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 21:08:02 +0000] rev 1566
contrib template in org_app is now a TextProperty.
Organization can design their own template that students can use to propose.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 20:44:14 +0000] rev 1565
Grammar fix in group_app list view.
Patch by: Matthew Wilkes
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 17:37:01 +0000] rev 1564
For links in a program to take effect there must be an active role.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 17:24:37 +0000] rev 1563
Fixed site_entity not being assigned a value because site_logic was not defined.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 17:05:53 +0000] rev 1562
Made mailing lists and IRC channel required for group/org applications.
Also fixed some whitespace errors and updated seed_db.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 14:29:23 +0000] rev 1561
Replaced 'Melange' with site_name where appropriate
Also fixed EOL damage in django templates.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 14:28:28 +0000] rev 1560
Catch mail exceptions and use get_current_user
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 13:06:04 +0000] rev 1559
Fixed issue 205.
Registered students can't apply to become an organization. If for some reason the org sign up period and student sign up period are run in parallel and a student has applied to become an org, the application will still go through the normal system. Although the student won't be able to become an org admin until he has been invalidated as a student.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 12:59:34 +0000] rev 1558
Fixed a comment typo
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 12:32:52 +0000] rev 1557
Properly fixed host access now
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 12:11:20 +0000] rev 1556
Flush the receiver's sidebar when sending a notification
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 12:10:49 +0000] rev 1555
Do not modify django_args directly
This broke document listing since it used kwargs as filter.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 12:10:19 +0000] rev 1554
Fixed a brown paper bag bug in _checkHasActiveRoleFor
Also updated sponsor to not pass redundant arguments.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 11:19:17 +0000] rev 1553
Added sending of an email upon Organization Application acceptance or rejection.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 11:16:54 +0000] rev 1552
Added accepted and rejected organization application mail templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 10:39:23 +0000] rev 1551
Fixed sending out email when no-reply is not set.
(Puts a brown paper bag on his head and runs!)
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 10:25:41 +0000] rev 1550
getDefaultMailSender now returns a tuple (name, email adress).
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 00:41:36 +0000] rev 1549
Removed updateEntityProperties's transactionality
entity.put() is already transactional, and all other methods called
do not need transactionality (even so, it is hurtfull that they are
run within a transaction).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 00:10:07 +0000] rev 1548
Denormalize accounts before trying to send e-mail
Otherwise accounts that are in the auth domain are not a valid e-mail
address.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 00:09:34 +0000] rev 1547
Added a denormalizeAccount
Updated the existing testcases to make sure it works.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 27 Feb 2009 23:33:20 +0000] rev 1546
Using getDefaultMailSender for welcome and notification messages.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 27 Feb 2009 23:32:37 +0000] rev 1545
Added getDefaultMailSender method to mail_dispatcher.
Will be used to determine from which mail address we should send an email.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 27 Feb 2009 12:04:49 +0000] rev 1544
Fixed typo in soc/models/group_app.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 27 Feb 2009 11:48:12 +0000] rev 1543
Inform the user that the link_id cannot be changed
Hide the extended help text once the user has created a profile,
since the link_id can no longer be changed.
Also moved the link_id to the top of the screen, to make it look
better when the extended help text is not shown.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 27 Feb 2009 11:38:24 +0000] rev 1542
Made the ToS field higher
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 27 Feb 2009 11:30:20 +0000] rev 1541
Removed double description field
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 27 Feb 2009 10:52:28 +0000] rev 1540
Revert "Make the input values 100% width."
This reverts r2173, see r2101 for details.
Patch by: SVerre Rabbelier
Tim Ansell <mithro@gmail.com> [Fri, 27 Feb 2009 06:54:15 +0000] rev 1539
Make the input values 100% width.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 20:29:09 +0000] rev 1538
Changed access checks for group applications to allow reviewing of rejected applications.
Just in case the user made a mistake :).
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 20:28:19 +0000] rev 1537
Added bulk reject to org_app view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 20:27:28 +0000] rev 1536
Redone the review_overview template to show bulk reject button.
Added a TODO to make both buttons dissapear.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 20:25:56 +0000] rev 1535
Renamed org-accept.js to bulk-review.js
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 20:23:21 +0000] rev 1534
Brown paper bag fix
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 18:00:30 +0000] rev 1533
Fix for Issue 218.
Basically just an update of the soc/gorup/messages/accepted.html template.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 17:36:46 +0000] rev 1532
Added a missing import
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 17:06:17 +0000] rev 1531
Fix alignment of twoline readonly table rows
Also removed an unused template tag.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 17:00:34 +0000] rev 1530
Added some tests for user logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:59:57 +0000] rev 1529
Fixed a bug in student access check
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:59:24 +0000] rev 1528
Allow to do 'checkHasActiveRole' checks for document access
This is used for documents in the site prefix.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:58:45 +0000] rev 1527
Simplify the account retrieval logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:58:15 +0000] rev 1526
Convert everything to use the new access methods
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:57:13 +0000] rev 1525
Remove direct uses of checkIsActive, replace with helper methods
This makes _checkIsActive a lot easier to understand, and makes the
access checkers involved a lot more explicit.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:56:37 +0000] rev 1524
Make django_args optional where appropriate and whitespace fixes
Access methods that do not use django_args should make it optional.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:56:01 +0000] rev 1523
Added an isDeveloper method to user logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:55:23 +0000] rev 1522
Always normalize accounts, before even storing them
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:54:44 +0000] rev 1521
Factor out the getForAccount logic in user
Also normalize the account before retrieving it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:54:08 +0000] rev 1520
Add a normalizeAccount to logic.accounts
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:53:36 +0000] rev 1519
Remove unused isAccountAvailable function
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:53:05 +0000] rev 1518
Add a _createField hook
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:52:29 +0000] rev 1517
Pass _updateField the entity_properties dict instead of just the value
This enables _updateField to change the value in entity_properties if
desired.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:51:35 +0000] rev 1516
Do not update newly created model properties
There is no real reason to favor old behavior over the current, plus
the new behavior saves an extra disk write (which are expensive).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:50:59 +0000] rev 1515
Move the hooks in base.Logic to the bottom of the class
This more closely follows 'important methods first'.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:50:22 +0000] rev 1514
Minor cleanups in base.Logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:49:45 +0000] rev 1513
Add argument validation to base.Logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:49:06 +0000] rev 1512
Remove updateOrCreateFromFields and it's uses
All uses of updateOrCreateFromFields were replaced with
updateOrCreateFromKeyname. This way the logic API is not as cluttered
with a bunch of helper methods.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:48:02 +0000] rev 1511
Fix some whitespace damadge and a style fix
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:47:04 +0000] rev 1510
Remove _silentUpdateEntityProperties
Instead, pass a silent flag to updateEtitytProperties.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:46:29 +0000] rev 1509
Style fix in role.py
Patch b: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:45:53 +0000] rev 1508
Added todo for Lennard
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:45:18 +0000] rev 1507
Make it more explicit which argument is the key_fields
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 09:02:51 +0000] rev 1506
Solved the JSON caching problem for bulk acceptance.
This is done in the same way as it is done in AJAX calls by appending the current time as a GET argument.
Patch by: Mario Ferraro, Lennard de Rijk
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 08:48:02 +0000] rev 1505
Edited checkCanReviewGroupApp to cope with the new pre-rejected status.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 08:47:21 +0000] rev 1504
Add the ability to put GroupApplications into the pre-rejected state.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 08:38:09 +0000] rev 1503
Added pre-rejected choice to GroupApplication.
This will be used to bulk reject organizations.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 26 Feb 2009 04:29:56 +0000] rev 1502
Remove the release.py module and just use the field in app.yaml.template.
This is a DRY fix, to have the release /branches/ and /tags/ use a release
version that is compatible with the app.yaml file "version:" field.
Also, the steps for creating a release were simplified (with several steps
removed), and the release procedure moved to app/README, since
app/soc/release.py is now deleted.
Patch by: Todd Larsen
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 25 Feb 2009 20:42:46 +0000] rev 1501
Make validate.isURLValid more robust
Also make the control flow more explicit while at it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 25 Feb 2009 20:42:16 +0000] rev 1500
Fixed broken 'Edit <entity name> Settings' for orgs
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 25 Feb 2009 20:41:28 +0000] rev 1499
Fix the delete button submitting the form
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 25 Feb 2009 20:11:22 +0000] rev 1498
Added proposal withdrawal for students.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 23:11:15 +0000] rev 1497
Pass the seed to _constructResponse
This way _editContext has access to it; this will be used by the
commenting system.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 23:10:50 +0000] rev 1496
Allow the document lookup to be done by key name
This will be used by the commenting logic.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 22:15:50 +0000] rev 1495
Removed double home page link in group public view
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 24 Feb 2009 20:48:20 +0000] rev 1494
Reset the RELEASE_TAG to None (unreleased) now that the 0.4-20090224 release
candidate branch has been created.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 24 Feb 2009 20:40:30 +0000] rev 1493
Set RELEASE_TAG to 0.4-20090224rc for release candidate.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 20:29:27 +0000] rev 1492
Textual change in program menu due to comment on r2113.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 20:28:16 +0000] rev 1491
Style fixes in student_proposal and organization view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 20:14:59 +0000] rev 1490
Textual changes in organization and program view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 20:13:01 +0000] rev 1489
Added view for organizations to list all proposals.
Currently this redirects to the public view of a proposal.
Also added extra whitespace for clarification in _getExtraMenuItems.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 20:09:36 +0000] rev 1488
Brown paper bag fix
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 19:54:36 +0000] rev 1487
Added list proposals redirect.
This is used to list student proposals directed to one organization.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 19:51:40 +0000] rev 1486
Added a checkHasAny method
A simple 'OR' for checkers.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 19:49:27 +0000] rev 1485
Added redirect for the student proposal view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 19:43:51 +0000] rev 1484
Changed the method and variable name in student_proposal to match the access type.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 19:43:15 +0000] rev 1483
Added link in program menu to the new list_orgs view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 19:40:15 +0000] rev 1482
Added view which lists all orgs a student can propose to.
The redirect takes the student to the create proposal page.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 18:58:57 +0000] rev 1481
Add missing comment to checkIsMyEntity
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 18:58:22 +0000] rev 1480
Make all default URLS customizable
Patch by: SVerre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 12:52:19 +0000] rev 1479
Fix the user editing
Noticed by: Lennard de Rijk
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 23 Feb 2009 21:01:33 +0000] rev 1478
Moved google analytics to after the footer block as commented on r866.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 23 Feb 2009 19:52:15 +0000] rev 1477
Update the test suite to match the new signature of the cache methods
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 23 Feb 2009 19:51:41 +0000] rev 1476
Be more lenient in what we accept in cache.get() and cache.put()
This makes testing easier.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 23 Feb 2009 18:27:14 +0000] rev 1475
Make timeline a Linkable
Patch by: Sverre Rabbelier, Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 23 Feb 2009 18:26:00 +0000] rev 1474
Set proper scope_logic for program and timeline
Patch by: Sverre Rabbelier, Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 23 Feb 2009 16:44:47 +0000] rev 1473
Changed the message displayed when no homepage is set to show the correct settings name.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 23 Feb 2009 16:05:30 +0000] rev 1472
Textual change in cleaing.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 21:47:41 +0000] rev 1471
Temp IE7 style fix for forms.
A percentage-based layout does not seem to work in IE7, the fields show up as large as the initial text that is in them.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 21:08:41 +0000] rev 1470
Added list my Student Proposals link to the program menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 21:01:43 +0000] rev 1469
Added listing of your own student proposals.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 21:00:25 +0000] rev 1468
Base view list method can now use kwargs.
This is needed for listing your own student proposals.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 20:44:30 +0000] rev 1467
Changed the access checks in student_proposal view to use the newly created checks.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 20:42:05 +0000] rev 1466
Added several access checks for student proposals.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 20:36:22 +0000] rev 1465
Updated student proposal templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 19:12:25 +0000] rev 1464
Fixed params used for list_action and list_description in user_self roles overview.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 11:36:48 +0000] rev 1463
Remove superfluous 'Org' in links
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 22 Feb 2009 11:34:43 +0000] rev 1462
Fix datetimepicker so that it doesn't add trailing whitespaces.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 11:19:29 +0000] rev 1461
Convert student and org_admin to dynafield
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 11:18:53 +0000] rev 1460
Don't show empty lists in /user/roles
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 11:18:19 +0000] rev 1459
Make it possible not to generate empty lists
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 11:17:46 +0000] rev 1458
Make it possible to display a message when there are no lists
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 10:55:24 +0000] rev 1457
Make use of site_name where possible
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 10:54:28 +0000] rev 1456
Specify example_text for backup admin link id
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 10:53:55 +0000] rev 1455
Added a link to "Site Settings" for the GMaps API Key missing msg
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 10:32:24 +0000] rev 1454
Add some missing useJavaScript calls
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 10:31:45 +0000] rev 1453
Flush cache after seeding or clearing the datastore
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 22 Feb 2009 10:07:05 +0000] rev 1452
Style fixes in jquery-ui.datetimepicker.js file.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 00:27:10 +0000] rev 1451
Add generic datepicker support
Any date(time) field now automatically has a picker widget.
Patch by: "Haoyu Bai" <baihaoyu@gmail.com>
Rebased by: Sverre Rabbelier
Reviewed by: To-Be-Reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 23:36:39 +0000] rev 1450
Use site name and noreply address when sending emails
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 23:36:17 +0000] rev 1449
Fixed whitespace damadge and missing EOL
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 23:35:58 +0000] rev 1448
Added an 'are you sure' message to the delete button
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 23:35:29 +0000] rev 1447
Added a 'site name' property to site
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 21:56:55 +0000] rev 1446
Use feedparser to sanitize HTML content for documents
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 21:49:46 +0000] rev 1445
Forgotten import
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 20:15:56 +0000] rev 1444
Make use of the new checkHasDocumentAccess method
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 20:15:23 +0000] rev 1443
Added a checkHasDocumentAccess method
Uses the SCOPE_DEPTH to determine how far to walk up the scope so
that the correct value for scope_path is set.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 20:14:51 +0000] rev 1442
Specify how to walk the scope up to another scope
This will be used by document ACL later.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 20:14:19 +0000] rev 1441
Make use of default value
field_name is not modified and as such it is possible to properly use
the default value system (rather than just specifying None).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 20:13:46 +0000] rev 1440
Also pass the prefix in the document cleaning method
The prefix is needed to determine how far to walk up the scope.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 17:58:45 +0000] rev 1439
Add a "Developer" tag in the top sidebar if appropriate
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 17:10:18 +0000] rev 1438
Updated comments in access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 17:05:52 +0000] rev 1437
Added several menu items to the program menu.
For example, non-students now see a Apply as a mentor link that takes them to the list of all active organizations. This only happens when the organizations announced deadline has passed.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 16:40:59 +0000] rev 1436
Fix access bug in organization
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 16:40:22 +0000] rev 1435
Added support for having a format string as scope_path filter
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 16:39:46 +0000] rev 1434
Fixed a bug in seed_db
The mentor and org for Melange were created with wrong scope and key.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 16:00:52 +0000] rev 1433
Convert mentor.py to use DynaFields as an example
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 16:00:17 +0000] rev 1432
Hook up dynafields in params.py
The helper method getDynaFields converts a list with dynafield dicts
to a dictionary with dynaproperties and is used to update the
create- and edit_dynaproperties dicts.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 15:59:42 +0000] rev 1431
Added DynaFields to the dynaform module
DynaFields work similar to DynaForms, in that they allow a regular
field to be created by supplying a dictionary.
The main advantage is that any property can be added, even if the
base class doesn't have support for it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 15:59:07 +0000] rev 1430
Rename dynafields to dynaproperties
This is to prepare for true dynafields.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 15:57:02 +0000] rev 1429
Update seed_db as WTFPL is no longer an allowed license
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 11:14:44 +0000] rev 1428
Added student_proposals to the sitemap.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 11:14:05 +0000] rev 1427
Scope is already set to entity.scope, so no need to overwrite in base._editPost().
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 11:08:15 +0000] rev 1426
Added student_proposal view.
Note that the access checks still need to be done and other functionality like ranking/scoring and withdrawal of the application are not in yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 11:06:23 +0000] rev 1425
Added new cleaning method to validate a student proposal.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 11:02:59 +0000] rev 1424
Since scope does not change we do not need to call getFromKeyName every time.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 10:57:02 +0000] rev 1423
Added student proposal view templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 10:54:47 +0000] rev 1422
Added student_proposal logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 10:53:52 +0000] rev 1421
Made some changes to StudentProposal.
Abstract is now required and content field has been added.
New is now the default status. This will be used to easily distinguish between applications that didn't have their initial ranking/scoring yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 10:36:04 +0000] rev 1420
Fixed name method in soc/models/role.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 00:45:57 +0000] rev 1419
Add caching to the homepage
Homepage is flushed when the home document is changed.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 00:45:19 +0000] rev 1418
Compute the memcache_key only in get()
This will be used by the homepage caching later on.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 00:43:56 +0000] rev 1417
Set and unset the home_for property if appropriate
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 00:33:59 +0000] rev 1416
Add an home_for reference property
This field will be set to whatever presence is using the document as
home document.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 00:30:53 +0000] rev 1415
Added a document in the test user's user space
This makes it easier to test editing documents.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Feb 2009 23:59:23 +0000] rev 1414
Redone form field filling via request.GET to work on multiple fields.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Feb 2009 12:38:29 +0000] rev 1413
Removed obsolete import from sitemap/build.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Feb 2009 11:39:00 +0000] rev 1412
First go at the student proposal model.
The scope will be set to the student role and the link_id will be time-based.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 20 Feb 2009 10:12:03 +0000] rev 1411
Footer of melange now resizes properly.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 23:27:46 +0000] rev 1410
Fixed grouping and updated help text
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 23:27:20 +0000] rev 1409
Make the heading line up with the input fields
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 23:26:54 +0000] rev 1408
Deleted stale comment
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 22:51:24 +0000] rev 1407
Fixed copy/paste fail
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Feb 2009 21:54:36 +0000] rev 1406
List public view for organizations should be program limited.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Feb 2009 21:27:31 +0000] rev 1405
Added apply as a mentor view which lists all orgs for a given program.
The check if someone can actually request to become a mentor is done after the user has selected an organization from this view. This is not bad because a student would never see the link to this page in the program menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 21:14:28 +0000] rev 1404
Added a link to the official OSI licenses list
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 21:10:42 +0000] rev 1403
Make org_app use the new licenses set
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 21:10:09 +0000] rev 1402
Added OSI approved licenses
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 20:49:27 +0000] rev 1401
Wording nitpick fix
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 20:44:37 +0000] rev 1400
Rebased my double work on top of Todd recent commit
Patch by: Sverre Rabbelier
Todd Larsen <tlarsen@google.com> [Thu, 19 Feb 2009 20:30:47 +0000] rev 1399
Make it easier to support other extensions per-Model (such as .csv, etc.).
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 19 Feb 2009 20:24:17 +0000] rev 1398
Force browser to ask to save an Export, and provide a filename extension.
See: http://code.google.com/p/soc/issues/detail?id=192
Patch by: Todd Larsen
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 20:13:41 +0000] rev 1397
Fixed blog on home view
For some reason the script does not work if it resides in it's own
file, perhaps some JS guru can enlighten?
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 19:57:07 +0000] rev 1396
Clean the e-mail field
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 19:56:24 +0000] rev 1395
Add a regular 'empty field cleaner'
Regular, as opposed to a decorator.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Feb 2009 18:37:44 +0000] rev 1394
Bugfix in student view.
This got triggered when a student agreement was set and the create student button was clicked.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 19 Feb 2009 17:07:13 +0000] rev 1393
Reset the RELEASE_TAG to None (unreleased) now that the 0.3-20090219 release
candidate branch has been created.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 19 Feb 2009 17:00:14 +0000] rev 1392
Set RELEASE_TAG to 0.3-20090219rc for release candidate.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 16:34:40 +0000] rev 1391
Added a missing cleaner to org idea list
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 16:34:04 +0000] rev 1390
Fixed a missing property in seed_db
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 19 Feb 2009 16:13:04 +0000] rev 1389
Add noreply email property to Site model. Still missing cleaner method and changes in notifications module.
Patch by: Pawel Solyga
Reviewed by: to-be- reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Feb 2009 08:10:25 +0000] rev 1388
Use the new program property in mentor and role for an access check.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 18 Feb 2009 21:41:27 +0000] rev 1387
Added required program property to org_admin and mentor.
This can be used to simplify checks.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 18 Feb 2009 19:49:39 +0000] rev 1386
Org admins can now send out invitations and users can now request to become a mentor.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 21:16:35 +0000] rev 1385
Accidently left one addrole in student.py during my quest to refactor it into params.
It has now been removed.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 20:34:01 +0000] rev 1384
Role overview membership is now determined by setting show_in_roles_overview param to true in the view.
Also added student roles to the list.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 20:15:43 +0000] rev 1383
Students now have a reference to school again.
This reference property is not required for now since the system for choosing your own school isn't implemented yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 20:07:20 +0000] rev 1382
Students can now only get a student role during the student signup period.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:40:13 +0000] rev 1381
Fixed style error.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:37:47 +0000] rev 1380
Added students to sidebar.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:37:24 +0000] rev 1379
Added student view and accompanying templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:36:23 +0000] rev 1378
Added new redirect to redirects helper.
In preparation for student view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:35:00 +0000] rev 1377
Students can not become a mentor or org_admin in the same program.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:33:54 +0000] rev 1376
Parameterized the role view manage redirect.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:32:53 +0000] rev 1375
Added new access methods.
This is used to prevent students from becoming mentors/org_admins and vica versa.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:29:52 +0000] rev 1374
Redone student model and added student logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 17:28:54 +0000] rev 1373
Fixes the problem of <Entity> Saved not being
shown whenever a new entity is created.
Patch by: Madhusudan C.S.
Reviewed by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 17 Feb 2009 16:37:24 +0000] rev 1372
Fixed twoline style broken by recent 'form prettification' commit
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 17 Feb 2009 16:36:49 +0000] rev 1371
Implemented simple group sorted using numerical ordering
See role.py for some example usages.
Note that the reason ToS does not appear seperately is due to the
fact that it is defined as a regular field which does not take the
group field from the one defined in the model.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 17 Feb 2009 14:25:40 +0000] rev 1370
Add a groupby method to dicts
This function behaves similar to Django's groupby filter.
Patch by: Sverre Rabbelier
Tim Ansell <mithro@gmail.com> [Tue, 17 Feb 2009 06:52:06 +0000] rev 1369
Make the web forms look a little nicer.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 16 Feb 2009 22:41:52 +0000] rev 1368
Typo fix in seed_db module which caused loaded organization applications not to work correctly (wrong keyname).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 16 Feb 2009 22:40:42 +0000] rev 1367
Style fixes in org-accept.js file.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 16 Feb 2009 22:30:55 +0000] rev 1366
Remove extra space from soc.views.helper.access module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 16 Feb 2009 21:28:44 +0000] rev 1365
Fix a bug in group_app.py (not defined context was used).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Feb 2009 20:38:35 +0000] rev 1364
Update org bulk accept script.
The script now:
1) leaves correctly control to the browser to update the GUI of the progress bar during ajax communication.
2) Displays an error if something went wrong (I've tried in my box stopping the server while doing the requests), and show a retry button to fetch again the list of the applications that are still not accepted and iterate over them again (seems to recover correctly restarting the server after the error in my box)
3) doesn't display any text at the beginning, and the button has the correct CSS class assigned
4) Check if there are applications to accept, if not displays a message stating that there are no orgs to accept.
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Feb 2009 19:30:33 +0000] rev 1363
Add GHOP as program and put 'Melange' under it
This makes it easier to verify that filtering by program works in the
slot allocation view.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Feb 2009 19:30:11 +0000] rev 1362
Seed in some orgs
This is to facilitate testing of a 'slot allocation' ui.
Patch by: SVerre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Feb 2009 19:29:51 +0000] rev 1361
Fixed a copy/paste bug in group.py
Patch by: Sverre Rabbbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 22:29:22 +0000] rev 1360
Added grouping support to all forms, converted role as example
Any field that has the 'group' property set be placed in the
specified group. If no such proprty is set, the 'General' group will
be used instead.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 20:27:56 +0000] rev 1359
Refactor various django templates to reuse other templates where possible
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 20:27:09 +0000] rev 1358
Be modular when loading the various JS modules
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 20:26:15 +0000] rev 1357
Prepare all views for a new modular approach to JS loading
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 20:25:35 +0000] rev 1356
Make various JS methods into their own file
This facilitates re-use of these files.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 20:25:10 +0000] rev 1355
Add a Home document to the seeded entities
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:56:35 +0000] rev 1354
Fix import sorting in soc.logic.cleaning module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:55:48 +0000] rev 1353
Add missing blank line in soc.logic.rights module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:55:05 +0000] rev 1352
Fix import sorting in soc.views.models.program module and rename any "Org" in link names to "Organization".
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:53:56 +0000] rev 1351
Change the message shown when org admin already agreed to agreement when creating org application.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:52:38 +0000] rev 1350
Add missing dots in messages in soc.views.helper.access module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:50:13 +0000] rev 1349
Hopefully fix json caching issues in IE7.
Will wait for Lennie to confirm if it works correctly now.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 16:11:47 +0000] rev 1348
Seed more roles and factor out common properties
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 16:11:23 +0000] rev 1347
Rename current 'roles' view to 'request' and add a real roles view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 16:10:59 +0000] rev 1346
Keep a global list of all known Roles
This is to facilitate a view with a list of a user's roles.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 15:53:38 +0000] rev 1345
Fixed a bug in admin_form generation
The edit_form was also being modified.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:58:27 +0000] rev 1344
Redirect to the admin view in listPublic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:58:03 +0000] rev 1343
Hook up the admin view everywhere
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:57:03 +0000] rev 1342
Add an admin view
Makes use of the new admin form and the as_readonly_table tag.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:56:30 +0000] rev 1341
Add an as_readonly_table filter
Results in a very plain table, with no error messages etc. Intended
use is in combination with PTW's.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:55:53 +0000] rev 1340
Add an admin redirect
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:55:29 +0000] rev 1339
Make _constructResponsoe take an optional template
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:55:05 +0000] rev 1338
Add an AdminForm that renders all fields as PTW's
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:54:42 +0000] rev 1337
Add a PlainTextWidget
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 13:59:36 +0000] rev 1336
Use entity.key.name instead of key_suffix
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 13:59:06 +0000] rev 1335
Added melange as org.
Also added license text and author.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Feb 2009 11:14:26 +0000] rev 1334
Fixed a bug in access.py where a non-existing variable would have been called.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Feb 2009 11:13:46 +0000] rev 1333
Added clean_user_is_current to cleaning and fixed some indentation.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 23:56:49 +0000] rev 1332
Add a script to (re)seed the datastore
For obvious reasons enabled only when running in debug mode.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 14 Feb 2009 22:04:14 +0000] rev 1331
Added no-cache headers to pick and bulk-accept views.
Also added a TODO since IE7 seems to ignore the headers.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 21:32:25 +0000] rev 1330
Remove private data from club and org public templates
Also re-use the club/public.html template in organization's template.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 21:31:33 +0000] rev 1329
Skip a field when it's value is not set
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 14 Feb 2009 21:18:12 +0000] rev 1328
Added bulk acceptance and progress bar in review org applications view.
In the list of organization applications for reviewing, if you click the button "click here" the whole first text line will fade out and the progress bar will fade in while starting to contact the server for the list of orgs to accept and then make synchronous calls for acceptance, while updating the progress bar, the name of the organization currently accepting and the number of orgs already accepted against the total.
Inside the script, what's inside the parenthesis is converted due to regexp (in this case (link_id)) and then read the json_object.applications[index].link_id. By doing this with an eval(), you can use other names as well and the script will be reading for example json_object.applications[index].attribute_name if you insert "(attribute_name)" inside the link returned by {{ bulk_accept_link }}.
Notes by Lennard:
-Put Done outside the for-loop so that it also shows when there are 0 pre-accepted organizations.
-Made some minor style fixes
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 14 Feb 2009 20:26:27 +0000] rev 1327
Now using the correct path to the loading animation in jquery-thickbox.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 20:23:43 +0000] rev 1326
Minor style fix
dicts.merge already takes care of the case where target is None.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 20:23:18 +0000] rev 1325
Add a list_public view to organization
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 20:22:50 +0000] rev 1324
Factor out the 'key fields without link_id' logic from document
Also make sure the to-be-removed is present before removing it when
doing the field reordening.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 20:22:17 +0000] rev 1323
Add a getListRedirect and getListPublicRedirect function
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 20:21:51 +0000] rev 1322
Add an idea list (url) property to organization
Also include this url in the organisation list.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 14 Feb 2009 19:03:38 +0000] rev 1321
Fixed missing parameters in program view due to change in _getTimeDependentEntries in r1943.
Also the sidebar once more shows "Apply to become an Organization" even if you are not logged in.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 16:44:14 +0000] rev 1320
Include scope_path as django_args
Otherwise users cannot create documents in their own prefix.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 16:43:53 +0000] rev 1319
Disable the raw create and list link for documents
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 16:43:20 +0000] rev 1318
Add custom access check for document listing
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:57:53 +0000] rev 1317
Add a 'list documents' link everywhere
Also disable the Documents sidebar menu, since it does not provide
anything useful anymore.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:57:14 +0000] rev 1316
Allow documents to be filtered by prefix and scope
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:56:46 +0000] rev 1315
Developers have all roles
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:56:22 +0000] rev 1314
Organization prefix was renamed to 'org'
The reference to it in the logic/rights.py module was not updated.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:16:02 +0000] rev 1313
Force-check the 'agreed to admin agreement' field if applicable
If the current user is the applicant of the relevant organization,
they already agreed to the agreement once. As such the box should be
pre-checked.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:15:38 +0000] rev 1312
Fix a bug in group_app
If context is not set, kwargs['context'] will raise an exception.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 14:11:45 +0000] rev 1311
Add cleaning methods for document ACL
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 14:11:18 +0000] rev 1310
Make document ACL's a constant
This makes it possible to refer to it in other modules.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 14:10:56 +0000] rev 1309
Fix a bug if you have no roles at all
This could not happen currently, but might happen later on if a group
is defined that does not have an 'anybody' membership.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 23:18:39 +0000] rev 1308
Partially reverted "Update the copyright notice for 2009."
This partially reverts commit r1933. Only the files that were created
in 2008 were reverted.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 22:36:45 +0000] rev 1307
Update the copyright notice for 2009.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:54:35 +0000] rev 1306
Fix ToS link
s/Terms/Google App Engine Terms/
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:54:10 +0000] rev 1305
Do access checks on the pick url for documents
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:53:42 +0000] rev 1304
Convert the QueryDict to a regular dictionary
This way we support a query with multiple args specified.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:53:15 +0000] rev 1303
Add prefix filtering and refactored program field generation
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:52:38 +0000] rev 1302
We generate the select url ourselves, so it's safe
This prevented urls with an & in it to be correctly generated.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:52:10 +0000] rev 1301
Added a filter_fields parameter to the ReferenceField widget
This paramater makes it possible to do 'hard coded' filtering.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:51:41 +0000] rev 1300
Factor out the hasMembership method from checkMembership
This makes it possible for the document picker to reuse it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:51:16 +0000] rev 1299
Add a getMemberships method to logic/rights.py
This will be used by the document picker ACL checks.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 19:22:34 +0000] rev 1298
Fixes as requested by Leslie on behalf of the Legal team
Upped the copyright statement from 2008 to 2009, and link to the GAE
Terms of Service instead of any custom ToS.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 17:34:29 +0000] rev 1297
Added number of applications and their type to the bulkaccept JSON object.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 16:40:02 +0000] rev 1296
Implemented the 2nd part of bulk acceptance.
The context of the _list call can now be set by using the kwarg context. This will be merged with the universalcontext.
Added a TODO to create the organziation accepted email template.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 13:35:31 +0000] rev 1295
Document prefix in params now defaults to url_name.
This is because the short name does not have to be url friendly.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 13:33:31 +0000] rev 1294
Added bulk_accept view which returns a JSON object.
This is going to be used to bulk accept org applications.
Also added a new unfinished template so Merio can test his JS.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 11:46:06 +0000] rev 1293
Only a club admin should see resign as club admin in the sidebar.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:35:44 +0000] rev 1292
Fixed a bug in club and org logic.
This bug would give an error when no backup was set.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:26:23 +0000] rev 1291
Fixed a bug in group_app templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:14:07 +0000] rev 1290
Brown Paper Bag Fix: L2R Appspot error logs.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:12:09 +0000] rev 1289
Fixed a bug in group_app view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:06:14 +0000] rev 1288
Returning None instead of the empty to fix a bug on melange-demo instance.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 22:52:16 +0000] rev 1287
Added check_field_is_empty decorator to cleaning.py.
This makes sure the cleaning checks are skipped when a field is empty. Note that Djanog will raise it's own ValidationError when a required field is empty before attempting to clean it.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 22:20:13 +0000] rev 1286
Org App review page now shows accept and pre-accept button.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 21:25:00 +0000] rev 1285
Fixed comment and typo in cleaning.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:15:20 +0000] rev 1284
Add ToS agreement to mentor application related forms.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:14:51 +0000] rev 1283
Add ToS agreement to org_admin application related forms.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:14:17 +0000] rev 1282
Do not attempt to render a field if it is disabled
This is required to make it possible to disable fields dynamically.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:13:51 +0000] rev 1281
Program requires the filter to be set to __scoped__
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:13:27 +0000] rev 1280
Disable clubs for now
Disabling the clubs in this way is a lot easier than adding a switch
for it in Site Settings, and probably safer too (as the urls are no
longer valid).
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 12 Feb 2009 12:58:26 +0000] rev 1279
App Engine 1.1.9 update breaks django 1.0. Monkey patch django to only check for SVN revision number when not running using dev_appserver. On deployed version this doesn't apply since we use django from zipped file.
This issue was discussed here:
http://groups.google.com/group/codereview-discuss/browse_thread/thread/a7ab6ceb39c09ce6
http://groups.google.com/group/google-appengine/browse_thread/thread/bbdebf8617b57512
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 12 Feb 2009 12:30:36 +0000] rev 1278
Load /Users/solydzajs/Downloads/google_appengine into
trunk/thirdparty/google_appengine.
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 10:24:37 +0000] rev 1277
Removed unused argument in program.py
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 00:04:32 +0000] rev 1276
Initial implementation of a ToS requirement in org_app
If the _editContext method can be made generic enough, it should be
easy to add ToSes to other forms. This solution should also be
applied to user_self, as the current implementation is not very clean
to say the least.
Patch By: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 00:02:06 +0000] rev 1275
Added an AgreementField widget
Displays an Agreement Document in a scrolling text field. The text of
the document can be set by modifying the 'text' property.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:59:41 +0000] rev 1274
Rename TinyMCE to FullTinyMCE and add TinyMCE widget
The FullTinyMCE (irony intended) is the full-fledged editor, usefull
in editing documents etc. The regular TinyMCE widget can be used for
smaller tasks that allow HTML input (such as the description field).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:57:08 +0000] rev 1273
Use the newly added __scoped__ and references for program's ToSes
This fixes the ToSes autocompletion and 'enables' them.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:54:41 +0000] rev 1272
Added an agreed_to_admin_agreement property
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:52:11 +0000] rev 1271
Add '__scoped__' as a special filter
It sets the scope_path to the entity's key().value().
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:49:44 +0000] rev 1270
Fields are always safe, as we generate them ourselves
This will be used by a future widget.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:47:13 +0000] rev 1269
Add an _editContext hook
Usefull when one wants to have a hook that will always be called.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:44:38 +0000] rev 1268
Resolve references if they are specified
All views sould make use of this instead of doing it manually in
_editGet and _editPost.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:42:03 +0000] rev 1267
Make it possible to put fields at the end of the form
This is usefull for Terms of Service etc.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:55:17 +0000] rev 1266
Changed the access checks for organization.
This should allow normal users to use organizations as well.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:10:53 +0000] rev 1265
Added allowsidebar to checkIsDocumentReadable.
Note that this means that documents you can't actually read might show up in the sidebar. A todo has been added to fix this.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:05:33 +0000] rev 1264
Added organization entity sidebar entries.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:04:29 +0000] rev 1263
Fixed a bug in access.py that made it impossible to show featured documents in the sidebar.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:02:46 +0000] rev 1262
Changed document to also filter on the prefix when getting the documents for a scope.
For this to work the organization prefix is now org.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 19:59:27 +0000] rev 1261
Fixed a typo in org_admin model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 10 Feb 2009 23:13:06 +0000] rev 1260
Added Agreement properties to Program Model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Feb 2009 16:17:25 +0000] rev 1259
Reset the RELEASE_TAG to None (unreleased) now that the 0.2-20090209 release candidate branch has been created.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Feb 2009 15:58:17 +0000] rev 1258
Set RELEASE_TAG to 0.2-20090209rc for release candidate.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 09 Feb 2009 00:02:07 +0000] rev 1257
Added a button to list all your org applications to a speficic program menu.
The entry only shows up when orgs can apply.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Feb 2009 23:56:56 +0000] rev 1256
Put the tos extra_dynaexclude in presence_with_tos.py where it belongs.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Feb 2009 23:55:44 +0000] rev 1255
Redone the listing in group_app.py.
There is now a list_self that only shows the group application of the current user in the given a scope. The redirects point to edit or applicant when necessary.
Review_overview will show all the group applications that can be reviewed in the given scope, the redirect points to review for all statusses.
And list will just show all the group applications and redirect you to edit.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Feb 2009 23:49:29 +0000] rev 1254
Added new redirect for the new list views for group_app's.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Feb 2009 22:57:23 +0000] rev 1253
Fix bug in group_app
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Feb 2009 11:58:43 +0000] rev 1252
Temp bug fix
This should be fixed properly at some point.
Patch by: Sverre Rabbelier
Augie Fackler <durin42@gmail.com> [Sun, 08 Feb 2009 03:36:05 +0000] rev 1251
Add myself to authors since I was missing.
(Also, a test commit for buildbot)
Patch By: Augie Fackler <durin42@gmail.com>
Review By: TBR
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 23:26:38 +0000] rev 1250
Fixed access checkers for orgs
Patch by: Sverre Rabbelier, Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 22:56:15 +0000] rev 1249
Remove unneeded stylesheet and js and fix notification area
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 22:49:51 +0000] rev 1248
Rename checkHasActiveRole to checkHasActiveRoleForScope
This is to prepare for a checker that checks if the user has any such
role, regardless of scope.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 22:47:51 +0000] rev 1247
If there is no user account, don't show New Document link under Site
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 22:10:19 +0000] rev 1246
Fixing r1855 that was bugged by Tortoise ^_^.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 21:48:02 +0000] rev 1245
Fixed broken autocomplete due to wrongly named file
This should have been in r1852.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 21:43:27 +0000] rev 1244
Should be part of r1855.
FOSDEM got the best of me :).
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:44:05 +0000] rev 1243
Use short_name for the header title in a presence's home page
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:42:28 +0000] rev 1242
Handle GAE account normalization
Also forbid users from going back to a former account.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:40:48 +0000] rev 1241
Pimp TinyMCE widget.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:39:08 +0000] rev 1240
Always return a site singleton and fix Edit Site Settings
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:37:28 +0000] rev 1239
Stylefixes in access.py and removal of self.deny calls
The result of self.deny() is not very helpfull to the user, as such
we should not use it if we can provide a more sensible message.
Also made the document access checks use getForKeyFieldsOr404 to
prevent an error page when the specified document doesn't exist.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 13:40:20 +0000] rev 1238
Added scoped group_app listing.
Also moved the review program applications menuentry to the specific program menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 13:36:50 +0000] rev 1237
Added missing comment in access.py and removed excessive whitespace.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:50:49 +0000] rev 1236
Hide all *.pyc files in trunk/.
r1850 was supposed to be a recursive property change, but was not.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:37:28 +0000] rev 1235
Name .js and .css files more consistently with those previously present.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:34:12 +0000] rev 1234
Add image that appears to be missing from the original thickbox patches.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:21:23 +0000] rev 1233
Hide *.pyc files in trunk/ from 'svn status' output.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Feb 2009 10:24:45 +0000] rev 1232
Added pre-accpeted status to group_app.
This can be used when we want to accept all org's at once. Instead of one by one.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Feb 2009 10:21:18 +0000] rev 1231
Added some help_text and clarifications to org_app model fields.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:52:27 +0000] rev 1230
Cleanup in org_app and replace ReferenceProperty with LinkProperty
Using LinkProperty allows the org to host their idea's list on
Melange through the Document system, and then specify the URL of that
document. This also makes it possible for the orgs to specify a
document that is not hosted on Melange.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:49:46 +0000] rev 1229
Refactored the picker so that it is more generic
The picker now also works in the case the scope_path of the entity
should not be filtered on. Also, it is now easier to add new
functionality due to the fact that there is a seperate Field type
to handle it now.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:46:39 +0000] rev 1228
Added a ReferenceField widget
Also removed the unused ReadOnlyBool widget (as we now have a
properlyworking ReadOnly widget).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:43:52 +0000] rev 1227
Make picker work generically
Also removed some unused params from the JSON object.
Deleted the now unused checkHasPickGetArgs method.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:41:02 +0000] rev 1226
Fix broken document access checks
The 'normalized checker' syntax was used to specify the access
checkers, but the normalization never happened.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 22:15:38 +0000] rev 1225
Org applications can now only be made by a user when a program allows it.
To do this a new access_type has been added called apply. This ensures that users can only used the seeded version of create.
Also the review_overview now has his own access type to ensure the separability of hosts for different sponsors in case of org app reviews.
Note that the access checks for hosts are broken and only give access to developers at the moment.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 22:13:49 +0000] rev 1224
Added a new redirect for apply accesstype.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 22:13:12 +0000] rev 1223
Added new access checks to deal with timeline for programs.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 21:29:55 +0000] rev 1222
Updated docstrings and used keyfields where necessary in soc/logic/models/base.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 05 Feb 2009 20:33:47 +0000] rev 1221
Remove extra whitespaces in soc.views.models.organization module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 05 Feb 2009 20:33:12 +0000] rev 1220
Add missing blank line to soc.logic.helper.timeline module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 05 Feb 2009 20:32:45 +0000] rev 1219
Fix import sorting in soc.views.models.sponsor module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 20:19:17 +0000] rev 1218
Cleaned up getKeyNameFromFields in Logic base.
You can now pass it a dictionary that can contain other fields next to the keyfields.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 19:30:43 +0000] rev 1217
Reverted r1819 and making an application will now reserve the link_id indefinitely.
This is to make sure our statistics dont get messed up.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:09:28 +0000] rev 1216
Make the ToS text in-line and hook up thick-box in the help-text.
This way the user can see the ToS in scrollable form between the
link_id and the 'agree to tos' checkbox. Also, when clicking on the
link to the 'side-wide terms of service' a thickbox will pop up and
display the Terms of Service in an overlay.
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:06:48 +0000] rev 1215
Hook up the new jquery plugins in base.html and _as_table_row.html
A very important todo here is to make loading these plugins only when
needed, as to not waste bandwith. This should be trivial to do later
on though, so leaving as-is now.
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Reviewed by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:04:10 +0000] rev 1214
Include the field_id in the context of _as_table_helper
This makes it possible to refer to the field that is being edited by
it's ID (in for example Javascript).
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:01:36 +0000] rev 1213
Make toDict "dereference" the 'name' property if it is present
This makes it possible to turn 'name' into a consistent alias that
can be used to represent an entity.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 22:52:33 +0000] rev 1212
Added jquery thickbox, ajaxQueue, autocomplete and bgiframe
Also added the soc-specific stylesheets for jquery and thickbox.
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:24:36 +0000] rev 1211
Now calling block.super in timeline/edit.html template.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:15:26 +0000] rev 1210
Added timezone clarification to the timeline edit form.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:12:29 +0000] rev 1209
Specific program menu's now show a "Apply to become an Organization" entry when the program's timeline states that it's open.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:10:34 +0000] rev 1208
Added new helper module for timelines.
This helps to determine wether a given event or period has begun/isactive/ended.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:09:06 +0000] rev 1207
Added missing table header for org_apps.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 21:15:12 +0000] rev 1206
Refactored the application review template into group_app.
Patch by: Madhusudan C.S
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 20:30:08 +0000] rev 1205
Added validate_new_group to cleaning and removed clean_new_club_link_id.
This new cleaning method is a general purpose method for cleaning the form of a new group or group_app.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 20:18:15 +0000] rev 1204
Fixed an error in group_app view that didnt let you create a new application.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 15:18:40 +0000] rev 1203
Renamed checkHasRole to checkHasActiveRole.
We need this distinction to later allow another check to grant access upon a role that also might be inactive.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 14:19:51 +0000] rev 1202
Added removal of an existing group application when someone else is applying.
This makes sure that the fields we do not collect via the form also get wiped when a rejected application is being redone by someone else.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 13:50:41 +0000] rev 1201
Added checkCanReviewGroupApp to acces.py.
To make this work allowSidebar decorator was added as well. This will make sure that the Review buttons show up in the sidebar.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 13:27:52 +0000] rev 1200
Added checkCanEditGroupApp to access.py.
Group Applications can now only be edited if they are either rejected or still in need of review.
Also fixed a bug in checkIsMyEntity.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 13:26:34 +0000] rev 1199
Fixed whitespace in /soc/models/group_app.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 09:20:09 +0000] rev 1198
Added some extra isUser checks to make sure that you have to accept the ToS before you can do anything concerning requests.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 08:36:05 +0000] rev 1197
Fixes a bug where notifications can't be deleted.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 08:33:46 +0000] rev 1196
Only do the update routine when the status changes for group_app's and role requests.
This helps prevent spamming multiple notifications.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 08:25:47 +0000] rev 1195
Fixed a bug where a GMAP error message would be displayed when the form was not valid.
The wrong params were used, so the wrong template was used to display the form. This also caused the instruction_text to dissapear.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Mon, 02 Feb 2009 22:58:57 +0000] rev 1194
The simplejson in Django is now used, so do not create a symlink in build.sh.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 21:48:37 +0000] rev 1193
Fixed a typo in getForCurrentAccount comment.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 21:46:01 +0000] rev 1192
Adds the possibility to exclude the user from the website.
getForCurrentAccount now only returns a user entity when it is valid.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 20:56:14 +0000] rev 1191
Fixed default value for write_access in Document model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 20:07:52 +0000] rev 1190
Probably fixed a bug on the live instance.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 17:02:31 +0000] rev 1189
More access related fixes
Also make it possible to do access checks for 'create'.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 16:57:21 +0000] rev 1188
Reset the RELEASE_TAG to None (unreleased) now that the 0.2-20090202 release
candidate branch has been created.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 16:44:17 +0000] rev 1187
Set RELEASE_TAG to 0.2-20090202rc for release candidate 02/02/2009.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 16:42:31 +0000] rev 1186
Fixed EOL errors.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 16:21:33 +0000] rev 1185
Create org_application now shows select program view.
Also fixed the menu heading.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 16:03:21 +0000] rev 1184
Use .logic in checkIsAllowedToManageRole at the caller
This is to be consistent with the rest of the module.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 15:39:22 +0000] rev 1183
Make getForFields work with no filter
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 15:34:45 +0000] rev 1182
Fixed EOL damage in org_app and access checks
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 15:04:04 +0000] rev 1181
Calling getForCurrentAccount where necessary.
Also fixed whitespace error in soc/views/models/user_self.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 15:00:43 +0000] rev 1180
Fixed club_app
The user could not edit their own club app due to a buggy check.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 14:47:09 +0000] rev 1179
Rewrite getForFields to use GQL instead of the Query API
Apparently the Query API does not support the IN statement.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 14:19:22 +0000] rev 1178
Removed work flow field from the check in getExtraMenus for program.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 14:09:24 +0000] rev 1177
More access related fixes
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 13:59:07 +0000] rev 1176
Fixed access related bugs
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 13:48:15 +0000] rev 1175
Make longitude and latitude hidden fields not required in soc.views.models.role module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:15:07 +0000] rev 1174
Fix broken Roles public templates. By mistake we used entity.user.public_name instead of entity.user.name.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:10:39 +0000] rev 1173
Changes in club_app and org_app public templates. Don't show email address in public template.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:09:18 +0000] rev 1172
Style fixes in soc.views.models.user module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:07:34 +0000] rev 1171
Style fixes in soc.logic.models modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:06:36 +0000] rev 1170
Fix missing indention in css file.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 23:36:50 +0000] rev 1169
Set the right field type in user_self to overcome confusion.
Also reverted a template change.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 23:27:28 +0000] rev 1168
Adding a hidden agreed_to_tos field when the user has signed the ToS.
This a more cleaner solution then r1774.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 22:51:14 +0000] rev 1167
Fix the JS but mentioned in the previous commit
Patch by: Sverre Rabbelier
Reviewed by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 22:48:48 +0000] rev 1166
Fix get args construction when there are multiple lists on the page
It is now possible to go back and forward through the liast, and
specify the limit (both offset and limit can be done per list).
The JS driving the list boxes is buggy, if visiting an url like:
http://localhost:8080/notification/list?limit_0=10
And then change the limit in the second checkbox, it directs to:
http://localhost:8080/notification/list?limit_1=25
Whereas it should redirect to:
http://localhost:8080/notification/list?limit_0=10&limit_1=25
The logic _does_ work properly when the limit of the changed list
is already present in the url.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 22:44:14 +0000] rev 1165
Unify 'getForFields' and 'getForLimitAndOffset'
This also fixes the broken list views for filtered lists.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 22:35:35 +0000] rev 1164
User profile now shows the time on which you signed the ToS.
Note that this solution is temporary and a hidden_field_as_table_row will be made by Pawel soon.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 20:44:47 +0000] rev 1163
Cleaned up access.py
Removed a lot of duplicate code and added more generic checkers in
their place.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 20:41:58 +0000] rev 1162
Do not return empty menu's in program.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:52:12 +0000] rev 1161
This patch prohibits changing of agreed_to_tos and agreed_to_tos_on by the Logic module.
This is used so that legally the agreed_to_tos fields can never change in the User model once set.
Patch by: Haoyu Bai
Reviewed by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 17:40:26 +0000] rev 1160
Add publish_location boolean property to Role model. This field indicates whether the User has agreed to publish his location. It is not supported yet in any logic, views or templates but we won't want to change models later so it's being added now.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:31:09 +0000] rev 1159
Fixes an error occurring when editing a User as Developer when the ToS have been signed.
By disabling the input of the field Django will not attempt to wrongly parse it as a DateTime instance.
Patch by: Haoyu Bai
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:21:46 +0000] rev 1158
ReadOnlyInput widget now shows text instead of a greyed-out input box.
Patch by: Haoyu Bai
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:14:42 +0000] rev 1157
Added status property to the user model.
This is to accommodate the ability to exclude users from using the website.
Note that since the access modules is currently undergoing some reconstruction changing the status will not actually effect the User yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:18:04 +0000] rev 1156
Fixed EOL and whitespace in org_app templates
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 16:14:25 +0000] rev 1155
Update error message that shows when Google Maps API key is missing.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:14:09 +0000] rev 1154
Implement the last step in the org application process.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:11:54 +0000] rev 1153
Refactored applicant from club view to group view.
This is to accommodate the OrgApplication Process.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 16:10:20 +0000] rev 1152
Add Google Maps integration for Role profiles create/edit views.
Now when editing/creating your Role Profile page Google Maps widget will show up at the bottom of the form as "Location" field. When you type in your Street, City, Country or State it will automatically update the map with the location based on your address. The zoom level depends on the address information you provided. So for example if you just select Country it will be different then when you select both Country and City. The longitude and latitude fields are hidden and are updated with the coordinates from the address you provided. Also if the map is not accurate enough you can adjust your location by dragging the red market, which will change your location and save new coordinates into hidden fields. This patch also includes some style fixes in soc.views.models.role module.
Patch by: Mario Ferraro & Pawel Solyga
Reviewed by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:09:43 +0000] rev 1151
Added org_app view and templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:07:37 +0000] rev 1150
Changed club_app review template to use key.name.
This will ensure that if we ever decide to change it to a scoped entity the review template will not break.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:06:22 +0000] rev 1149
Changed some errors in the org_app model.
The backup_admin property has been removed because it's present in the group_app model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:04:31 +0000] rev 1148
Added org_app logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:03:58 +0000] rev 1147
Changed group_app to use scope_logic in constructor.
This is so org_app logic can use a scope_logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:00:42 +0000] rev 1146
Changed getApplicantRedirect to use the key_name instead of just a link_id.
This is to make it work with OrgApplication.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:33:48 +0000] rev 1145
Fix import sorting in soc.views.models.document module to comply with our style guide.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:29:34 +0000] rev 1144
Rename 'Create a new document' links to 'Create a New Document', also rename 'Create a new Program' to 'Create a New Program' in soc.views.models modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:26:25 +0000] rev 1143
Fix missing dots and blank lines to soc.logic modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:25:27 +0000] rev 1142
Fix missing dot and wrong import sorting in soc.views.helper.access module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:24:43 +0000] rev 1141
Style fixes in soc.models.document module (adding of missing whitespaces).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:24:00 +0000] rev 1140
Style fixes in soc.logic.models modules (basically removing of extra whitespaces).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 13:07:12 +0000] rev 1139
Changed the url regexpr for review and added 2 missing imports.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 09:55:02 +0000] rev 1138
Refactored review and reviewoverview out of club_app.py
This is to help accomodate the upcoming OrgApplication.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 09:11:39 +0000] rev 1137
Added view for mentors.
This one is for real.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:59:27 +0000] rev 1136
Added two forgotten comments in rights.Checker
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:32:54 +0000] rev 1135
Hook up the ACL system for documents.
Org access checks are left unimplemented as they are not done yet.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:32:21 +0000] rev 1134
Final changes to the document model
With a seperate set of read and write permissions it is possible to
very accurately specify the ACL of the document.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:32:01 +0000] rev 1133
Added a rights module
The purpose of this module is to translate from document prefix
and status to a set of access checks.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 22:23:23 +0000] rev 1132
Replace name_on_certificates property with name_on_documents, since mentors, club admins, hosts and org admins don't get certificates it's better to name it 'Name on documents' which can indicate any kind of documents including awards certificates. Also don't show name_on_documents in public Role profiles, instead show user public name in that place.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 21:32:29 +0000] rev 1131
Changed display_name to name_on_certificates in models/role.py.
This is to make the intention of this property more clear as to display_name which would remind people of for instance nicknames or a replacement for their public name for this role.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 19:46:55 +0000] rev 1130
Added view and templates for mentors.
Mentors can be invited or send a request to become a mentor for a specific org.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 19:33:40 +0000] rev 1129
Fixed a bug in soc/views/models/role.py.
This bug allowed the creation of only invalid requests opposed to valid requests.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 19:02:53 +0000] rev 1128
Added a view and templates for the organization admin.
This means that org admins can now be created/invited.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:58:09 +0000] rev 1127
Fixed two small errors.
Removed an unnecessary edit_extra field in club.py.
And made group.py call getForCurrentAccount where necessary.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:55:34 +0000] rev 1126
Added organization view and templates.
Also added TODO's so it's clear what still needs to be done to make this work.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:44:00 +0000] rev 1125
Removed obsolete _editPost and _editGet in soc/views/models/club.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:25:11 +0000] rev 1124
Reverting a change from r1732 for reasons stated in soc/logic/models/group.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:06:34 +0000] rev 1123
Changed scope_logic for requests to linkable_logic.
This makes the scope_path for a requests of a variable length which is needed for reuse.
Patch by: Sverre Rabbelier and Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 17:01:56 +0000] rev 1122
Removed workflow type as keyfield from program.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:20:11 +0000] rev 1121
Added mentor and org_admin logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 16:16:44 +0000] rev 1120
Add an 'unread' style and add 'new document' link for user
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:15:53 +0000] rev 1119
Fixed a string formatting bug in soc/views/models/role.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:07:30 +0000] rev 1118
When moving stuff please make sure that all your belongings are safely secured.
Brown Paper Bag fix.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:04:22 +0000] rev 1117
Fixed a bug in role.py that made it call the wrong superclass.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:03:14 +0000] rev 1116
Moved create_extra_dynafields from club_admin and member to role.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 15:41:45 +0000] rev 1115
Cleanups in base.Logic
* Use regular kwargs instead of **kwargs
* Fold getKeyNameFromFields into _keyName
* Fold getIfFields into getFromFieldsOr404
* Rename getKeyValues to getKeyValuesFromEntity
* Rename getKeyFieldsFromDict to getKeyFieldsFromFields
* Rename getFromFieldsOr404 to getFromKeyFieldsOr404
* Rename getKeyValues to getKeyValuesFromEntity
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 15:40:32 +0000] rev 1114
Add checkIsProgramActive to the rights flushing
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 14:39:05 +0000] rev 1113
Small changes in Mentor model (we don't inherit from Reviewer anymore since model inheritance is not supported in datastore).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 14:38:04 +0000] rev 1112
Add Organization Administrator model.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 14:37:39 +0000] rev 1111
Remove not used Administrator model that is replaced by Host model.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 14:18:02 +0000] rev 1110
soc/views/models/club.py now uses getForCurrentAccount where necessary.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 13:59:49 +0000] rev 1109
Edited the access check for show in site settings.
Not everyone should see our keys :).
And also moved the template to site folder and changed presence back to the way it should be.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 13:49:50 +0000] rev 1108
Added rights to soc/views/models/timeline.py.
Only a developer or a host for the program this timeline is for can edit it now.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 13:48:48 +0000] rev 1107
Added status to program.
Also added a new access_check and changed the program edit template to the basic one without edit timeline button.
Changed the program menu to show more helpful links like Edit Timeline.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:59:52 +0000] rev 1106
Flush sidebar when creating a new entity
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:36:07 +0000] rev 1105
Update site/home.html to match the new document structure
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 12:36:06 +0000] rev 1104
Added a Create a New Program link to the Program Owners's menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:35:40 +0000] rev 1103
Flush sidebar when creating site entity
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:22:01 +0000] rev 1102
Brown paper bag fix
We can only add the create link if there is a site entity.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:12:05 +0000] rev 1101
Made presence document retrievel specify prefix
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:11:34 +0000] rev 1100
Added a 'create new document' link to site
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 11:28:05 +0000] rev 1099
Remove simplejson module from our repository since it's a duplicate of django.utils.simplejson.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 11:25:53 +0000] rev 1098
Use django.utils.simplejson in soc.views.models.base pick method instead of our standalone simplejson module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:02:20 +0000] rev 1097
Add a 'Create new document' link for clubs, sponsors and programs
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:01:52 +0000] rev 1096
Added a getCreateDocumentRedirect
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:01:27 +0000] rev 1095
Add access control to document model and view
The access checks are not yet written, but at least the model is
stable from now on.
Also converted the document view to dynaform while at it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:00:49 +0000] rev 1094
Factor out the getPattern logic from params
This is to facilitate it's use by the document view later on.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:00:23 +0000] rev 1093
Made the /create/<scope> url conditional
The 'no_create_with_scope' parameter can be used to disable it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:00:01 +0000] rev 1092
Removed unused key_fields_prefix variable
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:59:38 +0000] rev 1091
Moved is_featured property to Document
Only Documents can be featured in the sidebar, as such it makes sense
to have this property in the Document model.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:59:13 +0000] rev 1090
Added missing dot.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:58:53 +0000] rev 1089
Copy the default django patterns rather than modifying them
This prevents an ever-growing list of urls in the case that
getDjangoURLPatterns is called multiple times.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:58:31 +0000] rev 1088
Added a clean_scope_path to cleaning
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 30 Jan 2009 20:16:53 +0000] rev 1087
Fix the notification bar messages that show up when you click 'Save Changes' button. It only works on Edit views right now.
Patch by: Madhusudan C.S
Reviewed by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 17:44:31 +0000] rev 1086
^_^, fixed header in templates/soc/request/list/heading.html.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 17:38:28 +0000] rev 1085
Renamed state to status where appropriate.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 17:23:19 +0000] rev 1084
Requests can now not be created when you already have a similar request or already have the role the request is for.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:46:08 +0000] rev 1083
Moved clean_club_app_link_id to cleaning.
This method is now also used by the club create_form. Which means that you cannot create a new club with an already reserved link_id until the club application has been rejected.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:30:43 +0000] rev 1082
Changed group_app logic to support scope_path.
Moved link_id only as keyvalues to club_app.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:16:48 +0000] rev 1081
Added a cleaning method to club_app view.
This ensures that you can't create a application for an already taken Link ID.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:15:26 +0000] rev 1080
Changed status in group app model to state.
Also changed it wherever needed to increase consistency.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 10:36:23 +0000] rev 1079
Changed clean_link_id to be in a wrapper form as well.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 09:44:46 +0000] rev 1078
Deleted soc/models/member.py since it's the equivalent of club_member.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 09:43:11 +0000] rev 1077
docstring fix in soc/models/student.py.
Patch by: Haoyu Bai
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 09:31:56 +0000] rev 1076
Added agreed_to_tos_on field in user and role model.
Also the user and user_self view no properly handle this new field.
The ToS will be shown on-screen (not in a nice way) only if it is in effect and a user has not signed it yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:07:04 +0000] rev 1075
Cleaned up overly enthousiastic comments
From the styleguide:
On the other hand, never describe the code. Assume the person reading
the code knows Python (though not what you're trying to do) better
than you do.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:05:37 +0000] rev 1074
Properly check if a program is active
Also cleaned up checkIsHost, which got merge-mangled when refactoring
the access module.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:04:12 +0000] rev 1073
Factor out the allowIfCheckPasses logic
Keep allowDeveloper around as convenience method though.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:02:47 +0000] rev 1072
Fix EOL damage and add link to first row item for notifcations
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 20:40:34 +0000] rev 1071
Added menu entries for a specific Sponsor Entity.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 20:29:07 +0000] rev 1070
Fixed rights flushing
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:26:03 +0000] rev 1069
Added resign as club admin and club member links to the club entity menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:18:20 +0000] rev 1068
Changed docstring for checkIsAllowedToManageRole.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:13:21 +0000] rev 1067
Added manage view for Club Admins, Club Members and Hosts.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:11:11 +0000] rev 1066
Added checkIsAllowedToManageRole to access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:10:21 +0000] rev 1065
Added manage redirect.
Also changed the menu layout for group entities.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 16:12:57 +0000] rev 1064
Edited existing templates to deal with the new fields in group model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 15:55:40 +0000] rev 1063
Redone access checks in club and sponsor model to deal with state property in their model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 15:54:50 +0000] rev 1062
Creating a new host or club_admin will set the group state to active if it's new.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 15:53:35 +0000] rev 1061
Redone access checks concerning groups to deal with the state property.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 15:46:33 +0000] rev 1060
Added state and shipping address fields to group model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 15:38:41 +0000] rev 1059
prefixing the link_id of a notification with a t for time to agree to the new link_id pattern.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 29 Jan 2009 09:33:50 +0000] rev 1058
Fix regexp for link id format validation. Link id needs to start with ASCII lowercase and not with digit, which caused User Profile view to crash.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 29 Jan 2009 08:14:46 +0000] rev 1057
Fix typos in comments and help text in soc.models.program module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 01:39:31 +0000] rev 1056
Added a simple slot allocation algorithm
Comes with a whole bunch of tests, but not nearly enough.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 23:52:25 +0000] rev 1055
Update test to match new sidebar caching signature
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 23:49:45 +0000] rev 1054
Add forgotten __init__.py to pymox
Patch by: Sverre Rabbelier
Todd Larsen <tlarsen@google.com> [Wed, 28 Jan 2009 21:01:37 +0000] rev 1053
Rename the confusing Tossed Model class to PresenceWithToS.
Patch by: Todd Larsen
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 20:27:16 +0000] rev 1052
Added a 'allocations_visible' property to program
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 20:21:15 +0000] rev 1051
Create a new Tossed layer in the MVC
Also move is_enabled to program instead of presence.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 18:24:20 +0000] rev 1050
Add 'Flush Cache' button next to Admin link. It's visible only when working on dev_appserver locally. This is a quick way of flushing memcache.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 18:23:45 +0000] rev 1049
Fixed the edit site view having a delete button
Also a minor cleanup in group.py.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 17:33:05 +0000] rev 1048
Changed access.py to comply more with the style of the module.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 17:31:02 +0000] rev 1047
Changed the Terms Of Service boolean so that it is None as long as the user owning the account has not Agreed to it.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 16:50:54 +0000] rev 1046
Changed the verbose name for agrees_to_tos to I agree to the Terms of Service.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 16:48:41 +0000] rev 1045
Removed default value for agrees_to_tos in soc/models/user.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 16:40:16 +0000] rev 1044
Reverted r1646.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 15:43:30 +0000] rev 1043
Redone the user's profile page.
A user can now create his profile on /user/create_profile.
A user can edit his profile on /user/edit_profile.
Created new access checks to correctly allow access to the new profile page.
Changed the /user/edit_self.html template to /user/edit_profile.html.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 15:40:44 +0000] rev 1042
Renamed _getToSExampleText to getToSExampleText in soc/views/models/user.py.
Removed a TODO that has already been done.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 15:33:53 +0000] rev 1041
Added default values to the User model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 15:32:57 +0000] rev 1040
Added a TODO to soc/logic/models/site.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 15:31:54 +0000] rev 1039
Added new clean_agrees_to_tos to cleaning.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 15:25:50 +0000] rev 1038
Allow for a program on/off switch
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 15:24:02 +0000] rev 1037
Fix wrong order of decorators and some cleanup
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 15:22:34 +0000] rev 1036
Add an 'edit' link to the program menu
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 14:18:31 +0000] rev 1035
Allow for setting a edit_cancel_redirect
Defaults to list view for the entity but can be overriden by setting
the parameter manually. Falls back to history.go(-1) if not set.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 14:16:46 +0000] rev 1034
Make the user/edit.html template derive from soc/models/edit.html
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 14:15:00 +0000] rev 1033
Also flush the user's ACL's when flushing the sidebar
It is pretty pointless to flush the sidebar if the same ACL's will
be re-used anyway, so make sure the ACL's are flushed as well.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:26:47 +0000] rev 1032
Style fixes in soc.views.helper.redirects and soc.models.base modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:26:00 +0000] rev 1031
Add gmaps_api_key to context is settings entity exists.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:24:34 +0000] rev 1030
Style fixes in soc.views.models modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:23:19 +0000] rev 1029
Style fixes in soc.cache modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:22:41 +0000] rev 1028
Style fixes in soc.logic.cleaning module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:21:58 +0000] rev 1027
Style and import sorting fixes in tests modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 11:15:32 +0000] rev 1026
Fixed typo's in soc/views/helper/dynaform.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 02:28:52 +0000] rev 1025
Add grouping to the existing views
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 02:27:25 +0000] rev 1024
Group dynamically generated menu items
Also allow for grouping other views by setting the 'sidebar_grouping'
param to a value another than 'main'.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 02:25:51 +0000] rev 1023
Bugfixes after recent refactoring
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 02:24:13 +0000] rev 1022
Added Haoyu Bai to the AUTHORS file
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 00:45:35 +0000] rev 1021
Allow appending to dynainclude/-exclude
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 00:36:30 +0000] rev 1020
Reduce caching time of sidebar to 3 minutes
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 00:35:11 +0000] rev 1019
Flush cache if user makes a document featured
Also flush it if a new document is created as featured.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 00:33:47 +0000] rev 1018
Make tooltips work when tabbing
Fixed the tooltips on IE, and changed the background colour to be
nicer on Firefox.
Patch by: Haoyu Bai <baihaoyu@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 27 Jan 2009 22:59:01 +0000] rev 1017
Cache access checks and disable sidebar caching
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 27 Jan 2009 22:57:19 +0000] rev 1016
Create a decorator for allowDeveloper
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 27 Jan 2009 21:56:32 +0000] rev 1015
Add profiling support to Melange. By assigning profile_main_as_logs or profile_main_as_html to main variable you can turn on profiling. profile_main_as_logs will log profile data to App Engine console logs, profile_main_as_html will show profile data as html at the bottom of the page. If you want to profile app on deployed app just set the profiling function and deploy it.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 27 Jan 2009 20:30:26 +0000] rev 1014
soc/views/models/user.py now uses dynaform and appropriate cleaning methods.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 27 Jan 2009 20:27:50 +0000] rev 1013
Added new clean methods in preparation for new User View.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 27 Jan 2009 13:36:45 +0000] rev 1012
Fold checkAgreesToSiteToS into checkIsUser
No use in having a check that's not used except in another checker
anyway, so might as well fold it in.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 27 Jan 2009 12:47:28 +0000] rev 1011
Removed unused URL pattern in soc/views/models/request.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 27 Jan 2009 11:17:18 +0000] rev 1010
Fixed two access related bugs
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 27 Jan 2009 11:15:49 +0000] rev 1009
Added some very basic tests for the sidebar and access modules
Also updated run.py to set the USER_EMAIL variable.
Patch by: Sverre Rabbelier
Augie Fackler <durin42@gmail.com> [Tue, 27 Jan 2009 04:09:57 +0000] rev 1008
Fix testing views, which broke because now we need to register a proxy for the
memcache API as well.
Patch By: Augie Fackler <durin42@gmail.com>
Review By: TBR
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 26 Jan 2009 23:32:10 +0000] rev 1007
Major refactor of the access module
The first step to sanity is a leap into the unknown? Create an object
to represent the access checks for each module instead of a bunch of
loose functions.
Converted all views and params.py to use the new access checker.
Main differences:
* arguments to a checker can be passed by using a tuple
* checkers are referenced by string, rather than directly
* the Checker constructor handles merging with child views
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 21:22:53 +0000] rev 1006
Added a sidebar link for all users that accepted the ToS to a view that allows you to choose a club which you want to become a member for.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 20:33:20 +0000] rev 1005
Changed method name in access.py to fix overwriting another method.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 17:19:14 +0000] rev 1004
Fixed typo in club sidebar entry.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 17:11:54 +0000] rev 1003
Added sidebar entries for club entities.
Added the right['home'] to club and sponsor view.
Fixed some comments in the group view.
Also added a TODO for the sponsor sidebar entries.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 17:08:27 +0000] rev 1002
Added sidebar support for group instances.
Also group now properly inherits from the presence view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 16:11:50 +0000] rev 1001
Flush the sidebar cache when a new active role entity has been created.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 26 Jan 2009 16:04:19 +0000] rev 1000
Add pymox to tests folder.
Requested by Sverre.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 14:51:07 +0000] rev 999
Developers are hosts for every sponsor now.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 09:44:00 +0000] rev 998
Implemented the listing of all the roles in for a specific group.
Removed a TODO about removing the tolist assignment in soc/views/models/host.py because this list is now obsolete.
Added a TODO to change the redirect of the member listing once the manage page is done.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 23:35:39 +0000] rev 997
Added flushing the sidebar when dealing with notifications.
On request from Pawel Solyga.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 22:42:09 +0000] rev 996
Renamed checkIsHostForProgram to checkIsHostForSponsor.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 22:30:42 +0000] rev 995
Added rights check to sponsor.py.
In the process of doing so also fixed checkIsHostForProgram method in access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 22:15:13 +0000] rev 994
listRequests now only shows the requests that concerns the given group.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 22:05:25 +0000] rev 993
Renamed role_names to role_logic and made it a dictionary.
It now maps a role_name to role_logic. This will be useful for listing for instance club members.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 21:52:35 +0000] rev 992
Fixed a bug in access.py.
Context was not assigned to a variable during a redesign of access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 21:03:12 +0000] rev 991
Added cache flush for the user who creates a group and the user whose role has been activated.
As requested by Sverre Rabbelier.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 16:50:24 +0000] rev 990
Added two needed redirects in role.py.
To make this work properly group_view was added to params in club_admin and club_member.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 16:43:15 +0000] rev 989
Moved listRequests from club to group view.
Added a TODO for adding request list to sidebar entry for every group. And for setting the rights for Sponsor view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 16:29:36 +0000] rev 988
Flush the sidebar if a user's rights change
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 16:28:07 +0000] rev 987
Cache sidebar with a simple caching API
We cache the sidebar once for every user, the downside is that once
the user meets new access criteria, their sidebar does not get
updated. This can be fixed by calling soc.cache.sidebar.flush() when
appropriate.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 16:25:17 +0000] rev 986
Rename ModelProperties to EntityProperties
We use 'model' when referring to the db.Model, the context in which
'ModelProperties' was used we really mean 'entity', which refers to
an instantiation of the model.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 16:17:33 +0000] rev 985
Added getListRequestsRedirect to redirects.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 15:09:10 +0000] rev 984
Forgotten in last commit, the json template
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 15:03:12 +0000] rev 983
Added request listing for Club Admins.
This page will redirect them to the Request Processing page.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 15:01:55 +0000] rev 982
Changed the title for the process_request webpage.
Also removed some whitespace.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 14:43:49 +0000] rev 981
Added getProcessRequestRedirect method to redirects.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 12:28:26 +0000] rev 980
Added Club Members to SoC.
Every user can request to become a Club Member. Club Admins can invite users.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 12:22:53 +0000] rev 979
Added checkCanMakeRequestToGroup to access.py.
Note that states for a group have not been implemented yet, so a TODO has been added for this check.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 12:20:35 +0000] rev 978
Moved getGroupEntityFromScopePath to logic/models/role.py.
Also removed a TODO that has been done :).
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 11:44:25 +0000] rev 977
Have /entity/pick return a JSON object instead of a user view
This is in preparation of a patch that will add a more fancy picker
with JS.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 25 Jan 2009 11:31:40 +0000] rev 976
Add simplejson folder to build.sh script.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 25 Jan 2009 11:31:15 +0000] rev 975
Add simplejson library to app folder.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 09:10:23 +0000] rev 974
Removed unused method from access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 00:04:11 +0000] rev 973
Do not pass around request anymore in buildSidebar
It is no longer needed since checkAccess doesn't require it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 00:02:41 +0000] rev 972
Remove the request and arg parameter from the checkAccess call
They are obsolete with the introduction of kwargs (args was never
needed in the first place).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 00:01:19 +0000] rev 971
Use getSingleton in getUniversalContext
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 24 Jan 2009 23:56:34 +0000] rev 970
Use ugettext instead of ugettext_lazy
Reports from Matthew Wilkes indicate that the regular form of
ugettext works just fine. The downside of ugettext_lazy is that it
prevents pages containing ugettext_lazy-ed text cannot be memcached,
since they cannot be pickled.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 21:38:28 +0000] rev 969
Brown paper bag fix.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 20:51:51 +0000] rev 968
Fixed a bug in _editPost for club_admin and host.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 20:44:32 +0000] rev 967
Changed clean_url to work with dynaform.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 20:17:35 +0000] rev 966
Fixed a bug in _oncreate in soc/logic/models/club.py.
Non-existing fields were set.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 18:21:50 +0000] rev 965
Changed user_logic call to it's convenience function getForCurrentAccount.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 17:09:02 +0000] rev 964
Coding style fix in views/models/role.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 17:07:26 +0000] rev 963
Parameterized patterns in role.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 16:39:34 +0000] rev 962
Added request creation and processing to role.py.
This is used if you want to request to become a certain role for a group. For instance becoming a club member.
The process request view will also be used to cancel outstanding invites might this be necessary.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 14:14:14 +0000] rev 961
Add Madhusudan.C.S to AUTHORS. Fix docstring parameters list in soc.logic.models.base module Base class getForFields method.
Patch by: Madhusudan.C.S
Reviewed by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 14:14:11 +0000] rev 960
Added checkCanProcessRequest in access.py.
This is used in the upcoming Request patch.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:54:59 +0000] rev 959
Some style guide fixes, docstring fixes and removal of unused imports in different modules. Rename acceptInvite view variable to accept_invite in soc.views.models.host module to comply to our style guide.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:51:47 +0000] rev 958
Fix some missing dots in access and club_admin modules.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:50:59 +0000] rev 957
Add missing parameter description to docstring of soc.views.models.base module methods.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:47:21 +0000] rev 956
Make select link in _as_table_row.html a nice button instead of <a href>.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:45:57 +0000] rev 955
Remove extra whitespaces and fix too long lines in soc.logic.helper.request module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:25:15 +0000] rev 954
Remove unused imports from soc.models.club_admin model.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:24:45 +0000] rev 953
Remove extra blank lines in soc.views.models.request module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:24:07 +0000] rev 952
Rename acceptInvite view variable to accept_invite to comply to our style guide. Remove unused imports. Add missing blank lines in soc.views.models.club_admin module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:12:07 +0000] rev 951
Rename processInvite view variable to process_invite to comply to our style guide. Remove some not needed whitespaces. Fix listSelf method parameters docstring in soc.views.models.request module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 11:10:22 +0000] rev 950
Added missing dot to access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:07:16 +0000] rev 949
Check if timeline exists and when somebody tries to edit non existing timelime display error message. Add TODO regarding error message customization for Timeline. Add support for calendar widget in timeline for both gsoc and ghop programs (gsoc was hardcoded before).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:04:15 +0000] rev 948
Add missing blank lines and remove unused checkIsInvited function from soc.views.helper.access module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 10:59:28 +0000] rev 947
Rename soc/request/list/row.html template column class "to" to "for" since the name changed in header template.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 10:57:53 +0000] rev 946
Add missing dots in soc.views.helper.redirects module function docstrings.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 10:56:18 +0000] rev 945
Little change in soc.logic.hlper.request module completeRequestForRole function docstring.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 10:19:17 +0000] rev 944
Refactored invite system from club_admin to role to make the system work with host as well.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 10:18:30 +0000] rev 943
Fixed an access related bug in checkIsClubAdminForClub.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 00:27:36 +0000] rev 942
Fixed bug in access.py concerning host checks.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 24 Jan 2009 00:07:34 +0000] rev 941
Add a warning about discarding unsaved changes
Also set the colspan of the label (on seperate row) to max.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 23:42:07 +0000] rev 940
Changed the access checks to comply with state in request.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 22:57:10 +0000] rev 939
Make reference picker work for create too
Caveat, it only works for one reference atm.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 22:20:20 +0000] rev 938
Brown paper bag fix
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 22:17:49 +0000] rev 937
Do not crash if an invalid field name is entered
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:22:09 +0000] rev 936
Enable pick links for all the references we have
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:20:33 +0000] rev 935
Adust the as_table tag to render a pick link if appropriate
The templates are adjusted to pass on a 'reference' value, which
is the url_name of the view from which the entity should be picked.
The as_table (and related) function(s) construct and then pass on
this argument and enable takes_contex so that we have access to the
context of the enclosing template.
We only extract ReferenceProperties that end with '_link_id' since
that is how all RP's are currently named. It is not possible to
create a field with the same name as the RP, as GAE will try to
interpret it's contents as the key of an entity before even calling
any function we can override.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:18:39 +0000] rev 934
Add a 'pick' view to the appropriate views
Only views that represent entities that are pointed to by a
ReferenceProperty at some point are considered 'appropriate'.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:17:01 +0000] rev 933
Added a 'pick' view
This view can be used to pick a specific document and then redirect
to another view.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:15:16 +0000] rev 932
Add redirects for the new pick view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:04:45 +0000] rev 931
Add a simple access check for a picker
The picker page should not be accessible if the required GET args are
not present.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 17:51:35 +0000] rev 930
Added missing changes from r1522.
Eclipse found it funny not to save resources ^_^.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 17:41:30 +0000] rev 929
Renamed redirect methods to comply with the rest of the module.
Added use for getInviteAcceptedRedirect in the soc/views/models/request.py process_invite view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 17:07:54 +0000] rev 928
Replaced the boolean properties in soc/models/request.py with a state property.
new : new Request
group_accepted : The group has accepted this request
completed : This request has been handled either following a creation of the role entity
rejected : This request has been rejected by either the user or the group
ignored : The request has been ignored by the group and will not give the user access to create the role
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 16:54:46 +0000] rev 927
Restore context in deny() page
Now that we know when the sidebar is doing the access checks we can
safely construct a new context in deny (without having to worry that
it will try to do more access checks that result in deny, which will
call for a new context... etc).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 16:53:19 +0000] rev 926
Bugfixes to last commit
Access rights for 'home' pages and an errornous endif tag.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 16:23:01 +0000] rev 925
Removed club property from club_admin model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 16:21:28 +0000] rev 924
Generate proper html instead of having nested <td> tags
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 15:32:58 +0000] rev 923
Hook up the 'home' view for site and program
Also point to it in the sidebar's "home" link.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 15:31:13 +0000] rev 922
Generate the 'edit settings' link dynamically
We used to point to '/site/edit', which is rather lame for a generic
presence template (especially since site has it's own template).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 15:29:42 +0000] rev 921
Create a new 'home' view for Presences
This also restores the 'show' view for Presences as there is no
need to hide it with the 'home' view anymore.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 12:00:48 +0000] rev 920
Added the new way to process invites for club_admin only.
This patch contains the separability needed to ensure that we can successfully do the access checks we need.
Host invites can for the time being only be completed by developers due to the reorganization.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:40:35 +0000] rev 919
Added missing comment to soc/views/models/club.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:39:14 +0000] rev 918
Changed the request templates to match the changes to the model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:38:24 +0000] rev 917
Added missing role_verbose.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:36:55 +0000] rev 916
Redid removeRequestForRole to completeRequestForRole.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:34:58 +0000] rev 915
Added verbose role name to the request model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:32:53 +0000] rev 914
Added various access methods in preperation for the new request system.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 09:08:26 +0000] rev 913
Added state property to role model.
This can be used when for instance a member has been removed from a club or a when a program has been marked inactive. Certain roles would then be shown on the upcoming roles page marked as previous roles. This would give us the archiving capability that was shown in the mockup.
Patch by: Lennard de Rijk
Reviewd by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 08:49:09 +0000] rev 912
Renamed org property in club_admin model to club.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 23:20:15 +0000] rev 911
Add slots and student applications/tasks limit integer properties to the Program model.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 22 Jan 2009 22:54:46 +0000] rev 910
Change build.sh to create a build/ output directory (rather than release/).
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 22 Jan 2009 22:35:41 +0000] rev 909
Move make_release.sh to build.sh.
This script creates a "build" really, not a release. A separate release.sh
script should be written to automate the current manual release process (at
some point...).
Patch by: Todd Larsen
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:04:00 +0000] rev 908
Remove unused decorators import from soc.views.models.role module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:03:32 +0000] rev 907
Fix idention in soc.views.models.club module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:02:40 +0000] rev 906
Fix missing dots in soc.views.helper.decoratos module docstrings.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:01:16 +0000] rev 905
Rename clean_existing_user_not_equal_to_current function to clean_users_not_same in soc.logic.cleaning module and fix affected files.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 17:26:14 +0000] rev 904
Hide the 'link_id' field for site
Also construct the scope_path from the fields in case the entity
has not yet been created.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 17:23:17 +0000] rev 903
Rename "site/settings" to "site"
The "/site/settings" view is not about the Site Settings an sich, but
more about the "site presence singleton". In this context it does not
make sense to call it "site/settings".
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 16:05:49 +0000] rev 902
Fixed one style error and one typo.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 16:04:48 +0000] rev 901
Presence is now a 'abstract' View, pull in members from program
This is signified by the removal of params['name'] and other values
that are required by params.py, but also by the removal of the 'view'
definition at the bottom of the file.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 16:03:17 +0000] rev 900
Extend dicts.merge to be (optionally) recursive
This is very useful when dealing for views that expect to be
inhereted from but wish to provide default values.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 16:01:51 +0000] rev 899
Fix form errors and hidden form errors
The conversion to django left out the 'prettyfying' of form and
hidden form errors, as these could occur when running live, restore
this behavior.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 13:50:25 +0000] rev 898
Added a cleaning method for a LinkProperty Field.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 00:07:36 +0000] rev 897
Fixed wrong conditional in soc/views/models/club_app.py.
Notifications will now be send again.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 00:03:28 +0000] rev 896
Fixed import sorting and indentation in soc/views/models/club.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 23:44:02 +0000] rev 895
Even developers need to agree to the terms of service for Melange
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 23:43:16 +0000] rev 894
Corrected the list index parameters in soc/views/models/club_app.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 23:18:39 +0000] rev 893
Added Ignored applications to the list view.
Also restored the New Club notification upon application acceptance. That broke in r1483.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 22:47:22 +0000] rev 892
Replaced boolean properties in soc/models/group_app with status property.
This property has 5 choices ['accepted','rejected','ignored','needs review','completed']
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 22:21:40 +0000] rev 891
Move getToSLink() to soc.views.helper.redirects.getToSRedirect().
Fixes a circular import problem that prevented the site-wide ToS link from
being displayed by checkAgreesToSiteToS(). This is now completely implemented.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:41:36 +0000] rev 890
Tighten more checkIsUser() access to checkAgreesToSiteToS() instead.
Update the checkIsHost() comment.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:32:51 +0000] rev 889
Make checkAgreesToSiteToS() the default access check for many other checks.
Replace checkIsUser() with the more-strict checkAgreesToSiteToS(). Also, add
missing args and kwargs parameters to checkAgreesToSiteToS() that were missed
in the merge right before commit.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:25:18 +0000] rev 888
Add checkAgreesToSiteToS() (partially implemented until circular import fixed).
Need to fix a circular import problem before the alternate message will
include a link to the site-wide ToS Document.
Also, fixed the descriptions in the first few check...() functions.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:09:52 +0000] rev 887
Take advantage of new "from ... import ... as ..." rules in the style guide.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 20:25:07 +0000] rev 886
Added clean_existing_user_not_equal_to_current to clean the backup Administrator field in an application.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:53:23 +0000] rev 885
Changed the redirect in club application overview to the correct page.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:45:13 +0000] rev 884
Changed checkIsClubAppAccepted into a more generic checkIsApplicationAccepted.
Also fixed a minor bug in club_app view.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:40:39 +0000] rev 883
Changed the collection name and help text for Organization member template.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:32:00 +0000] rev 882
Added club_app model and logic.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 18:50:22 +0000] rev 881
Added created and last modified timestamps to the group_app model.
Also edited the templates to show some extra information. The review template has the names for the new properties hard coded because the auto_add and auto_add_now datetimeproperties don't show up in the fields of the entity.
Patch by: Lennard de Rijk
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 18:25:37 +0000] rev 880
Fixed typo in r1446.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 16:13:51 +0000] rev 879
Changes in Role model.
Clarified that we are asking for a shipping adress. Also moved Agrees to ToS to the bottom.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:13:18 +0000] rev 878
Fix trailing whitespace and apply decorators
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:13:03 +0000] rev 877
Fix whitespace damage
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:48 +0000] rev 876
Make use of the new decorators in all applicable views
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:31 +0000] rev 875
Renamed showReviewOverview to review_overview and reviewOverview
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:16 +0000] rev 874
Fixed two trivial bugs
A "kwargs=kwargs" instead of **kwargs
Missing 'and entity' check
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:01 +0000] rev 873
Added a merge_params and check_access decorator
The merge_params decorator is very simple and takes self._params and
merges it with params. It's main purpose is to explicitly mark the
views in which it is intended that self._params is merged raw.
The check_access decorator factors out the access checking process
and passes args and kwargs to the access checking methods.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:11:47 +0000] rev 872
Prepare access to receive args and kwargs as argument
Also use two "magic values" when the sidebar is doing the access
checks, this might be useful later.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 15:35:10 +0000] rev 871
Reverted r1457.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 15:29:58 +0000] rev 870
Changed link in club_app accepted notification.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 15:11:45 +0000] rev 869
Added a new view to help with application -> group process.
The applicant view is available only when there is an accepted application present. This will be checked by the access checker in an upcoming patch. The view uses a special form so that certain fields cannot be edited by the user. These fields correspond to important fields filled in during the application process.
Create access for a club has now been set to Host level.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 14:57:12 +0000] rev 868
onCreate for a Club now marks any application for the same club as completed and invites the admins.
This is useful for when the club has been created without using the application.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 14:36:44 +0000] rev 867
Edited the method used to clean link_id in params.py.
Removed the clean_new_link_id from the logic/cleaning.py module because this is not used anymore.
This method should be replaced by a method that is used after all the fields have been cleaned so that the actual key_name of an entity can be constructed.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 13:55:06 +0000] rev 866
Fixed a typo in the comments of soc/views/helper/forms.py
Patch by: Lennard de Rijk
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:39:29 +0000] rev 865
Fix missing import identified by pylint.
************* Module app.soc.logic.models.user
E0602: 99:Logic.agreesToSiteToS: Undefined variable 'db'
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:37:43 +0000] rev 864
Fix missing import identified by pylint.
************* Module app.soc.logic.models.presence
E0602: 56:Logic.getToS: Undefined variable 'db'
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:34:43 +0000] rev 863
Fix missing import identified by pylint.
************* Module app.soc.views.helper.responses
E0602:187:getToSLink: Undefined variable 'db'
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:31:55 +0000] rev 862
Add agreesToSiteToS() logic method to indicate if User accepts site-wide ToS.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:18:07 +0000] rev 861
Give error messages more room in the existing form field "as_table" templates.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:14:05 +0000] rev 860
Add a clean_agrees_to_tos() validator that requires "Yes" if ToS exists.
Also, more user_logic.logic => user_logic fixes. If you are going to import
"as", you might as well make the renaming worthwhile. Maybe we need to add
a section on "import ... from ... as ..." in the style guide?
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 00:32:05 +0000] rev 859
Change "Show" to "Export" missed in r1446 commit.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 00:27:39 +0000] rev 858
Add an export() view, and implement it as text/text for Document.
For every Model except Document, the public() view is displayed for any
attempts to access the export() view.
Currently, the permissions for export() are the same as for public(). This
seems reasonable for Document, since anyone could extract the raw HTML from
the page source anyway. The permissions should probably be different for
other types of exports, such as vCard or iCard exports of profiles, CSV
exports of lists, etc.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 23:13:03 +0000] rev 857
If a site-wide ToS exist, display the User profile "Agrees to ToS" checkbox.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 23:01:24 +0000] rev 856
Set agrees_to_tos example text to link to site-wide ToS (or a warning message).
Also, since a renaming import statement is being used already, change
user_logic.logic to just user_logic.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 22:33:43 +0000] rev 855
Do not crash on *every* page load if there is no ToS Document.
'tos' ReferenceProperty might be present, but still be None.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 22:30:21 +0000] rev 854
A better way to add site-wide ToS link to *all* pages on the site.
getUniversalContext() already fetches a copy of the Site settings, so use that
to see if the site-wide ToS exist and produce a link.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 22:21:32 +0000] rev 853
Linux /bin/sh (GNU) is not the same as OS X /bin/sh (BSD), so use /bin/bash.
Fixes:
scripts/pylint/do_pylint.sh: 27: Syntax error: "(" unexpected
on Ubuntu (and possibly other Linux distros).
Patch by: Todd Larsen
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 22:01:02 +0000] rev 852
Replace css class 'notice' that is used in User profile template field help text with new 'fieldhelptext' class. Notice is part of CSS for notification bar and we want width limit just for field help text not for notification bar text.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 21:48:28 +0000] rev 851
Add getSingleton() method to return the Site settings entity.
There is always only one Site entity, referred to by DEF_SITE_LINK_ID.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 21:37:30 +0000] rev 850
Return the ToS Document of the supplied Presence entity, if there is one.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 21:26:34 +0000] rev 849
Support HTML tags in form field example_text column.
Improve the Program Model example_text as an example.
Patch by: Todd Larsen
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 21:00:55 +0000] rev 848
Disable R0801 messages in pylintrc. R0801 messages indicates that a set of similar lines has been detected among multiple file. This usually means that the code should be refactored to avoid this duplication but in our case it's useless since it shows a lot of imports code or authors.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 20:52:12 +0000] rev 847
Add calendar widget support for timeline fields. Fix docstring typo in soc.views.models.timeline module. Add timeline edit template which loads necessary javascript files for datetimepicker widget.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 20:49:49 +0000] rev 846
Remove member_template from extra_dynaexclude in soc.views.models.club since member_template is only available in Organization as of recent commit.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 20:16:07 +0000] rev 845
Add the agrees_to_tos property to Roles (as its own changeset this time...).
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 20:04:21 +0000] rev 844
Make getToSLink() an actual method for re-use by others.
Uses the views.helper.redirects module to create the /document/show path,
instead of hard-coding it as a format string.
Patch by: Todd Larsen
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 19:40:41 +0000] rev 843
Fixed EOL and whitespace damage
Patch by: Sverre Rabbelier
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 17:56:10 +0000] rev 842
This file should not have been included in r1428. Reverting...
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 17:53:36 +0000] rev 841
Changing ReadOnlyBool to type "text" makes it display "True" or "False".
Patch by: Todd Larsen
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 17:41:47 +0000] rev 840
When constructing the sidebar don't overide 'sidebar'
Instead specify 'sidebar_additional' and include it even if there
is a 'sidebar' defined.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:31:53 +0000] rev 839
Add datetimepicker javascript widget files and css file.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:27:36 +0000] rev 838
Set notice width to 450px. It was way too long. Notice is displayed with help text on yellow background in User profile.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:12:55 +0000] rev 837
Add missing blank line in soc.views.helper.params module. Fix docstring typo in soc.views.models.role module. Add missing dots at the end of sentences in soc.logic.cleaning and soc.view.models.user_self modules.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:10:04 +0000] rev 836
Add missing 'of' word to list description strings in soc.views.models.club_app module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:09:09 +0000] rev 835
Add missing blank lines and dots in soc.views.helper.templatetags.forms_helpers module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:08:16 +0000] rev 834
Move member_template property from Group to Organization model since it's Organization specific property.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:03:55 +0000] rev 833
Disable R0201 message in pylintrc since we allow for that kind of methods. R0201 tells us that method could be a function. Used when a method doesn't use its bound instance, and so could be written as a function.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:00:19 +0000] rev 832
Fix typo in settings.py (missing '>' character).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 15:59:07 +0000] rev 831
Add missing dots in docstrings. Add sendNotification parameters description to docstring in soc.logic.helper module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 20 Jan 2009 14:12:54 +0000] rev 830
Added missing import to views/models/notification.py
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 20 Jan 2009 14:09:39 +0000] rev 829
Users now have the right to delete their own notifications.
Patch by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 13:19:45 +0000] rev 828
Load /Users/solydzajs/Downloads/google_appengine into
trunk/thirdparty/google_appengine.
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 01:12:43 +0000] rev 827
Split the notification list in read/unread
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 00:48:49 +0000] rev 826
Add an unread count indication next to the notification link
Similar to how this is done in gmail.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 00:48:30 +0000] rev 825
Use 'from .. import .. as ..' in user_self
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 00:48:16 +0000] rev 824
Fixed whitespace and EOL damage
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 00:11:38 +0000] rev 823
Add a 'pending/accepted/denied' seperation to club_app list
This is not only to make it easier to see which applictions have been
accepted, but also to make it possible to redirect to /club/create
for the accepted applications, rather than to /club_app/edit.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 00:11:21 +0000] rev 822
Fixed whitespace damage
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 19 Jan 2009 23:26:09 +0000] rev 821
Send a notifcation if a club application is accepted
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 19 Jan 2009 23:25:49 +0000] rev 820
Factor out sendNotification from sendInviteNotification
This makes it easier to create different types of notifications,
such as a sendNewClubNotification.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 19 Jan 2009 23:25:36 +0000] rev 819
Fixed whitespace and EOL damage
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 19 Jan 2009 23:25:23 +0000] rev 818
Fixed whitespace damage
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 19 Jan 2009 16:23:37 +0000] rev 817
Added club_admin templates.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 16 Jan 2009 17:54:46 +0000] rev 816
Added Mario Ferraro to the AUTHORS list.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 16 Jan 2009 17:52:42 +0000] rev 815
Tooltips now properly disappear when another text box with a tooltip has been highlighted.
Also known as Issue 132.
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 15 Jan 2009 17:01:15 +0000] rev 814
Implement the checkIsClubAppAccepted function
Also added a stub for checkIsClubAdminForClub.
Patch by: Sverre Rabbelier
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 22:37:05 +0000] rev 813
Display state (but dis-allow edits) of User's agrees_to_tos boolean Property.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 22:30:24 +0000] rev 812
Add read-only boolean form field widget.
Developers should be able to view, but not change, the User's agrees_to_tos
state.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 22:02:39 +0000] rev 811
Add "agrees to site-wide Terms of Service" boolean property for all Users.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:37:56 +0000] rev 810
Hide 'tos' pull-down selector from Program profile forms.
Until a way to select Documents for use as the Terms of Service for a Program
exists (see http://code.google.com/p/soc/issues/detail?id=151), there is no
point in hacking in scope_path and link_id fields here. The per-Program ToS
feature will just be unavailable until an appropriate Document selector
exists.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:37:47 +0000] rev 809
Hide 'tos' pull-down selector from Group profile forms.
Until a way to select Documents for use as the Terms of Service for a Group
exist (see http://code.google.com/p/soc/issues/detail?id=151), there is no
point in hacking in scope_path and link_id fields here. The per-Group ToS
feature will just be unavailable until an appropriate Document selector
exists.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:37:34 +0000] rev 808
Hide 'tos' pull-down selector from Site Settings forms.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:37:24 +0000] rev 807
Hack in tos_scope_path and tos_link_id to select Terms of Service Document.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:05:15 +0000] rev 806
Show Terms of Service link in footer if tos_link is defined in the context.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:05:05 +0000] rev 805
Add a ReferenceProperty pointing to a Terms of Service Document.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 19:11:34 +0000] rev 804
Fixed a bug that was triggered on manual club creation without an application.
Now also sets the application_completed flag upon club creation.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 18:56:54 +0000] rev 803
Fixed missing params in views/models/club_app.py.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 10 Jan 2009 18:18:10 +0000] rev 802
Added Club Admin model, logic, and view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 10 Jan 2009 18:17:44 +0000] rev 801
Invite (backup-)admin when creating a club
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 10 Jan 2009 18:17:30 +0000] rev 800
Added a create method that uses an existing application
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 10 Jan 2009 18:17:16 +0000] rev 799
Construct names automatically from base name.
Saves a lot of typing for the common case
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 14:49:45 +0000] rev 798
Fixed a wrong method being called when accepting/declyning an application.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 14:44:04 +0000] rev 797
Added basic review functionality for club applications.
The access rights are open for discussion.
The review page uses GET data to determine the decision made by the user.
For convenience the Review Club Applications button directs you to a multi-list view so you can see the state of different applications.
The review state will reset whenever the application has been changed using the edit form.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 14:14:38 +0000] rev 796
Fixed a typo in the comment in helper/access.py.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 13:50:41 +0000] rev 795
Added control fields to group_app.
Moved unnecessary fields containing questions about past participation from group_app to org_app.
Updated the club_app public page to show the correct information using twoline layout.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 13:28:04 +0000] rev 794
Added _readonly_field_as_twoline_table_row .
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 08 Jan 2009 21:44:03 +0000] rev 793
Resolved a bug when editing a timeline.
Scope path is now set correctly when editing a timeline.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:24:36 +0000] rev 792
Fixed line-ending and whitespace damage
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:24:27 +0000] rev 791
Added the club_app view, logic and model
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:24:10 +0000] rev 790
Removed unneeded params from club
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:23:52 +0000] rev 789
Moved the member_template field to app and removed 'optional'
Also shortened the verbose_name of the member_template field.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:23:42 +0000] rev 788
Factored out the clean_existing_user method
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:23:33 +0000] rev 787
Fix login link
Without the leading slash the link does not work on appspot.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:23:24 +0000] rev 786
Fixed a typo in the group_app model
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:23:15 +0000] rev 785
Added a twoline_edit.html page
An as_twoline_edit template tag was added for this purpose. This tag
renders the label field on a seperate line.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 08 Jan 2009 20:27:21 +0000] rev 784
Fix missing dots at the end of sentences in docstring and fix wrong import sorting in soc.logic.helper.notifications module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 08 Jan 2009 20:09:24 +0000] rev 783
Extract BSD license text into a separate file to make it easier to find.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 08 Jan 2009 17:22:37 +0000] rev 782
Fixed missing files in r1364.
Patch by: Lennard de Rijk
Augie Fackler <durin42@gmail.com> [Thu, 08 Jan 2009 15:31:41 +0000] rev 781
Fix the setup of the test environment, including clearing the datastore
between tests.
Augie Fackler <durin42@gmail.com> [Thu, 08 Jan 2009 15:31:33 +0000] rev 780
Add support for coverage to our testing system.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 07 Jan 2009 22:09:52 +0000] rev 779
Added support for creating clubs.
Patch by : Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 07 Jan 2009 21:58:43 +0000] rev 778
Added support for mutliple edit forms based on entity type
This makes it possible to have different edit forms in timeline based
on which workflow type is used.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 07 Jan 2009 21:57:48 +0000] rev 777
Added an 'edit timeline' button to the program edit page
Also made the create timeline functionality use the logic modules
introduced in the previous commit.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 07 Jan 2009 21:57:12 +0000] rev 776
Started on edit timeline
Added a gsoc timeline logic module. Also added a scope_path as the
key_field to timeline. Updated the django_paterns to only include
the edit field and removed link_id as dynafield.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 07 Jan 2009 20:56:50 +0000] rev 775
Fixed missing import in soc/models/organization.py.
Patch by: Lennard de Rijk
Todd Larsen <tlarsen@google.com> [Wed, 07 Jan 2009 20:30:38 +0000] rev 774
Add hard-coded GroupApplication and OrgApplication Models.
These are being hard-coded because the "real" Question/Answer/Quiz/Response
implementation will not be ready any time soon.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 07 Jan 2009 20:24:38 +0000] rev 773
Mailing list EmailProperty should be StringProperty instead, so that it is
possible, for example, to supply a Google Group URL for sign-up purposes.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 07 Jan 2009 19:38:29 +0000] rev 772
Add IRC channel and mailing list properties to the Group and Organization
Models.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 07 Jan 2009 16:49:16 +0000] rev 771
Typo and style fixes.
Patch by: Pawel Solyga and Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 06 Jan 2009 21:21:09 +0000] rev 770
Fixed a bug where a new timeline would get created on every edit of an existing program.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 06 Jan 2009 20:56:48 +0000] rev 769
Added an elementary workflow choosing method to program creation.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 06 Jan 2009 17:26:06 +0000] rev 768
Added logic and view classes for the Timeline model
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 06 Jan 2009 17:25:54 +0000] rev 767
Sorted build.py's sitemap.addPages lines
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 06 Jan 2009 16:55:27 +0000] rev 766
Made Program reference Timeline
Also made Timeline inherit from base like it should.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 06 Jan 2009 16:01:16 +0000] rev 765
Copy/paste fix
Typo fix: s/founder/program
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 06 Jan 2009 00:14:32 +0000] rev 764
Added a basic Timeline model
The timeline model will contain the deadlines and time ranges for the
individual programs.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 29 Dec 2008 18:51:36 +0000] rev 763
Set no_create_with_key_fields paramater to True for Notifications.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 18 Dec 2008 09:52:20 +0000] rev 762
Revert "Overwrite default patterns in views/models/notification.py to disallow certain URL's."
This should instead be done by setting the no_create_with_key_fields
parameter to True.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 18 Dec 2008 09:52:04 +0000] rev 761
Allow disabling of the create url with key_fields
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 18 Dec 2008 07:02:48 +0000] rev 760
Overwrite default patterns in views/models/notification.py to disallow certain URL's.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 17 Dec 2008 22:27:55 +0000] rev 759
Fixed a too long line in logic/helper/notifications.py
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 17 Dec 2008 22:25:16 +0000] rev 758
Added base template for notification messages.
This makes the messages a bit more friendly by including a greeting and signature.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 17 Dec 2008 22:15:21 +0000] rev 757
Added email message when receiving a notification.py
At the moment this only triggers when the new notification is your first unread message. Also fixed an url bug in the invite notification.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 17 Dec 2008 19:33:03 +0000] rev 756
Changed invitation email and into a notification.
Also changed the public template for Notification to allow HTML code.
Patch by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:15:32 +0000] rev 755
Remove unused imports and variables in different soc.views.models modules.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:13:07 +0000] rev 754
Remove unused import in soc.views.hlper.templatetags.forms_helpers module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:12:28 +0000] rev 753
Since DbModelForm has been renamed to BaseForm change super() call from BaseForm to djangoforms.ModelForm in soc.views.helper.forms module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:11:12 +0000] rev 752
Some docstring fixes and unused import removal in soc.logic.models.site module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:10:32 +0000] rev 751
Fix inheritance in soc.models.base module. FieldsProxy inherited from DbModelForm which was deleted in previous commits (replace that with BaseForm).
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:08:16 +0000] rev 750
Fix too long lines in soc.logic.helper.notifications module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:07:18 +0000] rev 749
Remove unused import in soc.logic.accounts module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:06:13 +0000] rev 748
Remove unused imports in models modules.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 00:34:46 +0000] rev 747
In soc.views.models.notification module remove unused imports, add missing white space, change list() method definition to comply with base View list() method declaration. Add missing Meta class docstring.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 00:24:24 +0000] rev 746
Fix import sorting in soc.views.helper.access module and rename 'host' to 'Program Administrator'.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 00:22:50 +0000] rev 745
Remove not used TYPE_NAME, TYPE_NAME_SHORT and TYPE_NAME_PLURAL consts in all Group models.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 00:21:26 +0000] rev 744
Add missing dots, fix imports sorting and too long lines in different modules. Add TODO in soc.views.models.host module.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 14 Dec 2008 00:51:03 +0000] rev 743
Have user/edit.html use the as_table tag as well
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 14 Dec 2008 00:50:49 +0000] rev 742
Removed unused template
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 14 Dec 2008 00:33:59 +0000] rev 741
Converted as_table to be a template tag
This allows us to move all the HTML from python code (which made it
extremely icky and unreadable) to Django templates, which is _a lot_
more readable, and makes it feasable for HTML/CSS experts to change
the way these tables are generated.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 14 Dec 2008 00:33:41 +0000] rev 740
Added some example_text to program
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 14 Dec 2008 00:33:29 +0000] rev 739
Added support for example texts
Initial patch by Benjamin, some minor fixes by Sverre.
Patch by: Benjamin Lyaunzbe, Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 18:21:35 +0000] rev 738
Brown-paper-bag fix in notification.py
Was missing a leading slash in the redirect.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 13 Dec 2008 14:55:00 +0000] rev 737
Notification property has_been_read changed into unread
Due to comments on r1309.
Patch By: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 13:28:01 +0000] rev 736
No override needed in notifications.py
The only downside is that the ?s=0 parameter will still be appended
but is not handled in list(). The right solution would be to update
list() so that it does say "Message Sent" or such, to give the user
an indication that their message was sent succesfully.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 13:27:40 +0000] rev 735
Make it possible to redirect anywhere after editPost
This makes it possible to not include the suffix in the redirect by
making it a named parameter.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 13:09:06 +0000] rev 734
Make the place of the rights declaration consistent
Other code places it at the top, so we should do that in notification
as well.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 13:08:45 +0000] rev 733
Remove custom override of django_patterns_defaults
Instead restrict access to the edit method, also, there is no need to
set the default access to allow.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 13:08:23 +0000] rev 732
Fix whitespace and EOL damage in notifcation.py
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 12:49:57 +0000] rev 731
Make use of readonly_field_as_table_row
Instead of manually typing out the <br /> etc.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 12:49:34 +0000] rev 730
Fix EOL-damage
We use \n for line endings, so remove the \r from public.html
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 12:49:11 +0000] rev 729
Make checkIsMyInvitation use Django to parse the URL
Using django is more reliable and makes the code easier to read as
there is no knowledge of the url layout required.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 12:48:49 +0000] rev 728
Added a readonly_multiline_field_as_table_row tag
This is useful when a field is allowed to include newlines.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 13 Dec 2008 11:02:08 +0000] rev 727
Using getForCurrentAccount where possible due to comments on r1309.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 12 Dec 2008 23:28:18 +0000] rev 726
Added Notifications.
Notifications will primarily be used to serve the user information message like "New Request Pending". The system can be expanded later on to a messaging system.
If you are a developer you can create message by going to notification/create . This has been done so the system can easily be tested. But will of course be visible in an easy-to-access location when the transition to a message system has been made.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 12 Dec 2008 00:35:51 +0000] rev 725
Filter the "list Hosts" view
This way only those Hosts are shown that belong to a Sponsor the
user is a host for.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 12 Dec 2008 00:35:28 +0000] rev 724
Allows a user object to be passed to accounts.isDeveloper
This saves a trip to the database if the user object has already
been retrieved.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 12 Dec 2008 00:35:08 +0000] rev 723
Make getForFields use the db.Query API
While at it, add support for the IN statement in the form of a value
of the list type.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 12 Dec 2008 00:34:39 +0000] rev 722
Added getForCurrentAccount to user.Logic
It returns the user entity associated with the currently logged in
user.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 12 Dec 2008 00:34:12 +0000] rev 721
Added a filter method to dicts
The best way to explain this is probably with an example:
>>> split({'foo':'bar', 'bar':['one', 'two'], 'baz': ['three', 'four']})
[{'bar': 'one', 'foo': 'bar', 'baz': 'three'},
{'bar': 'two', 'foo': 'bar', 'baz': 'three'},
{'bar': 'one', 'foo': 'bar', 'baz': 'four'},
{'bar': 'two', 'foo': 'bar', 'baz': 'four'}]
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 11 Dec 2008 20:54:22 +0000] rev 720
Make it possible to invite another Host as Host
We do this by asking Django to resolve the current url for us, then
reshufle that url and ask Django (again) to resolve that new url.
From that resolved url we know the appropriate view, and as such we
know which rights dictioanry to pass to access.checkAccess.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 11 Dec 2008 20:53:57 +0000] rev 719
Added a trivial unzip method, counterpart to zip
Patch by: Sverre Rabbelier
Augie Fackler <durin42@gmail.com> [Thu, 11 Dec 2008 04:23:42 +0000] rev 718
Add some ignore properties for when we get working coverage support.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 10 Dec 2008 07:38:56 +0000] rev 717
Fixed missing header in site settings.
Also known as Issue 146.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 09 Dec 2008 15:43:56 +0000] rev 716
Changed "Sponsor" to "Program Owner"
Changed "Host" to "Program Administrator"
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 08 Dec 2008 17:31:33 +0000] rev 715
Adds the removal of requests from the datastore when a new role entity is created.
This uses the classname from the role entity as the type of role in the request.
Patch by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 07 Dec 2008 20:25:50 +0000] rev 714
Add missing dots in docstrings, proper sorting of imports and small docstring typo fixes.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 20:02:40 +0000] rev 713
Thinkofix in access.checkIsInvited
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 20:02:17 +0000] rev 712
Some forgotten changes with the access_type commit
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 07 Dec 2008 19:18:24 +0000] rev 711
Program Name column showed link_id instead of name, replace link_id with name in soc/program/list/row.html template.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 19:02:41 +0000] rev 710
Add explicit access_types from the url
This does two things, it reduces the amount of repeated data (e.g.,
the checkAccess used to repeat the access_type that was already
specified in the url). At the same time, it allows for example the
'create' page to push its access_type to 'edit'.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 19:02:02 +0000] rev 709
Add checkIsHost in access
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 19:01:35 +0000] rev 708
Some cleanups in role.py and site.py and create()
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 07 Dec 2008 17:26:59 +0000] rev 707
Changed template for home/public.html to show last modified in the top-right corner.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 17:02:32 +0000] rev 706
Add site scoped documents to the Site menu
This allows for featured documents that belong to the Site scope to
show up in the 'Site' menu.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 17:02:10 +0000] rev 705
Move document sidebar entries extraction to document.View
This way other modules can benefit from the same logic. Also make use
of the sidebar.getSidebarMenu method so that getMenusForScope is no
longer specific to full menu's.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 17:01:44 +0000] rev 704
Factor out sidebar entry construction
This makes it possible to reuse this logic in other modules as well,
preventing code duplication. While at it, move additional_sidebar
merging before the other entries (additional entries should go first,
since the other entries are mostly dev-only etc).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:29:37 +0000] rev 703
Rename getSidebarLinks to getSidebarMenus
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:29:10 +0000] rev 702
Remove bogus scope from Site
This makes Site an unscoped entity (similar to how User and Sponsor
do not have a scope).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:28:36 +0000] rev 701
If an entity is unscoped, do not try to retrieve a scope
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:02:29 +0000] rev 700
Dynamically add sidebar items for programs
This adds sidebar items for programs as appropriate. From the docstring:
A menu item is generated for each program that is currently
running. The public page for each program is added as menu item,
as well as all public documents for that program.
Additionally, we allow access to a program's public page to everyone,
even if the user is not logged in.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:02:03 +0000] rev 699
Add and use a placeholder for checkIsDocumentPublic
We should somehow decide whether a document is publically viewable.
This should of course be dependant on what the document is, e.g. the
FAQ of a program should be allow(), whereas a student's application
should be checkIsMentor().
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:01:31 +0000] rev 698
Added a public redirect
Also some minor cleanups in the redirects code.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 13:49:22 +0000] rev 697
Prepare for callbacks that return more than one menu
This paves the way for callbacks that dynamically construct their
menu based on in-db content, such as Programs and Documents.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 13:38:53 +0000] rev 696
Make use of the 'sidebar' param for user_self
Instead of overriding getSidebarLinks we use the sidebar param since
user_self is now in it's own View.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 07 Dec 2008 13:06:26 +0000] rev 695
Fixed email adress in urls.py.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 07 Dec 2008 12:41:28 +0000] rev 694
Fixes 'module' object has no attribute 'handler500' and 404 on instances where debug is False.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 07 Dec 2008 10:23:10 +0000] rev 693
Fixed the header on the List Programs page.
Patch by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 06 Dec 2008 22:34:25 +0000] rev 692
Reset the RELEASE_TAG to None (unreleased) now that the 0.1a20081206 release candidate branch has been created.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 06 Dec 2008 22:18:21 +0000] rev 691
Set RELEASE_TAG to 0.1a20081206rc for release candidate 06/12/2008.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 06 Dec 2008 21:32:36 +0000] rev 690
Fix imports sorting in soc.views.models.organization.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 06 Dec 2008 21:27:47 +0000] rev 689
Add missing dots in docstrings in modules.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 06 Dec 2008 21:05:17 +0000] rev 688
Changed generic_name to group_label in models/program.py.
Also I've updated the comments and help text to explain the meaning of this field.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 19:25:01 +0000] rev 687
Updated to the latest version of upload.py
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 16:52:21 +0000] rev 686
Load ../../google_appengine_1.1.7/ into
trunk/thirdparty/google_appengine.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 06 Dec 2008 14:50:45 +0000] rev 685
Comment fixes for state in group and role model.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:46:19 +0000] rev 684
Fix for randomely ocurring bug
The bug and it's fix are described by the first comment from Guido
in http://code.google.com/p/googleappengine/issues/detail?id=772.
Patch by: Guido van Rossum
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 06 Dec 2008 14:44:02 +0000] rev 683
Changed state property for models/group.py to be optional as the description states.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:25:24 +0000] rev 682
Added organizations
Really basic for now, next stop is to have a proper document selector
for the Presences.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:24:50 +0000] rev 681
Cleanups in group and program
The missing super call in group prevented the scope from being set
as it should be.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:24:26 +0000] rev 680
Added a new create regexp in urls for just scope_path
Now that scope_path is properly defined we can add a url matching
just the scope path. This allows some other custom create regexps to
be removed/rewritten.
Note: It needs to be -after- the full key_name regexp, since for
arbitrarily nested scopes it would always match as just scope_path,
even if there are other fields needed after the scope.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:23:53 +0000] rev 679
Introduce dynamic scope_path regexps
Instead of relying on scope_path's being "one slash deep", we should
instead allow for either:
1. scope_paths that have a pre-defined depth
2. scope_paths that can be arbitrarily deep
We achieve 1 by setting an entities scope_logic to another logic
module. We then recursively call getScopeDepth until we get to the
topmost entity (that is, an unscoped entity).
A little different is the solution to 2, since some entities can have
an arbitrarily deep scope (such as Documents), we need to have some
way of signaling this to getScopePattern. A clean solution is to
return None, rather than a number. If None is returned, the
SCOPE_PATH_ARG_PATTERN is returned as regexp instead, which will
match an arbitrarily deeply nested scope.
The solution for 2 requires that we return None somewhere in the
scope_logic chain, the most straight forward method to do so is to
override getScopeDepth anywhere such a scope is needed and make it
return None. A more elegant solution however, is to set the
scope_logic to that module in all entities that require it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:23:25 +0000] rev 678
Added a linkable logic module
The linkable logic module is used to signal the fact that the scope
of an entity can be any linkable.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 12:13:19 +0000] rev 677
Fix scope lookup for unscoped entities
As scope_logic is now always set (since r1250), we need to check if
it is None, rather than check if it exists.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 12:12:58 +0000] rev 676
Swap the order of request key fields
This will make it easier to remove scope_path as explicit key field
at some point by having it as inplicit key field for all entities.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:53:26 +0000] rev 675
Use key().name() instead of link_id
This is now possible because key_name is constructed purely from the
key fields of an entity. It is not sufficient to use just link_id,
that works only for single-scoped entities (e.g., those that either
do not have a scope, or that have a scope which itself does not have
a scope). It would break if there was an entity that has a scoped
scope (it would only include the scope's link_id in the url, which
made it impossible to look up the scope as we missed the link_id of
the scope's scope).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:53:05 +0000] rev 674
More DI on scope_logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:31:08 +0000] rev 673
Partial revert
Last commit contained some changes that did not belong there, revert
them for now.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:26:15 +0000] rev 672
Some more cleanups in base.Logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:21:41 +0000] rev 671
Apply DI on the scope logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:21:01 +0000] rev 670
Removed unused file path_link_name
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:20:44 +0000] rev 669
Remove unneeded method getSuffixValues
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 05 Dec 2008 22:54:43 +0000] rev 668
Some style and typo fixes in different modules.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 05 Dec 2008 22:27:04 +0000] rev 667
Some more import sorting fixes and docstring typos in program modules and soc.views.helper.redirects module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 05 Dec 2008 22:25:57 +0000] rev 666
Fix import sorting and docstring typos in soc.views.models.program module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 05 Dec 2008 22:25:08 +0000] rev 665
Fix import sorting in soc.views.sitemap.build module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 05 Dec 2008 12:24:02 +0000] rev 664
Some style fixes in soc.logic.helper.notifications module. Little changes in welcome.html template.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 04 Dec 2008 10:09:38 +0000] rev 663
Make base.View.create lookup the scope if appropriate
Also re-introduce the custom description of the list selection for
the redirection.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 23:49:10 +0000] rev 662
Make use of the new generic key_name by lookup up scope_path
This way base classes do not have to look up the 'scope' property,
instead they can rely on the base class to do it for them provided
they define the 'scope_logic' param.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 23:48:33 +0000] rev 661
Change the key name to not include entity type
This allows for direct lookup by scope_path, rather than having to
do more complex things.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 23:48:10 +0000] rev 660
Introduced django_extra_patterns
This way no classes ever need to override the getDjangoURLPatterns,
which results in less code, which is also more clear (that is, it is
immediately obvious that a View adds an extra mapping if it sets
the new django_extra_patterns value, or that it overrides the mapping
when it sets django_patterns_defaults.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 21:28:16 +0000] rev 659
Make scope_path required for program
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 21:27:52 +0000] rev 658
Factor out the Group part of Sponsor
This makes it possible to reuse the Group logic.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 21:27:27 +0000] rev 657
Rename role.RoleView to role.View
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 21:27:01 +0000] rev 656
Cleanups in the views module
Mainly rename from original_params to new_params (so that the keyword
argument in the __init__ method is the same for all). Also use
super(View, self) where appropriate.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 21:26:16 +0000] rev 655
Cleanups to the logic module
Mainly converting to super(Logic, self) and adding some missing
empty lines while at it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 22:05:13 +0000] rev 654
Fixed the 'New Host' link
Also removed the 'Invite Host' button from the Sponsor view now
that the link is working.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 22:04:38 +0000] rev 653
Make the 'select entity' View generic
This allows the selection of any entity from an arbitrary View
by specifying the 'target view' and the redirect function.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 22:04:15 +0000] rev 652
Cleanups in preparation of general selector view
Renamed LIST... to DEF_LIST since it is a global definition.
Renamed getCreateProgramRedirect to getCreateRedirect since it will
work on all entities as it uses params.
Added a getParams method to base.View
Updated selectSponsor as appropriate.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 22:03:46 +0000] rev 651
Remove the logic parameter from getListContent
Now that params always has a 'logic' attribute, we can use that
instead of requiring that it is passed as argument.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 02 Dec 2008 20:14:14 +0000] rev 650
Changed clean_link_id to convert the input to lower characters for user comfort.
It has been changed in a couple of files, most importantly in logic/cleaning.py wich will be used by future forms to do their cleaning.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 20:10:23 +0000] rev 649
Finish Program
Added some fields, and made TinyMCE the editor for the description
field. Also updated the public page to show these new fields.
We really need generic public views...
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 18:48:42 +0000] rev 648
Brown paperbag fix in recent cycle breaking
Self is no longer used, 'error' should be used instead.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 17:59:44 +0000] rev 647
Swap order of merged params to fix sponsor select view
The sponsor select view (in 'create new program') was showing the
wrong information (and also using the wrong list template) because
the order in which the params were merged was wrong way around.
This fixes that and at the same time fixes the 'instruction_text'
attribute, which should be named 'list_description' instead. At the
same time we lookup and set Sponsor as the scope of the newly
created program.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 02 Dec 2008 17:14:18 +0000] rev 646
Remove cyclic imports by moving response method of out_of_band.Error class to soc.views.helper.responses module as errorResponse function. Apply changes to affected files.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 02 Dec 2008 11:20:08 +0000] rev 645
Remov unused import from Quiz model and add missing blank line.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 02 Dec 2008 10:44:56 +0000] rev 644
Remove Great Britain from country list. Great Britain was included as a country, although it has a country code (.gb) it's not a state. United Kingdom is correct and remains in the list.
Patch by: Matthew Wilkes
Review by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 01 Dec 2008 21:38:25 +0000] rev 643
Added programs
Currently the programs are somewhat of empty, but due to the
ease with which we can add new fields later, it is acceptable
to commit it in it's current form.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 01 Dec 2008 21:37:27 +0000] rev 642
Allow for extra dynamic fields for the create form
Also some minor cleanups, such as making base.Logic inherit from
object, as per the style guide.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 01 Dec 2008 21:30:01 +0000] rev 641
Fixed a styling error.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 01 Dec 2008 21:03:20 +0000] rev 640
Added User welcome message.
Added templates/soc/mail/welcome.html as a template for the message.
Also fixed a cyclic import that was about to happen in notifications.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 01 Dec 2008 12:37:16 +0000] rev 639
Some docstring fixes in few modules (soc.views.helper soc.views.models.base).
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 01 Dec 2008 12:35:56 +0000] rev 638
Add missing dot and correctly sort imports in soc.logic.helper.notifications module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 01 Dec 2008 12:34:55 +0000] rev 637
Some docstring and missing blank lines fixes in soc.views.sitemap modules.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 30 Nov 2008 22:30:01 +0000] rev 636
Sponsor name now shows in List Hosts.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 30 Nov 2008 22:15:39 +0000] rev 635
Moved sendInviteMessage to a new module in logic/helper/notifications.py.
Renamed sendInviteMessage to sendInviteNotification.
Removed the now obsolete imports in logic/models/request.py.
This has been done to keep the models/logic modules clean.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 30 Nov 2008 21:49:14 +0000] rev 634
Changed email address in logic/models/base.py.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 30 Nov 2008 21:28:25 +0000] rev 633
Allow developers access to anything that does a checkIsInvited.
Patch by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 17:37:06 +0000] rev 632
Remove unused imports from some modules.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 17:35:48 +0000] rev 631
Fix typo and too long lines in soc.logic.models.request module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 17:35:05 +0000] rev 630
Add missing import, remove unused import and add missing parameters to methods in soc.views.models.user_self module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 17:06:32 +0000] rev 629
Add missing dots and fix too long line in soc.views.helper.dynaform module. Remove unused imports in soc.views.models.document module. Fix too long lines. Add missing docstring for Meta classes.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:46:32 +0000] rev 628
Add module docstring and license for soc, soc.models, soc.views.helper.templatetags.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:44:27 +0000] rev 627
Remove python-graph from thirdparty, remove check_includes script and graph folder from scripts. This functionality is (cyclic imports check) is supported by pylint automatically so we don't need that any more.
Patch by: Pawel Solyga
Review by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:39:18 +0000] rev 626
Fix too long lines in soc.views.models.request, remove unused imports and change pending requests list description. Remove unused imports from soc.logic.path_link_name module.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:36:17 +0000] rev 625
Add missing dots in soc.logic.lists module. Change method names to comply with Style Guide. Make class variable protected by adding "_" to the name of variable. Update lists templates respectively (methods name change).
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:32:23 +0000] rev 624
Remove unused imports in soc.views.models role, host and site modules. Add missing parameter in getDjangoURLPatters method.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:29:48 +0000] rev 623
Remove unused imports in soc.views.models.user and soc.views.models.sponsor modules.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 15:25:31 +0000] rev 622
Remove unused import in soc.models.task.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 15:25:07 +0000] rev 621
Fix too long lines in soc.model.work.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 29 Nov 2008 23:51:24 +0000] rev 620
Put the redirects in the views/helper/redirects.py module.
Changed the getCreateRequestRedirect to comply with the new signature. Also changed it's docstring to a more suitable one.
Fixed a useless merge in views/models/role.py in the process.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 22:48:15 +0000] rev 619
Style fixes for previous commit
We also need to run pylint.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 29 Nov 2008 22:36:51 +0000] rev 618
Added invitation received message upon creating a new invite.
Moved the inviteAcceptedRedirect into the logic code. Added a TODO for further user notification upon creating a request.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 21:58:34 +0000] rev 617
Now invited users can create a new Host profile
Before the invited user had to be a developer for this to
work. Now, instead the default checkIsDeveloper check for
the 'edit Host', a custom checkIsInvite check is used.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 21:21:04 +0000] rev 616
Fixed requests not working anymore
We really need a test suite.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 21:04:09 +0000] rev 615
Fixed a bug in latest commit
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 19:45:19 +0000] rev 614
Moved getSidebarLinks to sitemap.sidebar
This is the fourth, and final patch, that attempts to
improve the cohesion in the base.View class.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 19:44:48 +0000] rev 613
Moved getDjangoURLPatterns to sitemap.sitemap
Third commit in a series that aims to improve the cohesion
in the base.View class.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 19:00:03 +0000] rev 612
Moved checkAccess and getCleanedFields into access and forms
A second patch in an effort to increase the cohesion in the
base.View class.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 18:30:58 +0000] rev 611
Move parameter construction into a seperate module
This is part of an effort to make base.py less bloated
and have it's methods be more cohesive.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 17:20:52 +0000] rev 610
Documented params usage in soc/views/models/base.py
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 29 Nov 2008 14:41:43 +0000] rev 609
Fixed AUTHORS to comply with the specified format
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 29 Nov 2008 13:44:02 +0000] rev 608
Added _onCreate _onUpdate and _onDelete methods to logic/models/base.py.
These methods can be overwritten by other logic/models/ modules to serve as a way to for instance send out an update message.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 29 Nov 2008 11:26:04 +0000] rev 607
Fixed typo in docstring.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 00:12:47 +0000] rev 606
Make forms generic
Currently only Sponsor uses the new generic forms, as such this
makes the form code more complex. The other forms, however, can
be converted in a similar way, which will result in a lot of
code reduction.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 00:12:16 +0000] rev 605
Made _logic a param
The _logic parameter is added in base.py to make this as small and
non-intrustive change.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Nov 2008 23:08:14 +0000] rev 604
Added Lennard to the AUTHORS file
Long overdue patch, perhaps we should add a test to the test suite
to check if all authors are propertly credited in AUTHORS...
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Nov 2008 22:49:26 +0000] rev 603
Make Sponsor use the new DynaForm module
Currently only a slight reduction in code, but hopefully some
(or all?) of the form's definition can move up into base.View.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Nov 2008 22:49:03 +0000] rev 602
Added a DynaForm module
This allows GAE forms to be defined 'semi' dymamically, rather than
by having to explicitly create the new class.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Nov 2008 22:48:41 +0000] rev 601
Added a cleaning module
This module is the start of a (hopefully more generic) set of
cleaning functions that can be used in the GAE forms.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 28 Nov 2008 08:24:57 +0000] rev 600
Apache license and __author__ added. Also added a todo for the __doc__ string.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 27 Nov 2008 23:41:08 +0000] rev 599
Moved check_includes and graph from app to scripts
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 27 Nov 2008 23:40:30 +0000] rev 598
Change command parsing and do file walking manually
Also print warnings to stderr
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 27 Nov 2008 21:57:24 +0000] rev 597
Proper working implementation of a cycle detection algorithm, that
returns the cycles (rather than printing them) by constructing the
path between the two nodes that were found to be cyclic.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 27 Nov 2008 17:22:39 +0000] rev 596
Fix some typo in logic.models.base.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 26 Nov 2008 23:56:35 +0000] rev 595
Added rudementry include checker
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 26 Nov 2008 23:56:19 +0000] rev 594
Added the python-graph module
http://code.google.com/p/python-graph/
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 26 Nov 2008 23:55:10 +0000] rev 593
Removed cruft from the tests directory
The current tests were outdated (they tested code that no longer
exists), and were causing the test suite (insofar as it deserves
that name) to fail for no reason.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 26 Nov 2008 23:54:40 +0000] rev 592
Fixed an outstanding TODO for tlarsen
A nice side-effect is that accounts now does not depend on
out_of_band, sadly that does not fix the cyclic dependency, but it is
a nice side-effect nonetheless.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 26 Nov 2008 21:34:11 +0000] rev 591
Lists now use plural_name instead of name in the description.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 26 Nov 2008 20:50:56 +0000] rev 590
Created a seperate module for editSelf things
This improves the coherency in the user module, while at the same
time making it easier to set proper access control for the editSelf
related pages.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 26 Nov 2008 16:33:36 +0000] rev 589
Fixes empty spaces appearing in the menu if a person is not allowed to see this menu or if no menu is defined.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 26 Nov 2008 15:52:38 +0000] rev 588
Fixes an error that occurs when moving the document by setting another link ID or Scope path. This is due to the fact that author is a required property in the Work model.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 25 Nov 2008 23:16:32 +0000] rev 587
Fixed some access related bugs
These were not obvious previously, but with the sidebar not showing
up when one does not have access, they stood out.
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 25 Nov 2008 17:19:37 +0000] rev 586
Make the sidebar dynamic depending on the user's rights
This is done by doing the usual access checks that are also called
when the user actually visits the page.
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 25 Nov 2008 17:18:57 +0000] rev 585
Have the sidebar be rebuilt on every request with callbacks
This makes is possible for the sidebar constructing to take
into account the current users privilidges etc.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 24 Nov 2008 22:34:56 +0000] rev 584
Adds and uses a modified_by property in models/work.py
This property is used to display the user who last edited the work in the document viewer.
Fixes author being set on every edit.
Also edited the style-sheet to fix issue i128.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 24 Nov 2008 18:31:46 +0000] rev 583
Fills in the Founded By box in edit sponsor with the user's public name
Fixes Founded By being overwritten on edit by another user.
Patch by: Lennard de Rijk
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 18:48:28 +0000] rev 582
Set trunk RELEASE_TAG back to None after creation of 0.0a20081123rc release
candidate branch.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 18:45:04 +0000] rev 581
Attempt number two at a release process, with correct usage of /tags/ this
time around.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 07:38:00 +0000] rev 580
Reset the RELEASE_TAG to None (unreleased) now that the 0.0a20081123 release
tag has been created. Add some release instructions to the soc/release.py
__doc__ string.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 07:25:31 +0000] rev 579
Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 07:15:13 +0000] rev 578
Add release tag string, Melange "badge" image, and Google App Engine version
to base.html template.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 06:34:22 +0000] rev 577
Provide a simple method in the Role Model class that aliases the existing
'display_name' Property to 'name'.
Patch by: Todd Larsen
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 23 Nov 2008 00:44:13 +0000] rev 576
Fixed spurious 'Invite Host' button in 'create host'
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 23 Nov 2008 00:38:35 +0000] rev 575
Fix Host invites
This fixes the UI for Host invites by hiding the fields that
are not used, and by auto-filling in the user and scope fields
based on link_id and scope_path.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 23:34:06 +0000] rev 574
Fixed pages for missing home page (document) links
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 23:23:37 +0000] rev 573
Moved the custom error.html page for Site to it's proper place
Also made the error template a proper parameter instead of re-using
the edit/public template.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 23:08:26 +0000] rev 572
Made list pagination part of Lists
This way the pagination for one list does not affect the pagination
of a another one.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 22:47:10 +0000] rev 571
Remove polymodel module from repository.
Patch by: Pawel Solyga, Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 22:46:37 +0000] rev 570
Remove polymodel folder from DEFAULT_APP_DIRS variable in make_release script.
Patch by: Pawel Solyga, Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 22:45:14 +0000] rev 569
Remove inheritance_line from Form meta class excludes in all currently used forms.
Patch by: Pawel Solyga, Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 22:44:02 +0000] rev 568
Remove inheritance from PolyModel in Answer and Linkable model. Replace PolyModel inheritance with base.ModelWithFieldAttributes.
A little explanation why we are trying to get rid of PolyModel. We decided to use PolyModel in order to get support for model inheritance in App Engine, however as we know this was a hacky workaround which added inheritance_line property to each model. Recent commits which added Linkable model caused our data viewer in admin console to show only one model "Linkable" since all of the classes inherited from it. Basically datastore viewer was useless plus we had a really big mess in datastore since everything was of one kind (Linkable). It's almost like creating one huge table in SQL database. Upcoming commits will eliminate all usage of PolyModel and finally remove PolyModel from our repository. We are still using inheritance however this doesn't modify how models are saved in data store so basically it's like copy and paste of properties from parent models.
Patch by: Pawel Solyga, Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 22:30:32 +0000] rev 567
Add customized User Edit Developer view template with working listing of former accounts.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 21:33:54 +0000] rev 566
Disabled 'Home Settings' menu until we have a use for it
Also fixed a typo in the request row template that caused it
to display the wrong value.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 21:15:21 +0000] rev 565
Removed no-longer used code
This code is no longer in use and has been replaced by
getForFields and similar methods.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 20:54:42 +0000] rev 564
Hide the 'home' field until we have a proper document selector
Rather than having a confusing 'home' field that lists all Linkables
(in other words, everything in the database), we're better off hiding
it for now.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 20:38:27 +0000] rev 563
Fixed redirects to work consistently
Revision 1133 broke 'Edit Site Settings' by relying on the
fact that the url for create pages is '<entity>/create', which
it is not for 'Edit Site Settings'.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 20:10:43 +0000] rev 562
Made Request use the new link_id and scope_path
This cleans a lot of weird user interface badness and
demonstrates how Linkable can be used.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 22 Nov 2008 18:58:32 +0000] rev 561
Added a requests overview using the new multi-list page.
Renamed the roles page to Requests Overview.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 18:22:36 +0000] rev 560
Requests are almost working now
You can accept a request by clicking on it in the roles view.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 18:16:42 +0000] rev 559
Fix names of methods in soc.views.model.site.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 18:15:58 +0000] rev 558
Fix wrong comment format in request.py.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 22 Nov 2008 18:12:00 +0000] rev 557
Added missing import
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 15:11:59 +0000] rev 556
Refactor requestSelf to be make use of the new split
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 14:53:23 +0000] rev 555
Split the list view code up in three pieces
1. getListContents which returns the required contents dictionary
2. _list which returns the response for a specified list of contents
3. list which constructs just one content dict and passes it to _list
This way it is easier to do step 1 and 2 in other code than list(),
which makes it possible to display multiple list pages (by calling
getListContents multiple times and passing the result to _list).
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 14:01:39 +0000] rev 554
Renamed templates/soc/entity/list/entity_*.html to *.html
This makes it possible to generalize list template positions.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 13:59:34 +0000] rev 553
Make redirect generic using the new Lists object
This makes it possible (and easier) to have the list view redirect
to any page specially tailored to the current item.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 22 Nov 2008 11:19:20 +0000] rev 552
Fixed the description on the user's role page. This broke in r1111. The new lists also removed the need for instruction_text in models/base.py.
Removed an obsolete assignment in models/request.py
Patch by: Lennard de Rijk
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 10:29:13 +0000] rev 551
Define a default for rights['public'] in views/models/base.py. Alter rights
in views/models/site.py to allow anyone, even signed-out users, to view the
site home page.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 10:06:03 +0000] rev 550
Hide the 'scope' property from forms for now, since this is really supposed
to be set by "Role context" as determined by logic code in the controller.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 09:49:13 +0000] rev 549
Fix some broken help_text bubbles (they are truncated or not displayed if they
contain " double quotation marks). Add notice text (sort of ugly at the
moment, Dmitri? :) explaining the "Public name" and "Link ID" fields in great
detail. This patch is in preparation for making "Link ID" immutable for Users
in a subsequent patch.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 09:22:44 +0000] rev 548
Fix for 404 occuring when signing out during the creation of, for example,
a new Document. This patch makes sure that the request.path is not altered
when requesting the create page (alteration of which caused the 404). This
also results in the seeds now being remembered when being forced to log in.
The editPost method now correctly switches to the edit path after a
successful edit.
Patch by: Lennard de Rijk
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 09:08:29 +0000] rev 547
Fixed former_accounts detection by supplying the missing error message.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 08:55:55 +0000] rev 546
Rename the User.public_name Property to simply 'name' (but leave the verbose
name as "Public name"). This is to take advantage of standardizing on 'name'
in the common edit template (and possibly other common templates). The
Property was renamed because public_name was already a "name", unlike the
recent change to the Work Model class, where 'title' was "aliases" using a
tiny name() method instead.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 08:44:54 +0000] rev 545
Include name of entity in the text of the link to the read-only public view
present in the common edit template. Provide a simple method in the Work
Model class that aliases the existing 'title' Property to 'name'.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 08:40:10 +0000] rev 544
Fix broken Site settings form by uncommenting code that was inadvertently
committed commented out.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 07:57:00 +0000] rev 543
Merge soc/logic/out_of_band.py into soc/views/out_of_band.py. Merge
errorResponse() and requestLogin() from soc/views/simple.py into
out_of_band.Error and out_of_band.LoginRequest exception classes, respectively.
Remove no-longer-used soc/logic/out_of_band.py and soc/views/simple.py. Fix
some problems where usage of out_of_band was broken.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 03:13:59 +0000] rev 542
Remove redundant dicts for URL patterns and sidebar menu text, and use the
existing params dict instead. Add a sidebar_heading customization to params.
Better differentiate the 'User (self)' and 'Users' sidebar menus. Remove
the redundant Site settings menu items now that the Site entity is a singleton.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 01:55:19 +0000] rev 541
By default, exclude files that are likely to be binary files.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 00:23:10 +0000] rev 540
Add User.public_name help text, per discussions on melange-soc-dev.
Patch by: Todd Larsen
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 21 Nov 2008 23:45:37 +0000] rev 539
Allow for multiple list objects
At the moment there's not really a practical use for it, since there
is no way to make soc.views.models.base.View.list() show more than
one list, but it shouldn't be too hard to allow for that.
Patch by: Sverre Rabbelier
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 23:45:15 +0000] rev 538
Make it more obvious that a format string constant is a format string by
appending _FMT.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 22:38:38 +0000] rev 537
Fix getKeyValues() method footprint mismatches in soc.logic.models.site.Logic
after the recent refactoring. Remove 'Link scope' drop-down from Edit Site
Settings form.
Patch by: Todd Larsen
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 21 Nov 2008 12:01:59 +0000] rev 536
Add a page name for 'Edit Main Site Settings'
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 11:44:39 +0000] rev 535
Refactor classes in soc/logic/models to make more use of inheritance. Add
some missing classes, such as soc.logic.models.group.Logic, so that
key name similarities between various Groups can be exploited via inheritance
instead of repetition of code.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 10:46:15 +0000] rev 534
Replace HomeSettings with Presence Model class. Replace SiteSettings with
Site Model class. Derive Group Model class from Presence, adding the "home
page settings" properties in a Melange site presence to every Group.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 08:41:23 +0000] rev 533
Move LINK_ID and SCOPE_PATH regular expressions to soc/models/linkable.py.
Fix some too-long lines. Change key names back to type:scope_path/link_id
(instead of type:scope_path:link_id). Some minor __doc__ string updates.
Patch by: Todd Larsen
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 21 Nov 2008 08:38:53 +0000] rev 532
Removed unnecesary lines according to comment on r1067
Patch by: Lennard de Rijk
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 08:13:52 +0000] rev 531
Make editSelf() work by adding 'inheritance_line' to the list of excluded
fields in the UserForm. Also, fix a few too-long lines and add some missing
parentheses (the style guide says do not rely on operator precedence).
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 07:36:44 +0000] rev 530
Remove imports of the soc.logic.key_name module, since it was deleted by r1071
(and wasn't referenced in these modules anyway).
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 07:07:55 +0000] rev 529
Replace nick_name and its variants with public_name. Remove the
soc/templates/soc/person/edit.html template, since it does not appear to be
referenced anywhere (and contained a nick_name reference that would otherwise
need to be remedied).
Patch by: Todd Larsen
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 20 Nov 2008 23:51:45 +0000] rev 528
Some indention and too long lines fixes in soc.views.models.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 20 Nov 2008 23:34:26 +0000] rev 527
Delete some more not needed directories this time in soc/logic and soc/templates.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 20 Nov 2008 23:31:44 +0000] rev 526
Remove not needed directories in soc/views.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 23:07:38 +0000] rev 525
Created a checkIsInvited method
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 20 Nov 2008 22:51:07 +0000] rev 524
Small comment fix in Linkable model.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 22:44:22 +0000] rev 523
Removed one more unneccesary module
Last commit reminded me that this one is obsolete too.
Todd Larsen <tlarsen@google.com> [Thu, 20 Nov 2008 22:33:18 +0000] rev 522
OK, this one file was missing from r1061 for some reason.
Patch by: Todd Larsen
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 21:57:25 +0000] rev 521
Minor improvements to roles page
Mainly not hard-coding the page name and showing all requests
that are _accepted_, instead of the one's that aren't yet.
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 21:18:19 +0000] rev 520
Split a too long line
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 20 Nov 2008 21:14:37 +0000] rev 519
Adds the user's role page. Currently this only has an overview of the user's unhandled requests.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 20 Nov 2008 21:08:07 +0000] rev 518
Changes the list template to use an instruction_text property that sets the text above the list. This makes the create_invite template unneeded. The instruction_text comes in handy when defining special lists.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 21:06:21 +0000] rev 517
Deleted unused files and files
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 20 Nov 2008 21:01:18 +0000] rev 516
The list method in models/base.py can now use a filter to make a selection of entities to show.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 20:59:10 +0000] rev 515
Moved the last remnant of soc.views.user.profile to soc.views.models
Sadly, it is non-trivial to port this code to be generic enough to
work with soc.views.models.base.edit. On the other hand, this will
make customizing the editSelf code a lot easier.
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 20:58:46 +0000] rev 514
Move saved message to the base class
This removes some duplicate code that was in all the child
classes of soc.views.models.base.View.
Todd Larsen <tlarsen@google.com> [Thu, 20 Nov 2008 19:43:31 +0000] rev 513
Rename partial_path to scope_path, ignoring case, etc.
(Similar to the recent link_name => link_id change). Also, fix two missed
"Linkname" column headers in some templates.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Thu, 20 Nov 2008 18:50:30 +0000] rev 512
Rename link_name to link_id everywhere, regardless of case (so LINK_NAME
becomes LINK_ID, "link name" becomes "link id", etc.). Also, rename LINKNAME
to LINK_ID.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Thu, 20 Nov 2008 18:06:43 +0000] rev 511
Ignore "dot" directories like .hg and .svn by default.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Thu, 20 Nov 2008 17:54:51 +0000] rev 510
id() is a built-in function in Python, so rename the property to link_id. Add
a scope_path StringProperty to cache the string representation of the
transitive closure of the nested scopes of an entity.
Patch by: Todd Larsen
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 20 Nov 2008 16:07:40 +0000] rev 509
Adds the rights['edit'] to models/base.py wich was left out in r1049.
Fixes two small typos in the comments in logic/mail_dispatcher.py
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 15:41:31 +0000] rev 508
Add a access.deny and access.allow method
Respectively always deny, and always allow access to view
a part of the site.
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 15:41:14 +0000] rev 507
Fold the _rights dictionary into params
Todd Larsen <tlarsen@google.com> [Wed, 19 Nov 2008 21:05:31 +0000] rev 506
Fix bug where script fails when it encounters a socket (which is not a regular
file). Fix bug where exception is raised if error occurred before parser
object was returned from _buildParser(). Add a --notext option, so that just
the file paths will be output on matches (both find and find/replace); useful
with xargs.
Patch by: Todd Larsen
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 19 Nov 2008 08:39:29 +0000] rev 505
Fix user key stuff
Key field for user is now link_name, instead of account, as such
the method's used by 'create new user' should be updated.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 18 Nov 2008 21:17:53 +0000] rev 504
Fix not working request creation.
Patch by: Pawel Solyga
Todd Larsen <tlarsen@google.com> [Tue, 18 Nov 2008 03:28:47 +0000] rev 503
Derive Linkable Model class from PolyModel.
Patch by: Todd Larsen
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 17 Nov 2008 22:21:02 +0000] rev 502
Add new parameters to views: url_name which is name used in urls (instead of using lower entity names) and module_name which is used for constructing django urls. Append changes to all affected files. Fix some title names. Change urls that included underscores like "site_settings" into urls with slash "site/settings". Plus some other minor fixes.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 17 Nov 2008 22:12:34 +0000] rev 501
Fix not working feed display for home settings public view. Modify blog javascript so that we can define how many feed entries we want to display. Change default number of entries to 3 as suggested by Leslie and Chris.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 17 Nov 2008 12:18:09 +0000] rev 500
Replace old page parameter doc string description with new one for page_name.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 17 Nov 2008 10:36:35 +0000] rev 499
Fix missing dots in doc strings and some other doc string corrections.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 17 Nov 2008 10:34:21 +0000] rev 498
Remove empty docs folder in soc/views.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 17 Nov 2008 00:01:59 +0000] rev 497
Added a default _editSeed method
Also added the invite shortcut in the host view.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 17 Nov 2008 00:01:33 +0000] rev 496
Temporary fix for creating a new user account
This should probably be solved more elegantly, but edit_self is going
to be used soon.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 23:04:48 +0000] rev 495
Added basic 'invite' functionality
Currently the invite can only be created, existing ones can be
listed and edited, or deleted if desired.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 23:03:37 +0000] rev 494
Refactored SiteMap to be generic
With this mechanism (in combination with the new sidebar) in place
adding a new entity to the site becomes very easy, rather than having
to add a lot of code to 'map.py', one can simply register with
the sitemap modules.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 23:02:31 +0000] rev 493
Refactor the sidebar to use Django templates
With this change the html for the sidebar is no longer generated by
Melange, instead it's delegated to Django (which is what it does
best anyway). The downside is that it is no longer possible to have
arbitrary deeply nested menu's.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 22:11:58 +0000] rev 492
Fixed redirection after creation to Just Work
Accomplished by generating a link to the creation page instead of
trying to deduct it from the current path.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 22:11:16 +0000] rev 491
Improved public page link text
Instead of putting the name of the entity in the link text to the
public page, a way better solution is to put static text there.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 17:59:30 +0000] rev 490
Allow pre-seeding a create form
With this feature the Site Settings create form can be pre-seeded
with it's "magic values", which allows those fields to be hidden
from the user. At the same time, it allows 'Edit Main Site Settings'
to either create or edit the Main Site Settings.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 15:51:19 +0000] rev 489
Fixed typo in soc.views.models.host redirects
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 15:50:57 +0000] rev 488
Restored default Sponsor edit view
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 15:50:29 +0000] rev 487
Fixed a typo in soc.logic.models.base
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 15:50:05 +0000] rev 486
Added a filter method to dicts
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 16 Nov 2008 15:26:40 +0000] rev 485
Change id to account in base.html template (without this change we couldn't signout using top right links and also couldn't display currently logged in account information on the left side of links). This patch is related to commit in revision r1022.
http://code.google.com/p/soc/source/detail?r=1022
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 16 Nov 2008 12:48:23 +0000] rev 484
Add an e-mail dispatcher that can be used to send messages via the website. Add base and invitation templates that can be used with email dispatcher to send invitation emails. Please read the module doc string for more information how to use it.
Patch by: Lennard de Rijk, Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 15 Nov 2008 21:46:23 +0000] rev 483
Fix broken User link_name validations. Changes in r1014 still caused some problems so I came out with new idea to compare User accounts (previously called "id").
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 15 Nov 2008 16:17:11 +0000] rev 482
Factor out direct use of the page object
Instead of directly using the page object in the html,
pass around page_name. This will make it easier to remove
Page in favor of a simpler implementation.
Todd Larsen <tlarsen@google.com> [Sat, 15 Nov 2008 03:12:33 +0000] rev 481
Attempt to rename User.id to User.account, in preparation for making User be
derived from Linkable, which will have a property named 'id'.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Fri, 14 Nov 2008 06:36:42 +0000] rev 480
For those times when sed isn't enough, but awk is too much, there's munge.py...
Patch by: Todd Larsen
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 13 Nov 2008 20:46:41 +0000] rev 479
Make sure the user edit form has the complete mail adress in the user account field when opened. Replace confusing id field in form with email field. Editing the email adress of an existing user will still result in an error but that should be fixed soon.
Patch by: Lennard de Rijk
Review by: Pawel Solyga
Todd Larsen <tlarsen@google.com> [Thu, 13 Nov 2008 19:41:16 +0000] rev 478
upload.py (customized for use with codereviews.googleopensourceprograms.com)
updated from latest Rietveld release.
Patch by: Todd Larsen
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 13 Nov 2008 16:40:05 +0000] rev 477
Moved from docs -> document
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 12 Nov 2008 21:43:15 +0000] rev 476
Fixed typo in docstring
Todd Larsen <tlarsen@google.com> [Wed, 12 Nov 2008 07:28:12 +0000] rev 475
Copy the link_name regex patterns into linkable.py, in preparation for
removing them from path_link_name.py (eventually).
Patch by: Todd Larsen
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 11 Nov 2008 21:07:38 +0000] rev 474
Move all the properties from Person model to Role model. Update all the comments and docs according to the changes. Remove Person model.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 11 Nov 2008 19:49:00 +0000] rev 473
Fix broken User link name (it was possible to change link name to one that was already used, validation was not working correctly).
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 11 Nov 2008 01:02:56 +0000] rev 472
Move "(required)" text to third column instead of second column in templatetags, it's much more user friendly that way. Add new version of as_table that support our current error messages format, information about required fields and tooltips.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 23:18:06 +0000] rev 471
Remove stop parameter from home_settings and site_settings views. This is something Sverre didn't mean to commit :-) Add missing params description to the models Base class docs.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 22:50:27 +0000] rev 470
In soc.views.models.user module fix too long line. Delete unused email variable, add missing doc and rename self method and global variable to editSelf and edit_self so it's not confused with "self" used in classes and there is no outerscope variable name overwriting anymore.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 22:45:17 +0000] rev 469
Some name changes in soc.logic.site.map module for User self edit view.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 22:38:20 +0000] rev 468
Fix typo in linkable model and add some missing comments.
Patch by: Pawel Solyga
Todd Larsen <tlarsen@google.com> [Mon, 10 Nov 2008 18:00:47 +0000] rev 467
Initial thoughts on a Linkable Model class. Please comment.
Patch by: Todd Larsen
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 17:25:05 +0000] rev 466
Fix names typos in home_settings and site_settings modules.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 16:46:16 +0000] rev 465
Change Google Maps property name from gm_api_key to gmaps_api_key.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 16:40:51 +0000] rev 464
Change partial path and link name verbose names in home_settings.py. Some comments fixes in site_settings.py.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 16:07:18 +0000] rev 463
Add jquery folder to make_release.sh script to fix not working jquery on deployed app.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 14:40:16 +0000] rev 462
Adds a check to logic/valididate.py that checks the partial path format using a regexp. This regexp has been added to logic/path_link_name.py, therefore changing PATH_LINKNAME_REGEX to use the PARTIAL_PATH in building this regexp. Plus views/models/docs.py now uses the validation functions in the clean_ methods.
Patch by: Lennard de Rijk
Review by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:42:41 +0000] rev 461
Partially use the new user code
The 'edit self' is not working fully yet, the 'lookup' code is not
working at all, as such, only 'create', 'edit', 'list', and 'delete'
make use of the generic code.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:42:18 +0000] rev 460
Added a generic user page
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:41:54 +0000] rev 459
Preparation for generic user views
Added a getSuffixValues method that is meant to allow for having a
non-public field as key_name.
Also added support for a key-name field being embeded in the form so
that if the key-fields change the old key_name is not lost.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:41:01 +0000] rev 458
Added support for providing a custom params dict
This has been a long outstanding feature request for tlarsen, luckily
it turned out to be very easy to implement with the dict.merge
utility method. To have custom _rights one should instead to the
required access checks before calling the view method.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:40:39 +0000] rev 457
Fixed a typo in id_user
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:40:15 +0000] rev 456
Fix create redirect
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:39:50 +0000] rev 455
Added support for providing a custom params dict
This has been a long outstanding feature request for tlarsen, luckily
it turned out to be very easy to implement with the dict.merge
utility method. To have custom _rights one should instead to the
required access checks before calling the view method.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:39:26 +0000] rev 454
Minor fix to sponsor missing from the site restructure
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 09 Nov 2008 21:40:28 +0000] rev 453
Add a Google Maps property to Site Settings
Patch by: Lennard de Rijk <ljvderijk@gmail.com>
Reviewed by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 09 Nov 2008 21:24:49 +0000] rev 452
Fixes to {Site,Home}Settings
Also improved help text on HomeSettings partial_path and link_name.
Dmitri Gaskin <dmitrig01@gmail.com> [Sat, 08 Nov 2008 18:35:46 +0000] rev 451
Fixing the string for the default home page
Dmitri Gaskin <dmitrig01@gmail.com> [Sat, 08 Nov 2008 17:40:12 +0000] rev 450
Making the docs template prettier
Dmitri Gaskin <dmitrig01@gmail.com> [Sat, 08 Nov 2008 17:06:35 +0000] rev 449
Allowing + and - to be clicked in the menu
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 07 Nov 2008 22:24:01 +0000] rev 448
Fix not working former_ids. Add support for "Invalid accounts". Now when id from former_ids tries to create a profile "This account is invalid." error message is displayed. Compare emails in lower cases to prevent changing User email to the same email with different character casing (needs some more testing).
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 07 Nov 2008 22:13:20 +0000] rev 447
Some indention fixes and remove not needed variable in soc.logic.models.base module.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 05 Nov 2008 23:38:00 +0000] rev 446
Refactoring of {site/home}_settings to make them use base.View
This makes the way for deleting the key_name.py module
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 05 Nov 2008 23:36:28 +0000] rev 445
Major site restructuring, also deleting of many unused or obsolete documents
The new structure is as follows:
<entity>/list - list all <entitie>s
<entity>/create - create a new <entity>
<entity>/show/<key fields> - public page for <entity>
<entity>/edit/<key fields> - edit a <entity>
<entity>/delete/key fields> - delete a specific entity
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 05 Nov 2008 23:33:22 +0000] rev 444
Fix sponsor key field extraction
When extracting key field there is no sponsor or user object, instead
only their link names are known.
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 05 Nov 2008 23:32:59 +0000] rev 443
Implements base.Logic functions in home_settings, site_settings and work
This patch implements the base.Logic funtions needed for making
logic/key_name.py obsolete. This patch defines the needed functions
in home_settings, site_settings and work. All modules in logic/models
now have these functions defined.
logic/models/site_settings.py now inherits from
logic/models/home_settings.py because of their similar connection in
the corresponding models. Please note that the self._keyName for
these two modules still points to logic/key_name.py since entity_type
is still used in views/home.py.
A partial_path and link_name were added to HomeSettings as requested
by SRabbelier.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 04 Nov 2008 20:06:36 +0000] rev 442
Fix wrong redirect when changing partial path or link name. Remove an unnecessary assignment in logic/models/base.py that would generate an error when an entity did not exist.
Patch by: Lennard de Rijk
Review by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 04 Nov 2008 14:09:37 +0000] rev 441
Fix not working former ids feature of User Profile Developer Edit view. Add missing Error exception class to soc.logic.models.base module.
Patch by: Pawel Solyga
Todd Larsen <tlarsen@google.com> [Tue, 04 Nov 2008 02:50:55 +0000] rev 440
Third-party Javascript that should have been part of r891. Same license as
JQuery.
Patch by: Todd Larsen
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 03 Nov 2008 19:47:02 +0000] rev 439
Minor fixes needed for generic key name
We no longer try to retreive an entity when there are unset fields.
This sort of makes 'getIfFields' obsolete, since we check if fields
now anyway. This is needed because getKeyFieldsFromDict expects the
fields to be set.
Also a minor fix in a Django template so that the generic 'edit' page
has a working delete button again.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 03 Nov 2008 19:04:04 +0000] rev 438
Quick fix to fix user profile creation
This change will be obsolete when User refactoring is finished, but
it will fix the build untill then.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 03 Nov 2008 18:20:53 +0000] rev 437
Django Fix according to code.djangoproject.com/attachement/ticket/9115/check_for_unlink_in_temp.patch
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 03 Nov 2008 15:03:09 +0000] rev 436
Add missing TODOs to soc.logic.models classes. Fix comments format in base.Logic class. Changes based on comments to r972.
http://code.google.com/p/soc/source/detail?r=972
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 22:57:46 +0000] rev 435
Refactor out the abundance of dictionary (un)packing
Instead, keep the dict packed once packed, and only unpack
it when needed.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 22:56:52 +0000] rev 434
Added key field definitions to the User logic
This is the first part of making the User views generic.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 22:56:28 +0000] rev 433
Add a getForFields method
It allows for generic queries with restrictions specified
in a dictionary.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 22:50:22 +0000] rev 432
Add a generic method for getting a Keyname
This patch will make logic/key_name.py obsolete in the future when
everything is compliant with base.logic.
This also makes the naming of already compliant logic modules generic
and also fixes the _name field to be consistent with the naming in
key_name.py.
Note: This does not use Group/Sponsor, Group/School,
Group/Organisation or Group/Club.
Patch by: "Lennard de Rijk" <rijk0214@gmail.com>
Reviewed by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 18:25:07 +0000] rev 431
Added a missing 'pass' statement
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 18:10:30 +0000] rev 430
Create a Site Settings sub-menu
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 17:26:06 +0000] rev 429
Fixed typo in e-mail address
Instead of 'sverre@rabbelier.nl' everything read 'sverer@rabbelier.nl'
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 17:25:10 +0000] rev 428
Fixed typo in access check
Instead of checking for 'public' the rights for 'edit' were checked.
Todd Larsen <tlarsen@google.com> [Mon, 27 Oct 2008 19:31:51 +0000] rev 427
The pretty blue triangles from Google Code!
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Mon, 27 Oct 2008 19:19:44 +0000] rev 426
Add tooltips style display of help_text, instead of widening the form with
another (often ridiculously large) column. Also, version the .css and .js
files so that browsers won't display the wrong cached one when we change
something.
Patch by: Dmitri Gaskin, Todd Larsen
Review by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Mon, 27 Oct 2008 18:54:53 +0000] rev 425
Change Site and User sub-menus so that the "header" entry for those sub-menus
is not a clickable link, but instead just a placeholder.
Patch by: Todd Larsen
Todd Larsen <tlarsen@google.com> [Mon, 27 Oct 2008 18:36:19 +0000] rev 424
Use nice "plus" and "minus" symbols from Google Code, instead of current
triangles, for sidebar menu.
Patch by: Todd Larsen
Augie Fackler <durin42@gmail.com> [Sun, 26 Oct 2008 21:36:29 +0000] rev 423
Add javascript expandable menus.
Patch by: Dmitri Gaskin
Review by: Augie Fackler
Augie Fackler <durin42@gmail.com> [Sun, 26 Oct 2008 21:26:35 +0000] rev 422
Add jQuery.
Patch by: Dmitri Gaskin
Review by: Augie Fackler
Augie Fackler <durin42@gmail.com> [Sun, 26 Oct 2008 00:57:33 +0000] rev 421
Remove bogus import from a previous iteration.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 26 Oct 2008 00:52:23 +0000] rev 420
Remove newlines in sidebar
Augie Fackler <durin42@gmail.com> [Sun, 26 Oct 2008 00:27:17 +0000] rev 419
Start a test system for the webapp itself.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 26 Oct 2008 00:13:26 +0000] rev 418
Always check if a user filled in a user profile
Also, if there is no checks defined, still do the general
checks.
Tim Ansell <mithro@gmail.com> [Sat, 25 Oct 2008 22:28:31 +0000] rev 417
Do not include attributes which are inherited.
Also some extra comments.
Review URL: http://codereviews.googleopensourceprograms.com/1603
Tim Ansell <mithro@gmail.com> [Sat, 25 Oct 2008 22:26:34 +0000] rev 416
Run with Python 2.5
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 23 Oct 2008 12:00:29 +0000] rev 415
Fix typo in models/public.html template. Changes in Host Public Profile template (new header title and deletion of some fields).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 23 Oct 2008 11:42:22 +0000] rev 414
Fix mistakes in Host List templates. Change Host List second row to Sponsor name instead of Sponsor link name.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 23 Oct 2008 11:20:35 +0000] rev 413
Rename Host list templates from group_<something> to host_<something> and move then to soc/host/list folder. Update affected files with new paths.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 23 Oct 2008 09:47:38 +0000] rev 412
Fix Sponsor profile edit/create template. Don't show "View Sponsor Public Profile" link and Delete button in Create Sponsor view.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 23 Oct 2008 09:08:02 +0000] rev 411
Addresses comments to r866.
http://code.google.com/p/soc/source/detail?r=866
Patch by: Pawel Solyga
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 23 Oct 2008 05:21:41 +0000] rev 410
Moved all key_name related things to the logic modules
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 23 Oct 2008 05:21:26 +0000] rev 409
Addressed comments by Pawel and Todd
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 22 Oct 2008 17:18:57 +0000] rev 408
Inherit from BaseForm in all forms instead of from DbModelForm. This change doesn't include changes to templates and usage of as_table everywhere (work in progress).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 22 Oct 2008 17:03:08 +0000] rev 407
Fix not working Create views (committed in r864). Check if entity exist in constructKeyNameSuffix funtion and apply changes to affected files.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 22 Oct 2008 16:55:35 +0000] rev 406
Fix some wrong paths to templates (committed in r864).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 22 Oct 2008 16:21:50 +0000] rev 405
Add Google Analytics support to Site Settings. The reason I created additional SettingsValidationForm is because you cannot inherit from Form that has already defined Meta class, so it's sort of workaround for that. I didn't want to have same validation functions in both Form classes.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 22 Oct 2008 06:20:02 +0000] rev 404
Added a Host profile and generalized some views
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 22 Oct 2008 06:19:12 +0000] rev 403
Some more improvements to the generic view code
Namely getEmptyKeyFields and constructKeyNameSuffix,
some whitespace issues, and a few extra fields in the
context.
Patch by: Sverre Rabbelier
Reviewd by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 21 Oct 2008 01:22:36 +0000] rev 402
Incorperated suggestions by Todd
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:24:41 +0000] rev 401
Make use of the new generic views
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:24:32 +0000] rev 400
Added a generic version of the Document views
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:24:21 +0000] rev 399
Various improvements to the generic View code
Among others:
* Added the 'page' argument to the simple.errorResponse call
* Pass the result of getEmptyKeyFields to edit() in create()
* Fix typo's in error responses
* Fixed a todo to properly redirect on create
* Made editPost return something when the form is not valid
* Added an _editGet hook
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:24:07 +0000] rev 398
Rename 'existing_doc' and 'document' to entity
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:23:53 +0000] rev 397
Remove the google search box and the google analytics page
These are left over from the mockups (removed because they
caused long wait times when no internet connection is
available).
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:23:43 +0000] rev 396
Improve the error message for getIfFields
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Mon, 20 Oct 2008 22:18:32 +0000] rev 395
Add documentation in response to Pawel's comments:
http://code.google.com/p/soc/source/detail?r=832
Patch by: Todd Larsen
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 21:12:08 +0000] rev 394
Add BaseForm class to soc.views.helper.forms module (work in progress). This changes the way as_table function displays the form (for more information have a look into doc string). BaseForm is going to be used for all forms in Melange in future. Right now it's still missing custom form errors labels and "required" text in 3rd column, but that's added as TODO and I'm working on it.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 21:08:08 +0000] rev 393
Add colon after label in _field_as_table_row template for consistency reasons with form.as_table output.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 18:00:14 +0000] rev 392
Add "View Sponsor Public Profile" to Sponsor Edit view template. Remove not needed <p> in home/public.html template. Add missing '$' at the end of some urls in site/map.py module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 17:33:44 +0000] rev 391
Address comments to r844 and r845.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 16:17:32 +0000] rev 390
Remove unused imports, fix too long lines and indentions.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 13:14:40 +0000] rev 389
Fix identions, too long lines, unused imports and some other mistakes.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 13:06:20 +0000] rev 388
Add pylint configuration file (pylintrc) and do_pylint.sh script which runs pylint checkers on Melange code using pylintrc file as config. do_pylint.sh as default shows additional information like reports, TODOs, code similarities and unused imports, but you can run it in silent mode (--silent) which disables all of that. The only problem with unused imports in pylint right now is that it doesn't work in the situation described in last example at http://code.google.com/p/soc/wiki/PythonStyleGuide#Packages, so sometimes we get unused import soc when we actually shouldn't. However this can be fixed by writing pylint plugins (our own checkers) in future.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Oct 2008 00:34:33 +0000] rev 387
Addressed comments by Todd on r822
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 18 Oct 2008 21:55:38 +0000] rev 386
Fix identions in reflistprop module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 18 Oct 2008 21:54:13 +0000] rev 385
Remove not used imports in models. Fix missing spaces in models when operator not preceded by a space. Add missing ugettext_lazy import to Proposal model.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 18 Oct 2008 17:49:46 +0000] rev 384
Add missing ugettext_lazy for string in soc.views.user.profile module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 18 Oct 2008 17:27:53 +0000] rev 383
Fix missing keyword argument in soc.views.user.profile.create() function when calling edit().
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 18 Oct 2008 17:25:04 +0000] rev 382
Change Sponsor delete url from /site/sponsor/profile/<link_name>/delete to /site/sponsor/profile/delete/<link_name> to match convention used in Document delete url.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Chen Lunpeng <forever.clp@gmail.com> [Sat, 18 Oct 2008 05:59:04 +0000] rev 381
Fixed not working to edit a doc that selected from the docs list view. soc/templates/soc/docs/list/docs_row.html not full updated.
Patch by: Chen Lunpeng
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 05:30:57 +0000] rev 380
Change the "Site home page Document is missing" default text to give
instructions similar to those in the Site Settings form.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 05:26:53 +0000] rev 379
Remove another now-empty templates directory.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 05:25:47 +0000] rev 378
Nothing left in this templates directory, so remove it.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 05:11:37 +0000] rev 377
Refactor various site views into more generic locations, in preparation for
using access permissions to decide the fuctionality in the view, instead of
having lots of cut-and-paste copies of the same view functions.
site/home.py into more generic home.py
site/settings.py into more generic settings.py
site/docs/list.py into more generic docs/list.py
site/docs/edit.py into more generic docs/edit.py
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 04:56:39 +0000] rev 376
Add a style that appears in form error lists produced by Django Forms and
make it match the style of the existing td.formfielderror used by the
field_as_table_row helper.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 01:51:02 +0000] rev 375
Create package for soon-to-be-refactored group/home.py and group/settings.py
packages.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 01:47:02 +0000] rev 374
Add the Page object to the context of each view. Update templates to make
use of the newly-available page.long_name and page.short_name.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 01:35:08 +0000] rev 373
Add the Page object to the context of each view method. Also, add some missing
Arg: sections to __doc__ strings and fix the missing context issue in
editPost() and editGet().
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 01:32:40 +0000] rev 372
Formalize the concept of a NonPage that can appear in the site-map, useful for
non-clickable sidebar menu divisions, for example. Convert "hacky" fake Pages
into NonPages in the site-map.
Also, pass page=self to every view as a keyword argument when generating the
Django urlpatterns.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 01:00:10 +0000] rev 371
Add a relative symlink pointing at ../rietveld/upload.py in thirdparty/chromium
so that gcl.py can import the thirdparty/rietveld/upload.py module.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 17 Oct 2008 23:10:49 +0000] rev 370
Replace missing:
from google.appengine.api import users
that appears to have been removed by r824. Needed by call in the edit() view
to users.get_current_user().
Patch by: Todd Larsen
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Oct 2008 13:57:54 +0000] rev 369
Replace GROUP_TYPE_PLURAL and GROUP_TYPE_SHORT constants in Group models with more generic TYPE_NAME, TYPE_NAME_SHORT, TYPE_NAME_PLURAL names and apply changes in affected files. Use ugettext_lazy for TYPE_NAME and TYPE_NAME_PLURAL constants. This approach is similar to the upcoming refactor of views.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Oct 2008 13:04:51 +0000] rev 368
Move TODO about isDeletable Sponsor logic method to sponsor.py module and extend a little bit doc string.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Oct 2008 12:52:02 +0000] rev 367
Remove not needed request argument in view decorator.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Chen Lunpeng <forever.clp@gmail.com> [Fri, 17 Oct 2008 02:43:39 +0000] rev 366
Fixed not working after click the "List Site Sponsors" in site menu bar. due to wrongly imported modules.
Patch by: Chen Lunpeng
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 23:31:57 +0000] rev 365
Create decorators module in view/helper and add view decorator that catches exceptions like DeadlineExceededError, MemoryError, AssertionError (this code is being moved from respond function). Add view decorator to all view functions. In addition remove not needed imports from all affected files and fix too long lines.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 16 Oct 2008 23:26:58 +0000] rev 364
Last commit missed the new __init__.py file
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 16 Oct 2008 23:23:16 +0000] rev 363
Add a framework for generic views
This commit does not enable the new code, as such there
should be no change in functionality. In order to use the
new code the maps.py file should be updated to point at the
new views/models/sponsor.py module.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 16 Oct 2008 18:08:35 +0000] rev 362
entity_type is not the same as entity_type_short
The previous commit wrongfully assumed this.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 17:34:10 +0000] rev 361
Make page argument required for errorResponse and requestLogin functions in simple.py and update affected files. Some keyword argument changes to in user/profile.py. All the changes are based on comments to r817.
http://code.google.com/p/soc/source/detail?r=817
Patch by: Pawel Solyga
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 16 Oct 2008 17:30:58 +0000] rev 360
Rename 'group' to 'entity' in the Django templates
This allows for generic use of these templates.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 16:05:08 +0000] rev 359
DeadlineExceededError in the recent version of AppEngine lives only in one place so there is no need to try import it from both runtime (deployed) and runtime.apiproxy_errors (dev server) modules anymore.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 15:22:41 +0000] rev 358
Add page=None parameter to all views. Information from page argument (which is soc.logic.site.page.Page object) is going to be used later in views code and for some context values. Fix some indentions in __doc__ strings. Add proper __doc__ string for all() function in sponsor/list.py module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 15:12:00 +0000] rev 357
Some indention fixes in access.py module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 13:18:59 +0000] rev 356
Change name of login_request variable in access.py module to login_response.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 13:16:46 +0000] rev 355
Change name of getUserFromLinkNameOrDie function to getUserFromLinkNameOr404 and apply changes to affected files.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 13:14:13 +0000] rev 354
Fix mistakes in docs and comments in logic/models/base.py.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Chen Lunpeng <forever.clp@gmail.com> [Thu, 16 Oct 2008 09:14:26 +0000] rev 353
Log Fix not working after click the "Site Settings" in home page. templete wasn't updated when soc/app/soc/logic/site/map.py was update.
Patch by: Chen Lunpeng
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 09:05:02 +0000] rev 352
Remove #docsummary class from css file as it is not used anymore. Add #createdby class in css file. Fix typo in docs/profile.html template. Put document content in <div class='content'>.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 16 Oct 2008 04:37:13 +0000] rev 351
Eliminate the Work.abstract property and move the Document.content property
to Work.content instead. Update affected views, and re-base some classes
that were deriving from Document just to get Document.content to now be
derived from Work instead.
The Document class now has a "pass" body with no additional properties. It
is debatable whether Work should become Document, since I am not sure that
we plan to be able to generically display, say, a Quiz or a Question (which
are Works) on the home page (which can only specifically display a Document,
or now, the basic Work entity...).
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 16 Oct 2008 04:30:26 +0000] rev 350
"new" is a little bit redundant in the short_name of sidebar menu items that
already begin with "Create...", since that implies the result will be something
new.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 16 Oct 2008 04:27:07 +0000] rev 349
A quick-and-dirty way to create non-link sub-menu dividers, plus a TODO on
how this should be formalizes to not be so hacky.
This change was inspired by the ever-growing "Site" sidebar menu.
Patch by: Todd larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 15 Oct 2008 21:31:36 +0000] rev 348
Should have been part of recent r806.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 15 Oct 2008 21:27:47 +0000] rev 347
First phase of making the / (site/home) view generic enough to use it for
Sponsor "home" page, Program "home" page, Organization "home" page, etc. when
combined with HomeSettings.
First phase of addressing this issue:
http://code.google.com/p/soc/issues/detail?id=64
by factoring "Site Settings" apart from the site/home stuff.
Patch by: Todd Larsen
Review by: Pawel Solyga
Review URL: http://codereviews.googleopensourceprograms.com/1405
Todd Larsen <tlarsen@google.com> [Wed, 15 Oct 2008 21:23:29 +0000] rev 346
Add the empty directory where site/home/edit.html is moving, to see if this
fixes a problem with gcl.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 20:27:40 +0000] rev 345
Update TinyMCE wiget code according to r783. I hope I did it correctly this time.
http://code.google.com/p/soc/source/detail?r=783
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 20:24:02 +0000] rev 344
Change verbose_name of founder property in Group model from "Created by" to "Founded by". Add GROUP_TYPE_SHORT and GROUP_TYPE_PLURAL for all models that inherit from Group and use that values in templates and contexts. Assume that group_type, group_type_short and group_type_plural are defined in context and remove not needed ifs in templates. Rename "Linkname" to "Link name" in list/group_heading.html template.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 20:10:07 +0000] rev 343
Remov "founder" text from the first line of edit.py, this is fix to r799 commit.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 15 Oct 2008 19:33:50 +0000] rev 342
Remove the proposed WorksAuthors many:many relation and promote the "founder"
property from Document up to Work. Update all subclasses of Work and any
affected views accordingly. This addresses review comments here:
http://code.google.com/p/soc/source/detail?r=786
Patch by: Todd Larsen
Review by: to-be-reviewed
Tim Ansell <mithro@gmail.com> [Wed, 15 Oct 2008 18:06:07 +0000] rev 341
Fixed the evil black logo.
Tim Ansell <mithro@gmail.com> [Wed, 15 Oct 2008 18:03:21 +0000] rev 340
Make this file excutable by default.
Todd Larsen <tlarsen@google.com> [Wed, 15 Oct 2008 17:10:27 +0000] rev 339
Define the Models for implementing Quizzes (collections of Questions) and their
Responses (collections of Answers to those Questions). These Models would
form the basis of storage for such items as:
Terms of Service (Quiz)
Question ("I agree...")
Response -> Answer (answer to "I agree..." confirmation)
solution ("Yes" Answer to the "I agree..." Question)
Mentor and Student surveys (Quiz)
Questions (including "Pay this student?")
Response -> Answers
solution ("Yes" Answer to the "Pay this student?" Question)
Organization applications
Student Proposal review, comment, and scoring system
GHOP task tracking (a specific task list item would be a Quiz)
Patch by: Todd Larsen
Review by: Pawel Solyga, Sverre Rabbelier, Chen Lunpeng
Review URL: http://codereviews.googleopensourceprograms.com/1403
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 14:06:33 +0000] rev 338
Show "Created by" read-only field in Document Edit view. Update size of TinyMCE widget in Document Edit/Create views. Change user property name to founder in Document model and update files according to this change (now founder is used in Group and Document models). Remove not used variables and imports in views/site/docs/edit.py. Refactor EditForm and CreateForm in views/site/docs/edit.py so that EditForm inherits from CreateForm and just extends it.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 13:59:52 +0000] rev 337
Show "Created by" read-only field in Sponsor Edit view. Fix function keyword arguments in sponsor/list.py to follow our PythonStyleGuide. Sponsor founder property is not updated anymore when editing Sponsor profile, it's just saved once when creating Sponsor profile.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 13:54:00 +0000] rev 336
Fix not working docs show view. Document show view wasn't updated when the logic refactor was made.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 13:51:31 +0000] rev 335
Changes to TinyMCE widget that enable to pass mce_settings in the class constructor and that way update default settings if needed.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 13:49:17 +0000] rev 334
Add nameHomeSettings function to key_name module. Add HomeSettings logic.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 13:47:10 +0000] rev 333
Update comments in models/group.py (changed Optional to Required). Add verbose_name to founder property in Group model.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 22:57:52 +0000] rev 332
Fix bug that caused Lookup user by User Account not to work properly. Basically wrong parameter to models.user.logic.getFromFields().
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 22:35:46 +0000] rev 331
Add deleted in r732 (don't know why) functionality that displays custom Error page when linkname in Developer User Profile url doesn't exist (/site/user/profile/<not_existing_linkname>).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 22:20:55 +0000] rev 330
Add underscore in two word div class names in templates (nick_name, short_name, partial_path).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 14 Oct 2008 21:39:57 +0000] rev 329
Add is_featured boolean property to the Work model, so that Works can be
designated as "featured" items in various places in the UI. This will be
used to allow Sponsors, Programs, and Organizations to select Documents that
should be included in their sidebar menus.
Perhaps featured "site" Documents, such as site-wide Terms of Service,
should probably be listed below the "User (sign-out)" menu, since the User
will have to read and agree to these before being allowed to use the site.
A collapsable Javascript sidebar is probably going to be needed soon...
Patch by: Todd Larsen
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 21:33:57 +0000] rev 328
Add missing blank lines, clean up the doc string and remove white spaces at the end of the lines in reflistprop.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 21:06:23 +0000] rev 327
Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
http://code.google.com/p/soc/source/detail?r=722
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 14 Oct 2008 21:02:28 +0000] rev 326
Add a third-party ReferenceListProperty class. This is going to be used to
contain the references to Questions that make up a Quiz.
Patch by: Todd Larsen
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 20:33:20 +0000] rev 325
Fix some defects for lookup user view. More information about the patch can be found under the link below.
http://groups.google.com/group/melange-soc-dev/browse_thread/thread/5d378c8d3679945f/d1e7cc3a53adda4e
Patch by: Chen Lunpeng
Review by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 16:10:07 +0000] rev 324
Add missing import in soc/views/site/sponsor/list.py which caused exception when app was deployed and first site you visited was "List Site Sponsors". Update files according to recent django update and django backwards incompatibility (for example newforms is changed to forms).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 16:00:59 +0000] rev 323
Load ../vendor/django into trunk/app/django.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 12:36:55 +0000] rev 322
Fixed imports sorting based on comments for r751.
http://code.google.com/p/soc/source/detail?r=751
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 12:02:42 +0000] rev 321
Some indentations fixes. Changed all the email=id function arguments to email=id.email().
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 22:32:09 +0000] rev 320
Some indentations fixes and ugettext_lazy() wrap up for DEF_DEV_LOGOUT_LOGIN_MSG_FMT in access.py.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 22:22:16 +0000] rev 319
Rename soc/logic/models/settings.py to model site_settings.py and apply import name change to soc/views/site/home.py
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 22:18:54 +0000] rev 318
Fix typos in doc string in sponsor.py and settings.py
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 22:04:42 +0000] rev 317
Remove spaces between dict key name and colon. Fix some typos based on comments http://code.google.com/p/soc/source/detail?r=739.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 21:54:51 +0000] rev 316
Add missing blank lines between imports and sort all of the imports.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 21:34:07 +0000] rev 315
Add missing blank lines between imports in access.py module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 17:41:20 +0000] rev 314
Rearrange imports in home.py so they apply to new discussed format (separate "from ..." and "import ..." blocks). Add Delete Document functionality.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 13 Oct 2008 06:19:43 +0000] rev 313
Bugfixes to the latest revision
Some pages did not work due to missing imports, or wrongly
imported modules.
Patch by: Chen Lunpeng
Reviewd by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 13 Oct 2008 04:34:14 +0000] rev 312
Added missing models/__init__.py and removed empty logic/model directory
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 18:40:32 +0000] rev 311
Dictionaries need String values for keys
The cleanup patch earlier mistakenly used raw names as keys
to the dictionary (such as one would do in a function call).
This fixes that mistake.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 18:32:43 +0000] rev 310
Removed now-obsolete code from model.py and __init__.py
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 18:30:37 +0000] rev 309
Made the existing code use the new soc.logic.models
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 18:11:20 +0000] rev 308
Added invididual model logic files
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 16:50:28 +0000] rev 307
Also removed helper directory
Which somehow did not get removed with the last commit
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 16:47:39 +0000] rev 306
Removed obsolete logic directories and added one for model
The model/ directory will contain the Base logic classes.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 15:52:19 +0000] rev 305
Minor style and import fixes
Incorperated changes as suggested by Todd and Pawel.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 15:05:50 +0000] rev 304
Missing changes to soc.views.helper.access
Due to having to manually do the 'svn mv' of logic to helper,
the changes to access.py got lost, this commit fixes that.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 14:58:47 +0000] rev 303
Moved soc/logic/helper/access to soc/views/helper/access
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 12 Oct 2008 08:46:05 +0000] rev 302
Fix not working delete Sponsor functionality after recent commit. Add delete() method to Base class. Make soc.views.site.sponsor.delete() request handler use this method.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 12 Oct 2008 08:43:41 +0000] rev 301
Fix not working isIdDeveloper() function after recent commit. There is still confusion within getFormFields method (email is not id), but this change doesn't address that problem.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 12 Oct 2008 01:08:41 +0000] rev 300
Changed location of the svn command in svn_load_dirs.pl script from '/usr/bin/svn' to 'svn'. That makes the script more universal and it should work on Linux, Windows and Mac OS X if the svn is in the PATH.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 00:12:53 +0000] rev 299
Refactor nearly all the soc.logic code to use the Base class
Instead of having a lot of duplicate code, this patch aims
to reduce this duplication by introducing a Base abstraction.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 00:08:54 +0000] rev 298
Replace almost all occurences of linkname with link_name
In an attempt to have some atomicness in these commits
this patch does a rename for the sake of consistency.
Not all were changed, but the next commit will address that.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 10 Oct 2008 13:14:24 +0000] rev 297
Load /Users/solydzajs/Downloads/google_appengine/ into
trunk/thirdparty/google_appengine.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 10 Oct 2008 06:56:56 +0000] rev 296
Add missing __init__.py to soc/logic/helper folder (Caused home page not to work).
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 09 Oct 2008 23:50:00 +0000] rev 295
Removed now-obsolete getAltResponse* methods from simple.py
The getAltResponse* methods have been replaced by the check*
methods in soc.logic.helper.access.
Patch by: Sverre Rabbelier
Reviewed by: Pawel Solyga, Augie Fackler, Todd Larsen
Reviewed at: http://codereviews.googleopensourceprograms.com/1601
Review id: 1601
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 09 Oct 2008 23:48:20 +0000] rev 294
Refactor existing code to use the new access module
Instead of ending up with many different ways to do
access control, we end up having only one centralized
place wher access control is done.
Patch by: Sverre Rabbelier
Reviewed by: Pawel Solyga, Augie Fackler, Todd Larsen
Reviewed at: http://codereviews.googleopensourceprograms.com/1601
Review id: 1601
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 09 Oct 2008 23:38:27 +0000] rev 293
Add an access control module
The module's purpose is to check access requirements,
(such as being logged in), and raise an exception
containing a authentication request when the requirement
is not met.
Patch by: Sverre Rabbelier
Reviewed by: Pawel Solyga, Augie Fackler, Todd Larsen
Reviewed at: http://codereviews.googleopensourceprograms.com/1601
Review id: 1601
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 18:11:37 +0000] rev 292
Enable recently commited delete Sponsor request handler (added to map.py) and Delete button in Sponsor edit view. Still missing "Are you sure ?" question box.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 18:06:50 +0000] rev 291
Create a submit_buttons blocks in all edit view templates and put submit buttons in separate html table (not as part of the fields table anymore).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 15:10:51 +0000] rev 290
Create a submit_buttons block in group edit profile template so that submit buttons can be customized. Replace submit_message usage with new notice block (still work in progress in Lookup User views). Add customized edit profile template for Sponsor with delete button (not used yet, upcoming commit). Add delete Sponsor request handler.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 13:56:42 +0000] rev 289
Add notification bar block in base.html template.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 13:50:44 +0000] rev 288
Add #notice class declaration in soc.css for upcoming notification bar.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 13:49:41 +0000] rev 287
Update indexes in index.yaml file.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 08 Oct 2008 21:22:50 +0000] rev 286
Fix typo in getSponsorFromLinkName (key_name variable name instead of sponsor_key_name). Add deleteSponsor function for deleting Sponsor entities from datastore.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 05 Oct 2008 13:27:49 +0000] rev 285
Style fix, as requested by Todd to dict usage
Use "dict['key'] = value" instead of "dict.update({'key' : 'value'})"
when updating only one key.
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 07:22:43 +0000] rev 284
Call soc.logic.site.map.getDjangoUrlPatterns() to construct the urlpatterns
from the site map, rather than explicitly listing them in app/urls.py.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 07:20:48 +0000] rev 283
Update soc/logic/site/sidebar.py to use parts of the "site map" in
soc/logic/site/map.py to generate portions of the sidebar menu.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 07:17:00 +0000] rev 282
A site layout ("site map") of the web application, including URL regular
expression patterns, Django views, and metadata for constructing sidebar menus
and (eventually) breadcrumbs.
One function, soc.logic.site.map.getDjangoUrlPatterns(), converts these details
into urlpatterns for use by Django.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 07:14:11 +0000] rev 281
Url and Page classes used to encapsulate the "site map" information (URL
regular expressions, Django views, menu item names, etc.) and the relation
between pages in the site map.
There are still lots of TODOs in this first pass.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 06:25:07 +0000] rev 280
urllib.quote() is needed by the soc/logic/site/map.py work, so import it from
the Python 2.5.2 sources. The entire urllib.py is not supported by Google
App Engine (yet?), since it relies on 'import socket' (App Engine provides a
separate urlfetch module instead).
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 05:00:13 +0000] rev 279
Remove now-empty soc/views/helpers (everything has moved to soc/views/helper).
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 04:51:43 +0000] rev 278
Add create() wrapper views that simply call the existing edit() views, to
produce unique view names in preparation for the soc/logic/site/map.py code.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 04:42:37 +0000] rev 277
Speed up average case by appending remainder of original choices list unchanged
(avoiding remaining str -> int type conversions) once the insertion point is
found.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 04:34:16 +0000] rev 276
Move helpers/html_menu.py to helper/html_menu.py, to clear out
soc/views/helpers for deletion.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 04:32:28 +0000] rev 275
A specialized SortedDict used by soc/logic/site/page.py.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 23:59:49 +0000] rev 274
Move helpers/forms_helpers.py to helper/forms.py.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 23:24:12 +0000] rev 273
Move helpers/templatetags to helper/templatetags.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 23:17:49 +0000] rev 272
Move helpers/response_helpers.py to helper/responses.py.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 23:08:28 +0000] rev 271
Replace helpers/custom_widgets.py with helper/widgets.py.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 23:01:49 +0000] rev 270
Move helpers/template_helpers.py to helper/templates.py.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 22:17:05 +0000] rev 269
Move helpers/request.py to helper/requests.py to avoid conflict with common
local variable name "request".
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 22:09:32 +0000] rev 268
Move helpers/list.py to helper/lists.py to avoid conflict with built-in type
name "list".
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 21:59:32 +0000] rev 267
Replace soc/views/helpers/request_helpers with soc/views/helpers/request.py
and replace uses of request_helpers. with helpers.request. instead.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 21:41:12 +0000] rev 266
Move soc/views/helpers/list_helpers.py to soc/views/helpers/list.py and change
uses from list_helpers. to helpers.list. instead.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 17:21:41 +0000] rev 265
List views should have a selectable pagination "page" length:
http://code.google.com/p/soc/issues/detail?id=59
Patch by: Chen Lunpeng and Todd Larsen
Review by: Augie Fackler
Review URL: http://codereviews.googleopensourceprograms.com/1201
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 07:03:11 +0000] rev 264
Change to imports to follow the style guide:
http://code.google.com/p/soc/wiki/PythonStyleGuide#Module_and_package_imports
Specifically:
"Use from x import y only when x is a package and y is a module."
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 01:32:34 +0000] rev 263
Make findNearestUsers() code in soc/logic/site/id_user.py more generic and
move it to soc/logic/model.py. Orginal findNearest...() functions in
id_user.py are now convenience wrappers.
Add typed-query string construction functions to model.py.
Move getFulLClassName() from key_name.py model.py, since it has more to do
with Model types than key names.
Swap 'offset' and 'limit' and make 'limit' arguments non-optional. Also,
stop adding 1 inside the ...ForLimitAndOffset() functions and make the
callers do it (since it was being added for a very UI-specific reason of
whether or not to display a "Next>" link).
Patch by: Todd Larsen
Review by: Pawel Solyga
Review URL: http://codereviews.googleopensourceprograms.com/1401
Todd Larsen <tlarsen@google.com> [Thu, 02 Oct 2008 20:22:15 +0000] rev 262
Factor out an isIdAvailable() function from EditForm.clean_id() in
soc/views/site/user/profile.py and add it to soc/logic/site/id_user.py.
Addresses some comments on r614.
Patch by: Todd Larsen
Review by: Pawel Solyga
Review URL: http://codereviews.googleopensourceprograms.com/1202
Todd Larsen <tlarsen@google.com> [Thu, 02 Oct 2008 15:37:18 +0000] rev 261
Add Allen (Chen Lunpeng) to trunk/AUTHORS, due to his several recent patches.
Todd Larsen <tlarsen@google.com> [Thu, 02 Oct 2008 15:36:08 +0000] rev 260
Fix typo in recent validate.py changes (r682).
Patch by: Chen Lunpeng
Review by: Todd Larsen
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 22:19:22 +0000] rev 259
Add basic Sponsors List, Create New Sponsor, Sponsor Public Profile views. Change all properties in Group model as required for now. Remaining TODO: write validation functions for Sponsor edit and create form fields that need additional validation (like address, phone number format).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 22:12:26 +0000] rev 258
Add Sponsor logic functions.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 22:10:52 +0000] rev 257
Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 22:02:50 +0000] rev 256
Remove excluded field inheritance_line, since the User model does not inherit
from PolyModel (at this time).
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 21:58:31 +0000] rev 255
Add colon at the of _readonly_field_as_table_row template tag label parameter. Replace hardcoded labels in User Public profile template with linkname_user.fields.<field_name>.label values.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 21:53:52 +0000] rev 254
Fix missing blank line to follow PythonStyleGuide in model.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 21:21:03 +0000] rev 253
Add links in sidebar for upcoming Sponsor views.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 21:19:32 +0000] rev 252
Change key_name module usage to path_linkname module (fix to previous commit). Add comments about urls. Add Sponsor views urls for upcoming Sponsor views modules.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 20:52:39 +0000] rev 251
Move path and link_name related functions and regex patterns to a new
soc/logic/path_linkname.py module, and fix all dependencies. path/link_name
functionality is becoming the generic way to identify entities in the Datastore
in a URL-compatible way.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 20:48:58 +0000] rev 250
Make form field components use a smaller font, without shrinking the font
of all text in the page body.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 19:21:09 +0000] rev 249
Replace common module with validate module. Move validation function from feed module to validate module and remove feed.py. Correct any usage of validation functions from common and feed modules into validate module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 19:17:13 +0000] rev 248
Add missing blank line to follow PythonStyleGuide in document.py
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 19:15:20 +0000] rev 247
Fixed typo in DEF_CREATE_NEW_DOC_MSG.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 16:47:00 +0000] rev 246
Shrink the sidebar menu separately from the main body text.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 14:23:28 +0000] rev 245
Moved isLinkNameFormatValid function out of id_user module to new common module. This function is going to be used by other form validation functions that require to validate linkname (different kind of Groups, Programs etc).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 09:43:25 +0000] rev 244
Fixed models based on output from graph.py script and comments on
http://groups.google.com/group/melange-soc-dev/browse_thread/thread/fb532a7db1f19ea7
Tim Ansell <mithro@gmail.com> [Wed, 01 Oct 2008 07:26:45 +0000] rev 243
Tool to graph the data model.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 07:11:27 +0000] rev 242
Some TODOs on access control that I didn't want to forget.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 07:10:43 +0000] rev 241
Matching just /docs created a very small namespace, since any other path parts
would match the Document path. So, append /show after /docs for the display
view. This makes other views like /docs/edit possible later.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 07:01:06 +0000] rev 240
URL pattern changes that were missed by r671.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 07:00:26 +0000] rev 239
Some styles used by r671, the simplistic Document view.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 06:59:51 +0000] rev 238
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 06:24:17 +0000] rev 237
Implements a Site (Developer) generic Document editor form.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 06:03:53 +0000] rev 236
Changes to make breadcrumbs match page title. This is mostly to see how it
looks, since the new soc/logic/site/map.py code is going to implement the
breadcrumbs and page title contents in a similar way.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 05:17:15 +0000] rev 235
Start using "Site" instead of "Developer" in the UI.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 05:15:29 +0000] rev 234
Implement a Developer list view of all Documents.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 05:10:41 +0000] rev 233
Add missing all() __doc__ string comments: "Args:" and "Returns:" sections.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 05:02:42 +0000] rev 232
Fix some style guide issues: keyword arguments are supposed to always be
supplied using the keyword argument name=value.
http://code.google.com/p/soc/wiki/PythonStyleGuide#Default_Argument_Values
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 02:23:30 +0000] rev 231
Directory for up-coming /site/docs/list and /site/docs/edit templates.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 02:13:54 +0000] rev 230
Fix typo in findNearestUsersOffset() __doc__ string missed in r661.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 02:11:56 +0000] rev 229
Show link to /site/user/list on /site/user/lookup when User is not found.
http://code.google.com/p/soc/issues/detail?id=61
Patch by: Chen Lunpeng
Review by: Todd Larsen (with modifications)
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 02:02:44 +0000] rev 228
Add placeholder for future (to-be-implemented) getPreferredListPagination()
function.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:53:36 +0000] rev 227
Remove a TODO that should have been removed for r658.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:51:49 +0000] rev 226
Update some of the URL patterns to get their link_name parsing from the new
patterns in key_name.py. (Using it like this in urls.py is why key_name.py
needs to not depend on other modules...)
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:48:46 +0000] rev 225
Add functions to soc/logic/document.py for dealing with partial_paths combined
with link_names. Add getWorksForOffsetAndLimit() to query for Documents for
the /site/docs/list view.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:45:30 +0000] rev 224
Hide PolyModel inheritance_line bookkeeping property from the User Profile
form.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:43:07 +0000] rev 223
Use the LINKNAME_PATTERN from its new home in key_name.py. Also, add some
missing blank lines that are required by the style guide.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:41:18 +0000] rev 222
Add lots of new functions to key_name.py, including path/link_name processing.
Copy various link_name related regex patterns to key_name.py and use them.
Add error checking that raises a key_name.Error exception when name...()
functions are given empty arguments. Hard-code class names, since they match
what was typed into the module.class.__name__ to get the name anyway. This
eliminates dependencies on any modules by key_name.py.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:35:29 +0000] rev 221
Add sidebar menu items for /site/docs/list and /site/docs/edit. They do not
currently have view functions attached, but there are other links in the
mock-up portion of the sidebar that don't currently work, either. The goal
is to commit the /site/docs/list and /site/docs/edit changes in small bits
that don't break anyone else.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:33:43 +0000] rev 220
Add partial_path property explicitly to the Work model.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:25:31 +0000] rev 219
Should have been part of the r650 commit.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:23:32 +0000] rev 218
Directory for upcoming /site/docs views.
Todd Larsen <tlarsen@google.com> [Tue, 30 Sep 2008 17:03:51 +0000] rev 217
Add "Last updated" footer to front page body text, using the modified Property
from the Work entity.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 16:53:30 +0000] rev 216
Change _readonly_field_as_table_row <td> tag class names to match those used in _field_as_table_row. That should actually go into previous commit.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 16:49:54 +0000] rev 215
Clean up too long lines in profile.py. Add ReadOnlyInput widget to custom_widgets module, it can be used to display read-only form fields. Display read-only "Id" field in LookUp view if user has been found and in User Edit Developer view.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 16:26:30 +0000] rev 214
Add polymodel folder to DEFAULT_APP_DIRS variable in make_release.sh script.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 15:21:05 +0000] rev 213
Add key naming function for Sponsor, School, Organization, Club key_names.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 14:00:11 +0000] rev 212
Add org ReferenceProperty to Administrator model (many:1 relationship associating Administrators with specific Organization). Update Organization model __doc__ string with information about the back-reference 'admins'.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 12:59:59 +0000] rev 211
Made mce_settings class variable in TinyMCE widget a copy of default settings instead of reference.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 12:47:05 +0000] rev 210
Replaced context.update call to simple value assignment in site.user.profile.create view function.
Todd Larsen <tlarsen@google.com> [Mon, 29 Sep 2008 17:22:31 +0000] rev 209
Load ../../google_appengine/ into trunk/thirdparty/google_appengine.
Todd Larsen <tlarsen@google.com> [Mon, 29 Sep 2008 15:46:42 +0000] rev 208
Take advantage of the Model inheritance provided by polymodel.PolyModel to
have Club, School, Sponsor, and Organization actually inherit from the Group
Model class, rather than being composed via ReferenceProperties.
Patch by: Todd Larsen
Review by: Pawel Solyga, Sverre Rabbelier, Augie Fackler
Review URL: http://codereviews.googleopensourceprograms.com/606
Todd Larsen <tlarsen@google.com> [Mon, 29 Sep 2008 15:34:40 +0000] rev 207
Take advantage of the Model inheritance provided by polymodel.PolyModel to
have create a class hierarchy rooted at Person.
Also, add some missing Role classes, such as Role, (Organization) Mentor,
(Club) Member, (School) Student. Make (Organization) Administrator be a
Reviewer like Mentor is.
Patch by: Todd Larsen
Review by: Pawel Solyga, Sverre Rabbelier, Augie Fackler
Review URL: http://codereviews.googleopensourceprograms.com/607
Todd Larsen <tlarsen@google.com> [Mon, 29 Sep 2008 15:31:50 +0000] rev 206
Make use of PolyModel for Works, Documents, etc. Add some (but not all) of
the missing Models related to Documents. Refactor site settings to be useful
for any "/home" page view. Make the resulting home settings store a reference
to the Document, rather than looking up the Document by a hard-code key name.
This is to set the stage for Document editing being generic, and then being
able to select from some existing documents which one to use as the "/home"
static content. This makes it possible to pre-edit several Documents, have
them Reviewed, and then quickly change the "/home" page content as a setting,
rather than editing the Document in the settings form (though settings forms
might still embed the current document into their form for convenience).
Patch by: Todd Larsen
Review by: Pawel Solyga
Review URL: http://codereviews.googleopensourceprograms.com/1001
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 29 Sep 2008 14:03:45 +0000] rev 205
Fixed not working "Create New User" view which was caused by adding key_name into User Edit Developer view. This commit divides edit() view function in soc.views.site.user.profile into edit() and create() request handlers. New create() request handler is used only in "Create New User" view and has specific form validation functions and uses updateOrCreateUserFromId() instead of updateUserForKeyName().
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 26 Sep 2008 19:47:07 +0000] rev 204
Add ModelWithFieldAttributes *before* PolyModel, so that everything does not
become a "ModelWithFieldAttributes" in the Datastore.
The way PolyModel works, each Model class hierarchy is stored in the Datastore
as the class that directly inherited from PolyModel. So, we do not want to
insert ModelWithFieldAttributes *after* PolyModel by inheriting *from*
PolyModel, or everything would just be a ModelWithFieldAttributes in the
Datastore, instead of Person, Work, Group, etc.
Todd Larsen <tlarsen@google.com> [Fri, 26 Sep 2008 19:35:21 +0000] rev 203
Add the third-party PolyModel class. This class supports inheritance in
Google App Engine Datastore Model classes.
Todd Larsen <tlarsen@google.com> [Thu, 25 Sep 2008 17:17:11 +0000] rev 202
A key_name controller module to collect all of the name...() functions that
compose Model entity key names, plus some minor changes to other controller
modules to illustrate the proposed use.
Patch by: Todd Larsen
Review by: Pawel Solyga
Review URL: http://codereviews.googleopensourceprograms.com/804
Review URL: http://codereviews.googleopensourceprograms.com/804
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 24 Sep 2008 21:23:42 +0000] rev 201
Fixed missing urlparse import in request_helpers which cause /user/profile and /site/user/profile not to work at all. Removed not used module imports in response_helpers.py.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 06:00:28 +0000] rev 200
Replace mock-up of sidebar with first draft of dynamic sidebar functionality.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 05:58:45 +0000] rev 199
Minor tweaks to Site menu item names to make them more descriptive.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 05:58:15 +0000] rev 198
Major refactoring, to switch from using inheritance from soc.logic.menu classes
to an envelope-letter model instead.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 05:17:44 +0000] rev 197
Sidebar-building controller, with a TODO remaining to implement marking the
current page as "selected".
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:46:52 +0000] rev 196
Make views.helpers.html_menu MenuItem classes and logic.menu MenuItem classes
more closely related. This is part of some refactoring in my working copy
to keep soc/logic/site/sidebar.py from having to deal with html_menu classes
(which is like having view code in the controller, which is bad).
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:36:47 +0000] rev 195
Classes that wrap soc.logic.menu.Menu and soc.logic.menu.MenuItem to produce
HTML renderings of such lists.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:27:01 +0000] rev 194
Change indentation level to 2 (from 4) and rename MCE_DEF_SETTINGS to
DEF_MCE_SETTINGS to match the "default constant" naming convention elsewhere
in the code.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:24:49 +0000] rev 193
Note 'groups' back-reference from 'founder' property in soc.models.group.Group.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:23:32 +0000] rev 192
Simple MenuItem and Menu classes for keeping track of ordered menus.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:22:12 +0000] rev 191
These changes should have been in r620, but somehow I did not save them, or
saved over them with an old copy in the editor. Not sure...
Todd Larsen <tlarsen@google.com> [Tue, 23 Sep 2008 23:30:15 +0000] rev 190
Move isReferrerSelf() and replaceSuffix() into new request_helpers.py module,
since they are (mainly) used to manipulate parts of an HTTP request.
Todd Larsen <tlarsen@google.com> [Tue, 23 Sep 2008 23:20:23 +0000] rev 189
Split out HTTP request manipulation functions from template_helpers.py, which
is in danger of becoming a "misc" or "util" module unnecessarily.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 23 Sep 2008 19:20:57 +0000] rev 188
Changes in TinyMCE widget in custom_widgets.py based on review comments.
Patch by: Pawel Solyga
Review url: http://code.google.com/p/soc/source/detail?r=550
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 23 Sep 2008 17:55:54 +0000] rev 187
Change user list view instruction. Don't show "Next >" disabled greyed text in the list pagination if there is only one page.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 22 Sep 2008 14:13:32 +0000] rev 186
Add Users List Developer view which is available at /site/user/list. Add User list custom templates which are used with list_helpers. Add "Users List" link in base.html template.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 22 Sep 2008 14:08:37 +0000] rev 185
Add list_helpers functions that are going to be used when rendering list views like (Users List, Sponsors List etc).
Add list default templates and CSS classes.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 22 Sep 2008 13:42:53 +0000] rev 184
Add support for changing User id (Google Account email) in User Profile Developer view. Now user profile developer edit view includes hidden key_name field. Fix typo in user/profile.py. Show former user ids in lookup and edit User Profile Developer views.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 21 Sep 2008 08:59:11 +0000] rev 183
Small change to unescape function in template_helpers (move replace('&', '&') at the end).
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 21 Sep 2008 08:56:52 +0000] rev 182
Add rounded corners graphics. Add .notice class and rounded corners classes to soc.css file, those will be used to better visualize submit_message like "Profile saved.".
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 21 Sep 2008 08:50:42 +0000] rev 181
Remove Author model (use Person instead). Update models after removing Author. Add new Sponsor, Organization models.
Patch by: Pawel Solyga
Reviewed by: Todd Larsen
Review issue: 801
Review URL: http://codereviews.googleopensourceprograms.com/801
Augie Fackler <durin42@gmail.com> [Sun, 21 Sep 2008 02:16:00 +0000] rev 180
Two changes to ease CI:
1) If pysvn is missing, the tests for svn_helper don't run and pollute the
output
2) svn_helper no longer depends on being located at trunk/scripts/
Patch by: Augie Fackler
Review by: Todd Larsen
Review Issue: 802
Reviewed URL: http://codereviews.googleopensourceprograms.com/802
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 20 Sep 2008 19:04:43 +0000] rev 179
Add custom 404 error message with link to "Create a New User" which is displayed when linkname in User Profile Developer view URL (/site/user/profile/<linkname>) doesn't exist. Add default value (None) to new_suffix parameter of template_helpers replaceSuffix and redirectToChangedSuffix functions.
Augie Fackler <durin42@gmail.com> [Sat, 20 Sep 2008 17:39:07 +0000] rev 178
Testing buildbot. Sorry about the noise. (Last one for now, I've got most of the kinks figured out I think)
Augie Fackler <durin42@gmail.com> [Sat, 20 Sep 2008 16:50:20 +0000] rev 177
Testing buildbot. Sorry about the noise.
Augie Fackler <durin42@gmail.com> [Sat, 20 Sep 2008 16:47:09 +0000] rev 176
Testing buildbot. Sorry about the noise.
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 21:11:39 +0000] rev 175
Make django.zip in release/, instead of in app/ with a symlink in release/.
This allows debugging into app/django source code, which the presence of
app/django.zip was blocking. Tested with both:
dev_appserver.py release
and
dev_appserver.py app
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 18:02:37 +0000] rev 174
A rough draft of the Group Model, to be merged with Pawel's current effort in
his working copy. This is *very* incomplete...
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 17:51:33 +0000] rev 173
First pass (from some old code notes) of a School Model (a form of Group).
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 17:47:21 +0000] rev 172
First pass (from some old code notes) of a Club Model (a form of Group).
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 19 Sep 2008 12:45:13 +0000] rev 171
Bug fixes to revision r596. User Account field in Developer User Profile view needs to be an email not a login name. Header title of User Profile Developer view, when form validation failes is now showing correct value ("Modify existing ..." instead of "Create new user ...").
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 05:15:20 +0000] rev 170
Add /site/user/profile Developer view for editing arbitrary User entities.
Update /user/profile edit() view to fix TODO about updating the URL when a
POST of the form changes the link_name of the User. Add a Create New User
link to the base.html sidebar mock-up.
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 05:12:35 +0000] rev 169
Fix off-by-one corner case discovered during testing of /user/profile.
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 04:50:42 +0000] rev 168
Added getSingleIndexedParamValue() that retrieves an index into a list of
values from the named query parameter, and then indexes into the supplied list
of values to return the corresponding value from the list. Used to convert
numeric index query parameters passed by POST to the GET redirect target, so
that the GET code can display messages, etc. (without passing the message
itself as a query argument and having to escape it or have silly people pass
in their own...).
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 04:28:17 +0000] rev 167
Added replaceSuffix(), isReferrerSelf(), and redirectToChangedSuffix() to
implement the TODO in the User profile views where the link name portion of
the URL needs to change when the link_name Property is updated by the form.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 18 Sep 2008 23:07:06 +0000] rev 166
Fixed too long lines and deleted unused imports in id_user.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 18 Sep 2008 22:14:06 +0000] rev 165
New default values for page title, header title and body of site home page.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 18 Sep 2008 22:11:56 +0000] rev 164
Documentation updates and one typo fix.
Todd Larsen <tlarsen@google.com> [Thu, 18 Sep 2008 17:33:20 +0000] rev 163
Add a td.formfielderrorlabel style, to highlight field labels that have errors.
Todd Larsen <tlarsen@google.com> [Thu, 18 Sep 2008 17:32:28 +0000] rev 162
Swap field value and "required" columns to make more columns for field errors.
Todd Larsen <tlarsen@google.com> [Thu, 18 Sep 2008 17:31:01 +0000] rev 161
Add a verbose_name and help_text to the User.id Property.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 18:02:09 +0000] rev 160
Explain why pushd and popd are needed when making tiny_mce.zip.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 18:00:55 +0000] rev 159
Use zip to compress tiny_mce, and use zipserve to serve it in Google App
Engine.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 16 Sep 2008 17:38:09 +0000] rev 158
Updated make_release.sh docs and added way for person invoking the script to override script variables such as RELEASE using something like "RELEASE=../testing_release ./make_release.sh".
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 17:07:58 +0000] rev 157
Add recently-moved feedparser and tiny_mce to APP_DIRS.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 17:05:43 +0000] rev 156
Oops, this should have been part of the r580 commit.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 17:05:07 +0000] rev 155
Oops, this should have been part of the r577 commit.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 16:49:25 +0000] rev 154
Move third-party TinyMCE out of soc/content/js and into the application image
root, like other third-party code. Update the app.yaml.template to add
/tiny_mce as a source of static content.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 16:42:55 +0000] rev 153
Add README files to explain how third-party code is maintained in these
directories.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 16:24:18 +0000] rev 152
Discourage third-party code from being embedded in the soc framework.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 16:22:49 +0000] rev 151
Move third-party feedparser.py out of the soc framework package into its own
package (similar to django).
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 16 Sep 2008 15:56:15 +0000] rev 150
Changed ZIPFILE variable to DJANGO_ZIPFILE in make_release.sh script and added 'cd $APP_FOLDER' before we zip django.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 02:28:33 +0000] rev 149
Load ../google_appengine into trunk/thirdparty/google_appengine.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 01:18:49 +0000] rev 148
upload.py customized to work with codereviews.googleopensourceprograms.com.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 01:18:15 +0000] rev 147
Pristine initial commit of upload.py script from
http://code.google.com/p/rietveld (r310).
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 01:15:00 +0000] rev 146
gcl.py customized to work with codereviews.googleopensourceprograms.com and the
melange-soc-dev@googlegroups.com mailing list.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 01:14:18 +0000] rev 145
Pristine initial commit of gcl.py script from chromium.org.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 14 Sep 2008 20:32:32 +0000] rev 144
Release shell script and associated changes. Set svn:ignore property on /app/django.zip file and /release folder.
Patch by: Pawel Solyga, Augie Fackler
Review by: Todd Larsen, review-after-commit
Review issue: 363
Review URL: http://codereviews.googleopensourceprograms.com/363
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 14 Sep 2008 00:23:49 +0000] rev 143
FIxed documentation in soc/logic/document.py for getDocumentFromPath function
Patch by: Christian López EspÃnol
Reviewed by: Pawel Solyga
Reviewed via: discussion on melange-soc-dev group
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 13 Sep 2008 22:53:07 +0000] rev 142
Forgot to change widgets to custom_widgets import in home.py after changing the name of soc/views/helpers/widgets.py file.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 13 Sep 2008 22:00:51 +0000] rev 141
Added Melange front page edit view where you can change title, content, feed url. Created SiteSettings and Document models and some logic for them. Added isFeedURLValid function in soc/logic/feed.py. Created some functions for handling datastore updates of different kinds of Models (soc/logic/model.py). Fixed some typos and too long lines of code.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 13 Sep 2008 21:27:17 +0000] rev 140
Added feedparser to soc/utils and modified svn:externals for vendor to include feedparser svn
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 21:54:37 +0000] rev 139
Add getAltResponseIfNotLoggedIn() and getAltResponseIfNotDeveloper() simple
view helpers. These cannot go into response_helpers.py because they create
a circular reference with simple.py, and Django view import fails.
Review URL: http://codereviews.googleopensourceprograms.com/602
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 20:36:17 +0000] rev 138
Improve the __doc__ string of isIdDeveloper() to explain better how it now
functions.
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 20:31:56 +0000] rev 137
Make isIdDeveloper() also able to check an is_developer Boolean property in
User entities.
Review URL: http://codereviews.googleopensourceprograms.com/601
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 19:01:44 +0000] rev 136
Replace checkLinkNameForId() with isLinkNameAvailableForId(), and implement
that new function in terms of only the existing doesLinkNameExist() and
doesLinkNameBelongToId().
Patch by: Todd Larsen
Review by: Pawel Solyga
Review via: discussion of patches on melange-soc-dev mailing list
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 12 Sep 2008 16:33:04 +0000] rev 135
Fixed one typo in response_helpers which caused is_admin context variable not to work correctly.
Created new checkLinkNameForId function that checks if link_name is correct when creating new user and modifying existing one. This is now used for validation instead of doesLinkNameBelongToId in UserForm clean_link_name function. The previous validation function didn't allow to create new users and modify linkname of existing ones. Additionally I created new doesLinkNameExist helper function.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 12 Sep 2008 10:56:21 +0000] rev 134
Fixed wrong user variable in lookup.html template for edit link (was user should be found_user).
There is no DeveloperForm in site/user/profile.py changed that to LookupForm.
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 02:46:21 +0000] rev 133
gcl.py committed this file, when it should not have even existed.
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 02:37:15 +0000] rev 132
Add a /site/user/lookup view that provides Developers with a form to look up
User entities given email addresses or link names.
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 02:12:38 +0000] rev 131
...
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 11 Sep 2008 21:30:08 +0000] rev 130
Updated the script to:
* Include a comment describing what it does
* Use variables for anything non-standard
* Use the --parse-only flag of epydoc
* Exclude all 'django' modules through --exclude=
* Run on '../app' by default, no more arguments needed
* Clean up the output directory before running
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 11 Sep 2008 20:50:58 +0000] rev 129
Bugfix, invalid syntax noticed by epydoc.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 11 Sep 2008 12:06:57 +0000] rev 128
Updated docs in response_helpers.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 11 Sep 2008 12:01:20 +0000] rev 127
Created custom_widgets.py and added TinyMCE django widget that can be later used for particular form fields.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 11 Sep 2008 11:56:24 +0000] rev 126
Added TinyMCE to Melange in soc/content/js
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 30 Aug 2008 02:54:22 +0000] rev 125
An emerging pattern with makeSiblingTemplatesList() is that views calling that
function then append a known, default template "just in case". This change
adds a default_template parameter to makeSiblingTemplatesList() to eliminate
the extra "append a known default to the end" step for the caller.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 29 Aug 2008 04:24:31 +0000] rev 124
Refactor soc/views/user/profile.py to make use of several of the new views
available in soc/views/simple.py.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 29 Aug 2008 02:59:59 +0000] rev 123
Fix an overlooked cut-and-paste error.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 29 Aug 2008 02:52:02 +0000] rev 122
Add a public() convenience wrapper around templateWithLinkName() for the common
public.html case. Add a requestLogin() view.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Fri, 29 Aug 2008 00:00:34 +0000] rev 121
This CSS change belonged with soc/templates/soc/error.html committed in r454.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 23:56:29 +0000] rev 120
A default error.html template to go with the simple.errorResponse() view.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 23:54:35 +0000] rev 119
Add soc.views.simple containing (initially) two simple template views.
templateWithLinkName() is a view that can replace most public() read-only
views. errorResponse() is a view that renders an error page for
out_of_band.ErrorResponse exceptions. Also, change response_helpers.respond()
to accept keyword arguments to pass to http.HttpResponse(). (errorResponse()
makes use of this new respond() feature.)
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 22:27:40 +0000] rev 118
Clean up User Model and User profile edit view now that soc.logic.site.id_user
module exists. Change usage of "user" to be "id" the variable refers to a
Google Account and not a User entity.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 22:23:11 +0000] rev 117
Pawel and I were working on the same thing, apparently. My template_helpers.py
is more complete, so I am removing this one (that Pawel appears to not have
used yet).
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 22:06:31 +0000] rev 116
Factor out a getUniversalContext() function so that views that do not call
response_helpers.response() can benefit from the code that constructs shared
template context variables common to many templates.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 21:49:53 +0000] rev 115
Create a package for controller modules that interact with User entities.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 21:35:34 +0000] rev 114
A collection of functions for determining the characteristics of the "system"
on which a Melange application is running. Currently, this consists of only
a boolean isDebug() function.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 21:30:55 +0000] rev 113
Helpers for manipulating templates and template search paths.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 21:15:39 +0000] rev 112
Consolidate functions dealing with Google Accounts and look-up of User entities
into a single site-wide controller module. Tests will be added in a subsequent
commit as soon as Google App Engine tests using mocker are figured out.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 16:17:42 +0000] rev 111
Exception classes used by controller logic to request an "out-of-band" response
be displayed by the view instead of what the view would normally display.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 27 Aug 2008 21:21:44 +0000] rev 110
Base classes for all Datastore Models in Melange.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:49:54 +0000] rev 109
Load ../../google_appengine into trunk/thirdparty/google_appengine.
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:37:29 +0000] rev 108
Create directories to load project into.
* trunk/thirdparty/google_appengine: New directory.
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:29:33 +0000] rev 107
Move third-party code that is not required to be part of trunk/app into a
trunk/thirdparty "sandbox".
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:26:38 +0000] rev 106
Move third-party code that is not required to be part of trunk/app into a
trunk/thirdparty "sandbox".
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:24:50 +0000] rev 105
Remove the obsolete scripts left over from when trunk/app did not contain the
entire Google App Engine image.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:22:29 +0000] rev 104
Add mocker 0.10.1 to trunk/thirdparty, so that it can be used to create mocks
for testing the Google App Engine app itself. See also:
http://blog.appenginefan.com/2008/06/unit-tests-for-google-app-engine-apps.html
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:20:44 +0000] rev 103
Move LICENSE.django closer to the actual trumk/app/django code we are importing
(that exists in trunk/app to be part of the Google App Engine image).
LICENSE.django cannot go in trunk/app/django itself, because that directory is
maintained from the /vendor/django svn external using svn_load_dirs.pl (so
putting all the way into trunk/app/django gets it repeatedly removed).
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:05:43 +0000] rev 102
Third-party packages that do not need to be part of trunk/app (because they are
not part of a Google App Engine image upload).
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:04:45 +0000] rev 101
Since google_appengine isn't part of the uploaded trunk/app, there is no reason
why it couldn't be in a thirdparty directory, alongside mocker.
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 20:20:50 +0000] rev 100
Create directories to load project into.
* trunk/google_appengine: New directory.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 22 Aug 2008 13:44:50 +0000] rev 99
Added public view support (not using controller yet)
Changed Google Account variable from user to id in views and templates (no more confusions with Melange user).
Added templates_helpers for makeSimblingTemplate function.
Addded new template tag readonly_field_as_table_row used in public views
Fixed one typo in roles.py
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 20 Aug 2008 21:59:00 +0000] rev 98
User Profile view (without controller yet).
Patch by: Pawel Solyga
Review by: Todd Larsen
Review issue: 386
Review URL: http://codereviews.googleopensourceprograms.com/386
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 20 Aug 2008 18:36:55 +0000] rev 97
Moved Proposal model from wiki to source code and updated ProposalModel wiki page.
Patch by: Pawel Solyga
Review by: Todd Larsen
Review issue: 362
Review URL: http://codereviews.googleopensourceprograms.com/362
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 20 Aug 2008 10:14:49 +0000] rev 96
Moved td.formfieldlabel to FORM TABLE FIELDS section.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 02:30:44 +0000] rev 95
Move soc/control to soc/logic, so that tab-completion doesn't keep matching
soc/content instead.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 01:54:11 +0000] rev 94
nickname was moved from Person to User recently.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:19:49 +0000] rev 93
Add Roles template directory that was missing from r426 commit.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:18:56 +0000] rev 92
Create package for up-coming Role views.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:18:10 +0000] rev 91
Minor indentation fix.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:17:13 +0000] rev 90
Create package for standard Melange controller modules.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:16:27 +0000] rev 89
Reduce the indent to two spaces per hierarchy level, comment some groups of
tags that are related, move #header down by #footer.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:10:59 +0000] rev 88
Some additional __doc__ comments (with some ideas for future plans) and removal
of some unnecessary imports.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:08:31 +0000] rev 87
Clean up some deletions from previous rearranging that did not get committed.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:04:42 +0000] rev 86
Fix up the URLs mapping to soc.views.user.profile.edit() and make the site base
template (mostly a mock-up) point to /user/profile instead of the old
/usr/linkname/profile from the static mock-up.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:02:49 +0000] rev 85
Move soc.views.user.profile.profile() to soc.views.user.profile.edit().
Todd Larsen <tlarsen@google.com> [Tue, 19 Aug 2008 23:51:31 +0000] rev 84
Flesh out the user/roles placeholders a little bit more.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 19 Aug 2008 23:13:24 +0000] rev 83
Created response helper respond() function that is used to generate base templates and it's child templates (handles sign in/out links, user name etc).
Updated User model helper text.
Added basic user profile view (not finished yet).
Added css entries for buttons and added buttons background.
Added /user/profile and /user/profile/linkname support in urls.py.
Todd Larsen <tlarsen@google.com> [Tue, 19 Aug 2008 22:37:40 +0000] rev 82
Create placeholders for User Roles prototype.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 19 Aug 2008 22:26:24 +0000] rev 81
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 19 Aug 2008 18:06:23 +0000] rev 80
Indents in css file are now 2 spaces long.
Patch by: Pawel Solyga
Review by: Todd Larsen
Review issue: 385
Review URL: http://codereviews.googleopensourceprograms.com/385
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 19 Aug 2008 17:57:58 +0000] rev 79
Home site templates and basic view.
Patch by: Pawel Solyga
Review by: Todd Larsen
Review issue: 385
Review URL: http://codereviews.googleopensourceprograms.com/385
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 19 Aug 2008 17:52:13 +0000] rev 78
Updated User and Person models.
Patch by: Pawel Solyga
Review by: Todd Larsen
Review issue: 382
Review URL: http://codereviews.googleopensourceprograms.com/382
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 19 Aug 2008 17:49:59 +0000] rev 77
Debug flag value depends now on App Engine environment.
Patch by: Pawel Solyga
Review by: Todd Larsen
Review issue: 381
Review URL: http://codereviews.googleopensourceprograms.com/381
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 Aug 2008 23:39:58 +0000] rev 76
Changed name of the custom logo file. Now file name describes better image content.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 Aug 2008 22:09:43 +0000] rev 75
Added logo for Melange home site (this will be used soon)
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 Aug 2008 17:00:23 +0000] rev 74
Added 404 and 500 errors templates. You need to set DEBUG = False in Settings.py in order to see the pages.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 18 Aug 2008 16:58:23 +0000] rev 73
Created robots.txtx and simple Melange favicon.
Added favicon and robots.txt support in app.yaml template.
Todd Larsen <tlarsen@google.com> [Wed, 13 Aug 2008 21:52:40 +0000] rev 72
Make soc.googlecode.com serve up mock-up pages as text/html.
Todd Larsen <tlarsen@google.com> [Wed, 13 Aug 2008 21:48:11 +0000] rev 71
Add a mock-up of a previously-run (but not currently running) Program.
Todd Larsen <tlarsen@google.com> [Wed, 13 Aug 2008 21:45:59 +0000] rev 70
Re-arrange mock-up paths for program/docs so that they go from less-specific
(e.g. ghop2008, gsoc2009 program linknames) to more-specific (tos, rules,
faqs document linknames). This matches the pattern of all of the other view
paths, from "view descriptors" (like program/docs) to the specific item
(ghop2008/rules).
Todd Larsen <tlarsen@google.com> [Wed, 13 Aug 2008 21:35:22 +0000] rev 69
New mockup for User Roles page.
Todd Larsen <tlarsen@google.com> [Wed, 13 Aug 2008 20:33:25 +0000] rev 68
Relative URL path structure example for Organization admin role, for a specific
Program. View mock-up form will be added later.
Todd Larsen <tlarsen@google.com> [Wed, 13 Aug 2008 20:30:48 +0000] rev 67
Fix some broken links in the GHOP 2008 Program home page mock-up.
Todd Larsen <tlarsen@google.com> [Mon, 11 Aug 2008 16:57:46 +0000] rev 66
Finished migrating the "proto" app (which only contained a Person profile edit
form) to the new combined trunk/app layout. Also, moved the form template
from profile.html to profile/edit.html, to follow the "one template per view"
approach (rather than have read-write vs. read-only logic in a single
template).
Todd Larsen <tlarsen@google.com> [Mon, 11 Aug 2008 16:44:47 +0000] rev 65
Move app.yaml to app.yaml.template and add app.yaml to svn:ignore in trunk/app.
Each Google App Engine instance needs its own "application:" ID, and this
should *not* be committed into the SoC SVN repository in trunk/app. (Individual
deployment branches *will* have app.yaml files with Google App Engine
application IDs in them, just not trunk/app.)
Todd Larsen <tlarsen@google.com> [Mon, 04 Aug 2008 22:43:48 +0000] rev 64
Remove last remnants of /thirdparty/.
Todd Larsen <tlarsen@google.com> [Mon, 04 Aug 2008 22:38:35 +0000] rev 63
Move tests/ to top level of trunk/. Fix tests to run from new location. Add
missing __init__.py modules to make relative imports from tests work properly.
Todd Larsen <tlarsen@google.com> [Mon, 04 Aug 2008 22:09:35 +0000] rev 62
Finish moving the remaining "prototype" app pieces out of apps/proto,
and then remove trunk/apps. There is still some editing to do in the
newly-relocated files (now in trunk/app/soc and trunk/app/ghop).
Todd Larsen <tlarsen@google.com> [Mon, 28 Jul 2008 21:27:52 +0000] rev 61
Change the MIME type of the remaining .html files to text/html
Todd Larsen <tlarsen@google.com> [Mon, 28 Jul 2008 20:59:03 +0000] rev 60
Set svn:mime-type to text/css so that browsers will use it as CSS when loaded
from http://soc.googlecode.com/svn/trunk/mockups/
Todd Larsen <tlarsen@google.com> [Mon, 28 Jul 2008 20:44:54 +0000] rev 59
Set svn:mime-type to text/html so that browser will render the page when viewed
via the http://soc.googlecode.com/svn/trunk/mockups/ link.
Todd Larsen <tlarsen@google.com> [Mon, 28 Jul 2008 20:42:10 +0000] rev 58
Mockups for some of the Melange views, adapted from the existing GSoC web app
(but in some cases significantly altered). All of the relative links assume
/svn/trunk/mockups/ so that the pages will display properly when accessed from
http://soc.googlecode.com/svn/trunk/mockups/.
Todd Larsen <tlarsen@google.com> [Fri, 18 Jul 2008 18:38:41 +0000] rev 57
HTML mockups of proposed Melange (generic), GSoC, and GHOP pages and forms.
The HTML files in this directory are formatted to be viewed directly from svn
via http://soc.googlecode.com/svn/trunk/mockups/. All of the paths will be
relative (rooted at /svn/trunk/mockups/) and instructions will be added (in a
mockups/README file) for configuring an Apache web server for previewing the
pages from the svn working copy during development.
Todd Larsen <tlarsen@google.com> [Fri, 18 Jul 2008 18:31:46 +0000] rev 56
Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com> [Fri, 18 Jul 2008 18:28:19 +0000] rev 55
Remove the old "gsoc" and "ghop" apps directories (which now only contain a
lingering __init__.py file anyway).
Todd Larsen <tlarsen@google.com> [Fri, 18 Jul 2008 18:22:23 +0000] rev 54
Major reorganization of the soc svn repo, to merge into a single App Engine
image (to make development easier, now that only a single app will run all
Google Open Source programs).
Todd Larsen <tlarsen@google.com> [Fri, 18 Jul 2008 18:14:01 +0000] rev 53
First step of restructuring /trunk/ into a single App Engine app, avoiding all
of the complicated scripts.
Todd Larsen <tlarsen@google.com> [Tue, 10 Jun 2008 16:23:20 +0000] rev 52
Changes to address comments by Sverre about the previous commit.
Patch by: Todd Larsen
Review by: Sverre Rabbelier
Review issue: 301
Review URL: http://codereviews.googleopensourceprograms.com/301
Todd Larsen <tlarsen@google.com> [Tue, 10 Jun 2008 16:19:59 +0000] rev 51
Changes to address comments by Sverre about the previous commit.
Patch by: Todd Larsen
Review by: Sverre Rabbelier
Review issue: 341
Review URL: http://codereviews.googleopensourceprograms.com/341
Todd Larsen <tlarsen@google.com> [Tue, 10 Jun 2008 16:10:31 +0000] rev 50
Changes to address Sverre's comments about the previous commit.
Patch by: Todd Larsen
Review by: Sverre Rabbelier
Review issue: 321
Review URL: http://codereviews.googleopensourceprograms.com/321
Todd Larsen <tlarsen@google.com> [Tue, 10 Jun 2008 16:08:15 +0000] rev 49
Changes to address Sverre's comments to the previous commit.
Patch by: Todd Larsen
Review by: Sverre Rabbelier
Review issue: 281
Review URL: http://codereviews.googleopensourceprograms.com/281
Todd Larsen <tlarsen@google.com> [Mon, 09 Jun 2008 23:49:20 +0000] rev 48
Addressed Sverre's commits on the previous commit.
Patch by: Todd Larsen
Review by: Sverre Rabbelier
Review issue: 282
Review URL: http://codereviews.googleopensourceprograms.com/282
Todd Larsen <tlarsen@google.com> [Fri, 06 Jun 2008 04:30:49 +0000] rev 47
Script to 'svn cp' /trunk/apps/<app>, /thirdparty/, /trunk/soc/ into a branch.
Patch by: Todd Larsen
TO BE REVIEWED
Review issue: 341
Review URL: http://codereviews.googleopensourceprograms.com/341
Todd Larsen <tlarsen@google.com> [Fri, 06 Jun 2008 04:10:52 +0000] rev 46
Script to 'svn export' /trunk/apps/<app>, /thirdparty/, /trunk/soc/ to local
filesystem.
Patch by: Todd Larsen
TO BE REVIEWED
Review issue: 321
Review URL: http://codereviews.googleopensourceprograms.com/321
Todd Larsen <tlarsen@google.com> [Fri, 06 Jun 2008 03:25:08 +0000] rev 45
Module for new_branch.py and related scripts to manipulate Google App Engine
"image" directories.
Patch by: Todd Larsen
TO BE REVIEWED
Review issue: 282
Review URL: http://codereviews.googleopensourceprograms.com/282
Todd Larsen <tlarsen@google.com> [Fri, 06 Jun 2008 03:18:55 +0000] rev 44
New svn_helper.py functionality for new_branch.py and related scripts.
Patch by: Todd Larsen
TO BE REVIEWED
Review issue: 301
Review URL: http://codereviews.googleopensourceprograms.com/301
Todd Larsen <tlarsen@google.com> [Fri, 06 Jun 2008 03:15:26 +0000] rev 43
New settings.py functionality for new_branch.py and related scripts.
Patch by: Todd Larsen
TO BE REVIEWED
Review issue: 281
Review URL: http://codereviews.googleopensourceprograms.com/281
Todd Larsen <tlarsen@google.com> [Sat, 31 May 2008 01:13:58 +0000] rev 42
Updated version of proto.css that defines some "form field" table cell styles
that was missed in the previous commit.
Todd Larsen <tlarsen@google.com> [Sat, 31 May 2008 01:11:22 +0000] rev 41
Empty index.yaml file created by dev_appserver.py, so that it will stop
showing up as an unknown file in the 'svn status' output.
Todd Larsen <tlarsen@google.com> [Fri, 30 May 2008 17:14:42 +0000] rev 40
A {% field_as_table_row %} template tag to simplify custom forms. (This
template file was missed in the r348 commit.)
Patch by: Todd Larsen
Review by: Pawel Solyga
Review issue: 221
Review URL: http://codereviews.googleopensourceprograms.com/221
Todd Larsen <tlarsen@google.com> [Wed, 28 May 2008 20:52:28 +0000] rev 39
Major revamp of Person model, splitting up poorly-validated properties into
StringProperties, etc.
Patch by: Todd Larsen
Review by: Pawel Solyga
Review issue: 261
Review URL: http://codereviews.googleopensourceprograms.com/261
Todd Larsen <tlarsen@google.com> [Fri, 23 May 2008 20:56:02 +0000] rev 38
A {% field_as_table_row %} template tag to simplify custom forms.
Patch by: Todd Larsen
Review by: Pawel Solyga
Review issue: 221
Review URL: http://codereviews.googleopensourceprograms.com/221
Todd Larsen <tlarsen@google.com> [Fri, 23 May 2008 19:07:45 +0000] rev 37
List of countries and territories used in addresses.
Patch by: Todd Larsen
Review by: Maarten Lankhorst
Review issue: 241
Review URL: http://codereviews.googleopensourceprograms.com/241
Todd Larsen <tlarsen@google.com> [Fri, 23 May 2008 03:35:33 +0000] rev 36
DbModelForm class that fixes verbose_name and help_text handling for Django
forms generated from App Engine Datastore models.
Patch by: Todd Larsen
Review by: Augie Fackler
Review issue: 201
Review URL: http://codereviews.googleopensourceprograms.com/201
Todd Larsen <tlarsen@google.com> [Fri, 23 May 2008 00:22:07 +0000] rev 35
Replace verbose text in __doc__ string with link to wiki topic about using
nosetests to run the tests.
Todd Larsen <tlarsen@google.com> [Thu, 22 May 2008 19:49:02 +0000] rev 34
Fix a typo in the {% extends %} example and add a section on Model-specific
View template sub-directories.
Todd Larsen <tlarsen@google.com> [Thu, 22 May 2008 19:37:38 +0000] rev 33
Add customized proto/person/profile.html template that was missed in the
original apps/proto commit, and follow the new <model>/<view>.html directory
structure now used in soc/templates/soc.
Todd Larsen <tlarsen@google.com> [Thu, 22 May 2008 19:36:13 +0000] rev 32
Move soc/profile.html into soc/person/profile.html, to avoid collisions between
similarly-named templates.
Todd Larsen <tlarsen@google.com> [Wed, 21 May 2008 16:27:35 +0000] rev 31
First iteration of a "prototype" Melange app, along with an initial Person
Profile view.
Patch by: Augie Fackler (with some additions by Todd Larsen)
Review by: Todd Larsen
Review issue: 46
Review URL: http://codereviews.googleopensourceprograms.com/46
Todd Larsen <tlarsen@google.com> [Mon, 19 May 2008 17:01:02 +0000] rev 30
Helper module used by utility and tool scripts to access svn repositories.
Patch by: Todd Larsen
Review by: Sverre Rabbelier
Review issue: 105
Review URL: http://codereviews.googleopensourceprograms.com/105
Todd Larsen <tlarsen@google.com> [Fri, 16 May 2008 19:46:16 +0000] rev 29
settings.py module (and associated tests) for reading a settings file and
combining it with command-line options, for SoC utility and tool scripts.
Patch by: Todd Larsen
Review by: Sverre Rabbelier
Review issue: 145
Review URL: http://codereviews.googleopensourceprograms.com/145
Todd Larsen <tlarsen@google.com> [Wed, 14 May 2008 01:48:13 +0000] rev 28
Make the scripts and scripts/tests directories into packages by adding empty
__init__.py files.
Todd Larsen <tlarsen@google.com> [Wed, 14 May 2008 01:47:24 +0000] rev 27
Create a sub-directory for tests of scripts and script helper modules.
Todd Larsen <tlarsen@google.com> [Tue, 13 May 2008 17:33:55 +0000] rev 26
Nest GHOP module directories in a ghop/ghop sub-directory to preserve the
module namespace when /trunk/apps/ghop/ is branched into a Google App Engine
image.
Todd Larsen <tlarsen@google.com> [Tue, 13 May 2008 17:31:56 +0000] rev 25
Moving gsoc and ghop Melange app directories into /trunk/apps/ per Pawel's
recent suggestion.
Todd Larsen <tlarsen@google.com> [Tue, 13 May 2008 00:43:02 +0000] rev 24
Move the GSoC-specific module hierarchy into a sub-directory to simplify the
branch-building scripts.
Todd Larsen <tlarsen@google.com> [Tue, 13 May 2008 00:39:42 +0000] rev 23
Move the GSoC-specific module hierarchy into a sub-directory to simplify the
branch-building scripts.
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 12 May 2008 21:04:15 +0000] rev 22
Initial definition of the Review Model.
Patch by: Sverre Rabbelier
Review by: Todd Larsen
Review issue: 162
Review URL: http://codereviews.googleopensourceprograms.com/162
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 12 May 2008 20:40:56 +0000] rev 21
Initial definition of the Documentation Model.
Patch by: Sverre Rabbelier
Review by: Todd Larsen
Review issue: 25
Review URL: http://codereviews.googleopensourceprograms.com/25
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 12 May 2008 20:12:46 +0000] rev 20
Initial definition of the Answer Model.
Patch by: Sverre Rabbelier
Review by: Todd Larsen
Review issue: 102
Review URL: http://codereviews.googleopensourceprograms.com/102
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 12 May 2008 19:34:58 +0000] rev 19
Initial definition of the Host Model.
Patch by: Sverre Rabbelier
Review by: Todd Larsen
Review issue: 101
Review URL: http://codereviews.googleopensourceprograms.com/101
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 10 May 2008 02:15:40 +0000] rev 18
Initial definition of the Work Model.
Patch by: Sverre Rabbelier
Review by: Todd Larsen
Review issue: 24
Review URL: http://codereviews.googleopensourceprograms.com/24
Augie Fackler <durin42@gmail.com> [Fri, 09 May 2008 04:30:45 +0000] rev 17
Per tlarsen, remove this externals reference to Django trunk.
Todd Larsen <tlarsen@google.com> [Fri, 09 May 2008 03:22:14 +0000] rev 16
Initial definition of the Work Model.
Review: http://codereviews.googleopensourceprograms.com/63
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 May 2008 23:58:47 +0000] rev 15
Initial implementation of the Reviewer Model in the reviewer.py module.
Review: http://codereviews.googleopensourceprograms.com/42
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 May 2008 23:48:43 +0000] rev 14
Initial implementation of the Contributor Model in the contributor.py module.
Review: http://codereviews.googleopensourceprograms.com/61
Todd Larsen <tlarsen@google.com> [Thu, 08 May 2008 22:34:47 +0000] rev 13
Clarify back-reference relations the same way that they are documented for
the User model in user.py.
Review: http://codereviews.googleopensourceprograms.com/81
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 May 2008 22:29:31 +0000] rev 12
Initial implementation of the Author Model in the author.py module.
Review: http://codereviews.googleopensourceprograms.com/41
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 May 2008 21:48:03 +0000] rev 11
Initial implementation of the Administrator Model in the administrator.py module.
Reviewed-at: http://codereviews.googleopensourceprograms.com/21
Todd Larsen <tlarsen@google.com> [Wed, 07 May 2008 21:52:33 +0000] rev 10
Script to generate epydoc documents in wiki/html/epydoc.
Contributed by Sverre Rabbelier.
Todd Larsen <tlarsen@google.com> [Wed, 07 May 2008 19:55:24 +0000] rev 9
Oops. The original scripts sub-directory was put in the wrong place.
Todd Larsen <tlarsen@google.com> [Wed, 07 May 2008 00:39:03 +0000] rev 8
Initial conversion of the Person Model from PersonModel.wiki to person.py.
Todd Larsen <tlarsen@google.com> [Tue, 06 May 2008 22:06:43 +0000] rev 7
Initial revision of the user.py module, containing the User Model, from the
patch contributed by Sverre Rabbelier. Thanks, Sverre, for contributing our
first external patch!
Todd Larsen <tlarsen@google.com> [Tue, 06 May 2008 21:58:48 +0000] rev 6
Add /trunk/ of Django using svn:externals.
Todd Larsen <tlarsen@google.com> [Tue, 06 May 2008 20:26:14 +0000] rev 5
Initial AUTHORS file. Each contributor is added when their first contribution
is commmitted.
Todd Larsen <tlarsen@google.com> [Tue, 06 May 2008 19:31:07 +0000] rev 4
Create the package directory structure for the GSoC and GHOP Melange
applications, since we know that these are going to be written for sure.
Todd Larsen <tlarsen@google.com> [Tue, 06 May 2008 19:25:37 +0000] rev 3
Add a "namespace-subdivided" Django templates directory for the SoC
framework.
Todd Larsen <tlarsen@google.com> [Tue, 06 May 2008 19:19:22 +0000] rev 2
Create the soc.views sub-package for modules that implement Views.
Todd Larsen <tlarsen@google.com> [Mon, 05 May 2008 22:46:54 +0000] rev 1
Define the soc package and the soc.models sub-package.
Todd Larsen <tlarsen@google.com> [Thu, 24 Apr 2008 16:34:55 +0000] rev 0
Add license text file for Apache 2.0 license.