Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Steps to manage a plone site with Stepper by Makina Corpus

Project Description

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
Release History

Release History

This version
History Node

0.3

History Node

0.2

History Node

0.2dev-r99437

History Node

0.2dev-r80219

History Node

0.2dev-r80204

History Node

0.2dev-r80203

History Node

0.2dev-r79921

History Node

0.2dev-r79917

History Node

0.1dev-r74652

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.steps-0.3.zip (18.5 kB) Copy SHA256 Checksum SHA256 Source Apr 21, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting