Re: [Zope-dev] SVN: zope2book/trunk/ Lot's of updates over the weekend!

2009-02-17 Thread Tino Wildenhain
Dieter Maurer wrote: Tres Seaver wrote at 2009-2-15 10:45 -0500: ... At the moment, the book is largely a guide to what can be done with Zope TTW. DTML is still part of that store: it isn't gone, nor even deprecated: its just that most core developers prefer not to use it in most cases. Note

Re: [Zope-dev] Syntax error in python2.6

2008-07-21 Thread Tino Wildenhain
Bristow Thankachan wrote: Hi everybody, During the porting of Zope2 to Python2.6, I am stuck with a syntax error in the module AccessControl, which is given below. def reorder(s, with=None, without=()): ^ SyntaxError: invalid syntax in line 56 of

Re: [Zope-dev] Syntax error in python2.6

2008-07-21 Thread Tino Wildenhain
Hi, Bristow Thankachan wrote: ... def reorder(s, with=None, without=()): ^ SyntaxError: invalid syntax in line 56 of /home/zope/ztrunk26/lib/python/RestrictedPython/Utilities.py. The same code when run in python2.4 and

Re: [Zope-dev] sad news about Joachim Schmitz

2008-05-14 Thread Tino Wildenhain
Martijn Faassen wrote: Hi there, Joachim Schmitz, long-standing member of the Zope community, died last weekend. Please see the following: http://faassen.n--tree.net/blog/view/weblog/2008/05/14/0 unbelievable... Yes I also met Joachim. Don't know much to say but I feel sorry for his family.

Re: [Zope-dev] Non-ASCII characters in URLs

2008-04-09 Thread Tino Wildenhain
Dieter Maurer wrote: Wichert Akkerman wrote at 2008-4-7 20:45 +0200: ... Almost surely, Alexander wants to ask why Zope does not allow non-ASCII characters in ids. And, in fact, there are only two reasons: * lazyness of the Zope developpers: without the restriction to ASCII

Re: [Zope-dev] Re: GSoC proposal

2008-04-04 Thread Tino Wildenhain
Malthe Borch wrote: On 04/04/2008, Chris Withers [EMAIL PROTECTED] wrote: zope.security uses RestrictedPython, iirc... For untrusted python, yes –– but is anyone using this (in Zope 3)? It's integral to most Zope 2 applications of course to allow secure execution of Python scripts, so we

Re: [Zope-dev] Re: Moving the Zope 2 bugtracker to Launchpad

2007-08-12 Thread Tino Wildenhain
Philipp von Weitershausen schrieb: Martijn Pieters wrote: On 8/12/07, Andreas Jung [EMAIL PROTECTED] wrote: to make it short: I propose to move the Zope 2 bugtracker to Launchpad. Since the Zope 3 bugtracker works already with success on LP we should follow with the Zope 2 bugtracker.

Re: [Zope-dev] [ZPT/Zope 2.10] Unicode fixes backported

2006-12-28 Thread Tino Wildenhain
Andreas Jung schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, as mentioned in an earlier I was working on several encoding and webdav issues related to the Zope 3 ZPT integration in Zope 2.10. I backported the changes to the 2.10 branch. The changes include an in-place migration of

Re: [Zope-dev] Cache code in Shared/DC/ZRDB/DA.py

2006-11-17 Thread Tino Wildenhain
Chris Withers schrieb: Tino Wildenhain wrote: I have a replacement started, which uses Cacheable mixin instead. Advantage is, with RAM Cache Manager you can see the hits your method cause and invalide the cache per object. I also introduced a execution time treshold, so you can configure

Re: [Zope-dev] Cache code in Shared/DC/ZRDB/DA.py

2006-11-17 Thread Tino Wildenhain
Chris Withers schrieb: Tino Wildenhain wrote: I have a replacement started, which uses Cacheable mixin instead. Advantage is, with RAM Cache Manager you can see the hits your method cause and invalide the cache per object. I also introduced a execution time treshold, so you can configure

Re: [Zope-dev] Cache code in Shared/DC/ZRDB/DA.py

2006-11-17 Thread Tino Wildenhain
Chris Withers schrieb: Chris Withers wrote: I have to be honest, I'm looking to simplify, and this sounds a LOT more complicated... Okay, I've written unit tests and refactored the code on the 2.9 branch, 2.10 branch and trunk. Please let me know if you have any problems... Uh oh -

Re: [Zope-dev] Cache code in Shared/DC/ZRDB/DA.py

