[Systems] API for activities.sugarlabs.org?

Andrés Ambrois andresambrois at gmail.com
Thu Mar 11 23:11:23 EST 2010


On Thursday 11 March 2010 06:41:04 pm Pablo Flores wrote:
> Ok. So, putting in black & white we have 2 choices:
> 
> *Choice 1*: ceibalJAM keeps using its own Activities publishing interface.
> 
>    - Develop an API so that new activities and updates go automatically to
>    ASLO
>    - In this case we don't need a new locale ES_UY, as we can use our own
>    rating system (disconnected from ASLO or not). We also wouldn't need a
>    single sign on system.

This option has the disadvantage of not being reciprocal. Even if we want to 
mark a set of activities as relevant to .uy, I would wish for _all_ the 
activities on ASLO to be easily accessible by our users. Other deployments may 
wish so as well.  

It may be interesting to hear opppinions from the Paraguay and Nepal 
deployments. 

> *Choice 2*: Redirect to ASLO for uploading or updating Activities
> 
>    - Implement a single sign on system
>    - Create a locale ES_UY, to filter easily local reviews and statistics.
>    Would not have the chance to see local rating averages for activities
>    - Filter ceibalJAM Activities with a collection
>    - Would keep sugarlabs look & feel. At most we could add a ceibalJAM
>    frame at the top

Disclaimer: I have not looked into the OpenID API so I don't have a complete 
understanding on how easy it would be to use as a SSO system. If you think 
it's worth it, I will gladly look into it. 

How difficult would be to add OpenID support to AMO? Unfortunately AMO devs 
discarded the idea as that would have to be handled by a central mozilla login 
service[0], not AMO itself. 

Drupal (the CMS we use) has both client and provider OpenID support, and its 
the most standard solution for the SSO problem. The question, however, is 
whether it's the most intuitive solution for our users. Handling those id URIs 
may be confusing...

OpenID may also help as the basis of a SSO service across SLs services as 
well. Both MediaWiki[1] and Trac[2] already support it. 

[0] https://bugzilla.mozilla.org/show_bug.cgi?id=362371
[1] http://www.mediawiki.org/wiki/Extension:OpenID
[2] http://bitbucket.org/Dalius/authopenid-plugin/wiki/Home

> Did I miss something important?
> 
> Choice 1 seems to be much easier and intuitive. Anyway, in this moment we
> are having a big discussion on how to go on and maintain our portal. From
> this discussion we may define which direction to choose...
> 
> Saludos,
> Pablo Flores
> 
> On Thu, Mar 4, 2010 at 4:10 PM, Aleksey Lim <alsroot at member.fsf.org> wrote:
> > On Thu, Mar 04, 2010 at 12:17:14PM -0200, Pablo Flores wrote:
> > > Hi! Sorry for being out of the loop for some days.
> > >
> > > I liked the idea of creating a specific locale for Uruguay. Even better
> >
> > if
> >
> > > we can use a virtual host in the domain ceibaljam.org.
> > >
> > > In this way, we could use a different theme and have separate reviews.
> > >
> > > Question: would the average rating be based in only our locale reviews?
> >
> > That
> >
> > > would be the best...
> >
> > just checked, looks like AMO devs didn't think about such workflows :),
> > so nope
> > all fields in db are not tied to locale
> >
> > > We would have our activities separate from others by using a
> > > "ceibalJAM" collection, having the chance of having feeds and jump
> > > easily to other
> >
> > Sugar
> >
> > > activities downloads. Sounds great!
> > >
> > > So the biggest challenge seems to be making a single sign on, or at
> > > least letting the users from our portal to be signed in automatically
> > > in ASLO.
> >
> > How
> >
> > > can we help you for that?
> > >
> > > Saludos,
> > > Pablo Flores
> > >
> > >
> > > On Sat, Feb 27, 2010 at 12:14 PM, Bernie Innocenti <bernie at codewiz.org
> > >
> > >wrote:
> > > > On Sat, 2010-02-27 at 08:41 +0000, Aleksey Lim wrote:
> > > > > > > If not, would they be interested in
> > > > > > > adding it?
> > > > >
> > > > > I guess there are no immediate plans about OpenID support on AMO
> > > > > https://bugzilla.mozilla.org/show_bug.cgi?id=362371
> > > >
> > > > A comment says:
> > > >
> > > >  We're not going to implement this separately on AMO.  If openid
> > > >  becomes a login option, it'll be through a central mozilla login.
> > > >
> > > > How do they integrate AMO with the central mozilla login? We might be
> > > > able to do the same, and share authentication with
> > > > http://id.sugarlabs.org/ (our OpenID provider).
> > > >
> > > > --
> > > >   // Bernie Innocenti - http://codewiz.org/
> > > >  \X/  Sugar Labs       - http://sugarlabs.org/
> >
> > --
> > Aleksey
> 

-- 
  -Andrés


More information about the Systems mailing list