Commit Graph

8681 Commits

Author SHA1 Message Date
Andrew Dolgov c925f4e3fd use catchall exception handler for readability 2018-07-31 18:31:01 +03:00
Andrew Dolgov a2d1fa5b14 autoloader: check if class name is namespaced before trying to split it 2018-07-18 13:25:18 +03:00
fox 331ded21ba Merge branch 'tumblr_hd_videos' of Self-Perfection/tt-rss into master 2018-07-15 09:04:09 +00:00
Self-Perfection 1cb3084d53 Replace tumblr videos with HD versions
Alternative approach might be extracting replacement URL from "hdUrl"
field of custom property "data-crt-options", but stripping last segment
of video URL is way easier and seems equally robust.
2018-07-14 19:16:40 +03:00
Andrew Dolgov 6e6c3a878d update_rss_feed: limit maximum length of tsvector data because of pgsql limitations 2018-07-10 14:08:55 +03:00
Andrew Dolgov 0cd4a88dc2 remove previous readability library (unused) 2018-06-21 08:24:58 +03:00
Andrew Dolgov 6d95e53524 af_readability: check if sanitized content has anything before replacing
original excerpt
af_readability, af_redditimgur: check php version before using Readability
2018-06-21 08:12:11 +03:00
Andrew Dolgov acf155cf8f remove old-style readability loading 2018-06-20 22:17:10 +03:00
Andrew Dolgov add9b37ab5 auth_internal: load Base32 using proper namespace 2018-06-20 22:15:10 +03:00
Andrew Dolgov 310c18e6bb move OTPHP to vendor/; additionally move Base32 class to OTPHP namespace 2018-06-20 18:27:34 +03:00
Andrew Dolgov df47100ad1 remove SWF enclosure audio player 2018-06-20 18:17:44 +03:00
Andrew Dolgov b22766fcdd Af_RedditImgur: update to use readability-php 2018-06-20 15:56:08 +03:00
Andrew Dolgov a9105e2a61 move JShrink Minifier to vendor/ 2018-06-20 15:04:59 +03:00
Andrew Dolgov 2aaefbfa54 update autoloader to consider namespaces for third party libraries: placed and loaded from vendor/namespace/classpath.php
update readability to a newer implementation based on Readability.js (https://github.com/andreskrey/readability.php)
add vendor/Psr/Log interface required for the above
2018-06-20 14:58:09 +03:00
Andrew Dolgov d00d515320 feedbrowser: fix incorrect usage of LIMIT in prepared statement 2018-06-18 23:50:32 +03:00
fox 149e903dd1 Merge branch 'fix/git-packed-ref' of tobidope/tt-rss into master 2018-06-14 04:27:11 +00:00
Tobias Bell af3663edec Don't bail out if git gc removed refs 2018-06-08 22:07:30 +02:00
Andrew Dolgov f5302247c6 share: add support for og:image, etc. metadata for shared articles 2018-05-29 22:04:02 +03:00
Andrew Dolgov 636164301f import_export: limit and offset don't play nice with generic PDO placeholders 2018-05-28 16:49:39 +03:00
Andrew Dolgov a369a6d946 import_export: update to use PDO 2018-05-28 16:43:53 +03:00
Andrew Dolgov b70c3daffe af_redditimgur updates:
1. remove special handling for imgur albums/pages because its full on cancerous json garbage now with no scrapeable layout
2. skip all urls leading to reddit.com while trying to embed content
3. implement generic last resort embedding based on meta og:image element
2018-05-26 10:25:39 +03:00
Andrew Dolgov b037ffd628 af_readability: specify http accept header 2018-05-25 14:35:33 +03:00
Andrew Dolgov 68d9c412ea fetch_file_contents: allow setting http Accept header 2018-05-25 14:25:08 +03:00
Andrew Dolgov 82152bdc34 Revert "plugins/import_export: use PDO"
This reverts commit 785ffca622.
2018-05-24 12:31:30 +03:00
fox e888879a42 Merge branch 'master' of MatthieuS/tt-rss into master 2018-05-23 09:08:15 +00:00
MatthieuS 5d95676ecc Call the subscription hook from the plugins even if fetch_file_contents returned no data
This allows a plug-in to override the fetch when the core fetch method fails for some feeds (eg. Tumblr feeds when requested from an EU IP).
2018-05-23 09:00:04 +00:00
Andrew Dolgov f0dbfedc81 increase buffersize to 16384 bytes
(also some trailing whitespace got clipped)
2018-05-23 10:40:28 +03:00
fox f7253dbb4e Merge branch 'master' of impa/tt-rss into master 2018-05-23 05:19:59 +00:00
Alexander Yaburov 74a98a6ff2 increased CURLOPT_BUFFERSIZE from 128 to 256 2018-05-23 10:02:03 +05:00
Andrew Dolgov b14f6d58b4 implement hard limits on downloaded data size for general fetching and cache plugins: MAX_DOWNLOAD_FILE_SIZE & MAX_CACHE_FILE_SIZE 2018-05-20 11:08:33 +03:00
Andrew Dolgov f851cdf362 Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2018-05-20 10:41:15 +03:00
Andrew Dolgov 66fe33e769 bump date_updated when updated article data is saved to exclude it from purging (because it is still present in the originating feed) 2018-05-20 10:41:08 +03:00
fox e12ba043ef Merge branch 'fix-fr-translation-typos' of framasky/tt-rss into master 2018-05-20 07:21:12 +00:00
fox 04f4fd0e6b Merge branch 'pdo-import-export-plugin' of framasky/tt-rss into master 2018-05-20 07:21:04 +00:00
Luc Didry 785ffca622
plugins/import_export: use PDO 2018-05-16 16:45:25 +02:00
framasky 04932d7804 Fix FR translation typos 2018-05-15 09:47:34 +00:00
fox 32101389b6 Merge branch 'af_comics-ssl' of JustAMacUser/tt-rss into master 2018-05-12 18:43:52 +00:00
JustAMacUser aedcbfd9c5 af_comics: Go Comics now uses HTTPS. 2018-05-12 13:31:52 -04:00
Andrew Dolgov 8702ded6a1 rebase translations 2018-04-28 17:03:51 +03:00
fox 68ef458fa8 Merge branch 'translation_pt_BR' of ekalin/tt-rss into master 2018-04-28 14:03:18 +00:00
Eduardo M KALINOWSKI f95c657917 Updated pt_BR translation. 2018-04-28 09:09:04 -03:00
Andrew Dolgov e0dff9134b af_comics: nedroid broke their rss feed, might as well plug them into generic comicpress filter 2018-04-26 11:46:56 +03:00
fox 26a89ab6cb Merge branch 'reg_exp_length' of lllusion3418/tt-rss into master 2018-04-14 18:08:18 +00:00
foobar 2008ec4ed7 change filter rule regexp type to text 2018-04-14 14:11:29 +02:00
Andrew Dolgov 963c22646b pass tsvector data as a named parameter on article update, remove escaping hacks 2018-04-03 13:57:27 +03:00
Andrew Dolgov 4fa64e8446 filter dialog: remove placeholder 2018-03-21 14:02:06 +03:00
Andrew Dolgov e794e434da filter dialog: add tooltip re: filter syntax 2018-03-21 13:38:36 +03:00
Andrew Dolgov e35a46733f hlClicked: do not set headline selected when ctrl-clicking 2018-03-16 21:34:01 +03:00
Andrew Dolgov fa2e3b235a addLabel: remove unused active_tab 2018-03-16 17:25:42 +03:00
Andrew Dolgov d195c6a62e gotoExportOpml: js strict mode fix 2018-03-16 15:50:48 +03:00