Commit Graph

48 Commits (088fcf8131a0d5b612362c2fecf337df6ef754bb)

Author SHA1 Message Date
Andrew Dolgov 967cccb7c5 af_readability: relax non-unicode hack to apply to HTML4 meta element markup 6 years ago
Andrew Dolgov fda475bd93 af_readability: fix HOOK_GET_FULL_TEXT not being installed because plugin init() is called before load_data() 6 years ago
Andrew Dolgov adc2a51695 update plugin readability-related option names 6 years ago
Andrew Dolgov d0a9aeaf80 move readability library to af_readability/vendor out of global vendor directory
af_redditimgur: use HOOK_GET_FULL_TEXT instead of invoking readability directly
6 years ago
Andrew Dolgov 6955b2e02d plugins: add HOOK_GET_FULL_TEXT which may be used to provide full text extraction to core code and other plugins, instead of trying to invoke af_readability specifically 6 years ago
Andrew Dolgov 671f4cee65 domdocument: remove old meta charset unicode hacks, replace with shorter xml preamble utf8 hack (on loadhtml where it makes sense)
af_readability: better (?) charset hack for non-unicode pages
6 years ago
Andrew Dolgov abfd552962 plugins: update markup 6 years ago
Andrew Dolgov 335147e572 dialogs: use semantic markup instead of dlgsec stuff
continue unifying quoting style for html strings
6 years ago
Andrew Dolgov fd8f8c7b3e af_readability: construct readability object inside try-catch block 6 years ago
Andrew Dolgov 4d9141d762 simplify dlgSec-related markup 6 years ago
Andrew Dolgov a5517fe857 fetch_file_contents: decompress gzipped data
af_readability: remove utf8 preamble hack
6 years ago
Andrew Dolgov 0efb6e1bc2 remove pub_set.png, replace usages with iconfont 6 years ago
Andrew Dolgov a68b150601 remove separate classes for various panels, unify under .panel
remove a few other unnecessary css classes/ids
6 years ago
Andrew Dolgov 814e49f8f7 add icons to accordion panels in preferences
fix typo in pref-prefs closing panel tag
6 years ago
Andrew Dolgov 526389b2d3 update notify_* calls to use Notify 6 years ago
Andrew Dolgov 1e2d4410d3 move some more shared stuff to CommonDialogs, Filters, and Utils 6 years ago
Andrew Dolgov c925f4e3fd use catchall exception handler for readability 6 years ago
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
7 years ago
Andrew Dolgov acf155cf8f remove old-style readability loading 7 years ago
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
7 years ago
Andrew Dolgov b037ffd628 af_readability: specify http accept header 7 years ago
JustAMacUser e26cb06179 af_readability: Use new global fetch_effective_url for canonical URL. 7 years ago
Andrew Dolgov f830f853a9 Merge branch 'master' of git.tt-rss.org:git/tt-rss into pdo-experimental 7 years ago
JustAMacUser 3ee48ac830 Make af_readability use resolved URL when rewriting relative URLs in the article. 7 years ago
Andrew Dolgov 0f4487d3d6 plugins/af_readability: use PDO 7 years ago
Andrew Dolgov da9ea57d1c checkbox to sql bool related changes, some more boolean fixes 7 years ago
Andrew Dolgov 86a8351ca2 move the following to Feeds:
+       static function catchup_feed($feed, $cat_view, $owner_uid = false, $mode = 'all', $search = false) {
+       static function getFeedArticles($feed, $is_cat = false, $unread_only = false,
+       static function subscribe_to_feed($url, $cat_id = 0,
+       static function getFeedIcon($id) {
+       static function getFeedTitle($id, $cat = false) {
+       static function getCategoryUnread($cat, $owner_uid = false) {
+       static function getCategoryChildrenUnread($cat, $owner_uid = false) {
8 years ago
Andrew Dolgov 21ce7d9ec0 update phpmd ruleset to use (subset) of cleancode
fix various minor issues reported by static analysis
remove redundant php closing tag from several more files
8 years ago
Andrew Dolgov dc8bd8a640 add some print_checkbox/print_button calls; rename some plugin preference pane titles 8 years ago
Andrew Dolgov 328118d12e use print_hidden() for hidden dojo form fields 8 years ago
Andrew Dolgov f45a1152bb af_readability: force utf8 preamble on html document load. no idea why but it seems to work better even for not-unicode sites. 8 years ago
Andrew Dolgov e487e92d70 readability: increase maximum source document size, reorganize the reddit plugin code a bit 8 years ago
Andrew Dolgov 666cd33360 enable support for readability (if af_readability is enabled) in shareanything bookmarklet 9 years ago
Andrew Dolgov 41245888f1 only stop inline feed updates with open_basedir enabled if there are any plugins that require CURL enabled
add plugin->flags() returning array with additional plugin information, currently only CURL requirement (optional)
9 years ago
Troy Engel 5d5f100f4f Fix array checking method in 2 places, add array check in one location 9 years ago
Troy Engel 3e220fd131 Revert "Fix accidental use of emtpy array: [E_WARNING (2) plugins/af_readability/init.php:186 Invalid argument supplied for foreach()]"
This reverts commit beaddcba96.
9 years ago
Troy Engel beaddcba96 Fix accidental use of emtpy array: [E_WARNING (2) plugins/af_readability/init.php:186 Invalid argument supplied for foreach()] 9 years ago
Andrew Dolgov aa03bac424 allow NO_CURL to disable several CURL-related checks in plugins
af_readability: skip http content-type checking when open_basedir is enabled
9 years ago
Andrew Dolgov 4c46702672 drop support for (obsolete, removed from recent php versions) php safe_mode setting
remove ugly hacks for curl + open_basedir combination breaking support for http redirects
9 years ago
Andrew Dolgov 4d03c5c59f limit maximum article length allowed for readability 9 years ago
Andrew Dolgov 6dbd6585a9 af_readability: add pluggable filter action 9 years ago
Andrew Dolgov 37b2bca99e af_readability: encoding may be lower case 10 years ago
Andrew Dolgov 8b08d9d740 move readability libs to system location 10 years ago
Andrew Dolgov 831129f6a4 ad_readability: also check for content-type if possible 10 years ago
Andrew Dolgov b7d1306b19 af_readability: add a workaround for meta charset html pages 10 years ago
Andrew Dolgov 7975ace2aa fix previous, oops 10 years ago
Andrew Dolgov fd61fd6e79 rewrite relative urls in readability output 10 years ago
Andrew Dolgov 1ff7ae42df add af_readability 10 years ago