[Koha-bugs] [Bug 13485] Add a page to display links to restricted sites

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 5 13:54:19 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13485

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40820|0                           |1
        is obsolete|                            |
  Attachment #40821|0                           |1
        is obsolete|                            |
  Attachment #40822|0                           |1
        is obsolete|                            |

--- Comment #20 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 41377
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41377&action=edit
Bug 13485 - Add a proxy page

To test:

I) Apply the patch
II) Run updatedatabase.pl

scenario I)

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

scenario II)

1) Logout opac page
2) Add some content in ProxyPageContent and ProxyPageTitle 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 ProxyPageContent
and ProxyPageTitle contents after login.

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

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

Bug 13485 [QA Followup]

Signed-off-by: Kyle M Hall <kyle at 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 at bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list