[prev] [thread] [next] [lurker] [Date index for 2005/02/15]
Author: simon Date: 2005-02-15 12:31:06 +0000 (Tue, 15 Feb 2005) New Revision: 1884 Modified: trunk/buscador/.svnignore trunk/buscador/INSTALL trunk/buscador/MANIFEST trunk/buscador/TODO Log: Fix some stuff Modified: trunk/buscador/.svnignore =================================================================== --- trunk/buscador/.svnignore 2005-02-15 12:26:30 UTC (rev 1883) +++ trunk/buscador/.svnignore 2005-02-15 12:31:06 UTC (rev 1884) @@ -1,7 +1,15 @@ +*.db +amazon.db META.yml +testmail *.mails -testmails/* -email.db emailstore-index try buscador.config +testmails +Makefile.PL +Makefile +_build +blib +try + Modified: trunk/buscador/INSTALL =================================================================== --- trunk/buscador/INSTALL 2005-02-15 12:26:30 UTC (rev 1883) +++ trunk/buscador/INSTALL 2005-02-15 12:31:06 UTC (rev 1884) @@ -39,62 +39,73 @@ Apache::Request Mail::ListDetector Email::MIME -Email::MIME::Attachment::Stripper we're harassing authors where appropriate as we speak. ------------------------------------- -3) Create the config file +3) Add in the Apache Config ------------------------------------- -Make a Buscador::Config file. I did this by creating a -directory called Buscador with a Config.pm file inside. +I added this into my virtual host config -Mine looks like + <Location /buscador> + PerlSetEnv PERL5LIB /virtual/thegestalt.org/www/html/buscador/demo + PerlHandler Buscador + #PerlInitHandler Apache::StatINC + </Location> -package Buscador::Config; +StatINC allows me to develop without restarting Apache every time. -sub home { "/virtual/thegestalt.org/www/html/buscador" } -sub uri { "http://thegestalt.org/buscador/" } -sub image_uri { "http://thegestalt.org/images/" } -sub dsn { my $home = $_[0]->home; "dbi:SQLite:$home/email.db" } -1; +------------------------------------- +4) Initialise the directory +------------------------------------- -Check with a +Change to -% perl -c Buscador.pm + /virtual/thegestalt.org/www/html/buscador/demo +(or wherever you put in step 3) and run + + % buscador -init + +Which will copy a load of template files and create a buscador.config file. + ------------------------------------- -4) Add in the Apache Config +5) Edit the config file ------------------------------------- -I added this into my virtual host config +Mine looks like - <Location /buscador> - PerlSetEnv PERL5LIB /virtual/thegestalt.org/www/html/buscador/ - PerlHandler Buscador - PerlInitHandler Apache::StatINC - </Location> + uri = http://thegestalt.org/buscador/demo + image_uri = http://thegestalt.org/buscador/images + dsn = dbi:SQLite2:email.db -StatINC allows me to develop without restarting Apache every time. +I keep my image files in a seperate place because it's faster. ------------------------------------- -5) Add in a load of mails +6) Set up the DB ------------------------------------- -Run +Simply be in your Buscador directory and do - % perl -MEmail::Store=dbi:SQLite:email.db -e"Email::Store->setup" + % buscador -setup -Then use something like this +the buscador command line tool will automatically pick up the details +from your buscador.config file. - http://thegestalt.org/buscador/mail_import +------------------------------------- +7) Import mails +------------------------------------- -with a mail folder as the first argument. +Again, be in your buscador directory and do + % buscador <folder[s]> +and it will import. You can also cat a single mail into it which is useful +for setting up as an alias. + ------------------------------------- -6) Restart apache +8) Restart apache ------------------------------------- Err, that should be it. Modified: trunk/buscador/MANIFEST =================================================================== --- trunk/buscador/MANIFEST 2005-02-15 12:26:30 UTC (rev 1883) +++ trunk/buscador/MANIFEST 2005-02-15 12:31:06 UTC (rev 1884) @@ -1,4 +1,5 @@ Build.PL +Makefile.PL MANIFEST This list of files INSTALL Changes @@ -9,7 +10,6 @@ chrome/atom.gif chrome/blank.png chrome/bullet.gif -chrome/button.gif chrome/buscador.css chrome/corner.png chrome/cross.png @@ -28,7 +28,6 @@ chrome/personunknown.gif chrome/plus.gif chrome/tee.png -chrome/thumbsup.gif chrome/vertical.png lib/Buscador.pm lib/Buscador/Addressing.pm @@ -47,7 +46,6 @@ lib/Buscador/Vote.pm lib/Email/Store/Vote.pm t/01basic.t -t/date.t t/test.mail t/test2.mail templates/atom @@ -63,7 +61,6 @@ templates/list/list templates/list/view templates/macros -templates/mail/header templates/mail/list templates/mail/lurker templates/mail/popular Modified: trunk/buscador/TODO =================================================================== --- trunk/buscador/TODO 2005-02-15 12:26:30 UTC (rev 1883) +++ trunk/buscador/TODO 2005-02-15 12:31:06 UTC (rev 1884) @@ -15,12 +15,26 @@ -- make sure that all attchments are clickable - DONE -- show scrubbed html where appropriate - DONE -- fix troublesome.mail - DONE -- make a good test suite of mails - half -- make text/plain default body if no other available - DONE +* make sure that all attchments are clickable - DONE +* show scrubbed html where appropriate - DONE +* fix troublesome.mail - DONE +* make a good test suite of mails - DONE +* make text/plain default body if no other available - DONE +* Voting - +* Download raw mbox - +* Arc threads - +* Import LTJakes clean templates - +* Sort out images - +* Sort out ignore stuff - +* Fix entities - +* Move content decoding into ::Attachment - +* Add content disposition to ::Attachment - +* Do something about inline html - +* Make unicode bodies show up in Recent properly - + + +
Generated at 13:00 on 15 Feb 2005 by mariachi 0.52