Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
tg 2.2 converting from tg 2.1 ( using who.ini v2 and removing repoze.what)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kgk  
View profile  
 More options Oct 9 2012, 5:36 pm
From: kgk <kkvilek...@gmail.com>
Date: Tue, 9 Oct 2012 14:36:11 -0700 (PDT)
Local: Tues, Oct 9 2012 5:36 pm
Subject: tg 2.2 converting from tg 2.1 ( using who.ini v2 and removing repoze.what)

I have an application (on tg 2.1.5) that I am trying to base on tg 2.2
which uses repoze.who v2 (repoze.who v1 has some issues for us)

I think the docs (
http://www.turbogears.org/2.2/docs/main/Auth/whoini.html#using-who-ini
)  are out of date as they seem to require repoze.what specifically the
lines
 ---------------------
from repoze.what.plugins.sql import configure_sql_adapters
from repoze.what.middleware import AuthorizationMetadata

from customwho import model
auth_plugin = SQLAlchemyAuthenticatorPlugin(model.User, model.DBSession)
md_plugin = SQLAlchemyUserMDPlugin(model.User, model.DBSession )
_source_adapters = configure_sql_adapters(
-------------------

I notice that repoze.what has a dependency on repoze.who v1 so I am back
where
I started

Given the new auth code for tg 2.2 does someone have an updated recipe for
using with who.ini?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Pedersen  
View profile  
 More options Oct 15 2012, 10:52 pm
From: Michael Pedersen <m.peder...@icelus.org>
Date: Mon, 15 Oct 2012 22:52:04 -0400
Local: Mon, Oct 15 2012 10:52 pm
Subject: Re: [TurboGears] tg 2.2 converting from tg 2.1 ( using who.ini v2 and removing repoze.what)
I don't have the recipe yet. Could you open a ticket at
https://github.com/TurboGears/tg2docs/issues so we can make sure to
track and get this resolved?

--
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: m.peder...@icelus.org -- Twitter: pedersentg

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Thorsen Ranang  
View profile  
 More options Jan 29, 6:37 am
From: Martin Thorsen Ranang <ran...@gmail.com>
Date: Tue, 29 Jan 2013 03:37:56 -0800 (PST)
Local: Tues, Jan 29 2013 6:37 am
Subject: Re: [TurboGears] tg 2.2 converting from tg 2.1 ( using who.ini v2 and removing repoze.what)

Hi, and thanks to all you developers for your great work on the TurboGears
framework.

I've recently upgraded our TurboGears installation from version 2.1.0 to
2.2.0, and met only minor hindrances following your upgrade guide (
http://www.turbogears.org/2.2/docs/main/Auth/whoini.html).  However, now
that I'm trying to move from repoze.who 1.x to repoze.who 2.x, I have
gotten into the same problem as mentioned above, because I use a
who.ini-based repoze configuration (with, among other things, a Facebook
Connect authenticator).

I searched through the issues registered on GitHub, but couldn't find the
request for updating the "using who.ini" documentation.  I have also looked
at both

  http://www.turbogears.org/2.2/docs/main/Auth/whoini.html, and

https://turbogears-dev.readthedocs.org/en/workshop/turbogears/authent...
.

but could not find any description of how to update the who.ini file to
work with TurboGears 2.2.0.  Therefore, I wonder if there has been any
progress on this issue?  Should I create such a GitHub issue, if it is
correct that it does not yet exist?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »