koha.git
21 years agoMerge from 1.2 and main branches
tipaul [Tue, 2 Jul 2002 15:46:42 +0000 (15:46 +0000)]
Merge from 1.2 and main branches

21 years agoRegex to change the javascript to make cursor start in barcode box
rangi [Fri, 28 Jun 2002 23:43:16 +0000 (23:43 +0000)]
Regex to change the javascript to make cursor start in barcode box

21 years agomerging 1.2 and main branches
tipaul [Fri, 28 Jun 2002 12:53:02 +0000 (12:53 +0000)]
merging 1.2 and main branches

21 years agomerging 1.2 and main branches
tipaul [Fri, 28 Jun 2002 12:19:50 +0000 (12:19 +0000)]
merging 1.2 and main branches

21 years agomerging 1.2 and main. Diffs are due to new features.
tipaul [Fri, 28 Jun 2002 12:07:16 +0000 (12:07 +0000)]
merging 1.2 and main. Diffs are due to new features.

21 years agomerging 1-2 and main.
tipaul [Fri, 28 Jun 2002 08:53:51 +0000 (08:53 +0000)]
merging 1-2 and main.

21 years agoMerged in optional ethnicity fix from rel-1-2
tonnesen [Thu, 27 Jun 2002 21:16:20 +0000 (21:16 +0000)]
Merged in optional ethnicity fix from rel-1-2

21 years agoFixed bug. $sth->execute after $sti->prepare.
tonnesen [Tue, 25 Jun 2002 16:59:27 +0000 (16:59 +0000)]
Fixed bug.  $sth->execute after $sti->prepare.

21 years agofixed a typo
dragon28 [Tue, 25 Jun 2002 11:05:45 +0000 (11:05 +0000)]
fixed a typo

21 years agofixed a typo
dragon28 [Tue, 25 Jun 2002 10:58:07 +0000 (10:58 +0000)]
fixed a typo

21 years agoremoved "use warnings"
tonnesen [Mon, 24 Jun 2002 21:54:44 +0000 (21:54 +0000)]
removed "use warnings"

21 years agoSwitched button-add-member to button-add-new in /admin/ scripts.
tonnesen [Mon, 24 Jun 2002 18:40:56 +0000 (18:40 +0000)]
Switched button-add-member to button-add-new in /admin/ scripts.

21 years agomerging rel-1-2 and main
tipaul [Mon, 24 Jun 2002 15:00:13 +0000 (15:00 +0000)]
merging rel-1-2 and main

21 years agomerging of rel-1-2 and main branch
tipaul [Mon, 24 Jun 2002 14:16:36 +0000 (14:16 +0000)]
merging of rel-1-2 and main branch

21 years agoPerl 5.005 doesn't like the -I after the script name. (This doesn't
tonnesen [Mon, 24 Jun 2002 13:19:40 +0000 (13:19 +0000)]
Perl 5.005 doesn't like the -I after the script name.  (This doesn't
look very functional yet in any case, but thought I'd put it in as a
fix)  :)

21 years agoChecked diff in branchtransfers. datesent and datearrived are given datetime, not...
finlayt [Sun, 23 Jun 2002 22:38:08 +0000 (22:38 +0000)]
Checked diff in branchtransfers. datesent and datearrived are given datetime, not just date

21 years agomerging branches 1.2 and main
tipaul [Fri, 21 Jun 2002 13:15:36 +0000 (13:15 +0000)]
merging branches 1.2 and main

21 years agoMERGE 1.2 and main branches
tipaul [Fri, 21 Jun 2002 08:55:50 +0000 (08:55 +0000)]
MERGE 1.2 and main branches
Still a few diffs i don't understand :