2006-11-16 Thread Tino Wildenhain
Chris Withers schrieb: Hi Jim, I'm wondering if you can still remember the rational behind the cache code at around lines 355-387 of: http://svn.zope.org/Zope/trunk/lib/python/Shared/DC/ZRDB/DA.py?rev=68158view=auto This code is pretty old (checked in 5th Dec 1997) but has started

Re: [Zope-dev] Serving large files

2006-09-17 Thread Tino Wildenhain
Sidnei da Silva schrieb: I remember having a conversation with Jim at some point where he proposed a strategy for requests that could potentially take a long time to finish. If I recall correctly, he proposed having a separate ZODB connection pool. One thing that is problematic today is serving

Re: [Zope-dev] PAS-1.4-final Released

2006-08-28 Thread Tino Wildenhain
Andreas Jung wrote: ... I'm pleased to announce that the final 1.4 version of the Zope PluggableAuthenticationService product is now available at: *me loud thinking*: wouldn't it make sense to integrate PAS into the Zope 2 core and make it the new default mechanism for authentication

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Tino Wildenhain
Stefan H. Holek wrote: On 21. Jul 2006, at 16:53, Chris Withers wrote: I wonder how Zope 3's filesystem-based ZPT's deal with this? zope.pagetemplate.pagetemplatefile.PageTemplateFile reads an eventual meta http-equiv=Content-Type ... header, or defaults to UTF-8. Well, pagetemplate

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Tino Wildenhain
Andreas Jung schrieb: --On 22. Juli 2006 15:34:01 +0200 Tino Wildenhain [EMAIL PROTECTED] wrote: Well, pagetemplate files are another thing. They have to deal with the lack of charset information of a filesystem file and what they do once they load the data is even another thing. Even

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Tino Wildenhain
Andreas Jung wrote: --On 22. Juli 2006 16:17:09 +0200 Tino Wildenhain [EMAIL PROTECTED] wrote: huh?..even on the file system a pt file is encoded using some encoding. For an XML pagetemplate file the encoding is clearly defined through the BOM (if available) and/or the XML preamble. So

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-17 Thread Tino Wildenhain
Chris Withers wrote: Andreas Jung wrote: I've had problems when it's an encoded string, but that seems to be what is stored when you save a ZPT via the ZMI or WebDAV... ZPT in pre-Zope 2.10 knows nothing about unicode...it can be anything :-) And what about 2.10? FWIW, this seems to be

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-17 Thread Tino Wildenhain
Andreas Jung wrote: --On 17. Juli 2006 17:11:54 +0100 Chris Withers [EMAIL PROTECTED] wrote: Andreas Jung wrote: Zope 2.10 comes with the ZPT implementation of Zope 3 which works nicely with unicode strings. However the 2.10 won't enforce the use of unicode strings for backward

Re: [Zope-dev] 2.9.4? reStructuredText support?

2006-07-08 Thread Tino Wildenhain
... You seem to be the only one championing TTW reST? I am only champion against crude removal of features and against and a shortsighted preception. I'm for keeping it (or something like it) too. That doesn't deserve an answer. Are you unwilling to write the tests necessary to keep

Re: [Zope-dev] 2.9.4? reStructuredText support?

2006-07-08 Thread Tino Wildenhain
Jim Fulton wrote: ... You mean auditing. Testing would not help imho. Testing only checks if expected behavior still works. And nobody expects the spanish inquisiton *wink* ;) You can test that trying to do fil-inclusion fails. For example if I'd were the one who would have written the

Re: [Zope-dev] Non-Latin-1 properties

2006-06-08 Thread Tino Wildenhain
Andreas Jung schrieb: --On 8. Juni 2006 15:31:09 +0200 Yves Bastide [EMAIL PROTECTED] wrote: Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. huh? How about using the utext and ustring properties? they (sorry ;) suck :-) And they arent available in

Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Tino Wildenhain
Sidnei da Silva schrieb: I was looking, and trying to understand why 'tempstorage' is not included in the ZODB. Since some people might want to share sessions between ZEO clients, and that 'tempstorage' is what is mounted as '/temp_folder/session_data', why not make that easy to mount via ZEO?

Re: [Zope-dev] Re: [ZODB-Dev] Re: tempstorage to ZEO?

