summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions.php9
-rw-r--r--include/localized_schema.php2
-rw-r--r--include/rssfuncs.php7
3 files changed, 12 insertions, 6 deletions
diff --git a/include/functions.php b/include/functions.php
index fa63c9baa..0d9c154d6 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1,6 +1,6 @@
<?php
define('EXPECTED_CONFIG_VERSION', 26);
- define('SCHEMA_VERSION', 111);
+ define('SCHEMA_VERSION', 114);
define('LABEL_BASE_INDEX', -1024);
define('PLUGIN_FEED_BASE_INDEX', -128);
@@ -60,9 +60,10 @@
"nb_NO" => "Norwegian bokmål",
"nl_NL" => "Dutch",
"pl_PL" => "Polski",
- "ru_RU" => "Русский",
+// "ru_RU" => "Русский",
"pt_BR" => "Portuguese/Brazil",
- "zh_CN" => "Simplified Chinese");
+ "zh_CN" => "Simplified Chinese",
+ "fi_FI" => "Suomi");
return $tr;
}
@@ -3192,7 +3193,7 @@
$cat_id = (int)getFeedCategory($link, $feed_id);
$result = db_query($link, "SELECT * FROM ttrss_filters2 WHERE
- owner_uid = $owner_uid AND enabled = true");
+ owner_uid = $owner_uid AND enabled = true ORDER BY order_id, title");
$check_cats = join(",", array_merge(
getParentCategories($link, $cat_id, $owner_uid),
diff --git a/include/localized_schema.php b/include/localized_schema.php
index 674acabcf..744140e4b 100644
--- a/include/localized_schema.php
+++ b/include/localized_schema.php
@@ -1,4 +1,4 @@
-<?php # This file has been generated at: Sun Mar 31 12:47:29 MSK 2013
+<?php # This file has been generated at: Mon Apr 1 16:28:03 MSK 2013
__("Title");
__("Title or Content");
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 5c37b7523..ce197156c 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -283,10 +283,12 @@
_debug("update_rss_feed: fetching [$fetch_url] (ts: $cache_timestamp/$last_updated_timestamp)");
}
+ $force_refetch = isset($_REQUEST["force_refetch"]);
+
$feed_data = fetch_file_contents($fetch_url, false,
$auth_login, $auth_pass, false,
$no_cache ? FEED_FETCH_NO_CACHE_TIMEOUT : FEED_FETCH_TIMEOUT,
- max($last_updated_timestamp, $cache_timestamp));
+ $force_refetch ? 0 : max($last_updated_timestamp, $cache_timestamp));
if ($debug_enabled) {
_debug("update_rss_feed: fetch done.");
@@ -1298,6 +1300,9 @@
if ($filter_match) {
foreach ($filter["actions"] AS $action) {
array_push($matches, $action);
+
+ // if Stop action encountered, perform no further processing
+ if ($action["type"] == "stop") return $matches;
}
}
}