SIPServer.git
18 years agoAdd stub to handle Status Update message
djfiander [Fri, 14 Apr 2006 23:33:11 +0000 (23:33 +0000)]
Add stub to handle Status Update message

18 years agouse the new ILS::check_inst_id to verify the institution ID that
djfiander [Fri, 14 Apr 2006 20:07:32 +0000 (20:07 +0000)]
use the new ILS::check_inst_id to verify the institution ID that
we receive from the terminal.

Also implement support for Item Information message.

18 years agoAdded stub routines that provide support for the Item Information
djfiander [Fri, 14 Apr 2006 20:06:24 +0000 (20:06 +0000)]
Added stub routines that provide support for the Item Information
Response message.

18 years agoSip::timestamp now takes an optional parameter (seconds since the
djfiander [Fri, 14 Apr 2006 20:05:41 +0000 (20:05 +0000)]
Sip::timestamp now takes an optional parameter (seconds since the
epoch) and generates a timestamp for that time.  Default
continues to be timestamp of 'now'.

18 years agonew ILS takes an institution configuration as input, so the name
djfiander [Fri, 14 Apr 2006 20:04:27 +0000 (20:04 +0000)]
new ILS takes an institution configuration as input, so the name
of the ILS institution is the $institution->{id}

18 years agoAdded code to verify the institution id, and to manage due dates
djfiander [Fri, 14 Apr 2006 19:59:29 +0000 (19:59 +0000)]
Added code to verify the institution id, and to manage due dates
within the stub item db.

18 years agoDelete handling of "FID_FEE_ITEMS", since it doesn't exist (the
djfiander [Fri, 14 Apr 2006 17:14:56 +0000 (17:14 +0000)]
Delete handling of "FID_FEE_ITEMS", since it doesn't exist (the
Patron Information Response message documentation is wrong).
Correct handling of Address, Email, and Home Phone fields in
Patron Information Response in response to corrections from 3M

18 years agoDelete non-existent "FID_FEE_ITEMS", since we heard back from 3M
djfiander [Fri, 14 Apr 2006 17:13:32 +0000 (17:13 +0000)]
Delete non-existent "FID_FEE_ITEMS", since we heard back from 3M
that the documentation about the Patron Information Response
message was incorrect.

18 years agoDon't use "ILS::pay_fee()", use "$ils->pay_fee()"
djfiander [Wed, 12 Apr 2006 15:22:13 +0000 (15:22 +0000)]
Don't use "ILS::pay_fee()", use "$ils->pay_fee()"

18 years agoChange label for tag generation
djfiander [Wed, 12 Apr 2006 15:21:35 +0000 (15:21 +0000)]
Change label for tag generation

18 years agoMore documentation
djfiander [Wed, 12 Apr 2006 15:20:54 +0000 (15:20 +0000)]
More documentation

18 years agoInitial documentation for the ILS.pm portable interface between
djfiander [Wed, 12 Apr 2006 02:00:26 +0000 (02:00 +0000)]
Initial documentation for the ILS.pm portable interface between
the SIP code and the ILS.

18 years agoadding loadable module support
miker-pines [Fri, 7 Apr 2006 02:29:56 +0000 (02:29 +0000)]
adding loadable module support

18 years agoBase makefile that just simplifies some common operations
djfiander [Wed, 5 Apr 2006 01:58:43 +0000 (01:58 +0000)]
Base makefile that just simplifies some common operations

18 years agoStub for Fee Paid functionality. Right now this is all handled
djfiander [Wed, 5 Apr 2006 01:53:33 +0000 (01:53 +0000)]
Stub for Fee Paid functionality.  Right now this is all handled
in the Transaction module itself.

18 years agoImplement stub support for Checkin operations in the ILS
djfiander [Wed, 5 Apr 2006 01:52:32 +0000 (01:52 +0000)]
Implement stub support for Checkin operations in the ILS

18 years agoImplement Superclass handlers necessary for Checkin and Fee Paid
djfiander [Wed, 5 Apr 2006 01:41:17 +0000 (01:41 +0000)]
Implement Superclass handlers necessary for Checkin and Fee Paid

18 years agoImplement Checking and Fee Paid response messages
djfiander [Wed, 5 Apr 2006 01:37:33 +0000 (01:37 +0000)]
Implement Checking and Fee Paid response messages

18 years agoFix calculation of ends of lists of items used in the Patron
djfiander [Wed, 5 Apr 2006 01:36:43 +0000 (01:36 +0000)]
Fix calculation of ends of lists of items used in the Patron
Status Response message

18 years agoAdd support necessary for Checkin operation
djfiander [Wed, 5 Apr 2006 01:36:07 +0000 (01:36 +0000)]
Add support necessary for Checkin operation

18 years agoImplement Checkin and Fee Payment stubs
djfiander [Wed, 5 Apr 2006 01:35:45 +0000 (01:35 +0000)]
Implement Checkin and Fee Payment stubs

18 years agoStrip off error detection fields, since they're automatically
djfiander [Wed, 5 Apr 2006 01:34:09 +0000 (01:34 +0000)]
Strip off error detection fields, since they're automatically
generated by the (Python) test harness anyway.  This way it's
easier to cut/paste messages into the interactive test session (I
really must develop a real test harness).

Change some fields to match the test database hardcoded into the
ILS module.

