Commit Graph

22 Commits (7590f03961012ac946297fc96be9ef2bb4ad3c20)

Author SHA1 Message Date
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) {
7 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
7 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 9 years ago
Andrew Dolgov 8b08d9d740 move readability libs to system location 9 years ago
Andrew Dolgov 831129f6a4 ad_readability: also check for content-type if possible 9 years ago
Andrew Dolgov b7d1306b19 af_readability: add a workaround for meta charset html pages 9 years ago
Andrew Dolgov 7975ace2aa fix previous, oops 9 years ago
Andrew Dolgov fd61fd6e79 rewrite relative urls in readability output 9 years ago
Andrew Dolgov 1ff7ae42df add af_readability 9 years ago