IQSS logo

IRC log for #dataverse, 2016-12-21

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:37 djbrooke joined #dataverse
04:40 djbrooke joined #dataverse
08:11 sivoais_ joined #dataverse
08:23 jri joined #dataverse
08:46 cipherrot joined #dataverse
09:01 petrichor joined #dataverse
09:06 petrichor joined #dataverse
10:28 yoh joined #dataverse
13:09 donsizemore joined #dataverse
14:26 dataverse-user joined #dataverse
14:30 dataverse-user pdurbin: Hey sorry couldn't come online yesterday. You have time today?
14:32 pdurbin dataverse-user: sure, you were asking about ports and such
14:37 dataverse-user not exactly post
14:37 dataverse-user url context
14:37 dataverse-user ports*
14:38 dataverse-user I want to change base URL for my DV instance to https://domain:80/dataverse
14:54 skay joined #dataverse
14:55 pdurbin dataverse-user: can you achieve this by reconfiguring nginx?
14:56 dataverse-user pdurbin: like doing a URL rewrite to remove dataverse and then forward requests?
14:58 pdurbin dataverse-user: well, in Apache I can proxy an an app to wherever I want, I think. One sec.
14:58 djbrooke joined #dataverse
14:59 pdurbin dataverse-user: here, check out `ProxyPass / ajp://localhost:8009/` at http://guides.dataverse.org/en/4.6/installation/shibboleth.html#edit-apache-ssl-conf-file
14:59 pdurbin I *think* could change this to `ProxyPass /dataverse ajp://localhost:8009/` and then the app would be served at https://domain:80/dataverse like you want.
15:09 djbrooke joined #dataverse
15:21 dataverse-user I doubt if that will work. Nginx will forward request that will contain /dataverse in URL and Glassfish won't support that as Dataverse is configured to run on '/' by default.
15:22 dataverse-user pdurbin: Anyways let me give it a try, I will get back to you in some time.
15:22 djbrooke joined #dataverse
15:24 pdurbin dataverse-user: ok. Thanks. I certainly could be wrong. It happens all the time. :)
15:28 pameyer joined #dataverse
15:34 djbrooke joined #dataverse
15:37 donsizemore joined #dataverse
16:38 djbrooke joined #dataverse
16:43 pdurbin pameyer: Mornin'. I'm about to push a commit I'd like you to review.
16:48 pameyer pdurbin: morning
16:48 pameyer got a link?
16:49 pdurbin pameyer: the main thing to look at is the JSON example I added to native-api.rst: https://github.com/IQSS/dataverse/commit/b622694
16:51 pameyer looks good to me
16:52 pdurbin pameyer: you should also be able to populate affiliation and position but I haven't tested it. Obviously, I added this API endpoint to help with your migration.
16:53 pameyer it'll help for that - could also help with ongoing new users post-migration
16:53 djbrooke Hey pdurbin - now that this endpoint exists, could it be used to allow users to be added on the admin dashboard?
16:55 pameyer are you thinking this endpoint for affiliation etc, or a different endpoint?
16:55 pdurbin pameyer: same endpoint, just a couple more fields for JSON. I only documented the required ones.
16:56 pameyer is this something that might be use for non-creation things?
16:56 pdurbin djbrooke: forever sysadmins have been able to create builtin users via API. This new API allows sysadmins to create shib and oauth users, which really only makes sense in a migration scenario, I think.
17:00 pdurbin Whenever I hear about an admin dashboard that handles user accounts I think of this (closed) issue: https://github.com/IQSS/dataverse/issues/2029
17:01 djbrooke joined #dataverse
17:01 djbrooke Oh, uh I knew that of course :)
17:02 djbrooke Thanks!
17:03 pdurbin The kinder, gentler version is https://github.com/IQSS/dataverse/issues/2667
17:04 pdurbin pameyer: what sort of non-creation things? You can already use that "authenticatedUsers" endpoint to list and delete.
17:05 dataverse-user left #dataverse
17:07 djbrooke joined #dataverse
17:19 djbrooke joined #dataverse
17:47 djbrooke joined #dataverse
17:50 djbrooke joined #dataverse
18:00 djbrooke joined #dataverse
18:02 djbrooke_ joined #dataverse
18:03 djbrooke joined #dataverse
18:08 pameyer pdurbin: I was wondering if there were other cases where it'd be helpful for changing affiliation, etc.  Don't know if authenticateduser endpoint does this (sounds like it does)
18:09 pdurbin Oh. No, it doesn't. It's add only. Not edit.
18:24 donsizemore joined #dataverse
18:33 skay joined #dataverse
18:39 skay joined #dataverse
18:40 skay joined #dataverse
18:46 pdurbin again, for now I'm thinking it'll only be used for migration
18:53 skay joined #dataverse
18:53 skay joined #dataverse
19:05 pameyer sounds good to me
19:08 skay joined #dataverse
19:08 skay joined #dataverse
19:19 pdurbin sometimes we call this a "toe hold"
19:46 skay joined #dataverse
19:46 skay joined #dataverse
19:52 axfelix joined #dataverse
21:06 brent joined #dataverse
21:06 bshambaugh joined #dataverse
21:53 djbrooke joined #dataverse
22:27 djbrooke joined #dataverse
23:37 djbrooke joined #dataverse

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.