]> git.koha-community.org Git - koha.git/log
koha.git
18 years agoFirst go at a connection object for Zebra. You can now get a
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...

18 years agoUsing get_record() from Search.pm
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

18 years agoUsing get_record() from C4::Search now (ie fetching the record from zebra)
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)

18 years agoThis probably will be the same file as the one in unimarc, so perhaps might be best...
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

18 years agoget_record works now
rangi [Tue, 21 Feb 2006 00:08:41 +0000 (00:08 +0000)]
get_record works now

18 years agoadding a link to viewlog.pl (log viewer)
tipaul [Mon, 20 Feb 2006 14:37:47 +0000 (14:37 +0000)]
adding a link to viewlog.pl (log viewer)

18 years agotemplates for log viewer
tipaul [Mon, 20 Feb 2006 14:36:16 +0000 (14:36 +0000)]
templates for log viewer

18 years agotypo
kados [Mon, 20 Feb 2006 14:22:38 +0000 (14:22 +0000)]
typo

18 years agoA new subroutine to handle Z39.50 extended services. You pass it a
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.

18 years agoFix for refresh error from HDL.
thd [Sat, 18 Feb 2006 10:07:29 +0000 (10:07 +0000)]
Fix for refresh error from HDL.

18 years agoforcing utf8 communications between perl & apache
tipaul [Fri, 17 Feb 2006 15:28:55 +0000 (15:28 +0000)]
forcing utf8 communications between perl & apache

18 years agoremoving set names=UTF8, seems useless. Still investigating mysql-perl-utf8
tipaul [Fri, 17 Feb 2006 15:25:59 +0000 (15:25 +0000)]
removing set names=UTF8, seems useless. Still investigating mysql-perl-utf8

18 years agoLittle test set up that lets you type cql in which is passed to zebra
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

18 years agodestroy a connection after we're done -- we really should just have one
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

18 years agoTrying to error trap a little more.
rangi [Thu, 16 Feb 2006 19:47:22 +0000 (19:47 +0000)]
Trying to error trap a little more.

18 years agoQuick fix for functional bug in getMARCsubjects to avoid returning values that
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.

18 years agoNew MARC21 collection.abs based on marc21.abs
kados [Thu, 16 Feb 2006 00:46:10 +0000 (00:46 +0000)]
New MARC21 collection.abs based on marc21.abs

18 years agofixing broken link
rangi [Wed, 15 Feb 2006 03:16:17 +0000 (03:16 +0000)]
fixing broken link

18 years agoCan now add an item
rangi [Wed, 15 Feb 2006 03:14:53 +0000 (03:14 +0000)]
Can now add an item

18 years agoRemoving reference to acqui.simple
rangi [Wed, 15 Feb 2006 02:20:01 +0000 (02:20 +0000)]
Removing reference to acqui.simple

18 years agoChanging to get the template from the right directory
rangi [Wed, 15 Feb 2006 02:18:28 +0000 (02:18 +0000)]
Changing to get the template from the right directory

18 years agoPutting this in the right place
rangi [Wed, 15 Feb 2006 02:17:56 +0000 (02:17 +0000)]
Putting this in the right place

18 years agoBack to using xml, a much better idea :)
rangi [Tue, 14 Feb 2006 22:56:41 +0000 (22:56 +0000)]
Back to using xml, a much better idea :)

18 years agoFixing zebra.cfg for usmarc
kados [Tue, 14 Feb 2006 22:49:44 +0000 (22:49 +0000)]
Fixing zebra.cfg for usmarc

18 years agoadding some config stuff for usmarc
kados [Tue, 14 Feb 2006 22:49:08 +0000 (22:49 +0000)]
adding some config stuff for usmarc

18 years agoadding a 'use ZOOM' to biblio.pm, needed for non-mod_perl install.
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

18 years agoJust a little missing my
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

18 years agoroad to 3.0 : updating a biblio in zebra seems to work. Still working on it, there...
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 !

18 years ago(chris, read carefully)
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

18 years agofixing bugs for :
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)

18 years agoWork in progress still, committing for testing
rangi [Tue, 14 Feb 2006 04:00:23 +0000 (04:00 +0000)]
Work in progress still, committing for testing

18 years agoJust a little fix while im testing
rangi [Mon, 13 Feb 2006 23:52:04 +0000 (23:52 +0000)]
Just a little fix while im testing

18 years agoStart of the complete rewrite of Search.pm
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.