18 years agoAdd support for End Patron Session message
djfiander [Wed, 29 Mar 2006 23:08:49 +0000 (23:08 +0000)]
Add support for End Patron Session message

18 years agoAdd end_patron_session stub
djfiander [Wed, 29 Mar 2006 23:08:27 +0000 (23:08 +0000)]
Add end_patron_session stub

18 years agoAdded Patron Information request message
djfiander [Wed, 29 Mar 2006 01:53:17 +0000 (01:53 +0000)]
Added Patron Information request message

18 years agoMove $last_response here from Sip/MsgType.pm
djfiander [Wed, 29 Mar 2006 01:52:37 +0000 (01:52 +0000)]
Move $last_response here from Sip/MsgType.pm

18 years agoRestructure code to handle Patron Information message, move more
djfiander [Wed, 29 Mar 2006 01:51:56 +0000 (01:51 +0000)]
Restructure code to handle Patron Information message, move more
code into Sip.pm

18 years agoCreate stub APIs that provide information needed for Patron
djfiander [Wed, 29 Mar 2006 01:50:52 +0000 (01:50 +0000)]
Create stub APIs that provide information needed for Patron
Information Response message

18 years agoDefined field identify FID_FEE_ITEMS. This field id isn't
djfiander [Sun, 26 Mar 2006 12:30:55 +0000 (12:30 +0000)]
Defined field identify FID_FEE_ITEMS.  This field id isn't
defined by the specification, but it's required by the Patron
Information Response message.  The current value is a place
holder (and a guess at the true value), until we can hear back
from 3M about what the correct value is.

18 years agoMoved utility functions from Sip::Msgtype to here.
djfiander [Sun, 26 Mar 2006 12:29:04 +0000 (12:29 +0000)]
Moved utility functions from Sip::Msgtype to here.

18 years agoAdd support for "Patron Information" message and move some
djfiander [Sun, 26 Mar 2006 12:28:29 +0000 (12:28 +0000)]
Add support for "Patron Information" message and move some
utility functions into Sip.pm, in an attempt to manage the size
of this file.  In the long run, MsgType.pm will probably be split
into a set of files that collect similar sorts of messages
together.

18 years agochanged service IP address
djfiander [Wed, 22 Mar 2006 02:15:51 +0000 (02:15 +0000)]
changed service IP address

18 years agoCreate fields to store pending "screen message" and "print line",
djfiander [Wed, 22 Mar 2006 02:08:33 +0000 (02:08 +0000)]
Create fields to store pending "screen message" and "print line",
initially needed for "Block Patron" messages.

18 years ago"block patron" stub implemented. Basically just flag all the
djfiander [Wed, 22 Mar 2006 02:07:46 +0000 (02:07 +0000)]
"block patron" stub implemented.  Basically just flag all the
patron actions as not allowed.

18 years agoBlock Patron implemented. This required extracting the guts of
djfiander [Wed, 22 Mar 2006 02:06:42 +0000 (02:06 +0000)]
Block Patron implemented.  This required extracting the guts of
the "Patron Status" message handler out into a utility function
since both "Block Patron" and "Patron Status" messages require a
"Patron Status Response" message.

18 years agoDeleted sub y_or_n(), since it duplicates
djfiander [Tue, 21 Mar 2006 01:02:27 +0000 (01:02 +0000)]
Deleted sub y_or_n(), since it duplicates
Sip::MsgType::sipbool(), and that module is the only place it's
used.

18 years agoDefine subs that provide status information necessary for
djfiander [Tue, 21 Mar 2006 01:00:30 +0000 (01:00 +0000)]
Define subs that provide status information necessary for
handle_acs_status()

18 years agoDelete vestigal build_checkout_failed subroutine, convert
djfiander [Tue, 21 Mar 2006 00:59:25 +0000 (00:59 +0000)]
Delete vestigal build_checkout_failed subroutine, convert
handle_acs_status() to query status from ILS rather than from
configuration file.

18 years agoImplement Checkout message type based on the new ILS interfaces.
djfiander [Tue, 21 Mar 2006 00:31:12 +0000 (00:31 +0000)]
Implement Checkout message type based on the new ILS interfaces.

18 years agoCheckout transaction stub module. Derived from the Transaction
djfiander [Tue, 21 Mar 2006 00:29:43 +0000 (00:29 +0000)]
Checkout transaction stub module.  Derived from the Transaction
superclass.

18 years agoBeginnings of the stub Transaction class. All ILS transactions
djfiander [Tue, 21 Mar 2006 00:28:25 +0000 (00:28 +0000)]
Beginnings of the stub Transaction class.  All ILS transactions
(checkout, renew, etc.) are derived from this base class.

18 years agoImplement Checkout operation stub using the Transaction and
djfiander [Tue, 21 Mar 2006 00:26:55 +0000 (00:26 +0000)]
Implement Checkout operation stub using the Transaction and
Transaction::Checkout modules.

18 years agoBeginnings of the Item stub module: support for the Checkout
djfiander [Tue, 21 Mar 2006 00:17:54 +0000 (00:17 +0000)]
Beginnings of the Item stub module: support for the Checkout
operation

18 years agoFix package name, initialize ILS module.
djfiander [Tue, 21 Mar 2006 00:15:55 +0000 (00:15 +0000)]
Fix package name, initialize ILS module.

18 years agoInitial revision
djfiander [Thu, 9 Mar 2006 03:22:32 +0000 (03:22 +0000)]
Initial revision