collective.pfg.norobots允许向ploneformgen表单添加collective.z3cform.norobots captcha字段。
collective.pfg.norobots的Python项目详细描述
目录
Overview
collective.pfg.norobots是使用collective.z3cform.norobots的PloneFormGen字段
collective.z3cform.norobots根据 问题/答案
此验证码可用于:
- as a PloneFormGen field with collective.pfg.norobots
- as a ^{tt5}$ (Plone Discussions) captcha plugin
- as a ^{tt6}$ field
- as a macro in a custom form
Requirements
我已使用以下工具测试此版本:
- 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
Installation
Getting the module
将collective.pfg.norobots添加到plone.recipe.zope2instance构建部分,例如:
[instance] ... eggs = Plone ... collective.pfg.norobots
或者,可以将其添加为对自己产品的依赖项setup.py:
install_requires=[ ... 'collective.pfg.norobots', ],
Enabling the module
安装PloneFormGen(如果尚未安装),然后从附加组件控制面板安装collective.pfg.norobots就这样!
Quickly test ?
下载collective.pfg.norobots并使用virtualenv和buildout测试模块:
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
转到http://localhost:8080,添加一个新的Plone站点并安装collective.pfg.norobots
启动测试:
(collective.pfg.norobots) pip install unittest2 (collective.pfg.norobots) ./bin/test -s collective.pfg.norobots
启动代码覆盖范围:
(collective.pfg.norobots) bin/coverage (collective.pfg.norobots) bin/report And open with a browser htmlcov/index.html
Credits
- 西尔文·布利欧[Sylvainb]-GitHub-Website
- 马金娜语料库Makina Corpus
Source code
Source code托管在github上。
Contributors
- 西尔文·布尔利欧[西尔瓦因]
- 金志良[梁朝伟]
- 帕维尔·莱维斯基
Changelog
1.2 (2016-07-21)
- 将小部件与其他PFG小部件统一起来,使其与QuickEdit一起工作。 [Lewicki]
1.1 (2015-04-13)
- 增加了荷兰语翻译。 [梁朝伟]
1.0 (2012-10-03)
- 初次发行 [Sylvainb]