18 years agoadding some templates I forgot to commit (module sub menus)
tipaul [Mon, 13 Feb 2006 16:39:33 +0000 (16:39 +0000)]
adding some templates I forgot to commit (module sub menus)

18 years agosome modifs to enable search on old search API with zebra. seems to work, although...
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)

18 years agoadding detail templates in cvs, in their new catalogue directory
tipaul [Mon, 13 Feb 2006 16:37:57 +0000 (16:37 +0000)]
adding detail templates in cvs, in their new catalogue directory

18 years agocleaning code (useless use C4::)
tipaul [Mon, 13 Feb 2006 16:36:48 +0000 (16:36 +0000)]
cleaning code (useless use C4::)

18 years agosome modifs to enable search on old search API with zebra. seems to work, although...
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

18 years agofixing some warnings (perl -w should be quiet)
tipaul [Mon, 13 Feb 2006 16:34:26 +0000 (16:34 +0000)]
fixing some warnings (perl -w should be quiet)

18 years agoJust getting rid of some annoying warnings
rangi [Thu, 9 Feb 2006 21:34:51 +0000 (21:34 +0000)]
Just getting rid of some annoying warnings

18 years agoOK, this time it seems to work. The last blocking problem was... a space in
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)

18 years agofixing links from acqui.simple to cataloguing
rangi [Thu, 9 Feb 2006 03:26:03 +0000 (03:26 +0000)]
fixing links from acqui.simple to cataloguing

18 years agoChanging to reflect the fact acqui.simple is now cataloguing
rangi [Thu, 9 Feb 2006 03:20:38 +0000 (03:20 +0000)]
Changing to reflect the fact acqui.simple is now cataloguing

18 years agoFixing broken code to show list of branches
rangi [Thu, 9 Feb 2006 03:12:23 +0000 (03:12 +0000)]
Fixing broken code to show list of branches

18 years agoHmm there seem to be quite a few subroutines twice in this module....
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

18 years agoCleaning up some unessecary my statements
rangi [Thu, 9 Feb 2006 01:52:14 +0000 (01:52 +0000)]
Cleaning up some unessecary my statements

18 years agoCommenting out a line that was preventing the script executing
rangi [Thu, 9 Feb 2006 01:26:16 +0000 (01:26 +0000)]
Commenting out a line that was preventing the script executing

18 years agoupdating DB :
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

18 years agoDB improvements : adding foreign keys on some tables. partial stuff done.
tipaul [Tue, 24 Jan 2006 17:57:17 +0000 (17:57 +0000)]
DB improvements : adding foreign keys on some tables. partial stuff done.

18 years agojust adding menus to the top
tipaul [Fri, 20 Jan 2006 16:12:49 +0000 (16:12 +0000)]
just adding menus to the top

18 years agoupdating prog templates for acqui
tipaul [Fri, 20 Jan 2006 16:04:42 +0000 (16:04 +0000)]
updating prog templates for acqui

18 years agomoving serials scripts to serials directory
tipaul [Thu, 19 Jan 2006 12:50:07 +0000 (12:50 +0000)]
moving serials scripts to serials directory

