[cvs] commit: horde/config prefs.php.dist framework/Auth Auth.php
framework/Maintenance Maintenance.php imp/lib Session.php
imp/lib/Maintenance/Task rename_sentmail_monthly.php horde/services
maintenance.php
Chuck Hagenbuch
chuck at horde.org
Thu Oct 21 12:11:35 PDT 2004
chuck 2004-10-21 12:11:35 PDT
Modified files:
config prefs.php.dist
Auth Auth.php
Maintenance Maintenance.php
lib Session.php
lib/Maintenance/Task rename_sentmail_monthly.php
services maintenance.php
Log:
Alright, Michael, I need help here.
- I don't know how to figure out when maintenance is done (my best try is at the
bottom of _doMaintenanceTasks()
- I don't know how maintenance tasks actually manage to *run* when you don't call
maintenance.php, unless you end up on imp/redirect.php by an extremely
happy accident.
I've gone and replaced the check for last_login with a new last_maintenance preference
to make the whole thing a little more reuseable and less fragile. Aside from figuring
out where to set it, that part is relatively solid.
The problem is avoiding running maintenance while inside the Horde menu sidebar
(this happens when you have Horde authentication, the IMP dynamic folder
block, and you can auto-login to IMP with 'hordeauth' authentication).
My hack to prevent it is committed, but something better should be possible.
One possibility is to just remove the call to IMP_Session::loginTasks in imp/lib/Auth/imp.php.
Would that break anything?
Revision Changes Path
1.141 +4 -7 framework/Auth/Auth.php
1.51 +33 -18 framework/Maintenance/Maintenance.php
1.73 +10 -1 horde/config/prefs.php.dist
1.30 +7 -7 horde/services/maintenance.php
1.28 +7 -10 imp/lib/Maintenance/Task/rename_sentmail_monthly.php
1.67 +5 -9 imp/lib/Session.php
Chora Links:
http://cvs.horde.org/diff.php/framework/Auth/Auth.php?r1=1.140&r2=1.141&ty=u
http://cvs.horde.org/diff.php/framework/Maintenance/Maintenance.php?r1=1.50&r2=1.51&ty=u
http://cvs.horde.org/diff.php/horde/config/prefs.php.dist?r1=1.72&r2=1.73&ty=u
http://cvs.horde.org/diff.php/horde/services/maintenance.php?r1=1.29&r2=1.30&ty=u
http://cvs.horde.org/diff.php/imp/lib/Maintenance/Task/rename_sentmail_monthly.php?r1=1.27&r2=1.28&ty=u
http://cvs.horde.org/diff.php/imp/lib/Session.php?r1=1.66&r2=1.67&ty=u
More information about the cvs
mailing list