311,320c311,312
<   categoryname text,
<   codedescription text,
<   PRIMARY KEY (categorycode)
< );
<
< # Table structure for table 'branchrelations'
< #
< CREATE TABLE branchrelations (
<   branchcode varchar(4) DEFAULT '' NOT NULL,
<   categorycode varchar(4) DEFAULT '' NOT NULL
---
>   branchcode char(4) DEFAULT '' NOT NULL,
>   branchholding int(11)
344c336
<   datesent datetime DEFAULT '0000-00-00' NOT NULL,
---
>   datesent date DEFAULT '0000-00-00' NOT NULL,
346c338
<   datearrived datetime,
---
>   datearrived date,
553a546
>

21 years ago* Acquisition synchronised with rel-1-2
tipaul [Thu, 20 Jun 2002 21:07:30 +0000 (21:07 +0000)]
* Acquisition synchronised with rel-1-2
* Update of biblio.pm and catalogue.pm that continuates MARC stuff. Lot of explanations at the beginning of Biblio.pm

21 years agoCosmetic change. Merged with rel-1-2
tonnesen [Thu, 20 Jun 2002 20:43:26 +0000 (20:43 +0000)]
Cosmetic change.  Merged with rel-1-2

21 years agoMerged changes from rel-1-2
tonnesen [Thu, 20 Jun 2002 20:41:21 +0000 (20:41 +0000)]
Merged changes from rel-1-2

21 years agoMerged with rel-1-2 copy
tonnesen [Thu, 20 Jun 2002 20:31:01 +0000 (20:31 +0000)]
Merged with rel-1-2 copy

21 years agoMerged changes from rel-1-2 branch version 1.21.2.1, all fixes to warnings
tonnesen [Thu, 20 Jun 2002 20:10:08 +0000 (20:10 +0000)]
Merged changes from rel-1-2 branch version 1.21.2.1, all fixes to warnings

21 years agoMost of these merges are just removing unused parts of the perl modules.
tonnesen [Thu, 20 Jun 2002 18:56:52 +0000 (18:56 +0000)]
Most of these merges are just removing unused parts of the perl modules.

21 years ago47 files to go, 47 files to go, take one down, pass it around...
tonnesen [Thu, 20 Jun 2002 18:17:51 +0000 (18:17 +0000)]
47 files to go, 47 files to go, take one down, pass it around...
46 files to go.

21 years agoAre we getting sick of merging yet? Not me!
tonnesen [Thu, 20 Jun 2002 18:04:45 +0000 (18:04 +0000)]
Are we getting sick of merging yet?  Not me!

21 years agomerges from rel-1-2. Starting to get a little longer now. Being very
tonnesen [Thu, 20 Jun 2002 17:57:11 +0000 (17:57 +0000)]
merges from rel-1-2.   Starting to get a little longer now.  Being very
careful.

21 years agoThird in the series of branch merges. Starting to run out of easy stuff. :)
tonnesen [Thu, 20 Jun 2002 17:45:18 +0000 (17:45 +0000)]
Third in the series of branch merges.  Starting to run out of easy stuff.  :)

21 years agoMore merges in from rel-1-2
tonnesen [Thu, 20 Jun 2002 17:33:07 +0000 (17:33 +0000)]
More merges in from rel-1-2
All of the changes so far have been minor.  I did uncomment delbiblio($biblio)
in delbiblio.pl in the main branch to match delbiblio.pl in rel-1-2

21 years agoMerging rel-1-2 changes into main
tonnesen [Thu, 20 Jun 2002 17:23:09 +0000 (17:23 +0000)]
Merging rel-1-2 changes into main

21 years agotrying to merge rel-1-2 into main branch... test with this script, choosen randomly ;-)
tipaul [Thu, 20 Jun 2002 15:56:51 +0000 (15:56 +0000)]
trying to merge rel-1-2 into main branch... test with this script, choosen randomly ;-)

21 years agopop up pay window is working again
rangi [Wed, 19 Jun 2002 01:32:37 +0000 (01:32 +0000)]
pop up pay window is working again

21 years agoFixing issues which i broke just before ... perhaps one more commit today.
rangi [Wed, 19 Jun 2002 01:04:47 +0000 (01:04 +0000)]
Fixing issues which i broke just before ... perhaps one more commit today.
Issues used to pop up a payment window when a borrower had finished issuing
and had money to pay.
We seem to have lost that, ill try and get it back

21 years agoissues printing issue slips again
rangi [Tue, 18 Jun 2002 22:46:59 +0000 (22:46 +0000)]
issues printing issue slips again

21 years agoGoing to MARC 1.4...
tipaul [Fri, 14 Jun 2002 16:47:33 +0000 (16:47 +0000)]
Going to MARC 1.4...

0- Requires MARC::Record from cpan to work

1- divided Catalogue.pm in 2 parts :
Biblio.pm ,that contains biblio management
Catalogue.pm, that contains acquisition management.
When ended, they will replace the Acquisition.pm package

2- Created MARCxxx functions :
* MARCgetbiblio : retrieves a MARC::Record from the bibid passed in parameter (working, see test.pl script)
* MARCaddbiblio : creates a MARC-DB entry, for a MARC::Record given as parameter. (working)
* MARCmodsubfield : modifies a subfield for a given subfieldid
* MARCfingsubfield : retrieves a subfieldvalue from a bibid/tag/subfield
* MARCaddsubfield : adds a subfield to biblio into the DB
* MARCkoha2marc : builds a MARC::Record, given a biblionumber, a biblioitemnumber and/or an itemnumber. (working).

TODO :
A lot ;-))))
For instance, you can create only a MARC-DB entry from a old-DB entry. Note some questions are still to solve around bibid (old-DB/MARC-DB)...

21 years agoadd websites table
amillar [Fri, 14 Jun 2002 05:24:58 +0000 (05:24 +0000)]
add websites table

21 years agoFix to get sticky due date working
rangi [Thu, 13 Jun 2002 03:17:18 +0000 (03:17 +0000)]
Fix to get sticky due date working

21 years agoFix to get list of overdue items showing correctly
rangi [Thu, 13 Jun 2002 03:16:55 +0000 (03:16 +0000)]
Fix to get list of overdue items showing correctly

21 years agoThe script mike uses to run backups on the koha database
rangi [Tue, 11 Jun 2002 22:03:44 +0000 (22:03 +0000)]
The script mike uses to run backups on the koha database

21 years agoCommitted on behalf of Mike
rangi [Tue, 11 Jun 2002 11:24:36 +0000 (11:24 +0000)]
Committed on behalf of Mike

First cut at an installer that can run without superuser privileges

21 years agoMARC stuff : beginning to use MARC::Record package.
tipaul [Mon, 10 Jun 2002 20:49:54 +0000 (20:49 +0000)]
MARC stuff : beginning to use MARC::Record package.

21 years agorewrite, so that it correctly displays branches and waiting reserves.
finlayt [Thu, 6 Jun 2002 23:30:39 +0000 (23:30 +0000)]
rewrite, so that it correctly displays branches and waiting reserves.

21 years agotoday stuff around marc. Will change soon as we will use MARC::record (see marcpm...
tipaul [Thu, 6 Jun 2002 16:23:36 +0000 (16:23 +0000)]
today stuff around marc. Will change soon as we will use MARC::record (see marcpm.sourceforge.net)

21 years agofixed bug http://bugzilla.katipo.co.nz/show_bug.cgi?id=1284
finlayt [Thu, 6 Jun 2002 04:15:18 +0000 (04:15 +0000)]
fixed bug bugzilla.katipo.co.nz/show_bug.cgi?id=1284
If an item doesnt have a holdingbranch it just shows blank instead of not appearing at all.

21 years agofixed minor bugs
finlayt [Thu, 6 Jun 2002 02:51:38 +0000 (02:51 +0000)]
fixed minor bugs

21 years agoChanged the issuebook routine to use the new methods from C4::Reserves2.pm
finlayt [Thu, 6 Jun 2002 02:48:53 +0000 (02:48 +0000)]
Changed the issuebook routine to use the new methods from C4::Reserves2.pm

21 years agoimproved all the code so that priorities are reset properly.
finlayt [Thu, 6 Jun 2002 02:47:53 +0000 (02:47 +0000)]
improved all the code so that priorities are reset properly.

21 years agoProposing simplified perlmarcstructure. Interesting mainly for Steve
tipaul [Wed, 5 Jun 2002 13:05:19 +0000 (13:05 +0000)]
Proposing simplified perlmarcstructure. Interesting mainly for Steve

21 years agotest.pl, contains a script to test the Catalogue.pm stuff.
tipaul [Tue, 4 Jun 2002 16:08:47 +0000 (16:08 +0000)]
test.pl, contains a script to test the Catalogue.pm stuff.
Catalogue.pm : marc stuff :
* the 3 xxxSubfield functions works
* the addMarcBiblio function has been added : if you pass it a perlmarcstructure (sample in test.pl and explanation in marc/perlmarcstructure file), it adds a biblio to the marc_schema. The newbiblioitem (old koha-DB) still has to be updated to build the perlmarcstructure internally and call addMarcBiblio function.

21 years agoouuppsss... forget the 1.13 version, i made a mistake. This version works and should...
tipaul [Tue, 4 Jun 2002 08:13:31 +0000 (08:13 +0000)]
ouuppsss... forget the 1.13 version, i made a mistake. This version works and should be the last

21 years agoNew and hopefully last version of the MARC-DB. Is the fastest in benchmark, everybody...
tipaul [Tue, 4 Jun 2002 07:56:56 +0000 (07:56 +0000)]
New and hopefully last version of the MARC-DB. Is the fastest in benchmark, everybody agree ;-) (Sergey, Steve and me, Paul)

