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