<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body text="#000000" bgcolor="#FFFFFF">Hello,<br>
<br>
Alright, so  I did some digging...<br>
looks like this commit => 
<a class="moz-txt-link-freetext" href="https://github.com/clrh/koha-restful/commit/fe08a78985b8e6a33ede2d3d798ac42ebbb426f8">https://github.com/clrh/koha-restful/commit/fe08a78985b8e6a33ede2d3d798ac42ebbb426f8</a>
 <br>
<br>
changed the Catalog.pm from using C4::Items::get_itemnumbers_of to use 
C4::Items::GetItemsInfo<span><meta charset="utf-8"> but didn't change 
the mock in the test, which is why the tests didn't pass. I've updated 
my code to mock out GetItemsInfo so all the tests pass now. <br>
  <br>
And now to start adding new features...<br>
  <br>
best,chris.   </span><br>
<br>
<br>
<blockquote style="border: 0px none;" 
cite="mid:CANzSRva6t-UGq=M0fMVZ2mQk0_xT4_W7mdu_+P+Jbxv-toj7dA@mail.gmail.com"
 type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">       <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="cf@wmu.se" photoname="Fitzpatrick, Christopher" 
src="cid:part1.07050509.08050203@wmu.se" 
name="compose-unknown-contact.jpg" width="25px" height="25px"></div>   <div
 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:cf@wmu.se" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Fitzpatrick, Christopher</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">February 27, 2013
 9:39 AM</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div dir="ltr"><br><div 
style="">Hello,</div><div style=""><br></div><div style="">Sorry if this
 is documented somewhere that I'm not seeing, but I have pulled down the
 latest version of Koha  and the restful code for development, but 
several of restful tests do not pass. It looks like all empty JSON is 
being returned, so I think my test environment is not right....are there
 maybe some mock definitions I'm missing? Apologize about for being 
dense...this is my first pass at setting up Koha for development...</div>
<div style=""><br></div><div style="">thanks for any help...b,chris. </div><div
 style=""><br></div><div style=""><br></div></div><div 
class="gmail_extra"><br><br><br></div>

  </div>
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">       <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="cf@wmu.se" photoname="Fitzpatrick, Christopher" 
src="cid:part1.07050509.08050203@wmu.se" 
name="compose-unknown-contact.jpg" width="25px" height="25px"></div>   <div
 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:cf@wmu.se" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Fitzpatrick, Christopher</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">February 22, 2013
 9:14 AM</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div dir="ltr">Hi, <div><br></div><div
 style="">So, I went a bit more in-depth with the rest.pl... I'm curious
 if there's a plan to add user interaction functionality to this? Like 
allow users to renew loans, place holds, cancel holds? </div>
<div style="">If someone where to add this, would you take a 
pull-request, or is this out of scope and should this be forked to a 
project? </div><div style=""><br></div><div style="">thanks 
again..b,chris.</div><div class="gmail_extra">
<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><br></div></div>

  </div>
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">       <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="cf@wmu.se" photoname="Fitzpatrick, Christopher" 
src="cid:part1.07050509.08050203@wmu.se" 
name="compose-unknown-contact.jpg" width="25px" height="25px"></div>   <div
 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:cf@wmu.se" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Fitzpatrick, Christopher</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">February 19, 2013
 11:34 AM</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div dir="ltr"><div><br></div>Hi, <div><br></div><div>Excellent!
 Thanks for the info. The koha-restful package looks like a better fit 
than the <a moz-do-not-send="true" href="http://ilsdi.pl">ilsdi.pl</a> 
script. It was a little hard to install, but I figured it out ( could 
not find a <span 
style="color:rgb(0,0,0);font-family:monospace;font-size:12px;white-space:pre">libcgi-application-dispatch-perl
 for squeeze, but found  package </span>libcgi-application-basic-plugin-bundle-perl
 has this module.) Looks like everything works. </div>
<div>  </div><div style="">I actually just implemented OAuth2 with Koha 
(we use Google Apps for Education, so all our student's use gmail), so I
 think this will simplify the authentication situation as well...</div><div
 style="">
<br></div><div style="">I'm currently writing a ruby gem to interact 
with Koha...I'll send an update to the list when I publish it, just in 
case anyone else is interested...</div><div style=""><br></div><div 
style="">thanks again. b,chris. </div>
<div><div class="gmail_extra"><br><br><br></div></div></div>

  </div>
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">       <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="chrisc@catalyst.net.nz" photoname="Chris Cormack" 
src="cid:part4.09050502.04020005@wmu.se" name="postbox-contact.jpg" 
width="25px" height="25px"></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:chrisc@catalyst.net.nz" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Chris Cormack</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">February 18, 2013
 9:27 PM</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div><!----><br>I'd POST to it,
 over SSL<br><br>Chris<br><br></div></div>
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">       <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="cf@wmu.se" photoname="Fitzpatrick, Christopher" 
src="cid:part1.07050509.08050203@wmu.se" 
name="compose-unknown-contact.jpg" width="25px" height="25px"></div>   <div
 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:cf@wmu.se" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Fitzpatrick, Christopher</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">February 18, 2013
 3:34 PM</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div dir="ltr"><br><div 
style="">Hi everyone,</div><div style=""><br></div><div style="">I've 
just started working on some "connector" code to extend some 
functionality of our Koha instance by interacting with another web app 
we use. I'm wanting to authenticate users to their Koha accounts and it 
seems like using the ILSDI api would be the easiest way, since it would 
it would allow me to not have to make a direct DB connection. </div>
<div style=""><br></div><div style="">However, looking at the 
AuthenticatePatron action,  I'm not too comfortable passing username and
 password simply as clear text GET parameters, so I am trying to come up
 with some ways to avoid this, as it's not very secure. Limiting IP 
access to the <a moz-do-not-send="true" href="http://ilsdi.pl">ilsdi.pl</a>
 probably does not  complete resolve this issue, since the username and 
password will still be captured in the http logs. I am curious what are 
some of the security measures others are using when using this api? </div>
<div style=""><br></div><div style="">Thanks for any help! Very 
much appreciated...best, chris fitzpatrick </div></div>

  </div>
</blockquote>
</body></html>