From 5e99eb41ecdf55e5482b4823b009f3cfdac6ec22 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Fri, 3 Oct 2025 21:00:43 +0000 Subject: Remove references to, and integrations with, 'tt-rss.org'. --- classes/Config.php | 6 +++--- classes/Pref_Prefs.php | 12 +++++++----- classes/RPC.php | 4 +++- classes/RSSUtils.php | 2 -- 4 files changed, 13 insertions(+), 11 deletions(-) (limited to 'classes') diff --git a/classes/Config.php b/classes/Config.php index 49715a576..61aab85ca 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -272,7 +272,7 @@ class Config { Config::CHECK_FOR_PLUGIN_UPDATES => [ "true", Config::T_BOOL ], Config::ENABLE_PLUGIN_INSTALLER => [ "true", Config::T_BOOL ], Config::AUTH_MIN_INTERVAL => [ 5, Config::T_INT ], - Config::HTTP_USER_AGENT => [ 'Tiny Tiny RSS/%s (https://tt-rss.org/)', + Config::HTTP_USER_AGENT => [ 'Tiny Tiny RSS/%s (https://github.com/supahgreg/tt-rss)', Config::T_STRING ], Config::HTTP_429_THROTTLE_INTERVAL => [ 3600, Config::T_INT ], Config::DISABLE_LOGIN_FORM => [ "", Config::T_BOOL ], @@ -632,8 +632,8 @@ class Config { -

You might want to check the tt-rss wiki or - forums for more information. Please search the forums before creating a new topic +

You might want to check the tt-rss wiki or + discussions for more information. Please search before creating a new topic for your question.

diff --git a/classes/Pref_Prefs.php b/classes/Pref_Prefs.php index 6942e711c..97a6940b5 100644 --- a/classes/Pref_Prefs.php +++ b/classes/Pref_Prefs.php @@ -647,7 +647,7 @@ class Pref_Prefs extends Handler_Protected { "Helpers.Prefs.customizeCSS()"]) ?> "alt-info", "onclick" => "window.open(\"https://tt-rss.org/Themes/\")"]) ?> + ["class" => "alt-info", "onclick" => "window.open(\"https://github.com/supahgreg/tt-rss-web-static/blob/main/docs/Themes.md\")"]) ?> "alt-info", - "onclick" => "window.open('https://tt-rss.org/wiki/SSL%20Certificate%20Authentication')"]); + "onclick" => "window.open('https://github.com/supahgreg/tt-rss-web-static/blob/main/docs/wiki/SSL%20Certificate%20Authentication.md')"]); } else if ($pref_name == Prefs::DIGEST_PREFERRED_TIME) { print "%s" , implode(", ", array_map(fn($plugin) => get_class($plugin), $feed_handlers)) - ) . " (".__("More info...").")" + ) . " (".__("More info...").")" ); } ?> --> @@ -890,7 +890,7 @@ class Pref_Prefs extends Handler_Protected {
- @@ -1274,8 +1274,10 @@ class Pref_Prefs extends Handler_Protected { * @return array, 'html_url': string, 'clone_url': string, 'last_update': string}> */ private function _get_available_plugins(): array { + // TODO: Get this working again. https://tt-rss.org/plugins.json won't exist after 2025-11-01 (probably). if ($_SESSION["access_level"] >= UserHelper::ACCESS_LEVEL_ADMIN && Config::get(Config::ENABLE_PLUGIN_INSTALLER)) { - $content = json_decode(UrlHelper::fetch(['url' => 'https://tt-rss.org/plugins.json']), true); + // $content = json_decode(UrlHelper::fetch(['url' => 'https://tt-rss.org/plugins.json']), true); + $content = false; if ($content) { return $content; diff --git a/classes/RPC.php b/classes/RPC.php index 8ecec41f5..d5588cc57 100644 --- a/classes/RPC.php +++ b/classes/RPC.php @@ -324,8 +324,10 @@ class RPC extends Handler_Protected { $git_timestamp = $version["timestamp"] ?? false; $git_commit = $version["commit"] ?? false; + // TODO: Get this working again. https://tt-rss.org/version.json won't exist after 2025-11-01 (probably). if (Config::get(Config::CHECK_FOR_UPDATES) && $_SESSION["access_level"] >= UserHelper::ACCESS_LEVEL_ADMIN && $git_timestamp) { - $content = @UrlHelper::fetch(["url" => "https://tt-rss.org/version.json"]); + // $content = @UrlHelper::fetch(["url" => "https://tt-rss.org/version.json"]); + $content = false; if ($content) { $content = json_decode($content, true); diff --git a/classes/RSSUtils.php b/classes/RSSUtils.php index 540069b6a..c4a6af548 100644 --- a/classes/RSSUtils.php +++ b/classes/RSSUtils.php @@ -1989,8 +1989,6 @@ class RSSUtils { } /** - * @see https://community.tt-rss.org/t/problem-with-img-srcset/3519 - * * @return array> An array of srcset subitem arrays with keys "url" and "size" */ static function decode_srcset(string $srcset): array { -- cgit v1.2.3-54-g00ecf