Time |
Nick |
Message |
07:09 |
|
agoben joined #evergreen |
07:36 |
|
bdljohn joined #evergreen |
08:35 |
|
bos20k joined #evergreen |
08:36 |
|
mmorgan joined #evergreen |
08:45 |
|
JBoyer joined #evergreen |
08:57 |
|
terran joined #evergreen |
08:58 |
|
jvwoolf joined #evergreen |
08:58 |
|
mdriscoll joined #evergreen |
09:10 |
|
Dyrcona joined #evergreen |
09:11 |
Dyrcona |
@coffee [who] |
09:11 |
* pinesol |
brews and pours a cup of Hacienda La Esmeralda Special Mario Carnaval, and sends it sliding down the bar to (who [<channel>] <question>) -- Answers <question> with a random nick from <channel>. <channel> is only necessary if the message isn't sent in the channel itself. |
09:11 |
Dyrcona |
heh. |
09:17 |
csharp |
@coffee [band] |
09:17 |
* pinesol |
brews and pours a cup of Kenya Peaberry Deep River Estate, and sends it sliding down the bar to Farmer Brown |
09:23 |
|
jvwoolf joined #evergreen |
09:41 |
|
yboston joined #evergreen |
09:53 |
berick |
hey, Farmer Brown is a real band |
09:57 |
csharp |
yeah, that was my tribute to our glorious hometown c. early 90s :-) |
09:58 |
berick |
csharp: I figured :) |
09:58 |
berick |
i guess they're not a band anymore.. the name's up for grabs! |
09:58 |
csharp |
heh |
09:59 |
aabbee |
hello. i'm working on an application that talks to evergreen via the OSRF http gateway. i have an auth token (from open-ils.auth.authenticate.complete). i need the login type (opac vs staff) and/or workstation from that token. is this possible? |
10:00 |
aabbee |
open-ils.auth.session.retrieve takes an auth toke and gives me the actor.usr, but i need the login type and/or workstation. |
10:00 |
berick |
aabbee: actor.usr has a virtual field for ws_ou() and wsid() |
10:00 |
berick |
ws == workstation |
10:01 |
aabbee |
that should work, thank you. |
10:01 |
aabbee |
i tried using https://webby.evergreencatalog.com/opac/extras/docgen.xsl?service=open-ils.auth&all=on&offset=0&limit=25#/opensrf.system.echo to find documentation, but none of the links worked for me. |
10:02 |
aabbee |
berick++ |
10:20 |
|
jvwoolf1 joined #evergreen |
10:26 |
|
terran joined #evergreen |
10:31 |
miker |
aabbee: yeah, unfortunately the C services don't publish good docs for docgen to use |
10:40 |
Dyrcona |
aabbee: You typically specify the login type and workstation when you authenticate, btw. |
10:43 |
aabbee |
yes, i specify them when i obtain the token. but once i have the token, i want to go back and find what was specified originally. ideally (in my world), evergreen would preserve this state so i don't have to. |
10:46 |
Dyrcona |
aabbee: You program should preserve them, though I'm not sure what, exactly, you're doing. |
10:46 |
aabbee |
i can keep the token itself in the browser and validate it as needed. but i don't trust the browser to tell me "this token is for a staff login", i want evergreen to tell me that. |
10:46 |
Dyrcona |
You're writing something in JavaScript. Is this a new feature or a stand alone type of thing? |
10:47 |
berick |
wsid() will tell you if it's a staff login |
10:47 |
aabbee |
standalone type of thing. javascript and perl. the perl doesn't preserve state (cgi). |
10:47 |
|
khuckins joined #evergreen |
10:48 |
aabbee |
wsid tells me the workstation id. i can use a different workstation for staff vs non-staff logins. is that what you mean? or does wsid convey this more directly? |
10:48 |
berick |
aabbee: non-staff don't use workstations |
10:48 |
berick |
well, generally speaking |
10:48 |
Dyrcona |
Yeah, what berick said. :) |
10:50 |
aabbee |
yes. i can infer login type from wsid. and that's good enough for what i'm doing. |
10:50 |
* Dyrcona |
would attempt to structure the code so it doesn't care, perhaps with permission checks. |
10:51 |
berick |
the presence of a workstation is how the TPAC decides to display the patron or staff view. |
10:58 |
aabbee |
berick++ Dyrcona++ |
10:58 |
aabbee |
most of my challenges arise from the simple fact that i have no idea what i'm doing. no doubt y'all would have some great suggestions if you had more details, but i figure you're busy enough already. maybe we'll get to catch up at a conference or something. in the meantime, thank you for the help! |
11:01 |
Dyrcona |
aabbee: I've submitted a proposal for a pre-conference presentation on beginning backend programming. The focus will be Perl, but one of the first topics to be covered will be authentication. |
11:02 |
aabbee |
sounds fascinating! where do i sign up? :-) |
11:04 |
|
sandbergja joined #evergreen |
11:05 |
berick |
fortunately auth is a lot simpler in 3.2... just a single login function |
11:12 |
Dyrcona |
Login has been a single function in Cronscript.pm for quite a while. :) |
11:12 |
berick |
heh |
11:13 |
|
Christineb joined #evergreen |
11:49 |
|
beanjammin joined #evergreen |
11:49 |
|
beanjammin joined #evergreen |
11:49 |
|
beanjammin joined #evergreen |
12:06 |
|
beanjammin joined #evergreen |
12:10 |
|
jihpringle joined #evergreen |
12:47 |
|
beanjammin joined #evergreen |
13:07 |
|
Dyrcona joined #evergreen |
13:10 |
* Dyrcona |
can hardly wait for the UPS replacement battery that he ordered today to arrive. |
13:11 |
rhamby |
Dyronca: do you have a lot of power surges or brown outs or is it just for continuous power? |
13:11 |
Dyrcona |
The UPS just did a battery check and the old battery holds no charge. |
13:12 |
Dyrcona |
And, down went my router. (I should configure the BIOS to turn it on when power is restored, if that's possible. My other computer does that.) |
13:13 |
Dyrcona |
The replacement should be here "next week." |
13:14 |
Dyrcona |
rhamby: We do have rather crappy power in my neighborhood, plus my house was wired over 6 decades ago.... |
13:18 |
|
jvwoolf joined #evergreen |
13:30 |
jonadab |
Mmm, cloth insulation. |
13:30 |
jonadab |
"Cold is the same as ground, right?" |
13:31 |
Dyrcona |
Heh. |
13:32 |
Dyrcona |
I actually have wires with metal sheathing and not cloth insulation, so I'm guessing the house was rewired in the '50s about the time that the addition was put on. |
13:32 |
Dyrcona |
BVX, I think they call it. |
13:33 |
Dyrcona |
There is some old knob and spindle still hanging loose in the attic and in the basement from the '30s. It's not connected to the actual power and should have been completely removed. |
13:35 |
Dyrcona |
It may have been wired later. I'm not really sure. But enough of that.... |
13:41 |
|
rashma_away joined #evergreen |
13:41 |
|
mnsri_away joined #evergreen |
13:49 |
jeffdavis |
For anyone using recalls, I've run into a couple of bugs that are of interest, bug 1801191 and bug 1804716 |
13:49 |
pinesol |
Launchpad bug 1801191 in Evergreen 3.2 "Recalls can extend loan period" [Undecided,New] https://launchpad.net/bugs/1801191 |
13:49 |
pinesol |
Launchpad bug 1804716 in Evergreen 3.2 "New hold targeter filters copies by status incorrectly" [Undecided,New] https://launchpad.net/bugs/1804716 |
13:51 |
jeffdavis |
these affect recalls that happen on normal holds (e.g. title/copy) due to library settings, not sure about holds with hold_type = R |
13:51 |
|
beanjammin joined #evergreen |
15:11 |
|
mmorgan joined #evergreen |
15:16 |
|
jihpringle joined #evergreen |
16:00 |
|
khuckins_ joined #evergreen |
16:12 |
|
khuckins joined #evergreen |
16:18 |
|
beanjammin joined #evergreen |
16:31 |
|
yboston joined #evergreen |
16:38 |
|
nfburton joined #evergreen |
17:02 |
|
mmorgan left #evergreen |
17:04 |
jeff |
Web app that prevents me from open a "device status" link in a new tab. |
17:06 |
jeff |
Worse than that, when I force the issue and navigate to the app in two different tabs in an attempt to bring up the status page for two different devices for comparison, selecting device 1 in one tab and then device 2 in the other tab causes both tabs to display status for device 2. |
17:06 |
jeff |
Things not to emulate in our interfaces in Evergreen. :-) |
17:09 |
jeff |
Worse, the information in at least one tab is labeled incorrectly as being information for the other device. |
17:49 |
|
beanjammin joined #evergreen |
17:50 |
miker |
jeff: there's a "640k" joke in there somewhere... |
19:29 |
|
beanjammin joined #evergreen |
20:27 |
|
JBoyer joined #evergreen |