Dmitry Chestnykh
|
7b585d44e1
Fix collection (locking and getting next value).
|
14 年之前 |
Dmitry Chestnykh
|
90e4f7499b
newStore: accept collectNum and expiration time.
|
14 年之前 |
Dmitry Chestnykh
|
9de0d066b9
Add ErrNotFound, return it from WriteAudio/Image.
|
14 年之前 |
Dmitry Chestnykh
|
68d217e79d
Export RandomDigits. Remove NewRandom* functions.
|
14 年之前 |
Dmitry Chestnykh
|
c179a205da
Rename "numbers" to "digits" everywhere.
|
14 年之前 |
Dmitry Chestnykh
|
2052308d2c
Set capacity for audio buffer. Rename makeStaticNoise to makeWhiteNoise.
|
14 年之前 |
Dmitry Chestnykh
|
874a3063ed
Rearrange code and fix docs.
|
14 年之前 |
Dmitry Chestnykh
|
8b932fcfbb
Implement a single captcha test command.
|
14 年之前 |
Dmitry Chestnykh
|
e40250a124
Add NewRandomAudio function.
|
14 年之前 |
Dmitry Chestnykh
|
797447596c
Replace PNGEncode with WriteTo for Image.
|
14 年之前 |
Dmitry Chestnykh
|
e3eb22480f
Add WriteAudio function.
|
14 年之前 |
Dmitry Chestnykh
|
5357b20fc9
Rename CaptchaImage -> Image, CaptchaAudio -> Audio.
|
14 年之前 |
Dmitry Chestnykh
|
82004bd901
Apply gofmt; fix comment in generate.go.
|
14 年之前 |
Dmitry Chestnykh
|
9ac4ea2b48
Better randomize background and sounds.
|
14 年之前 |
Dmitry Chestnykh
|
45c2a02df5
Lower level of beep sound.
|
14 年之前 |
Dmitry Chestnykh
|
8f4b20120f
First version of audio captcha.
|
14 年之前 |
Dmitry Chestnykh
|
3586f91d74
Move image generation test program to cmd/image.
|
14 年之前 |
Dmitry Chestnykh
|
778d34d6f1
image: move border calculation to calculateSizes().
|
14 年之前 |
Dmitry Chestnykh
|
452b826a09
Fix comments.
|
14 年之前 |
Dmitry Chestnykh
|
b58457629b
Move rand initialization to image.go.
|
14 年之前 |
Dmitry Chestnykh
|
8033b95002
Clarify docs.
|
14 年之前 |
Dmitry Chestnykh
|
d36aa1f342
image: refactor; add more color variations.
|
14 年之前 |
Dmitry Chestnykh
|
aa0588b4c9
Refactor store into its own file.
|
14 年之前 |
Dmitry Chestnykh
|
0674e88f74
Accept the length of the random sequence of numbers.
|
14 年之前 |
Dmitry Chestnykh
|
f9f7db1f43
Call Collect on a separate goroutine.
|
14 年之前 |
Dmitry Chestnykh
|
59a641ef53
Update documentation.
|
14 年之前 |
Dmitry Chestnykh
|
cbab3d068b
cmd: use standard width and height for image.
|
14 年之前 |
Dmitry Chestnykh
|
0101272840
Document functions and types in captcha.go.
|
14 年之前 |
Dmitry Chestnykh
|
bb39fc5cc9
Refactored image captcha ready, and documented.
|
14 年之前 |
Dmitry Chestnykh
|
f1572d4d2c
Numbers are now laid out correctly.
|
14 年之前 |