Commit Graph

161 Commits

Author SHA1 Message Date
finlayt 34aee13b95 fixed bug that kept asigning reserved books to the same person! 2002-07-24 03:01:17 +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
tonnesen dd541749fb Missing bracket 2002-07-22 20:45:47 +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 e30b2ea968 use warnings breaks perl 5.005 2002-07-08 16:45:34 +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
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 ec25ca4dfd bugfix from merging 2002-07-04 12:28:54 +00:00
tipaul 057fd6af5c merging 1.2 and main branches 2002-07-03 12:41:01 +00:00
tonnesen 17bb4d7343 Fixed bug in checkvalidisbn() 2002-07-03 03:18:50 +00:00
rangi d6f9a61c7d Fixed so datelastseen is updated on the item record for every issue or return 2002-07-02 23:31:33 +00:00
tonnesen 68e13b2c78 Removed use warnings; which breaks perl 5.005 2002-07-02 20:49:44 +00:00
tonnesen 1a6b88483f module added from rel-1-2 branch 2002-07-02 20:31:33 +00:00
tonnesen dcfb3b835c Merged SimpleMarc.pm over from rel-1-2 2002-07-02 20:30:15 +00:00
tonnesen 40bffc1f0e Merged in updates from rel-1-2 2002-07-02 17:48:06 +00:00
tipaul 004519edbc Merge from 1.2 and main branches 2002-07-02 15:46:42 +00:00
tipaul 33947ff039 merging 1-2 and main. 2002-06-28 08:53:51 +00:00
tonnesen 1ac576e81b removed "use warnings" 2002-06-24 21:54:44 +00:00
tipaul 3bee5b5743 * 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
2002-06-20 21:07:30 +00:00
tonnesen d6e7293f76 Cosmetic change. Merged with rel-1-2 2002-06-20 20:43:26 +00:00
tonnesen cceee9e230 Merged changes from rel-1-2 2002-06-20 20:41:21 +00:00
tonnesen 1929403b8f Merged with rel-1-2 copy 2002-06-20 20:31:01 +00:00
tonnesen 264b8f0093 Merged changes from rel-1-2 branch version 1.21.2.1, all fixes to warnings 2002-06-20 20:10:08 +00:00
tonnesen 6897cec04d Most of these merges are just removing unused parts of the perl modules. 2002-06-20 18:56:52 +00:00
tonnesen d3af19dcb2 Are we getting sick of merging yet? Not me! 2002-06-20 18:04:45 +00:00
tonnesen 29b4d2d534 merges from rel-1-2. Starting to get a little longer now. Being very
careful.
2002-06-20 17:57:11 +00:00
tonnesen cb7441a537 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
2002-06-20 17:33:07 +00:00
rangi 78c976aa0f issues printing issue slips again 2002-06-18 22:46:59 +00:00
tipaul 3d7df52b0d 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)...
2002-06-14 16:47:33 +00:00
rangi 49e2b90a8b Fix to get list of overdue items showing correctly 2002-06-13 03:16:55 +00:00
tipaul 503066d538 MARC stuff : beginning to use MARC::Record package. 2002-06-10 20:49:54 +00:00
tipaul 56d4ac55a7 today stuff around marc. Will change soon as we will use MARC::record (see marcpm.sourceforge.net) 2002-06-06 16:23:36 +00:00
finlayt c3820fa998 fixed bug http://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.
2002-06-06 04:15:18 +00:00
finlayt 89026ec754 Changed the issuebook routine to use the new methods from C4::Reserves2.pm 2002-06-06 02:48:53 +00:00
finlayt 0e69a3906e improved all the code so that priorities are reset properly. 2002-06-06 02:47:53 +00:00
tipaul 0595587f93 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.
2002-06-04 16:08:47 +00:00
tonnesen 02fc6654ec Started modifications to match new marc schema 2002-05-29 22:47:20 +00:00
finlayt a6dd1bcf44 Changed the returnbook method to use CheckReserves instead of FindReserves. 2002-05-29 05:52:12 +00:00
finlayt 970081fb49 Some small changes in transferbook: uses the new Reserves2.pm methods. 2002-05-29 04:40:15 +00:00
finlayt 7d603978ed 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)
2002-05-29 04:39:12 +00:00
amillar 7ebbc8311d Added "lccn" and "marc" fields to newbiblioitem 2002-05-23 22:59:37 +00:00