kados [Sun, 26 Feb 2006 00:12:51 +0000 (00:12 +0000)]
Don't need those $Zconn's after all.
kados [Sun, 26 Feb 2006 00:08:20 +0000 (00:08 +0000)]
moving all $Zconn s to z3950_extended_services (currently, nothing
works).
kados [Sat, 25 Feb 2006 23:40:59 +0000 (23:40 +0000)]
minor bugfix with 'commit' option
kados [Sat, 25 Feb 2006 22:51:32 +0000 (22:51 +0000)]
Adding support for new Zconn object from C4::Context.pm
kados [Sat, 25 Feb 2006 22:47:37 +0000 (22:47 +0000)]
Changed to use new Zconn object in Context.pm. Not sure if the Zconn
should be set within the subroutine or should be passed in via the
script -- Chris, what do you think?
kados [Sat, 25 Feb 2006 22:39:10 +0000 (22:39 +0000)]
Another purely documentation commit. Just changing formatting to ease
readability.
kados [Sat, 25 Feb 2006 22:01:20 +0000 (22:01 +0000)]
adding support for ISBN search in collection.abs
kados [Sat, 25 Feb 2006 21:53:48 +0000 (21:53 +0000)]
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.
kados [Sat, 25 Feb 2006 21:17:20 +0000 (21:17 +0000)]
Purely documentation change: converted all =head2 entries to use function
name as title rather than usage as title
kados [Sat, 25 Feb 2006 21:02:20 +0000 (21:02 +0000)]
Further cleanup, convering new routines to 4-chars
kados [Sat, 25 Feb 2006 20:49:15 +0000 (20:49 +0000)]
Better documentation, added warning if serviceType is 'drop' since it's
not supported in Zebra.
kados [Sat, 25 Feb 2006 20:30:32 +0000 (20:30 +0000)]
IMPORTANT: Paul, I've removed the decode_char routine because it's no
longer necessary. If we need to convert from MARC-8 for display, we should:
1. use utf-8
2. do it with MARC::Charset
If you still need it, let me know and I'll put it back in.
kados [Sat, 25 Feb 2006 19:23:01 +0000 (19:23 +0000)]
cleaning up POD docs, deleting zebra_create as it's no longer used (
replaced by z3950_extended_services).
kados [Sat, 25 Feb 2006 19:09:59 +0000 (19:09 +0000)]
readding some lost subs
kados [Sat, 25 Feb 2006 19:00:28 +0000 (19:00 +0000)]
Enable shadow registers in zebra.cfg
kados [Sat, 25 Feb 2006 07:43:49 +0000 (07:43 +0000)]
Reverting to last version because the fix I committed breaks tag
repeatability. Note that there is still a problem with the Koha
MARC editor saving blank tags and subfields in a record!
hdl [Fri, 24 Feb 2006 13:22:22 +0000 (13:22 +0000)]
Bug fixing : Modifying template adapting for prog template format
hdl [Fri, 24 Feb 2006 12:02:42 +0000 (12:02 +0000)]
export.tmpl was not the good one. :)
hdl [Fri, 24 Feb 2006 11:55:40 +0000 (11:55 +0000)]
changing file according to new directory hierarchy
hdl [Fri, 24 Feb 2006 11:52:38 +0000 (11:52 +0000)]
Adding tools directory template and scripts
Changing barcodes, export and import and letters directory.
Changing export script name (marc.pl) to export.pl
Changing import script name (breeding.pl) to import.pl
hdl [Fri, 24 Feb 2006 11:22:37 +0000 (11:22 +0000)]
pruning files from old directory
hdl [Fri, 24 Feb 2006 11:18:17 +0000 (11:18 +0000)]
Adding admin template files
hdl [Fri, 24 Feb 2006 11:15:01 +0000 (11:15 +0000)]
changing parameters template directory to admin
bob_lyon [Thu, 23 Feb 2006 03:56:09 +0000 (03:56 +0000)]
Using 'loggedinusername' variable to populate hidden field user
kados [Wed, 22 Feb 2006 01:02:39 +0000 (01:02 +0000)]
Replacing all calls to zebra_update with calls to
z3950_extended_services. More work coming, but it's
working now.
kados [Wed, 22 Feb 2006 00:56:59 +0000 (00:56 +0000)]
First go at a connection object for Zebra. You can now get a
connection object by doing:
my $Zconn = C4::Context->Zconn;
My initial tests indicate that as soon as your funcion ends
(ie, when you're done doing something) the connection will be
closed automatically. There may be some other way to make the
connection more stateful, I'm not sure...
rangi [Tue, 21 Feb 2006 00:12:26 +0000 (00:12 +0000)]
Using get_record() from Search.pm
Not ready for production, its just set to always use the default framework at the moment
rangi [Tue, 21 Feb 2006 00:11:06 +0000 (00:11 +0000)]
Using get_record() from C4::Search now (ie fetching the record from zebra)
rangi [Tue, 21 Feb 2006 00:10:16 +0000 (00:10 +0000)]
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
rangi [Tue, 21 Feb 2006 00:08:41 +0000 (00:08 +0000)]
get_record works now
tipaul [Mon, 20 Feb 2006 14:37:47 +0000 (14:37 +0000)]
adding a link to viewlog.pl (log viewer)
tipaul [Mon, 20 Feb 2006 14:36:16 +0000 (14:36 +0000)]
templates for log viewer
kados [Mon, 20 Feb 2006 14:22:38 +0000 (14:22 +0000)]
typo
kados [Mon, 20 Feb 2006 13:26:11 +0000 (13:26 +0000)]
A new subroutine to handle Z39.50 extended services. You pass it a
connection object, service type, service options, and a record, and
it performs the service and handles any exception found.
thd [Sat, 18 Feb 2006 10:07:29 +0000 (10:07 +0000)]
Fix for refresh error from HDL.
tipaul [Fri, 17 Feb 2006 15:28:55 +0000 (15:28 +0000)]
forcing utf8 communications between perl & apache
tipaul [Fri, 17 Feb 2006 15:25:59 +0000 (15:25 +0000)]
removing set names=UTF8, seems useless. Still investigating mysql-perl-utf8
rangi [Thu, 16 Feb 2006 20:51:07 +0000 (20:51 +0000)]
Little test set up that lets you type cql in which is passed to zebra
install search-test.pl on your opac (or the intranet, if intranet youll need to put the tmpl file in the intranet too)
NOT FOR PRODUCTION, purely for testing
kados [Thu, 16 Feb 2006 20:49:56 +0000 (20:49 +0000)]
destroy a connection after we're done -- we really should just have one
connection object and not destroy it until the whole transaction is
finished -- but this will do for now
rangi [Thu, 16 Feb 2006 19:47:22 +0000 (19:47 +0000)]
Trying to error trap a little more.
thd [Thu, 16 Feb 2006 03:12:15 +0000 (03:12 +0000)]
Quick fix for functional bug in getMARCsubjects to avoid returning values that
vary between different uses of the same authorised subject heading causing
linked subject searches from the detail view to fail. Other presentation fixes
within getMARCsubjects.
kados [Thu, 16 Feb 2006 00:46:10 +0000 (00:46 +0000)]
New MARC21 collection.abs based on marc21.abs
rangi [Wed, 15 Feb 2006 03:16:17 +0000 (03:16 +0000)]
fixing broken link
rangi [Wed, 15 Feb 2006 03:14:53 +0000 (03:14 +0000)]
Can now add an item
rangi [Wed, 15 Feb 2006 02:20:01 +0000 (02:20 +0000)]
Removing reference to acqui.simple
rangi [Wed, 15 Feb 2006 02:18:28 +0000 (02:18 +0000)]
Changing to get the template from the right directory
rangi [Wed, 15 Feb 2006 02:17:56 +0000 (02:17 +0000)]
Putting this in the right place
rangi [Tue, 14 Feb 2006 22:56:41 +0000 (22:56 +0000)]
Back to using xml, a much better idea :)
kados [Tue, 14 Feb 2006 22:49:44 +0000 (22:49 +0000)]
Fixing zebra.cfg for usmarc
kados [Tue, 14 Feb 2006 22:49:08 +0000 (22:49 +0000)]
adding some config stuff for usmarc
kados [Tue, 14 Feb 2006 21:36:03 +0000 (21:36 +0000)]
adding a 'use ZOOM' to biblio.pm, needed for non-mod_perl install.
also adding diagnostic error if not able to connect to Zebra
rangi [Tue, 14 Feb 2006 19:53:25 +0000 (19:53 +0000)]
Just a little missing my
Seems to be working great Paul, and I like what you did with zebradb
tipaul [Tue, 14 Feb 2006 11:25:22 +0000 (11:25 +0000)]
road to 3.0 : updating a biblio in zebra seems to work. Still working on it, there are probably some bugs !
tipaul [Tue, 14 Feb 2006 11:23:38 +0000 (11:23 +0000)]
(chris, read carefully)
Replacing zebraserver and zebraport by zebradb in koha.conf . The zebra connexion can be done in a single variable "server:port/database". I used this in dirty searchMarc.pm as well as in Biblio.pm. I've replaced your code in Search.pm
tipaul [Tue, 14 Feb 2006 10:54:02 +0000 (10:54 +0000)]
fixing bugs for :
* search on 2 words "applied chaos"
* retrieve results when there's only 1 answer
(still dirty & to be rewritten by chris, but it's useful for me)
rangi [Tue, 14 Feb 2006 04:00:23 +0000 (04:00 +0000)]
Work in progress still, committing for testing
rangi [Mon, 13 Feb 2006 23:52:04 +0000 (23:52 +0000)]
Just a little fix while im testing
rangi [Mon, 13 Feb 2006 21:03:21 +0000 (21:03 +0000)]
Start of the complete rewrite of Search.pm
It just does a simple cql search at the moment, takes a hashref of keyed by variable.
I have introduced 2 new variables to koha.conf
zebraserver and zebraport Ill add to the installer to get these set.
Very very very much a work in progress still. Thanks to paul for getting things up to this point.
tipaul [Mon, 13 Feb 2006 16:39:33 +0000 (16:39 +0000)]
adding some templates I forgot to commit (module sub menus)
tipaul [Mon, 13 Feb 2006 16:38:29 +0000 (16:38 +0000)]
some modifs to enable search on old search API with zebra. seems to work, although it is 100% dirty code that should be rewritten by someone (chris ?)
I just hacked this to have a working search to continue working on Biblio.pm & catlaoguing
+code cleaning (using biblionumber standard API name)
tipaul [Mon, 13 Feb 2006 16:37:57 +0000 (16:37 +0000)]
adding detail templates in cvs, in their new catalogue directory
tipaul [Mon, 13 Feb 2006 16:36:48 +0000 (16:36 +0000)]
cleaning code (useless use C4::)
tipaul [Mon, 13 Feb 2006 16:35:37 +0000 (16:35 +0000)]
some modifs to enable search on old search API with zebra. seems to work, although it is 100% dirty code that should be rewritten by someone (chris ?)
I just hacked this to have a working search to continue working on Biblio.pm & catlaoguing
tipaul [Mon, 13 Feb 2006 16:34:26 +0000 (16:34 +0000)]
fixing some warnings (perl -w should be quiet)
rangi [Thu, 9 Feb 2006 21:34:51 +0000 (21:34 +0000)]
Just getting rid of some annoying warnings
tipaul [Thu, 9 Feb 2006 10:59:34 +0000 (10:59 +0000)]
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)
rangi [Thu, 9 Feb 2006 03:26:03 +0000 (03:26 +0000)]
fixing links from acqui.simple to cataloguing
rangi [Thu, 9 Feb 2006 03:20:38 +0000 (03:20 +0000)]
Changing to reflect the fact acqui.simple is now cataloguing
rangi [Thu, 9 Feb 2006 03:12:23 +0000 (03:12 +0000)]
Fixing broken code to show list of branches
rangi [Thu, 9 Feb 2006 01:56:20 +0000 (01:56 +0000)]
Hmm there seem to be quite a few subroutines twice in this module....
Paul could you take a look and remove the ones that shouldnt be there please
rangi [Thu, 9 Feb 2006 01:52:14 +0000 (01:52 +0000)]
Cleaning up some unessecary my statements
rangi [Thu, 9 Feb 2006 01:26:16 +0000 (01:26 +0000)]
Commenting out a line that was preventing the script executing
tipaul [Wed, 25 Jan 2006 15:16:06 +0000 (15:16 +0000)]
updating DB :
* removing useless tables
* adding useful indexes
* altering some columns definitions
* The goal being to have updater working fine for foreign keys.
For me it's done, let me know if it works for you. You can see an updated schema of the DB (with constraints) on the wiki
tipaul [Tue, 24 Jan 2006 17:57:17 +0000 (17:57 +0000)]
DB improvements : adding foreign keys on some tables. partial stuff done.
tipaul [Fri, 20 Jan 2006 16:12:49 +0000 (16:12 +0000)]
just adding menus to the top
tipaul [Fri, 20 Jan 2006 16:04:42 +0000 (16:04 +0000)]
updating prog templates for acqui
tipaul [Thu, 19 Jan 2006 12:50:07 +0000 (12:50 +0000)]
moving serials scripts to serials directory
tipaul [Thu, 19 Jan 2006 12:48:00 +0000 (12:48 +0000)]
moving cataloguing scripts to a cataloguing directory (more logic than acqui.simple !!!) & updating prog templates
tipaul [Thu, 19 Jan 2006 12:46:58 +0000 (12:46 +0000)]
templating serials & moving them to a serials directory, more self-explanatory (bull being french)
tipaul [Wed, 18 Jan 2006 17:23:32 +0000 (17:23 +0000)]
prog templates : completed, fixed & xhtml valid
tipaul [Wed, 18 Jan 2006 15:38:17 +0000 (15:38 +0000)]
prog templates : completed, fixed & xhtml valid
tipaul [Wed, 18 Jan 2006 14:52:07 +0000 (14:52 +0000)]
bugfixes xhtml & prog templates
tipaul [Tue, 17 Jan 2006 16:58:36 +0000 (16:58 +0000)]
removing unused scripts
tipaul [Tue, 17 Jan 2006 16:58:07 +0000 (16:58 +0000)]
moving stats.pl to reports directory
tipaul [Tue, 17 Jan 2006 16:54:54 +0000 (16:54 +0000)]
removing unused script
tipaul [Tue, 17 Jan 2006 16:51:05 +0000 (16:51 +0000)]
moving reserves scripts to reserve directory
tipaul [Tue, 17 Jan 2006 16:50:05 +0000 (16:50 +0000)]
moving readingrec to members directory
tipaul [Tue, 17 Jan 2006 16:49:23 +0000 (16:49 +0000)]
moving moredetail to catalogue directory
tipaul [Tue, 17 Jan 2006 16:48:35 +0000 (16:48 +0000)]
moving overdue report to reports directory
tipaul [Tue, 17 Jan 2006 16:46:25 +0000 (16:46 +0000)]
moving reserves to a reserve directory
tipaul [Tue, 17 Jan 2006 16:43:39 +0000 (16:43 +0000)]
moving report home to reports directory
tipaul [Tue, 17 Jan 2006 16:42:12 +0000 (16:42 +0000)]
moving invoices scripts to members directory
tipaul [Tue, 17 Jan 2006 16:40:54 +0000 (16:40 +0000)]
moving acqui.simple directory to cataloguing, as acqui.simple contains cataloguing scripts...
tipaul [Tue, 17 Jan 2006 16:36:41 +0000 (16:36 +0000)]
removing unused script
tipaul [Tue, 17 Jan 2006 16:34:22 +0000 (16:34 +0000)]
removing website management, that is now useless
tipaul [Tue, 17 Jan 2006 16:33:36 +0000 (16:33 +0000)]
moving detailprint to catalogue directory
tipaul [Tue, 17 Jan 2006 16:32:41 +0000 (16:32 +0000)]
Removing useless scripts : the MARC=OFF scripts are in acqui.simple for instance. Not sure of this removal, reintroduce them if needed...
tipaul [Tue, 17 Jan 2006 16:30:26 +0000 (16:30 +0000)]
removing unused script
tipaul [Tue, 17 Jan 2006 16:29:20 +0000 (16:29 +0000)]
removing catalogue-home, it's useless
tipaul [Tue, 17 Jan 2006 16:23:49 +0000 (16:23 +0000)]
moving bull-home to bull directory