21 years agoI couldn't get testKoha to run until I modified the runtests line. Am I using
tonnesen [Sat, 1 Jun 2002 05:53:47 +0000 (05:53 +0000)]
I couldn't get testKoha to run until I modified the runtests line.  Am I using
a different version of Test::Harness?

21 years agoAdded checking for option to run unsafe database tests. The idea is that tests
tonnesen [Sat, 1 Jun 2002 05:46:08 +0000 (05:46 +0000)]
Added checking for option to run unsafe database tests.  The idea is that tests
that attempt to modify the library database will _not_ be run unless the
environment variable DoUnsafeDBTests is set to 1.  This allows people on
production systems to run the tests without any fear of data corruption, while
developers can run the full suite of tests on a standard sample database.

21 years agoquick updates/corrections
pate [Fri, 31 May 2002 22:46:59 +0000 (22:46 +0000)]
quick updates/corrections

21 years agoSkeleton test file for Catalogue.pm. Fails miserably so far. :)
tonnesen [Fri, 31 May 2002 22:17:12 +0000 (22:17 +0000)]
Skeleton test file for Catalogue.pm.  Fails miserably so far.  :)

21 years agoupdated testing
pate [Fri, 31 May 2002 20:35:54 +0000 (20:35 +0000)]
updated testing

21 years agoremoved another _sergey
tonnesen [Fri, 31 May 2002 20:03:17 +0000 (20:03 +0000)]
removed another _sergey

21 years agoremoved fieldid in favour of tagid, removed _sergey from table names, added
tonnesen [Fri, 31 May 2002 19:41:29 +0000 (19:41 +0000)]
removed fieldid in favour of tagid, removed _sergey from table names, added
tagorder field to tag table, renamed marc_field_table to marc_tag_table.

21 years agoSplitting into separate tag and subfield tables
tonnesen [Fri, 31 May 2002 19:36:08 +0000 (19:36 +0000)]
Splitting into separate tag and subfield tables

21 years agoBenchmark script for sergey's schema
tonnesen [Thu, 30 May 2002 19:58:24 +0000 (19:58 +0000)]
Benchmark script for sergey's schema

21 years agoNew benchmark run to test Sergey's schema
tonnesen [Thu, 30 May 2002 19:55:18 +0000 (19:55 +0000)]
New benchmark run to test Sergey's schema

21 years ago* modification of tables/row names : *_tag_* replaced by *_subfield_* where needed
tipaul [Thu, 30 May 2002 08:11:51 +0000 (08:11 +0000)]
* modification of tables/row names : *_tag_* replaced by *_subfield_* where needed
* modification of word table

21 years agosome more cleaning : removed duplicated row, added indexes
tipaul [Thu, 30 May 2002 08:00:56 +0000 (08:00 +0000)]
some more cleaning : removed duplicated row, added indexes

21 years agoMost everything is fixed now in returns, including the way it displays (a little).
finlayt [Thu, 30 May 2002 01:32:29 +0000 (01:32 +0000)]
Most everything is fixed now in returns, including the way it displays (a little).

21 years agoStarted modifications to match new marc schema
tonnesen [Wed, 29 May 2002 22:47:20 +0000 (22:47 +0000)]
Started modifications to match new marc schema

21 years agoChanged subfieldmark back to subfieldcode
tonnesen [Wed, 29 May 2002 22:11:20 +0000 (22:11 +0000)]
Changed subfieldmark back to subfieldcode

21 years agoFurther simplifications to the marc schema specification
tonnesen [Wed, 29 May 2002 21:11:41 +0000 (21:11 +0000)]
Further simplifications to the marc schema specification

21 years agoScript for printing barcode labels. Running this script sends raw postscript
tonnesen [Wed, 29 May 2002 21:06:17 +0000 (21:06 +0000)]
Script for printing barcode labels.  Running this script sends raw postscript
to stdout, so redirect to a file for viewing with ghostview, or to a postscript
capable printer for printing.  There are some variables which can be edited at
the top of the script.

21 years agoChanged the returnbook method to use CheckReserves instead of FindReserves.
finlayt [Wed, 29 May 2002 05:52:12 +0000 (05:52 +0000)]
Changed the returnbook method to use CheckReserves instead of FindReserves.

21 years agoFixed up the reserves code to use the new Reserves2.pm methods.
finlayt [Wed, 29 May 2002 05:50:52 +0000 (05:50 +0000)]
Fixed up the reserves code to use the new Reserves2.pm methods.

21 years agoSome small changes in transferbook: uses the new Reserves2.pm methods.
finlayt [Wed, 29 May 2002 04:40:15 +0000 (04:40 +0000)]
Some small changes in transferbook: uses the new Reserves2.pm methods.

21 years agoAdded some subroutines.
finlayt [Wed, 29 May 2002 04:39:12 +0000 (04:39 +0000)]
Added some subroutines.
All reserve activity should go through these.
CheckReserves (search on itemnumber),
CancelReserve (manages priorities correctly)
ReserveWaiting (sets a reserve record to waiting and sorts other priorities)

21 years agoAdded the reserves functionality. Now calls a bunch of routines from Reserves2.pm
finlayt [Wed, 29 May 2002 04:33:42 +0000 (04:33 +0000)]
Added the reserves functionality. Now calls a bunch of routines from Reserves2.pm

21 years agofixed typo
dragon28 [Mon, 27 May 2002 08:22:23 +0000 (08:22 +0000)]
fixed typo

21 years agoAdded "lccn" and "marc" fields to newbiblioitem
amillar [Thu, 23 May 2002 22:59:37 +0000 (22:59 +0000)]
Added "lccn" and "marc" fields to newbiblioitem

21 years agoMoved addition of Biblioitem to separate subroutine
amillar [Thu, 23 May 2002 20:49:31 +0000 (20:49 +0000)]
Moved addition of Biblioitem to separate subroutine

21 years agoUpdate to acqui.simple system. Hopefully this is a lot more user friendly.
truth_nz [Wed, 22 May 2002 18:35:25 +0000 (18:35 +0000)]
Update to acqui.simple system. Hopefully this is a lot more user friendly.
Probably a few bug fixes to come still.

21 years agoFirst attempt at a perl data structure for marc records
tonnesen [Wed, 22 May 2002 16:00:51 +0000 (16:00 +0000)]
First attempt at a perl data structure for marc records

21 years agoAdd biblio using C4::Acquisitions newbiblio
amillar [Wed, 22 May 2002 06:45:30 +0000 (06:45 +0000)]
Add biblio using C4::Acquisitions newbiblio

21 years agoFixing syntax error
rangi [Wed, 22 May 2002 04:30:44 +0000 (04:30 +0000)]
Fixing syntax error

21 years agoFix typo in booksellerid field name
amillar [Tue, 21 May 2002 06:19:48 +0000 (06:19 +0000)]
Fix typo in booksellerid field name

21 years agoAdd item using newitem() from C4::Acquisitions.pm
amillar [Tue, 21 May 2002 06:17:48 +0000 (06:17 +0000)]
Add item using newitem() from C4::Acquisitions.pm

21 years agoFix warning about use of undefined variable, found when endmenu
amillar [Tue, 21 May 2002 06:15:41 +0000 (06:15 +0000)]
Fix warning about use of undefined variable, found when endmenu
   called from marcimport.pl

