mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
No description
ab923e0a75
Summary: Fixes T12195. For the past few years, Recaptcha (now part of Google) has supported a new, "no captcha" one-click user interface. This new UI is stable, doesn't require any typing or reading words, and can even work without JavaScript (if the administrator enables it on the Recaptcha side). Furthermore, the new Recaptcha has a completely trivial API that can be dealt with in a few lines of code. Thus, the external `recaptcha` php library is now gone. This API is a complete replacement for the old one, and does not require any upgrade path for users or Phabricator administrators - public and secret keys for the "new" Recaptcha UI are the exact same as the "classic" Recaptcha. Any old Recaptcha keys for a domain will continue to work. Note that Google is currently testing Yet Another new Captcha API, called "Invisible reCAPTCHA", that will not require user interaction at all. In fact, the user will not even be aware there //is even a captcha form//, as far as I understand. However, this new API is 1) in beta, 2) requires new Recaptcha keys (so it cannot be a drop-in replacement), and 3) requires more drastic API changes, as form submission buttons must instead invoke JavaScript code, rather than a token being passed along with the form submission. This would require far more extensive changes to the controllers. Maybe when it's several years old, it can be considered. Signed-off-by: Austin Seipp <aseipp@pobox.com> Test Plan: Created a brand-new Phabricator installation, saw the new Captcha UI on administrator sign up. Logged out, made 5 invalid login attempts, and saw the new Captcha UI. Reworked the conditional to invert the condition, etc to test and make sure the API responded properly. Reviewers: epriestley, #blessed_reviewers, chad Reviewed By: epriestley, #blessed_reviewers Subscribers: avivey, Korvin Maniphest Tasks: T12195 Differential Revision: https://secure.phabricator.com/D17304 |
||
---|---|---|
bin | ||
conf | ||
externals | ||
resources | ||
scripts | ||
src | ||
support | ||
webroot | ||
.arcconfig | ||
.arclint | ||
.arcunit | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
NOTICE | ||
README.md |
Phabricator is a collection of web applications which help software companies build better software.
Phabricator includes applications for:
- reviewing and auditing source code;
- hosting and browsing repositories;
- tracking bugs;
- managing projects;
- conversing with team members;
- assembling a party to venture forth;
- writing stuff down and reading it later;
- hiding stuff from coworkers; and
- also some other things.
You can learn more about the project (and find links to documentation and resources) at Phabricator.org
Phabricator is developed and maintained by Phacility.
SUPPORT RESOURCES
For resources on filing bugs, requesting features, reporting security issues, and getting other kinds of support, see Support Resources.
NO PULL REQUESTS!
We do not accept pull requests through GitHub. If you would like to contribute code, please read our Contributor's Guide.
LICENSE
Phabricator is released under the Apache 2.0 license except as otherwise noted.