Re: [Zope] Newbie Zope Howto

2005-03-31 Thread bruno modulix
Enrique Arizón wrote: I'm trying to do a micro-Zope that basically store documents (PDFs scanned files) with some custom-made attributes (¿Who stores the document?, ¿where is the original -physical paper- stored?, ¿who is in charge of maintenance?, ¿token words?, ...) so that final users are able

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-01 Thread bruno modulix
Jim Fulton wrote: (snip) Does anyone care whether we deprecate ZClasses? ZClasses ? What are ZClasses ? (Sorry, couldn't resist. +1 for deprecation) -- Bruno Desthuilliers Développeur [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org

Re: [Zope] Persistent Objects

2005-04-08 Thread bruno modulix
Roy S. Rapoport wrote: A coworker of mine wrote his own web server framework from scratch for an internal application. We're looking to migrate this application to Zope (thank God!). The only question we need to deal with is: The reason he wrote his own webserver rather than use CGIs is that

Re: [Zope] best practices Zope filesystem development

2005-04-08 Thread bruno modulix
Andreas Jung wrote: --On Freitag, 8. April 2005 11:30 Uhr +0200 Milos Prudek [EMAIL PROTECTED] wrote: Hi, What are the best, most effective practices in leveraging filesystem when developing in Zope? I'm looking for an approach that would let me use keyboard and leave the mouse alone as much as

Re: [Zope] ZPT list is dead... zpt nav question

2005-04-14 Thread bruno modulix
Norbert Ray-Goldman wrote: so I am posting this here. I would like my zpt to list only folders in a director - essentially filtering out all other meta_type(s)... can you tell me where I am going wrong with the filtering here ? html head title

Re: [Zope] tal:attributes and extra newline

2005-04-19 Thread bruno modulix
Andreas Jung wrote: --On Montag, 18. April 2005 17:55 Uhr +0200 Pascal Peregrina [EMAIL PROTECTED] wrote: Ok, it was TALInterpreter after all, but you need a long list of attributes (on a single line / single tal:attributes statement I mean)... It's because of the

Re: [Zope] Organisational vs. Functional hierarchies

2005-04-19 Thread bruno modulix
David Given wrote: I apologise if this is a newbie question, but I can't seem to find anything in the documentation about this. The way Zope seems to want to organise things is so that folders roughly equate to classes. Nope. That is, if I have B inside A, then B inherits its behaviour from A. B

Re: [Zope] Organisational vs. Functional hierarchies

2005-04-20 Thread bruno modulix
David Given wrote: On Tue, 2005-04-19 at 18:43 +0200, bruno modulix wrote: [...] All of B's siblings are the same sort of object. Why do you have this strange idea ? From, uh, the documentation... because all of B's siblings will inherit the same methods from A. s/inherit/acquire

Re: [Zope] Why don't work?

2005-07-06 Thread bruno modulix
Garito wrote: Andreas Jung escribió: --On 6. Juli 2005 10:29:45 +0200 Garito [EMAIL PROTECTED] wrote: My question is why If I push Eliminar button don't submit the form to the correct url (http://yanged:8280/Papeles/Yanged/Links/Eliminar)? What happens instead? Look at your Z2.log to

Re: [Zope] Why don't work?

2005-07-06 Thread bruno modulix
Garito wrote: Lennart Regebro escribió: A wild guess: Your post works, but returns a redirect to a nother page, which returns nothing. This will look exactly like notyhing happened at the browser side. Yes, looking at Z2.log it seems it but If I execute the action url manually it works

Re: [Zope] Why don't work?

2005-07-06 Thread bruno modulix
Garito wrote: bruno modulix escribió: Garito wrote: Lennart Regebro escribió: A wild guess: Your post works, but returns a redirect to a nother page, which returns nothing. This will look exactly like notyhing happened at the browser side. Yes, looking at Z2.log it seems it but If I

Re: [Zope] Why don't work?

2005-07-07 Thread bruno modulix
Garito wrote: bruno modulix escribió: (snip) Hi Bruno http://yanged:8280/Papeles/Yanged/Links/Eliminar is an url that if I call it from my browser executes some python scripts that I define in a XML file Then Eliminar is a string not an object nor a method because, as I told you some

Re: [Zope] MVC Approach

2005-08-04 Thread bruno modulix
Thomas Adams wrote: Hi all, I'm a newbie to Zope, using version 2.7.3 (okay it is not the newest one) and I want to know if there is something like a MVC approach available for Zope, i.e. Model-View-Controller approach, as it is for instance in Java with the Struts framework from Apache.

[Zope] Python/Zope job in France

2005-08-16 Thread bruno modulix
Hi We're looking for a Python/Zope developer, free ASAP. Job based in Bordeaux, France. Please contact me for more informations -- Bruno Desthuilliers Développeur [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org

Re: [Zope] Adding a zope product

2005-09-02 Thread bruno modulix
Paul Hendrick wrote: Hi all, i've just started with zope, and i'm trying to write a filesystem product, so i can have a project in svn and work on it in the filesystem. I've followed the guide at zope.org for creating a minimal product, but can't get this to show up in the list of products.

Re: [Zope] how to programmatically control zope?

2005-09-16 Thread bruno modulix
akonsu wrote: hello, would someone please point me to the right direction? what is the preferred way to control a zope server programmatically? i need to be able to administer my zope instance from a script. add users, change permissions, create new sites, add objects to the sites. there is

Re: [Zope] how to programmatically control zope?

2005-09-16 Thread bruno modulix
Paul Winkler wrote: (snip) yep, I like working that way, and Bruno's introduction is excellent. blushThanks/blush One clarification however: 1/ You can't run zopectl debug or zopectl run while you instance is running (as it locks the ZODB). The solution here is to set up a zeo instance

Re: [Zope] how to programmatically control zope?

2005-09-21 Thread bruno modulix
David Pratt wrote: Hi. This discussion has really helped me with my question about running asynchronous methods also since these kinds of requests could be cronned at the very least. But what about triggering this kind of script from the running zope instance. Is this possible? Two

[Zope] Aquisition, UserFolder and security

2005-09-27 Thread bruno modulix
Hello hi I have a little problem with aquisition and security. We have a project using multiple CPS instances (for those that don't know CPS, it's a CMF based groupware/CMS) running in the same Zope instance, and being siblings of each others [1]. One of these instances is the main entry point

Re: [Zope] Aquisition, UserFolder and security

2005-09-27 Thread bruno modulix
Jens Vagelpohl wrote: Each CPS instance has its own UserFolder. All users exists in the portal's UserFolder, but only exists in some CPMs UserFolders. Now the problem is that, due to acquisition, a member existing in the Portal but not in a given CPM can gain access to this CPM by faking the

Re: [Zope] Aquisition, UserFolder and security

2005-09-27 Thread bruno modulix
Julien Anguenot wrote: Hi Bruno, Hi Julien, If you're using a central LDAP for all the instances you can restrict the access from the different instances using either LDAPUserGroupsFolder or CPSUserFolder. Discrimination are done by LDAP branches (users or groups). If you can't control

Re: [Zope] Aquisition, UserFolder and security

2005-09-27 Thread bruno modulix
Jens Vagelpohl wrote: On 27 Sep 2005, at 11:17, bruno modulix wrote: A normal pattern to use here would be to have one central user folder (e.g. at the root) and work with local roles in the sub-portals instead of having several user folders. I know, but I don't think

Re: [Zope] Aquisition, UserFolder and security

2005-09-27 Thread bruno modulix
Jonathan wrote: Could you create a central user folder (in root) and then create an external method which queries all of the LDAP branches and returns the appropriate local roles to the central user folder when the user logs in? This way you get a central user folder and can keep all your

Re: [Zope] Aquisition, UserFolder and security

2005-09-27 Thread bruno modulix
Julien Anguenot wrote: bruno modulix wrote: Julien Anguenot wrote: (snip) To sum up it's a matter of configuration. I'm afraid there's more to it than just a matter of configuration, cf below... I confirm. For having done the intranet of the Senegal gouvernement (almost 35 CPS (one

Re: [Zope] Aquisition, UserFolder and security

2005-09-27 Thread bruno modulix
Julien Anguenot wrote: bruno modulix wrote: You'll find it on the cps-users list. I'm not a CPS expert[1] - and not even a Zope expert - but from what I saw, it seemed to imply more than only TALES expressions... [1] given the change pace and resulting lack of documentation, I guess only you

Re: [Zope] [resolved ???] Aquisition, UserFolder and security

2005-09-27 Thread bruno modulix
bruno modulix wrote: (snip) Each CPS instance has its own UserFolder. All users exists in the portal's UserFolder, but only exists in some CPMs UserFolders. Now the problem is that, due to acquisition, a member existing in the Portal but not in a given CPM can gain access to this CPM by faking

Re: [Zope] Aquisition, UserFolder and security

2005-09-28 Thread bruno modulix
Dieter Maurer wrote: Hi Dieter bruno modulix wrote at 2005-9-27 11:34 +0200: I have a little problem with aquisition and security. We have a project using multiple CPS instances (for those that don't know CPS, it's a CMF based groupware/CMS) running in the same Zope instance, and being

Re: [Zope] Aquisition, UserFolder and security

2005-09-28 Thread bruno modulix
Andrew Milton wrote: (snip) And turning off Acquire roles on the security tab of the folders you don't want to have acquired doesn't work? This would probably be the cleanest solution here, and - shame on me - I didn't even think of it. Now the problem is that CPS has a very complex

Re: [Zope] Aquisition, UserFolder and security

2005-09-29 Thread bruno modulix
Dieter Maurer wrote: bruno modulix wrote at 2005-9-28 10:02 +0200: Dieter Maurer wrote: ... Sounds like a permission to role mapping flaw... Apparently, roles controlled by the Portal UserFolder (e.g. Authenticated) are allowed to do things in your CPM that you only be allowed by roles

Re: [Zope] Aquisition, UserFolder and security

2005-09-30 Thread bruno modulix
Dieter Maurer wrote: bruno modulix wrote at 2005-9-29 13:20 +0200: ... The problem here is that CPS (the portal and all CPMs are CPS instances) uses predefined roles, on which the various workflows relies, so that would mean renaming all roles - differently - on each CPM, and modifying

[Zope] Re: Aquisition, UserFolder and security

2005-09-30 Thread bruno modulix
Tres Seaver wrote: bruno modulix wrote: Dieter, I didn't misunderstood your proposed solution. But some users exist in different CPMs with different roles in each CPM. So - unless I'm totally at lost with how Zope's security works - if User1 has role RoleWithMuchPrivileges in Cpm1 and role

Re: [Zope] Zope/Editor problems

2005-10-25 Thread bruno modulix
Håkan Johansson a écrit : I need some sort of content editor and have looked at both Epoz and Kupu. My problem is that I can't get any of them to work. If I install Epoz, Zope crashes without any error messages. Have you looked in the logs ? (snip) Are these editors even usable by me? I

Re: [Zope] Revision Control / CVS / SVN integration with ZODB?

2005-11-07 Thread bruno modulix
Michael Schwartz a écrit : Zope has been a fantastic environment for our application (a front end for an Asterisk PBX application), but now that more people are contributing to the development effort, it is becoming a challenge to keep the various environments in sync. The project is now

Re: [Zope] Re: Java vs Zope

2006-01-07 Thread bruno modulix
[EMAIL PROTECTED] a écrit : (snip) All said and done, I prefer to use Java over Python for large applications Good for you; there are others that share your tastes, but that's all it is: preference. A good coder could create an equally powerful suitably large application in either

Re: [Zope] Newbee interfaces and implementations

2006-01-18 Thread bruno modulix
Roman Klesel a écrit : bruno desthuilliers schrieb: Looks like you're newbie to OO too !-) A class defines a type. You then need to have an instance of that type (like, say, 42 is an instance of type integer and 'foo' is an instance of type string). Yes, true! :-) !-) (Interfaces (I

Re: [Zope] What product to choose?

2006-01-21 Thread bruno modulix
Karlo Lozovina a écrit : (snip) First one is something like a mathematical encyclopedia and online collaboration tool - mix between MathWorld (http://mathworld.wolfram.com/) and a Wiki of some kind (http://www.wikipedia.org). (snip) Second web is much less complicated - it's intended to be