2008-04-22T01:01:34 *** eeevil has quit IRC 2008-04-22T01:02:01 *** phasefx has quit IRC 2008-04-22T01:29:58 *** Mark__T has joined #openils-evergreen 2008-04-22T02:20:22 *** greg-g has quit IRC 2008-04-22T02:23:41 *** lisppaste6 has quit IRC 2008-04-22T02:43:55 *** lisppaste6 has joined #openils-evergreen 2008-04-22T02:55:39 *** eeevil has joined #openils-evergreen 2008-04-22T02:59:04 *** phasefx has joined #openils-evergreen 2008-04-22T04:13:32 *** eeevil has quit IRC 2008-04-22T04:14:13 *** eeevil has joined #openils-evergreen 2008-04-22T04:14:15 *** phasefx has quit IRC 2008-04-22T04:17:15 *** phasefx has joined #openils-evergreen 2008-04-22T09:49:50 *** pmurray is now known as pmurray_away 2008-04-22T09:53:45 *** phase_bb has quit IRC 2008-04-22T09:54:32 *** pmurray_away is now known as pmurray 2008-04-22T10:01:44 *** Mark__T has left #openils-evergreen 2008-04-22T10:47:33 *** greg-g has joined #openils-evergreen 2008-04-22T10:59:11 *** Karen_ has joined #OpenILS-Evergreen 2008-04-22T11:13:04 *** ibbo has joined #OpenILS-Evergreen 2008-04-22T11:42:20 *** gmcharlt has quit IRC 2008-04-22T11:43:58 *** ibbo has left #OpenILS-Evergreen 2008-04-22T11:45:47 *** gmcharlt has joined #OpenILS-Evergreen 2008-04-22T14:37:28 *** pmurray is now known as pmurray_away 2008-04-22T14:47:46 *** pmurray_away is now known as pmurray 2008-04-22T16:43:04 *** Karen_ has left #OpenILS-Evergreen 2008-04-22T16:54:04 *** EGUEST257 has joined #openils-evergreen 2008-04-22T16:54:25 *** EGUEST257 is now known as _trodat_ 2008-04-22T16:55:33 <_trodat_> [cough] Can I just ask a question? 2008-04-22T16:56:59 *** pmurray is now known as pmurray_away 2008-04-22T16:59:26 * _trodat_ raises hand. 2008-04-22T17:02:15 _trodat_: I most likely won't be able to help, so just giving a suggestion: ask the question and if someone sees it and knows the answer, they reply 2008-04-22T17:02:19 they'll 2008-04-22T17:03:35 <_trodat_> Ayet, I'll give it a go. 2008-04-22T17:04:01 <_trodat_> Can you use XML-SOAP requests and create/use an existing interface to the openils product? 2008-04-22T17:08:36 <_trodat_> I see some "return" type as xml ... but is there the ability to write data into the system as well formed XML... 2008-04-22T17:10:17 <_trodat_> Where the system handles the xml and handles it - the end result is a transaction based web service... [ I suck at communication ] 2008-04-22T17:17:09 _trodat_: yes, the http gateway can consume and produce both JSON and XML. there is also an XML-RPC gateway 2008-04-22T17:19:32 <_trodat_> The OpenSRF component? 2008-04-22T17:20:40 <_trodat_> http://open-ils.org/dokuwiki/doku.php?id=osrfhttp:opensrf_gateway 2008-04-22T17:21:16 _trodat_: that's it 2008-04-22T17:21:24 input_format=xml, in particular 2008-04-22T17:22:24 <_trodat_> JSON is fine to. The affect as the version branch moves along? 1.#.# to 2.# - lots of refactoring? Or is this ... as with all software? 2008-04-22T17:26:20 _trodat_: there's always refactoring, but most of that is invisible to existing client software 2008-04-22T17:26:57 <_trodat_> Alright, thanks for the answers. Have a great day. 2008-04-22T17:27:00 *** _trodat_ has quit IRC 2008-04-22T17:56:06 *** phase_bb has joined #openils-evergreen 2008-04-22T18:42:25 *** djfiander has joined #OpenILS-Evergreen 2008-04-22T18:46:51 * djfiander nervously launchs 'svn up' 2008-04-22T18:48:44 and... it's a good thing I backed everything up first *sigh* 2008-04-22T18:50:01 heh 2008-04-22T18:50:18 i rarely complain about having too many backups :) 2008-04-22T19:01:31 fortunately, I've only been editing 3 files. two of which were deleted. so I just had to restore my source into the new places. 2008-04-22T19:18:55 miker_, berick: here's a new one: 2008-04-22T19:18:58 djfiander pasted "'CSEditor' object has no attribute 'retrieve_actor_workstation' " at http://paste.lisp.org/display/59563 2008-04-22T19:26:18 oh! I need to install new eggs 2008-04-22T19:29:41 and that was it. 2008-04-22T20:23:21 miker_: OpenSRF trunk/src/javascript has DojoSRF.js opensrf.js and OpenSRF.js 2008-04-22T20:23:39 I thought DojoSRF.js was supposed to eliminate OpenSRF.js 2008-04-22T20:23:45 hrm... indeed it was 2008-04-22T20:23:50 arg .. brb 2008-04-22T20:23:54 then I'll kill it 2008-04-22T20:24:01 danke 2008-04-22T20:54:25 * djfiander begins to suspect that the acq.open-ils.org installation is beginning to acquire some cruft 2008-04-22T20:56:46 djfiander: file's removed 2008-04-22T21:00:10 and that stuff gets installed into /js/dojo/opensrf/ ? 2008-04-22T21:00:34 opensrf*js does 2008-04-22T21:00:48 DojoSRF.js goes into /js/dojo/ as of now 2008-04-22T21:00:58 ok 2008-04-22T21:01:10 and JSON_v1.js goes in opensrf right? 2008-04-22T21:04:05 hes 2008-04-22T21:04:06 yes 2008-04-22T21:04:11 as does md5.js 2008-04-22T21:04:23 tx 2008-04-22T21:08:41 djfiander: are you making much use of openils.User? 2008-04-22T21:09:04 just for the authtoken 2008-04-22T21:09:44 I'm planning to OO-ify it, so you'd 'var user = new openils.User( { session : authtokenstring } )' or similar 2008-04-22T21:09:57 ok 2008-04-22T21:11:05 to facilitate more than one user object (a staff member manipulating a patron, or another staff member, or multiple logged in staff accounts (Change Operator)) 2008-04-22T21:44:28 berick: you around? 2008-04-22T21:58:21 *** sarabee has quit IRC 2008-04-22T22:02:15 *** sarabee has joined #openils-evergreen 2008-04-22T22:12:57 miker_: yo 2008-04-22T22:14:49 berick: I've got an OO-ized openils.User ... check it in? 2008-04-22T22:15:38 miker_: sure, I can round up the ACQ code to fit 2008-04-22T22:16:33 k 2008-04-22T22:18:29 great. 2008-04-22T22:18:34 break everything again. 2008-04-22T22:18:38 :P 2008-04-22T22:18:57 djfiander: I do what i can 2008-04-22T22:22:06 berick: checked in 2008-04-22T22:22:59 k 2008-04-22T22:24:25 now we need to decide where to store the global currently logged in user for methods that currently assume a singleton object 2008-04-22T22:24:52 or pass the user in to each method 2008-04-22T22:25:17 berick: we can have getBySession and login store them in openils.User.user for back compat 2008-04-22T22:28:24 berick: want that I should go ahead and do that? 2008-04-22T22:28:56 berick: also, I've moved my translation widget into openils/widget/ to give OrgUnitFilteringSelect a friend 2008-04-22T22:29:02 seems having a single, globally logged in user is by far the most common use.. having an agreed upon way to handle that moving forward would be good. 2008-04-22T22:29:17 heh 2008-04-22T22:29:17 sure 2008-04-22T22:29:31 yeah, i say go ahead 2008-04-22T22:29:34 I agree, and openils.User.user is ... that ... right? 2008-04-22T22:29:34 k 2008-04-22T22:29:37 doing it 2008-04-22T22:30:17 well, so, should it only be set if it's currently not set? 2008-04-22T22:30:41 hmm 2008-04-22T22:30:50 so that you could call login later on another user without completely overwriting what was there before, perhaps retrieved by a session 2008-04-22T22:30:58 you can always tell it to live there 2008-04-22T22:31:15 openils.User.user = some_user; 2008-04-22T22:31:44 yeah, makes sense.. i was checking to make sure that setting those vars wasn't the /only/ thing that method did 2008-04-22T22:34:08 * berick merges changes into the acq branch.. 2008-04-22T22:34:37 get ready to merge some more :) 2008-04-22T22:34:56 svnmerge++ 2008-04-22T22:35:42 do my methods make sense? 2008-04-22T22:36:21 now you'd do, at least, 'new openils.User.getBySession(ses_id);' to populate the globals 2008-04-22T22:36:26 well, the user global 2008-04-22T22:36:36 and login populates all of them 2008-04-22T22:37:25 wait ... 2008-04-22T22:37:52 new openils.User({authtoken:ses_id}) 2008-04-22T22:37:57 that's all you need 2008-04-22T22:38:10 yeah, that makes sense 2008-04-22T22:40:21 and you could log someone in /and/ get everything populated with 2008-04-22T22:40:57 var u = new openils.User({username:'miker',passwd:'suxorz',login:true}); 2008-04-22T22:41:07 or get them by id with 2008-04-22T22:41:21 new openils.User({authtoken:ses_id,id:12345}) 2008-04-22T22:41:52 ok ... checking that stuff in 2008-04-22T22:43:02 checked in 2008-04-22T22:43:49 * berick nods, merges 2008-04-22T22:50:03 can one of you guys email me a list of what's supposed to be where? 2008-04-22T22:50:47 I will start again tomorrow to get everything going 2008-04-22T22:50:48 djfiander: yep, i can 2008-04-22T22:50:59 thanks. my box is a mess right now. 2008-04-22T22:51:02 *** djfiander has quit IRC 2008-04-22T23:01:35 http://stevenlevithan.com/regex/xregexp/ 2008-04-22T23:01:46 http://dojocampus.org/content/?p=100