]> git.koha-community.org Git - koha.git/log
koha.git
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.

19 years agoFixed bug #1013. Works for me, if someone can check.
doxulting [Wed, 5 Oct 2005 16:19:21 +0000 (16:19 +0000)]
Fixed bug #1013. Works for me, if someone can check.

19 years agoRemoved extra html tags which were creating mistakes in display
doxulting [Tue, 4 Oct 2005 14:41:48 +0000 (14:41 +0000)]
Removed extra html tags which were creating mistakes in display

19 years agoChanger submit type. It was preventing setting the banchcode. It is correct in englis...
doxulting [Mon, 3 Oct 2005 16:21:10 +0000 (16:21 +0000)]
Changer submit type. It was preventing setting the banchcode. It is correct in english, hope my change will be reported when translation will be done.

19 years agoPreviously there was no check to make sure that an issn number
joshferraro [Fri, 30 Sep 2005 18:58:25 +0000 (18:58 +0000)]
Previously there was no check to make sure that an issn number
actually existed; so if there was no isbn, and the issn was blank,
the item would be assigned a random biblionumber and the breeding farm
would report that the item already exists in the catalog (even though
it didn't). This fix adds a check to determine whether the imported
record has an issn before assigning a matching biblionumber.

19 years agoMarks the item borrowed now on the items table
rangi [Thu, 22 Sep 2005 23:30:37 +0000 (23:30 +0000)]
Marks the item borrowed now on the items table

19 years agosee mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblio...
tipaul [Thu, 22 Sep 2005 15:31:05 +0000 (15:31 +0000)]
see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...)

19 years agosee mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblio...
tipaul [Thu, 22 Sep 2005 10:01:45 +0000 (10:01 +0000)]
see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...)

19 years agoremoving useless script
tipaul [Tue, 13 Sep 2005 08:32:50 +0000 (08:32 +0000)]
removing useless script

19 years agoSeveral fixes to allow for creation of valid Code 128 barcodes.
joshferraro [Mon, 12 Sep 2005 01:52:41 +0000 (01:52 +0000)]
Several fixes to allow for creation of valid Code 128 barcodes.
A new function allows for printing of call number rather than title/author
(default behavior). These barcodes should work fine now with any scanner
capable of Code 128 (with a checksum).

19 years agoAdd support for itemtypes. Still need to hardcode 'reservable'
joshferraro [Sun, 11 Sep 2005 23:55:19 +0000 (23:55 +0000)]
Add support for itemtypes. Still need to hardcode 'reservable'
itemtypes to script.

19 years agoporting 22 fixes to head
tipaul [Fri, 9 Sep 2005 10:04:55 +0000 (10:04 +0000)]
porting 22 fixes to head

19 years agoNow takes date range, and credits are displayed as 2dp.
szrj1m [Wed, 7 Sep 2005 01:22:17 +0000 (01:22 +0000)]
Now takes date range, and credits are displayed as 2dp.

19 years agomake status contingent upon all status fields in Koha including itemtype
joshferraro [Tue, 6 Sep 2005 12:28:08 +0000 (12:28 +0000)]
make status contingent upon all status fields in Koha including itemtype