[tg-trunk] use_custom_format question

2011-04-19 Thread Alessandro Molina
As Diez pointed out on my post about tgext.mobilemiddleware using
use_custom_format to switch template inside a controller method causes
a few concurrency problems.
Also I saw that the template switch is persistent (each and every
request after the one that switched the template gets the new
template).

I have been able to solve the tgext.mobilemiddleware problem by simply
relying on what override_template does, but use_custom_format is
referred multiple times inside the documentation as a way to change
the rendered template between the registered custom ones during a
request.
I think that it should be more correct to have the template switch
saved inside the request itself instead of saving it inside the
decorated controller object, this would solve both the concurrency
problems and the template switch persistance.

Is there any reason not to change the current behaviour?

Alessandro

-- 
You received this message because you are subscribed to the Google Groups 
TurboGears Trunk group.
To post to this group, send email to turbogears-trunk@googlegroups.com.
To unsubscribe from this group, send email to 
turbogears-trunk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en.



Re: [tg-trunk] Re: [TurboGears] TG2 Status Update - Apr 18, 2011

2011-04-19 Thread Michael Pedersen
On Tue, Apr 19, 2011 at 5:05 AM, Alessandro Molina 
alessandro.mol...@gmail.com wrote:

 Thank you for the update Michael,
 just pointing out that you might have sent the Status Update two times
 to the tg-trunk instead of sending a copy to the users ML :)


Actually, I use the same alias for both groups, so as to minimize the number
of contacts in my list. I just checked, and the email went to
turbogears@and turbogears-trunk@so we're good.


 I sent you an updated list of Who is using it with more appropriate
 descriptions.


I'll be updating that list tonight. Thank you. What about your other issues?
Do you agree that they are resolved?


 That is not a problem, if you want I can ask to the designer that
 works with us to propose some improves to the site lookfeel and
 prepare some images.
 I think that he can prepare a few suggestions in a day or two and we
 can then review them and decide what to take and what to leave.


This might be a bad choice on my part, but I don't want to change the skin.
Adding graphics is fine, but the skin itself came from tgext.pages. I'd like
to show people what they're getting from us out of the box.

-- 
Michael J. Pedersen
My IM IDs: Jabber/peder...@icelus.tzo.com, ICQ/103345809, AIM/pedermj022171
  Yahoo/pedermj2002, MSN/pedermj022...@hotmail.com
--
  All humans fail, in both great and small ways we fail continually.
Machines fail too. Computers are machines that are managed by humans, the
fallout from failure can be spectacular. Your responsibility is to deal with
failure, to anticipate it and to eliminate it as far as is humanly and
economically wise to achieve. Are your actions part of the problem or part
of the solution?

-- 
You received this message because you are subscribed to the Google Groups 
TurboGears Trunk group.
To post to this group, send email to turbogears-trunk@googlegroups.com.
To unsubscribe from this group, send email to 
turbogears-trunk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en.



Re: [tg-trunk] use_custom_format question

2011-04-19 Thread Michael Pedersen
On Tue, Apr 19, 2011 at 7:28 AM, Alessandro Molina 
alessandro.mol...@gmail.com wrote:

 Is there any reason not to change the current behaviour?


There is no reason that I am aware of, though this is one of those times
when we need the user community to speak up. Everybody out there who is
reading, please respond if this matters to you in any way.

Alessandro: Don't make the change right away. Give people a week or so to
voice displeasure before doing it.

-- 
Michael J. Pedersen
My IM IDs: Jabber/peder...@icelus.tzo.com, ICQ/103345809, AIM/pedermj022171
  Yahoo/pedermj2002, MSN/pedermj022...@hotmail.com
--
  All humans fail, in both great and small ways we fail continually.
Machines fail too. Computers are machines that are managed by humans, the
fallout from failure can be spectacular. Your responsibility is to deal with
failure, to anticipate it and to eliminate it as far as is humanly and
economically wise to achieve. Are your actions part of the problem or part
of the solution?

-- 
You received this message because you are subscribed to the Google Groups 
TurboGears Trunk group.
To post to this group, send email to turbogears-trunk@googlegroups.com.
To unsubscribe from this group, send email to 
turbogears-trunk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en.



Re: [tg-trunk] TG2 Status Update - Apr 18, 2011

2011-04-19 Thread Christoph Zwerschke

Am 19.04.2011 06:01 schrieb Michael Pedersen:

Christoph, will you be able to get through the 1.x docs this week? And
it's okay to say no, I'm just wanting to find out if we can plan the DNS
changeover for the coming weekend.


I'll try to do it tomorrow, but it would help if I can get some feedback 
on what to do with the wiki pages which are not actually part of the 1.x 
documentation. These fall in three categories:


First, the wiki had several top-level pages with meta info about
the project which do not belong into the actual docs.

I will probably just remove most of these, but I'm a bit reluctant and 
want to get some feedback first. Can you to go through these and have a 
look if there is info that should be incorporated somewhere into the 
main website, or into an archive section or something:


http://beta.turbogears.org/old/Contributing.html (and pp.)
http://beta.turbogears.org/old/DevStatus.html
http://beta.turbogears.org/old/DocHelp.html
http://beta.turbogears.org/old/DocTeam.html (and pp.)
http://beta.turbogears.org/old/GSoC.html (and pp.)
http://beta.turbogears.org/old/GettingHelp.html
http://beta.turbogears.org/old/News.html
http://beta.turbogears.org/old/SprintOrganization.html (and pp.)
http://beta.turbogears.org/old/TurboGearsBookMarks.html
http://beta.turbogears.org/old/TurboGearsConsultants.html
http://beta.turbogears.org/old/TurboGearsApplications.html
http://beta.turbogears.org/old/TurboGearsBookMarks.html
http://beta.turbogears.org/old/TGScreencasts.html
http://beta.turbogears.org/old/VideoHelp.html

Second, the MoinMoin wiki contained also the docs for some smaller,
related projects. Not sure what to do with these:

http://beta.turbogears.org/old/FastData.html
http://beta.turbogears.org/old/tgDOMinclude.html
http://beta.turbogears.org/old/tgLightbox.html
http://beta.turbogears.org/old/tgMochiKit.html
http://beta.turbogears.org/old/TGScheduler.html
http://beta.turbogears.org/old/TurboCheetah.html
http://beta.turbogears.org/old/TurboJson.html
http://beta.turbogears.org/old/TurboKid.html

Since most of them are on PyPi anyway, one idea is to put these docs 
into the long_description of the projects so these docs will appear on 
their PyPi pages.


Third, the wiki also had two foreign language translations, but outdated
and incomplete, so I think I will just remove them:

http://beta.turbogears.org/old/ru/1.0/OfflineInstall.html
http://beta.turbogears.org/old/ru/1.0/ToDoListTutorial.html

-- Christoph

--
You received this message because you are subscribed to the Google Groups 
TurboGears Trunk group.
To post to this group, send email to turbogears-trunk@googlegroups.com.
To unsubscribe from this group, send email to 
turbogears-trunk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en.