]> git.koha-community.org Git - koha.git/log
koha.git
16 years agofixing zebraqueue daemon for delete operation part two
Joshua Ferraro [Wed, 13 Feb 2008 04:30:26 +0000 (23:30 -0500)]
fixing zebraqueue daemon for delete operation part two

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofixes to indexing process for deleted records
Joshua Ferraro [Tue, 12 Feb 2008 23:36:58 +0000 (18:36 -0500)]
fixes to indexing process for deleted records

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for Zconn not creating a new connection when zebra goes away and comes
Chris Cormack [Tue, 12 Feb 2008 03:09:39 +0000 (21:09 -0600)]
Fix for Zconn not creating a new connection when zebra goes away and comes

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agocompleted XHTML fixes for addbiblio
Galen Charlton [Tue, 12 Feb 2008 00:54:13 +0000 (18:54 -0600)]
completed XHTML fixes for addbiblio

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofix XHTML validation errors in addbiblio.pl
Galen Charlton [Mon, 11 Feb 2008 22:21:55 +0000 (16:21 -0600)]
fix XHTML validation errors in addbiblio.pl

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agorestore tabbing function in MARC bib editor
Galen Charlton [Mon, 11 Feb 2008 22:21:54 +0000 (16:21 -0600)]
restore tabbing function in MARC bib editor

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadded back use of C4::Charset
Galen Charlton [Mon, 11 Feb 2008 22:21:53 +0000 (16:21 -0600)]
added back use of C4::Charset

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofixed XHTML validation error
Galen Charlton [Mon, 11 Feb 2008 22:21:52 +0000 (16:21 -0600)]
fixed XHTML validation error

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoOPAC: display bib record URLs even if bib has no items
Galen Charlton [Mon, 11 Feb 2008 22:21:51 +0000 (16:21 -0600)]
OPAC: display bib record URLs even if bib has no items

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFRBR: configure PazPar2 during installation
Galen Charlton [Mon, 11 Feb 2008 22:21:50 +0000 (16:21 -0600)]
FRBR: configure PazPar2 during installation

Also added koha-pazpar2-ctl.sh to start and stop
PazPar2.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFRBR: fixed paging through grouped results
Galen Charlton [Mon, 11 Feb 2008 22:21:49 +0000 (16:21 -0600)]
FRBR: fixed paging through grouped results

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFRBR: added OPAC search result grouping option
Galen Charlton [Mon, 11 Feb 2008 22:21:48 +0000 (16:21 -0600)]
FRBR: added OPAC search result grouping option

Because this feature is experimental, the syspref will
not be added to the list just yet.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFRBR: added work-author to PazPar2 search defs
Galen Charlton [Mon, 11 Feb 2008 22:21:47 +0000 (16:21 -0600)]
FRBR: added work-author to PazPar2 search defs

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoPazPar2 FRBRize - adjusted UT and author keys
Galen Charlton [Mon, 11 Feb 2008 22:21:46 +0000 (16:21 -0600)]
PazPar2 FRBRize - adjusted UT and author keys

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agomore experimental work on grouping with pazpar2
Galen Charlton [Mon, 11 Feb 2008 22:21:45 +0000 (16:21 -0600)]
more experimental work on grouping with pazpar2

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadded 440* and 490* 'series' indexes
Mason James [Mon, 11 Feb 2008 06:18:10 +0000 (19:18 +1300)]
added 440* and 490* 'series' indexes

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agonow fetching missing MARCSERIES/440 values too.
Mason James [Mon, 11 Feb 2008 05:51:09 +0000 (18:51 +1300)]
now fetching missing MARCSERIES/440 values too.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agobugfixing inventory
Paul POULAIN [Thu, 7 Feb 2008 17:49:37 +0000 (18:49 +0100)]
bugfixing inventory

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agomoving fr installer to fr-FR
Paul POULAIN [Wed, 30 Jan 2008 17:13:53 +0000 (18:13 +0100)]
moving fr installer to fr-FR

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoINNER JOIN was too much restrictive for migrated libraries.
Henri-Damien LAURENT [Sun, 10 Feb 2008 07:41:54 +0000 (01:41 -0600)]
INNER JOIN was too much restrictive for migrated libraries.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBUG FIX : detailed page for supplier failed to get supplier information
Henri-Damien LAURENT [Sun, 10 Feb 2008 07:41:51 +0000 (01:41 -0600)]
BUG FIX : detailed page for supplier failed to get supplier information

