Skip to main content

collective.pfg.norobots allows to add a collective.z3cform.norobots captcha field to PloneFormGen forms.

Project description

Overview

collective.pfg.norobots is a PloneFormGen field using collective.z3cform.norobots.

collective.z3cform.norobots provides a “human” captcha widget based on a list of question/answer(s).

This captcha can be used :

  • as a PloneFormGen field with collective.pfg.norobots

  • as a plone.app.discussion (Plone Discussions) captcha plugin

  • as a z3c form field

  • as a macro in a custom form

Requirements

I have tested this release with :

  • Plone 5.0.5 & PloneFormGen 1.8.1 & collective.z3cform.norobots 1.4.4

  • Plone 4.3.10 & PloneFormGen 1.7.19 & collective.z3cform.norobots 1.4.4

Screenshot

Screenshot

Installation

Getting the module

Add collective.pfg.norobots to your plone.recipe.zope2instance buildout section e.g.:

[instance]
...
eggs =
    Plone
    ...
    collective.pfg.norobots

Or, you can add it as a dependency on your own product setup.py:

install_requires=[
    ...
    'collective.pfg.norobots',
],

Enabling the module

Install PloneFormGen (if not already done) then collective.pfg.norobots from the Add-ons control panel. That’s it!

Quickly test ?

Download collective.pfg.norobots and use virtualenv and buildout to test the module:

easy_install virtualenv
cd collective.pfg.norobots
virtualenv .
source bin/activate
(collective.pfg.norobots) easy_install zc.buildout
!!! check the buildout config file ``test-plone-base.cfg`` before running !!!
(collective.pfg.norobots) ln -s test-plone-5.0.x.cfg buildout.cfg
(collective.pfg.norobots) python bootstrap.py
(collective.pfg.norobots) bin/buildout
[...] be patient... [...]
(collective.pfg.norobots) ./bin/instance fg

Go to http://localhost:8080, add a new Plone Site and install collective.pfg.norobots.

Launch tests:

(collective.pfg.norobots) pip install unittest2
    (collective.pfg.norobots) ./bin/test -s collective.pfg.norobots

Launch code coverage:

(collective.pfg.norobots) bin/coverage
(collective.pfg.norobots) bin/report
And open with a browser htmlcov/index.html

Credits

Source code

Source code is hosted on Github.

How to contribute and submit a patch ?

Source code and an issue tracker is hosted on Github.

Contributors

  • Sylvain Boureliou [sylvainb]

  • Kim Chee Leong [kcleong]

  • Pawel Lewicki [lewicki]

Changelog

1.2 (2016-07-21)

  • Unified widget with the other PFG widgets to make it work with QuickEdit. [lewicki]

1.1 (2015-04-13)

  • Added Dutch translation. [kcleong]

1.0 (2012-10-03)

  • Initial release [sylvainb]

Project details


Download files

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

Source Distribution

collective.pfg.norobots-1.2.zip (70.2 kB view details)

Uploaded Source

File details

Details for the file collective.pfg.norobots-1.2.zip.

File metadata

File hashes

Hashes for collective.pfg.norobots-1.2.zip
Algorithm Hash digest
SHA256 36d1b354995c139642621f7f0442d55d341e257b927ec87ec1950bfb92bc3a6d
MD5 f574d07f1fe8ba053c24234ecf0cdf5d
BLAKE2b-256 2492aa82da3b1cc22cc456573a60d686cc436f52ff91d34f1a37dad1e1cf6bc5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page