Commit graph

29 commits

Author SHA1 Message Date
db55279886 Bug 25360: (follow-up) Remove the https FIXME in Auth.pm
The FIXME is no longer valid since we fixed the X-Forwarded headers
for Plack. And since we do not even use using_https anymore in
the templates (see bug 21094).

Test plan:
Run Auth.t
Git grep for using_https

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-09-03 10:40:35 +02:00
Aleisha Amohia
20a38ee50e Bug 20000: Use Modern::Perl in installer scripts
To test:

Check that we are using Modern::Perl when strict *and* warnings were used before,
and commented lines and FIXMEs have been removed from the rest, out of
files listed below.

data/mysql/backfill_statistics.pl
data/mysql/labels_upgrade.pl
data/mysql/patroncards_upgrade.pl
data/mysql/update22to30.pl
data/mysql/updatedatabase.pl
externalmodules.pl
html-template-to-template-toolkit.pl
install.pl

Sponsored-by: Catalyst IT
Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-02-04 16:57:14 +00:00
543630b3c4 Bug 21719: Fix typos
This patch was generated using codespell

Test plan:
Read through changes and confirm they make sense

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

https://bugs.koha-community.org/show_bug.cgi?id=21706

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-11-08 02:18:46 +00:00
Srdjan
1802aa9153 Bug 5786 - Move AllowOnShelfHolds and OPACItemHolds system prefs to the Circulation Matrix
C4::Reserves:
* Added OnShelfHoldsAllowed() to check issuingrules
* Added OPACItemHoldsAllowed() to check issuingrules
* IsAvailableForItemLevelRequest() changed interface, now takes
  $item_record,$borrower_record; calls OnShelfHoldsAllowed()

opac/opac-reserve.pl and opac/opac-search.pl:
* rewrote hold allowed rule to use OPACItemHoldsAllowed()
* also use OnShelfHoldsAllowed() through
* IsAvailableForItemLevelRequest()

templates:
* Removed AllowOnShelfHolds and OPACItemHolds global flags, they now
  only have meaning per item type

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>

I have tested this patch left, right and upside down for the last
several months. All tests have passed.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-03-25 10:33:14 -03:00
Chris Cormack
2fd51eb844 Bug 5917 using_https should be a global 2011-04-05 16:51:56 +12:00
Chris Cormack
ee138c16b4 Bug 5917 : Yet more scoping 2011-04-04 17:09:19 +12:00
Chris Cormack
bd87321569 Bug 5917 More wrongly scoped globals 2011-04-04 17:09:05 +12:00
Chris Cormack
d069438689 Bug 5917 : Adding new globals to be escaped by the converter 2011-04-04 17:08:58 +12:00
Chris Cormack
a3e59f3bf2 Bug 5917 : FIxing problem with comma in variable names 2011-03-30 21:53:13 +13:00
Christopher Hall
10807ef6c8 fixed for/end scoping issue for single lines 2011-02-03 12:16:12 +13:00
Christopher Hall
5d05039a3d updated script to also change any incorrect dateformat variables to the correct case 2011-02-02 15:20:39 +13:00
Christopher Hall
2cd92b6913 fixed HTML regex match 2011-02-02 11:59:05 +13:00
Christopher Hall
2abc7f3313 fixed script, now handles URL replacement properly 2011-02-02 11:57:25 +13:00
Christopher Hall
c78f976fc4 comma problem in conversion script 2011-02-02 09:18:42 +13:00
Christopher Hall
160bb77967 fix for reverse scoping bug 2011-01-25 15:58:57 +13:00
Christopher Hall
f174d70235 missing semicolon 2010-12-22 14:49:05 +13:00
Christopher Hall
1ad2bf5cb2 make sure to close that file 2010-12-10 13:34:21 +13:00
Christopher Hall
0d6b7290cb tidied up code, fixed indentation, unused variables, etc 2010-12-10 11:17:49 +13:00
Christopher Hall
7c3ddf1675 forgot to account for fullstop in pattern 2010-12-07 14:32:27 +13:00
Christopher Hall
287478fcb4 fixed loop variable patterns to handle scope 2010-12-07 14:15:07 +13:00
Christopher Hall
9c816a9ab3 script with fixed scoping 2010-12-07 11:34:15 +13:00
Christopher Hall
78ef7daadf fixed elseif vs elsif bug 2010-12-06 16:02:39 +13:00
Christopher Hall
6882fa0fdb fixed loop variables 2010-11-25 11:07:51 +13:00
Christopher Hall
dc76447db6 removed pref from list of file types and fixed FOREACH bug, now some preferences render properly 2010-11-24 16:46:46 +13:00
Christopher Hall
675a322d43 added .pref to list of extensions to 'convert' 2010-11-19 09:57:42 +13:00
Christopher Hall
28641cc590 small fixes, seems to generate working opac and intranet 2010-11-18 14:12:38 +13:00
Christopher Hall
39c87ee7be updated 'conversion' script, now seems to catch all cases within both opac and intranet, still some errors (13) but no 'missed' cases 2010-11-12 16:52:03 +13:00
Christopher Hall
51b399ddfc More work on 'conversion' script for HTML::Toolkit to Template::Tolkit 2010-11-12 15:02:36 +13:00
Will Stokes
161e7d9a0c Draft script to 'convert' HTML:Toolkit syntax in templates to Template::Toolkit. Will need human to go through most if not all templates (basically those with a loop) and fix up. Makes no attempt to fix horrendous formatting. Branch: html-template-to-template-toolkit
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2010-08-23 16:40:12 +12:00