liqd / adhocracy

Adhocracy is a policy drafting and decision making software for distributed groups and open institutions.
GNU Affero General Public License v3.0
150 stars 37 forks source link

Add captchas.net captcha verification #878

Closed nidico closed 10 years ago

nidico commented 10 years ago

Due to privacy and usability concerns, captchas.net is added as another captcha solution besides reCAPTCHA. Both are only used for new user registration.

This makes use of the provided python module on captchas.net [0], however only uses parts of its functionality. In particular, we use the pylons session to store the random tokens instead of files. These files are however still created and cleaned up without any need.

Furthermore the audio captcha link could make use of an icon and HTML5 audio and such.

To make use of this feature you need to create an acount on captchas.net and add the details in the adhocracy configuration.

[0] http://captchas.net/sample/python/captchasdotnet

xi commented 10 years ago

Seems to work well. Just one thing: When I enter a wrong captcha I get the right error message and a new image but the same letters. The same (different image with same letters) happens on reload.

I would like to add a "load a different one"-button to the list of nice-to-have features.

I did not test whether recaptcha still works.

nidico commented 10 years ago

Seems to work well. Just one thing: When I enter a wrong captcha I get the right error message and a new image but the same letters. The same (different image with same letters) happens on reload.

That was on purpose.

I would like to add a "load a different one"-button to the list of nice-to-have features.

Good idea. Can be done later.

I did not test whether recaptcha still works.

I tested it and it does.