Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install collective.steps

How to install collective.steps

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.steps
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.3 Available View build log
Windows (64-bit)
0.3 Available View build log
Mac OS X (10.5+)
0.3 Available View build log
Linux (32-bit)
0.3 Available View build log
Linux (64-bit)
0.3 Available View build log
 
License
GPL
Dependencies
Lastest release
version 0.3 on Jan 5th, 2011

Introduction

Stepper is a very good Zope products. This egg is a first effort to bring some plone relative steps availables to developpers and site administrator.

How many of you have suffer from having proxy error while trying to reindex a new index in a catalog ?

Well now it's possible to: - Change all members's passwords to a unique password - Change all members's emails to a unique email - Apply a profile without busy a zope's current thread on a production server - Activate/Deactivate a PAS plugin: deactivate login from your website before activate a migration

So if you have any idea for any reusable migration or feature for developpers, let me know.

How to use

Like Stepper, for example:

$ ./bin/instance run parts/productdistros/Stepper/run.py -C collective.steps.config /plone profile_default

Available steps

Password

This step let you set a common password for all members of Plone site. The base configuration for this step set the passwords to 'secret'

$ ./bin/instance run parts/productdistros/Stepper/run.py -C collective.steps.config /myplone init_users_password
EMail

This step let you set a common email to all members of a Plone site. The base configuration for this step set the mail to 'mail@provider.com'

$ ./bin/instance run parts/productdistros/Stepper/run.py -C collective.steps.config /myplone email
ClearExpiredAccount

In a Plone site when you fullfill the join_form a member is created in the member database with a random password. Then the password reset request is sent to the user. This step help you providing a way to cleanup your member database

You can also adding some lines of code to monkey patch the password reset tool to not clean it's own password reset requests. Once the password requests are reseted you can't detect if a user account already been activated.

from Products.PasswordResetTool.PasswordResetTool import PasswordResetTool
def clearExpired(self, days=10): pass
PasswordResetTool.clearExpired = clearExpired
logger.info('password reset tool is now patched, clearExpired do nothing')
$ ./bin/instance run parts/productdistros/Stepper/run.py -C collective.steps.config /myplone del_unactivated_account
Profile

Apply a generic setup profile.

$ ./bin/instance run parts/productdistros/Stepper/run.py -C collective.steps.config /myplone profile_default

TODO

  • GenerateUsers into member.py to create members. convienent for stress testing purpose
  • GenerateContent into content.py

Note the code is available at http://svn-mirror.plone.org/svn/collective/collective.steps/trunk#egg=collective.steps-dev

Changelog

0.2 - First release with docs
  • Adding a step to clean member database
  • Adding doc for each available steps directly in README.txt file
0.1 - Unreleased
  • Initial release

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.