Koha/svc
Jonathan Druart 9820f9dfbd Bug 11998: Use Koha::Cache to cache sysprefs
At the moment, the sysprefs are only cache in the thread memory
executing the processus
When using Plack, that means we need to clear the syspref cache on each
page.
To avoid that, we can use Koha::Cache to cache the sysprefs correctly.

A big part of the authorship of this patch goes to Robin Sheat.

Test plan:
1/ Add/Update/Delete local use prefs
2/ Update pref values and confirm that the changes are correctly taken
into account

Signed-off-by: Chris <chrisc@catalyst.net.nz>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Tested with plack with syspref cache enabled, there is some time between setting the syspref and applying it, but it takes just one reload of page, it shouldn't be problem, should it?
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>

Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Tested with CGI and CGI + memcache; some small issues still remain,
but it would be better to deal with them in separate bug reports
if necessary

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-03-15 07:08:28 +00:00
..
cataloguing Bug 11559: Rancor: advanced cataloging interface 2015-10-27 12:17:39 -03:00
config Bug 11998: Use Koha::Cache to cache sysprefs 2016-03-15 07:08:28 +00:00
hold Bug 14310 [QA Followup] - Use output_with_http_headers, return 403s 2016-01-27 06:20:19 +00:00
members Bug 14782: Add possibility to search patrons using the username (userid) 2015-09-16 10:36:56 -03:00
records Bug 15380: Move Koha::Authority to Koha::MetadataRecord::Authority 2015-12-31 18:50:41 +00:00
virtualshelves Bug 14528: Inconsistency in permissions check when listing shelves 2015-10-05 12:26:19 -03:00
authentication Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
barcode Bug 13545 [QA Followup] - Complete POD documentation 2015-02-13 13:48:45 -03:00
bib Bug 11559: Supporting changes for Rancor 2015-10-27 12:16:05 -03:00
bib_profile Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
checkin Bug 13330 - All overdue items with fines returned via checkouts table will have fines forgiven! 2014-11-25 15:25:14 -03:00
checkouts Bug 15289 - borrowers permission allows to see patron's loans 2015-12-30 02:51:50 +00:00
cover_images Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
holds Bug 14846 - Items with no holdingbranch causes svc/holds to crash 2015-12-11 16:20:39 +00:00
import_bib Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
letters Bug 13215: The same letter code can be used for several libraries 2014-11-27 11:42:14 -03:00
localization Bug 15477: (follow-up) Bug 14100: Better errors handling 2016-01-12 16:13:41 +00:00
new_bib Bug 11559: (QA followup) fix several small issues 2015-10-27 12:25:01 -03:00
renew Bug 11298: Don't force the renew time to 23:59 2015-10-19 11:51:28 -03:00
report Bug 13880 - Allow svc/report to be passed sql parameters 2015-04-22 11:48:40 -03:00