Commit Graph

473 Commits

Author SHA1 Message Date
Andrew Dolgov 37b2bca99e af_readability: encoding may be lower case 2015-07-13 19:24:59 +03:00
Andrew Dolgov 1727ceabca Merge branch 'master' of git.fakecake.org:tt-rss 2015-07-12 01:29:50 +03:00
Andrew Dolgov f5a0fb8b64 queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating 2015-07-12 01:29:36 +03:00
Andrew Dolgov dae36971ae add a quick hack for imgur single page links 2015-07-11 13:32:28 +03:00
Andrew Dolgov 5f297a5c11 af_redditimgur: some additional .gif -> mp4 rewriting 2015-07-11 02:08:53 +03:00
Andrew Dolgov d4ac4fc6fd af_redditimgur: fix imgur single-image pages 2015-07-11 00:54:15 +03:00
Andrew Dolgov b8887ebb14 redditimgur: extract video poster urls 2015-07-10 09:02:52 +03:00
Andrew Dolgov 9ec9a8f941 redditimgur: don't try to readability parse youtube, add another youtube embed variant 2015-07-09 15:34:28 +03:00
Andrew Dolgov 12d880d77a redditimgur: don't try to readability parse twitter 2015-07-09 12:13:44 +03:00
Andrew Dolgov 47888b3d87 af_redditimgur: do not reinline content extracted by readability 2015-07-09 09:39:45 +03:00
Andrew Dolgov 8b08d9d740 move readability libs to system location 2015-07-08 13:44:45 +03:00
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
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 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 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 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
Andrew Dolgov 299aeb3094 af_redditimgur: gifv: fix iframe not being wide enough, fix indenting 2015-05-15 08:06:18 +03:00
aliz27 1af9f54f32 Correct variable 2015-05-14 22:39:11 +02:00
aliz27 248c5a6ab1 Allow links to m.imgur.com pages 2015-05-14 11:52:44 +02:00
aliz27 7adf95562d Sometimes imgur links has ?1 in the url 2015-05-14 11:27:09 +02:00
aliz27 9875d71792 Support .gifv 2015-05-14 11:03:06 +02:00
aliz27 a3013adedd Add support for sillies 2015-05-13 18:19:32 +02:00
Andrew Dolgov 945346cbff add HOOK_RENDER_ENCLOSURE & af_youtube_embed plugin 2015-04-21 14:07:20 +03:00
Andrew Dolgov 0722e857c0 add additional check for sphinxclient class 2015-04-03 19:53:35 +03:00
Andrew Dolgov 27f7b59353 add a wrapper for standard error codes returned by backend, also add explanation to the error object if possible 2015-03-30 13:02:24 +03:00
Andrew Dolgov a29fe12195 add auto_assign_labels plugin; allow article filter plugins to add labels to articles 2015-03-04 00:26:52 +03:00
Andrew Dolgov 95ebe737bd cache_starred_images: route images to public.php 2015-02-25 21:16:14 +03:00
Andrew Dolgov 47cdc58c60 af_redditimgur: add support for bullshit ajaxified imgur albums 2015-02-03 13:31:41 +03:00
Andrew Dolgov ed775e4e8d remove obsolete code related to version checking and tarball updater plugin 2015-01-31 15:08:55 +03:00
Andrew Dolgov 94238b143a related: do not consider negative scored headlines 2015-01-19 18:18:03 +03:00
Andrew Dolgov d806953471 trgm: extend relative articles search interval 2015-01-19 16:42:10 +03:00
Andrew Dolgov f52879fed5 trgm: add basic related stories dialog 2015-01-19 15:46:15 +03:00
Andrew Dolgov 7ebb2daf91 trgm: add disabled for now button part (add missing files) 2015-01-19 15:12:40 +03:00
Andrew Dolgov 167fb03f3e trgm: add disabled for now button part 2015-01-19 14:59:33 +03:00
Andrew Dolgov 9a121298e1 add some stuff to the trgm plugin 2015-01-19 14:22:41 +03:00
Andrew Dolgov 97600ddd97 af_psql_trgm: allow dupe checking within one feed 2015-01-19 12:56:36 +03:00
Andrew Dolgov 117efb6fa4 add trgm plugin for postgresql 2015-01-19 12:52:15 +03:00
Andrew Dolgov d87b710d84 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2015-01-15 10:37:42 +03:00
Andrew Dolgov b1bb951fb8 fix for yet another dilbert changes 2015-01-15 09:23:45 +03:00
zaikos 4262e0019a Temporarily disable entity loader when importing XML file. 2014-12-26 14:43:38 -05:00
Andrew Dolgov 945ecd7db6 fix explosm comics plugin 2014-12-12 12:23:33 +03:00
Andrew Dolgov 9fd581336e fetch_file_contents: support retarded schema-less urls
af_comics_dilbert: fix for new dilbert.com shenanigans
2014-12-03 22:43:25 +03:00
Andrew Dolgov 2681f684c7 af_comics_pa: check node exists before trying to manipulate it 2014-12-03 18:06:22 +03:00
Andrew Dolgov e8a0d290c0 no_iframes: remove everything except good iframes 2014-11-25 18:40:19 +03:00
Andrew Dolgov 84c6f17deb add af_tumblr_1280 2014-11-15 16:37:21 +03:00
Andrew Dolgov 346297d4d2 add imgsetsizes plugin 2014-11-09 20:31:46 +03:00
Andrew Dolgov 110ce72a72 add af_comics filter for toothpastefordinner 2014-10-21 16:53:17 +04:00
Bram Schoenmakers 96aba17f01 Updater: check whether system() is useable.
system() was disabled on my system for security reasons, but the
updater would just continue, only to find out that the tarball
hasn't been extracted.
2014-09-17 19:24:30 +02:00
Andrew Dolgov 6bc50a82fb mailto: remove unneeded space 2014-08-26 18:15:13 +04:00
Andrew Dolgov 38bc9dad22 mail plugin: use dijit.form.ComboBox to allow random email input instead of only predefined ones 2014-08-26 18:11:32 +04:00
Andrew Dolgov 2242bb38d2 af_elreg: remove ads 2014-08-22 15:49:20 +04:00
Andrew Dolgov 35dfbdc573 add af_elreg 2014-08-22 15:40:41 +04:00
Andrew Dolgov 849c66b783 remove ob_clean/flush shit as unneeded hacks from cached image output routines 2014-08-21 13:20:23 +04:00
Andrew Dolgov 129d626354 plugins: remove obsolete plugin_data/stored stuff 2014-08-18 18:41:19 +04:00
Andrew Dolgov 694f96abb6 add af_comics_darklegacy 2014-08-12 19:36:57 +04:00
Andrew Dolgov 3263c9ccee af_fsckportal: remove unused variables 2014-08-08 11:34:13 +04:00
Andrew Dolgov 9203929c28 af_comics_gocomics: fix indenting 2014-08-08 11:10:52 +04:00
mcbyte-it d35bd9a233 fix zoomed version
Fixed the gocomics filter to get the zoomed version of the comic
2014-08-06 20:13:01 +02:00
Andrew Dolgov a6626ebd4c mail plugin: fix typo 2014-08-06 10:47:09 +04:00
Andrew Dolgov 6d194d8541 mail plugin: use system from address 2014-08-06 09:36:55 +04:00
Andrew Dolgov 2d3ff64360 mail plugin: destination dropdown css fix 2014-07-02 10:39:53 +04:00
Andrew Dolgov 3e0f2090bf mail plugin: cleanup disabled completion, add configurable destination email list 2014-07-02 10:38:59 +04:00
Andrew Dolgov 18c1b21d28 mailto plugin: only mail unique articles 2014-07-02 09:57:23 +04:00
Andrew Dolgov d7482a503a mail plugin: only mail unique articles 2014-07-02 09:53:58 +04:00
Andrew Dolgov 66c6f91c14 af_comics: add extra fabulous comics 2014-06-16 12:24:51 +04:00
Andrew Dolgov a0dfd7ef88 fix several login parameters not being passed through OTP form 2014-05-03 18:37:08 +00:00
Andrew Dolgov edd882ede4 search_sphinx: abort if system client library exists 2014-04-23 05:01:13 +00:00
Andrew Dolgov af2c15f3d3 mention config.php settings in search_sphinx plugin description 2014-04-23 04:53:09 +00:00
Rob Hoelz baaf4c3043 Make search mechanism pluggable
Currently, TinyTinyRSS can use raw SQL or the Sphinx search engine
for searching.  It would be nice if other search engines (such as
Xapian) could be used, or if features of the underlying SQL engine
(such as MySQL's FULLTEXT indexes) could be leveraged.  This commit
makes searching into a plugin hook, falling back to the builtin behavior
if no search plugin is active.  The Sphinx search behavior has been
broken out into a plugin.
2014-04-23 04:49:54 +00:00
alok b16e8ba8ef Fix permission on cache/upload after upgrade
The daemon complains about cache/upload after the updater upgrades the installation. This should fix the permissions.
2014-04-12 23:06:01 -04:00
Andrew Dolgov 98c7f6299a af_comics_cad: do not process news posts 2014-04-02 05:17:02 +00:00
Andrew Dolgov 463bcb7769 fix af_habr 2014-04-01 14:44:13 +00:00
Andrew Dolgov eb1921efee add af_habr 2014-03-31 14:39:57 +04:00
Andrew Dolgov 06e8777b60 af_comics: remove filter notice 2014-02-20 20:53:32 +04:00
Andrew Dolgov 901dd67a1a af_comics: split filters to separate files to ease maintenance 2014-02-17 13:00:25 +04:00
Andrew Dolgov bf5e77a165 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2014-02-17 12:27:07 +04:00
Andrew Dolgov 52265e19c0 af_comics: add cad embedding 2014-02-17 12:26:46 +04:00
kythyria 3df1a8b857 Okay, let's fix just the bits of Penny Arcade that actually need fixing 2014-02-14 12:44:39 +00:00
Andrew Dolgov abe24e3977 af_comics: fix for PA new layout 2014-02-12 13:32:44 +04:00
Andrew Dolgov f826070c56 af_comics: add happyjar 2014-02-10 23:03:58 +04:00
Andrew Dolgov cdbcb2778a move Zoom stylesheet to a separate file
update stylesheet/javascript tag helpers to return output instead of
printing it
2014-01-28 01:39:24 +04:00
Andrew Dolgov 4c63934bac increase randomness of shared url keys a bit 2014-01-17 13:41:27 +04:00
Andrew Dolgov de0d8d1088 move individual bundled comics-related af plugins to af_comics 2014-01-09 14:08:39 +04:00
Andrew Dolgov c30bbffbcf add af_csection 2014-01-09 13:33:25 +04:00
Andrew Dolgov 76d78eb2e7 remove unnecessary wrapping from share uniqid() keys 2013-12-24 13:27:57 +04:00
Andrew Dolgov 9864c1362a add no_url_hashes plugin 2013-12-05 23:42:20 +04:00
Andrew Dolgov cb868cbe84 add af_threewordphase 2013-11-09 22:25:36 +04:00
Andrew Dolgov 1130125a3a add af_fsckportal 2013-10-23 11:53:35 +04:00
Andrew Dolgov e44ea76268 af_redditimgur: add workaround for imgur switching to protocol-less links for images 2013-10-11 13:41:30 +04:00
Andrew Dolgov ae3851b1b5 discard gzipped buffer in cache starred image sender method 2013-10-05 20:28:26 +04:00
Andrew Dolgov 05f14a7d19 add (undocumented) _CURL_HTTP_PROXY 2013-09-30 13:27:14 +04:00
Andrew Dolgov 59962a6ebd updater: add button to call updateself dialog even if no next version detected 2013-09-11 15:17:22 +04:00
Andrew Dolgov f5967cf825 cache starred: only try to chmod cache directory if it is not writable 2013-09-06 09:21:17 +04:00