Commit graph

7565 commits

Author SHA1 Message Date
Andrew Dolgov
bc0e565a77 apparently classifier may return NaN 2015-06-18 18:53:52 +03:00
Andrew Dolgov
168e32b946 add basic classifier information window 2015-06-18 18:30:05 +03:00
Andrew Dolgov
5a45821ec9 prevent event propagation when clicking on CDM article footer 2015-06-18 16:00:03 +03:00
Andrew Dolgov
0f037312a0 bayes: add loading message 2015-06-18 15:58:09 +03:00
Andrew Dolgov
5b0cb9aa7f bayes: stop onclick event on our button from propagating back to article 2015-06-18 15:57:17 +03:00
Andrew Dolgov
13167d2a2f fix previous 2015-06-18 12:10:22 +03:00
Andrew Dolgov
4dbd303bc7 Revert "experiment: switch to 3-gram tokens"
This reverts commit e0940bfc4f.

Conflicts:
	plugins/af_sort_bayes/init.php
2015-06-18 11:56:07 +03:00
Andrew Dolgov
5df13f31ef bayes: fix check for already categorized articles 2015-06-18 10:56:42 +03:00
Andrew Dolgov
e0940bfc4f experiment: switch to 3-gram tokens 2015-06-18 09:42:20 +03:00
Andrew Dolgov
ef7395f170 add more english common words to bayes ignore list 2015-06-18 08:42:17 +03:00
Andrew Dolgov
5613bb3584 fix toothpastefordinner valiant efforts to prevent scraping 2015-06-18 08:28:54 +03:00
Andrew Dolgov
6c9f3d4a60 update_rss_feed: limit maximum execution time while processing articles 2015-06-17 23:26:09 +03:00
Andrew Dolgov
fe4535e6d3 bayes, filter: do not categorize already processed articles
rss: remove site url/title checks from update_rss_feed
2015-06-17 23:18:12 +03:00
Andrew Dolgov
6022776dac speedup feed subscription process 2015-06-17 23:11:47 +03:00
Andrew Dolgov
fa05356a88 show ugly minimum word count for auto categorizing in prefs ui 2015-06-17 22:13:58 +03:00
Andrew Dolgov
21111f62ff bayes: fix typo 2015-06-17 22:09:02 +03:00
Andrew Dolgov
a72cd54ce1 bayes: properly reset score when going good -> ugly
article: add helper to refresh article score pic, properly set scorepic title
2015-06-17 22:04:32 +03:00
Andrew Dolgov
308c55c0f1 bayes: better prefs ui/stats 2015-06-17 21:40:44 +03:00
Andrew Dolgov
47cd0bd551 bayes filter: remove unnecessary debugging 2015-06-17 19:53:49 +03:00
Andrew Dolgov
61c9ce6ae7 bayes: remote unused content field for references schema 2015-06-17 19:46:52 +03:00
Andrew Dolgov
d62a5e0cb2 bayes: fix psql schema typo 2015-06-17 19:42:41 +03:00
Andrew Dolgov
4da0cb323f classifier: add workaround for division by zero 2015-06-17 19:26:50 +03:00
Andrew Dolgov
e0ae194ac9 some bayes updates 2015-06-17 19:20:44 +03:00
Andrew Dolgov
08cfcba417 switch to three different bayes categories 2015-06-17 18:53:53 +03:00
Andrew Dolgov
3dcd00e4c4 use ngram tokens instead of whole words for matching 2015-06-17 18:15:41 +03:00
Andrew Dolgov
4947c02e1a show article count in bayes stats 2015-06-17 17:00:36 +03:00
Andrew Dolgov
3c43def90f add button to clear bayes database 2015-06-17 16:50:21 +03:00
Andrew Dolgov
b02e8bc8f2 bayes: add mysql script 2015-06-17 15:38:59 +03:00
Andrew Dolgov
7c69068f82 reenable autolearn as good 2015-06-17 15:18:07 +03:00
Andrew Dolgov
59e83455f1 add some more bayes stuff 2015-06-17 15:15:04 +03:00
Andrew Dolgov
853cc128d6 add placeholder stuff for af_sort_bayes 2015-06-17 10:36:11 +03:00
Andrew Dolgov
35c12dc40a add workaround for mysql only accepting subset of unicode characters 2015-06-16 08:17:49 +03:00
Andrew Dolgov
5914f31981 pluginhost: mention that update task & housekeeping hooks are for global plugins only 2015-06-15 21:41:55 +03:00
Andrew Dolgov
6de3a1be7b allow plugins modify article score 2015-06-15 20:01:07 +03:00
Andrew Dolgov
86b05f8661 better feed debugger ui for f D 2015-06-12 13:06:36 +03:00
Andrew Dolgov
7624aa6e40 add a generic af_comics filter for .comic class sites (much like comicpress handles id comic, i guess) 2015-06-12 12:19:50 +03:00
Andrew Dolgov
f79c4a867b remove obsolete eclipse project files 2015-06-11 17:34:33 +03:00
Andrew Dolgov
53df80c43f af_psql_trgm: clear no longer existing feeds from stored list of enabled ids 2015-06-11 17:17:19 +03:00
Andrew Dolgov
dd6e2386fd fix_url: support schema-less urls 2015-06-08 14:18:49 +03:00
Andrew Dolgov
415a3b50c9 fix some minor typos and stuff 2015-06-07 18:41:18 +03:00
Andrew Dolgov
ca5d39e866 pluginhost: assume plugins.local exists 2015-06-05 18:10:17 +03:00
Andrew Dolgov
b9634eb8b8 support loading themes from themes.local 2015-06-05 18:08:19 +03:00
Andrew Dolgov
7c0a2ab202 pluginhost: allow loading user plugins from plugins.local 2015-06-05 17:54:52 +03:00
Andrew Dolgov
c3dfc1bdb5 Merge pull request #455 from suraia/favicon
Increase favicon size to 32x32 pixels
2015-05-29 13:42:47 +03:00
Andrew Dolgov
5078ebcc6f Merge pull request #456 from andersk/disable-feed-browser
Make _DISABLE_FEED_BROWSER also disable the updateFeedBrowser RPC
2015-05-22 08:35:45 +03:00
Anders Kaseorg
0e653f751e Make _DISABLE_FEED_BROWSER also disable the updateFeedBrowser RPC
The undocumented _DISABLE_FEED_BROWSER option added in commit
c39befacb2 turns off the UI for looking
at which feeds other users are subscribed to, but it did not prevent
you from manually constructing an RPC call to get the same data.  This
was a privacy risk for those who consider _DISABLE_FEED_BROWSER
important.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2015-05-21 23:53:58 -04:00
Michael Kuhn
eccf8e22f9 Increase favicon size to 32x32 pixels
Looks much better on HiDPI screens.
2015-05-20 00:20:04 +02:00
Andrew Dolgov
98e2051086 af_redditimgur: reinstate img placeholder for <video> rewrites to auto-disable embedding attachments, ignore duplicate images when embedding album links 2015-05-18 12:06:21 +03:00
Andrew Dolgov
1929149661 Revert "Add support for sillies"
idiot submitter breaks all embedding with his genius strategy of
handling all posts with now News: in title

This reverts commit a3013adedd.
2015-05-15 09:31:02 +03:00
Andrew Dolgov
1ae46c5033 redditimgur: iframes are garbage 2015-05-15 08:13:47 +03:00