@@ -, +, @@ --- 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 --- a/installer/data/mysql/atomicupdate/bug_14994-proxy.sql +++ a/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'); --- a/installer/data/mysql/sysprefs.sql +++ a/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'), --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref +++ a/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 --