Make captcha (kocaptcha) stateless
authorEkaterina Vaartis <vaartis@cock.li>
Thu, 20 Dec 2018 21:32:37 +0000 (00:32 +0300)
committerEkaterina Vaartis <vaartis@cock.li>
Fri, 21 Dec 2018 06:55:47 +0000 (09:55 +0300)
commit336e37d98f1b86c0332c9f260e27455a14714fa6
treed4c0a116eb5f0ca44766fa9419a6a984bea4fd8b
parent61a88a6757bc557a370888d288f93681cff9668b
Make captcha (kocaptcha) stateless

Also rename seconds_retained to seconds_valid since that's how it is
now. Put it down from 180 to 20 seconds. The answer data is now
stored in an encrypted text transfered to the client and back, so no
ETS is needed
config/config.exs
docs/config.md
lib/pleroma/captcha/captcha.ex
lib/pleroma/captcha/captcha_service.ex
lib/pleroma/captcha/kocaptcha.ex
lib/pleroma/web/twitter_api/twitter_api.ex
test/captcha_test.exs
test/support/captcha_mock.ex