GetSupplier was split into two functions.
Using GetSupplierFromId

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoDisplaying Sort Authorised values if linked to authorisedvalue list.
Henri-Damien LAURENT [Sun, 10 Feb 2008 07:41:55 +0000 (01:41 -0600)]
Displaying Sort Authorised values if linked to authorisedvalue list.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoordering branches by branchcodes.
Henri-Damien LAURENT [Sun, 10 Feb 2008 07:41:53 +0000 (01:41 -0600)]
ordering branches by branchcodes.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years ago</div> were missing
Henri-Damien LAURENT [Sun, 10 Feb 2008 07:41:52 +0000 (01:41 -0600)]
</div> were missing

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agousing Warn and not print for debugging purpose
Henri-Damien LAURENT [Sun, 10 Feb 2008 07:41:50 +0000 (01:41 -0600)]
using Warn and not print for debugging purpose

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoordering branches by branchcodes on Auth page.
Henri-Damien LAURENT [Sun, 10 Feb 2008 07:41:49 +0000 (01:41 -0600)]
ordering branches by branchcodes on Auth page.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agooverduenotices-csv from 2.2 + DL file from overdue.pl
Paul POULAIN [Sun, 10 Feb 2008 07:41:47 +0000 (01:41 -0600)]
overduenotices-csv from 2.2 + DL file from overdue.pl

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agooverdues list, adding links to biblio & patron
Paul POULAIN [Sun, 10 Feb 2008 07:41:46 +0000 (01:41 -0600)]
overdues list, adding links to biblio & patron

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding missing lcn index for NoZebra (in UNIMARC)
Paul POULAIN [Sun, 10 Feb 2008 07:41:45 +0000 (01:41 -0600)]
adding missing lcn index for NoZebra (in UNIMARC)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoHomeOrHoldingBranch syspref in french
Paul POULAIN [Sun, 10 Feb 2008 07:41:44 +0000 (01:41 -0600)]
HomeOrHoldingBranch syspref in french

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoswitching home and holdingbranch (rewritten)
Paul POULAIN [Sun, 10 Feb 2008 07:41:43 +0000 (01:41 -0600)]
switching home and holdingbranch (rewritten)

This is an improvement of a patch that has previously been rejected: I wanted to display holdingbranch, kados prefer homebranch
(and in fact it depends on the library choice...)
now, the library can choose, thanks to HomeOrHoldingBranch syspref.

Note that I have changed the description of the syspref to reflect this new use

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agomoved use of C4::Heading to avoid symbol export problem
Galen Charlton [Sun, 10 Feb 2008 07:41:42 +0000 (01:41 -0600)]
moved use of C4::Heading to avoid symbol export problem

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthorities: added LinkBibHeadingsToAuthorities
Galen Charlton [Sun, 10 Feb 2008 07:41:41 +0000 (01:41 -0600)]
authorities: added LinkBibHeadingsToAuthorities

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoChanged behavior of barcode.pl plugin to generate barcode onClick of the ... button
Chris Nighswonger [Sun, 10 Feb 2008 07:41:40 +0000 (01:41 -0600)]
Changed behavior of barcode.pl plugin to generate barcode onClick of the ... button

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years ago952 $y was marked as 'hidden' for supplemental frameworks
Joshua Ferraro [Mon, 11 Feb 2008 11:50:21 +0000 (06:50 -0500)]
952 $y was marked as 'hidden' for supplemental frameworks

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agobug 1372: count MARC records correctly
Galen Charlton [Fri, 8 Feb 2008 22:55:41 +0000 (16:55 -0600)]
bug 1372: count MARC records correctly

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadded StripNonXmlChars to C4::Charset
Galen Charlton [Fri, 8 Feb 2008 22:35:18 +0000 (16:35 -0600)]
added StripNonXmlChars to C4::Charset

