2008-04-02T00:23:34 *** greg-g has quit IRC 2008-04-02T01:31:26 *** Mark__T has joined #openils-evergreen 2008-04-02T04:47:54 *** Mark__T has quit IRC 2008-04-02T04:48:49 *** Mark__T has joined #openils-evergreen 2008-04-02T08:03:56 *** gmcharlt-away is now known as gmcharlt 2008-04-02T08:17:00 *** greg-g has joined #openils-evergreen 2008-04-02T08:41:30 *** edc_detached is now known as ecorrad0 2008-04-02T09:53:45 *** Mark__T has quit IRC 2008-04-02T10:13:39 *** Karen_ has joined #OpenILS-Evergreen 2008-04-02T11:12:32 *** EGUEST273 has joined #openils-evergreen 2008-04-02T11:13:36 *** EGUEST273 has quit IRC 2008-04-02T11:31:39 *** ecorrad0 is now known as edc_fooding 2008-04-02T11:45:16 eeevil: when do you think the dojo-admin branch will be merged to trunk? 2008-04-02T11:45:58 after 1.4 is branched? 2008-04-02T11:46:06 berick: soon, perhaps ... I want to get the same functionallity as the CGIs have now 2008-04-02T11:46:13 oh, before, I hope 2008-04-02T11:46:20 ok, cool 2008-04-02T11:46:54 I'd like to take advantage of you fieldmapper dojo code in the acq branch.. 2008-04-02T11:47:05 hmm, maybe an 'svn switch' to just pull the JS in 2008-04-02T11:50:08 let's work out a standard layout for the dojo stuff, and a distribution plan, and then we can merge it trunk? 2008-04-02T11:51:06 indeed, i was just going through the JS on app07 to see what all the pieces are. 2008-04-02T11:52:59 *** lisppaste6 has quit IRC 2008-04-02T11:54:05 eeevil: seem like a reasonable layout? http://rafb.net/p/mw5yjt77.html 2008-04-02T11:54:34 berick: have you dojo-ized the opensrf stuff? 2008-04-02T11:54:51 eeevil: i have not. it's still stand-alone at this point 2008-04-02T11:55:23 the dojo-ized fieldmapper stuff has to be installed as a peer to dojo and dijit 2008-04-02T11:55:31 if we dojo-ize it, it won't require dojo, right? it will just be enhanced by it? 2008-04-02T11:55:34 ahhh 2008-04-02T11:59:03 also, I have dojoized all of the FM stuff ... I'm testing that now 2008-04-02T11:59:52 cool 2008-04-02T11:59:56 brb 2008-04-02T12:00:02 it still requires fmall.js (or the like) but that can be dojo-ized too 2008-04-02T12:03:48 well, more specifically, I dojo-ized fmgen.js 2008-04-02T12:05:12 *** jbfink_ has joined #openils-evergreen 2008-04-02T12:06:10 Anyone here willing to take a gander at some autogen.sh output for me? 2008-04-02T12:06:43 I upgraded from 1.2.1.0 to 1.2.1.4, but things is broke, and I think it's because I need to rerun autogen. However, rerunning autogen yields the following discomfort. 2008-04-02T12:07:05 ... 2008-04-02T12:07:08 I think pastebin is broken too. 2008-04-02T12:07:18 cripes, man, not my day. 2008-04-02T12:08:03 ooh, proxy error. try http://rafb.net/paste/ 2008-04-02T12:08:10 thanks berick. 2008-04-02T12:08:31 http://rafb.net/p/eIXzn147.html <- just moving fieldmapper 2008-04-02T12:08:58 *** lisppaste6 has joined #openils-evergreen 2008-04-02T12:09:25 berick: ok, so if you're using dojo, all you need is fmall.js, then dojo.require('fieldmapper.Fieldmapper'); after that ... and, like I said, we can dojoize fmall and friends 2008-04-02T12:10:14 http://rafb.net/p/4RXFOm31.html 2008-04-02T12:10:16 berick: hell, you can just dojo.require('fieldmapper.dojoData'); and it'll pull everything else in 2008-04-02T12:10:47 eeevil: cool. as far as opensrf.js goes, i assume i can create a dojo-ization wrapper and put it in js_root/dojo/opensrf (or some such), and just leave opensrf.js proper alone? 2008-04-02T12:11:37 oh crap, is the problem that I was using opensrf.xml and not opensrf_core.xml? 2008-04-02T12:11:39 berick: yeah ... in fact, if all you want to do is load the file, just give dojo.require a second parameter of true so that it won't check for namespace stuff 2008-04-02T12:11:45 jbfink_: bingo 2008-04-02T12:11:55 my idiocy knows no bounds. 2008-04-02T12:28:00 *** jmellis has joined #openils-evergreen 2008-04-02T12:50:03 ok, now to clear out my backlog of replies to jangle-discuss 2008-04-02T13:01:16 *** scottmcd has quit IRC 2008-04-02T13:04:09 *** scottmcd has joined #openils-evergreen 2008-04-02T13:29:57 *** phasefx has joined #openils-evergreen 2008-04-02T14:11:39 *** dbs has joined #OpenILS-Evergreen 2008-04-02T14:14:16 *** rsinger_ has joined #OpenILS-Evergreen 2008-04-02T14:30:00 *** rsinger has quit IRC 2008-04-02T14:54:33 there you go, phasefx, unbreaking my code again 2008-04-02T14:54:44 *** rsinger_ is now known as rsinger 2008-04-02T14:54:48 dbs-- 2008-04-02T14:54:48 dbs: Error: You're not allowed to adjust your own karma. 2008-04-02T14:56:46 s/my code/my heart/ 2008-04-02T14:57:18 Open Source Confessions, tomorrow at 3 2008-04-02T15:00:06 berick: damn you 2008-04-02T15:00:26 * rsinger looks for an icepick to get that song out his head. 2008-04-02T15:01:57 haha 2008-04-02T15:04:53 jeeeeez, i really need to write a parser to check that the get*String properties actually exist 2008-04-02T15:04:57 tonight's homework 2008-04-02T15:06:24 orientation="horizontal" 2008-04-02T15:06:33 is that misspelled and I just can't see it? 2008-04-02T15:06:51 looks good to me 2008-04-02T15:07:03 are you doing xul or dojo? 2008-04-02T15:07:04 dojo-- 2008-04-02T15:07:11 dojo 2008-04-02T15:07:28 cool. Was just think it's @orient in xul 2008-04-02T15:09:21 gah 2008-04-02T15:09:30 needed layoutAlign too 2008-04-02T15:09:44 *** jbfink_ has quit IRC 2008-04-02T15:11:08 *** dmcmorris_dt has quit IRC 2008-04-02T15:14:39 *** dmcmorris_dt has joined #openils-evergreen 2008-04-02T15:14:41 *** dmcmorris_dt has left #openils-evergreen 2008-04-02T15:14:41 *** dmcmorris_dt has joined #openils-evergreen 2008-04-02T15:57:15 arg, can't use the osrf http translator in conjunction with paster (pylons) dev server 2008-04-02T15:59:38 why? 2008-04-02T15:59:47 is paster an apache mod? 2008-04-02T16:00:10 it's a standalone http test server, runs on a different port 2008-04-02T16:00:16 ajax tells me NO! 2008-04-02T16:00:24 ahhh... security 2008-04-02T16:00:32 yeah 2008-04-02T16:00:47 *** dmcmorris_esi has joined #openils-evergreen 2008-04-02T16:00:50 not a biggie, most of the new work will be JS, so paster is not as crucial in that case 2008-04-02T16:01:12 * dmcmorris_esi wonders about rewriting an apache directory to paster... 2008-04-02T16:01:47 we could proxy apache to paster-served content 2008-04-02T16:01:48 yeah, could do a mod_proxy with no caching 2008-04-02T16:01:58 can't turn that off? 2008-04-02T16:02:20 * dmcmorris_esi will continue to watch via dumb terminal ;) 2008-04-02T16:02:22 *** dmcmorris_esi has left #openils-evergreen 2008-04-02T16:02:31 btw guys, that alternate title feature is indeed in the context of placing holds, not academic reserves 2008-04-02T16:02:49 phasefx_: for traverse you mean 2008-04-02T16:03:21 nevermind me 2008-04-02T16:03:32 these are not the droids you are looking for 2008-04-02T16:34:26 *** jmellis has left #openils-evergreen 2008-04-02T16:46:14 *** agJohn has joined #openils-evergreen 2008-04-02T16:54:06 yay. properties file parser with duplicate key detection built, now to start parsing xul and javascript looking for dbs errors 2008-04-02T17:01:17 I'm about to have update/delete for group perm maps for the new admin interface ... after I get add, let's look at merging to trunk. that should be tonight ... I /think/ that replaces all the CGI functionality ... have to check to be sure 2008-04-02T17:02:04 whoa, do you have circ/hold rule creation as well? 2008-04-02T17:02:20 no 2008-04-02T17:02:26 just the existing CGI functions 2008-04-02T17:03:41 well, i'm referring to the "Circulation and Holds Rules" CGI option 2008-04-02T17:03:51 oh ... no 2008-04-02T17:04:04 that, luckily, should be much simpler :) 2008-04-02T17:04:12 yeah :) 2008-04-02T17:04:37 hrm... well, it still hates me 2008-04-02T17:04:41 but, it's close 2008-04-02T17:04:44 * eeevil out 2008-04-02T17:41:36 *** agJohn has quit IRC 2008-04-02T17:41:36 *** phasefx has quit IRC 2008-04-02T17:41:36 *** Karen_ has quit IRC 2008-04-02T17:41:36 *** tristanbob__ has quit IRC 2008-04-02T17:41:36 *** edc_fooding has quit IRC 2008-04-02T17:43:39 *** agJohn has joined #openils-evergreen 2008-04-02T17:43:39 *** phasefx has joined #openils-evergreen 2008-04-02T17:43:39 *** Karen_ has joined #openils-evergreen 2008-04-02T17:43:39 *** tristanbob__ has joined #openils-evergreen 2008-04-02T17:43:39 *** edc_fooding has joined #openils-evergreen 2008-04-02T17:46:06 *** Karen_ has left #OpenILS-Evergreen 2008-04-02T17:46:12 *** Karen_ has joined #OpenILS-Evergreen 2008-04-02T17:49:05 *** Karen_ has left #OpenILS-Evergreen 2008-04-02T18:04:30 *** edc_fooding has quit IRC 2008-04-02T18:04:30 *** phasefx has quit IRC 2008-04-02T18:04:30 *** agJohn has quit IRC 2008-04-02T18:04:30 *** tristanbob__ has quit IRC 2008-04-02T18:24:23 *** agJohn has joined #openils-evergreen 2008-04-02T18:24:23 *** phasefx has joined #openils-evergreen 2008-04-02T18:24:23 *** tristanbob__ has joined #openils-evergreen 2008-04-02T18:24:23 *** edc_fooding has joined #openils-evergreen 2008-04-02T19:52:06 *** djfiander has joined #OpenILS-Evergreen 2008-04-02T20:04:52 berick: there's something weird going on with the styles that you moved around 2008-04-02T20:05:15 The body's not the full height of the window. If I put the styles inline again, it works fine 2008-04-02T20:27:19 djfiander: that is weird 2008-04-02T20:27:49 djfiander: hey, i dojo-ized the menu tree in the left panel, will i step on your toes if I commit that? 2008-04-02T20:28:05 don't think so. I'm not touching the navigate files 2008-04-02T20:28:11 k 2008-04-02T20:30:22 ok, I managed to display the lineitems in a picklist as a dojo Tree, but that's the wrong widget. So I'm switching to Grid. 2008-04-02T20:30:27 should go pretty fast. 2008-04-02T20:57:04 djfiander: grid's a little tougher than tree :( ... also, hint: make sure the grid is given a height and width of its own -- otherwise it won't show up 2008-04-02T20:57:32 yeah, there's definitely more to it, but it looks like that's what I need. 2008-04-02T20:57:35 thanks for the hint. 2008-04-02T20:57:47 yay, miker_'s back 2008-04-02T21:01:48 dbs: well, I gotta go vacuum in a minute, but yeah, I'll be around tonight :) 2008-04-02T21:02:02 djfiander: jfyi, the JS will probably be laid out something along the lines of http://rafb.net/p/eIXzn147.html. nothing too mind blowing there ;) 2008-04-02T21:02:18 miker_: don't worry, I don't have any horrible surprises to lay on you 2008-04-02T21:02:53 djfiander: dojox.grid is one of the biggest reasons I've been pulling for dojo, actually ... it is suprisingly badass ... much more badass than comparable xul widgets, and with dojo.data, well... :) 2008-04-02T21:03:09 dbs: I know I owe you theories is all :) 2008-04-02T21:03:12 ok, so I can create a file called openils/acq/picklist.js 2008-04-02T21:03:48 miker_: yeah, the dojo.data thing is sweet. and since I did it already for the abortive Tree of last night, I just have to do the layout stuff today. 2008-04-02T21:04:03 nice :) 2008-04-02T21:05:22 I know you've got stuff already, probably using dojo.data.ObjectStore, but dojo.require('fieldmapper.dojoData') will give all the fieldmapper classes .toStoreData and fromStoreItem methods ... so, there's that :) 2008-04-02T21:07:35 djfiander: yeah, that's the idea. 2008-04-02T21:08:37 miker_: heh. I'm not that far advanced yet. right now I'm using FileStore with a json backend dumping all the data in one go. 2008-04-02T21:14:31 * djfiander crosses fingers 2008-04-02T21:19:13 * miker_ vacuums 2008-04-02T21:25:51 *boom* 2008-04-02T21:33:56 djfiander: is your rough plan for now to grid/tree-ify the existing acq interfaces? since they're all essentially just lists of objects 2008-04-02T21:34:07 pretty much 2008-04-02T21:34:22 well, I'm eliminating the "view_lineitem" template. 2008-04-02T21:34:51 the idea is that the picklist has a list of titles, and you expand a title to see the detail of the copies 2008-04-02T21:34:57 ahh, ok 2008-04-02T21:35:08 one of the opac's did that, way back when 2008-04-02T21:35:31 I think that picklists need to be bookmarkable, but title details don't. 2008-04-02T21:36:06 yeah, that makes sense 2008-04-02T21:36:32 djfiander: did you say you were populating a tree from fetched JSON yesterday? 2008-04-02T21:36:37 yup 2008-04-02T21:36:48 as in, retrieving data via opensrf JS call? 2008-04-02T21:37:15 heh. no. using a pylons controller and then having the python just send back some stuff 2008-04-02T21:37:26 oh, ok 2008-04-02T21:38:00 test 2008-04-02T21:38:08 i hit me today that paster will not play nicely with the opensrf http translator (because of ajax security issues), which is annoying, to say the least 2008-04-02T21:38:11 s/i/it/ 2008-04-02T21:38:19 /oils/acq/picklist/json/2 gives a stripped down json struct of the stuff important to acq. 2008-04-02T21:39:08 if you are going to continue to develop with 'paster' on the mac, we may need to figure out a way around the ajax issues 2008-04-02T21:39:26 ahh... cool (re: json) 2008-04-02T21:40:31 making direct opensrf makes sense. 2008-04-02T21:40:51 no point in bouncing the data all over the place and packing and unpacking it a half dozen times 2008-04-02T21:40:59 djfiander: hint the second -> grid.model.query = { jub : jub_store.getValue( current_jub, 'id' ) }; grid.model.refresh(); grid.refresh(); 2008-04-02T21:42:17 (assuming you wanted to grab all the lineitems for the jubs in view, toss them in a store, and do stuff client side without refetching) 2008-04-02T21:42:44 djfiander: well, collecting data via the opensrf JS api gives you more flexibility and should be faster in the long run (maybe even now) 2008-04-02T21:43:52 * berick wonders if paster can act as a proxy 2008-04-02T21:44:10 berick: that's what I figure (faster) 2008-04-02T21:46:19 ok, we're already on the same page then ;) 2008-04-02T21:46:44 but right now, me having total control makes for a faster dev cycle :D 2008-04-02T21:47:17 of course :) 2008-04-02T21:48:55 fwiw, if you want to use permacrud (and I think we should -- it enforces permissions extra-strict-like) then it's not as fast as direct fetch (obviously) ... it also does not allow fleshing directly, since that can easily bypass visibility restrictions 2008-04-02T21:49:35 but, fetching from there directly, esp for small lists (in the 10s) is plenty fast, and we can make the screen blink while it works, to show "movement" :) 2008-04-02T21:49:59 yeah, i bet there will be lots of good uses of permacrud in the acq interfaces 2008-04-02T21:50:19 berick: in all interfaces ;) 2008-04-02T21:50:26 * berick nods 2008-04-02T21:50:41 hm, is it in the ACQ branch? 2008-04-02T21:51:16 berick: dojo makes some of the crap I fought with in the template builder so easy that I'm considering a rewrite -- or side-write 2008-04-02T21:51:40 man, should have used the svnmerge to keep the acq branch up to date with trunk.. live and learn 2008-04-02T21:52:04 miker_: it is exciting how easy some of this stuff is... 2008-04-02T21:52:26 * berick pushes miker_ toward a report builder interface rewrite ;) 2008-04-02T21:52:38 berick: ha 2008-04-02T21:52:46 the template interface is already pretty slick 2008-04-02T21:52:54 berick: I'm gonna stick you with that for as long as I can ;) 2008-04-02T21:52:59 haha 2008-04-02T21:53:01 doh 2008-04-02T21:56:02 berick: I'm thinking about a different interface, one that just pulls togther sources -- some from the IDL, some from existing templates (with parameterized where clauses stripped) ... use those to build uber-queries that run right then and populate a Gears-based local SQLite DB, which feeds a dojo.Grid for local exploration ... use dojox.chart to draw pictures ... 2008-04-02T21:56:51 call it Louis ... to the existing Clark ;) 2008-04-02T21:58:39 interesting 2008-04-02T21:59:58 i wonder if dojo.Grid has built in support/plugins for slurping in and managing a gears DB 2008-04-02T22:02:57 berick: I bet it does 2008-04-02T22:18:29 berick: I don't see a Gears store right now, but it looks like it would be simple to use the QueryReadStore ... you had it functions to fetch pages of items and it asks for them as needed 2008-04-02T22:20:08 easy enough, it sounds 2008-04-02T22:29:47 ok, more weird stuff is going on. I've got a box with a heading, but there's no contents, and there's a couple of checkboxes, for no apparent reason 2008-04-02T22:30:10 bedtime for me, I'll look more tomorrow. 2008-04-02T22:30:14 heh 2008-04-02T22:30:15 later 2008-04-02T22:30:17 djfiander++ 2008-04-02T22:30:26 *** djfiander has left #OpenILS-Evergreen 2008-04-02T22:39:47 automated_tests++ 2008-04-02T23:20:44 *** dbs has quit IRC