Commit Graph

581 Commits

Author SHA1 Message Date
tipaul 5ff7fcffa4 Bugfixes & improvements (various and minor) :
- updating templates to have tmpl_process3.pl running without any errors
- adding a drupal-like css for prog templates (with 3 small images)
- fixing some bugs in circulation & other scripts
- updating french translation
- fixing some typos in templates
2007-05-22 09:13:54 +00:00
tipaul ca201e36af Koha NoZebra :
- support for authorities
- some bugfixes in ordering and "CCL" parsing
- support for authorities <=> biblios walking

Seems I can do what I want now, so I consider its done, except for bugfixes that will be needed i m sure !
2007-05-10 14:45:15 +00:00
btoumi 998e68c351 bug fix : adding condition for create the right notify_id 2007-05-07 14:57:01 +00:00
tipaul e1d907c688 various bugfixes on parameters modules + adding default NoZebraIndexes systempreference if it's empty 2007-05-04 16:24:08 +00:00
tipaul 3e85c9e97f NoZebra SQL index management :
* adding 3 subs in Biblio.pm
- GetNoZebraIndexes, that get the index structure in a new systempreference (added with this commit)
- _DelBiblioNoZebra, that retrieve all index entries for a biblio and remove in a variable the biblio reference
- _AddBiblioNoZebra, that add index entries for a biblio.
Note that the 2 _Add and _Del subs work only in a hash variable, to speed up things in case of a modif (ie : delete+add). The effective SQL update is done in the ModZebra sub (that existed before, and dealed with zebra index).
I think the code has to be more deeply tested, but it works at least partially.
2007-05-02 16:44:31 +00:00
tipaul 4213b6ec98 improving NOzebra search :
- changing nozebra table to have biblionumber,title-ranking; (; is the entry separator. Now, if a value is several times in an index, it is stored only once, with a higher ranking (the ranking is the number of times the word appeard for this index)
- improving search to have ranking value (default order). The ranking is the sum of ranking of all terms. The list is ordered by ranking+title, from most to lower
2007-05-02 11:57:11 +00:00
hdl 097fef712a Removing $dbh from GetMarcFromKohaField (dbh is not used in this function.) 2007-04-27 14:00:48 +00:00
tipaul b53be9cdaf Koha 3.0 nozebra 1st commit : the script misc/migration_tools/rebuild_nozebra.pl build the nozebra table, and, if you set NoZebra to Yes, queries will be done through zebra. TODO :
- add nozebra table management on biblio editing
- the index table content is hardcoded. I still have to add some specific systempref to let the library update it
- manage pagination (next/previous)
- manage facets
WHAT works :
- NZgetRecords : has exactly the same API & returns as zebra getQuery, except that some parameters are unused
- search & sort works quite good
- CQL parser is better that what I thought I could do : title="harry and sally" and publicationyear>2000 not itemtype=LIVR should work fine
2007-04-25 16:26:42 +00:00
hdl b642e687d2 Still Code Cleaning.
Abiding by Name Convention.
Using Members wherever it should be used.
Borrower is only used for borrower Categories.
+ GetBorrowersWhoHaveNeverBorrowed
and lists like that.
2007-04-24 15:41:27 +00:00
hdl 0b66bd800d Code Cleaning Members.
- checkaccount and getborraccountno => GetBorrowerAcctRecord

Many changes in names,
some changes in function signature.
Will be detailed in a mail to kohadevel.
2007-04-23 13:10:07 +00:00
tipaul 7bd99ef365 removing all useless %env / $env 2007-04-18 17:00:14 +00:00
tipaul 6b201757c1 some bugfixes for this script that automatically build zebra DB from default config files 2007-04-17 08:50:33 +00:00
hdl adb5210865 Code Cleaning AuthoritiesMarc 2007-04-06 14:49:19 +00:00
tipaul c596d55374 HUGE COMMIT : code cleaning circulation.
some stuff to do, i'll write a mail on koha-devel NOW !
2007-04-04 16:46:22 +00:00
tipaul eba2552086 Code cleaning of Biblio.pm (continued)
All subs have be cleaned :
- removed useless
- merged some
- reordering Biblio.pm completly
- using only naming conventions

Seems to have broken nothing, but it still has to be heavily tested.
Note that Biblio.pm is now much more efficient than previously & probably more reliable as well.
2007-03-29 16:45:53 +00:00
tipaul a481fad4b7 Code cleaning :
== Biblio.pm cleaning (useless) ==
* some sub declaration dropped
* removed modbiblio sub
* removed moditem sub
* removed newitems. It was used only in finishrecieve. Replaced by a Koha2Marc+AddItem, that is better.
* removed MARCkoha2marcItem
* removed MARCdelsubfield declaration
* removed MARCkoha2marcBiblio

== Biblio.pm cleaning (naming conventions) ==
* MARCgettagslib renamed to GetMarcStructure
* MARCgetitems renamed to GetMarcItem
* MARCfind_frameworkcode renamed to GetFrameworkCode
* MARCmarc2koha renamed to TransformMarcToKoha
* MARChtml2marc renamed to TransformHtmlToMarc
* MARChtml2xml renamed to TranformeHtmlToXml
* zebraop renamed to ModZebra

== MARC=OFF ==
* removing MARC=OFF related scripts (in cataloguing directory)
* removed checkitems (function related to MARC=off feature, that is completly broken in head. If someone want to reintroduce it, hard work coming...)
* removed getitemsbybiblioitem (used only by MARC=OFF scripts, that is removed as well)
2007-03-29 13:30:31 +00:00
hdl 1ab5cdfd44 removing $dbh as a parameter in AuthoritiesMarc functions
And reporting all differences into the scripts taht relies on those functions.
2007-03-28 10:39:16 +00:00
rych 0fc83a081f adding 001 tag/subfield 2007-03-20 05:05:22 +00:00
kados 1682e779d5 improvements to the language of the installer
moved borrower categories defaults for English into a separate sql file
2007-03-18 02:16:23 +00:00
kados efb989f8db Adding in Coded values conforming to the Z39.77-2006 Holdings Statements for Bibliographic Items
Refer to http://www.niso.org/standards/index.html
2007-03-18 01:49:43 +00:00
kados f4c0b2f80d improvements to the language of the installer
validation improvements for installer
improvements to descriptions of the optional sql data defaults
2007-03-17 23:29:33 +00:00
rych 63b4c7ab89 *** empty log message *** 2007-03-17 21:57:41 +00:00
rych 2b85c2fbfb fix typo 2007-03-17 21:47:08 +00:00
rych 1788e7c870 *** empty log message *** 2007-03-16 16:56:48 +00:00
kados 56244e6efd Using my precrash CVS copy I did the following:
cvs -z3 -d:ext:kados@cvs.savannah.nongnu.org:/sources/koha co -P koha
find koha.precrash -type d -name "CVS" -exec rm -v {} \;
cp -r koha.precrash/* koha/
cd koha/
cvs commit

This should in theory put us right back where we were before the crash
2007-03-16 01:25:08 +00:00
rych 5402549b0c fix typo 2007-03-09 23:53:23 +00:00
kados 0d7b552dec move Accounts2.pm to Accounts.pm 2007-03-09 23:30:17 +00:00
rych 666004bf0a per row inserts 2007-03-09 22:03:13 +00:00
tipaul f8e9fb6445 rel_3_0 moved to HEAD (introducing new files) 2007-03-09 15:34:17 +00:00
tipaul 86e9db4e67 rel_3_0 moved to HEAD (removing useless file) 2007-03-09 15:22:00 +00:00
tipaul a3999812e6 rel_3_0 moved to HEAD 2007-03-09 14:52:58 +00:00
tgarip1957 3e81c7fc10 Required sample tables for multilingual facets and koha_attr tables together with authorised values 2006-10-02 19:13:35 +00:00
tgarip1957 21b35727c0 All the necessary mySQL tables for those who wish to install before an upgrader is provided 2006-09-27 20:23:09 +00:00
tgarip1957 3d8e849e8d missing ccl.propeties added 2006-09-27 19:58:20 +00:00
thd 08b394c17c Added missing 048 $2, new in last year's MARC 21 revision; and changed
visibility values for several fields/subfields.
2006-09-20 11:20:03 +00:00
thd 5ff0693f9d Changed some hidden values for the record editor, shortened items labels,
and added a link to the new barcode plugin.
2006-09-11 03:27:04 +00:00
thd 3417dfc848 Changed some hidden values for the record editor, shortened items labels,
and added a link to the new barcode plugin.
2006-09-11 02:58:03 +00:00
thd e7657ed44c Added the new barcode plugin to frameworks. 2006-09-11 01:03:43 +00:00
thd f913f34333 Changed some hidden values, items labels, and changed the namespace from ASMP_*
to SIMPLE_*.
2006-09-10 23:44:23 +00:00
thd 1eba9cfd2f Corrected some subfield visibility values and improved the ease of
understanding for some librarian's field labels for sound recordings.
2006-09-08 12:35:24 +00:00
thd e3955ba127 Added an integrating resources framework and corrected some visibility values. 2006-09-07 22:47:34 +00:00
tgarip1957 7e52a5665c Clean up before final commits 2006-09-06 16:21:03 +00:00
bob_lyon 976e6d8b5c Adding ability to return biblios that have no biblio items to avoid making orphan biblios 2006-09-05 21:26:19 +00:00
thd a2163e8f69 Added additional record types and made some corrections for appearance in the
record editor.
2006-09-05 14:05:45 +00:00
thd ad657e71eb For MARC 21, instead of deleting the whole subfield when a character does not
translate properly from MARC8 into UTF-8, only the problem characters are
deleted.
2006-09-01 17:11:53 +00:00
tgarip1957 7b64e4a8af New indexing stylsheets for zebra
we now use stylesheets for indexing and retrieval
2006-08-25 21:17:20 +00:00
thd e624b89b56 Moved publication, distribution details fields and acquisition info fields
to record editor tab 9 for ASMP custom frameworks.
2006-08-10 01:01:23 +00:00
thd 4e95d93112 Improved subfield visibility settings and corrected one in the wrong tab. 2006-08-09 21:04:35 +00:00
thd 1d25f1fcf5 Significantly corrected ASMP custom books framework and added ASMP sound
recordings and videorecordings frameworks.
2006-08-09 19:27:18 +00:00
thd 8e51470127 ASMP custom MARC 21 bibliographic frameworks. 2006-08-08 09:09:11 +00:00
thd 2d6582e201 Removed ASMP custom frameworks from standard default MARC 21 framework. 2006-08-08 08:44:03 +00:00
thd 6340f6047e Added some missing and changed subfields as well as field 662 from last year's
MARC 21 update.  Lack of sleep had been a problem around that point in my
previous work.  Corrected some hidden values.
2006-08-08 05:09:25 +00:00
btoumi e22340d1b7 bug fix:
add call to biblio.pm
2006-07-12 14:07:03 +00:00
btoumi d81cd891ce bug fixing:
Biblio.pm: add in export line  getbibliofromitemnumber function
fines2.pl:call to biblio.pm for use of getbibliofromitemnumber function
2006-07-12 13:43:42 +00:00
thd adb2fba8ad Added missing OPAC text for canceled barcode. Fixed typo for 006 not hidden
value.
2006-07-11 01:14:56 +00:00
thd 4ea4523ec5 Fixed a typo for the not hidden value for 006. 2006-07-11 00:17:33 +00:00
thd 2f0ec7e553 Fixed misspelt example mysqldump option. Example is in a comment and was not
part of running code.  Added missing OPAC text for canceled barcode.
2006-07-10 23:47:15 +00:00
thd 6f021e7b71 Corrected some subfield visibility settings, mostly for hiding local holdings
subfields in the 09o or 999 placeholer for 090 Locally Assigned LC-Type Call
Call Number found in copy catalogued records.  The locally assinged original
090 call number remains visible in tab 0 for informational purposes as often
the only place to find what an LC Call number for the material might be.
2006-07-06 17:19:43 +00:00
toins eac83ccd45 Head & rel_2_2 merged 2006-07-04 15:02:42 +00:00
toins cc9524a875 Head & rel_2_2 merged 2006-07-04 14:36:51 +00:00
thd 4eecf69489 Comprehensive Koha post-installation MARC 21 standard bibliographic framework
script.
2006-06-15 07:34:58 +00:00
thd f2ced1f5bc Revised and greatly enlarged to near completion Koha MARC 21 standard
bibliographic framework.
2006-06-13 02:50:35 +00:00
tgarip1957 e7b6c06c99 Reads external marc records with biblionumbers and populates koha tables with the new marc record (only the marc record). Useful after changing encodings etc. 2006-05-31 15:49:38 +00:00
tgarip1957 78ffedfdf6 Adding variable support to zebradb. You may use shadowing or not on either authorities or biblios 2006-05-20 14:18:04 +00:00
tgarip1957 e98a3ba2c4 Lock tables was repeated twice --fixed 2006-05-20 00:13:31 +00:00
tgarip1957 7790f976ca Alter auth_subfield_structure table as well incase somebody uses thisprior to updating database 2006-05-20 00:03:14 +00:00
tgarip1957 e8eec3c9f1 fixing typo error 2006-05-19 23:17:42 +00:00
tgarip1957 9da1d633be Old authorities did not contain authid in marc record. Add it 2006-05-19 21:39:52 +00:00
tgarip1957 0ef1bd094a Use this script to export all your authorities so that you can build an authority zebra. Use this after marc_into_authority.pl 2006-05-19 19:16:00 +00:00
tgarip1957 b4105a44b2 record.abs for ZEBRA authorities. We need different configuration for authorities so a new folder is created 2006-05-19 19:13:51 +00:00
tgarip1957 dad8b825d3 This script modifýes auth_header table, adds missing fields and populates with marc record. Only to be used when updating from 2.2 2006-05-19 19:07:09 +00:00
tgarip1957 584836d680 New koha configuration file. Replaces koha.conf. Needs C4::Context.pm in head to work.
This file now combines koha configuration and zebra configuration. Old koha.conf variable names are retained. They go between the tags <config>. Do not change the tag names for zebra part. Use zebrasrv -f /etc/koha.xml to start your server. The virtual server configuration details can be found in YAZ documentation
2006-05-13 20:02:08 +00:00
tgarip1957 3ece1b0847 If you change your framework for MARC mapping use this script to remap your marc record first. Drop the old framework and install the new one. Re export all your marc and recreate ZEBRA.
The script has to be manually edited to reflect your new mappings. KOHA 3.0 is expected to have new frameworks
2006-04-20 10:55:18 +00:00
sushi 8cd1a0074d Added check for modules for spine-label printing. 2006-04-18 04:53:40 +00:00
bob_lyon 8bf34cc104 Altered the subscription table changed issues length column from tinyint as it
only allows numbers up to 127 - needs to allow bigger numbers if the sub you're making
is for a daily subscription like a newspaper where the number of issues in a year
will be greater than 127
2006-04-11 22:08:06 +00:00
tgarip1957 b23570a323 New definitions added to bib1.
Experimental. Used for LC sorting, holding-branch and shelving access points internal for KOHA
2006-04-10 21:52:38 +00:00
tgarip1957 652c7636e2 Readding record.abs .This one contains new access points which will be needed for LC sorting the biblios. Requires the new bib1.att which is now committed 2006-04-10 21:49:41 +00:00
tgarip1957 88f41fb97e Use this script to change all the xml in biblioitems. No more collection wrapper in XML. Biblio.pm changed. 2006-04-10 21:11:58 +00:00
kados 4c3252b335 adding Log.pm 2006-04-02 19:19:02 +00:00
rangi 78ab7cd0b6 Adding material-type 2006-04-01 22:42:04 +00:00
rangi 10b2315eb3 Fixing the problem that all items were getting biblioitem=1 set 2006-04-01 22:10:50 +00:00
kados cd6a34c343 plugin directory for hybrid plugin files to ease installation. 2006-04-01 22:03:33 +00:00
kados fd14cdd5a1 Create symlink from intranet/zebra to head zebra directory 2006-03-31 22:32:49 +00:00
kados 6a111a7471 add symlink collection.abs -> record.abs 2006-03-31 22:25:58 +00:00
kados 333781482f removing useless directories and record.abs (will be created as a symlink
to collection.abs)
2006-03-31 22:15:44 +00:00
kados c00061f665 minor adjustment to one of the symlinks 2006-03-31 18:43:35 +00:00
kados 49145b3cba A simple script that helps sync a rel_2_2 running repo with a
head repo (ie, copies over the right files, creates some symlinks,
etc.). It's not finished yet, but getting there (I'll be testing it
extensively today and tomorrow).
2006-03-31 18:42:10 +00:00
kados d808b1882a Script written by Tumer Garip that fixes missing 090 fields in a
MARC21 Koha database.
2006-03-31 17:51:18 +00:00
kados 000e5acafd expanding the documentation on zebra.cfg, adding separate locations
for the register and shadow files (will need to be edited by local
sys admin)
2006-03-31 17:48:16 +00:00
rangi c1752f381e Adding any attribute, so we can do
any all "search terms"
2006-03-28 21:30:36 +00:00
rangi 8baffad586 Adding ability to do fuzzy searches 2006-03-28 21:02:48 +00:00
kados d0711595f8 used for indexing iso2709 files 2006-03-21 23:04:42 +00:00
kados 34e5b38ac7 adding some comments as well as support for iso2709 files 2006-03-21 22:55:07 +00:00
rangi da45493b11 Changes to get sorting working 2006-03-21 22:50:28 +00:00
kados 6d5073bfe4 adding Dewey sorting 2006-03-21 04:05:33 +00:00
kados 2540caeb9c improved collection.abs with support for sorting. 2006-03-21 03:48:38 +00:00
rangi 0d99dcf149 Testing sorting result sets 2006-03-13 23:17:26 +00:00
rangi c929030312 isbn search 2006-03-07 21:04:27 +00:00
rangi 0274451199 Barcode search working now 2006-03-07 20:32:27 +00:00
rangi cf91dea29a Trying to get searching on itemtypes going 2006-03-06 04:58:50 +00:00