Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
Simith D'Oliveira 43fadbadea Bug 13485: Add a page to display links to restricted sites
To test:

I) Apply the patch
II) Run updatedatabase.pl

scenario I)

1) Add some content in RestrictedPageContent and RestrictedPageTitle sysprefs.
2) Add your machine ip (ex. 127.0.0)
3) Validate cgi-bin/koha/opac-proxypage.pl shows a page with RestrictedPageContent and RestrictedPageTitle contents.

scenario II)

1) Logout opac page
2) Add some content in RestrictedPageContent and RestrictedPageTitle sysprefs.
3) Add other ip that your machine ip.
4) Validate: cgi-bin/koha/opac-proxypage.pl shows a login page.
5) Validate: cgi-bin/koha/opac-proxypage.pl shows a page with RestrictedPageContent and RestrictedPageTitle contents after login.

Followed both scenarios, works as expected.
Signed-off-by: Marc Veron <veron@veron.ch>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Bug 13485 [QA Followup]

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Bug 13485 - Atomic Update + Rename Proxy page to Restricted page

Test plan:

I) Apply the patch
II) Run updatedatabase.pl

scenario I)

1) Add some content in RestrictedPageContent and RestrictedPageTitle sysprefs.
2) Add your machine ip (ex. 127.0.0)
3) Validate cgi-bin/koha/opac-restrictedpage.pl shows a page with RestrictedPageContent and RestrictedPageTitle contents.

scenario II)

1) Logout opac page
2) Add some content in RestrictedPageContent and RestrictedPageTitle sysprefs.
3) Add a diffrent ip.
4) Validate: cgi-bin/koha/opac-restrictedpage.pl shows a login page.
5) Validate: cgi-bin/koha/opac-restrictedpage.pl shows a page with RestrictedPageContent and RestrictedPageTitle contents after login.

	new file:   installer/data/mysql/atomicupdate/Bug13485_RestrictedSitesPage.sql
	modified:   installer/data/mysql/sysprefs.sql
	modified:   koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
	renamed:    koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-proxypage.tt -> koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-restrictedpage.tt
	renamed:    opac/opac-proxypage.pl -> opac/opac-restrictedpage.pl

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
2015-08-11 15:15:16 -03:00
..
acquisitions.pref Bug 11458: Improve confusing description of syspref 'gist' 2015-06-22 11:05:44 -03:00
admin.pref Bug 14215: Change the 'delimiter' syspref description for its wider use 2015-06-19 11:36:40 -03:00
authorities.pref
cataloguing.pref Bug 6874: Move uploadPath syspref to koha-conf.xml 2015-08-07 15:22:06 -03:00
circulation.pref Bug 10119: Add note about CalculateFinesOnReturn to description of finesmode 2015-06-22 11:08:46 -03:00
enhanced_content.pref Bug 14318: iDreamBooks doesn't work when Koha is using https 2015-06-07 18:39:48 -03:00
i18n_l10n.pref Bug 12137: Extend CalendarFirstDayOfWeek to be any day 2015-07-20 10:43:35 -03:00
local_use.pref
logs.pref Bug 13948: Add ability to dump template toolkit variables to html comment 2015-07-28 10:29:43 -03:00
opac.pref Bug 13485: Add a page to display links to restricted sites 2015-08-11 15:15:16 -03:00
patrons.pref Bug 8007: (QA followup) wording issue on sysprefs 2015-04-30 12:34:18 -03:00
searching.pref Bug 13528: Use the different isbn variations on search on the isbn index (nb) 2015-04-16 13:44:57 -03:00
serials.pref Bug 9958: Improve RoutingSerials sys pref description 2014-12-28 20:32:37 -03:00
staff_client.pref Bug 12160: Rename intranetuserjs with IntranetUserJS 2015-05-26 10:42:07 -03:00
tools.pref
web_services.pref Bug 3206: (QA followup) OAI repository deleted records support. 2015-07-08 14:55:17 -03:00