]> git.koha-community.org Git - koha.git/log
koha.git
18 years agoTweaking searching
rangi [Mon, 6 Mar 2006 04:31:18 +0000 (04:31 +0000)]
Tweaking searching

18 years agofix syntax error.
kados [Mon, 6 Mar 2006 03:50:29 +0000 (03:50 +0000)]
fix syntax error.

18 years agoremove char_decode
kados [Mon, 6 Mar 2006 03:48:20 +0000 (03:48 +0000)]
remove char_decode

18 years agoItems adding correctly now
rangi [Mon, 6 Mar 2006 03:12:38 +0000 (03:12 +0000)]
Items adding correctly now

18 years agoforgot to add 'utf-8' argument to new_from_xml()
kados [Mon, 6 Mar 2006 02:51:04 +0000 (02:51 +0000)]
forgot to add 'utf-8' argument to new_from_xml()

18 years agoAdding fixes to MARC editor to HEAD
kados [Mon, 6 Mar 2006 02:45:41 +0000 (02:45 +0000)]
Adding fixes to MARC editor to HEAD

18 years agoNew programmer templates for the OPAC. Markup has been pared down, but structure...
oleonard [Fri, 3 Mar 2006 20:10:26 +0000 (20:10 +0000)]
New programmer templates for the OPAC. Markup has been pared down, but structure hasn't been updated according to new guidelines put forth by Paul on the mailing list (i.e. named blocks, etc).

18 years agoBug fixing : a line missed a comment sign.
hdl [Fri, 3 Mar 2006 17:25:01 +0000 (17:25 +0000)]
Bug fixing : a line missed a comment sign.

18 years agocommit for holidays and news management.
tipaul [Fri, 3 Mar 2006 17:02:22 +0000 (17:02 +0000)]
commit for holidays and news management.
(some forgotten files)

18 years agoRemove the search that tests the Zconn -- warning, still no fault
kados [Fri, 3 Mar 2006 16:45:36 +0000 (16:45 +0000)]
Remove the search that tests the Zconn -- warning, still no fault
tollerance

18 years agocommit for holidays and news management.
tipaul [Fri, 3 Mar 2006 16:35:21 +0000 (16:35 +0000)]
commit for holidays and news management.

Contrib from Tümer Garip (from Turkey) :
* holiday :
in /tools/ the holiday.pl script let you define holidays (days where the library is closed), branch by branch. You can define 3 types of holidays :
- single day : only this day is closed
- repet weekly (like "sunday") : the day is holiday every week
- repet yearly (like "July, 4") : this day is closed every year.

You can also put exception :
- sunday is holiday, but "2006 March, 5th" the library will be open

The holidays are used for return date calculation : the return date is set to the next date where the library is open. A systempreference (useDaysMode) set ON (Calendar) or OFF (Normal) the calendar calculation.

18 years agobug fixing : making changes for letters and reports-home (Inventory/Stocktaking and...
hdl [Thu, 2 Mar 2006 20:41:30 +0000 (20:41 +0000)]
bug fixing : making changes for letters and reports-home (Inventory/Stocktaking and overdue) work.

18 years agorollback ... by accident I committed a rel_2_2 Biblio.pm
kados [Wed, 1 Mar 2006 03:07:54 +0000 (03:07 +0000)]
rollback ... by accident I committed a rel_2_2 Biblio.pm

18 years agoMARChtml2xml for improved MARC editor
kados [Wed, 1 Mar 2006 02:13:00 +0000 (02:13 +0000)]
MARChtml2xml for improved MARC editor

18 years agoA new overduenotice script to go along with overduerules
hdl [Tue, 28 Feb 2006 17:20:29 +0000 (17:20 +0000)]
A new overduenotice script to go along with overduerules
it is still UNDER CONSTRUCTION and need deep testing.

18 years agoAdding some checking and feedback.
hdl [Tue, 28 Feb 2006 14:58:32 +0000 (14:58 +0000)]
Adding some checking and feedback.

18 years agoNew table used in overduerules.pl tools page.
hdl [Mon, 27 Feb 2006 18:19:33 +0000 (18:19 +0000)]
New table used in overduerules.pl tools page.

18 years agoAdding getletters to Koha.pm :
hdl [Mon, 27 Feb 2006 18:15:41 +0000 (18:15 +0000)]
Adding getletters to Koha.pm :
allow to get a list of letters for a module.

overduerules is a tool relying on letter.pl
It will allow ppl to manage three levels of overdue thanks to a brand new overduenotice script to come out soon.

18 years agouse new Context->Zconn object
kados [Mon, 27 Feb 2006 01:10:14 +0000 (01:10 +0000)]
use new Context->Zconn object

18 years agoRemoving 'our Zconn' from top...
kados [Mon, 27 Feb 2006 01:08:31 +0000 (01:08 +0000)]
Removing 'our Zconn' from top...

18 years agoremoved Zconns, no need for them anymore with new Context.pm setup
kados [Mon, 27 Feb 2006 01:06:30 +0000 (01:06 +0000)]
removed Zconns, no need for them anymore with new Context.pm setup

18 years agoDon't need those $Zconn's after all.
kados [Sun, 26 Feb 2006 00:12:51 +0000 (00:12 +0000)]
Don't need those $Zconn's after all.

18 years agomoving all $Zconn s to z3950_extended_services (currently, nothing
kados [Sun, 26 Feb 2006 00:08:20 +0000 (00:08 +0000)]
moving all $Zconn s to z3950_extended_services (currently, nothing
works).

18 years agominor bugfix with 'commit' option
kados [Sat, 25 Feb 2006 23:40:59 +0000 (23:40 +0000)]
minor bugfix with 'commit' option

18 years agoAdding support for new Zconn object from C4::Context.pm
kados [Sat, 25 Feb 2006 22:51:32 +0000 (22:51 +0000)]
Adding support for new Zconn object from C4::Context.pm

18 years agoChanged to use new Zconn object in Context.pm. Not sure if the Zconn
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?

18 years agoAnother purely documentation commit. Just changing formatting to ease
kados [Sat, 25 Feb 2006 22:39:10 +0000 (22:39 +0000)]
Another purely documentation commit. Just changing formatting to ease
readability.

18 years agoadding support for ISBN search in collection.abs
kados [Sat, 25 Feb 2006 22:01:20 +0000 (22:01 +0000)]
adding support for ISBN search in collection.abs

18 years agoA bulkmarcimport.pl that is based on the new Biblio.pm Zebra routines.
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.

18 years agoPurely documentation change: converted all =head2 entries to use function
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

18 years agoFurther cleanup, convering new routines to 4-chars
kados [Sat, 25 Feb 2006 21:02:20 +0000 (21:02 +0000)]
Further cleanup, convering new routines to 4-chars

18 years agoBetter documentation, added warning if serviceType is 'drop' since it's
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.

18 years agoIMPORTANT: Paul, I've removed the decode_char routine because it's no
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.

18 years agocleaning up POD docs, deleting zebra_create as it's no longer used (
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).

18 years agoreadding some lost subs
kados [Sat, 25 Feb 2006 19:09:59 +0000 (19:09 +0000)]
readding some lost subs

18 years agoEnable shadow registers in zebra.cfg
kados [Sat, 25 Feb 2006 19:00:28 +0000 (19:00 +0000)]
Enable shadow registers in zebra.cfg

18 years agoReverting to last version because the fix I committed breaks tag
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!

18 years agoBug fixing : Modifying template adapting for prog template format
hdl [Fri, 24 Feb 2006 13:22:22 +0000 (13:22 +0000)]
Bug fixing : Modifying template adapting for prog template format

18 years agoexport.tmpl was not the good one. :)
hdl [Fri, 24 Feb 2006 12:02:42 +0000 (12:02 +0000)]
export.tmpl was not the good one. :)

18 years agochanging file according to new directory hierarchy
hdl [Fri, 24 Feb 2006 11:55:40 +0000 (11:55 +0000)]
changing file according to new directory hierarchy

18 years agoAdding tools directory template and scripts
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

18 years agopruning files from old directory
hdl [Fri, 24 Feb 2006 11:22:37 +0000 (11:22 +0000)]
pruning files from old directory

18 years agoAdding admin template files
hdl [Fri, 24 Feb 2006 11:18:17 +0000 (11:18 +0000)]
Adding admin template files

18 years agochanging parameters template directory to admin
hdl [Fri, 24 Feb 2006 11:15:01 +0000 (11:15 +0000)]
changing parameters template directory to admin

18 years agoUsing 'loggedinusername' variable to populate hidden field user
bob_lyon [Thu, 23 Feb 2006 03:56:09 +0000 (03:56 +0000)]
Using 'loggedinusername' variable to populate hidden field user

18 years agoReplacing all calls to zebra_update with calls to
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.

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)