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