Commit Graph

362 Commits

Author SHA1 Message Date
Andrew Dolgov 25c747f576 Merge branch 'master' of git.fakecake.org:tt-rss 2015-07-08 10:35:29 +03:00
Andrew Dolgov 831129f6a4 ad_readability: also check for content-type if possible 2015-07-08 10:35:19 +03:00
Andrew Dolgov 6475fc7e06 af_redditimgur: check if document is text/html before trying to readability parse it 2015-07-08 10:30:35 +03:00
Andrew Dolgov 3cea4a4b75 go back to fixed wrapper height because dynamic one breaks layout in chrome :( 2015-07-07 16:52:43 +03:00
Andrew Dolgov 0cf910991e shorten_expanded: shorten based on window height not preset value 2015-07-07 16:43:22 +03:00
Andrew Dolgov f7745af952 af_redditimgur: improve youtube detection a bit 2015-07-07 14:22:58 +03:00
Andrew Dolgov 88bf000f8d cache_starred_images: also handle html5 mp4 video files 2015-07-07 13:07:58 +03:00
Andrew Dolgov b7d1306b19 af_readability: add a workaround for meta charset html pages 2015-07-07 10:15:08 +03:00
Andrew Dolgov 6322fc6870 af_redditimgur: fix youtube regexp, try to inline images again if parsed
using readability
2015-07-07 08:44:42 +03:00
Andrew Dolgov 99bb8b3bbb af_redditimgur: do not embed content of reddit links 2015-07-06 23:59:10 +03:00
Andrew Dolgov f7c0d9fc8f fix previous AGAIN aargh 2015-07-06 23:50:34 +03:00
Andrew Dolgov 7975ace2aa fix previous, oops 2015-07-06 23:38:02 +03:00
Andrew Dolgov fd61fd6e79 rewrite relative urls in readability output 2015-07-06 23:29:00 +03:00
Andrew Dolgov baf2bfd504 remove old-style per-site plugins 2015-07-06 23:04:44 +03:00
Andrew Dolgov 1ff7ae42df add af_readability 2015-07-06 23:02:21 +03:00
Andrew Dolgov a95fb1696d af_redditimgur: update description 2015-07-06 22:46:46 +03:00
Andrew Dolgov b90c4468fc sanitize: allow <hr> elements
af_redditimgur: optionally add original content using Readability php implementation
2015-07-06 22:44:43 +03:00
Andrew Dolgov 3b9ca4e6cc af_redditimgur: embed youtube links 2015-07-06 21:44:38 +03:00
Andrew Dolgov 5dcc7bf1f6 af_redditimgur: add <video> controls 2015-07-06 21:31:46 +03:00
Andrew Dolgov 0989732107 af_redditimgur: add yet another imgur album variant 2015-07-06 00:58:55 +03:00
Andrew Dolgov 5f58daa2fb af_redditimgur: better handling of image urls with multiple-character numeric suffixes 2015-07-05 17:47:53 +03:00
Andrew Dolgov 5d42991069 af_redditimgur: support gfycat embeds 2015-07-05 14:56:57 +03:00
Andrew Dolgov f46fe83998 af_psql_trgm: add option to match all feeds 2015-06-22 21:36:25 -07:00
Andrew Dolgov 241026d427 Merge branch 'master' of git.fakecake.org:tt-rss 2015-06-22 18:35:37 -07:00
Andrew Dolgov 4cbca7b28e af_psql_trgm: match equal strings correctly, remove score checking from show related because filter plugin does not take it into account 2015-06-22 18:35:24 -07:00
Andrew Dolgov 57243a9584 af_lang_detect: fix dependency includes 2015-06-19 11:53:56 +03:00
Andrew Dolgov 3318d32410 move language detection to a plugin, remove config.php constant 2015-06-19 10:12:47 +03:00
Andrew Dolgov 724e08f1c0 add missing chart_bar.png 2015-06-19 00:27:44 +03:00
Andrew Dolgov 132e42a9a7 limit maximum data length for bayesian processing 2015-06-18 19:02:39 +03:00
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 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 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 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