• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
removed code factored out to the separate "captcha" package

  1. … 11 more files in changeset.
Constrain captcha width to 100% of its parent's size

Fix missing variable

Fix typo

Provide an alternative exec-free captcha implementation using libgd and its Tcl wrapper https://github.com/flightaware/tcl.gd

This implementation will be preferred to the one using convert, when available.

  1. … 1 more file in changeset.
Compute amplitude and wavelength explicitly in pixels and make it stable with respect to the captcha size, introduce a random offset for the wave instead

Fixes acs-templating.tesseract_cannot_crack_catpcha automated test

Drop the pointsize parameter, use size instead, yielding more predictable results across Imagemagik versions and more controllable in general, make the wavelength randomized in the distortion

  1. … 1 more file in changeset.
Fail when no value is specified

Improve behavior: invalidate the captcha when the check fails, cleanup expired captcha also when a new one is generated

A simple image captcha implementation:

a random text is converted to a distorted image, its checksum, together with the expected text are stored in a lookup table. Upon validation, the text input by the user is matched against the checksum to determine if the captcha is correct.

Plan is to use it downstream on certain publicly available contact forms.

  1. … 8 more files in changeset.
file captcha-procs.tcl was initially added on branch oacs-5-10.