18 years agomoving cataloguing scripts to a cataloguing directory (more logic than acqui.simple...
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

18 years agotemplating serials & moving them to a serials directory, more self-explanatory (bull...
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)

18 years agoprog templates : completed, fixed & xhtml valid
tipaul [Wed, 18 Jan 2006 17:23:32 +0000 (17:23 +0000)]
prog templates : completed, fixed & xhtml valid

18 years agoprog templates : completed, fixed & xhtml valid
tipaul [Wed, 18 Jan 2006 15:38:17 +0000 (15:38 +0000)]
prog templates : completed, fixed & xhtml valid

18 years agobugfixes xhtml & prog templates
tipaul [Wed, 18 Jan 2006 14:52:07 +0000 (14:52 +0000)]
bugfixes xhtml & prog templates

18 years agoremoving unused scripts
tipaul [Tue, 17 Jan 2006 16:58:36 +0000 (16:58 +0000)]
removing unused scripts

18 years agomoving stats.pl to reports directory
tipaul [Tue, 17 Jan 2006 16:58:07 +0000 (16:58 +0000)]
moving stats.pl to reports directory

18 years agoremoving unused script
tipaul [Tue, 17 Jan 2006 16:54:54 +0000 (16:54 +0000)]
removing unused script

18 years agomoving reserves scripts to reserve directory
tipaul [Tue, 17 Jan 2006 16:51:05 +0000 (16:51 +0000)]
moving reserves scripts to reserve directory

18 years agomoving readingrec to members directory
tipaul [Tue, 17 Jan 2006 16:50:05 +0000 (16:50 +0000)]
moving readingrec to members directory

18 years agomoving moredetail to catalogue directory
tipaul [Tue, 17 Jan 2006 16:49:23 +0000 (16:49 +0000)]
moving moredetail to catalogue directory

18 years agomoving overdue report to reports directory
tipaul [Tue, 17 Jan 2006 16:48:35 +0000 (16:48 +0000)]
moving overdue report to reports directory

18 years agomoving reserves to a reserve directory
tipaul [Tue, 17 Jan 2006 16:46:25 +0000 (16:46 +0000)]
moving reserves to a reserve directory

18 years agomoving report home to reports directory
tipaul [Tue, 17 Jan 2006 16:43:39 +0000 (16:43 +0000)]
moving report home to reports directory

18 years agomoving invoices scripts to members directory
tipaul [Tue, 17 Jan 2006 16:42:12 +0000 (16:42 +0000)]
moving invoices scripts to members directory

18 years agomoving acqui.simple directory to cataloguing, as acqui.simple contains cataloguing...
tipaul [Tue, 17 Jan 2006 16:40:54 +0000 (16:40 +0000)]
moving acqui.simple directory to cataloguing, as acqui.simple contains cataloguing scripts...

18 years agoremoving unused script
tipaul [Tue, 17 Jan 2006 16:36:41 +0000 (16:36 +0000)]
removing unused script

18 years agoremoving website management, that is now useless
tipaul [Tue, 17 Jan 2006 16:34:22 +0000 (16:34 +0000)]
removing website management, that is now useless

18 years agomoving detailprint to catalogue directory
tipaul [Tue, 17 Jan 2006 16:33:36 +0000 (16:33 +0000)]
moving detailprint to catalogue directory

18 years agoRemoving useless scripts : the MARC=OFF scripts are in acqui.simple for instance...
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...

18 years agoremoving unused script
tipaul [Tue, 17 Jan 2006 16:30:26 +0000 (16:30 +0000)]
removing unused script

18 years agoremoving catalogue-home, it's useless
tipaul [Tue, 17 Jan 2006 16:29:20 +0000 (16:29 +0000)]
removing catalogue-home, it's useless

18 years agomoving bull-home to bull directory
tipaul [Tue, 17 Jan 2006 16:23:49 +0000 (16:23 +0000)]
moving bull-home to bull directory

18 years agomoving boraccount.pl to members directory
tipaul [Tue, 17 Jan 2006 16:23:05 +0000 (16:23 +0000)]
moving boraccount.pl to members directory

18 years agoremoving unused script
tipaul [Tue, 17 Jan 2006 16:21:49 +0000 (16:21 +0000)]
removing unused script

18 years agomoving admin-home.pl to admin directory
tipaul [Tue, 17 Jan 2006 16:19:37 +0000 (16:19 +0000)]
moving admin-home.pl to admin directory

18 years agomoving catalogue views to catalogue directory
tipaul [Tue, 17 Jan 2006 16:16:16 +0000 (16:16 +0000)]
moving catalogue views to catalogue directory

18 years agoremoving unused script
tipaul [Tue, 17 Jan 2006 16:15:09 +0000 (16:15 +0000)]
removing unused script

18 years agoremoving useless script
tipaul [Tue, 17 Jan 2006 16:11:55 +0000 (16:11 +0000)]
removing useless script

18 years agoremoving unused package
tipaul [Tue, 17 Jan 2006 16:09:50 +0000 (16:09 +0000)]
removing unused package

18 years agoremoving useless package & script
tipaul [Tue, 17 Jan 2006 16:08:25 +0000 (16:08 +0000)]
removing useless package & script

18 years agoremoving useless package
tipaul [Tue, 17 Jan 2006 16:06:54 +0000 (16:06 +0000)]
removing useless package

18 years agoremoving useless sub
tipaul [Tue, 17 Jan 2006 16:06:43 +0000 (16:06 +0000)]
removing useless sub

18 years agonew version of rebuild_zebra. Should work with Perl-ZOOM, but DOES NOT WORK for me.
tipaul [Tue, 10 Jan 2006 17:03:32 +0000 (17:03 +0000)]
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...

18 years agosome modifs in zebra unimarc config files
tipaul [Tue, 10 Jan 2006 17:01:55 +0000 (17:01 +0000)]
some modifs in zebra unimarc config files

18 years agoadding a XMLgetbiblio in Biblio.pm (1st draft, to use with zebra)
tipaul [Tue, 10 Jan 2006 17:01:29 +0000 (17:01 +0000)]
adding a XMLgetbiblio in Biblio.pm (1st draft, to use with zebra)

18 years agosynch'ing head and rel_2_2 (from 2.2.5, including npl templates)
tipaul [Fri, 6 Jan 2006 16:39:37 +0000 (16:39 +0000)]
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)

