Commit Graph

13281 Commits

Author SHA1 Message Date
Jonathan Druart 21d7968dd2 Bug 6061: clearing up system preference on update
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit a11bf74df9)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-06-19 15:02:02 -04:00
Katrin Fischer 7c4471f7aa Bug 5653: Follow-up, correction to nb-NO sample creator data
Corrects callnumber to itemcallnumber in Norwegian sample data.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-06-13 21:01:09 -04:00
Galen Charlton ef5ea26668 bug 5653: use itemcallnumber in bib label layouts
The sample bib label layouts and the hard-coded default
format_string for new layouts used 'callnumber' when they
should have used 'itemcallnumber', preventing call numbers
from being printed on spine labels that use the system-supplied
layouts.  Besides correcting the sample data, this patch
now also enshrines 'callnumber' as an alias for 'itemcallnumber'.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
After applying patch it works for new and old layouts (itemcallnumber and callnumber).

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-06-13 20:59:55 -04:00
Chris Nighswonger b49f446671 Bug 2246 - (Partial) Label printing doesn't work with Unicode characters
This patch provides a very partial fix for this bug in that it reduces
the number of pdf generation failures due to a "wide character" error.
It does not ensure that all unicode characters will print correctly as
this is dependent upon many other issues mentioned in this bug and
various posts to the developer list.

What this code does is test to see if the pdf stream is utf8 encoded
and if it is, explicitly declares it to be so. Unicode chars will still
print incorrectly, but the pdf will be created and should open properly
in whatever pdf reader.

You may test this by adding any character with a diacritical to the
title of a bib and then attempting to generate a label pdf with the
title of that bib. Before the patch is applied the resulting pdf
should contain an error mentioning a wide character issue. After the
patch is applied, the pdf should be valid.

No documentation changes are necessary as a result of this patch.

This patch should be backported to 3.2.x.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 939d0ab639)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-06-13 20:47:21 -04:00
Salvador Zaragoza Rubio e62104d477 Bug 3013 - Value builder for 006 and 008 need choices for all format types
Modification of the intranet cataloguing plugin for 006/008 fields to allow
select a type of material and change the positions available to enter the data.
Data are hard stored in xml files to allow easy translation and processing through
Javascript and JQuery-AJAX.

Bug 3013 - Fix selection of combo and trailing whitespace

Bug 3013 - Fix selection of combo

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 519cb622db)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-06-11 15:54:48 -04:00
Frédérick Capovilla 99f2fdfffb 5684: Remove all items fields from a Z39.50 record imported for acquisition.
Signed-off-by: Marcel de Rooy m.de.rooy@rijksmuseum.nl
May 13: Patch for 3.2.X.
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-06-02 13:36:16 -04:00
Marcel de Rooy df75fc81b4 5860 Fixing stocknumber index
Fixing code for 3.2.6.1/3.2.7.1 update.
Adding code at end of update script if install past that point already.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Patch for 3.2.x
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-06-02 13:35:19 -04:00
Jared Camins-Esakov a3db68f9af Bug 3072: Add Heading-Main and Any to MARC21 DOM
The Heading-Main and Any indexes were not defined in the MARC21 authority DOM
rules, but was enabled by the fix for bug 5924. This patch adds the Heading-Main
and Any indexes to the MARC21 DOM authority configuration.

This is a revised patch, with the authority-zebra-indexdefs.xsl automatically
generated from authority-koha-indexdefs.xml. Note that Any is added by
koha-indexdefs-to-zebra.xsl rather than in the authority-koha-indexdefs.xml
file.

NOTE: This patch modifies the following files, which you will need to manually
update if you are using a dev install:
etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml
etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl
etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl

You will also need to reindex your authorities for the changes in this patch to
take effect.

Signed-off-by: Jared Camins-Esakov <jcamins@bywatersolutions.com>
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 79deeddc2ad6f09fddd7e200830b1a74a03374bc)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-06-02 13:32:50 -04:00
Owen Leonard 6f0629400e Follow-up fix for Bug 5760 - Add the jquery table sorter to reading record
- Removing option to show 50 items/show all from script and template
- Adding parser to exclude articles in title sort (en only, see Bug 5766)
- Setting default sort to 'date due descending' as it was previously

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 2f2d8de286d6b234949df80da37636c4b6a97073)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-06-02 13:32:33 -04:00
Fridolyn SOMERS dfb6aca514 BUG6091 Remove undeclared syspref OPACAdvSearchInputCount
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit a8f5bf93f9)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:12:17 -04:00
Tomas Cohen Arazi 9de2d72244 Add entries so Z39.50 public server works
I added a comment on the file so the user uncomments the appropriate koha-conf.xml sections.

To+

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b4b445818f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:11:51 -04:00
ruth@bywatersolutions.com 56c31dca41 Bug 6401 fix to the history file
This patch adds Ian Walls' name to the history file, so he can be found.

Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 59e9137d83)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:11:06 -04:00
Chris Cormack 5b586bf6d4 Bug 6350 : Updating history docs
http://bugs.koha-community.org/show_bug.cgi?id=6350
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 37cf503fdf)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:10:46 -04:00
Alex Arnaud a143334051 Bug #6131 - change index "Author-name-personal" for "Personal-name"
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 7006eebd6e)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:10:26 -04:00
Colin Campbell fa5e6daec7 Bug 6315: Fix depreciated constructions in C4::Serials
Perl 5.14 will issue warnings in cases where it is assumed that
() will magically appear around qw() as the interpreter
will stop fooling itself that they are there
Added the missing () in the couple of cases they were required

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 968a6af37d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:10:04 -04:00
conan (aka Fernando Canizo) 88026c1580 Bug 6218: patron gets dot added if no first name
Trivial fix, now it choose surname if firstname is empty and behaves
like before (firstname.surname) if both are provided.

Signed-off-by: Frederic Demians <frederic@tamil.fr>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c87e872278)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:09:33 -04:00
Jared Camins-Esakov 826ee8859f Bug 6152: Document DOM authority index config
Add a note so developers know not to edit authority-zebra-indexdefs.xsl directly
but to instead edit authority-koha-indexdefs.xml and use the
koha-indexdefs-to-zebra.xsl stylesheet to generate the former from the latter.

Signed-off-by: Frederic Demians <frederic@tamil.fr>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 190a4234f7)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:08:55 -04:00
Frédéric Demians 06157187ff Improve error message when translation installation fails
For Translator Manager (myself...). A translation installation may fail because
translator hasn't enter properly string parameters (%s). With this patch, the
message ID is displayed not only the parameter.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:07:47 -04:00
Chris Nighswonger 3e011a9fb0 Updating Version Number to 3.02.09.000 2011-05-15 15:58:24 -04:00
Chris Nighswonger 78d6256d15 Release Notes for 3.02.09.000 2011-05-15 15:56:27 -04:00
Matthias Meusburger d1f3b156ba Bug 5995 : MT2892: Fix security issue in CAS intranet login
Users could log in intranet using their cardnumber, with superlibrarian
rights.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 417c9084b4)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-15 15:49:00 -04:00
Chris Nighswonger eec142074b Updating Version Number to 3.02.08.000 2011-05-15 14:36:50 -04:00
Chris Nighswonger 5b190fe787 Release Notes for 3.02.08.000 2011-05-15 14:34:25 -04:00
Frédéric Demians c4a0722de2 Translation update for 3.2.8
(cherry picked from commit 681a0fc0292ca5970575c5c2c2b1858a7597577a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-14 20:11:39 -04:00
Chris Cormack 8708377894 Bug 6031 : Fix for syntax (bashism crept into a pure sh script)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit ae70c2f790)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:21:46 -04:00
Colin Campbell 50796d5b73 Bug 6282: HomeOrHoldingBranchReturn missing from pref file
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c83cdd0767)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:21:26 -04:00
Matthias Meusburger c9eda475c9 Bug 6001 : batchRebuildBiblioTables.pl doesn't crash anymore when GetMarcBiblio fails. Unprocessed biblionumbers are displayed at the end of the execution instead.
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit a9cb5fa1ee)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:20:20 -04:00
Robin Sheat ac24bd5680 Bug 5509 - use an XML parser to get values from config
Using sed and regex was causing issues when LDAP connection details were
added.

See
http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454
for more information.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:19:56 -04:00
Jared Camins-Esakov 8966ab9b69 Bug 3543: split NLM call numbers in label creator
Split NLM call numbers using the same rules as those used for Library of
Congress call numbers.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 139f7343f4)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:19:13 -04:00
Galen Charlton a944a8059a history.txt updates for April 2011 releases
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit d04ca42111)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:16:23 -04:00
Chris Nighswonger dbb2ba4923 Revert "3.0.x: ce353e7 bug #3674 allow users creation with disabled password"
This reverts commit 87b792b2b6.
2011-04-21 15:09:41 -04:00
Colin Campbell 3223b18c6a Bug 6211: Set default correctly for SubscriptionHistory syspref
Was being set to an invalid value ';'
resulting in weird behaviour where it looked set but was not
in practice

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit d9be1d6ba9)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-20 18:03:03 -04:00
Chris Nighswonger 56762e966b Reverting pieces of enh bug 4506 which crept in 2011-04-20 15:27:11 -04:00
Chris Cormack 7fa977dec1 Updating package lists
(cherry picked from commit 139d3a81f7)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-19 15:58:03 -04:00
Tomas Cohen Arazi 520c1bb85e Bug 6126 - [3.2.x] Slip print doesn't work on Webkit based browsers
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-18 17:38:11 -04:00
Ricardo Dias Marques 46809c0d9f Lower dependency on Storable to 2.20 in PerlDependencies.pm
This patch lowers the dependency on the "Storable" Perl package
(also known as module/distribution) from version 2.21 to 2.20

