pbd-kn / contao-tossncaptcha-bundle
TossnCaptcha Captcha without Google
Package info
github.com/pbd-kn/contao-tossn-captcha-bundle
Type:contao-bundle
pkg:composer/pbd-kn/contao-tossncaptcha-bundle
Requires
- php: ^8.1
- ext-gd: *
- contao/core-bundle: ^4.13 || ^5.3
- symfony/config: ^5.4 || ^6.4 || ^7.4
- symfony/dependency-injection: ^5.4 || ^6.4 || ^7.4
- symfony/http-kernel: ^5.4 || ^6.4 || ^7.4
Requires (Dev)
- contao/easy-coding-standard: ^4.2
- contao/manager-plugin: ^2.0
- phpunit/phpunit: ^8.4|^9.0
- symfony/phpunit-bridge: ^4.4|^5.4|^6.0
Suggests
None
Provides
None
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
Replaces
None
README
Extension for Contao CMS
Contao is an Open Source PHP Content Management System for people who want a
professional website that is easy to maintain. Visit the [project website][1]
for more information.
About
Porting tossncaptcha to Contao 5 (Version 2.1...)
Porting tossncaptcha to Contao 4
Based on tossncaptcha Contao 3
- @package contao-tossncaptcha-bundle
- @author Thorsten Gading info@tossn.de
- @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
- Copyright (c) 2016 Thorsten Gading
- @author Peter Broghammer pb-contao@gmx.de
- @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
- Copyright (c) 2021- Peter Broghammer
- The Version from Thorsten is upgrated to Contao 4.9
- The Version from pbdkn is upgrated to Contao 5.3.3
Contao pbd-kn/contao-tossncaptcha-bundle
-
tossncaptcha stellt fuer Formulare eine Sicherheitsabfrage zur Verfuegung.
Diese Abfrage erlaubt eine Captcha Abfrage, ohne Google Elemente. -
Das Element steht erst zur Verfuegung, wenn es unter Einstellungen aktiviert (Einstellungen -> Captcha aktivieren),
und eventuell konfigurierte wurde. -
tossncaptcha provides a security query for forms.
This query allows a captcha query without the google items. -
The element is only available if it has been activated under Settings (Settings -> Activate Captcha),
and possibly configured.
Kompatibilitaet und Aktualisierung
- PHP 8.1 oder neuer, Contao 4.13 oder 5.3; GD mit FreeType-Unterstuetzung.
- Bestehende Formularfelder vom Typ
tossn_captchableiben gueltig. AuchtossnCaptchawird unterstuetzt; keine Umbenennung in der Datenbank erforderlich. - Nach Bereitstellung einer neuen Paketversion im Contao Manager aktualisieren, Datenbankmigration ausfuehren (falls die Captcha-Tabelle noch fehlt), Assets installieren und Anwendungscache neu aufbauen.
- Ein projektspezifisches
templates/form_tossn_captcha.html5hat Vorrang vor dem Bundle-Template. Bei Problemen dieses mit der neuen Vorlage vergleichen. - Danach Formular im Frontend mit richtiger, falscher und leerer Antwort testen; Backend-Vorschau und eigenen Hintergrund/eigene Schrift ebenfalls pruefen.
- Diese Quellcodeaenderung aktualisiert keine bereits installierten vendor-Kopien.
Isolierte Kompatibilitaetstests
Ohne Zugriff auf die Datenbank oder Start der Anwendung:
php tests/CompatibilityTest.php /pfad/zur/contao-installation/vendor/autoload.php
Die Tests verwenden echte Contao-Klassen, einen Datenbank-Testdouble und GD. Sie ersetzen keinen vollstaendigen Formular- und Versandtest in der Zielinstallation.