From 510580624f0cd256b9d87a3b083f35d6cfabe1dd Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 22 Apr 2014 18:59:11 +0200 Subject: [PATCH 1/6] Fix basic auth on SME9 --- root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90tt-rss | 1 + 1 file changed, 1 insertion(+) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90tt-rss b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90tt-rss index e640fcd..f80b299 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90tt-rss +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90tt-rss @@ -6,6 +6,7 @@ if ((${'tt-rss'}{'status'} || 'enabled') eq 'enabled'){ my $allow = ((${'tt-rss'}{'access'} || 'private') eq 'public') ? 'all':"$localAccess $externalSSLAccess"; my $auth = ((${'tt-rss'}{'Authentication'} || 'http') eq 'http') ? "AuthName \"Tiny Tiny RSS\"\n" . " AuthType Basic\n" . + " AuthBasicProvider external\n" . " AuthExternal pwauth\n" . " Require valid-user\n" : ''; From a402a5b0a982d0b80ef8fab4b064173836d720c0 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 22 Apr 2014 19:01:08 +0200 Subject: [PATCH 2/6] Spec file update --- smeserver-tt-rss.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/smeserver-tt-rss.spec b/smeserver-tt-rss.spec index 254c21d..37d50b6 100644 --- a/smeserver-tt-rss.spec +++ b/smeserver-tt-rss.spec @@ -2,11 +2,12 @@ # Name: Daniel Berteaud %define name smeserver-tt-rss -%define version 0.2.8 +%define version 0.2.9 %define release 1 Summary: sme server integration of tt-rss Name: %{name} Version: %{version} +Epoch: 9 Release: %{release}%{?dist} License: GNU GPL version 2 URL: http://www.zabbix.com/ @@ -26,6 +27,9 @@ smserver integration of TIny Tiny RSS Tiny Tiny RSS is a feature rich, web based feed reader %changelog +* Tue Apr 22 2014 Daniel Berteaud 0.2.9-1.sme +- Fix basic auth on SME9 + * Thu Feb 6 2014 Daniel Berteaud 0.2.8-1.sme - Fix database upgrades From 554bbd2a35ca05ef80d97bd9a65e0a3442167f80 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 29 Jun 2015 15:18:51 +0200 Subject: [PATCH 3/6] Adapt conf for 20150629 version --- .../templates/usr/share/tt-rss/config.php/55various | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/root/etc/e-smith/templates/usr/share/tt-rss/config.php/55various b/root/etc/e-smith/templates/usr/share/tt-rss/config.php/55various index f10c775..208e35f 100644 --- a/root/etc/e-smith/templates/usr/share/tt-rss/config.php/55various +++ b/root/etc/e-smith/templates/usr/share/tt-rss/config.php/55various @@ -1,8 +1,5 @@ - define('DETECT_ARTICLE_LANGUAGE', true); - // Detect article language when updating feeds, presently this is only - // used for hyphenation. This may increase amount of CPU time used by - // update processes, disable if necessary (i.e. you are being billed - // for CPU time). + define('CHECK_FOR_UPDATES', false); + // Check for updates automatically if running Git version define('ENABLE_GZIP_OUTPUT', true); // Selectively gzip output to improve wire performance. This requires @@ -12,9 +9,6 @@ // Displays an URL for users to provide feedback or comments regarding // this instance of tt-rss. Can lead to a forum, contact email, etc. - define('CHECK_FOR_NEW_VERSION', false); - // Check for new versions of tt-rss automatically. - define('ARTICLE_BUTTON_PLUGINS', 'note,tweet,share,mail'); // Comma-separated list of additional article action button plugins // to enable, like tweet button, etc. From 291f88982e05f920e2f84fa7faccf23ebe583984 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 29 Jun 2015 15:54:26 +0200 Subject: [PATCH 4/6] Spec file update --- smeserver-tt-rss.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/smeserver-tt-rss.spec b/smeserver-tt-rss.spec index 37d50b6..ceeff72 100644 --- a/smeserver-tt-rss.spec +++ b/smeserver-tt-rss.spec @@ -2,7 +2,7 @@ # Name: Daniel Berteaud %define name smeserver-tt-rss -%define version 0.2.9 +%define version 0.2.10 %define release 1 Summary: sme server integration of tt-rss Name: %{name} @@ -27,6 +27,9 @@ smserver integration of TIny Tiny RSS Tiny Tiny RSS is a feature rich, web based feed reader %changelog +* Mon Jun 29 2015 Daniel Berteaud 0.2.10-1.sme +- Adapt conf templates for 20150629 + * Tue Apr 22 2014 Daniel Berteaud 0.2.9-1.sme - Fix basic auth on SME9 From 0d3a5c2dc1c1b10b268c43ce33eaf611bf0bfbdd Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 16 Feb 2016 09:27:45 +0100 Subject: [PATCH 5/6] Remove SESSION_CHECK_ADDRESS --- .../e-smith/templates/usr/share/tt-rss/config.php/25auth | 7 ------- 1 file changed, 7 deletions(-) diff --git a/root/etc/e-smith/templates/usr/share/tt-rss/config.php/25auth b/root/etc/e-smith/templates/usr/share/tt-rss/config.php/25auth index 0fab2fe..2c4deb4 100644 --- a/root/etc/e-smith/templates/usr/share/tt-rss/config.php/25auth +++ b/root/etc/e-smith/templates/usr/share/tt-rss/config.php/25auth @@ -35,13 +35,6 @@ HERE // configurations. Doesn't seem to work for everyone, so enable with caution. // tt-rss uses default PHP session storing mechanism if disabled. - define('SESSION_CHECK_ADDRESS', 1); - // Check client IP address when validating session: - // 0 - disable checking - // 1 - check first 3 octets of an address (recommended) - // 2 - check first 2 octets of an address - // 3 - check entire address - define('SESSION_COOKIE_LIFETIME', 0); // Default lifetime of a session (e.g. login) cookie. In seconds, // 0 means cookie will be deleted when browser closes. From 6277a3a7699bcc6ef07bf23db3699ad144a4e9e5 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 16 Feb 2016 09:33:27 +0100 Subject: [PATCH 6/6] Spec file update --- smeserver-tt-rss.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/smeserver-tt-rss.spec b/smeserver-tt-rss.spec index ceeff72..8056d1b 100644 --- a/smeserver-tt-rss.spec +++ b/smeserver-tt-rss.spec @@ -2,7 +2,7 @@ # Name: Daniel Berteaud %define name smeserver-tt-rss -%define version 0.2.10 +%define version 0.2.11 %define release 1 Summary: sme server integration of tt-rss Name: %{name} @@ -27,6 +27,9 @@ smserver integration of TIny Tiny RSS Tiny Tiny RSS is a feature rich, web based feed reader %changelog +* Tue Feb 16 2016 Daniel Berteaud 0.2.11-1.sme +- Remove SESSION_CHECK_ADDRESS + * Mon Jun 29 2015 Daniel Berteaud 0.2.10-1.sme - Adapt conf templates for 20150629