Commit Graph

8742 Commits

Author SHA1 Message Date
Tobias Kappé a377d5c981 Determine language for atom entry without a loop. 2018-08-12 16:17:13 +01:00
Andrew Dolgov 83da40251f plugins: move af_lang_detect to tt-rss-attic repository 2018-08-12 18:15:04 +03:00
Tobias Kappé 3bbaf902ab Sanitize language obtained for an entry. 2018-08-12 16:12:34 +01:00
fox f129074666 Merge branch 'pullreq-fix-undefined-index-warning' of tkappe/tt-rss into master 2018-08-12 15:10:51 +00:00
Tobias Kappé 22a866edb5 Store language of entries as indicated by the feed. 2018-08-12 15:27:26 +01:00
Tobias Kappé 52dbd55c7b Fix undefined index warning in installation. 2018-08-12 15:26:54 +01:00
Andrew Dolgov 32c0c07cc1 pluginhost: implement basic autoloader for classes bundled with plugins (uses vendor/ layout) 2018-08-07 14:36:45 +03:00
fox c3d57017d3 Merge branch 'update-language-detect-plugin' of tschuettler/tt-rss into master 2018-08-07 11:18:05 +00:00
fox 03fff1e95e Merge branch 'fix_mysql_utf8mb4' of BtbN/tt-rss into master 2018-08-07 11:10:50 +00:00
BtbN 2b8afd4942 Only strip utf8mb4 if mysql_charset != utf8mb4
If a user has fixed their database properly utf8mb4 works just fine allowing emoji and other 4 byte unicode characters to work.
2018-08-04 13:07:32 +00:00
tschuettler 31b40448fd Update af_lang_detect plugin with changes from upstream
Reapplied downstream changes for phpmd ruleset
2018-08-02 18:00:50 +02:00
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