From: Jamie M. <jm...@ma...> - 2005-04-13 23:22:50
|
That sounds good. although - I wonder if having this functionality in lightningbug is really worth it. If our cron job has to move and remove a file anyway - we could just have it move index.php to index.php.down and move no-access.html to index.html (and in reverse when it finishes). It would make the cron job a tiny bit more complex but would not involve any change to lb. jamie p.s. I saw a demo once that had a nice little javascript countdown to the next db wipe (there's was timed for Midnight UCT). That would help with the other little problem of someone having their feet swept out from under them while in the middle of vetting or posting something. Daniel Kahn Gillmor wrote: > awesome, jamie. this looks great. nice and clean. i'm happy to help > with the cron-job wipe/restore, if you want to talk about it. Seems > like we should put up a "site down for maintenance" message, flush the > db, reload from a base db, and then remove the "site down for > maintenance" message. hrm. we could auto-modify the config file, i > suppose, but that seems messy. > > here's a proposal: > > we declare a specific filename (e.g. <lb-install-path>/no-access.html) > and if that file exists, it gets displayed instead of anything else -- > no db hits, no nothing. > > then the cron-job just has to move a file into place, do the db > tear-down and rebuild, and then move the file back out of the way. > > what do you think? > > peace, > > --dkg > > PS > i touched up the vetter-demo invite page to spell "vet" correctly :) > > On April 13, jm...@ma... said: > > > Hi all - > > > > I made a bunch of superficial changes to the code base - mostly to > > improve the look of the default installation. It still has a way to go > > (it no longer looks accidental, but now I'm afraid it's lost every shred > > of character it might have had before). In the process I stripped all > > the table tags and replaced with css. And I added a generic content > > policy and vetter guidelines (stripped of cc.org stuff) and added them > > to the cvs. > > > > Finally - I tweaked the web site a bit and got the demo up and working > > on dirt. Please check it out. It includes a little hack for inviting > > yourself to become a vetter. (link from main site: > > http://lightningbug.sf.net). > > > > I'm thinking of adding a cron job to clear all data every night at 3:00 > > am EST. There is no way to delete yourself as a vetter (you can simply > > put yourself on permanent vacation). Some people might not like the idea > > of their email address being stored in perpituity on a demo server. > > > > jamie > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Lightningbug-devel mailing list > > Lig...@li... > > https://lists.sourceforge.net/lists/listinfo/lightningbug-devel > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Lightningbug-devel mailing list > Lig...@li... > https://lists.sourceforge.net/lists/listinfo/lightningbug-devel |