re-add ForceUpdate to viewfeed for update debugging, add some filter debugging
This commit is contained in:
parent
08ac193a41
commit
0569a7122c
|
@ -766,6 +766,10 @@
|
|||
|
||||
$filters = load_filters($link, $feed, $owner_uid);
|
||||
|
||||
if (defined('DAEMON_EXTENDED_DEBUG') || $_REQUEST['xdebug']) {
|
||||
print_r($filters);
|
||||
}
|
||||
|
||||
if ($use_simplepie) {
|
||||
$iterator = $rss->get_items();
|
||||
} else {
|
||||
|
@ -4777,6 +4781,10 @@
|
|||
catchupArticlesById($link, $ids, $cmode);
|
||||
}
|
||||
|
||||
if ($subop == "ForceUpdate" && sprintf("%d", $feed) > 0) {
|
||||
update_rss_feed($link, $feed, true);
|
||||
}
|
||||
|
||||
if ($subop == "MarkAllRead") {
|
||||
catchup_feed($link, $feed, $cat_view);
|
||||
|
||||
|
|
|
@ -836,7 +836,7 @@ function hotkey_handler(e) {
|
|||
|
||||
if (keycode == 82) { // r
|
||||
if (getActiveFeedId()) {
|
||||
viewfeed(getActiveFeedId(), "ForceUpdate", activeFeedIsCat());
|
||||
viewfeed(getActiveFeedId(), '', activeFeedIsCat());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -848,7 +848,7 @@ function hotkey_handler(e) {
|
|||
|
||||
if (keycode == 85) { // u
|
||||
if (getActiveFeedId()) {
|
||||
viewfeed(getActiveFeedId(), "ForceUpdate");
|
||||
viewfeed(getActiveFeedId(), '');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue