Implement "UserVoice Config" blueprint

Bug #604720 reported by Paul Everitt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Carlos de la Guardia

Bug Description

https://blueprints.launchpad.net/karl3/+spec/user-voice-config

Extra notes

- Email osi-dev about details. Jason Lantz at OSI has been the thinker on this one, he can explain more.

- Note that this effort, in M44, is capped at half a day.

Changed in karl3:
assignee: nobody → Carlos de la Guardia (cguardia)
importance: Undecided → Medium
milestone: none → m44
status: New → Confirmed
Changed in karl3:
milestone: m44 → m45
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

You know, given tight budget, I think I'll just move this out of M45.

Changed in karl3:
milestone: m45 → m46
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

I'm a little concerned about the absence of API docs on the user voice site. I would feel a lot more secure with an API doc in addition to Jason's example script. I did spot a syntax error in that script, so I'm going to assume it is untested.

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 604720] Re: Implement "UserVoice Config" blueprint

I'll get with Carlos and have him hook up with Jason, who presumably has links to more docs.

Carlos, do you have time to work on it this week?

--Paul

On Aug 16, 2010, at 2:41 PM, Chris Rossi wrote:

> I'm a little concerned about the absence of API docs on the user voice
> site. I would feel a lot more secure with an API doc in addition to
> Jason's example script. I did spot a syntax error in that script, so
> I'm going to assume it is untested.
>
> --
> Implement "UserVoice Config" blueprint
> https://bugs.launchpad.net/bugs/604720
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in KARL3: Confirmed
>
> Bug description:
> https://blueprints.launchpad.net/karl3/+spec/user-voice-config
>
> Extra notes
>
> - Email osi-dev about details. Jason Lantz at OSI has been the thinker on this one, he can explain more.
>
> - Note that this effort, in M44, is capped at half a day.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/karl3/+bug/604720/+subscribe

Revision history for this message
Carlos de la Guardia (cguardia) wrote :

Yes,

I already had started to look at this on Friday. I'll hook up with Jason as
suggested.

Carlos de la Guardia

________________________________
From: Paul Everitt <email address hidden>
To: <email address hidden>
Sent: Mon, August 16, 2010 2:44:58 PM
Subject: Re: [Bug 604720] Re: Implement "UserVoice Config" blueprint

I'll get with Carlos and have him hook up with Jason, who presumably has links
to more docs.

Carlos, do you have time to work on it this week?

--Paul

On Aug 16, 2010, at 2:41 PM, Chris Rossi wrote:

> I'm a little concerned about the absence of API docs on the user voice
> site. I would feel a lot more secure with an API doc in addition to
> Jason's example script. I did spot a syntax error in that script, so
> I'm going to assume it is untested.
>
> --
> Implement "UserVoice Config" blueprint
> https://bugs.launchpad.net/bugs/604720
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in KARL3: Confirmed
>
> Bug description:
> https://blueprints.launchpad.net/karl3/+spec/user-voice-config
>
> Extra notes
>
> - Email osi-dev about details. Jason Lantz at OSI has been the thinker on this
>one, he can explain more.
>
> - Note that this effort, in M44, is capped at half a day.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/karl3/+bug/604720/+subscribe

--
Implement "UserVoice Config" blueprint
https://bugs.launchpad.net/bugs/604720
You received this bug notification because you are a bug assignee.

Status in KARL3: Confirmed

Bug description:
https://blueprints.launchpad.net/karl3/+spec/user-voice-config

Extra notes

- Email osi-dev about details. Jason Lantz at OSI has been the thinker on this
one, he can explain more.

- Note that this effort, in M44, is capped at half a day.

Changed in karl3:
status: Confirmed → In Progress
Revision history for this message
Carlos de la Guardia (cguardia) wrote :

I set up a branch at svn+ssh://<email address hidden>/home/osi/svn/osi-karl3/branches/user_voice

Mainly, it has changes to karl.ini in etc-develop to set up uservoice config parameters.

The branch points to a branch of karl as well, at svn+ssh://<email address hidden>/home/osi/bfgsvn/karl/branches/user_voice

Right now we have code to get uservoice settings from config, sso_parameters and javascript. This code is called from the communities view to set up the js, so if you visit communities the uv widget should be there.

This should be enough to get an idea how things are with UV, then we can go from here. In particular, I'm not clear on how to integrate the sso stuff here.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Are you saying the SSO part hasn't been done? If so, then it probably isn't worth doing testing yet. We need a way to flag to UserVoice who it is that is coming over.

--Paul

On Aug 19, 2010, at 1:48 PM, Carlos de la Guardia wrote:

> I set up a branch at svn+ssh://<email address hidden>/home/osi/svn/osi-
> karl3/branches/user_voice
>
> Mainly, it has changes to karl.ini in etc-develop to set up uservoice
> config parameters.
>
> The branch points to a branch of karl as well, at
> svn+ssh://<email address hidden>/home/osi/bfgsvn/karl/branches/user_voice
>
> Right now we have code to get uservoice settings from config,
> sso_parameters and javascript. This code is called from the communities
> view to set up the js, so if you visit communities the uv widget should
> be there.
>
> This should be enough to get an idea how things are with UV, then we can
> go from here. In particular, I'm not clear on how to integrate the sso
> stuff here.
>
> --
> Implement "UserVoice Config" blueprint
> https://bugs.launchpad.net/bugs/604720
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in KARL3: In Progress
>
> Bug description:
> https://blueprints.launchpad.net/karl3/+spec/user-voice-config
>
> Extra notes
>
> - Email osi-dev about details. Jason Lantz at OSI has been the thinker on this one, he can explain more.
>
> - Note that this effort, in M44, is capped at half a day.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/karl3/+bug/604720/+subscribe

Revision history for this message
Carlos de la Guardia (cguardia) wrote :

Hi,

I'm saying that once the token is added to the JS. I really have no clue if it's
doing what it should. Also, the message that is in the code sample, how is it
changed for a real user?

Carlos de la Guardia

________________________________
From: Paul Everitt <email address hidden>
To: <email address hidden>
Sent: Fri, August 20, 2010 7:57:06 AM
Subject: Re: [Bug 604720] Re: Implement "UserVoice Config" blueprint

Are you saying the SSO part hasn't been done? If so, then it probably isn't
worth doing testing yet. We need a way to flag to UserVoice who it is that is
coming over.

--Paul

On Aug 19, 2010, at 1:48 PM, Carlos de la Guardia wrote:

> I set up a branch at svn+ssh://<email address hidden>/home/osi/svn/osi-
> karl3/branches/user_voice
>
> Mainly, it has changes to karl.ini in etc-develop to set up uservoice
> config parameters.
>
> The branch points to a branch of karl as well, at
> svn+ssh://<email address hidden>/home/osi/bfgsvn/karl/branches/user_voice
>
> Right now we have code to get uservoice settings from config,
> sso_parameters and javascript. This code is called from the communities
> view to set up the js, so if you visit communities the uv widget should
> be there.
>
> This should be enough to get an idea how things are with UV, then we can
> go from here. In particular, I'm not clear on how to integrate the sso
> stuff here.
>
> --
> Implement "UserVoice Config" blueprint
> https://bugs.launchpad.net/bugs/604720
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in KARL3: In Progress
>
> Bug description:
> https://blueprints.launchpad.net/karl3/+spec/user-voice-config
>
> Extra notes
>
> - Email osi-dev about details. Jason Lantz at OSI has been the thinker on this
>one, he can explain more.
>
> - Note that this effort, in M44, is capped at half a day.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/karl3/+bug/604720/+subscribe

--
Implement "UserVoice Config" blueprint
https://bugs.launchpad.net/bugs/604720
You received this bug notification because you are a bug assignee.

Status in KARL3: In Progress

Bug description:
https://blueprints.launchpad.net/karl3/+spec/user-voice-config

Extra notes

- Email osi-dev about details. Jason Lantz at OSI has been the thinker on this
one, he can explain more.

- Note that this effort, in M44, is capped at half a day.

Revision history for this message
Carlos de la Guardia (cguardia) wrote :

Scratch that, I had this sorted out in my last commit. Now this is ready for
testing.

Carlos de la Guardia

________________________________
From: Paul Everitt <email address hidden>
To: <email address hidden>
Sent: Fri, August 20, 2010 7:57:06 AM
Subject: Re: [Bug 604720] Re: Implement "UserVoice Config" blueprint

Are you saying the SSO part hasn't been done? If so, then it probably isn't
worth doing testing yet. We need a way to flag to UserVoice who it is that is
coming over.

--Paul

On Aug 19, 2010, at 1:48 PM, Carlos de la Guardia wrote:

> I set up a branch at svn+ssh://<email address hidden>/home/osi/svn/osi-
> karl3/branches/user_voice
>
> Mainly, it has changes to karl.ini in etc-develop to set up uservoice
> config parameters.
>
> The branch points to a branch of karl as well, at
> svn+ssh://<email address hidden>/home/osi/bfgsvn/karl/branches/user_voice
>
> Right now we have code to get uservoice settings from config,
> sso_parameters and javascript. This code is called from the communities
> view to set up the js, so if you visit communities the uv widget should
> be there.
>
> This should be enough to get an idea how things are with UV, then we can
> go from here. In particular, I'm not clear on how to integrate the sso
> stuff here.
>
> --
> Implement "UserVoice Config" blueprint
> https://bugs.launchpad.net/bugs/604720
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in KARL3: In Progress
>
> Bug description:
> https://blueprints.launchpad.net/karl3/+spec/user-voice-config
>
> Extra notes
>
> - Email osi-dev about details. Jason Lantz at OSI has been the thinker on this
>one, he can explain more.
>
> - Note that this effort, in M44, is capped at half a day.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/karl3/+bug/604720/+subscribe

--
Implement "UserVoice Config" blueprint
https://bugs.launchpad.net/bugs/604720
You received this bug notification because you are a bug assignee.

Status in KARL3: In Progress

Bug description:
https://blueprints.launchpad.net/karl3/+spec/user-voice-config

Extra notes

- Email osi-dev about details. Jason Lantz at OSI has been the thinker on this
one, he can explain more.

- Note that this effort, in M44, is capped at half a day.

Changed in karl3:
status: In Progress → Fix Committed
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Carlos and I sent emails regarding the following:

"Currently the "SSO" doesn't work, because we have a mismatch between the site used for the API key and the forums to point at. Carlos stated what we need:

"I think the problem is I have the api key for their test site (opensocietyinstitute.uservoice.com) and the forum we are using is for the osi.uservoice.com site. We should get that key and test."

