Evergreen ILS Website

IRC log for #evergreen, 2018-04-05

| 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
01:30 beanjammin joined #evergreen
01:52 beanjammin joined #evergreen
04:13 dbwells joined #evergreen
05:16 rlefaive joined #evergreen
06:31 pinesol_green News from qatests: Testing Success <http://testing.evergreen-ils.org/~live>
07:02 jlundgren joined #evergreen
07:11 rlefaive joined #evergreen
07:48 rlefaive joined #evergreen
07:55 collum joined #evergreen
08:04 Dyrcona joined #evergreen
08:10 agoben joined #evergreen
08:33 ngf42 joined #evergreen
08:34 mmorgan joined #evergreen
08:53 rlefaive_ joined #evergreen
09:08 kmlussier joined #evergreen
09:15 littlet joined #evergreen
09:25 yboston joined #evergreen
09:33 Dyrcona joined #evergreen
09:33 Dyrcona I love the smell of new kernels in the morning. :)
09:36 JBoyer So long as they don't smell of smoke, anyway. :)
09:41 jvwoolf joined #evergreen
09:51 Dyrcona heh.
10:13 rlefaive joined #evergreen
10:29 rlefaive joined #evergreen
10:31 beanjammin joined #evergreen
10:36 Christineb joined #evergreen
11:05 rlefaive joined #evergreen
11:11 kdt8 joined #evergreen
11:38 mmorgan joined #evergreen
11:38 littlet joined #evergreen
11:38 beanjammin joined #evergreen
11:48 Jaswinder joined #evergreen
11:48 Jaswinder Hello Everyone,
11:49 Jaswinder I need  help with knowing how I can call custom ebook api to get the results to display on results page? I already have API returning data
11:51 mmorgan joined #evergreen
11:56 Dyrcona Jaswinder: You should start by looking at the opac/results.tt2 template.
11:57 yboston joined #evergreen
12:03 Jaswinder Dyrcona: I have already looked at that page. The question is how I call the API when the results page is loaded? Is the call to search happening inside perl module? How it is working?
12:06 Jaswinder Is the EGCatLoader/Search.pm load_rresults method the place?
12:09 jeffdavis Jaswinder: the intended use for the built-in ebook API stuff is to modify the standard results page after it loads by calling open-ils.ebook_api methods via Javascript.
12:09 jeffdavis If you want to build an entirely new results page, yes, you could look at load_rresults and follow that as a model for doing your external search.
12:14 Dyrcona Basically, what jeffdavis said, but if you do it in load_rresults, you'll make it take that much longer to render the page.
12:15 Dyrcona If you do it as the current Ebook API does, the page will load and then get modified as your results come back.
12:15 Jaswinder Understood. I want refrain from modifying the native method. How do I make use ebook api to get the result back to UI? What are the steps involved?
12:18 Dyrcona You'll want to add new API methods for you API as a submodule of the existing ebook API, and then call those in the appropriate code files.
12:18 Dyrcona It sounds like you're on your way to doing the first.
12:19 Dyrcona And, I'm not entirely certain at this point what files actually make the current ebook api calls, that's why I suggested starting with results.tt2.
12:19 Dyrcona Somewhere in there and/or the templates that it uses, you'll find references to the code that makes the ebook calls.
12:19 Jaswinder I have already implement API by extending Ebook APIs
12:20 Jaswinder let me check that
12:23 beanjammin joined #evergreen
12:27 Jaswinder It appears that the ebook results are shown on the same table. I want to only display results from a specific vendor. Basically, I have setup the tabs and the user will click the tabs and then page will display results from that vendor
12:28 Dyrcona Do you mean you're adding tabs to results.tt2 or some other template?
12:28 Jaswinder Yes, to results.tt2
12:29 Dyrcona If so, have the code that loads the tabs make the API calls to get the data.
12:29 khuckins joined #evergreen
12:29 Jaswinder That is the intention. I am struggling to find out how I can do this the right way. Thoughts?
12:30 Dyrcona Well, if it's just for your installation, you can do it how you like.
12:30 Dyrcona I think I'd add a new submodule under EGCatLoader/ to load the tabs and get the data.
12:31 Dyrcona So, something like the load_rresults method in Search.pm, but in a new PM with a different name.
12:31 Jaswinder Okay, this is what I was asking. So, how this submodule will be called?
12:31 Dyrcona By "called" do you mean named, or how it will get called in the code?
12:31 yboston joined #evergreen
12:32 Jaswinder the latrer
12:32 Jaswinder *later
12:33 Dyrcona OK. Look in EGCatLoader.pm's load subroutine.
12:33 Dyrcona You'll see lines that look like:     return $self->load_library if $path =~ m|opac/library|; and so on.
12:34 Dyrcona So, you'll need to figure out a path for your tabs, and set up something like.
12:34 Jaswinder Yes
12:35 Dyrcona Looking at EGCatLoader/Account.pm and the myopac templates may also be instructive as that uses a lot of tabs.
12:35 Jaswinder I am passing the key value pair in the URI as vendor=abc and then I display specific information on the same results.tt2 page
12:37 Dyrcona Well, the way EGCatLoader works, the query string (i.e. URI parameters don't matter), it looks at the path.
12:38 Dyrcona That ) is in the wrong place, but anyway.
12:43 Jaswinder So, I have to basically setup a new page and then add an entry to EGCatLoader.pm to call another method that will return the results from Ebook?
12:44 Dyrcona Basically, but you load it as a "tab" on the results page if you really want to. It won't necessarily be easy.
12:44 Dyrcona Should be "can" between you & load in that last line.
12:47 Jaswinder One more question how do I can extend web client timeout settings for a user?
13:00 Dyrcona I don't think you can extend it for a single user, and I'm not sure where that setting lives in the code.
13:00 Dyrcona Sometimes, you'll run into issues with the backend module timeouts as well.
13:04 jeffdavis To support SIP hold cancellation, it looks like you need to enable the msg64_hold_datatype option in oils_sip.xml. Does <item name="hold"> in the <supports> block also need to be set to true? Any other config changes required?
13:04 mmorgan Jaswinder: Perhaps the org_unit setting auth.staff_timeout (Staff Login Inactivity Timeout (in seconds)) is what you're looking for.
13:11 Dyrcona jeffdavis: Do SIPServer and Evergreen have code for hold cancellation?
13:11 jeffdavis yes, bug 1083334
13:11 pinesol_green Launchpad bug 1083334 in Evergreen "Support SIP Hold Cancellation" [Wishlist,Fix released] https://launchpad.net/bugs/1083334
13:12 Dyrcona Ah, well, then. Yes, I think you need to set the <item name="hold"> to true in the supports block.
13:12 Dyrcona I've not done much with holds and SIPServer.
13:13 jeffdavis I wonder if <item name="hold" value="true"/> will lead to SIP clients trying to do other, unsupported hold actions like creating holds.
13:14 Dyrcona Yes, probably.
13:14 Dyrcona I believe that will send the flag that says, "I support holds."
13:15 Dyrcona I didn't look at the code, you may not have to enable that, but your client may not think it can cancel holds.
13:18 Dyrcona After looking, I'm less sure. :)
13:18 Dyrcona "The more I learn, the less I know."
13:18 Jaswinder ok thanks
13:18 Jaswinder I wil try
13:19 rlefaive joined #evergreen
13:20 Dyrcona jeffdavis: Evergreen only checks if the field is permitted, but I don't know what your client will do if it says holds are not supported.
13:21 Jaswinder I can't find auth.staff_timeout setting. Which file it has the settings?
13:22 Dyrcona Jaswinder that's in the database: actor.org_unit_setting and config.org_unit_setting_type.
13:23 Jaswinder ah
13:23 Jaswinder let me look
13:24 Dyrcona If it's not in actor.org_unit_setting, you'll need to insert a row with an appropriate value.
13:27 jihpringle joined #evergreen
13:27 Jaswinder Shouldn't I be adding entry for 'ui.general.idle_timeout'?
13:28 Jaswinder What would go into value field for org_unit_settings? a string or a number?
13:29 Dyrcona Jaswinder: No, you want the setting that mmorgan mentioned.
13:29 Dyrcona The value field of actor.org_unit_setting is a JSON value represented as a string.
13:30 Dyrcona So, for a number you enter the number in a SQL string: '14400' for example.
13:30 Jaswinder something like this: insert into actor.org_unit_setting (org_unit, name, value) values (1 'auth.staff_timeout', "100")
13:30 Dyrcona Single quotes and 100 is way too short.
13:30 Dyrcona 100 is 100 seconds.
13:30 Jaswinder okay got it
13:30 Dyrcona 14400 will give you 4 hours.
13:31 Dyrcona I think it's the default if it isn't set, but I've been known to be wrong about these things. :)
13:31 Dyrcona It may be what we used at my previous place of employment.
13:32 Jaswinder do I have to restart any service?
13:33 Dyrcona I think you'll need to restart open-ils.auth.
13:33 Dyrcona Probably best to restart everything.
13:38 Jaswinder ok
13:38 rlefaive joined #evergreen
13:48 mmorgan I'm working on an action trigger reactor to do a check in of long overdue items and I'm having trouble with the authtoken. How do I get an authtoken to the reactor? Any ideas? Can I get it into the trigger environment?
13:48 krvmga_ joined #evergreen
13:49 mmorgan Or do I have to create it within the reactor?
13:51 JBoyer mmorgan, you would likely have to create it within a custom reactor. I don't recall how it all works, but IF the A/T Reactor has access to the private OpenSRF domain I *think* it can call one of the new auth parameters that just says "log me in as X, don't worry about my password"
13:52 berick exactly, you can use the new auth_internal service to create an authtoken
13:52 berick w/o having a password
13:52 JBoyer Failing that, it may have to have some kind of external config for the password unless a new API is added. (This would also be important if the automatic renewal on due date feature that some have asked for is to be done. Can't store everyone's password...)
13:52 berick there's an example of that in AuthProxy.pm
13:53 mmorgan Oh, ok. That sounds promising. I need to run out for a bit, but will look at that example when I return.
13:53 berick you'll need a user ID, which you could pass in as an event parameter
13:53 JBoyer Oh, yay. It may be time to look into that auto renew thing again then.
13:54 alynn26 joined #evergreen
13:56 ohiojoe DIG meeting here in 5 minutes, just an FYI
13:56 berick @who will interrupt the DIG meeting with a song by [band] ?
13:56 pinesol_green egbuilder will interrupt the DIG meeting with a song by Broken as Designed.
13:58 ohiojoe lol
13:59 Dyrcona hey, that's my band.... :P
14:00 ohiojoe #startmeeting 2018-04-05 – Documentation Interest Group Meeting
14:00 pinesol_green Meeting started Thu Apr  5 14:00:44 2018 US/Eastern.  The chair is ohiojoe. Information about MeetBot at http://wiki.debian.org/MeetBot.
14:00 pinesol_green Useful Commands: #action #agreed #help #info #idea #link #topic #startvote.
14:00 pinesol_green The meeting name has been set to '2018_04_05___documentatio​n_interest_group_meeting'
14:00 ohiojoe #topic agenda
14:01 ohiojoe #link https://wiki.evergreen-ils.org/doku.php?id=​evergreen-docs:dig_meeting_20180405-agenda
14:01 ohiojoe #topic Introductions: please paste "#info <username> is <name> <affiliation>" to identify who you are and what organization, if any, you represent
14:01 rlefaive joined #evergreen
14:02 jihpringle #info jihpringle is Jennifer Pringle, BC Libraries Cooperative (Sitka)
14:02 alynn26 #info alynn26 is Lynn Floyd, Anderson County Library, SCLENDS
14:02 ohiojoe #info ohiojoe is Joe Knueven, an Evergreen enthusiast
14:02 dluch joined #evergreen
14:02 jlundgren #info jlundgren is Jeanette Lundgren, CW MARS
14:03 dluch #info dluch is Debbie Luchenbill, MOBIUS
14:04 ohiojoe #topic Ongoing Business
14:04 ohiojoe #topic Progress on documenting new features in Evergreen 3.0 (and previous) and the Web client Web Client docs
14:06 Bmagic #info Bmagic is Blake GH, MOBIUS
14:06 ohiojoe Does anyone have anything to share/discuss/etc here?
14:07 dluch I don't, sorry.  Though I have started updating the Missouri Evergreen docs for web client, so may have some by the conference
14:08 abowling1 joined #evergreen
14:09 alynn26 Working on our docs currently, hoping to finish the ones I am working on by Conference.
14:11 ohiojoe sounds good..  it's good to hear we have a few in the works..  :-)
14:11 ohiojoe anything else here?
14:11 alynn26 Then I am going to tackle label printing.  There have been some changes.
14:12 jvwoolf joined #evergreen
14:12 dluch Ooo, yes, alynn26, that will be helpful!
14:13 ohiojoe yeah, it's been a tough area for folks..
14:15 ohiojoe we ready to move along?
14:15 alynn26 yep
14:15 ohiojoe #topic Progress on documentation launchpad bugs
14:15 ohiojoe #link https://bugs.launchpad.net/evergr​een/+bugs?field.tag=documentation
14:16 ohiojoe #link https://bugs.launchpad.net/evergreen/+bug/1642023
14:16 pinesol_green Launchpad bug 1642023 in Evergreen "Docs: Web Client Print / Receipt Templates" [Medium,Triaged] - Assigned to Lynn Floyd (lfloyd)
14:16 ohiojoe #link https://bugs.launchpad.net/evergreen/+bug/1494736
14:16 pinesol_green Launchpad bug 1494736 in Evergreen "Docs: Self Check docs additions" [Undecided,New]
14:16 ohiojoe #link https://bugs.launchpad.net/evergreen/+bug/1744358
14:16 pinesol_green Launchpad bug 1744358 in Evergreen "Fix and improve Action Trigger Reactor docs" [Undecided,Confirmed]
14:16 ohiojoe #link https://bugs.launchpad.net/evergreen/+bug/1426120
14:16 pinesol_green Launchpad bug 1426120 in Evergreen "Documentation: Best-hold selection Sort Order options" [Undecided,New] - Assigned to Josh Stompro (u-launchpad-stompro-org)
14:16 alynn26 I am just about ready for the receipt templates to roll out.
14:23 alynn26 \me is thinking we need to move on.
14:27 ohiojoe ok, let's move on.  Sorry about that, i got pulled away from the keyboard for a second
14:28 ohiojoe #topic Old Business
14:28 ohiojoe #topic Previous action items
14:29 ohiojoe On this front, I can report that #13 is completed..  (assuming dluch recieved them.. ;-)  )
14:30 jihpringle and #12 is complete
14:30 dluch Yes!  Thank you!
14:30 ohiojoe and that #14 I've contacted everyone that I didn't personally know was active, and got several responses.  I just need to carve out an hour and update eveyrone on there
14:30 dluch They are currently in a pile of things to bring to the conference.  :-)
14:31 alynn26 I've heard from several of our consortium members who like the new layout of the docs.
14:33 alynn26 During the annual Dig Dig in the Lighting talks, I can ask all current members to make sure the Wiki page is updated.  or let the DIG list know.
14:33 abowling joined #evergreen
14:34 dluch Maybe both/
14:34 dluch ?
14:34 alynn26 Both works
14:34 ohiojoe That sounds like a good plan.  I do have about 6-10 folks listed there who never responded to my email who were added many years ago..
14:34 alynn26 I wonder if those are even active in Evergreen anymore?
14:35 ohiojoe possibly not.  I was thinking about emailing both lists (DIG and general), about it.  I don't want to move someone to past participant if they're quietly churnning out documents somewhere..
14:36 yboston joined #evergreen
14:38 dluch Yeah, true!  Emailing both lists is probably a good idea
14:38 alynn26 I know we can run a report in GIT about who has contributed documentation.  It would be good to see who is on that list in comparison.  I know there are several that do but do not attend the DIG meetings.
14:39 jihpringle one of those emails got passed onto me and then buried in my inbox, Tina and Shannon from Sitka aren't active in DIG anymore so can be removed from the list (they're still around doing Sitka docs)
14:41 ohiojoe actually, counting Shannon and Tina as past participants, I only about 7 who I don't know a status for..
14:42 ohiojoe I'll send an email or two and then see if I can get a hold of a GIT report..  that sounds like the sort of thing that might not even require edit access..
14:43 alynn26 ask kmlussier, I know she has ran it in the past.
14:44 ohiojoe Sounds good, I'll do that..
14:44 ohiojoe Anyway, does anyone have anything to add on any of the other action items?
14:45 alynn26 no
14:46 ohiojoe #topic New Business
14:46 ohiojoe #topic Adding glossaries to the manual?
14:46 ohiojoe #link http://www.methods.co.nz/asciido​c/userguide.html#_glossary_lists
14:47 alynn26 Like this idea, I'll start adding them to my new docs.
14:47 dluch Hmm, that is a good idea.
14:49 jihpringle agreed
14:53 alynn26 Once we get a few in, then we need to recompile the docs, and start adding them to the older docs.
14:53 ohiojoe that sounds like an action item looking for someone to spearhead the effort..
14:54 alynn26 One of the things we need to think about is if more than one of us define a term?
14:54 dluch Is that something folks could work on at the hackfest?
14:54 alynn26 That would really work for the Hackfest, we can then define terms together.  Maybe by then we get a list of terms that need defining to begin with.
14:55 ohiojoe That sounds like a good way to start with it..
14:56 alynn26 So, we will place this on the agenda for the Hackfest.
14:56 khuckins_ joined #evergreen
14:56 alynn26 and we start looking at terms that need defining.
14:57 ohiojoe sounds good...  in fact, should I go ahead and just create a regular agenda-ish thing and send out suggestions for the hackfest?
14:58 ohiojoe I know a lot depends on what people are working on already, but if people have suggestions of things that lend themselves well to being worked on collectively like that.. .
14:58 dluch Probably a good idea
14:58 ohiojoe ok, I'll do that..
14:58 dluch Yeah, when we're all in a room together is perfect for something like this
14:58 ohiojoe #action ohiojoe will create an agenda for the hackfest
14:59 jihpringle we also probably want an agenda for the DIG meeting Wednesday morning
14:59 ohiojoe I should have added and email out for suggestions..
14:59 ohiojoe yeah.  in the past, have those typically vaired from the regular agenda?  I'll admit, I've not made one of those meetings previously..
15:00 alynn26 More will come to that meeting than the hackfest, I know there are usually only few of us at the hackfest.
15:00 ohiojoe ok, I'll create an agenda for that meeting as well and email out suggestions for topics to discuss..
15:01 alynn26 Ususally they start with a discussion on what dig is, and then we go in to a discussion on the topics of note.
15:01 ohiojoe #action ohiojoe will create an agenda for the in person DIG meeting at EIC 2018 and email out for suggestions
15:02 ohiojoe I'll start working on an introduction for that meeting..
15:02 dluch Sounds good.
15:02 ohiojoe with that in mind, and since we're up against the hour, do we have any last things?
15:02 dluch Is anyone able/going to do an ASCIIDOC intro at the hackfest?  Or not this year?
15:03 dluch (sorry, that can be for the agenda discussion later...)
15:03 alynn26 Not that I know of.  I had not planned on one.
15:04 alynn26 I could work something up for the hackfest,
15:04 ohiojoe no, it's a good question..  I'd wanted to do something, but am so far behind that I'd more likely need it than to be able to teach it..
15:04 alynn26 depending on who all is there, we will see what people need.
15:05 ohiojoe sounds like a plan
15:06 ohiojoe with that, thank you everyone
15:06 ohiojoe #endmeeting
15:06 pinesol_green Meeting ended Thu Apr  5 15:06:08 2018 US/Eastern.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)
15:06 pinesol_green Minutes:        http://evergreen-ils.org/meetings/evergr​een/2018/evergreen.2018-04-05-14.00.html
15:06 pinesol_green Minutes (text): http://evergreen-ils.org/meetings/evergr​een/2018/evergreen.2018-04-05-14.00.txt
15:06 pinesol_green Log:            http://evergreen-ils.org/meetings/evergree​n/2018/evergreen.2018-04-05-14.00.log.html
15:06 jihpringle ohiojoe++
15:07 dluch Thanks!  ohiojoe++
15:07 alynn26 ohiojoe++
15:10 mmorgan joined #evergreen
15:10 Bmagic ohiojoe++
15:14 ohiojoe I look forward to seeing many of you in MO in a few weeks
15:14 remingtron ohiojoe++ #leading meetings
15:14 remingtron (even though I wasn't present)
15:17 ohiojoe I appreciate the encouragement.. :-)
15:28 jaswinder joined #evergreen
15:29 jas joined #evergreen
15:30 rlefaive joined #evergreen
15:40 JBoyer Before I start digging around in code, I don't suppose anyone has an idea of the top of their head whether this is a possible workflow in Vandelay:
15:41 JBoyer Import bibs with 852's, incoming records match against existing, the Match only Merge  profile is used to "ignore" the incoming record, items in incoming 852's are added to existing bib.
15:43 berick JBoyer: yes, IIRC that's the main goal of the match-only merge
15:43 JBoyer Excellent. Then I'm apparently doing something wrong.
15:44 JBoyer I'll keep experimenting. (I just didn't want to keep trying things over and over if it wasn't possible.)
15:47 rhamby "I have not failed. I've just found 10,000 ways that won't work."  - Thomas Edison
15:47 rhamby jboyer: presumably you're not at attempt 10K yet so you're doing better than Edison!
15:48 Dyrcona :)
15:48 berick rhamby++
15:48 Dyrcona rhamby++
15:48 Dyrcona JBoyer++
15:49 Dyrcona berick++
15:49 JBoyer berick++
15:49 JBoyer rhamby++
15:50 JBoyer I'd be happiest if it were < 10, but we'll see. ;)
16:01 kmlussier joined #evergreen
16:03 khuckins__ joined #evergreen
16:14 kmlussier alynn26 / ohiojoe / jihpringle: This is what I have for commits to the docs directory over all time. https://pastebin.com/D0ipVeky
16:15 kmlussier If you want to see who is recently active, I can get a list from the past year or two.
16:15 jeff looks like we need to update our .mailmap file a bit, too :-)
16:18 kmlussier jeff: Yes, I've been thinking of doing that for a couple of years now. I became interested in it the first year we did the annual report because I had to do a bit of data massaging that year.
16:19 * kmlussier doesn't pull the git stats for the annual report anymore, but I'm sure rhamby would find it useful too when he does it.
16:20 alynn26 Kmlussier, can we get the last year, and then the last 3 years.
16:20 kmlussier alynn26: Sure, no problem.
16:20 alynn26 Thanks.
16:24 jlundgren left #evergreen
16:24 kmlussier alynn26: Since April 1 of last year - https://pastebin.com/dWmjjc90
16:27 gmcharlt https://evergreen-ils.org/​evergreen-3-1-0-released/
16:27 Bmagic gmcharlt++
16:27 kmlussier alynn26: Since April 1, 2015 - https://pastebin.com/jnZ9w1BD
16:28 kmlussier Those also include release notes entries that are written with each new feature. Because, of course, that gives us our initial documentation.
16:29 kmlussier gmcharlt++
16:29 alynn26 Kmlussier++, I'll share them with the group.
16:30 yboston joined #evergreen
16:46 sandbergja joined #evergreen
16:46 sandbergja joined #evergreen
16:53 mmorgan1 joined #evergreen
16:55 stephengwills left #evergreen
17:11 mmorgan1 left #evergreen
17:21 ohiojoe kmlussier:  cool!  Thank you!
17:21 ohiojoe kmlussier++
17:29 jvwoolf left #evergreen
18:32 pinesol_green News from qatests: Testing Success <http://testing.evergreen-ils.org/~live>
18:53 jaswinder joined #evergreen
18:56 beanjammin joined #evergreen
19:45 jaswinder joined #evergreen
20:13 jaswinder joined #evergreen
20:38 b_bonner left #evergreen
21:51 jaswinder joined #evergreen

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