tonnesen [Fri, 5 Jul 2002 20:33:23 +0000 (20:33 +0000)]
Cookie bug.
tonnesen [Fri, 5 Jul 2002 19:56:35 +0000 (19:56 +0000)]
Auth.pm now checks the password againts a new field in the borrowers table
(password). There is also a new "userid" field in the borrowers table. When
a user logs in, the userid will be checked against the userid first and the
cardnumber second, so either method will work.
tonnesen [Fri, 5 Jul 2002 05:03:36 +0000 (05:03 +0000)]
Minor changes to authentication routines.
tonnesen [Thu, 4 Jul 2002 21:22:21 +0000 (21:22 +0000)]
Checks for a basic authentication userid. If found, it skips the cookie stuff.
Also now supports scripts that do not _require_ authentication, but might
display differently if they get an authenticated userid (might be useful for
opac pages, where pages could be tailored to meet a patron's preferences).
tonnesen [Thu, 4 Jul 2002 21:09:43 +0000 (21:09 +0000)]
Additions to authentication scheme. Logs to /tmp/sessionlog. Will move this
to a db table.
tonnesen [Thu, 4 Jul 2002 19:42:48 +0000 (19:42 +0000)]
Minor changes
tonnesen [Thu, 4 Jul 2002 19:21:29 +0000 (19:21 +0000)]
Beginning of authentication api. Applied to shelves.pl for now as a test case.
tonnesen [Thu, 4 Jul 2002 18:05:36 +0000 (18:05 +0000)]
bug fix
tonnesen [Thu, 4 Jul 2002 16:41:06 +0000 (16:41 +0000)]
Merged changes from rel-1-2. Abstracted table structure changes by alan.
tipaul [Thu, 4 Jul 2002 15:53:02 +0000 (15:53 +0000)]
Long is the road to MARC..
Not related to MARC :
* removed HLT- empty link when no basket for a supplier (should be useful to copy this into rel-1-2 i think)
* fixed some "use of uninitialized value"
related to MARC
* changed use Acquisition to use Catalogue, new package for MARC management
For instance, nothing is done to MARC DB, but structure is modified (see Biblio.pm for details), and everything seems to work : it's still possible to use acqui, and it fills old-DB pretty good.
WARNING : if you work on main trunk, please note Acquisition.pm is NO MORE USED in /acqui/ system. Every sub in Acquisition.pm has been moved to Biblio.pm or Catalogue.pm.
tipaul [Thu, 4 Jul 2002 13:53:56 +0000 (13:53 +0000)]
merging 1.2 and main branches. main branch now uses ethnicity SQL table
tipaul [Thu, 4 Jul 2002 13:05:52 +0000 (13:05 +0000)]
merging 1.2 and main branches
tipaul [Thu, 4 Jul 2002 12:46:42 +0000 (12:46 +0000)]
only 1 change : buttun-add-new instead of button-add-variable.
Other diffs are due to "explanation" row adding, only in main branch
tipaul [Thu, 4 Jul 2002 12:28:54 +0000 (12:28 +0000)]
bugfix from merging
tipaul [Thu, 4 Jul 2002 10:42:31 +0000 (10:42 +0000)]
merging 1.2 and main branches
tipaul [Wed, 3 Jul 2002 12:41:01 +0000 (12:41 +0000)]
merging 1.2 and main branches
tonnesen [Wed, 3 Jul 2002 03:18:50 +0000 (03:18 +0000)]
Fixed bug in checkvalidisbn()
rangi [Tue, 2 Jul 2002 23:31:33 +0000 (23:31 +0000)]
Fixed so datelastseen is updated on the item record for every issue or return
tonnesen [Tue, 2 Jul 2002 22:08:50 +0000 (22:08 +0000)]
merging changes from rel-1-2
tonnesen [Tue, 2 Jul 2002 21:46:52 +0000 (21:46 +0000)]
Merging bug fix from rel-1-2
tonnesen [Tue, 2 Jul 2002 21:37:56 +0000 (21:37 +0000)]
Added from rel-1-2 branch
tonnesen [Tue, 2 Jul 2002 20:59:11 +0000 (20:59 +0000)]
Merged over from rel-1-2
tonnesen [Tue, 2 Jul 2002 20:49:44 +0000 (20:49 +0000)]
Removed use warnings; which breaks perl 5.005
tonnesen [Tue, 2 Jul 2002 20:35:17 +0000 (20:35 +0000)]
Copying missing files from rel-1-2 to trunk
tonnesen [Tue, 2 Jul 2002 20:31:33 +0000 (20:31 +0000)]
module added from rel-1-2 branch
tonnesen [Tue, 2 Jul 2002 20:30:15 +0000 (20:30 +0000)]
Merged SimpleMarc.pm over from rel-1-2
tonnesen [Tue, 2 Jul 2002 17:48:06 +0000 (17:48 +0000)]
Merged in updates from rel-1-2
tipaul [Tue, 2 Jul 2002 15:59:53 +0000 (15:59 +0000)]
merging 1.2 and main branches. Only 1 line merged, as all diffs are due to finlay's rewritting of this script.
tipaul [Tue, 2 Jul 2002 15:46:42 +0000 (15:46 +0000)]
Merge from 1.2 and main branches
rangi [Fri, 28 Jun 2002 23:43:16 +0000 (23:43 +0000)]
Regex to change the javascript to make cursor start in barcode box
tipaul [Fri, 28 Jun 2002 12:53:02 +0000 (12:53 +0000)]
merging 1.2 and main branches
tipaul [Fri, 28 Jun 2002 12:19:50 +0000 (12:19 +0000)]
merging 1.2 and main branches
tipaul [Fri, 28 Jun 2002 12:07:16 +0000 (12:07 +0000)]
merging 1.2 and main. Diffs are due to new features.
tipaul [Fri, 28 Jun 2002 08:53:51 +0000 (08:53 +0000)]
merging 1-2 and main.
tonnesen [Thu, 27 Jun 2002 21:16:20 +0000 (21:16 +0000)]
Merged in optional ethnicity fix from rel-1-2
tonnesen [Tue, 25 Jun 2002 16:59:27 +0000 (16:59 +0000)]
Fixed bug. $sth->execute after $sti->prepare.
dragon28 [Tue, 25 Jun 2002 11:05:45 +0000 (11:05 +0000)]
fixed a typo
dragon28 [Tue, 25 Jun 2002 10:58:07 +0000 (10:58 +0000)]
fixed a typo
tonnesen [Mon, 24 Jun 2002 21:54:44 +0000 (21:54 +0000)]
removed "use warnings"
tonnesen [Mon, 24 Jun 2002 18:40:56 +0000 (18:40 +0000)]
Switched button-add-member to button-add-new in /admin/ scripts.
tipaul [Mon, 24 Jun 2002 15:00:13 +0000 (15:00 +0000)]
merging rel-1-2 and main
tipaul [Mon, 24 Jun 2002 14:16:36 +0000 (14:16 +0000)]
merging of rel-1-2 and main branch
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) :)
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
tipaul [Fri, 21 Jun 2002 13:15:36 +0000 (13:15 +0000)]
merging branches 1.2 and main
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
>
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
tonnesen [Thu, 20 Jun 2002 20:43:26 +0000 (20:43 +0000)]
Cosmetic change. Merged with rel-1-2
tonnesen [Thu, 20 Jun 2002 20:41:21 +0000 (20:41 +0000)]
Merged changes from rel-1-2
tonnesen [Thu, 20 Jun 2002 20:31:01 +0000 (20:31 +0000)]
Merged with rel-1-2 copy
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
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.
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.
tonnesen [Thu, 20 Jun 2002 18:04:45 +0000 (18:04 +0000)]
Are we getting sick of merging yet? Not me!
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.
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. :)
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
tonnesen [Thu, 20 Jun 2002 17:23:09 +0000 (17:23 +0000)]
Merging rel-1-2 changes into main
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 ;-)
rangi [Wed, 19 Jun 2002 01:32:37 +0000 (01:32 +0000)]
pop up pay window is working again
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
rangi [Tue, 18 Jun 2002 22:46:59 +0000 (22:46 +0000)]
issues printing issue slips again
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)...
amillar [Fri, 14 Jun 2002 05:24:58 +0000 (05:24 +0000)]
add websites table
rangi [Thu, 13 Jun 2002 03:17:18 +0000 (03:17 +0000)]
Fix to get sticky due date working
rangi [Thu, 13 Jun 2002 03:16:55 +0000 (03:16 +0000)]
Fix to get list of overdue items showing correctly
rangi [Tue, 11 Jun 2002 22:03:44 +0000 (22:03 +0000)]
The script mike uses to run backups on the koha database
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
tipaul [Mon, 10 Jun 2002 20:49:54 +0000 (20:49 +0000)]
MARC stuff : beginning to use MARC::Record package.
finlayt [Thu, 6 Jun 2002 23:30:39 +0000 (23:30 +0000)]
rewrite, so that it correctly displays branches and waiting reserves.
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)
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.
finlayt [Thu, 6 Jun 2002 02:51:38 +0000 (02:51 +0000)]
fixed minor bugs
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
finlayt [Thu, 6 Jun 2002 02:47:53 +0000 (02:47 +0000)]
improved all the code so that priorities are reset properly.
tipaul [Wed, 5 Jun 2002 13:05:19 +0000 (13:05 +0000)]
Proposing simplified perlmarcstructure. Interesting mainly for Steve
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.
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
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)
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?
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.
pate [Fri, 31 May 2002 22:46:59 +0000 (22:46 +0000)]
quick updates/corrections
tonnesen [Fri, 31 May 2002 22:17:12 +0000 (22:17 +0000)]
Skeleton test file for Catalogue.pm. Fails miserably so far. :)
pate [Fri, 31 May 2002 20:35:54 +0000 (20:35 +0000)]
updated testing
tonnesen [Fri, 31 May 2002 20:03:17 +0000 (20:03 +0000)]
removed another _sergey
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.
tonnesen [Fri, 31 May 2002 19:36:08 +0000 (19:36 +0000)]
Splitting into separate tag and subfield tables
tonnesen [Thu, 30 May 2002 19:58:24 +0000 (19:58 +0000)]
Benchmark script for sergey's schema
tonnesen [Thu, 30 May 2002 19:55:18 +0000 (19:55 +0000)]
New benchmark run to test Sergey's schema
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
tipaul [Thu, 30 May 2002 08:00:56 +0000 (08:00 +0000)]
some more cleaning : removed duplicated row, added indexes
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).
tonnesen [Wed, 29 May 2002 22:47:20 +0000 (22:47 +0000)]
Started modifications to match new marc schema
tonnesen [Wed, 29 May 2002 22:11:20 +0000 (22:11 +0000)]
Changed subfieldmark back to subfieldcode
tonnesen [Wed, 29 May 2002 21:11:41 +0000 (21:11 +0000)]
Further simplifications to the marc schema specification
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.
finlayt [Wed, 29 May 2002 05:52:12 +0000 (05:52 +0000)]
Changed the returnbook method to use CheckReserves instead of FindReserves.
finlayt [Wed, 29 May 2002 05:50:52 +0000 (05:50 +0000)]
Fixed up the reserves code to use 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.
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)