Commit graph

54375 commits

Author SHA1 Message Date
finlayt
3e5a9b644e added the book title and author to the reserve messages. 2002-07-26 01:09:55 +00:00
finlayt
c03d4f6f94 Fixxing bugs 2002-07-26 01:08:48 +00:00
finlayt
7bc4579223 removed some warn statments. 2002-07-26 01:08:13 +00:00
finlayt
ee915e6d7c taking out some warn statements.... 2002-07-25 21:42:26 +00:00
finlayt
6eae239bb2 Changed FindReserves so that it gets biblioitem data if the reserve has a reserve constraint. 2002-07-25 21:41:10 +00:00
tipaul
0ae56dd011 pod documenting the API. 2002-07-25 13:40:31 +00:00
tipaul
01567396fe small script that show in HTML a MARC biblio stored in koha. Very useful for test, and could be a start for MARC management in koha. 2002-07-25 09:55:51 +00:00
tipaul
64dae2746d Now, the acqui.simple system...
marcimport.pl has been almost completly rewritten, so LOT OF BUGS TO COME !!! You've been warned. It seems to work, but...

As with my former messages, nothing seems to have been changed... but ...
* marcimport now uses HTML::Template.
* marcimport now uses MARC::Record. that means that when you import a record, the old-DB is populated with the data as in version 1.2, but the MARC-DB part is filled with full MARC::Record.

<IMPORTANT NOTE>
to get correct response times, you MUST add an index on isbn, issn and lccn rows in biblioitem table. Note this should be done in 1.2 too...
</IMPORTANT NOTE>

<IMPORTANT NOTE2>
acqui.simple manage biblio, biblioitems and items tables quite properly. Normal acquisition system manages biblio, biblioitems BUT NOT items. That will be done in the near future...
</IMPORTANT NOTE2>

what's next now ?
* bug tracking, of course... Surely a dozen of dozens...
* LOT of developpments, i'll surely write a mail to koha-devel tomorrow (as it's time for dinner in France, and i plan to play NeverwinterNights after dinner ;-) ...
2002-07-24 16:24:20 +00:00
tipaul
9fb81afb85 Now, the API...
Database.pm and Output.pm are almost not modified (var test...)

Biblio.pm is almost completly rewritten.

WHAT DOES IT ??? ==> END of Hitchcock suspens

1st, it does... nothing...
Every old API should be there. So if MARC-stuff is not done, the behaviour is EXACTLY the same (if there is no added bug, of course). So, if you use normal acquisition, you won't find anything new neither on screen or old-DB tables ...

All old-API functions have been cloned. for example, the "newbiblio" sub, now has become :
* a "newbiblio" sub, with the same parameters. It just call a sub named OLDnewbiblio
* a "OLDnewbiblio" sub, which is a copy/paste of the previous newbiblio sub. Then, when you want to add the MARC-DB stuff, you can modify the newbiblio sub without modifying the OLDnewbiblio one. If we correct a bug in 1.2 in newbiblio, we can do the same in main branch by correcting OLDnewbiblio.
* The MARC stuff is usually done through a sub named MARCxxx where xxx is the same as OLDxxx. For example, newbiblio calls MARCnewbiblio. the MARCxxx subs use a MARC::Record as parameter.
The last thing to solve was to manage biblios through real MARC import : they must populate the old-db, but must populate the MARC-DB too, without loosing information (if we go from MARC::Record to old-data then back to MARC::Record, we loose A LOT OF ROWS). To do this, there are subs beginning by "ALLxxx" : they manage datas with MARC::Record datas. they call OLDxxx sub too (to populate old-DB), but MARCxxx subs too, with a complete MARC::Record ;-)

In Biblio.pm, there are some subs that permits to build a old-style record from a MARC::Record, and the opposite. There is also a sub finding a MARC-bibid from a old-biblionumber and the opposite too.
Note we have decided with steve that a old-biblio <=> a MARC-Biblio.
2002-07-24 16:11:37 +00:00
tipaul
1da4e0ff2f 1st scripts for MARC-DB.
WARNING : YOU MUST DO THE FOLLOWING IF YOU EXPECT THE MAIN-BRANCH TO WORK.

* install MARC::Record package, from cpan or sourceforge
* OVERWRITE File.pm and USMARC.pm. The original misses 1 functionnality we absolutly need in koha (reading a MARC from a variable, not from a file). Thanks to Steve, who modified MARC::Record.
* modify your DB by adding marcschema.sql tables
* populate new tables by launching fill_usmarc.pl

