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