21 years agoModularize table creation, driven by hash instead of redundant code.
amillar [Tue, 21 May 2002 05:47:24 +0000 (05:47 +0000)]
Modularize table creation, driven by hash instead of redundant code.

21 years agoAdd comments, make branchrelations consistent with other table additions
amillar [Tue, 21 May 2002 05:12:42 +0000 (05:12 +0000)]
Add comments, make branchrelations consistent with other table additions

21 years agoSome minor changes to get detail.pl and moredetail.pl working nicely with
rangi [Tue, 21 May 2002 01:17:44 +0000 (01:17 +0000)]
Some minor changes to get detail.pl and moredetail.pl working nicely with
html::template

21 years agoFixing ItemInfo2 to ItemInfo
rangi [Tue, 21 May 2002 01:16:02 +0000 (01:16 +0000)]
Fixing ItemInfo2 to ItemInfo

21 years agoSome code cleanup. Created subroutines for ISBN checksum,
amillar [Mon, 20 May 2002 04:55:20 +0000 (04:55 +0000)]
Some code cleanup.  Created subroutines for ISBN checksum,
z3950 queue insert, and table-based form option selects
for item type and branch code (branch code select no longer
hard-coded).

21 years agoAdding in publisher and abstract as search fields
rangi [Sun, 19 May 2002 21:27:12 +0000 (21:27 +0000)]
Adding in publisher and abstract as search fields

21 years agoSome cleanup, reformatting, fix some undeclared variables
amillar [Sat, 18 May 2002 07:01:27 +0000 (07:01 +0000)]
Some cleanup, reformatting, fix some undeclared variables

21 years agoRemoving Catalogue.pm because it doesn't compile cleanly yet
amillar [Sat, 18 May 2002 06:56:13 +0000 (06:56 +0000)]
Removing Catalogue.pm because it doesn't compile cleanly yet

21 years agoChanged the wording of error message from:
finlayt [Sat, 18 May 2002 05:38:57 +0000 (05:38 +0000)]
Changed the wording of error message from:
"Cannot transfer item to branch it is already at"
to: "Item already at destination branch"

21 years agofixed a little bug with cookies and setting the branch and printer settings.
finlayt [Sat, 18 May 2002 05:37:26 +0000 (05:37 +0000)]
fixed a little bug with cookies and setting the branch and printer settings.

21 years agoimprooved layout and branch and printer settings are displayed
finlayt [Sat, 18 May 2002 05:07:26 +0000 (05:07 +0000)]
improoved layout and branch and printer settings are displayed

21 years agoCompletely new. This file handles the issues, and sets branch and printer
finlayt [Sat, 18 May 2002 05:05:53 +0000 (05:05 +0000)]
Completely new. This file handles the issues, and sets branch and printer
cookie.

21 years agofixed the branch and printer setting mechanism
finlayt [Sat, 18 May 2002 05:04:43 +0000 (05:04 +0000)]
fixed the branch and printer setting mechanism
changed layout slightly

21 years agoscript for changing the branch and printer settings, taken from circulation.pl
finlayt [Sat, 18 May 2002 05:02:25 +0000 (05:02 +0000)]
script for changing the branch and printer settings, taken from circulation.pl

21 years agoBenchmarking files for comparing performance of two different proposed database
tonnesen [Fri, 17 May 2002 22:03:14 +0000 (22:03 +0000)]
Benchmarking files for comparing performance of two different proposed database
schemas for MARC storage.  See IRC log at

    http://www.haz.cmsd.bc.ca/cgi-bin/kohalog.pl

for information on the two proposals.

21 years agoFew more changes... not much to look at yet, still wrapping my head around the
tonnesen [Thu, 16 May 2002 23:08:05 +0000 (23:08 +0000)]
Few more changes...  not much to look at yet, still wrapping my head around the
new schema

21 years agoUsed subfieldcode where I should have used subfieldid (in primary key) Note
tonnesen [Thu, 16 May 2002 20:42:55 +0000 (20:42 +0000)]
Used subfieldcode where I should have used subfieldid (in primary key) Note
that I changed bibcode and tagcode to bibid and tagid as well to avoid
confusion with subfieldcode (which is the one letter subfield code)