18 years agoutf8 is a : go for beta test in HEAD.
tipaul [Wed, 4 Jan 2006 15:54:55 +0000 (15:54 +0000)]
utf8 is a : go for beta test in HEAD.
some explanations :
- updater/updatedatabase => will transform all tables in innoDB (not related to utf8, just to warn you) AND collate them in utf8 / utf8_general_ci. The SQL command is : ALTER TABLE tablename DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci.
- *-top.inc will show the pages in utf8
- THE HARD THING : for me, mysql-client and mysql-server were set up to communicate in iso8859-1, whatever the mysql collation ! Thus, pages were improperly shown, as datas were transmitted in iso8859-1 format ! After a full day of investigation, someone on usenet pointed "set NAMES 'utf8'" to explain that I wanted utf8. I could put this in my.cnf, but if I do that, ALL databases will "speak" in utf8, that's not what we want. Thus, I added a line in Context.pm : everytime a DB handle is opened, the communication is set to utf8.
- using marcxml field and no more the iso2709 raw marc biblioitems.marc field.

18 years agoReverse array filled with elements from repeated subfields
thd [Mon, 12 Dec 2005 14:25:51 +0000 (14:25 +0000)]
Reverse array filled with elements from repeated subfields
to avoid last to first concatenation of elements in Koha DB.-

18 years agoFixed wrong path for tab file.
kados [Sun, 11 Dec 2005 04:09:56 +0000 (04:09 +0000)]
Fixed wrong path for tab file.

18 years agoFixing wrong mapping for biblionumber should be 090$c not 090$9
kados [Sun, 11 Dec 2005 04:09:29 +0000 (04:09 +0000)]
Fixing wrong mapping for biblionumber should be 090$c not 090$9

18 years agoAdding usmarc zebra configuration files.
kados [Sun, 11 Dec 2005 00:57:08 +0000 (00:57 +0000)]
Adding usmarc zebra configuration files.

19 years agocode cleaning : removing useless package (everything needed copied in Accounts2.pm)
tipaul [Thu, 27 Oct 2005 12:10:00 +0000 (12:10 +0000)]
code cleaning : removing useless package (everything needed copied in Accounts2.pm)

19 years agonew features for serial module :
tipaul [Thu, 27 Oct 2005 12:08:44 +0000 (12:08 +0000)]
new features for serial module :
- the last 5 issues are now shown, and their status can be changed (but not reverted to "waited", as there can be only one "waited")
- the library can create a "distribution list". this paper contains a list of borrowers (selected from the borrower list, or manually entered), and print it for a given issue. once printed, the sheet can be put on the issue and distributed to every reader on the list (one by one).

19 years agoroad to normalization : changing API = removing getbranchname, replaced by getbranchd...
tipaul [Thu, 27 Oct 2005 12:05:58 +0000 (12:05 +0000)]
road to normalization : changing API = removing getbranchname, replaced by getbranchdetail (should be getbranch, but this sub already exists and I don't understand what it does...)

19 years agobig commit, still breaking things...
tipaul [Wed, 26 Oct 2005 09:11:02 +0000 (09:11 +0000)]
big commit, still breaking things...

* synch with rel_2_2. Probably the last non manual synch, as rel_2_2 should not be modified deeply.
* code cleaning (cleaning warnings from perl -w) continued

19 years agocode cleaning : removing useless package (everything needed copied in Accounts2.pm)
tipaul [Wed, 26 Oct 2005 08:29:28 +0000 (08:29 +0000)]
code cleaning : removing useless package (everything needed copied in Accounts2.pm)

19 years agoNeglected to add this file previously.
oleonard [Wed, 12 Oct 2005 15:04:45 +0000 (15:04 +0000)]
Neglected to add this file previously.