Commit Graph

32 Commits

Author SHA1 Message Date
Evan Prodromou
ddcac1d1eb use have_option() 2012-03-08 07:50:51 -06:00
Evan Prodromou
b35fdf13c1 use printfv and printfnq 2012-03-08 07:49:30 -06:00
Evan Prodromou
259acbf966 script to retest a user's notices 2012-03-08 07:46:50 -06:00
Evan Prodromou
e8e0b8c053 Use new event to show forms 2012-03-08 07:01:37 -06:00
Evan Prodromou
5efcfb8598 Don't require real login to view spam 2012-03-08 07:01:21 -06:00
Evan Prodromou
e18d45cf66 use accessors for NLI 2012-03-07 16:07:34 -06:00
Evan Prodromou
6b6ede8598 title for the spam stream 2012-03-07 16:02:56 -06:00
Evan Prodromou
783df54086 move the null assignment of $orig up a bit 2012-03-07 15:58:47 -06:00
Evan Prodromou
1573b5d132 Correctly pass notice to Spam_score::save() 2012-03-07 15:58:32 -06:00
Evan Prodromou
495880c817 autoload for SpamAction and SpamNoticeStream 2012-03-07 15:46:21 -06:00
Evan Prodromou
f139199cf1 New stream for reviewing notices marked as spam
Especially with a new spam filter, it's nice to be able to review stuff marked as spam (and correct it).
2012-03-07 15:40:24 -06:00
Evan Prodromou
c6e7c17396 'Mark as ham' => 'Clear spam' 2012-03-07 15:09:30 -06:00
Evan Prodromou
74746eb63e No quotes for url() in CSS 2012-03-07 15:06:27 -06:00
Evan Prodromou
5d5aab831b float lefterer 2012-03-07 14:50:31 -06:00
Evan Prodromou
765bd6142f use - instead of _ for forms, and unique ids for submits 2012-03-07 14:46:58 -06:00
Evan Prodromou
e9566af3d9 Add icons for spam toggle 2012-03-07 14:32:05 -06:00
Evan Prodromou
6cabea6ae6 try a wrapper div for training form 2012-03-07 13:21:34 -06:00
Evan Prodromou
bf617fd455 summon a spam filter correctly 2012-03-07 09:16:27 -06:00
Evan Prodromou
32008901ec trim() -> trimmed() 2012-03-07 09:14:49 -06:00
Evan Prodromou
5160562567 don't try to force 'real' login for spam training 2012-03-07 09:12:53 -06:00
Evan Prodromou
55a18f1d17 routes for training 2012-03-07 09:08:05 -06:00
Evan Prodromou
0b87e76945 debug log for missing score 2012-03-07 09:04:55 -06:00
Evan Prodromou
c6c879bdb4 not a reference 2012-03-07 08:09:22 -06:00
Evan Prodromou
4ae3e4aaaf Added forms to train notices as spam/ham 2012-03-07 07:24:28 -06:00
Evan Prodromou
1121b10128 New SpamFilter class 2012-03-05 09:58:57 -06:00
Evan Prodromou
8a1911322f make scale() public 2012-03-05 09:32:25 -06:00
Evan Prodromou
1d46a1288f delete spam score on deleted notice 2012-03-05 09:09:14 -06:00
Evan Prodromou
ec7a3c80e5 fix MAX_SCALE constant 2012-03-04 08:49:07 -06:00
Evan Prodromou
fb64cb63b6 upgrade script for spam score 2012-03-02 10:37:20 -06:00
Evan Prodromou
77ab07920f more upgrade-friendly scores 2012-03-02 10:20:01 -06:00
Evan Prodromou
24feeefcc3 remove unnecessary log() calls 2011-12-20 12:59:40 -05:00
Evan Prodromou
80ad09dd3b Initial version gets score at end of notice save 2011-12-20 12:24:22 -05:00