[Zope-Annce] z3c.rml 0.5 released!
I am very proud to announce the release of z3c.rml version 0.5, an independent implementation of the ReportLab Markup Language (RML). RML is a XML dialect that describes the generation of a PDF using the ReportLab PDF generation library. This release focuses on compatibility with the RML version developed by ReportLab, Inc. In the future, however, the plan is to divert from the original API to fix inconsistencies between the RML Specification and the ReportLab API and to extend beyond the original functionality. Features - Full support of all common RML directives. - Support for merging in pages from external PDF files thanks to pyPdf. - Directives are fully documented using an extension to Zope's interfaces and schemas. - Code-generated DTD file. - Code-generated RML Reference document, of course as PDF built with z3c.rml. - Optional integration of page templates, allowing dynamic RML documents to be created. - Support for charts. - Test suite with 90 files. Roadmap to 1.0 -- - Fix inconsistencies between ReportLab and RML APIs. - Finish the documentation of the chart support. - Finish the page insert and merge functionality. - Improve the DTD generator and possibly write a generator for RelaxNG. - Integration of a hyphenation support, if a proper package can be found. Installation z3c.rml has been uploaded to the Python cheese shop. Thus you should only need to say: easy_install z3c.rml Unfortunately, easy install will not install the ``reportlab`` dependency, since it is not available in the cheese shop. This will have to be done by hand. Also, by default the pagetemplate support is not enabled, because of the many dependencies. However, if you want the pagetemplate support, you can simply install it or install the zope.pagetemplate egg. Questions and Comments -- If you have any questions or comments, please feel free to contact the Zope 3 Users mailing list at zope3-users@zope.org or E-mail me directly at [EMAIL PROTECTED] Enjoy! Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-dev] Zope Tests: 5 OK
Summary of messages to the zope-tests list. Period Sun Apr 1 12:00:00 2007 UTC to Mon Apr 2 12:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Sun Apr 1 20:51:32 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-April/007528.html Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Unit Tests Date: Sun Apr 1 20:53:02 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-April/007529.html Subject: OK : Zope-2.9 Python-2.4.4 : Linux From: Zope Unit Tests Date: Sun Apr 1 20:54:32 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-April/007530.html Subject: OK : Zope-2.10 Python-2.4.4 : Linux From: Zope Unit Tests Date: Sun Apr 1 20:56:02 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-April/007531.html Subject: OK : Zope-trunk Python-2.4.4 : Linux From: Zope Unit Tests Date: Sun Apr 1 20:57:32 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-April/007532.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-PAS] Re: PluggableAuthService question about roles
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Bennett wrote: I have installed the following: Zope Version (Zope 2.9.7-final, python 2.4.4, linux2) Python Version2.4.4 (#1, Oct 23 2006, 13:58:00) [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] System Platform linux2 SOFTWARE_HOME /var/zope/lib/python ZOPE_HOME /var/zope INSTANCE_HOME /var/zope CLIENT_HOME /var/zope/var Network Services ZServer.HTTPServer.zhttp_server (Port: 8086) ZServer.HTTPServer.zwebdav_server (Port: 9800) I'm using Zeo storage with this. The main problem is my understanding roles with my new set up. I am moving from a Zope 2.6.1 setup to the setup shown above. I've already added some Products to my INSTANCE_HOME/Products directory including Plone which includes the PluggableAuthService folder. I installed a Plone site for testing and deleted it. It appears that PAS has taken over my root acl_users folder or is this now a default in 2.9. The installer for a 'Plone Site' replaces the root acl_users with a PAS: I've argued that this is poor practice (inexcusably rude, actually), but they seem determined to continue it. Now I can only add users from the ZODB User Manager under /acl_users/users, there is nowhere to add a user from an Add buttion as in the older version of Zope. Correct. In PAS, there are actually potentially muttiple user sources (e.g,, SQL, LDAP, NTLM, etc.). Adding them to the 'ZODB users' plugin is the cognate of the od Add button. I can add roles from ZODB Role Manager in /acl_users/roles but these roles don't show up under the Security tab on any page. I can add local roles under the Security tab and they don't show up in /acl_users/roles. Correct. The roles in the PAS plugin are used to control global grants to the users; the roles you set on a folder (even the root), are about local grants. I have searched and can find little to no documentation on use or difference in the two authentication methods. Where can I find more information on roles in 2.9.7 and use in this situation? In general, I would avoid defining any new global roles in PAS, or even granting the existing ones as global roles. Rather, I advise treating *all* grants as local, even if that means setting them on the root object. Is this normal behavior and if so how can I synchronize roles between the Security tab and /acl_users/roles or is it not possible? I would just avoid the role plugin altogether. Am still searching the WEB and archives in the meantime. The better list for this would be [EMAIL PROTECTED] (CC'ed), which deals with PAS specifics. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGEboh+gerLs4ltQ4RAomwAKCCN58a7DPkCDsM8v8Oh1a9b6uBPgCgr+m6 H30tKJ1u9k8lJqtBIPxQ11k= =uupR -END PGP SIGNATURE- ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas
[Zope] Re: include?
Katie [EMAIL PROTECTED] wrote: We're almost finished getting the new site done completely in zope using css and mySql. We have an older portion of the old site done in php thought that we don't really want to re-write. We'd like to include it in the dtml document page that has all the common elements of every page but I'm at a loss of a way to do it other than using an inline frame. Is there a dtml include that takes a url string the way the dtml-var tag renders the associated file? Have a look at mxm Proxy tool: http://www.mxm.dk/products/public/mxmProxyTool/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZSQL, call for early beta testers
Maciej Wisniowski wrote: It works something like this:: (...) If in the folder 'sql/Userstuff' you have a file called 'select_users.sql' you will the be able to just run: # select users: print SQLUser.select_users() # same but first printed the final SQL used print SQLUser.select_users(debug__=True) # save time for the next call print SQLUser.select_users(memcache__=True) Few questions :) sql/Userstuff is a filesystem folder or a folder in ZODB? On the filesystem. No ZODB. How does select_users.sql look? is this dtml with parameters like in ZSQLMethods? Can I just pass parameters like: SQLUser.select_users(param1='p1', param2='p2')? Exactly like DTML ZSQLMethods. Yes. Have you compared zsql + memcache performace with eg. CCZSQLMethods from Dieter Maurer? Wasn't aware of this project. Will check it out. Is anybody interested in a being early beta testers before I release it as Open Source? It works quite well here for me but I fear I'm getitng a bit home blind based on just my needs. I'm pretty sure it works but some early feedback would be appreciated. I'm interested, although I can't guarantee quick response :) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] All Of My Zope 2.6 Transactions Since 2/6/07 Are Gone!
I know of 2 situations where such things can happen unexpectedly: Thanks for the assistance. I was able to recover using an XML data backup outside of Zope and move the missing content as flat files to the Apache document root on a new server. Since I have decided to abandon the old machine now I won't bother to investigate why the data disappeared. What is the lesson learned? That when you are using an old (2.6.2) version of Zope there is an increased likelihood of something bad happening. Presumably Zope 2 gets more stable with later versions. So use Yum to upgrade Zope 2 regularly. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Making pythonscript changes to formulator fields persistent
What to do? I guess some developer has worked hard to prevent me from doing just this at some point, but why? Do I need to write a product to do it? Is anyone at all using this crazy development model where semi trusted users do stuff in the ZMI??? But I digress.. If anyone knows how to solve this I would be less frustrated for a while ;-) Use ExternalMethod - easy just like python scripts and it's code is trusted. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] about LocalFS
Dears, Just checking and maybe looking for some advices. My application in Zope depends on LocalFS. I want to make my application reproducible at other Zope servers. My question is if LocalFS is still maintained and under developed and if so is there any other version newer than http://www.easyleading.org/Downloads/LocalFS-1.7rc1-andreas.tar.gz/view? In order to still use LocalFS I need to hack in its code and it's not such a thing I would like to request to another user to do if he/she wants to do my application. If I have to move from LocalFS, which other product would replace it keeping at least LocalFS features? Many thanks in advance. Regards, Alan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Making pythonscript changes to formulator fields persistent
On Monday 02 April 2007 17:51, Maciej Wisniowski wrote: What to do? I guess some developer has worked hard to prevent me from doing just this at some point, but why? Do I need to write a product to do it? Is anyone at all using this crazy development model where semi trusted users do stuff in the ZMI??? But I digress.. If anyone knows how to solve this I would be less frustrated for a while ;-) Use ExternalMethod - easy just like python scripts and it's code is trusted. I was thinking of that... How would you do that? Do you know formulator enough to say? Put the whole thing in the EM, or something simpler? An EM I could just hand off the field object to, to get persisted? (I find it a bit cumbersome to develop in EMs, reloading and all, so I tend to avoid it.) Gaute ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Making pythonscript changes to formulator fields persistent
I was thinking of that... How would you do that? Do you know formulator enough to say? I don't know your use case good enough. Is this just changing attributes of formulator fields? Put the whole thing in the EM, or something simpler? An EM I could just hand off the field object to, to get persisted? I don't understand what you mean. Field objects already are persistent. EM gives you no security restrictions in comparision to Script Python. In general to simply change field.values['required'] to false I'd write function to traverse through ZODB to find all FormulatorForm objects and it's fields. (I find it a bit cumbersome to develop in EMs, reloading and all, so I tend to avoid it.) With ExternalMethod you only have to hit save button again to refresh it. Simple external method code that you may use to traverse through ZODB: def checkFolder(self, fld): for obj_name, obj in fld.objectItems( 'FormulatorForm' ): # get form fields here etc for fld_name,fld_obj in fld.objectItems( 'Folder' ): checkFolder( fld_obj ) for fld_name,fld_obj in fld.objectItems( 'Folder (Ordered)' ): checkFolder( fld_obj ) I'm not sure about 'FormulatorForm', this may be 'Formulator Form' or something like that. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Making pythonscript changes to formulator fields persistent
EM gives you no security restrictions in comparision to Script Python. I should rather say that it gives you less restrictions: access to all python modules etc. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] PluggableAuthService question about roles
I have installed the following: Zope Version(Zope 2.9.7-final, python 2.4.4, linux2) Python Version 2.4.4 (#1, Oct 23 2006, 13:58:00) [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] System Platform linux2 SOFTWARE_HOME /var/zope/lib/python ZOPE_HOME /var/zope INSTANCE_HOME /var/zope CLIENT_HOME /var/zope/var Network ServicesZServer.HTTPServer.zhttp_server (Port: 8086) ZServer.HTTPServer.zwebdav_server (Port: 9800) I'm using Zeo storage with this. The main problem is my understanding roles with my new set up. I am moving from a Zope 2.6.1 setup to the setup shown above. I've already added some Products to my INSTANCE_HOME/Products directory including Plone which includes the PluggableAuthService folder. I installed a Plone site for testing and deleted it. It appears that PAS has taken over my root acl_users folder or is this now a default in 2.9. Now I can only add users from the ZODB User Manager under /acl_users/users, there is nowhere to add a user from an Add buttion as in the older version of Zope. I can add roles from ZODB Role Manager in /acl_users/roles but these roles don't show up under the Security tab on any page. I can add local roles under the Security tab and they don't show up in /acl_users/roles. I have searched and can find little to no documentation on use or difference in the two authentication methods. Where can I find more information on roles in 2.9.7 and use in this situation? Is this normal behavior and if so how can I synchronize roles between the Security tab and /acl_users/roles or is it not possible? Am still searching the WEB and archives in the meantime. Thanks, Thomas -- Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III P O Box 32026 University Library Boone, North Carolina 28608 (828) 262 6587 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: All Of My Zope 2.6 Transactions Since 2/6/07 Are Gone!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Jonathan (Integic) wrote: I know of 2 situations where such things can happen unexpectedly: Thanks for the assistance. I was able to recover using an XML data backup outside of Zope and move the missing content as flat files to the Apache document root on a new server. Since I have decided to abandon the old machine now I won't bother to investigate why the data disappeared. What is the lesson learned? That when you are using an old (2.6.2) version of Zope there is an increased likelihood of something bad happening. Strictly speaking, your *first* problem was in running 2.6.*2*, rather than 2.6.4 (the latest stable release in the 2.6 line). That one should've been a no brainer, just do it upgrade, with fairly minimal testing. The changelogs for 2.6.3 and 2.6.4 contain a large number of bugfixes, many of which had important security or stability implications. Upgrading acros *major* versions (from 2.6.x to 2.7.x, for instance) is potentially much riskier, and should normally require more careful change management, as the chance that your third-party or custom code might break during the upgrade is much higher. For best support from the community, you really need to be running the latest stable version of a release line which is still in maintenance: at this point, 2.8.x is just about at EOL, so finding a way to migrate to 2.9.x soon would be your best bet. I would advise doing that stepwise, moving across one major release line at a time. Presumably Zope 2 gets more stable with later versions. So use Yum to upgrade Zope 2 regularly. I can't say for sure what happened in your case: that you used yum to upgrade suggsests that you were also running with the RPM-supplied version of Python. For the 2.6.x line, that would've been a Python 2.1.3 or 2.1.4: the system verions of those Python's on RH-derived boxes were not built with large-file support enabled, which might explain the symptom you saw (rollowver on the 2Gb file size limit). Python 2.2 and later built with LFS enabled by default on almost all platforms, and thus would not have been subject to the wraparound. Thus, most old hands never run with the '/usr/bin/python' supplied by their distribution for production Zope use, but rather build a separate Python which is used only to run Zope. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGEbdT+gerLs4ltQ4RAregAJ47mkwUqPXWzEAvp7eWsHgcAi6E+QCfXzvq skkO2chBTrbK0ztlDMAn/vo= =lE5k -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: PluggableAuthService question about roles
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Bennett wrote: I have installed the following: Zope Version (Zope 2.9.7-final, python 2.4.4, linux2) Python Version2.4.4 (#1, Oct 23 2006, 13:58:00) [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] System Platform linux2 SOFTWARE_HOME /var/zope/lib/python ZOPE_HOME /var/zope INSTANCE_HOME /var/zope CLIENT_HOME /var/zope/var Network Services ZServer.HTTPServer.zhttp_server (Port: 8086) ZServer.HTTPServer.zwebdav_server (Port: 9800) I'm using Zeo storage with this. The main problem is my understanding roles with my new set up. I am moving from a Zope 2.6.1 setup to the setup shown above. I've already added some Products to my INSTANCE_HOME/Products directory including Plone which includes the PluggableAuthService folder. I installed a Plone site for testing and deleted it. It appears that PAS has taken over my root acl_users folder or is this now a default in 2.9. The installer for a 'Plone Site' replaces the root acl_users with a PAS: I've argued that this is poor practice (inexcusably rude, actually), but they seem determined to continue it. Now I can only add users from the ZODB User Manager under /acl_users/users, there is nowhere to add a user from an Add buttion as in the older version of Zope. Correct. In PAS, there are actually potentially muttiple user sources (e.g,, SQL, LDAP, NTLM, etc.). Adding them to the 'ZODB users' plugin is the cognate of the od Add button. I can add roles from ZODB Role Manager in /acl_users/roles but these roles don't show up under the Security tab on any page. I can add local roles under the Security tab and they don't show up in /acl_users/roles. Correct. The roles in the PAS plugin are used to control global grants to the users; the roles you set on a folder (even the root), are about local grants. I have searched and can find little to no documentation on use or difference in the two authentication methods. Where can I find more information on roles in 2.9.7 and use in this situation? In general, I would avoid defining any new global roles in PAS, or even granting the existing ones as global roles. Rather, I advise treating *all* grants as local, even if that means setting them on the root object. Is this normal behavior and if so how can I synchronize roles between the Security tab and /acl_users/roles or is it not possible? I would just avoid the role plugin altogether. Am still searching the WEB and archives in the meantime. The better list for this would be [EMAIL PROTECTED] (CC'ed), which deals with PAS specifics. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGEboh+gerLs4ltQ4RAomwAKCCN58a7DPkCDsM8v8Oh1a9b6uBPgCgr+m6 H30tKJ1u9k8lJqtBIPxQ11k= =uupR -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] setup SecureMail for Plone
My email server requires SSL connections for sending email. How can I setup SecureMail in Plone 2.5.1 to send user registration email? _ 使用 MSN Messenger,與朋友在線上聊天: http://messenger.microsoft.com/tc ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )