Evergreen ILS Website

IRC log for #evergreen, 2017-03-06

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat

All times shown according to the server's local time.

Time Nick Message
04:55 NawJo joined #evergreen
05:01 pinesol_green News from qatests: Test Success <http://testing.evergreen-ils.org/~live>
07:09 dbs and there was much rejoicing
07:14 rjackson_isl joined #evergreen
07:24 GK_1wm__SU joined #evergreen
07:33 graced good morning, dbs
08:04 jeff dbs++
08:20 Enjabain joined #evergreen
08:38 mmorgan joined #evergreen
08:52 bos20k joined #evergreen
09:22 mdriscoll joined #evergreen
09:22 yboston joined #evergreen
09:27 jvwoolf joined #evergreen
09:42 Enjabain joined #evergreen
09:59 kmlussier joined #evergreen
09:59 terran joined #evergreen
10:01 mmorgan1 joined #evergreen
10:02 rlefaive_ joined #evergreen
10:44 mmorgan joined #evergreen
10:52 Dyrcona joined #evergreen
11:22 remingtron joined #evergreen
11:34 remingtron joined #evergreen
11:41 StomproJ joined #evergreen
12:03 brahmina joined #evergreen
12:05 sandbergja joined #evergreen
12:15 jihpringle joined #evergreen
12:17 UofD joined #evergreen
12:37 maryj joined #evergreen
12:42 pastebot "phasefx" at 64.57.241.14 pasted "playing with webstaff print templates" (7 lines) at http://paste.evergreen-ils.org/51
12:45 phasefx berick: I'm trying to morph a copy of the webstaff Print Templates UI into a spine label printer, and I wonder if you have any thoughts on how the CSS is working or not working with print templates.If I try something like the above paste for the Item Status template, the Preview Page shows the two divs side by side, but when actually printing, that formatting gets stripped.  Maybe I need to
12:45 phasefx pull in bootstrap.css
12:51 berick phasefx: using egPrint.print(..)  (or egCore.print.print) ?
12:52 phasefx berick: the latter
12:52 berick k, you shouldn't have to add any CSS, etc.
12:52 phasefx for my purposes anyway.  But the Item Status test, I'm not sure what it's using
12:53 phasefx collab/phasefx/webstaff_print_labels
12:54 berick Item Status test?
12:55 phasefx berick: sorry, I tried testing doing fancy stuff with the existing print templates, Item Status in particular, since I'll be just shoving the same sort of data with the spine label interface
12:55 berick oh, gotcha
12:55 phasefx so, ignoring my code altogether for the moment, printing in Item Status doesn't do what I'd expect based on the print tempalte preview
12:56 phasefx I tried replacing the stock Item Status template with the contents of the paste above
12:57 berick i see.. and the preview looks right, but the final print is wrong
12:57 phasefx right
12:58 berick confirmed, the row/col stuff has no effect on the final print
12:59 berick phasefx: hatch or no hatch?
12:59 phasefx this direction is just an experiment in any case.. another option for my purposes is try using just one <pre> per label, and rendering formatted text into it.  No hatch
13:00 berick ok, interesting, i confirmed on hatch.  which now that I think about it, makes perfect sense, since hatch doesnt' have bootstrap loaded (unless manually loaded)
13:00 * phasefx is also sad to see page-break-after: always; not aligning perfectly with the page size, but that's probably a different battle
13:01 berick phasefx: i think i'm wrong about the css.  any CSS used has to be defined in the template
13:01 berick the existing templates all use simple constructs, <li>, <table>, etc.
13:01 * phasefx nods
13:01 berick in part, that means we don't have to ship boostrap and jquery off to Hatch with every print command
13:01 berick (or have it load them, i mean)
13:02 phasefx can we negate the influence of bootstrap in the preview?
13:02 berick good question
13:04 phasefx I do see some use of css/print.css for in-browser printing in the print service
13:04 phasefx ah, it gets pulled inline
13:04 berick yeah, that hides the rest of the page during printing
13:05 berick frankly, i'm a little surprised the bootstrap stuff didn't work for in-browser printing.  in the end, it's good that it doesn't, but I'm not sure why it doesn't
13:06 berick could be bootstrap's own print media controls
13:06 phasefx in base.tt2 we're not specifying @media for bootstrap, I wonder if that was breaking things
13:08 berick maybe.  would be nice if BS worked, but we should also avoid using it for any stock templates, becasue of the hatch limitations.  and probably put message in the templae editor about how CSS works there.
13:09 phasefx berick: so for now (and probably forever), I should implement tables with inline CSS if desired, or try less fancy things.  And not rely on the preview for figuring it out
13:09 berick phasefx: yeah.  and the preview is still reliable, i think, when not using bootstrap classes.
13:09 phasefx berick: rock, thanks man
13:11 phasefx berick: one more question, have we created our own template filters anywhere?  {{ copy.id | foo }}
13:13 berick phasefx: no template-specific filters that i'm aware of.  i think there are a few misc. custom filters floating around, though.
13:13 berick phasefx: anything in particular you're trying to do?
13:15 phasefx berick: I'm contemplating how to reimplement the label interface; I definitely want to re-use the print template mechanism if I can, but the XUL is doing stuff like creating a matrix of characters of specific dimensions that it renders text into..   8 characters by 9 rows, for example, and I'm wondering if I could do something like  {{ copy.label | format 8 9 }}
13:17 berick gotcha.  well, filters will def. work on print templates.  they run at the rendering (pre-Hatch) stage.  we use date filters a lot.
13:19 phasefx berick: doing something like TT's helpers.get_bib_details is probably out of the question.  Should do that in the javascript that populates the print scope
13:19 berick phasefx: right, TT has no part to play in the data collection for webstaff
13:20 * phasefx did try mixing the two at one point and was scratching his head :)
13:20 khuckins joined #evergreen
13:20 phasefx [% something( {{ something }} ) %]
13:21 phasefx berick: alright man, I'm going to leave you be.  Thanks for your brain :D
13:21 berick yeah, safe travels through the print jungles :)
13:21 phasefx I escaped it once
13:22 maryj_ joined #evergreen
13:42 dbs phasefx / berick - having looked at the wheezy_installer branch for the first time over the weekend, I think it might make sense to separate the jessie installer into its own branch so that commits could be cherry-picked etc rather than duplicated by hand in near-identical files in the same branch
13:43 dbs (if, for example, we stop building nodejs 0.10.3 from git and move to a precompiled modern nodejs from nodejs.org)
13:44 kmlussier Do you think we can close bug 1117658? Or should we move it to Fix Released when 3.0 comes out? :)
13:44 pinesol_green Launchpad bug 1117658 in Evergreen "Experiment with more browser-based staff interfaces" [Wishlist,Triaged] https://launchpad.net/bugs/1117658
13:47 bshum @who is destined to finish working on bug 1117658
13:47 pinesol_green phasefx is destined to finish working on bug 1117658.
13:47 bshum Mark it "in progress" and assign it to phasefx.  pinesol_green has spoken!
13:47 Dyrcona heh
13:48 kmlussier It's all yours, phasefx!
13:50 pinesol_green [evergreen|Victoria Lewis] LP#1522638 Record holds tab gets modal progress bar - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=1110f32>
13:50 pinesol_green [evergreen|Bill Erickson] LP#1522638 egProgressDialog features and docs - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=7b3a1ca>
13:50 pinesol_green [evergreen|Bill Erickson] LP#1522638 Bib holds egProgressDialog API updates - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=c96d529>
13:50 pinesol_green [evergreen|Bill Erickson] LP#1522638 Patron search uses progress modal - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=8d12a5a>
13:54 phasefx dbs: I likes it
13:54 phasefx bshum: kmlussier: :P
13:57 kmlussier Our list of webstaffclient LP bugs with a pullrequest tag that have not yet been committed is dwindling. http://bit.ly/2mxacTZ
14:08 JBoyer joined #evergreen
14:09 JBoyer joined #evergreen
14:17 berick dbs: makese sense.  i use the collab/berick/ubuntu-auto-installer branch these days.  for me, it made more sense to put all of the installer stuff in one branch, probably because the repo itself is chaos.  (the branch is essentially the repository).  a branch per target would be easier to maintain, though.
14:17 berick WRT cherry-picking fixes
14:27 Dyrcona Well, we could make an installer repo.
14:27 berick indeed
14:27 * Dyrcona is installing Debian to a USB stick using kvm, speaking of installers.
14:29 Dyrcona I've worked with one other repo where the branches were totally different, but they were all related to building VMs and it was a repo of my and tsbere's creation.
14:29 Dyrcona I was thinking of something similar for tracking our server configuration files here.
14:29 Dyrcona A master branch with the base files for every other branch and then a branch for each server's specific changes/additions.
14:30 Dyrcona git is fun like that. :)
14:30 phasefx random aside, I'm really surprised at how often I have frozen Chrome
14:31 Dyrcona I love it when Firefox starts showing popup menus in apparently random locations in the window far away from where it should be. :)
14:31 Dyrcona That' probably just an Ubuntu problem. :)
14:34 Dyrcona btw, phasefx, lsb-release is part of the base system. You don't get the option to deselect it.
14:34 Dyrcona If it's missing from the test vm images, I think that's a matter of concern, 'cause what else is missing?
15:09 phasefx Dyrcona: how much longer are we supporting wheezy?
15:09 Dyrcona phasefx: Another year, I gather.
15:09 Dyrcona Unless we decide to drop it before that if Debian 9 comes out.
15:10 JBoyer Anyone in here familiar with some upcoming development about tagging items for circ matrix reasons? I'm not exactly familiar with the name of the project, but I know "tag" came up wen discussing it.
15:10 JBoyer I know I've heard about it from miker, but I don't know if EOLI is doing it or just knows about it.
15:12 Dyrcona JBoyer: You can use limit groups to tag circulations of similar items, but other than that, I'm not familiar with tagging wrt circ matrices.
15:14 mmorgan joined #evergreen
15:14 JBoyer Dyrcona: as I understood it, it was more like adding items to a bucket, but you could reference that tag/bucket/etc. in a ccmm for making circ decisions on. (So you could have a "new" tag, "r-rated", "bestseller", things like that.)
15:15 Dyrcona Heh. It has been some time since I last saw the message "LiLo 23.2 Loadin Linux....." but grub2 refused to install onto my USB stick.
15:15 Dyrcona IDk.
15:15 JBoyer I also remember 2.12 coming up in reference to it, so I'm thinking it'll be a bit.
15:15 Dyrcona kvm++
15:15 JBoyer Dyrcona: I didn't know LiLo was still being developed. That takes me back.
15:16 * JBoyer had one of those distros that could be installed onto a DOS partition and started with linux.bat or something similar.
15:16 Dyrcona Yeah. Last time I used LiLo was back in Slackware 4 & 7 days.
15:16 phasefx Dyrcona: re: wheezy, fwiw, the vm has base-files 7.1wheezy9 before the installer does any updates
15:17 miker JBoyer: we're working on infrastructure that could later be used for that, bit the use case we're doing is "digital bookplates". it'll use copy buckets with a new type to manage things that look like tags if you squint.
15:17 Dyrcona phasefx: OK, but I just did two wheezy installs in a row and both times, lsb-release went by when installing base files. You might want to run apt-get -f.
15:18 JBoyer miker: Ah; either I forgot or never made the connection to the bookplates project. That at least gives me something to keep an eye on.
15:18 JBoyer Thanks!
15:20 pinesol_green [evergreen|Bill Erickson] LP#1653001 Hold details authoritative API cstore maintenance - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=02edc5c>
15:20 pinesol_green [evergreen|Bill Erickson] LP#1653001 webstaff: Holds pull list sortable columns - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=1f55699>
15:20 pinesol_green [evergreen|Bill Erickson] LP#1653001 Hold pull list progress dialog - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=6fa137e>
15:21 phasefx Dyrcona: I just did the update/upgrade/dist-upgrade dance, still no lsb-release, and apt-get -f upgrade offers nothing new :(
15:22 Dyrcona phasefx: Dunno, then, guess we keep the commit in the random branch. :)
15:22 phasefx only once package has something other than ii in dpkg --list, and that's libept1 with rc
15:22 phasefx s/once/one/
15:22 Dyrcona So far it looks like lsb-release is the only thing missing.
15:24 rlefaive joined #evergreen
15:27 kmlussier miker / phasefx: I think webby might need a kick. I'm getting blank pages when I log in.
15:28 * kmlussier was going to see if the web client bugs she found last night are also happening on webby.
15:28 phasefx kmlussier: logs say Database connection isn't working
15:28 berick yay, progress bars
15:29 kmlussier berick: I'm looking at the negative balances one next. Then I'm done looking at the web client for a few days.
15:29 phasefx kmlussier: I"ll restart things at least; don't know the root cause yet
15:29 kmlussier phasefx: Thanks!
15:29 berick oh and pull list.  kmlussier++
15:31 phasefx kmlussier: back up
15:31 kmlussier phasefx++
15:37 phasefx still don't know the root cause, but it was broken for a few days.  I'll leave that for gmcharlt and miker :)
15:45 Jillianne joined #evergreen
16:08 kmlussier phasefx: It's still being fussy. I'm getting Internal Server errors when I place holds. I'll get back to it after gmcharlt or miker has a chance to look at it.
16:09 phasefx kmlussier: sounds good
16:10 kmlussier berick: I added a comment to bug 1642378. It looks good when I loaded it on my VM with older master, but I'm getting conflicts against current master.
16:10 pinesol_green Launchpad bug 1642378 in Evergreen "Web Staff Client: Patrons With Negative Balances Loading" [Wishlist,Confirmed] https://launchpad.net/bugs/1642378
16:11 phasefx kmlussier: I know what it is, can fix.  opensrf.xml not updated with open-ils.hold-targeter
16:11 berick kmlussier: looking now..
16:12 berick kmlussier: are you just picking the 3 tip commits or rebasing the whole branch?
16:12 kmlussier berick: Just the 3 tip commits.
16:12 berick k, sec
16:12 kmlussier I think the conflict is with the recent fix to the selection boxes in the same interface.
16:13 berick ah, yeah, probably
16:15 phasefx kmlussier: webby should be fixed now
16:18 kmlussier phasefx++
16:18 berick kmlussier: lp updated, user/berick/lp1642378-neg-balance-load-fail-rebase
16:18 kmlussier berick++
16:24 phasefx csharp: the default template for the XUL spine label interface, do you know if that's a real world example, that say, PINES uses?  If so, could you do me a favor and dig up some label stock information and dimensions that go with it?
16:25 dbs phasefx: the default template is close to what Conifer uses
16:27 phasefx dbs++  I'm experimenting with using a plain old <table> to separate the spine label from the pocket label, but I want to work with CSS for specifying the dimensions, and not number of characters and rows
16:27 * phasefx does have an angular filter for wrapping based on number of characters though
16:28 Dyrcona Thunderbird tells me I have 11 new emails, but I have 29.
16:29 Dyrcona Maybe that's since the last time that I looked at email.
16:29 dbs phasefx: so Avery label specifications are probably your friend with @media print stylesheets measured in actual cm or inches?
16:30 phasefx dbs: that's what I'm missing.  Avery!
16:31 phasefx it occurs to me that folks might be able to do sheet labels now with this stuff, without having to use BDL's CGI script
16:31 dbs or in our case Dymo (as we use the rolls to print one label at a time: 30347 1x1.5")
16:32 dbs phasefx: flexgrid perhaps?
16:33 phasefx dbs: not familiar with it, but per berick, we're going to have to inline any CSS we need
16:33 * phasefx is avoiding bootstrap
16:33 dbs err, flexbox (but yeah, that's reasonably advanced: https://developer.mozilla.org/en-US/docs/Web/CSS/​CSS_Flexible_Box_Layout/Using_CSS_flexible_boxes)
16:34 dbs given that labels aren't (normally) going to grow and shrink, unnecessary
16:34 phasefx I still keep mixing TT in my head with these angular templates, was imagining USE table
16:37 pastebot "phasefx" at 64.57.241.14 pasted "what I have at the moment for the stock template example" (11 lines) at http://paste.evergreen-ils.org/53
16:38 mmorgan1 joined #evergreen
16:39 phasefx with that filter, we could plug-in different call number wrapping algorithms (still need to implement that, and pull in shelving location prefixes, etc.)
16:40 kmlussier phasefx: if you can get sheet labels up and running, I'm pretty sure a bunch of catalogers in these parts will throw a party.
16:41 phasefx kmlussier: :D  hopefully someone else will get the itch by that point, but I'm hoping the infrastructure will make it easy-ish
16:43 phasefx kmlussier: dbs: just curious, would you guys be horrified if the library settings went away, or would you like to see template variables pull that data in for use in inline-CSS?
16:43 phasefx for font, etc.
16:44 phasefx angular templates and CSS can be scarier than what folks are using now, but a chance to get rid of YAOUS.. :)
16:45 kmlussier phasefx: The Library Settings make it easy for individual catalogers who do not necessarily know CSS to update those settings for their libraries.
16:45 dbs YAOUS are arguably way simpler, yeah
16:45 phasefx kk
17:02 pinesol_green News from qatests: Test Success <http://testing.evergreen-ils.org/~live>
17:04 JBoyer-alt joined #evergreen
17:08 mmorgan1 left #evergreen
17:09 abowling left #evergreen
17:13 pinesol_green [evergreen|Bill Erickson] LP#1642378 Webstaff org selector misc. repairs - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=354988b>
17:13 pinesol_green [evergreen|Bill Erickson] LP#1642378 Webstaff Negative Balance org select repairs - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=e8c945b>
17:13 pinesol_green [evergreen|Bill Erickson] LP#1642378 Webstaff negative balance UI progress dialog - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=1682039>
17:21 Dyrcona All right. It is past time that I head home.
18:38 dscott joined #evergreen
20:34 StomproJ joined #evergreen
22:25 jeff okay, yeah. search_path. much fun.

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat