Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
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
..
preferences Bug 13485: Add a page to display links to restricted sites 2015-08-11 15:15:16 -03:00
admin-home.tt Bug 12412: Add ability for plugins to convert arbitrary files to MARC from record staging tool 2015-05-04 15:33:51 -03:00
aqbudgetperiods.tt Bug 13861: \n in confirmation message on closing a budget 2015-03-19 14:04:09 -03:00
aqbudgets.tt Bug 13891: DataTables server-side processing - budget users 2015-04-13 10:55:13 -03:00
aqcontract.tt Bug 12054: Inactive vendors should be inactive 2015-07-20 10:34:55 -03:00
aqplan.tt Bug 4277: Display the correct budget planning after saving 2015-03-31 14:15:07 -03:00
auth_subfields_structure.tt Bug 14423: XSS bug in auth_subfields_structure 2015-06-23 10:12:03 -03:00
auth_tag_structure.tt Bug 11812 - Add missing "required" indicator to fields which are required 2014-10-22 14:04:43 -03:00
authorised_values.tt Bug 13587: Fix Authorised Values Toolbar 2015-01-21 10:56:43 -03:00
authtypes.tt Bug 10947: Fix editing the default authority type 2015-05-19 09:25:59 -03:00
biblio_framework.tt Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration 2014-10-15 17:59:12 -03:00
branch_transfer_limits.tt Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration 2014-10-15 17:59:12 -03:00
branches.tt Bug 13441 - Branchcodes should not be allowed to have spaces in them 2015-02-05 15:08:44 -03:00
categorie.tt Bug 14265 - Use $.trim instead of trim() in admin/categorie.tt 2015-06-01 14:16:21 -03:00
checkmarc.tt Bug 7817: (followup) add test on MARC bibliographic framework test 2014-09-08 12:29:38 -03:00
cities.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
classsources.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
clone-rules.tt Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration 2014-10-15 17:59:12 -03:00
columns_settings.tt Bug 13866: Columns configuration - Patrons search 2015-04-10 10:31:21 -03:00
currency.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
didyoumean.tt Bug 8726: Followup FIX save didyoumean syspref 2012-09-28 17:14:17 +02:00
fieldmapping.tt Bug 6037 [Follow-up] Invalid markup, missing breadcrumbs on Keyword to MARC Mapping page 2012-10-08 17:11:12 +02:00
item_circulation_alerts.tt Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
items_search_field.tt Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
items_search_fields.tt Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
itemtypes.tt Bug 11944: (follow-up) Remove all utf8 filter from templates 2015-01-13 13:07:35 -03:00
koha2marclinks.tt Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration 2014-10-15 17:59:12 -03:00
marc_subfields_structure.tt Bug 14423: tab characters in auth_subfields_structure 2015-06-23 10:12:39 -03:00
marctagstructure.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
matching-rules.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
oai_set_mappings.tt Bug 12686: Make more selected option XHTML compliant 2014-08-07 10:58:39 -03:00
oai_sets.tt Bug 11806 - Use validation plugin when creating new OAI set 2014-03-26 19:21:14 +00:00
patron-attr-types.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
preferences.tt Bug 12137: followup sort <select> index by value 2015-07-20 10:44:05 -03:00
printers.tt Bug 2889 - templates should use [% IF ( loop.odd ) %] - Administration 2014-10-15 17:59:12 -03:00
smart-rules.tt Bug 14290: Add a table foot to circulation matrix 2015-06-22 11:53:30 -03:00
sru_modmapping.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
stopwords.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
systempreferences.tt Bug 14268: Followup - instruction for preftype selection 2015-07-24 14:03:59 -03:00
transport-cost-matrix.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
z3950servers.tt Bug 12823: Alert about defining the SRU search field mappings 2014-12-31 14:13:44 -03:00