Commit graph

946 commits

Author SHA1 Message Date
Joshua Ferraro
2d16b723d1 Improvements to nomenclature and translations
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-12 09:00:54 -06:00
Joshua Ferraro
80af6de885 fixing encoding declarations to make it easier to translate
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-12 09:00:52 -06:00
Mason James
a51118833c wrapping AddBiblio(), and AddItem() in evals{} to protect import from failure due to bad records.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-11 18:44:13 -06:00
Mason James
f6b17c1de9 wrapping write to *.iso file in eval{}, to handle failure, caused by bad record.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-11 18:44:12 -06:00
Henri-Damien LAURENT
599fed891f zebra abs file update.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-11 12:43:43 -06:00
thd
ef7aff611e Adding extra MARC frameworks development comments and SQL statements for MARC fields with letters to misc/installer_devel_notes/data/en/marcflavour .
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-08 18:03:59 -06:00
Paul POULAIN
9149a711fb bugfixes to config files for zebra 2.0.18
those 2 lines are invalid

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-08 17:50:00 -06:00
Paul POULAIN
a650adcd46 small change in french translation
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-08 17:20:42 -06:00
Galen Charlton
3fbd25602b new batch job to stage a file of MARC biblios for import.
As part of this, modified two routines in C4::ImportBatch
to support a callback for monitor progress of import
processing.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-07 08:23:59 -06:00
Galen Charlton
979282933f new batch job to commit a batch of imported bibs
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-07 08:23:57 -06:00
Paul POULAIN
b7eb9e1b5c rebuild_zebra now handle correctly improper authorities records
(missing 100 field are automatically added)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-07 08:18:24 -06:00
Paul POULAIN
bb5cea8e56 deal with wrong authorities when exporting for zebra
(authorities that don't have a 001 field containing authid)

also comment some code when exporting biblios (NOT tested, hdl,pls confirm this commit)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-07 08:18:19 -06:00
Paul POULAIN
e24c036094 french po files updated
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-07 08:02:54 -06:00
Paul POULAIN
23c79b8229 bump to 3.00.00.017 : adding columns to zebraqueue
The zebraque_start scripts works, but it not friendly when you try to track what he did
as records are deleted after done.
This commit changes the behaviour : 2 columns are added done & timestamp.
done is set to 1 when a line have been done. And the timestamp contains the timestamp of the last action (either line creation if done=0 or operation if done=1)

should be helpfull to track problem.

the table will grow, but i'll add soon a DELETE FROM zebraqueue WHERE timestamp > 30 days or something like that

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 19:43:00 -05:00
Paul POULAIN
da9e4001e5 Note was declared twice + XXX :w,:p is illegal, one must write XXX:w,XXX:p
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 19:42:09 -05:00
Paul POULAIN
89b9e8f8c1 skip empty records (new GetMarcRecord behaviour that returns empty string and not empty MARC::Record)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 19:41:49 -05:00
Paul POULAIN
1cd11f4d54 fixes in NoZebra search & indexing
- the quotemeta was wrong (and introduced some bugs in diacritics)
- fixing some bugs that appear only sometimes : the union was done including weight, which is wrong & resulted in missing some results (when various weighting)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 05:53:36 -05:00
Joshua Ferraro
76064f4623 adding SMS stuff so we don't forget about it
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-29 21:21:20 -05:00
Henri-Damien LAURENT
8efd4e595e Bug Fix : Sorting by publication date
This Bug came out of the fact that indexes were used a wrong way in record.abs
Please consider correcting record_usmarc.abs
Indeed indexes were used :
melm NNN$X	Myattribute	!:w,!:p
This prooved not to work on indexes.
It took only default (w) index for Myattribute.

So Please, correct your record.abs, reindex, and sorting by publication date will be fine.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-29 15:47:34 -05:00
Paul POULAIN
fa26bcc037 rebuild_unimarc_100 : better handling of unusual cases
If 100$a repeated, the scripts failed to handle that correctly

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:08:56 -05:00
Paul POULAIN
cd8a565a6a temp
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:08:40 -05:00
Paul POULAIN
eaa85bd224 important fixes in ccl.properties
(just spelling, but very important, without them, authorities won't work)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:08:24 -05:00
Paul POULAIN
4bf0e49672 french translation files (.po) again...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:07:49 -05:00
Paul POULAIN
837e5c5e94 less verbose
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:06:36 -05:00
Paul POULAIN
d2dc5bc12b french translation po files (updated)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:05:40 -05:00
Paul POULAIN
b8d8b0be67 french translation, updated
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-22 07:31:49 -05:00
Paul POULAIN
1e3e69fe99 Overdues fixes (unfinished)
- reindenting
- upcasing SQL
- the script at least compiles...

... but it does seem not work yet

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-22 07:15:41 -05:00
Joshua Ferraro
9d29ce5d58 improvements to zebra configuration files
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-21 19:14:12 -05:00
Henri-Damien LAURENT
62b922405a Adding truncation ccl attributes which were missing in my commit.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-20 16:15:03 -05:00
Chris Cormack
b9c20fa9cf Patch from Galen Charlton, removing $Id$ $Log$ and $Revision$ from files
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 20:22:01 -05:00
Chris Cormack
606ecb532a Patch from Joe Atzberger to remove $Id$ and $Log$ from scripts
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 16:27:04 -05:00
Paul POULAIN
917c1ab46c fines management (bugfixes & minor improvement)
- pay.pl fixed, the librarian can see patron fines & mark them paid
- fines2.pl fixed, the script now calculate the fines correctly from the finerules :
  * itemtype / patron category if it exist
  * itemtype / default if needed
- renamed misc/fines.pl as fines-sanop.pl
- added 2 systempreferences:
  * MaxFine: the max amount a patron can be charged for an item
  * NoReturnSetLost: how many days of late before a non returned item is marked lost & the patron charged for the full cost of replacement
(those values where hardcoded in fines2.pl
- C4/Circulation/Fines.pm has been removed (unused duplicate of C4/Overdues)

Note that SANOP feature about notify levels have NOT been ported here. I think they are too specific now, and the code is poorly written
I've renammed fines.pl to fines-sanop.pl to point that it is specific.
Thus, all notify_id related features are not used by anything (and always 0)
Can be interesting to reintroduce them, but that will probably be a large work...

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 16:25:00 -05:00
Paul POULAIN
d9b7ef9903 adding . as word separator for french. Why was it not here ?
nobody probably ever enter "." on search term, but just in case...

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-12 22:21:38 -05:00
Paul POULAIN
1ac38782a1 #1474 : Bulkmarcimport croaks when Log is ON
set to 0 and restore at the end of the import

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-11 14:53:59 -05:00
Paul POULAIN
057d654a5b skipping wrong XMLs when rebuilding nozebra indexes
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-09 19:11:47 -05:00
Paul POULAIN
49ef1df969 Adding a new option to rebuildzebra : noxml
This option uses the iso2709 version of the MARC record instead of the XML one
(biblioitems.marc vs biblioitems.marcxml)
No change if the parameter is not set.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-09 19:07:36 -05:00
Joshua Ferraro
55b658f826 move the xslt dir to a language-specific dir
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-06 22:15:21 -05:00
Joshua Ferraro
827d27111f adding barcode index
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-06 21:46:02 -05:00
Paul POULAIN
f2031566bb #1447 : avoid a SQL message when filling the table
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-05 19:40:05 -05:00
Paul POULAIN
eb51a96f9e french translation .po
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-05 19:37:20 -05:00
Paul POULAIN
6b4b6c6eca updating french translation
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-05 14:09:19 -05:00
Paul POULAIN
375d2f1158 (minor) updating doc & removing warn
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-03 14:57:12 -05:00
Paul POULAIN
e343e8a151 unimarc specific : sorting on date-of-publication
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-02 15:45:51 -05:00
Chris Catalfo
502487e2ba Added basic MARC21 index definitions.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-02 15:38:32 -05:00
Paul POULAIN
6f7efca7e1 BUGFIX for browser and nozebra tables
- adding browser and nozebra table definition to kohastructure & updatedatabase
- bumping to 3.00.00.005

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-02 04:35:49 -05:00
Joshua Ferraro
ae34e8f45a changing the name of the zebra password file to passwd
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-01 23:14:47 -05:00
Joshua Ferraro
b87d4924b9 commenting out set_service_options, but also removes commit op
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-01 17:40:31 -05:00
Ryan Higgins
c44efe7b84 fix bad call to GetMarcFromKohaField in bulkmarcimport, and add -fk param, allowing disabling of fk constraints during import.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-30 21:16:50 -05:00
Paul POULAIN
0d7a4aafd0 BUGFIX : NoZebra indexing was wrong for accented words
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-26 05:28:37 -05:00
Paul POULAIN
623ac80330 BUGFIXES : 3 (marc_biblio, check biblionumber, ModMarcBiblio API)
- use biblio instead of marc_biblio,
- better check that biblionumber is correctly stored
- fix an buggy API call when ModMarcBiblio

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-13 17:18:50 -05:00
Paul POULAIN
8d4c0f1d6b BUGFIX : those 2 files are required by misc/migration_tools/rebuild_zebra.pl
without them, the copy will fail to the zebra directory structure,
and zebra won't work correctly.

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-13 17:18:44 -05:00
Paul POULAIN
ec7bd0b2ff (unimarc specific) BUGFIX : if 100$a exist but is not 35 char long, MARC::File::XML may fail
So, add blanks if needed...

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-13 17:17:56 -05:00
Paul POULAIN
75cd7b02ef BIGFIX : making rebuildnonmarc script work with koha 3.0
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-12 20:54:08 -05:00
thd
22b384e0d1 Major change switching Koha record ID from field 090 to 999. 090 is now for
local LC call number as used at many North American academic libraries.
Correcting authoritytypecode values where my typo used the number '0' as
part of the value in one table and the letter 'O' in another table.
Improved seealso column indexing values.

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-06 21:29:41 -05:00
thd
1ad9d8b945 Correcting installation instructions.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-06 21:26:07 -05:00
thd
a6344b9deb Adding custom authority frameworks.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-06 21:23:40 -05:00
thd
29f27f0a50 Corrected field and subfield values in frameworks.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-06 21:23:09 -05:00
thd
78e7932328 Correcting authoritytypecode values where my typo used the number '0' as
part of the value in one table and the letter 'O' in another table.
Improved seealso column indexing values.

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-06 21:22:50 -05:00
MJ Ray
28695e9166 Add missing auto_install features to new installer
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-06 17:14:45 -05:00
MJ Ray
e449c139ff Add configuration file helper to the installer
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-06 17:14:40 -05:00
Paul POULAIN
323bf9cc46 french translation updated
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-03 03:45:02 -05:00
Paul POULAIN
62ae21903c removing a lot of useless files in misc
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-03 03:44:41 -05:00
Joshua Ferraro
f0b3d746c3 Removing old PO files, removing clutter
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 15:14:51 -05:00
Thomas Dukleth
a72ffac009 Adding Koha MARC 21 standard authorities frameworks post-installation script.
A new file apparently missed in the transition to git.

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-21 01:52:10 -05:00
Joshua Ferraro
7988048ca9 moving sql data to installer directory
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-18 22:15:30 -05:00
Joshua Ferraro
d5acfe9d73 update to virtual shelves -- approved 2007-08-08 13:12:47 -05:00
Chris Cormack
ef0bf37726 More uneeded files, Patch from Paul 2007-08-08 11:01:30 -05:00
Chris Cormack
7963dd2d53 Files removed, no longer, Patch from Paul
deleted:    misc/Install.pm
	deleted:    misc/installer-lite.pl
	deleted:    misc/installer.pl
	deleted:    misc/marc_datas/marc21_en/structure_def.sql
	deleted:    misc/marc_datas/unimarc_fr/structure_def.sql
2007-08-08 10:58:26 -05:00
Joshua Ferraro
e9ae8c0686 patches from paul 2007-08-08 07:41:19 -05:00
Chris Cormack
2e4a11773c Merge branch 'master' of /home/jmf/repos/koha-rm-root.git/ 2007-08-08 07:36:43 -05:00
Paul POULAIN
a117597432 removing an old directory, that does not work anymore with koha 3.0
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:35:46 -05:00
Paul POULAIN
813d2f3359 removing an old test script
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:25:11 -05:00
Paul POULAIN
8542e06b25 reservelist.pl is now in Koha itself, in circ/transfertodo.pl, removing the old script
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:25:11 -05:00
Paul POULAIN
3545d308b1 cleaning misc/amazonratings directory : it is included in amazon api, and no more usefull
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:25:11 -05:00
Paul POULAIN
b014548175 fixing dirty bug : ccl.properties is case sensitive. CountAuthority failed, and thus authority search failed also...
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:25:09 -05:00
thd
8bbf10efdb Readding file to HEAD. 2007-08-04 23:21:50 +00:00
tipaul
1399945a75 eval() on getAuthority & getBiblio to avoid a script failure 2007-08-01 09:20:03 +00:00
toins
5ba6c440d3 adding an eval to prevent an execption when getting marc biblio 2007-07-20 08:34:58 +00:00
hdl
49a9e030bf Adding onloan field facility for zebra and unimarc biblios following the 995 recommandation 2007-07-19 16:01:39 +00:00
toins
5e7b171686 adding an eval to don't die if an error occurs 2007-07-19 09:48:22 +00:00
thd
61be1adc02 Added missing initial NULL values for marc_subfield_structure.defaultvalue. 2007-07-18 20:15:26 +00:00
toins
cc7c0c66fb optimisation + encoding set.
FIXME : unimarc hard coded.
2007-07-12 15:33:31 +00:00
kados
4af7e13c70 Cleaning up perldocs for make utility that MJ wrote. I was getting a bunch
of warnings:

Manifying blib/man3/reports::cat_issues_top.3pm
reports/cat_issues_top.pl:40: Unknown command paragraph "=over2"
Manifying blib/man3/reports::acquisitions_stats.3pm
reports/acquisitions_stats.pl:40: Unknown command paragraph "=over2"
Manifying blib/man3/C4::Koha.3pm
C4/Koha.pm:1227: Unmatched =back
Manifying blib/man3/reports::catalogue_stats.3pm
reports/catalogue_stats.pl:38: Unknown command paragraph "=over2"
Manifying blib/man3/opac::opac-topissues.3pm
opac/opac-topissues.pl:39: Unknown command paragraph "=over2"
Manifying blib/man3/reports::issues_avg_stats.3pm
reports/issues_avg_stats.pl:39: Unknown command paragraph "=over2"
Manifying blib/man3/reports::borrowers_stats.3pm
reports/borrowers_stats.pl:40: Unknown command paragraph "=over2"
Manifying blib/man3/reports::bor_issues_top.3pm
reports/bor_issues_top.pl:40: Unknown command paragraph "=over2"
Manifying blib/man3/reports::catalogue_out.3pm
reports/catalogue_out.pl:39: Unknown command paragraph "=over2"
Manifying blib/man3/reports::borrowers_out.3pm
reports/borrowers_out.pl:39: Unknown command paragraph "=over2"
Manifying blib/man3/C4::Languages.3pm
C4/Languages.pm:445: Unmatched =back
Manifying blib/man3/reports::issues_stats.3pm
reports/issues_stats.pl:39: Unknown command paragraph "=over2"
Manifying blib/man3/C4::Acquisition.3pm
C4/Acquisition.pm:772: Unmatched =back
2007-07-08 15:36:59 +00:00
kados
b695a10ea0 Type on the reference to the NISO standard for holdings,
it's Z39.71 not Z39.77

Thanks Jaron for pointing it out
2007-07-05 17:35:08 +00:00
kados
8338e28f2a fix for bug 1369: sql-datas dir, pick a naming convention, remove the rest
Removing 'french' and 'english' directories as they're unnecessary
2007-07-03 16:20:02 +00:00
kados
8baea13bf1 Turn off foreign key check for the installation 2007-07-03 15:58:29 +00:00
tipaul
dd992ca4fe french translations 2007-07-02 09:15:40 +00:00
tipaul
e1000b9533 removing koha.mysql. the DB structure is now in $KOHA/installer/kohastructure.sql 2007-06-26 13:25:13 +00:00
tipaul
9b05e0f475 Koha-Auth-Number declaration was missing : jumping from biblio to authority was not working 2007-06-26 09:17:17 +00:00
tipaul
93e1d66f3c french updated 2007-06-25 15:03:03 +00:00
toins
3426caa6d6 don't escape '-' in regexp. 2007-06-25 09:37:26 +00:00
toins
9cde768369 oups... It can be more than one ISBN.... fixed now. 2007-06-19 15:58:23 +00:00
toins
ff4e86d098 New script:
This script allows you to update your database/records after a bulkmarckimport integration.
Currectly it reformats biblioitems.isbn and bibliotitems.marcxml on deleting any '-' on isbn.
2007-06-18 13:29:38 +00:00
rangi
77618f43cf Finishing up the last of the tests 2007-06-18 03:20:19 +00:00
rangi
f30d3c79e3 Continuing on my tests mission 2007-06-18 01:58:24 +00:00
rangi
ccc8db346d More test files 2007-06-18 01:34:50 +00:00
rangi
07b3e3c952 Continuing to add tests 2007-06-18 00:51:10 +00:00
rangi
3e275d1217 Simple compile only test for C4::Amazon
Needs tests written for the 2 functions in it.
2007-06-17 23:44:04 +00:00
rangi
07902f96e8 Working on unit tests 2007-06-17 23:35:36 +00:00
tipaul
23427c51b9 some fixes (and only fixes) 2007-06-15 13:44:44 +00:00
toins
6dfb0dca36 next if there is an error getting the biblio. 2007-06-11 15:22:59 +00:00
toins
4728830e34 it's faster to 'truncate' instead of using 'delete from'... 2007-06-08 09:41:14 +00:00
tipaul
5dd3f0229a bugfixes (various), handling utf-8 without guessencoding (as suggested by joshua, fixing some zebra config files -for french but should be interesting for other languages- 2007-06-06 13:08:35 +00:00
tipaul
b3fcbc99b4 french translation updated 2007-06-05 08:53:44 +00:00
tipaul
1e2d7c8b5a cleaning duplicate entries in top menus & fixing a bug in "branch" index (zebra) & updated french translation 2007-05-30 09:33:18 +00:00
tipaul
a04f92a30a some minor bugfixes, templates improvements & zebra default config file changes 2007-05-29 16:36:11 +00:00
tipaul
c8c6012195 merging opac details only for items with the same branch+location+itemcallnumber && putting publisher before publicationyear && lowering item column size in result page && fixing a missing branch reference in ccl.properties 2007-05-28 16:28:43 +00:00
tipaul
28f3c54914 fixing bug for authorities zebraqueue reindexing 2007-05-28 16:26:44 +00:00
tipaul
29ac21862a updated french translation + improved & fixed default zebra config files 2007-05-25 16:27:58 +00:00
btoumi
68bcf35387 delete space in beggining of the script to accept script launch 2007-05-25 10:00:54 +00:00
tipaul
0569dccd5f some changes to default zebra config for better searches 2007-05-25 09:34:30 +00:00
tipaul
651b075197 small script to check XML parser. Remember that PurePerl Parser is buggued and can t handle utf8 correctly 2007-05-25 09:33:58 +00:00
tipaul
67d1dcf1f7 various bugfixes (minor) and french translation updated 2007-05-23 16:19:40 +00:00
hdl
753a941de6 GetMarcStructure signature change. 2007-05-22 15:13:44 +00:00
hdl
bcef017e9b Adding some indexes.
Especially date Of Publication.
To be added in advsearch.tmpl
2007-05-22 15:13:03 +00:00
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 modifes 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
hdl
ba75097550 A new overduenotice script to go along with overduerules
it is still UNDER CONSTRUCTION and need deep testing.
2006-02-28 17:20:29 +00:00
kados
44b4d37b54 removed Zconns, no need for them anymore with new Context.pm setup 2006-02-27 01:06:30 +00:00
kados
fafe0896d6 minor bugfix with 'commit' option 2006-02-25 23:40:59 +00:00
kados
e433decc56 adding support for ISBN search in collection.abs 2006-02-25 22:01:20 +00:00
kados
77abbe2caf A bulkmarcimport.pl that is based on the new Biblio.pm Zebra routines.
It now responds to:

-n : the number of records to import.
-commit : the number of records to wait before performing a 'commit' operation

ALSO: IMPORTANT: I took out the char_encoding as this should be handled by
MARC::File::XML now, unless I'm mistaken.
2006-02-25 21:53:48 +00:00
kados
c9afa0e243 Enable shadow registers in zebra.cfg 2006-02-25 19:00:28 +00:00
rangi
e18c22dd80 This probably will be the same file as the one in unimarc, so perhaps might be best to move them out and just into the zebra dir.
Committing now so its not lost
2006-02-21 00:10:16 +00:00
rangi
6edaf7bbe7 get_record works now 2006-02-21 00:08:41 +00:00
kados
a1d59e6633 New MARC21 collection.abs based on marc21.abs 2006-02-16 00:46:10 +00:00
kados
1f2014e73f Fixing zebra.cfg for usmarc 2006-02-14 22:49:44 +00:00
kados
2017a41f0b adding some config stuff for usmarc 2006-02-14 22:49:08 +00:00
tipaul
f74823bf1b OK, this time it seems to work. The last blocking problem was... a space in
recordId: (bib1,Identifier-standard) just after the comma. Adam agreed it was a bug, and it should be solved soon. But now we are aware, we can avoid putting the space !

In this commit you have all what is needed to setup a working zebra DB in Unimarc :
* collection.abs is UNIMARC specific and must be rewritten for MARC21, in marc21 directory
* pdf.properties is to be copied unmodified in the marc21 directory (can also be put somewhere else)
* rebuild_zebra.pl is SLOW, but 1 step reindexing tool, using ZOOM
* rebuild_zebra_idx is FAST, but 2 step reindexing tool, and does not use zebra. run it, it will create all biblios XML files in /zebra/biblios directory, then zebraidx update biblios in your zebra directory
* zebra.cfg is the zebra config file ;-)
* test_cql2rpn.pl is a script that will query the database and show the results. Works for me, just change the query at the beginning to get answers you expect.

What has to be done :
* benchmarking : it seems the zebraidx update is faster than lightning (400biblios/sec : 10 000biblios in 25seconds), while ZOOM indexing is slow (something like 25biblios/second) More benchmarking could be done.
* completing collection.abs for UNIMARC. I'll take care of it.
* modifying Biblio.pm to use ZOOM instead of the "zebraidx through exec" running actually. I'll take care of it also.
* modify the search API & tools & screens. I'll let the ball to someone else (chris ?) for this. I agree SearchMarc.pm can be dropped and replaced by something else (maybe a new-and-clean Search.pm package)
2006-02-09 10:59:34 +00:00
tipaul
369ee65d94 new version of rebuild_zebra. Should work with Perl-ZOOM, but DOES NOT WORK for me.
I get  :
ZOOM error 10002 "Encoding failed" from diag-set 'ZOOM'

help expected from indexdata...
2006-01-10 17:03:32 +00:00
tipaul
d8e4043f88 some modifs in zebra unimarc config files 2006-01-10 17:01:55 +00:00
tipaul
d5938493d7 synch'ing head and rel_2_2 (from 2.2.5, including npl templates)
Seems not to break too many things, but i'm probably wrong here.
at least, new features/bugfixes from 2.2.5 are here (tested on some features on my head local copy)

- removing useless directories (koha-html and koha-plucene)
2006-01-06 16:39:37 +00:00
kados
8b2316640b Fixed wrong path for tab file. 2005-12-11 04:09:56 +00:00
kados
efbd8b407c Fixing wrong mapping for biblionumber should be 090$c not 090$9 2005-12-11 04:09:29 +00:00
kados
67134b5feb Adding usmarc zebra configuration files. 2005-12-11 00:57:08 +00:00
tipaul
e82eca42c9 see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...) 2005-09-22 10:01:45 +00:00
tipaul
11337d7ef4 minor change in UNIMARC zebra.cfg 2005-08-12 13:58:08 +00:00
tipaul
dba37f38e7 This script can be use to rebuild the zebra DB. It stores all koha MARC records in iso2709, in the bilbios directory. After that, you just have to "zebraidx update biblios"
I tried on a 9900 DB, here are the results :

[paul@bureau migration_tools]$ ./rebuild_zebra.pl -c
9900
9903 MARC record done in 37.9104120731354 seconds

[paul@bureau zebra]$ zebraidx update biblios
<snip>
18:31:24-11/08 zebraidx(20348) [log] Iterations . . . 144575
18:31:24-11/08 zebraidx(20348) [log] Distinct words .  39891
18:31:24-11/08 zebraidx(20348) [log] Updates. . . . .     46
18:31:24-11/08 zebraidx(20348) [log] Deletions. . . .      2
18:31:24-11/08 zebraidx(20348) [log] Insertions . . .  39843
18:31:24-11/08 zebraidx(20348) [log] zebra_register_close p=0x8104cf8
18:31:25-11/08 zebraidx(20348) [log] Records:    9887 i/u/d 9881/6/0
18:31:25-11/08 zebraidx(20348) [log] user/system: 531/145
18:31:25-11/08 zebraidx(20348) [log] zebra_stop
18:31:25-11/08 zebraidx(20348) [log] zebraidx times: 11.33  5.31  1.45
2005-08-11 16:35:54 +00:00
tipaul
9a508fe3df Playing with the zebra...
* go to koha cvs home directory
* in misc/zebra there is a unimarc directory. I suggest that marc21 libraries create a marc21 directory
* put your zebra.cfg files here & create your database.
* from koha cvs home directory, ln -s misc/zebra/marc21 zebra (I mean create a symbolic link to YOUR zebra directory)
* now, everytime you add/modify a biblio/item your zebra DB is updated correctly.

NOTE :
* this uses a system call in perl. CPU consumming, but we are waiting for indexdata Perl/zoom
* deletion still not work
* UNIMARC zebra config files are provided in misc/zebra/unimarc directory. The most important line being :
in zebra.cfg :
recordId: (bib1,Local-number)
storeKeys:1

in .abs file :
elm 090            Local-number            -
elm 090/?          Local-number            -
elm 090/?/9        Local-number            !:w

(090$9 being the field mapped to biblio.biblionumber in Koha)
2005-08-11 16:12:47 +00:00
tipaul
c52e5b61dd synch'ing 2.2 and head 2005-08-04 14:10:52 +00:00
tipaul
86438403bd some parameter files for zebra for UNIMARC. Just for testing & sharing purposes for instance. 2005-06-27 13:13:17 +00:00
slef
30a17190d9 perldoc and prototype updates 2005-06-24 12:19:34 +00:00
tipaul
6b0ee5525b synch'ing 2.2 and head 2005-06-20 14:10:00 +00:00
tipaul
4cdb643e3e new version, doing tag by tag. Should be slower, but requires a lot less memory 2005-06-01 18:55:08 +00:00
tipaul
b79bc88f4b new version, doing tag by tag. Should be slower, but requires a lot less memory 2005-06-01 18:47:38 +00:00
slef
113a1f8f50 possible fix for shell characters in kohaadmin user and database names 2005-05-27 13:33:42 +00:00
tipaul
41c209a4bd proof of concept for inverted index tables for search
how it works :
* create the table marc_Tword with the following structure :
CREATE TABLE `marc_Tword` (
  `word` varchar(80) NOT NULL default '',
  `usedin` text NOT NULL,
  `tagsubfield` varchar(4) NOT NULL default '',
  PRIMARY KEY  (`word`,`tagsubfield`)
) TYPE=MyISAM;
* open a console & type export PERL5LIB & export KOHA_CONF as usual.
* fill this table with misc/build_marc_Tword.pl. Warning, this script uses a very very consumming but very fast method to fill the table : it does everything in memory, then write everything. Another method is provided (& commented), but it's 100x times slower (really !)
* open opac-search.pl and replace use C4::SearchMarc; by use C4::SearchMarcTest; as the API hasn't changed, it will work immediatly.
* go to opac-search (advanced search) & search whatever you want. Should work fine.

LIMITS :
* build_marc_Tword has problem with extended chars (accented ones mainly). So don't be afraid if you get sql errors. They are not a problem for a POC
* search works always order by title, whatever you choose.
* search works only search WORDA and WOARDB, not yet WORDA or WORDB or WORDA except WORDB.
2005-05-27 09:30:23 +00:00
tipaul
9d21434743 changing dewey to varchar 2005-05-06 15:56:06 +00:00
joshferraro
fd9122cdba produces a comma separated list of currently available reserves, with item and borrower details.
NOTE: it's NPL-specific because of hardcoded branch info -- this could be
fixed with a query for branches.
2005-05-04 14:01:45 +00:00
joshferraro
ce775cce9c Fixes priority of reserves it also e-mails a list of 'problem' reserves to me at the library 2005-05-04 13:58:35 +00:00
joshferraro
82b9f92bd9 set itemlost status to '2' ("long overdue") on items more than 90 days overdue. 2005-05-04 13:54:01 +00:00
joshferraro
8810f62ad4 Changed the status of a Juvinile patron to Adult on his/her 18th birthday 2005-05-04 13:52:03 +00:00
joshferraro
effd10ecdf Minor change to generalize the script 2005-05-04 13:45:18 +00:00
joshferraro
0bd7d912b8 Files relevant to LibLime's spellcheck and suggest features are placed
in this directory.
2005-05-04 13:41:36 +00:00
tipaul
64cd740d2b synch'ing 2.2 and head 2005-05-04 08:58:30 +00:00
tipaul
93ff09d081 merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
acli
0fbc036392 Some changes from rel_2_2:
Make the generated pot file (i.e., result of "create") look more "real",
but using msgmerge to reformat the output

Script failed to create intermediate directories if the directory of the
target does not exist and the parent of that directory does not exist
either. This should fix that.
2005-02-04 03:49:33 +00:00
tipaul
0eb7623640 *** empty log message *** 2005-01-05 14:41:49 +00:00
tipaul
056c211411 minor update just before releasing official 2.2.0 2005-01-05 14:31:06 +00:00
tipaul
8664309215 updating doc & adding a script to rebuild officially supported languages 2005-01-03 16:30:13 +00:00
tipaul
ae197cb5dd removing .po in the wrong place (is in po/ now) 2005-01-03 16:12:28 +00:00
tipaul
51e204fa23 moving bulkmarcimport script to migration_tools directory 2005-01-03 15:25:50 +00:00
tipaul
cd6f87a689 Auto-build LANG authorized values 2005-01-03 12:59:49 +00:00
tipaul
453a01a391 adding an index 2005-01-03 12:55:22 +00:00
tipaul
f02a496ab0 * rolling back lock_tables_privs = 'Y' during install stage (too many problems) The option is shown in bulkmacimport instead. 2005-01-03 11:11:10 +00:00
acli
2dfe2c917a *** empty log message *** 2004-12-30 10:29:28 +00:00
acli
6fe93e5363 *** empty log message *** 2004-12-30 09:37:19 +00:00
acli
80dbe83160 Preliminary, incomplete update 2004-12-30 09:20:41 +00:00
acli
b8604171cb Some progress 2004-12-30 08:01:43 +00:00
acli
f04e3656d2 Oops, specified the wrong English template directory
The css translation file is only about 33% done.
2004-12-30 07:15:53 +00:00
acli
2cce962b98 Preliminary update (based on old default_opac_zh_TW.po file) 2004-12-30 07:05:04 +00:00
acli
78c09f8e7b Recommend relative paths for English template location, to make PO files
somewhat easier to read
2004-12-30 06:58:19 +00:00
acli
5c84b3411e Minor documentation correction 2004-12-30 06:53:13 +00:00
acli
52e5918b91 Minor documentation updates 2004-12-30 06:48:19 +00:00
acli
9638aa4638 Moved the old po files to the new standard location 2004-12-30 06:17:21 +00:00
tipaul
35d533a7f0 fix for http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=874
Installer Should ask for apache group

No need to ask, just use a getgrnam() ;-)
2004-12-15 14:39:21 +00:00
tipaul
ad32053d26 set lock_tables_privs = 'Y' during install stage 2004-12-15 13:27:48 +00:00
tipaul
1b576fae1c fix following Klaus Weidenbach mail, to backup in manually entered directory. 2004-12-08 15:37:26 +00:00
tipaul
cef8798f7c *** empty log message *** 2004-12-08 10:37:19 +00:00
tipaul
ee11fc4616 text_extract is deprecated. Replaced by text_extract3 2004-12-08 10:36:53 +00:00
tipaul
eb25e7e691 translations updates 2004-12-08 10:36:03 +00:00
tipaul
3f0d06fbcd defaulting variables to avoir Perl warnings 2004-12-08 10:28:42 +00:00
tipaul
97d603a706 modified french translation 2004-11-24 20:38:30 +00:00
tipaul
52cad99cb9 moving stopwords into sql-datas. Now, they can be accessed during install 2004-11-24 16:05:33 +00:00
tipaul
62fd54745e fix suggested by Slef 2004-11-23 16:02:32 +00:00
tipaul
23fa406ed6 fix for #862 : Upgrade does not work (from 2.2RC1 to 2.2RC2) 2004-11-23 12:27:39 +00:00
tipaul
fa603ebde9 release notes 2004-11-16 13:38:43 +00:00
tipaul
92a3491b7d sql datas for authorities 2004-11-16 13:38:11 +00:00
tipaul
d2461f10de bugfixes in installer 2004-11-16 13:04:18 +00:00
tipaul
a1787654c0 updated french frameworks 2004-11-15 11:05:55 +00:00
tipaul
d2beab17b1 french opac (definitive version) and french intranet (some tuning still needed) 2004-11-15 11:02:43 +00:00
tipaul
7866825377 useless, translation is now done through tmpl_process3.pl, that generates.pl files 2004-11-15 11:01:28 +00:00
tipaul
531a7472af koha 2.2 DB structure (final ? I hope...) 2004-11-12 16:39:48 +00:00
tipaul
a159a488f3 testing PDF::API2 and removing mandatory test of Net::LDAP 2004-11-02 18:03:15 +00:00
tipaul
ce4d2c7cbf adding .po files in english for translators (for 2.2 translation) 2004-10-05 19:38:38 +00:00
tipaul
f2ef101936 Bugfix for the the problem of duplicate items : the record contains biblio & items.
The biblio & the items are separated.
The bug was that the item was still in the biblio (thus being added twice : as "biblio" and as "item")

thanks to dana for pointing the bug.
2004-09-28 15:25:29 +00:00
tipaul
b7e7625ccb fixing a major bug in rebuildnonmarc (calculation of itemnumber was wrong & caused SQL bugs everywhere)
improving performance by not rewritting the MARC DB, it's useless
2004-09-23 16:23:55 +00:00
tipaul
279b390887 adding release notes for history 2004-09-23 16:19:45 +00:00
tipaul
f34eaffa70 update of french UNIMARC datas 2004-09-20 13:20:01 +00:00
tipaul
9fa18db1ed fix for DB (installer) 2004-09-13 15:33:43 +00:00
tipaul
6615c0098b po for french OPAC 2004-09-02 16:42:22 +00:00
tipaul
126681c4c1 little tool to analyse the marc parameters.
run without arguments to know what it does.
export PERL5LIB (& export KOHA_CONF if not /etc/koha.conf) as usual
2004-09-02 16:34:04 +00:00
shedges
5246492046 Added MARC21 authority tag and subfield structure. 2004-08-22 00:45:58 +00:00
tipaul
9aa13fbda9 default framework for authorities in UNIMARC (french language) 2004-08-18 16:00:02 +00:00
tipaul
48ff16eabd commiting release notes for 2.1.0 (late...) 2004-08-18 15:59:15 +00:00
tipaul
37d454a82a adding frameworkcode to API in some subs 2004-08-13 16:37:25 +00:00
tipaul
78ac1e13ea useless file (use tmpl_process3.pl instead & files in po directory) 2004-08-12 14:48:58 +00:00
tipaul
10032f8af6 moving translation files to a .po directory 2004-08-12 14:43:54 +00:00
tipaul
cfc3a22d9f indentations modifs 2004-07-15 09:51:26 +00:00
tipaul
24313714e3 MARC structure updated for 2.1.0 2004-06-29 15:59:36 +00:00
tipaul
ff9e881af3 moving release notes to specific directory 2004-06-29 11:52:51 +00:00
tipaul
43874d7276 files in french/unimarc to be selected by the user during installation. 2004-06-29 08:37:01 +00:00
tipaul
39203f3c71 moved to "french" directory 2004-06-29 08:35:25 +00:00
tipaul
d1037dda96 Adding "directory-select" feature to the "select sql file to insert to your DB". 2004-06-29 08:34:05 +00:00
tipaul
635618b2f2 uninstaller 2004-06-22 15:33:06 +00:00
tipaul
897f959bda adding new feature to installer :
the user can select sql-datas to add to it's DB
can be populated by any SQL
french UNIMARC sample being added really soon
- framework for monography
- framework for URL
- framework for ...
- Personal UNIMARC autority
...
2004-06-22 15:32:43 +00:00
tipaul
19bbe6a37e adding auto-install option.
run ./installer -i /path/to/install_file
2004-06-22 11:33:47 +00:00
tipaul
1dcbbce170 * uninstaller.pl to uninstall Koha
* -i auto_install_file to install without questions (useful for developper)
2004-06-21 17:13:32 +00:00
tipaul
b1d362a277 koha.mysql in 2.0 by default. Cleaning of updatedatabase should be the next thing to do
upgrade will ONLY be from 2.0 to 2.2
thus, users in 1.2 should upgrade to 2.0, then 2.2
2004-06-21 17:10:51 +00:00
tipaul
7d1b435d42 importing iso2709 authority file 2004-06-21 07:51:41 +00:00
joshferraro
1b33f5f63a This script builds a new marc_word
table with a reduced number of tags (only those
tags that should be searched) allowing for
faster and more accurate searching when used
with the SearchMarc routines.  Make sure that
the MARCaddword routine in Biblio.pm will index
characters >= 1 char; otherwise, searches like
"O'brian, Patrick" will fail as the search
routines will seperate that query into "o",
"brian", and "patrick".  (If "o" is not in the
database the search will fail)
2004-06-11 15:07:48 +00:00
kb2qzv
52f48ea4b4 minor update. 2004-05-04 19:30:07 +00:00
kb2qzv
3aa0b04399 minor update. 2004-05-01 14:34:54 +00:00
kb2qzv
d477335f7c minor update of translation, removal of fuzzies 2004-04-17 16:26:24 +00:00
tipaul
4cbdd6d405 adding -w parameter to have warnings 2004-04-14 19:48:13 +00:00
acli
c9008d810f Correction from Arthur 2004-04-01 04:03:45 +00:00
acli
f3d52458a0 Various corrections & updates 2004-03-28 08:54:32 +00:00
acli
b0feb8e92e Some corrections and new translations 2004-03-28 07:29:12 +00:00
acli
475839bb06 Minor consistency changes 2004-03-21 03:19:49 +00:00
acli
a97c7e81c6 New strings 2004-03-21 03:06:32 +00:00
acli
c85fb728dc Various corrections 2004-03-20 08:42:27 +00:00
acli
7969fc1c4f Oops, wrong dialect 2004-03-20 06:49:24 +00:00
kb2qzv
f4c8f892c4 translated, after having run "update". 2004-03-16 19:24:49 +00:00
acli
8f40eaa445 Workaround for strange label. Didn't realize this happens in the OPAC too. 2004-03-16 06:42:18 +00:00
acli
2c12fbcddf Forgot about this change from Arthur 2004-03-16 06:32:02 +00:00
acli
6829211a9d Minor updates 2004-03-16 06:00:00 +00:00
acli
f973e2a7ac Some more corrections, some from Arthur 2004-03-16 05:53:44 +00:00
acli
9cb14c3ac7 Various corrections, mostly from Arthur 2004-03-12 05:42:34 +00:00
acli
2fa6629bf4 Minor corrections 2004-03-12 02:50:35 +00:00
acli
fc4a43fcd0 Make the page headings translatable while trying not to break old templates 2004-03-11 05:42:55 +00:00
kb2qzv
9154c58594 minor update. 2004-03-10 19:29:24 +00:00
acli
a4e62f9d84 Missed a couple 2004-03-10 08:25:07 +00:00
acli
ac591883ca Interim updates due to the Javascript changes 2004-03-10 08:09:02 +00:00
acli
2d132d2b6b Added hack to extract and translate strings inside JavaScript CDATA blocks,
using C-like _("some translatable string") notation. English templates will
need to be modified.
2004-03-10 07:00:27 +00:00
acli
424149c742 Interim update 2004-03-10 03:09:22 +00:00
kb2qzv
327be56936 header update. 2004-03-08 16:31:13 +00:00
kb2qzv
d508695d81 Updates due to Ambrose's improvements to the translation tool.
These are now ready for rel_2_0.
2004-03-08 15:58:24 +00:00
acli
8e43a8c326 Updates due to bug fixes to the translation tool just committed 2004-03-08 05:41:55 +00:00
acli
507773d963 Sorry, forgot to take out debugging code before committing 2004-03-08 05:00:42 +00:00
acli
db1660f512 Fixed some bugs which caused some context to be not recognized, and some
spurious context to be recognized.  In particular, the bugs fixed are:

1. Failure to recognize INPUT element at the end, e.g., if the input has
   the form "Item number:%S", then the pattern was recognized as only
   "Item number".

2. Failure to remove matching <foo></foo> tags if the pattern contains
   INPUT or TMPL_VAR; e.g., if the input has the form "<h1>%s %s</h1>",
   the form would not be simplified to "%s %s".

Unfortunately, fixing these 2 bugs will cause about 40 fuzzies to appear.
2004-03-08 04:59:38 +00:00
kb2qzv
5dba7d6dbd Version 2.0 ready. Corrections are needed since there's no proofreading performed.
Niech ktos pomoze.
2004-03-08 00:04:52 +00:00
kb2qzv
ff5c653bfa 107 more strings to translate and I'll be finished. No proofreading though, yet. 2004-03-07 22:59:31 +00:00