From 6dfc4ad844d57ba4289df175d325f058c12025ef Mon Sep 17 00:00:00 2001 From: Benjamin Brahmer Date: Wed, 28 Apr 2021 20:52:50 +0200 Subject: Prevent some of the favicon fetching errors change user agent for fetching the feeds log to 'NextCloud-News/1.0' check if logo in feed is just an empty string remove path of url before searching for a favicon check if file was actually downloaded Ignore http errors when fetching favicons Add feed to integration tests that doesn't have a logo Co-authored-by: Alec Kojaev Signed-off-by: Benjamin Brahmer --- tests/integration/helpers/settings.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/integration/helpers/settings.bash') diff --git a/tests/integration/helpers/settings.bash b/tests/integration/helpers/settings.bash index 48b5a3726..4e758b609 100644 --- a/tests/integration/helpers/settings.bash +++ b/tests/integration/helpers/settings.bash @@ -1,2 +1,3 @@ user=admin -NC_FEED="https://nextcloud.com/blog/static-feed/" \ No newline at end of file +NC_FEED="https://nextcloud.com/blog/static-feed/" +HEISE_FEED="https://www.heise.de/rss/heise-atom.xml" \ No newline at end of file -- cgit v1.2.3