|
From: naoki i. <am...@us...> - 2008-04-30 14:41:46
|
Update of /cvsroot/popfile/engine/Classifier In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30027/Classifier Modified Files: Bayes.pm Log Message: Change Log 1. Message count, False positive count and False negative count are not copied when cloning user Classifier/Bayes.pm 2. Users page cannot be accessed in the single user mode UI/HTML.pm 3. Fixed a bug that malformed cookies would crash POPFile UI/HTTP.pm 4. Tests for multiuser mode 5. Tests for cookies 6. Tests for redirection 7. Tests for status messages tests/TestHTML.tst Current state of the test suite: TestBayesScript PASS TestBayes PASS TestConfiguration PASS TestHistory PASS TestHTML PASS TestHTTP PASS TestIMAP PASS TestInsertScript PASS * TestLogger PASS TestMailParse PASS TestModule PASS TestMQ PASS TestMutex PASS TestPipeScript PASS TestPOP3 PASS TestProxy PASS TestWordMangle PASS TestXMLRPC PASS * : TODO : needs to add tests for multi user support Index: Bayes.pm =================================================================== RCS file: /cvsroot/popfile/engine/Classifier/Bayes.pm,v retrieving revision 1.370 retrieving revision 1.371 diff -C2 -d -r1.370 -r1.371 *** Bayes.pm 28 Apr 2008 11:17:42 -0000 1.370 --- Bayes.pm 30 Apr 2008 14:41:49 -0000 1.371 *************** *** 3634,3638 **** $h->finish; ! # Clone buckets (optional) $h = $self->db_()->prepare( # PROFILE BLOCK START --- 3634,3638 ---- $h->finish; ! # Clone buckets $h = $self->db_()->prepare( # PROFILE BLOCK START *************** *** 3671,3677 **** $h = $self->db_()->prepare( # PROFILE BLOCK START ! "select bucketid, btid, val from buckets, bucket_params where userid = ? and ! buckets.id = bucket_params.bucketid;" ); # PROFILE BLOCK STOP $h->execute( $clid ); --- 3671,3678 ---- $h = $self->db_()->prepare( # PROFILE BLOCK START ! "select bucketid, btid, val from buckets, bucket_params, bucket_template where userid = ? and ! buckets.id = bucket_params.bucketid and ! bucket_template.name not in ( 'fncount', 'fpcount','count' );" ); # PROFILE BLOCK STOP $h->execute( $clid ); |