Title: [1360] trunk/turbogears/identity/soprovider.py: merged r1353:1354 into trunk
Revision 1360
Author max
Date 2006-05-03 10:12:07 -0500 (Wed, 03 May 2006)
Log Message
merged r1353:1354 into trunk
Modified Paths
trunk/turbogears/identity/soprovider.py
Diff
Modified:
Title: [1361] branches/1.0/turbogears/util.py: Adding helper function to determine the number of decimal digits within a
Revision 1361
Author godoy
Date 2006-05-03 15:01:28 -0500 (Wed, 03 May 2006)
Log Message
Adding helper function to determine the number of decimal digits within a
Title: [1364] trunk/turbogears/validators.py: Merging [1363] to the trunk.
Revision 1364
Author godoy
Date 2006-05-03 15:14:59 -0500 (Wed, 03 May 2006)
Log Message
Merging [1363] to the trunk.
Modified Paths
trunk/turbogears/validators.py
Diff
Modified:
#804: Upgrade MochiKit to 1.3.1
--+-
Reporter: kevin |Owner: anonymous
Type: task | Status: closed
Priority: normal|Milestone: 1.0b1
Component: MochiKit | Version:
#823: TurboTunes song grid widget doesn't fill the box
-+--
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone:
#824: Number validator not working
+---
Reporter: anonymous | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: TurboGears |
#804: Upgrade MochiKit to 1.3.1
--+-
Reporter: kevin |Owner: anonymous
Type: task | Status: closed
Priority: normal|Milestone: 1.0b1
Component: MochiKit | Version:
#825: [PATCH] fix saprovider + finalize abstraction
+---
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 1.0b1
#825: [PATCH] fix saprovider + finalize abstraction
+---
Reporter: [EMAIL PROTECTED] |Owner: anonymous
Type: defect | Status: new
Priority: normal |Milestone:
#781: SQLObject does not reconnect
---+
Reporter: ghaering |Owner: anonymous
Type: defect | Status: new
Priority: normal |Milestone:
Component: SQLObject |
#827: Add decoding_filter section in quickstart app.cfg template
-+--
Reporter: fredlin | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 1.0
Looking at the SAprovider and soprovider modules there is tons of repeated code. and since some people want to do a LDAP provider it will be wise to refractor this a bit.I Posted #783 a while ago but since noone is using saprovider it wasn't commited.
What I'm thinking is transform
On 5/2/06, Simon Belak [EMAIL PROTECTED] wrote:
New exception handling was intentionally commited as a trunk-only
feature. It will probably undergo some more changes as I am not
convinced it is pulling it's own weight. However if there is general
consensuses that the new tg_exception should
On 5/2/06, Jorge Godoy [EMAIL PROTECTED] wrote:
Em Terça 02 Maio 2006 17:10, Claudio Martínez escreveu:
It does sort when using the provided PaginateDataGrid, there's an
example on the demo project.
Sorry. I was commenting from memory.
Somewere it was mentioned that it does 2 queries,
Hi Jorge,
You're passing unicode string to SQLObject which it (underlying db driver, to
be precise) cannot handle.
Here:
user= user_class.by_user_name( user_name )
user_name must be encoded string here.
I can speculate that it works on other machines either because they do not have
I can speculate that it works on other machines either because they do not
have decoding_filter enabled or use different DB API driver.
That's the same everything :-) This is a checkout from my own repository,
so all configurations are the same, so this is not in my code or
I was using jsonify() to turn my turbogears.i18n.tg_gettext.lazystring
objects into str objects for my xmlrpc functions filtered through
cherrypy.expose() instead of turbogears.expose(). Is there a better
way to do that since jsonify() doesn't work anymore?
Em Quarta 03 Maio 2006 15:32, Joseph Tate escreveu:
I was using jsonify() to turn my turbogears.i18n.tg_gettext.lazystring
objects into str objects for my xmlrpc functions filtered through
cherrypy.expose() instead of turbogears.expose(). Is there a better
way to do that since jsonify()
I don't want a string back. I want the dictionary with all the
lazystrings converted to actual strings. jsonify() was easy to use
because it simply did the evaluations. I'm wondering if there's
another way to do it without writing my own sanitizer. (XMLRPC can't
marshall those lazystring
In a quickstarted project I see this in my sample-prod.cfg:
[[loggers]]
[[[your_project]]]
level='ERROR'
qualname='novoproj'
handlers=['error_out']
and this in my dev.cfg:
[[loggers]]
[[[your_project]]]
level='DEBUG'
qualname='novoproj'
handlers=['debug_out']
Is the name your_project
i think all the common code should go into a single file
identity.providers
then create a directory for providers, and have them subclass /
override identity.providers
the reason why i suggest a new file, is just so that new providers are
plugplay -- if somone writes an LDAP, to test we just
also to add-
i fixed saprovider (it doesn't work right now)
the patch is here:
http://trac.turbogears.org/turbogears/attachment/ticket/825
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears Trunk
Hi jvanasco,
The url is broken... It seems you copied the url when you have
attached the patch..
And that is differente from the url to retrive the patch... :)
You mean...
http://trac.turbogears.org/turbogears/ticket/825
or more especific:
well yes, but there are some new options for app.cfg that are explained
in the Trac -- so i wanted to make sure people saw it ( although the
options are defaulted to the current settings, and there are failsafes
in the module itself to default to the current settings too )
For all posterity, this is how I finally did it. This chunk of code
adds a new dispatch method to the xmlrpclib Marshaller class so that it
can correctly handle tg_gettext.lazystring objects.
#fix marshalling of tg_gettext.lazystring
#This goes in your controller somewhere.
import xmlrpclib
It might be a good idea to put this off by default, then turn it on as
needed, until some sort of caching system can be used -- a single page
was costing me 22 database queries
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Thanks Max and all other.
I give a try again with the Documentation.
Best Regards Ivo
On 5/3/06, Max Ischenko [EMAIL PROTECTED] wrote:
I use TG on python-hosting.com successfully.
The trick was to use Ian Bicking's non-root python to install python,
easy_install and TG in $HOME. I
yes your right, IMO identity shouldn't check in the db ALL the time.how about integrating the session from cherry py and make indentity go there from ones in a while?On 5/3/06,
jvanasco [EMAIL PROTECTED] wrote:
It might be a good idea to put this off by default, then turn it on asneeded, until
It would be pretty interesting to have this as a widget or yet another
decorator in turbogears (yadit?) Regardless it would be nice for things
like document collaboration in a CMS. I think one of the other summer
of code suggestions is a project to make turbogears widgets more or
less platform
the new identity is great, but there's one last issue with it (at least
in my book)
app.cfg supports this:
identity.form.user_name=user_name
identity.form.password=password
identity.form.submit=login
but it doesn't support this:
identity.db.user_name_field=user_name
On 5/2/06, Claudio Martínez [EMAIL PROTECTED] wrote:
Right now identity and session are provided by different filters using
different cookies. So it's normal because they are not linked.
I'm only seeing 1 cookie in use, and it's a session cookie, so it
vanishes when the browser is closed.
hi,
there is a visit tracking part in turbogears (which i presume is used
by identity framework) which is using cookies (because there are some
configuration entries for cookie timeout and all) and these cookies
seem to expire once the browser is closed.
also, the session part of cherrypy
Hi every body.
I just finish to read the last tutorial about identity management, so I
download the 0.9a5 release of turbogears, using easy_install.
If I 'quickstart' a project without identity managemene,t no problems,
everything seems ok.
But ... If I 'quickstart' a new project dealing with
A visit represents a contiguous (or as nearly contiguous as we can get with the Web) session of interaction with your Web application. Pushing the expiry out indefinitely defeats this purpose. Other things may tie into the visit key like content popularity and it would be difficult to correlate if
did you activated the lines in the config to point to your model classes? it seems like identity is trying to load the old classes, that are still there for backward compatibility. On 5/3/06,
Dark Lil'Troll [EMAIL PROTECTED] wrote:
Hi every body.I just finish to read the last tutorial about
Fromyour email it looks like you have a table named 'user'? If so one of the problems you will have if you don't have it already is that 'user' is a reserved word. On 5/3/06,
Jorge Vargas [EMAIL PROTECTED] wrote:
did you activated the lines in the config to point to your model classes? it seems
On 5/3/06, jvanasco [EMAIL PROTECTED] wrote:
the new identity is great, but there's one last issue with it (at least
in my book)
app.cfg supports this:
identity.form.user_name=user_name
identity.form.password=password
identity.form.submit=login
but it doesn't support this:
Now's your chance! Submit an application to Summer of Code if you want
a shot at $4500 to work on TurboGears-related technology this summer!
-- Forwarded message --
From: Neal Norwitz [EMAIL PROTECTED]
Date: May 3, 2006 3:15 AM
Subject: Seeking students for the Summer of Code
To:
Ah, right. Sorry. I haven't even started researching the problem yet
and botched the naming convention a little.
Generally speaking, it sounds like this is probably stable enough for
me to get started. Thank you for the commentary, everyone.
-- Travis
On 5/3/06, Jeff Watkins [EMAIL PROTECTED] wrote:
Instead, how about serving an explicit cookie (tg_persistent_user?) that
contains a key mapping the visitor to an identity record? You would probably
want to put some safeguards in there via signing the cookie, but that's not
particularly hard.
Hey all,
I'd like to create a tool to help with SQLAlchemy schema migration a
bit. I've been interested in this for a while now (ie. I'm not just
blindly copying a suggestion from this mailing list) - I'm working on a
TG project which I know will have a good number of database changes
later on
On 5/3/06, Evan Rosson [EMAIL PROTECTED] wrote:
I'd like to create a tool to help with SQLAlchemy schema migration a
bit. I've been interested in this for a while now (ie. I'm not just
blindly copying a suggestion from this mailing list) - I'm working on a
TG project which I know will have a
Evan Rosson wrote:
Hey all,
I'd like to create a tool to help with SQLAlchemy schema migration a
bit. I've been interested in this for a while now (ie. I'm not just
blindly copying a suggestion from this mailing list) - I'm working on a
TG project which I know will have a good number of
On Wed, 2006-05-03 at 15:23 -0400, Kevin Dangoor wrote:
On 5/3/06, Evan Rosson [EMAIL PROTECTED] wrote:
I'd like to create a tool to help with SQLAlchemy schema migration a
bit. I've been interested in this for a while now (ie. I'm not just
blindly copying a suggestion from this mailing
Cool !!!
I didn't know this tool... Went to my del.icio.us... :)
Thanks for the tip...
On 5/3/06, Matt Good [EMAIL PROTECTED] wrote:
There's a tool written in Python called xml2ddl for working with XML
representations of a schema. It allows you to generate the SQL to
convert one schema
Hi, I've created a project with 09a5 using identity. Everything is at default values.I've made sure that identity works with these default values.Now, I'm trying to follow the "advice" in model.py:class User(SQLObject): """ Reasonably basic User definition.
aprprove this application, please
please
please
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group,
jvanasco wrote:
aprprove this application, please
please
please
Will try. ;)
Cheers,
Simon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to
thanks. i put the patch in ticket 825
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email
This is not a problem that I've studied in great detail. However, I
understand that doing it automatically is dangerous and fraught with
peril.
No doubt of that. Automation can't cover everything, and sometimes it's
wrong. That said, there's a lot of really simple cases where some
automation
Hey, that's pretty cool. Thanks!
There's a tool written in Python called xml2ddl for working with XML
representations of a schema. It allows you to generate the SQL to
convert one schema to another.
http://xml2ddl.berlios.de/
--
Matt Good [EMAIL PROTECTED]
I've looked into doing this myself and brought it up a while ago (do
a google groups search).
IMHO, the best way to achieve it is to take stock from RoR
migrations. Trying to automate this process is fraught with caveats
and gotchas and just isn't worth it.
The RoR solution is to
there needs to be next and previous links on the documentation
pages if you are not going to have a monolithic page for the doc text.
The constant back and forth is horrible.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
When I start a project that uses identity (with sqlobject), I cannot
get cherrypy up completely. It works fine when not using the identity
option.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
i've got a bug in my app --
somehow this is happening when i click login
REQUEST
identity_from_request
logged POST /login HTTP/1.1
NEW REQUEST (internal redirect?)
identity_from_request
run exposed controller
Em Quarta 03 Maio 2006 22:04, modmans2ndcoming escreveu:
When I start a project that uses identity (with sqlobject), I cannot
get cherrypy up completely. It works fine when not using the identity
option.
It works here.
Can you say what happens, paste the error messages here, etc.?
--
hi,
I am using TG o.9a5. Can some one give me a simple example of how to
write a one to many relationship for this version? because the
documentation on the sql object's site seems to be broken. by looking
at the User and Group objects used by the identity framework, i too
tought of adding a
57 matches
Mail list logo