2006-05-31 Thread Tino Wildenhain
Sidnei da Silva wrote: On Wed, May 31, 2006 at 02:12:48PM -0400, Tres Seaver wrote: | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | Eric Brun wrote: | Hi, | | I have bad experence with tempstorage on ZEO (FileStorage with no undo). | With site with 18000 users (300 per

Re: [Zope-dev] Re: Wishlist Item

2006-03-26 Thread Tino Wildenhain
Chris Withers wrote: Andreas Jung wrote: CMF or not - if one need such a functionality one can download CMF or a related product. If such functionality should belong into the core than it should be implemented in a reusable way and frameworks like CMF should be build on top of it. So -1 for

Re: [Zope-dev] New mailing list: [EMAIL PROTECTED] for all checkin messages

2006-03-18 Thread Tino Wildenhain
Jim Fulton schrieb: I've set up a new mailing list that gets all checkins for the zope.org CVS and Subversion repositories: http://mail.zope.org/mailman/listinfo/checkins Note to contributors: Only members can send messages to this list. This means that you will get messages for a

Re: [Zope-dev] Re: http access to svn repos?

2006-03-08 Thread Tino Wildenhain
Mark Hammond schrieb: Chris quoting Jim: ... I would support HTTP anonymous checkouts. I'm really against writable HTTP checkouts because I consider the credentials mechanism for HTTP access to be extremely lame. whether SVN or not, I'm guessing any use of HTTP basic authentication

Re: [Zope-dev] Re: http access to svn repos?

2006-03-06 Thread Tino Wildenhain
Tres Seaver schrieb: Chris Withers wrote: ... Where should I write the proposal? Who is going to review it? http://www.zope.org/Wikis/DevSite/Proposals ; post here and zope3-dev for review. +1 for http anon checkouts at least :-) ... -1 on using https for writable checkouts. The

Re: [Zope-dev] Re: traversable methods / docstrings.

2006-01-30 Thread Tino Wildenhain
Lennart Regebro schrieb: If somebody gets time to do the suggested refactoring of the publisher for 2.10, then the docstring requirement could be dropped for IFiveTraversable objects, I think. Otoh, whats wrong with docstrings anyway? :-) Regards Tino

Re: [Zope-dev] Re: ZPT backward compatibility

2006-01-17 Thread Tino Wildenhain
Dieter Maurer schrieb: Andreas Jung wrote at 2006-1-16 19:55 +0100: ... I have seen some answers -- though not too many... Note also that zpt@zope.org is a very low activity list. For it, a few answers is already a lot... Add to it the fact the zpt@zope.org was due to be retired anyway ;)

Re: [Zope-dev] [Zope 2.10] ZPT going Unicode

2006-01-15 Thread Tino Wildenhain
Dieter Maurer schrieb: Tino Wildenhain wrote at 2006-1-13 16:45 +0100: ... Maybe just have new uZPT with Unicode and leave the old ZPT allone? Maybe with limited ability to add old ZPT from ZMI or such. This would solve the backward-compatibility problems and would be a more smooth transition

Re: [Zope-dev] [Zope 2.10] ZPT going Unicode

2006-01-13 Thread Tino Wildenhain
Andreas Jung schrieb: ... Now, if I have code that takes something from that request and displays it in a unicode page template, you'd have a problem, as you'd be mixing UTF-8 with unicode there. Again this might result in a lot of broken code. I share your worries (meanwhile :-)).

Re: [Zope-dev] Re: [RfC] Removal of old stuff in Zope 2.10

2005-12-22 Thread Tino Wildenhain
robert rottermann schrieb: Rocky Burt wrote: Max M wrote: If there is another practical way to do it, that would be fine too. I don't know about sqllite. But if it's more difficulte than dropping a package into a directory it would be bad. Personally I'd be a huge proponent of

Re: [Zope-dev] Re: [RfC] Removal of old stuff in Zope 2.10

2005-12-22 Thread Tino Wildenhain
Rocky Burt schrieb: Andreas Jung wrote: --On 22. Dezember 2005 15:20:27 +0100 robert rottermann [EMAIL PROTECTED] wrote: I perfectly agree with both of these arguments. However having a dead easy to use RDBMS tool is very convenient. Both for teaching and marketing purposes. I agree

Re: [Zope-dev] [RfC] Removal of old stuff in Zope 2.10

2005-12-20 Thread Tino Wildenhain
Jens Vagelpohl schrieb: ... IMHO it would be nice if the HelpSys could be changed so that it still provides those Help! links, but the product author can simply assign a URL to them to point to a place where they copied and pasted their docs into a website. That's not too much of an

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Tino Wildenhain
Am Montag, den 19.12.2005, 22:11 + schrieb Jens Vagelpohl: On 19 Dec 2005, at 22:08, Tim Peters wrote: [Jim] ... The whole repository is only about 800 megs. There are over 8 gigs free. Are the dump file or the file-based repo much larger in size the the Berkeley database?

Re: [Zope-dev] optimised python

2005-12-18 Thread Tino Wildenhain
Am Sonntag, den 18.12.2005, 17:46 +1100 schrieb Alan Milligan: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm reconsidering the way we RPM package byte-code compiled python, and although I suspect optimised python is a bit of an anacronysm, I thought I'd check with the list ;) If one

Re: [Zope-dev] [ZPT] Zope 3 ZPTs in Zope 2

2005-12-11 Thread Tino Wildenhain
Am Sonntag, den 11.12.2005, 13:16 +0100 schrieb Andreas Jung: Hi, I have a working implementation for Zope 3 ZPTs within Zope 2. It is currently implemented through a new class ZPT which implements the same functionality as Products.PageTemplates.ZopePageTemplate. I am currently thinking

Re: [Zope-dev] [ZPT] Zope 3 ZPTs in Zope 2

2005-12-11 Thread Tino Wildenhain
Am Sonntag, den 11.12.2005, 15:03 +0100 schrieb Andreas Jung: ... The Z3 ZPT implementation seems to use the same attrs. So I could just replace the class implementation. Some first quick tests show that there is no further need for a migration..it just works :-) Lets praise the wonderful

Re: [Zope-dev] Imports broken on 2.9.0-b1?

2005-12-11 Thread Tino Wildenhain
Am Sonntag, den 11.12.2005, 23:19 -0500 schrieb Paul Winkler: Another quickie problem report - no time to investigate further right now, but can anybody else reproduce? If so, I'll try to fix tomorrow... In a fresh 2.9.0-b1 instance, made via bin/mkzopeinstance, I get this when I click the

Re: [Zope-dev] Re: [Zope3-dev] RFC: Locale-specific Text Collation

2005-12-09 Thread Tino Wildenhain
Stephan Richter schrieb: On Friday 09 December 2005 08:58, Jim Fulton wrote: A proposal to address this problem is here: http://dev.zope.org/Zope3/LocaleSpecificTextCollation Comments are welcome. +1 as said on IRC. AOL! err. I mean: +1 Tino.

Re: [Zope-dev] Re: UI improvements

2005-11-29 Thread Tino Wildenhain
Chris Withers schrieb: Tino Wildenhain wrote: Not sure which objects would fall in this category. All Objects in ZODB have their history - they just dont show it by default. Comparison is of course specific to a class. Indeed, how will this work? Historycopy is of course another thing

Re: [Zope-dev] Python2.4 Security Audit ETA???

2005-11-28 Thread Tino Wildenhain
Am Dienstag, den 29.11.2005, 17:16 +1100 schrieb Alan Milligan: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, ... With the major distro's, Python is entrenched in their installer and gui processes and *all* packaging is focused around a single python (2.4 for everyone excepting our

Re: [Zope-dev] Re: UI improvements

2005-11-24 Thread Tino Wildenhain
Chris Withers schrieb: Tino Wildenhain wrote: Here is the list w/ improvements ante portas: 1) Icons for add-dropdown list +1 2) History + History compare for all objects and more useable diff +10 ...but how does this work when the objects can't sensible show history or be compared

Re: [Zope-dev] Re: UI improvements

2005-11-22 Thread Tino Wildenhain
Alexander Limi schrieb: On Fri, 18 Nov 2005 06:56:32 -0800, Andreas Jung [EMAIL PROTECTED] wrote: In general such changes should be made on the HEAD (for next 2.10 release). OK. I was aiming for a quick sprint to get some small changes into 2.9 before release (ie. no actual code

Re: [Zope-dev] Re: UI improvements

2005-11-22 Thread Tino Wildenhain
Andreas Jung schrieb: --On 22. November 2005 09:11:13 +0100 Tino Wildenhain [EMAIL PROTECTED] wrote: Alexander Limi schrieb: On Fri, 18 Nov 2005 06:56:32 -0800, Andreas Jung [EMAIL PROTECTED] wrote: In general such changes should be made on the HEAD (for next 2.10 release). OK. I

Re: [Zope-dev] moment when zope was started.

2005-11-08 Thread Tino Wildenhain
Victor Safronovich schrieb: Hello Chris Withers, Tuesday, November 8, 2005, 1:26:29 PM, you wrote: CW Why on earth would you want to do that?! :) my product needs to do some specific things, right after the user is authenticated and becomes known. hook is hook and it may be overloaded

Re: [Zope-dev] moment when zope was started.

2005-11-08 Thread Tino Wildenhain
Victor Safronovich schrieb: Hello Tino Wildenhain, Tuesday, November 8, 2005, 4:29:39 PM, you wrote: TW You might want to look at userfolder implementation, for example PAS. Thank you, i look at it, but this is another story ;). Now you should tell us what you are really doing here

Re: [Zope-dev] File uploading with Zope

2005-11-05 Thread Tino Wildenhain
Am Freitag, den 04.11.2005, 08:42 +0700 schrieb Thanh Hải, Hà: 2005/11/3, Jens Vagelpohl [EMAIL PROTECTED]: No it is not. And doing that opens up security risks. You need to write a Python product or external method. jens Is there an

Re: Get rid of configure/make? (was Re: [Zope-dev] Re: SVN: Zope/trunk/ Merge philikon-zope32-integration branch. Basically, this branch entails:)

2005-11-05 Thread Tino Wildenhain
Am Samstag, den 05.11.2005, 13:23 +0100 schrieb Lennart Regebro: On 11/4/05, Jim Fulton [EMAIL PROTECTED] wrote: Having said that, I don't really like the configure/make farce myself. Farce? I'd be happy to get rid of it. I'm also happy to defer to the vocal majority. Maybe it's

Re: [Zope-dev] ZSQL method and LIMIT clause

2005-11-02 Thread Tino Wildenhain
Am Donnerstag, den 03.11.2005, 09:37 +0700 schrieb Thanh Hải, Hà: Hello, My problem is I don't know to prevent Zope from adding LIMIT 1000 to the end of each of my ZSQL method (*.zsql). I am developing a filesystem-based product so I can not disable it by setting Maximum Rows to Retrieve

Re: [Zope-dev] default encoding used in ZPublisher.

2005-10-08 Thread Tino Wildenhain
Am Samstag, den 08.10.2005, 19:15 +0100 schrieb Chris Withers: Hi All, I'd like to backport the change I made to fix: http://www.zope.org/Collectors/Zope/1490 ...to the 2.8 branch, would anyone have any objections to this? Surely not, but what fix? :-) Nice to see some movement on this

Re: [Zope-dev] Username/userid separation

2005-08-03 Thread Tino Wildenhain
Am Mittwoch, den 03.08.2005, 21:01 -0300 schrieb Leonardo Rochael Almeida: Hi, I've started the lra-userid_username_separation-branch (from Zope-2_8-branch to start from a stable point) in order to implement proper userid/username separation in Zope. I don't intend to change the default

Re: [Zope-dev] SiteRoot and VHM

2005-04-07 Thread Tino Wildenhain
Am Donnerstag, den 07.04.2005, 01:45 +0200 schrieb Florent Guillaume: After spending an hour helping someone debug a site that had an hidden SiteRoot somewhere that prevented a virtual host monster from working, it was suggested to me that if there's a virtual host monster, it should take

Re: [Zope-dev] getPassword() from PythonScript

2004-12-27 Thread Tino Wildenhain
Am Montag, den 27.12.2004, 14:30 +0100 schrieb Krzysztof Kubacki: Hi, Zope 2-7-0 Linux Is possible to get user's password by getPassword() method using Python Script? Any proxes don't work. the code below: user = context.getMemberById(context,'koperski') return

Re: [Zope-dev] Python2.4 and Zope 2.7

2004-10-18 Thread Tino Wildenhain
Hi, Am Mo, den 18.10.2004 schrieb Andreas Jung um 20:30: I have installed Zope 2.7.3 + Python 2.4b1 on my company site and it seems to run pretty fine. I could not see the error below you described. I can second that. python-2.4.0b1 as Andreas said. :-) Regards Tino

Re: [Zope-dev] xml-rpc changes between 2.7.0 and 2.7.3 ??

2004-10-12 Thread Tino Wildenhain
Hi, Am Di, den 12.10.2004 schrieb Alan Milligan um 0:16: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I had a client that used to work on 2.7.0, and now doesn't on 2.7.3. The problem would appear to be that it's not substituting the xmlrpc.Response class for a GET request on a

Re: [Zope-dev] xml-rpc changes between 2.7.0 and 2.7.3 ??

2004-10-12 Thread Tino Wildenhain
Hi, Am Mi, den 13.10.2004 schrieb Alan Milligan um 3:31: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tino Wildenhain wrote: | |I had a client that used to work on 2.7.0, and now doesn't on 2.7.3. | |The problem would appear to be that it's not substituting the |xmlrpc.Response class

Re: [Zope-dev] ZPublisher timing hooks ?

2004-10-08 Thread Tino Wildenhain
Hi, Am Fr, den 08.10.2004 schrieb Simon Michael um 4:10: Hi all, I'd like to print a this page was rendered in ... milliseconds as you see on php sites. I think I'd get better accuracy by getting at least the start time from ZPublisher because.. actually it may not help, but I'm

Re: [Zope-dev] Re: inconsistent mimetype assignment for uploaded files

2004-10-05 Thread Tino Wildenhain
Hi, On Tue, 2004-10-05 at 12:11, Dominic Hiles wrote: Dear Tres, --On 04 October 2004 13:43 -0400 Tres Seaver [EMAIL PROTECTED] wrote: Dominic Hiles wrote: Sorry, I missed these susbequent follow-ups before posting a reply a few minutes ago! If we're going down this route, can we

Re: [Zope-dev] using VirtualHostMonster in a ZPublisher python module?

2004-09-20 Thread Tino Wildenhain
solutions. Either you set the base tag yourself or you fix your relative links to starting with /. Both is a goot Idea for a zope app as well. Regards Tino Wildenhain ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope

Re: [Zope-dev] using VirtualHostMonster in a ZPublisher python module?

2004-09-19 Thread Tino Wildenhain
references somehow. If you strictly use URLs relative to server root (that is, all starting with /) there is no problem. Regards Tino Wildenhain ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] Suggestion for small(?) change in BaseRequest.py. Security effects?

2004-09-02 Thread Tino Wildenhain
: if user is None and roles != UNSPECIFIED_ROLES: response.unauthorized() get_transaction().abort() return should do the trick. Regards Tino Wildenhain ___ Zope-Dev maillist - [EMAIL PROTECTED

Re: [Zope-dev] Pointless code in ZPublisher.HTTPRequest ?

2004-08-31 Thread Tino Wildenhain
Am Di, den 31.08.2004 schrieb Paul Winkler um 19:08: Can anyone enlighten me on what this is for? From ZPublisher.HTTPRequest.HTTPRequest.keys: ... ** btw, this too smells a bit funny to me... why bother to keep a separate data structure in sync, when we could just do: for i in

Re: [Zope-dev] Protected session items?

2004-08-27 Thread Tino Wildenhain
Hi, Am Fr, den 27.08.2004 schrieb Lennart Regebro um 11:32: Lennart Regebro wrote: Another idea: Maybe I could make an object that does not have public access, and store that in the session? That seems to work! Here is the class: class ProtectedUsername: An object where the

Re: [Zope-dev] New-style ExtensionClass

2003-12-01 Thread Tino Wildenhain
Dieter Maurer schrieb: Jim Fulton wrote at 2003-10-20 11:55 -0400: ... Speaking of Zope 2.8, Jeremy Hylton has suggested that, perhaps, Zope 2.8 should be a release that provides *only*: - New-style ExtensionClass, and - ZODB 3.3, featuring multi-version concurrency control,

Re: [Zope-dev] Auto password expiry based on time

2003-08-16 Thread Tino Wildenhain
Hi Exteam, 1.) do you have a real name too? 2.) you should not crosspost questions 3.) you should have a look at rfc2616 which describes how HTTP work. In short: you cant modify anything in Zope to let the browser expire the Basic-Authentication. Its just impossible to do this. To get closer

[Zope-dev] DBTab/ZEO configuration in Zope2.7 beta1

2003-08-15 Thread Tino Wildenhain
that configuration not be in zope.conf? I cannot find relevant tags for the zodb_db tag. Are there any places I could look into for enlightement? Regards Tino Wildenhain ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] DBTab/ZEO configuration in Zope2.7 beta1

2003-08-15 Thread Tino Wildenhain
Hi Chris, Chris McDonough wrote: mkzopeclient -z should go away. You should use the zope.conf file to configure mounted databases. Unfortunately I haven't had time to include adequate examples in the sample config, but it might help a bit to look at the lib/python/Zope/Startup/zopeschema.xml

Re: [Zope-dev] DBTab/ZEO configuration in Zope2.7 beta1

2003-08-15 Thread Tino Wildenhain
: _setObject strange. Perhaps the temp_folder isnt mounted? There is no reference of the tempstorage in the above definition file... Tino Wildenhain wrote: Hi Chris, Chris McDonough wrote: mkzopeclient -z should go away. You should use the zope.conf file to configure mounted databases. Unfortunately I

Re: [Zope-dev] DBTab/ZEO configuration in Zope2.7 beta1