This patch created today (14-Apr-2011) does, in PerlDependencies.pm,
the same as a previous patch dated 30-Mar-2010 from Lars Wirzenius
did, in Makefile.PL :

[Koha-patches] [PATCH] Lower dependency on Storable to 2.20.
http://lists.koha-community.org/pipermail/koha-patches/2010-March/011560.html

The reason for this patch is the same that Lars gave for his:

" The Debian squeeze system has only 2.20, and the 2.21 does not seem
 to be required for all tests to pass. Also, checked with
Galen Charlton and Henri-Damien LAURENT (who added the 2.21 dependency)
on IRC that 2.21 did not have anything that was required, compared
to 2.20. "

I believe this patch should be applied to the "master" branch
and should also be "cherry-picked" for the "3.2.x" branch.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:22:03 -04:00
Paul Poulain 10618a0107 Bug 6104: Modify item looses branch
If the $value is provided by the item, use it, don't use the librarian branch !

Signed-off-by: Sophie Meynieux <sophie.meynieux@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b0374db5ff)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:19:02 -04:00
Chris Cormack 77e64d6be0 Fix for Reserves.t allow the tests to run without a logged in user
(cherry picked from commit 67e3b86181)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:18:25 -04:00
Jared Camins-Esakov 87ab53814a Bug 6154: Default sorting by title doesn't work
If you have the default sorting set to title ascending or title descending,
your search results will not automatically be sorted because the syspref uses
title_asc and title_dsc, whereas Search.pm wants title_az and title_za. The same
issue is present when the default sort is on author.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 499c694daf)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:15:28 -04:00
Colin Campbell b4135cc461 Bug 6170: Do not prematurely group results
If OPACGroupResults preference was set it was
shortcircuiting the template selection logic and
we didn't go to the advanced options field

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 8b309c6624)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:04:38 -04:00
Jared Camins-Esakov a4ed4cb19e Bug 6169: Inventory tool fails when ignoreissued set
Due to incorrect parameters passed to C4::Items::GetItemsForInventory, checking
the "Skip copies on loan" box resulted in the inventory failing to run.

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit f08f67d3f1)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:03:12 -04:00
Chris Cormack aeb4114bd0 Bug 5917 : Fix for xgettext.pl
(cherry picked from commit 8df93d61bc)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:02:46 -04:00
Jared Camins-Esakov 015e7597aa Bug 2505: quiet warnings in tools/inventory.pl
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 9475752f3a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:00:42 -04:00
Colin Campbell cc142dc1c2 Bug 6164 Send Borrower Data to template consistently
messaging and notices patron tabs were not passing borrower
info in a manner consistent with other tabs

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:59:12 -04:00
Chris Cormack fd6d257ad7 Adding 2 more developers to the history, 141 now
(cherry picked from commit 79ec08b479)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:58:02 -04:00
Chris Cormack 607777f552 Bug 6155 : Fixing bug with lists not showing
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 88f0c4cb45)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:57:47 -04:00
Srdjan Jankovic 7265af3d03 bug 6031: play with options passed on to rebuild-zebra.pl
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 7882911799)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:56:10 -04:00
Sophie Meynieux d9576d4656 bug #6053 Improvement of letter HOLD_PRINT
Modify title template for letter HOLD_PRINT in installer sample data

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:50:28 -04:00
Paul Poulain e5e8278621 BZ6087: remove duplicate budget link
this feature doesn't exist yet, so the link is useless

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 5b16634c0c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:49:39 -04:00
Owen Leonard c7ce6a2a19 Fix for Bug 5950 - changing frameworks doesn't change anymore
Selecting a framework from the dropdown menu has never (AFAICT)
auto-submitted the form to change the framework. This patch
reformats the form in order to make it clearer that this menu
 is part of the search function.

Signed-off-by: fdurand <frederic.durand@univ-lyon2.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b29e6e8609)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:49:22 -04:00