Dmitry Chestnykh
|
acce4f8f76
Fix expiration constant.
|
14 years ago |
Dmitry Chestnykh
|
90a7bd4b43
Fix for Go weekly.2012-01-15.
|
14 years ago |
Dmitry Chestnykh
|
d7cb604d49
Add copyright headers.
|
14 years ago |
Dmitry Chestnykh
|
0a3f329676
Mention Russian in package doc.
|
14 years ago |
Dmitry Chestnykh
|
7c629aef82
Support other languages in audio captchas.
|
14 years ago |
Dmitry Chestnykh
|
34dcf8d144
Better error descriptions.
|
14 years ago |
Dmitry Chestnykh
|
c087adeb6a
Remove dependency on uniuri. Add random.go.
|
14 years ago |
Dmitry Chestnykh
|
647026ab1a
New now returns captcha with default length.
|
14 years ago |
Dmitry Chestnykh
|
c5afad979e
captcha: remove Collect method.
|
14 years ago |
Dmitry Chestnykh
|
6e79acad4e
Move server parts to server.go.
|
14 years ago |
Dmitry Chestnykh
|
316aacb9c0
Server: disable uppercase extensions (.PNG, .WAV).
|
14 years ago |
Dmitry Chestnykh
|
a0a9c943a7
Update docs.
|
14 years ago |
Dmitry Chestnykh
|
0476dc3b53
Server: reload captcha when given ?reload=x in URL.
|
14 years ago |
Dmitry Chestnykh
|
4b8382af15
Remove "Std" from StdCollectNum and StdExpiration.
|
14 years ago |
Dmitry Chestnykh
|
dab967324b
Add Store interface.
|
14 years ago |
Dmitry Chestnykh
|
8a2b5ae5df
Add Audio.EncodedLen. Workaround for Chrome WAV bug.
|
14 years ago |
Dmitry Chestnykh
|
d010e3f940
Add VerifyString function.
|
14 years ago |
Dmitry Chestnykh
|
bd0535eaeb
Add CaptchaServer.
|
14 years ago |
Dmitry Chestnykh
|
4572d7de1e
Fix comments, apply gofmt.
|
14 years ago |
Dmitry Chestnykh
|
90e4f7499b
newStore: accept collectNum and expiration time.
|
14 years ago |
Dmitry Chestnykh
|
9de0d066b9
Add ErrNotFound, return it from WriteAudio/Image.
|
14 years ago |
Dmitry Chestnykh
|
68d217e79d
Export RandomDigits. Remove NewRandom* functions.
|
14 years ago |
Dmitry Chestnykh
|
c179a205da
Rename "numbers" to "digits" everywhere.
|
14 years ago |
Dmitry Chestnykh
|
874a3063ed
Rearrange code and fix docs.
|
14 years ago |
Dmitry Chestnykh
|
797447596c
Replace PNGEncode with WriteTo for Image.
|
14 years ago |
Dmitry Chestnykh
|
e3eb22480f
Add WriteAudio function.
|
14 years ago |
Dmitry Chestnykh
|
b58457629b
Move rand initialization to image.go.
|
14 years ago |
Dmitry Chestnykh
|
8033b95002
Clarify docs.
|
14 years ago |
Dmitry Chestnykh
|
aa0588b4c9
Refactor store into its own file.
|
14 years ago |
Dmitry Chestnykh
|
0674e88f74
Accept the length of the random sequence of numbers.
|
14 years ago |