Added invocations of StripNonXmlChars to uses
of new_from_xml() that involve records
saved to Koha fields via MARC::Record->as_xml();
for batch jobs that work on MARC XML files
coming from external sources, StripNonXmlChars
should not necessarily be used, as it may
be better to reject a file or record if it
contains that kind of encoding error.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agokeep biblioitems.cn_sort in sync with MARC record
Galen Charlton [Fri, 8 Feb 2008 17:39:03 +0000 (11:39 -0600)]
keep biblioitems.cn_sort in sync with MARC record

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agosynching opac search with staff search
Joshua Ferraro [Fri, 8 Feb 2008 11:54:17 +0000 (06:54 -0500)]
synching opac search with staff search

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofixing a bug where the query cgi was loaded twice for re-sort forms
Joshua Ferraro [Thu, 7 Feb 2008 05:31:05 +0000 (00:31 -0500)]
fixing a bug where the query cgi was loaded twice for re-sort forms

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agohandling multiple languages gracefully in sysprefs, allow the user to enable specific...
Joshua Ferraro [Mon, 4 Feb 2008 04:18:48 +0000 (23:18 -0500)]
handling multiple languages gracefully in sysprefs, allow the user to enable specific languages (and language groups)

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding translators for Amaric
Joshua Ferraro [Mon, 28 Jan 2008 05:46:01 +0000 (00:46 -0500)]
adding translators for Amaric

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding a media=print stylesheet and removing menus from printing
Paul POULAIN [Fri, 8 Feb 2008 08:24:51 +0000 (02:24 -0600)]
adding a media=print stylesheet and removing menus from printing

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMembers.pm - make sure we don't return empty refs (is firstname fallback really needed?)
Joe Atzberger (siptest [Thu, 7 Feb 2008 18:59:12 +0000 (12:59 -0600)]
Members.pm - make sure we don't return empty refs (is firstname fallback really needed?)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoreplacing ' by " in javascript translatable strings
Paul POULAIN [Thu, 7 Feb 2008 18:59:08 +0000 (12:59 -0600)]
replacing ' by " in javascript translatable strings

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAllow stage_biblios_file to take matcher id as parameter.
Ryan Higgins [Thu, 7 Feb 2008 18:59:04 +0000 (12:59 -0600)]
Allow stage_biblios_file to take matcher id as parameter.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoChange homebranch to branch for advanced search.
Ryan Higgins [Thu, 7 Feb 2008 18:59:03 +0000 (12:59 -0600)]
Change homebranch to branch for advanced search.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthorities: new batch job to link bibs to authorities
Galen Charlton [Thu, 7 Feb 2008 06:11:53 +0000 (00:11 -0600)]
authorities: new batch job to link bibs to authorities

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthority headings search: remove CCL metacharacters
Galen Charlton [Thu, 7 Feb 2008 06:11:52 +0000 (00:11 -0600)]
authority headings search: remove CCL metacharacters

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agomoved use of C4::Heading to avoid symbol export problem
Galen Charlton [Thu, 7 Feb 2008 06:11:51 +0000 (00:11 -0600)]
moved use of C4::Heading to avoid symbol export problem

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthorities: added LinkBibHeadingsToAuthorities
Galen Charlton [Thu, 7 Feb 2008 06:11:50 +0000 (00:11 -0600)]
authorities: added LinkBibHeadingsToAuthorities

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFRBR: OPAC template for displaying grouped results
Galen Charlton [Thu, 7 Feb 2008 06:11:49 +0000 (00:11 -0600)]
FRBR: OPAC template for displaying grouped results

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadded grouplabel class for FRBR group labels
Galen Charlton [Thu, 7 Feb 2008 06:11:48 +0000 (00:11 -0600)]
added grouplabel class for FRBR group labels

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoexperiment: use PazPar2 to group related works
Galen Charlton [Thu, 7 Feb 2008 06:11:47 +0000 (00:11 -0600)]
experiment: use PazPar2 to group related works

The approach is to use PazPar2 to search just one
target, the biblio Zebra database.  The results
of each set are merged by PazPar2 to generate a
hitlist that combines related bibs together; as an
example, if a library has the first Harry Potter
book in three languages and an audiobook format,
the hitlist should ideally return one result
for the work that includes links to the individual
bibs.

The new module C4::Search::PazPar2 implements a
simple client for PazPar2's XML-over-HTTP API.  It is
designed to be generic, and thus may end up getting
moved out of Koha to become a stand-alone CPAN module.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFormatting biblio view link options, other CSS tweaks; Adding record export widget...
Owen Leonard [Thu, 7 Feb 2008 06:11:46 +0000 (00:11 -0600)]
Formatting biblio view link options, other CSS tweaks; Adding record export widget from dev_week (seems to work?)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoWriting the cart button to the DOM with js so that non-js users don't see it
Owen Leonard [Thu, 7 Feb 2008 06:11:45 +0000 (00:11 -0600)]
Writing the cart button to the DOM with js so that non-js users don't see it

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRe-marking basket count with spans to avoid validation errors
Owen Leonard [Thu, 7 Feb 2008 06:11:44 +0000 (00:11 -0600)]
Re-marking basket count with spans to avoid validation errors

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixes for display of cart contents number, other minor markup corrections
Owen Leonard [Thu, 7 Feb 2008 06:11:43 +0000 (00:11 -0600)]
Fixes for display of cart contents number, other minor markup corrections

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoStyling cart and list buttons with icons, styling search 'Go' button similarly
Owen Leonard [Thu, 7 Feb 2008 06:11:42 +0000 (00:11 -0600)]
Styling cart and list buttons with icons, styling search 'Go' button similarly

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoCart and lists icon placement
Owen Leonard [Thu, 7 Feb 2008 06:11:41 +0000 (00:11 -0600)]
Cart and lists icon placement

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoTrying to get float correct for cart and lists button
Owen Leonard [Thu, 7 Feb 2008 06:11:40 +0000 (00:11 -0600)]
Trying to get float correct for cart and lists button

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthorities: limit by heading type during matching
Galen Charlton [Thu, 7 Feb 2008 06:11:38 +0000 (00:11 -0600)]
authorities: limit by heading type during matching

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthorities - new module - C4::Heading
Galen Charlton [Thu, 7 Feb 2008 06:11:37 +0000 (00:11 -0600)]
authorities - new module - C4::Heading

Objects of type C4::Heading represent
headings and are (currently) initialized
from bib MARC::Field objects.  A C4::Heading
has the ability via SimpleSearch to locate
the authority records that are either authorizing
the heading itself or contained more preferred
terms for the heading via See links.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthorities -- added CCL indexes for heading matching
Galen Charlton [Thu, 7 Feb 2008 06:11:36 +0000 (00:11 -0600)]
authorities -- added CCL indexes for heading matching

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoquell warnings for SimpleSearch under 'use warnings'
Galen Charlton [Thu, 7 Feb 2008 06:11:35 +0000 (00:11 -0600)]
quell warnings for SimpleSearch under 'use warnings'

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthorities indexing: qualify indexes with ":w"
Galen Charlton [Thu, 7 Feb 2008 06:11:34 +0000 (00:11 -0600)]
authorities indexing: qualify indexes with ":w"

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthorities indexing - MAJOR changes
Galen Charlton [Thu, 7 Feb 2008 06:11:33 +0000 (00:11 -0600)]
authorities indexing - MAJOR changes

For DOM indexing, added index_matching_heading option
to create indexes for matching an entire authority
heading -- the index works by indexing a heading
such

150 $aCars$xElectric$zEngland$vScience fiction

as something like

"cars generalsubdiv electric geographicsubdiv england
formsubdiv science fiction"

Also started adjust names of some indexes to conform
to languaged used in the MARC21 and UNIMARC standards, e.g.,

"See" => "See-from"
"See-also" => "See-also-from"
"Conference-name-heading" => "Meeting-name-heading"

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthorities - enabled DOM indexing
Galen Charlton [Thu, 7 Feb 2008 06:11:32 +0000 (00:11 -0600)]
authorities - enabled DOM indexing

All new authority features will be based on the DOM indexing.

To update an existing installation, do the following:

[1] run perl Makefile.PL
[2] make
[3] make update_zebra_conf
[4] copy the new koha-conf.xml to $KOHA_CONF

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding 'more_subfields_xml' column to deleteditems table.
Chris Nighswonger [Tue, 5 Feb 2008 11:27:58 +0000 (06:27 -0500)]
Adding 'more_subfields_xml' column to deleteditems table.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSMS - widespread cleanup and moving code away from Cyprus/Turkey-specific implementat...
Joe Atzberger [Sun, 3 Feb 2008 19:10:20 +0000 (13:10 -0600)]
SMS - widespread cleanup and moving code away from Cyprus/Turkey-specific implementation. Much more needed.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMakefile.PL - trivial perldoc correction
Joe Atzberger [Sun, 3 Feb 2008 19:10:19 +0000 (13:10 -0600)]
Makefile.PL - trivial perldoc correction

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixes bug #1808
Frederic DEMIANS [Sat, 2 Feb 2008 05:23:57 +0000 (23:23 -0600)]
Fixes bug #1808

  OPAC:   $8 - Koha collection, decoded with ccode authorised
          values
  Staff:  $c - Shelving location

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agotemplates - HTML validation tweaks, FIXME's added
Joe Atzberger [Sat, 2 Feb 2008 05:23:56 +0000 (23:23 -0600)]
templates - HTML validation tweaks, FIXME's added

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoContext.pm - file size test (-s) is subset of file exists test (-e), so testing both...
Joe Atzberger [Sat, 2 Feb 2008 05:23:55 +0000 (23:23 -0600)]
Context.pm - file size test (-s) is subset of file exists test (-e), so testing both is same as testing -s.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agomasthead.inc - several validation fixes (no div inside <a>, unpaired closing tags)
Joe Atzberger [Sat, 2 Feb 2008 05:23:54 +0000 (23:23 -0600)]
masthead.inc - several validation fixes (no div inside <a>, unpaired closing tags)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoopac.css - button background fix for input.icon
Joe Atzberger [Sat, 2 Feb 2008 05:23:53 +0000 (23:23 -0600)]
opac.css - button background fix for input.icon

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoshelves - corrections and HTML validation changes
Joe Atzberger [Sat, 2 Feb 2008 05:23:52 +0000 (23:23 -0600)]
shelves - corrections and HTML validation changes

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agocharset: fixed bug that prevented ISO-5426 conversion
Galen Charlton [Sat, 2 Feb 2008 05:23:51 +0000 (23:23 -0600)]
charset: fixed bug that prevented ISO-5426 conversion

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoModified viewlog.pl to discern where it was called from and display the appropriate...
Chris Nighswonger [Sat, 2 Feb 2008 05:23:50 +0000 (23:23 -0600)]
Modified viewlog.pl to discern where it was called from and display the appropriate menu.

If viewlog.pl is called from the circulation menu, then the circulation menu is displayed.
If viewlog.pl is called otherwise, the tools menu is displayed.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdd MARC21 to USMARC label
MJ Ray [Sat, 2 Feb 2008 05:23:49 +0000 (23:23 -0600)]
Add MARC21 to USMARC label

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMore fixes for patron images
Chris Nighswonger [Sat, 2 Feb 2008 05:23:48 +0000 (23:23 -0600)]
More fixes for patron images

Added GetPatronImage function to Members.pm
Added code to circulation.pl, boraccount.pl, readingrec.pl, and moremember.pl to grab patron image and pass it off to the template
Corrected code in circ-menu.inc to properly display patron image.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMore work on picture-upload.tmpl
Chris Nighswonger [Sat, 2 Feb 2008 05:23:47 +0000 (23:23 -0600)]
More work on picture-upload.tmpl

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBug Fixing : Could not add new undefined tag if searchfield>0
Henri-Damien LAURENT [Sat, 2 Feb 2008 05:23:46 +0000 (23:23 -0600)]
Bug Fixing : Could not add new undefined tag if searchfield>0

For instance, search for tag 290
cannot find.
Click on addTag
Save
Then wouldnot add tag 290 because used UPDATE.
Now, if tag is not found then Add tag is done.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSecond installment on Patron Images fixes
Chris Nighswonger [Sat, 2 Feb 2008 05:23:45 +0000 (23:23 -0600)]
Second installment on Patron Images fixes

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agotemp bugfix -- restore file upload functionality
Galen Charlton [Fri, 1 Feb 2008 00:27:05 +0000 (18:27 -0600)]
temp bugfix -- restore file upload functionality

CGI->new() should not be used in any C4 module -
it has a side-effect that breaks the AJAX
file upload script.  Specifically, any file upload
field is slurped when a new CGI object is created, and
is not available to a second object created by CGI->new().

Consequently, C4::Debug should not be instantiating
a CGI object in its BEGIN block.  It can use other CGI::* modules
to parse QUERY_STRING to get the value of the debug
parameter (note that this means that the debug param
can be reliably set only in a GET, not as part of a
form submission).

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoIMPORTANT - refactor MARC character set handling
Galen Charlton [Fri, 1 Feb 2008 00:27:04 +0000 (18:27 -0600)]
IMPORTANT - refactor MARC character set handling

* IsStringUTF8ish - determine if scalar contains a string in UTF8
* MarcToUTF8Record - convert MARC blob or MARC::Record to UTF8
* SetMarcUnicodeFlag - set appropriate MARC21 or UNIMARC field to
  indicate that record is in UTF-8.

Design points of this module include:

* No dependencies on other C4 modules, making it easier to add
  more test cases
* All character conversion code in one place
* Single entry point for doing a character conversion on a
  MARC record
* Capture of errors and warnings produced by Text::Iconv
  and MARC::Charset
* Start of support for guessing the source character set of
  a MARC record.

Several functions were moved from other scripts
or modules to C4::Charset:

* C4::Koha->FixEncoding (expanded and renamed
  MarcToUTF8Record)
* C4::Koha->char_decode5426
* fMARC8ToUTF8 from bulkmarcimport.pl (renamed
  _marc_marc8_to_utf8)

Several batch jobs were adjusted to use MarcToUTF8Record instead of
FixEncoding.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMarkup correction, formatting for translator
Owen Leonard [Fri, 1 Feb 2008 00:27:03 +0000 (18:27 -0600)]
Markup correction, formatting for translator

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoCorrecting DEBUG var
Chris Nighswonger [Fri, 1 Feb 2008 00:27:02 +0000 (18:27 -0600)]
Correcting DEBUG var

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBugfix for Bug 1618: First Installment
Chris [Fri, 1 Feb 2008 00:27:01 +0000 (18:27 -0600)]
Bugfix for Bug 1618: First Installment

This corrects the major template issues once files are uploaded.
The changes need dressing up a bit still.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving extra warn
Chris [Fri, 1 Feb 2008 00:27:00 +0000 (18:27 -0600)]
Removing extra warn

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoQuick fix to bug 1809
Frederic DEMIANS [Thu, 31 Jan 2008 19:43:25 +0000 (13:43 -0600)]
Quick fix to bug 1809

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix a bug in authorised values admin
Frederic DEMIANS [Thu, 31 Jan 2008 19:43:24 +0000 (13:43 -0600)]
Fix a bug in authorised values admin

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoPrevious change hid global search on results page too, fixing.
Owen Leonard [Thu, 31 Jan 2008 19:43:23 +0000 (13:43 -0600)]
Previous change hid global search on results page too, fixing.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving some unused include files; Correcting nomenclature for cart; hiding quick...
Owen Leonard [Thu, 31 Jan 2008 19:43:22 +0000 (13:43 -0600)]
Removing some unused include files; Correcting nomenclature for cart; hiding quick search form on advanced search page; Styling user menu links as sidebar tabs.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMinor style tweak to lists menu; Trying to show public lists to non-logged-in users...
Owen Leonard [Thu, 31 Jan 2008 19:43:21 +0000 (13:43 -0600)]
Minor style tweak to lists menu; Trying to show public lists to non-logged-in users. Calling for help from atz.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMarkup tweak for login; Link correction for facets.
Owen Leonard [Thu, 31 Jan 2008 19:43:20 +0000 (13:43 -0600)]
Markup tweak for login; Link correction for facets.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofrench translation updated
Paul POULAIN [Thu, 31 Jan 2008 19:43:19 +0000 (13:43 -0600)]
french translation updated

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agostaged MARC import: handle non-ASCII characters in items
Galen Charlton [Thu, 31 Jan 2008 19:43:17 +0000 (13:43 -0600)]
staged MARC import: handle non-ASCII characters in items

The problem occured during the population of
import_items.marcxml -- the MARC::Record object
created to store the item did not have the Leader/09
set to 'a', which means that MARC::File::XML
tried to transcode code the item from MARC-8 to UTF-8, which
breaks since the MARC data is already in UTF-8 at that point.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthorities: changed extension of authority-zebra-indexdefs.xml
Galen Charlton [Thu, 31 Jan 2008 19:43:16 +0000 (13:43 -0600)]
authorities: changed extension of authority-zebra-indexdefs.xml

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauthorities: start of work on reindexing
Galen Charlton [Thu, 31 Jan 2008 19:43:15 +0000 (13:43 -0600)]
authorities: start of work on reindexing

Currently, MARC authorities are indexed (assuming Zebra
is used) with Zebra's GRS-1 module.  However, it does
not appear to be possible to index phrases that cross
subfield boundaries using the GRS-1 module's records.abs
config file's melm, elm, and xelm directives.

Since it is necessary to be able to efficiently search
an entire authority heading (e.g., to see if a given
bib heading is authorized), I'm proposing a switch
to Zebra's DOM XML filter module, which uses XSLT
to generate the words and phrases to be indexed from the
original MARC XML (or ISO2709) record.

The file authority-zebra-indexdefs.xml is an XSLT stylesheet
to implement the new indexing regime.  It is based on the
MARC21 authority record.abs with the following changes:

  * addition of 148/448/548
  * changed name of "see" indexes to "see-from"
  * changed name of "see-also" indexes to "see-also-from"
  * added index on the subject thesaurus based on
    the 008/11 and 040$f
  * added indexes on the full heading

authority-zebra-indexdefs.xml was generated from
authority-koha-indexdefs.xml via the XSL transform
koha-indexdefs-to-zebra.xsl.  authority-koha-indexdefs.xml
is the actual master version of the indexing definitions,
and was created to provide a much more compact syntax
over the raw XSLT that is to be passed to Zebra.

An experimental schema for Koha indexing definitions is
under way; my aim is to propose a simple format that can
be readily worked with, and perhaps even generated as
a serialization of indexing definitions that are set up
via administration settings in the Koha database itself.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>