Archives

From the Project site:
PyReverse is a set of tools for reverse engineering Python code.
So far, it features dependency analysis tools, unittest skeleton generation, quick UML like diagrams generation and XMI generation for importation in a UML modeling tool. A special module can be used to generate files readable by Argo UML.

» Read More

I found out that zopectl has a command named adduser. So instead of using the python script zpasswd.py to add a zope manager one can call:
#./zopectl adduser user_name user_password

I always used the "zopctl debug" and "zopectl test" but didnt know that zopectl has the adduser command.

Here is a list of all available commands:

» Read More

If members of your plone site are allowed to insert html, your site may be vulnurable to XSS attack. By default Plone register Kupu as default editor for members and kupu allows html inserting. Just click on the 'html' picture. To filter javascripts Plone rely on safe_html transform which can be easily bypassed.

Take this example:

» Read More

I have learned something new. So I want to share it.

Suppose you have a ZEO client and 2 ZEO servers. Is it possible to configure the ZEO client that if the first ZEO server crashes it uses the second ?

The answer is yes with one condition: the 2 ZEO servers MUST share the same storage (Data.fs) OR the 2 storages MUST be identical (perfect replication).

SETUP (tried only with Zope 2.9.6):

» Read More