2003-08-15 Thread Tino Wildenhain
the fallback seems to work. Storage type temporary seems to not mentioned anywhere, but I'll test this too. Kind regards Tino Wildenhain Chris McDonough wrote: This is because the default is to mount a temporary storage at /temp_folder. Since you overrode the default, you need to specify the tempfolder

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-23 Thread Tino Wildenhain
Shane Hathaway wrote: Philipp von Weitershausen wrote: I agree that it is 'yucky', but I have to disagree with your proposed solution. I would rather suggest making TALES aware of integer indexes for sequences. Example:: tal:block repeat=user_files here/listFilesByUser User: tal:dummy

Re: [Zope] Re: [Zope-dev] Zope Book call for assistance

2002-12-07 Thread Tino Wildenhain
Hi Chris, --On Freitag, 6. Dezember 2002 21:27 -0500 Chris McDonough [EMAIL PROTECTED] wrote: On Fri, 2002-12-06 at 19:13, Tino Wildenhain wrote: These are exactly the things you shouldn't neither do in DTML nor in ZPT :-) What do you suggest people use for a templating language for email

Re: [Zope-dev] Zope Book call for assistance

2002-12-06 Thread Tino Wildenhain
Hi, --On Donnerstag, 5. Dezember 2002 23:20 -0500 Chris McDonough [EMAIL PROTECTED] wrote: ... Advanced DTML: http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AdvDTML.stx erm... would advanced DTML not be the short sentence: avoid DTML where you can? ;) Btw. did you think of

Re: [Zope] Re: [Zope-dev] Zope Book call for assistance

2002-12-06 Thread Tino Wildenhain
Hi Chris, --On Freitag, 6. Dezember 2002 09:50 -0500 Chris McDonough [EMAIL PROTECTED] wrote: erm... would advanced DTML not be the short sentence: avoid DTML where you can? ;) That'd be ok, except that DTML can of course do things that ZPT can't, yada yada yada. These are exactly the

[Zope-dev] Re: [Zope] post-publishing hook

2002-11-29 Thread Tino Wildenhain
Hi Carlo, --On Freitag, 29. November 2002 13:07 +0100 Carlo Giomini [EMAIL PROTECTED] wrote: Dear all, I need a sort of post-publishing hook (so to say). I need Zope to call a function of mine as the very last action of publishing a request, i.e. after having built the response (and sent it to

Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Tino Wildenhain
Hi Jamie, --On Montag, 25. November 2002 22:29 -0800 Jamie Heilman [EMAIL PROTECTED] wrote: * where possible, the banishment of environment variables as configuration. I have to say, I think this is a bad idea. What is it about environment variables do you find worthy of

Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Tino Wildenhain
Hi, --On Dienstag, 26. November 2002 09:18 -0500 Chris McDonough [EMAIL PROTECTED] wrote: On Tue, 2002-11-26 at 05:22, Tino Wildenhain wrote: Oh, while we are at it - how do I set an environment variable in a python script for use outside the script? E.g. like export does in shell scripts

Re: [Zope-dev] access of non html documents

2002-11-13 Thread Tino Wildenhain
Hi Roberto, One solution is to provide a temporary identifyer via cookie, which gets set if the user sees your page but is not set if she wants to download it directly. A simple non guessable scrable mechanism using your page url, file url and probably ip of the downloader should do for the

Re: [Zope-dev] acessing raw header information?

2002-11-03 Thread Tino Wildenhain
Hi Holger, ... snip ... My next try will be to get my configuration to sent authorization headers along the first request. This sometimes happens but i have no idea what the rules are. but thanks for all the answers anyway! Did you think about authorization with cookies? Perhaps cookies are

[Zope-dev] Re: [Zope] WISH LIST - idea of new, DTMLRelation object

2002-10-09 Thread Tino Wildenhain
Hi Jaroslav, perhaps you want to use dtml-with rootfolder ...navigation.. /dtml-with ? Rootfolder could be the object you want to be the root (of course) or in case of ZopeRoot, you get it via REQUEST.PARENT[0] However, before beating the dead horse, you should consider replacing your

Re: [Zope-dev] Unicode Diffs

2002-09-25 Thread Tino Wildenhain
Hi Kent, I'd like to compare your patches with the ones I currently implemented on my private branch. I tried to use the default settings in site.py. Unfortunately this requires changes in the local installation of python. (Dont know why the hell this does not make use of locales) Regards Tino

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Tino Wildenhain
Hi Itamar, this sounds good for me. One would have to see it in the wild. Would you be able to do a sample integration for testing? At the same time unmeshing the publishing process sounds sexy to me... Regards Tino --On Mittwoch, 10. Oktober 2001 12:11 +0200 Itamar Shtull-Trauring [EMAIL

Re: Something better than ZClasses (was: Re: [Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?))

2001-06-28 Thread Tino Wildenhain
Hi, --On Mittwoch, 27. Juni 2001 15:54 -0500 Stephan Richter [EMAIL PROTECTED] wrote: At 10:45 PM 6/27/01 +0200, Erik Enge wrote: On Wed, 27 Jun 2001, Tino Wildenhain wrote: if there are always many objects to create, may be it would be better to have a generic mechanism for asking

Re: Something better than ZClasses (was: Re: [Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?))

2001-06-27 Thread Tino Wildenhain
Hm. Wizard? if there are always many objects to create, may be it would be better to have a generic mechanism for asking users and represent app-/management interfaces rather then copying all the stuff over and over? Regards Tino --On Mittwoch, 27. Juni 2001 08:54 -0500 Stephan Richter [EMAIL

Re: [Zope-dev] dtml-in bug?

2001-05-28 Thread Tino Wildenhain
Hi Christian, --On Montag, 28. Mai 2001 15:38 +0200 Christian Scholz [EMAIL PROTECTED] wrote: Hi! Dunno if it's again my strange setup, but I have some problem with dtml-in or maybe I simply didn't get something right.. Well, I used the following dtml code: html dtml-in

Re: [Zope-dev] ZEO on SMP

2001-05-24 Thread Tino Wildenhain
... will they never lern... However, we are using strange databases with ZmxODBCDA/mxODBC and Merant (http://www.merant.com) middleware. This way we only have one NT Box to access the databases. Regards Tino -d On Wed, May 23, 2001 at 08:44:59PM +0200, Tino Wildenhain wrote: Hi Dyon, ZEO on a dual

Re: [Zope-dev] ZEO on SMP

2001-05-23 Thread Tino Wildenhain
Hi Dyon, ZEO on a dual processor machine runs fine for me. I'm using redhat-linux for the server (ZEO and Clients on same machine) If you dont need strange things I would not recommend Win2k as server platform. Best regards Tino Wildenhain --On Mittwoch, 23. Mai 2001 11:35 -0700 Dyon Balding

Re: [Zope-dev] Professional Sites Using Zope??

2001-05-16 Thread Tino Wildenhain
to the public. It has come out only the strange databases are somewhat a bottleneck for the system. However, we handle around 100 customer at any given moment round the clock. The other site we built with zope is our companys public web site. You'll find it on http://www.peacock.de/ HTH Tino Wildenhain

Re: [Zope-dev] convert zope objects to unicode

2001-05-16 Thread Tino Wildenhain
Hi Sin, see http://dev.zope.org/Wikis/DevSite/Projects/SupportPython21/FrontPage for whats going on at the unicode-sector for zope. IMHO it does not make sense to duplicate effort. Regards Tino --On Donnerstag, 17. Mai 2001 01:27 +0800 Sin Hang Kin [EMAIL PROTECTED] wrote: If I would like

Re: [Zope-dev] Experiments with ORMapping

2001-05-10 Thread Tino Wildenhain
Hi Shane, --On Donnerstag, 10. Mai 2001 11:32 -0400 Shane Hathaway [EMAIL PROTECTED] wrote: ... But storage of binary pickles was never the intention anyway. I created a little interface that would allow you to store different classes in different PostgreSQL tables. Before I got to

oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-10 Thread Tino Wildenhain
like modern RDBMSes use to incorporate fast changes? However, to avoid pickling/unpickling and may be to update on attribute-change, we need the approach you mentioned. What about using a real oodb for zope? Dont remember any particular product name, but I heard something. Regards Tino Wildenhain

Re: [Zope-dev] another Zope hanging..

2001-05-03 Thread Tino Wildenhain
library (database adaptors are most in C) it cannot continue until the call returns. Regards Tino Wildenhain --On Donnerstag, 3. Mai 2001 17:51 +0200 Christian Scholz [EMAIL PROTECTED] wrote: Hi! Alright... so you're getting an OSError 11, and you're using Zope 2.3.1. errno 11

Re: [Zope-dev] wxPython + ZODB = bliss

2001-04-24 Thread Tino Wildenhain
Hi Shane, --On Dienstag, 24. April 2001 14:08 -0400 Shane Hathaway [EMAIL PROTECTED] wrote: http://www.zope.org/Members/hathawsh/pyTree very nice! :))) Regards Tino ___ Zope-Dev maillist - [EMAIL PROTECTED]