aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/captcha
AgeCommit message (Collapse)Author
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2020-11-01Use Pleroma.HTTP instead of TeslaEkaterina Vaartis
Closes #2275 As discovered in the issue, captcha used Tesla.get instead of Pleroma.HTTP. I've also grep'ed the repo and changed the other place where this was used.
2020-10-13other files consistencyAlexander Strizhakov
2020-07-29Expose seconds_valid in Pleroma Captcha API endpointMark Felder
2020-04-29Change Pleroma.CaptchaTest to be a regular module instead of GenServerEgor Kislitsyn
2020-04-29Add tests for account registration with captcha enabled and improve errorsEgor Kislitsyn
2020-03-03Update CopyrightsMark Felder
2020-03-02Bump copyright years of files changed after 2020-01-07Haelwenn (lanodan) Monnier
Done via the following command: git diff fcd5dd259a1700a045be902b43391b0d1bd58a5b --stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
2020-02-25Fix Dialyzer warningsEgor Kislitsyn
2020-02-24Captcha: return invalid when answer_data is nilHaelwenn (lanodan) Monnier
2019-12-12Add native captcha and enable it by default.Egor Kislitsyn
2019-08-14use default child_specsstwf
2019-07-10Wrap error messages into gettext helpersEgor Kislitsyn
2019-05-13Switch to Jason over PoisonMark Felder
2019-03-13[Credo] fix Credo.Check.Readability.MaxLineLengthHaelwenn (lanodan) Monnier
2019-03-13[Credo] Remove parentesis on argument-less functionsHaelwenn (lanodan) Monnier
2019-02-09de-group alias/esHaelwenn (lanodan) Monnier
2019-02-09Credo fixes: alias grouping/orderingHaelwenn (lanodan) Monnier
2019-01-03Merge branch 'captcha' into 'develop'rinpatch
Make captcha (kocaptcha) stateless See merge request pleroma/pleroma!585
2018-12-31update copyright years to 2019William Pitcock
2018-12-29Remove the debugging IO.inspectvaartis
2018-12-27Up captcha timer to 60 secs again, save used captchas in cachexEkaterina Vaartis
2018-12-23add license boilerplate to pleroma coreWilliam Pitcock
2018-12-22Move the encryption out of kocaptcha into general captcha moduleEkaterina Vaartis
That way there won't be a need to reimplement it for other captcha services
2018-12-21Make captcha (kocaptcha) statelessEkaterina Vaartis
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
2018-12-17Use :ets.match_delete to delete old captchasvaartis
2018-12-16Clean captchas up periodically, not schedule it after theyre createdEkaterina Vaartis
2018-12-16Change minutes_retained config to seconds_retainedEkaterina Vaartis
2018-12-16Add a configurable auto-cleanup for captchasEkaterina Vaartis
2018-12-15Replace HTTPoison with Tesla for kocapthaEkaterina Vaartis
2018-12-15Formatting fixesEkaterina Vaartis
2018-12-15Separate captcha implementation into a behaviour and use itEkaterina Vaartis