So if you could provide us with the correct pair of API key and forum, then when can edit the file, provide the eval URL, and close that blueprint/backlog item. OSI can then review and decide whether to make new backlog items that go beyond the original half-day effort (which we're well beyond anyway.)"

"the SSO message has an expiry date parameter. How far in the future should we set that?"

Changed in karl3:
assignee: Carlos de la Guardia (cguardia) → Jason Lantz (jasontlantz)
milestone: m46 → m47
status: Fix Committed → In Progress
Revision history for this message
Nat Katin-Borland (nborland) wrote :

Jason will respond this morning.

-Nat

--
Nathaniel Katin-Borland
Support Specialist
Knowledge Management Initiative
KARL Support Team

Open Society Institute - New York Office
400 West 59th Street
New York, NY 10019
Email: <email address hidden>
Phone: 212-547-6984
http://www.soros.org/
http://www.karlproject.org
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Paul Everitt
Sent: Wednesday, September 08, 2010 9:19 AM
To: Nathaniel Katin-Borland
Subject: [Bug 604720] Re: Implement "UserVoice Config" blueprint

Carlos and I sent emails regarding the following:

"Currently the "SSO" doesn't work, because we have a mismatch between
the site used for the API key and the forums to point at. Carlos stated
what we need:

"I think the problem is I have the api key for their test site
(opensocietyinstitute.uservoice.com) and the forum we are using is for
the osi.uservoice.com site. We should get that key and test."

So if you could provide us with the correct pair of API key and forum,
then when can edit the file, provide the eval URL, and close that
blueprint/backlog item. OSI can then review and decide whether to make
new backlog items that go beyond the original half-day effort (which
we're well beyond anyway.)"

"the SSO message has an expiry date parameter. How far in the future
should we set that?"

** Changed in: karl3
       Status: Fix Committed => In Progress

** Changed in: karl3
    Milestone: m46 => m47

** Changed in: karl3
     Assignee: Carlos de la Guardia (cguardia) => Jason Lantz
(jasontlantz)

--
Implement "UserVoice Config" blueprint
https://bugs.launchpad.net/bugs/604720
You received this bug notification because you are a direct subscriber
of the bug.

Status in KARL3: In Progress

Bug description:
https://blueprints.launchpad.net/karl3/+spec/user-voice-config

Extra notes

- Email osi-dev about details. Jason Lantz at OSI has been the thinker
on this one, he can explain more.

- Note that this effort, in M44, is capped at half a day.

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/karl3/+bug/604720/+subscribe

Revision history for this message
Jason Lantz (jasontlantz) wrote :

I just checked into this a bit more. Our production instance is http://opensocietyinstitute.uservoice.com. The KARL forum ID on that instance is 61557. The current config on branch4 appears to point to osi.uservoice.com and the 'general' forum. That instance was an older one from a year ago when I was investigating the system for possible integration.

I checked the error log in the admin console of our instance and I see a bunch of errors related to an expired cookie. See the log below. It appears to me that the issue is that the cookie is set to expire on Aug 25 (see the "expires" value in the json data). I'm guessing we should automatically set this for something like 24 hours from the current time. If someone wants to go back, they can always go back through KARL and get a new token.

----------------- Error Log --------------------------

created_at

    Fri Sep 03 14:23:34 +0000 2010

encrypted_data

    cy4tu1eTdqBzQOpB+U2a5oIYMvNKg/Z+fRNU6MbogeVc8CNi3yF5DaKuODxV
    TU0WCKcsFNQoT26cIx1arg/uEfBq86yjMhBF0kDzU4uYtZmcmy+VnnRooZPM
    uRy2jGCzPiOunsuO5AnLQrN0s0F5PR/yJ7lJP6dQEzmvWDplROJOHabGWAd4
    EPRgxiRgOQ7EOt1E13WpE1QVe39C0UtLMFg6gNPnktBdyBQ9558Pj1WjWb1m
    hTxhBwmGZubAnW9E2FdoxQwVBv6f6bT0fvl2h4eP6k/V+I/ef6WpVDLj/HCw
    nsFnW810N3beTYT9zln5a6Kr0GQ5cxLLhkmLWHvEczzaYqdXoktFkXp7GgZp

json

    {"display_name":"Jim B Glenn",
     "url":"http://branch4.karl.sixfeetup.com/profiles/jbglenn/",
     "expires":"2010/08/25 06:29:02 +0000",
     "avatar_url":"http://branch4.karl.sixfeetup.com/profiles/jbglenn/photo/thumb/50x50.jpg",
     "guid":"jbglenn",
     "email":"<email address hidden>"}

data

    ---
    avatar_url: http://branch4.karl.sixfeetup.com/profiles/jbglenn/photo/thumb/50x50.jpg
    guid: jbglenn
    expires: 2010/08/25 06:29:02 +0000
    url: http://branch4.karl.sixfeetup.com/profiles/jbglenn/
    display_name: Jim B Glenn
    email: <email address hidden>

user

exceptions

    Cookie expired at 2010/08/25 06:29:02 +0000

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Thanks Jason! I think this is enough for us to make progress. Carlos, make sense?

Changed in karl3:
assignee: Jason Lantz (jasontlantz) → Carlos de la Guardia (cguardia)
Revision history for this message
Carlos de la Guardia (cguardia) wrote :

The correct forum and expiration time is now there. Single sign on seems to be working now.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Yay, I think this is done!

  http://branch4.karl.sixfeetup.com/communities/

This user story was a half-day effort to get an evaluation site showing integration with UserVoice. I believe we have met that goal, so I'm closing this and the blueprint.

Changed in karl3:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.