Commit Graph

12688 Commits

Author SHA1 Message Date
Galen Charlton af37b7d4e6 bug 5393 [SIGNED-OFF]: add test case to check well-formedness of XML/XSLT files
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 35d2008ef0)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-12 21:14:35 -05:00
Colin Campbell 8912a613a5 Bug 4305: Add test case for ISBN-13 to ISBN-10 conversion
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 51eb4fa12e)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-12 13:25:07 -05:00
Galen Charlton dab153a622 bug 5389: mark Business::ISBN as a required dependency
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 11d54188f8)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 20:46:08 -05:00
Owen Leonard 55cb2cf1c6 Fix for Bug 5075 - Terms not highlighted w/ xslt on
- XSLT didn't contain the class markup which acts as a hook
  for the JavaScript highlighting system.
- Standard results page also contained a typo which
  prevented data other than title and author from
  being highlighted

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
(cherry picked from commit b558c0db5a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 20:01:34 -05:00
Owen Leonard 6080451a35 Fix for Bug 5254 - no need to scroll left to right on acq z search
- Adding inline preview/import menu to match cataloging z39.50 search
- Improving behavior of inline menu on both pages
- Adding white space to ISBN/ISSN output on both pages to allow
  line breaks, improving table width and horizontal scrolling.

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
(cherry picked from commit f987d35a22)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 20:00:55 -05:00
Nicole Engard 199e82d7d8 bug 5235 : circ receipt should include name
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
(cherry picked from commit ace0ce3f8d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 20:00:08 -05:00
Colin Campbell 519b2c03ef Bug 5315: Remove references to obsolete variable nbstatements
Trying to see the wood from the trees

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
(cherry picked from commit 9e5366734b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 19:59:52 -05:00
Galen Charlton 79e0f57153 bug 5309: tweak so that background progress doesn't exit immediately
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
(cherry picked from commit 48ab366b57)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 19:53:22 -05:00
Galen Charlton 14e76be09b fix use of outdated boilerplate
* New code *must* have an accurate copyright statement;
  it isn't 2000-2002 any more.
* Enable warnings in new code, don't do

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
(cherry picked from commit 0187e38ad7)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 19:53:21 -05:00
Srdjan Jankovic 204ba1c125 bug 5309: Adjust progres bar
Also added some test facilities
wr73785

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
(cherry picked from commit e2e1dfd86e)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 19:53:21 -05:00
Srdjan Jankovic ab774516fb bug5027: skip unticked checkboxes when submitting in the background.
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
(cherry picked from commit 3a4f36b002)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 19:53:21 -05:00
Chris Cormack fc78b73764 Bug 5385 - Fixing an error that crept in with the POD cleanup
(cherry picked from commit 9c6db56a3f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 19:48:15 -05:00
Galen Charlton 57b3924b9a bug 4305: add a couple test cases for _isbn_cleanup
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit bcedff69bc)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 19:48:15 -05:00
Colin Campbell c82169bc32 Bug 4305 Improve code flow
Use the ISBN Object's method to format the string
rather than add extra code to do it
Clean up the code flow for clarity
Benchmarking shows its a bit faster too
Don't add to the number of Test::Perl::Critic warnings
 for no benefit

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c95b5153e0)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 19:48:15 -05:00
Andrew Elwell 7b7ee3303d Bug 5385: POD Cleanups (part 2)
More podchecker cleanups to eliminate warnings / errors

Signed-off-by: Andrew Elwell <Andrew.Elwell@gmail.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit efa66f1f55)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 19:48:14 -05:00
Andrew Elwell 78a598f509 Bug 5385: POD Cleanups (part 1)
working through the master branch to eliminate all
podchecker warnings/errors

Actual improvement to the quality of the POD will
come later (hopefully with assistance of others)

Signed-off-by: Andrew Elwell <Andrew.Elwell@gmail.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 9fa574f609)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 19:48:14 -05:00
Katrin Fischer e9877ebb4c Bug 5112: Organisation does not show links to professionals
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 63fdd8768a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 19:48:13 -05:00
Chris Cormack 77c39f6cfc Merge remote branch 'kc/new/bug_5386' into kcmaster
(cherry picked from commit af1d829031)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 12:52:41 -05:00
Chris Cormack 3b4cf45f9b Test modules compile
Script to test modules compile, when used with a pre-commit hook this
can test before a commit

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 7ecf2c2dc4)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 12:52:36 -05:00
Chris Cormack 0fffa19267 Merge remote branch 'kc/new/bug_5105' into kcmaster
(cherry picked from commit 235cf872a5)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-11 08:53:14 -05:00
Chris Cormack b2af1f850d Merge remote branch 'kc/master' into new/bug_5105
Conflict fixed

Conflicts:
	opac/opac-detail.pl
(cherry picked from commit dcb86689f7)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-10 18:04:39 -05:00
Frédéric Demians 740070ab78 Fix bug on opac-detail.pl with switch statement
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 5e1b8167c2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-10 17:17:42 -05:00
Katrin Fischer 99e8b01e9a Bug 5003: Can not search for organisation by name
Rebased to current HEAD, small error fixed.
Should also apply to 3.2

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 863830f3f9)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-10 17:17:42 -05:00
Galen Charlton 3393712a55 bug 5380: remove copy-and-paste from authorities/detail.pl
MARC editor code not needed here.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 2c794d1af7)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-10 09:53:08 -05:00
Galen Charlton c35c0be961 bug 5372: identify empty field in authority record correctly
This is the sibling to the fix for this bug for the bib
editor.  However, note that this change won't have a
direct effect yet, as currently you can't specify a
default value for a field or subfield in the authority
MARC frameworks.  See bug 4887.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit daabd936d6)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-10 09:53:07 -05:00
Chris Cormack 609a87f928 Ukranian and Russian syspref language updates
(cherry picked from commit 1aef81c354)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-08 19:16:35 -05:00
Chris Cormack d8c72a66f1 Russian and Ukranian opac language updates
(cherry picked from commit a3226d5ce6)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-08 19:16:34 -05:00
Chris Cormack 07e5e31b60 Staff interface .po file updates
(cherry picked from commit 6d22b87543)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-08 19:16:34 -05:00
Katrin Fischer 9da96093f1 Bug 5370: Fix all references to koha.org
Thx to Brooke for helping with the wiki.

