Bugzilla – Attachment 43690 Details for
Bug 14994
Add RSS/Atom feed proxy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14994 - Request proxy (added syspref)
Bug-14994---Request-proxy-added-syspref.patch (text/plain), 3.51 KB, created by
Martin Persson
on 2015-10-21 12:41:51 UTC
(
hide
)
Description:
Bug 14994 - Request proxy (added syspref)
Filename:
MIME Type:
Creator:
Martin Persson
Created:
2015-10-21 12:41:51 UTC
Size:
3.51 KB
patch
obsolete
>From 878d4a03910e63339b98549804cba1291b1e8bab Mon Sep 17 00:00:00 2001 >From: Martin Persson <xarragon@gmail.com> >Date: Fri, 9 Oct 2015 14:24:35 +0200 >Subject: [PATCH] Bug 14994 - Request proxy (added syspref) > >Adds a web proxy allowing external RSS and Atom feeds >to be displayed in OPAC and staff interface pages. > >This patch adds system preference(s) under the 'Web services' tabs. > >Sponsored-By: Halland County Library >--- > installer/data/mysql/atomicupdate/bug_14994-proxy.sql | 1 + > installer/data/mysql/sysprefs.sql | 2 ++ > .../prog/en/modules/admin/preferences/web_services.pref | 14 ++++++++++++++ > 3 files changed, 17 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_14994-proxy.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_14994-proxy.sql b/installer/data/mysql/atomicupdate/bug_14994-proxy.sql >new file mode 100644 >index 0000000..320a120 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_14994-proxy.sql >@@ -0,0 +1 @@ >+INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('RequestProxyEnabled','0',NULL,'Enables or disables the web request proxy in Koha','YesNo'), ('RequestProxyURL', '', NULL, 'External URL(s) for proxy requests.', 'Free'); >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 13639f0..ad0efac 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -365,6 +365,8 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('RentalsInNoissuesCharge','1',NULL,'Rental charges block checkouts (added to noissuescharge).','YesNo'), > ('ReportsLog','0',NULL,'If ON, log information about reports.','YesNo'), > ('RequestOnOpac','1',NULL,'If ON, globally enables patron holds on OPAC','YesNo'), >+('RequestProxyEnabled','0',NULL,'Enables or disables the web request proxy in Koha','YesNo'), >+('RequestProxyURL', '', NULL, 'External URL(s) for proxy requests.', 'Free'), > ('ReservesControlBranch','PatronLibrary','ItemHomeLibrary|PatronLibrary','Branch checked for members reservations rights','Choice'), > ('ReservesMaxPickUpDelay','7','','Define the Maximum delay to pick up an item on hold','Integer'), > ('ReservesNeedReturns','1','','If ON, a hold placed on an item available in this library must be checked-in, otherwise, a hold on a specific item, that is in the library & available is considered available','YesNo'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref >index ee65980..78629bf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref >@@ -53,6 +53,20 @@ Web services: > - pref: SvcMaxReportRows > class: integer > - rows of a report requested via the reports web service. >+ Request proxy: >+ - >+ - pref: RequestProxyEnabled >+ choices: >+ yes: Enable >+ no: Disable >+ default: 0 >+ - the internal HTTP request proxy in Koha. Used to pull data from external sources from browser. >+ - >+ - pref: RequestProxyURL >+ type: textarea >+ class: code >+ - This is a list of URLs for the request proxy, one on each line. >+ - The first URL will have id 1, the next 2 and so on. > IdRef: > - > - pref: IdRef >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14994
:
43690
|
43691
|
49439
|
62214
|
62215