From da0ad82c2497ed34cb29cf78e29c75a4d4ffb8bd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 17 Jan 2021 14:55:11 +0300 Subject: Archive cleanup: - remove code to manually archive/unarchive articles - remove ttrss_archived_feeds/orig_feed_id handling - the whole thing was implemented for this data to be kept indefinitely; it doesn't make a lot of sense to deal with this stuff now that it is expired after one month anyway (same reasons as feed browser being removed - privacy) - remove "originally from"-related stuff because of the above - also remove unused remaining frontend/backend code related to feed browser (rip) --- js/Article.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'js/Article.js') diff --git a/js/Article.js b/js/Article.js index 587243a01..a075e321f 100644 --- a/js/Article.js +++ b/js/Article.js @@ -175,11 +175,6 @@ const Article = { return comments; }, - formatOriginallyFrom: function(hl) { - return hl.orig_feed ? ` - ${__('Originally from:')} ${hl.orig_feed[0]} - ` : ""; - }, unpack: function(row) { if (row.hasAttribute("data-content")) { console.log("unpacking: " + row.id); @@ -220,7 +215,6 @@ const Article = { if (hl) { const comments = this.formatComments(hl); - const originally_from = this.formatOriginallyFrom(hl); const article = `
@@ -243,7 +237,6 @@ const Article = {
${hl.note}
- ${originally_from} ${hl.content} ${hl.enclosures}
-- cgit v1.2.3