This is the last patch.
We will have to change some more links, after translate.koha.org was moved.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit d829dc1c6a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-08 17:04:15 -05:00
Chris Cormack 37b759bf76 Merge branch 'trivial_bugs' of git://git.koha-community.org/wip/koha-fbc into kcmaster
(cherry picked from commit ce54fe0323)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-08 11:59:50 -05:00
Marcel de Rooy df3e806e28 Bug 4515 (Few very small errors in opac-search.pl) RESENT fixing whitespace warning
Loop on results should stop before $i==@servers.  Adding fix for warnings on undefined values in comparison for lines 485, 488 and 510.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit a3ceef434e)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-08 11:58:20 -05:00
Frédéric Demians b326530722 Bug 4472 Apply it to MARC21
For French installation of Koha using MARC21, the same issues as UNIMARC
affects handling of &nbsp; by translation scripts.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c616cb5081)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-08 00:48:35 -05:00
Owen Leonard 5ec46a6790 Fix for Bug 5214 - undefined itype images cause broken image icon in request.pl
Also fixes the same bug on the Itemtypes administration page.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit fbbab73492)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-08 00:48:14 -05:00
Galen Charlton ef96483dab bug 5236: remove hidemytags from CSS as well
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c49600aaa7)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-08 00:47:55 -05:00
Galen Charlton f84e17f18c bug 5219: tidy cleanup_database.pl
Includes a bit of cleanup of the enhancement patch
for bug 5074 - adding comments about old and new
behavior isn't necessary for such small changes.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 072896d66b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-08 00:47:40 -05:00
Frédéric Demians 0aee2dca9e Bug 5372 (v2) Existing value can be replace by default value
The way an existing value was tested was wrong. 0 is a valid value but a
false value for Perl.

=> replace privious proposal.

[3.2] Should also apply.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 07cfc5d69c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-07 16:22:18 -05:00
Katrin Fischer 12755020c6 Bug 5370: Fix all the references to koha.org
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 6df634855c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-07 16:20:45 -05:00
Katrin Fischer 4882a4351f Bug 5370: Fix all references to koha.org
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 9f688ad92b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-07 16:20:32 -05:00
Katrin Fischer 33f1a68bfb Bug 5370: Fix references to koha.org and other old websites
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 35cf30ef15)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-07 15:11:01 -05:00
Chris Nighswonger 7494de10e9 Adding 3.2 Release Maintainer to Release Team List
Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 8dded0c269)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-06 08:31:33 -04:00
Frédéric Demians 73d77687bf Bug 5368 Browse Shelf link appears when no itemcallnumber
Suppress Browse Shelf link on OPAC detail page when there is no item
call number.

[3.2] Should also apply on 3.2

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit e40b180d1d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-05 15:08:42 -04:00
Nahuel ANGELINETTI a8e207df36 (MT 2985) simplify CanBookBeReserved
The function was too complex for so simple stuff, not we check if one of all items of the record can be issued.

[Note by Galen Charlton: not only does this patch simplify the routine,
 it also makes it behave correctly.]

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 363c1ca9f9)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-05 15:08:14 -04:00
Chris Nighswonger 1c37b030fc Updating Version Number to 3.02.00.006 2010-11-04 20:27:49 -04:00
Galen Charlton 797efe50bc bug 5149: follow-up - remove extraneous character in link
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b96617dea8)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-04 20:17:12 -04:00
Nicole Engard 68a24ddd1d bug 5149 fix broken link to noItemTypeImages preference
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 36df1f6cdf)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-04 20:17:11 -04:00
Nicole Engard f4aea1d1a0 bug 5110 move NewItemsDefaultLocation to cataloging tab
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 140fde57de)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-04 20:17:11 -04:00
Owen Leonard 848d00482a Fix for Bug 4963, sys prefs need date hints and/or picker
This patch adds the standard date format hint used elsewhere
in the interface.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 51405bcce4)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-04 20:17:11 -04:00
ByWater Solutions 047e38e8a7 Bug 4254 - adding new patron advanced notice doesn't save
This was due to poorly constructed SQL which returned duplicate values for
certain fields. This patch corrects that SQL.

NOTE: There is also a formatting problem with the message prefs display table
when it is displayed in moremember.pl. This is due to there being no logic to
tell the table in that context to display checkboxes as appropriate. This patch
does not fix that. Bug 5328 has been opened for this problem.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 321eed9833)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-04 20:17:11 -04:00
Owen Leonard a7cb6a9a38 Fix for Bug 5082 - Not translatable name of default framework 'Default' in MARCdetail.tmpl
This patch also fixes an unreported bug where switching from any
other framework to 'Default' would bring up no MARC data.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b0e29e5595)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-04 20:17:10 -04:00
Owen Leonard 2f194fdb1a Fix for Bug 4980 - Acq: pull down 'Restrict access to:' for funds not translatable
Applied Owen's patch to current head, updated de-DE translation. The pull down values are now  translated.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit bd28366523)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-11-04 20:17:10 -04:00