Then, it should work...
What works exactly will come in the next commit, in a few minuts (hitchcock suspens...)
2002-07-24 15:52:53 +00:00
finlayt
52e5f54401 removed warn statement 2002-07-24 05:11:07 +00:00
finlayt
55798ef08a commented out a warn or two... 2002-07-24 04:00:33 +00:00
finlayt
51e0e140c2 Fixed up the Print module. Added a function printslip that takes a string as an argument. It is easier to prepare the slip and then call the print function.
in circulation.pl I have moved some javascript out to the circulation-top.inc
2002-07-24 03:16:21 +00:00
finlayt
ee16dd23ff fixed up the reserves. Can view the printed slip before it is printed! 2002-07-24 03:14:04 +00:00
finlayt
34aee13b95 fixed bug that kept asigning reserved books to the same person! 2002-07-24 03:01:17 +00:00
tonnesen
8e6342ed88 Fix permissions on /etc/koha.conf on initial install. 2002-07-23 06:06:42 +00:00
finlayt
4ec4fd9552 reactivated the printreserve method that is used to print a slip when a reserved book is returned. this is used in /circ/returns.pl 2002-07-23 03:32:42 +00:00
finlayt
c78de2bcb8 changed the behaviour when a reserved book is returned according to the wishes of HLT. 2002-07-23 03:28:36 +00:00
finlayt
ae3d808003 fixed up some little bugs around the big buttons that change between issues, returns and transfers 2002-07-23 01:28:42 +00:00
finlayt
6e9129444f these files were old versions that are not currently used. 2002-07-22 22:40:32 +00:00
tonnesen
00564428aa Changes from rel-1-2 branch 2002-07-22 22:33:03 +00:00
tonnesen
dd541749fb Missing bracket 2002-07-22 20:45:47 +00:00
rangi
9b815d5af3 Making sure fix makes it into the main branch as well
Fix for bug 69
2002-07-20 22:30:06 +00:00
finlayt
a1afd5ab09 changed the wording of two messages. see http://bugzilla.katipo.co.nz/show_bug.cgi?id=1390 2002-07-19 03:33:52 +00:00
tonnesen
ceabc06926 Send cookie in header 2002-07-11 06:40:06 +00:00
tonnesen
b6f8a4a580 Cleaned up contents of location information 2002-07-11 05:48:01 +00:00
tonnesen
17388eccad Updates to authentications cripts. userpage.pl is the page for authenticated
users in the OPAC to set preferences, get personal information, etc.
2002-07-11 05:46:58 +00:00
tipaul
3c4ca5a444 *** empty log message *** 2002-07-10 13:58:43 +00:00
tonnesen
657685e1ac Auth.pm now caches form submissions and resubmits them if a user logs back in
after being logged out for inactivity.  Also switched from crypt passwords to
md5 passwords stored in borrowers table.  Used Digest::MD5 module.  I ain't
gonna reinvent _that_ wheel.  :)
2002-07-09 05:37:53 +00:00
tonnesen
c03f94e45d Bug fix from rel-1-2 2002-07-09 03:07:05 +00:00
tonnesen
3153d38adc Bug fixes from rel-1-2 2002-07-08 18:34:35 +00:00
tonnesen
8e8ba7d976 too many arguments to mklink 2002-07-08 16:45:57 +00:00
tonnesen
e30b2ea968 use warnings breaks perl 5.005 2002-07-08 16:45:34 +00:00
tonnesen
ae635b497b Added sessionqueries table and password/userid fields to borrowers table 2002-07-08 16:20:26 +00:00
tonnesen
1a43c68fe3 Cookie bug. 2002-07-05 20:33:23 +00:00
tonnesen
259a4873fb 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.
2002-07-05 19:56:35 +00:00
tonnesen
a66bcaa168 Minor changes to authentication routines. 2002-07-05 05:03:36 +00:00
tonnesen
bdee484019 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).
2002-07-04 21:22:21 +00:00
tonnesen
185adfbfe7 Additions to authentication scheme. Logs to /tmp/sessionlog. Will move this
to a db table.
2002-07-04 21:09:43 +00:00
tonnesen
62e0baa92a Minor changes 2002-07-04 19:42:48 +00:00
tonnesen
60a72c67fe Beginning of authentication api. Applied to shelves.pl for now as a test case. 2002-07-04 19:21:29 +00:00
tonnesen
7d616eca8b bug fix 2002-07-04 18:05:36 +00:00
tonnesen
084045c40c Merged changes from rel-1-2. Abstracted table structure changes by alan. 2002-07-04 16:41:06 +00:00
tipaul
528f1b2b80 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.
2002-07-04 15:53:02 +00:00
tipaul
fbe10b879f merging 1.2 and main branches. main branch now uses ethnicity SQL table 2002-07-04 13:53:56 +00:00
tipaul
b319b74787 merging 1.2 and main branches 2002-07-04 13:05:52 +00:00
tipaul
213daac431 only 1 change : buttun-add-new instead of button-add-variable.
Other diffs are due to "explanation" row adding, only in main branch
2002-07-04 12:46:42 +00:00
tipaul
ec25ca4dfd bugfix from merging 2002-07-04 12:28:54 +00:00
tipaul
bd04fceca8 merging 1.2 and main branches 2002-07-04 10:42:31 +00:00
tipaul
057fd6af5c merging 1.2 and main branches 2002-07-03 12:41:01 +00:00