[FEATURE] House cleaning 36/36636/3
authortritum_rz <ralf.zimmermann@tritum.de>
Tue, 3 Feb 2015 19:12:24 +0000 (20:12 +0100)
committerRalf Zimmermann <ralf.zimmermann@tritum.de>
Tue, 3 Feb 2015 19:14:36 +0000 (20:14 +0100)
Resolves: #64835
Releases: 6.2, 4.7, 4.5
Change-Id: I7cd2cd702f61314530b634ad72a552e27e1cf178
Reviewed-on: http://review.typo3.org/36636
Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
73 files changed:
Classes/Extensions/Form/PostProcess/WtspamshieldmailPostProcessor.php
Classes/Extensions/Form/PostProcess/WtspamshieldvalidatorPostProcessor.php
Classes/Extensions/Form/View/Mail/Html/HtmlView.php
Classes/Extensions/Form/View/Mail/Plain/PlainView.php
Classes/Extensions/Powermail2Validator.php [new file with mode: 0755]
Classes/Extensions/WtspamshieldValidator.php
Classes/Extensions/class.tx_form_System_Validate_Wtspamshield.php
Classes/Extensions/class.tx_wtspamshield_pbsurvey.php
Classes/Extensions/class.tx_wtspamshield_powermail2.php [changed mode: 0755->0644]
Classes/Extensions/class.tx_wtspamshield_t3blog.php
Classes/Extensions/class.user_tx_wtspamshield_direct_mail_subscription.php
Classes/Methodes/class.tx_wtspamshield_method_abstract.php
Classes/Methodes/class.tx_wtspamshield_processor.php
Documentation/AdditionalLinks/Index.rst [new file with mode: 0644]
Documentation/Changelog/Index.rst [new file with mode: 0644]
Documentation/Changelog/VersionMax01xAlpha/Index.rst [new file with mode: 0644]
Documentation/Changelog/VersionMax05xBeta/Index.rst [new file with mode: 0644]
Documentation/Changelog/VersionMax06xBeta/Index.rst [new file with mode: 0644]
Documentation/Changelog/VersionMax08xBeta/Index.rst [new file with mode: 0644]
Documentation/Changelog/VersionMax09xBeta/Index.rst [new file with mode: 0644]
Documentation/Changelog/VersionMax10xStable/Index.rst [new file with mode: 0644]
Documentation/Changelog/VersionMax11xStable/Index.rst [new file with mode: 0644]
Documentation/Changelog/VersionMax12xStable/Index.rst [new file with mode: 0644]
Documentation/Changelog/Versionmax07xBeta/Index.rst [new file with mode: 0644]
Documentation/Compatibility/Index.rst [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/GeneralConfigurationAndConsiderations/Images.txt [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/GeneralConfigurationAndConsiderations/Index.rst [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/Index.rst [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseSpamshieldWithComments/Index.rst [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseSpamshieldWithKeUserregister/Index.rst [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseSpamshieldWithPbsurvey/Index.rst [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseSpamshieldWithPowermail1x/Index.rst [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseSpamshieldWithPowermail2x/Index.rst [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseSpamshieldWithT3Blog/Index.rst [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseSpamshieldWithVeGuestbook/Images.txt [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseSpamshieldWithVeGuestbook/Index.rst [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDefault(typo3)Mailform/Images.txt [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDefault(typo3)Mailform/Index.rst [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDirectMailSubscription/Images.txt [new file with mode: 0644]
Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDirectMailSubscription/Index.rst [new file with mode: 0644]
Documentation/Images.txt [new file with mode: 0644]
Documentation/Images/constant_editor.png [new file with mode: 0644]
Documentation/Images/manual_html_m1c35f4e1.jpg [new file with mode: 0644]
Documentation/Images/manual_html_m29e01b5e.png [new file with mode: 0644]
Documentation/Images/manual_html_m30fa94a2.png [new file with mode: 0644]
Documentation/Images/manual_html_m3727b6a6.jpg [new file with mode: 0644]
Documentation/Images/powermail_frontend_1x.gif [new file with mode: 0644]
Documentation/Images/spam_log_backend.png [new file with mode: 0644]
Documentation/Images/spam_log_detail.png [new file with mode: 0644]
Documentation/Images/t3_blog_frontend.png [new file with mode: 0644]
Documentation/Images/ve_guestbook_frontend.gif [new file with mode: 0644]
Documentation/Images/wt_spamshield_logo.png [new file with mode: 0644]
Documentation/Index.rst [new file with mode: 0644]
Documentation/Introduction/Index.rst [new file with mode: 0644]
Documentation/Introduction/SupportersAndSponsors/Index.rst [new file with mode: 0644]
Documentation/Introduction/WhatDoesItDo/Index.rst [new file with mode: 0644]
Documentation/Introduction/WtSpamshieldDevelopmentTeam/Index.rst [new file with mode: 0644]
Documentation/Screenshots/ExampleSpamLogDetail/Images.txt [new file with mode: 0644]
Documentation/Screenshots/ExampleSpamLogDetail/Index.rst [new file with mode: 0644]
Documentation/Screenshots/FrontendPowermail1xExample/Images.txt [new file with mode: 0644]
Documentation/Screenshots/FrontendPowermail1xExample/Index.rst [new file with mode: 0644]
Documentation/Screenshots/FrontendT3BlogExample/Images.txt [new file with mode: 0644]
Documentation/Screenshots/FrontendT3BlogExample/Index.rst [new file with mode: 0644]
Documentation/Screenshots/FrontendVeGuestbookExample/Images.txt [new file with mode: 0644]
Documentation/Screenshots/FrontendVeGuestbookExample/Index.rst [new file with mode: 0644]
Documentation/Screenshots/Index.rst [new file with mode: 0644]
Documentation/Screenshots/SpamLogInTheBackend/Images.txt [new file with mode: 0644]
Documentation/Screenshots/SpamLogInTheBackend/Index.rst [new file with mode: 0644]
Documentation/Todo/Index.rst [new file with mode: 0644]
Documentation/UsersManual/ExistingInstallationUpgradeOfWtSpamshield/Index.rst [new file with mode: 0644]
Documentation/UsersManual/FreshAndCleanInstallation/Index.rst [new file with mode: 0644]
Documentation/UsersManual/Index.rst [new file with mode: 0644]
doc/manual.sxw [deleted file]

index 60d0631..305a88a 100755 (executable)
@@ -5,7 +5,7 @@ namespace TYPO3\CMS\Form\PostProcess;
  *
  *  Copyright notice
  *
- *  (c) 2014 Ralf Zimmermann <ralf.zimmermann@tritum.de>, TRITUM GmbH
+ *  (c) 2015 Ralf Zimmermann <ralf.zimmermann@tritum.de>, TRITUM GmbH
  *
  *  All rights reserved
  *
index 794e905..cf417e5 100755 (executable)
@@ -5,7 +5,7 @@ namespace TYPO3\CMS\Form\PostProcess;
  *
  *  Copyright notice
  *
- *  (c) 2014 Ralf Zimmermann <ralf.zimmermann@tritum.de>, TRITUM GmbH
+ *  (c) 2015 Ralf Zimmermann <ralf.zimmermann@tritum.de>, TRITUM GmbH
  *
  *  All rights reserved
  *
index 6719536..bfc0c68 100755 (executable)
@@ -5,7 +5,7 @@ namespace TRITUM\WtSpamshield\Form\View\Mail\Html;
  *
  *  Copyright notice
  *
- *  (c) 2014 Ralf Zimmermann <ralf.zimmermann@tritum.de>, TRITUM GmbH
+ *  (c) 2015 Ralf Zimmermann <ralf.zimmermann@tritum.de>, TRITUM GmbH
  *
  *  All rights reserved
  *
index d5df9f8..6093e71 100755 (executable)
@@ -5,7 +5,7 @@ namespace TRITUM\WtSpamshield\Form\View\Mail\Plain;
  *
  *  Copyright notice
  *
- *  (c) 2014 Ralf Zimmermann <ralf.zimmermann@tritum.de>, TRITUM GmbH
+ *  (c) 2015 Ralf Zimmermann <ralf.zimmermann@tritum.de>, TRITUM GmbH
  *
  *  All rights reserved
  *
diff --git a/Classes/Extensions/Powermail2Validator.php b/Classes/Extensions/Powermail2Validator.php
new file mode 100755 (executable)
index 0000000..c00b823
--- /dev/null
@@ -0,0 +1,120 @@
+<?php
+namespace TRITUM\WtSpamshield\Extensions;
+
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 2015 Ralf Zimmermann <Ralf.Zimmermann@tritum.de>
+*  All rights reserved
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * powermail 2.x hook
+ *
+ * @author Ralf Zimmermann <ralf.zimmermann@tritum.de>
+ * @package tritum
+ * @subpackage wt_spamshield
+ */
+class Powermail2Validator extends \In2code\Powermail\Domain\Validator\StringValidator {
+
+       /**
+        * @var tx_wtspamshield_div
+        */
+       protected $div;
+
+       /**
+        * @var string
+        */
+       public $tsKey = 'powermail2';
+
+       /**
+        * @var mixed
+        */
+       public $additionalValues = array();
+
+       /**
+        * @var mixed
+        */
+       public $tsConf;
+
+       /**
+        * Constructor
+        *
+        * @return void
+        */
+       public function __construct() {
+               $this->tsConf = $this->getDiv()->getTsConf();
+       }
+
+       /**
+        * getDiv
+        * 
+        * @return tx_wtspamshield_div
+        */
+       protected function getDiv() {
+               if (!isset($this->div)) {
+                       $this->div = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('tx_wtspamshield_div');
+               }
+               return $this->div;
+       }
+
+       /**
+        * Validation of given fields from a SignalSlot
+        *
+        * @param \In2code\Powermail\Domain\Model\Mail $mail
+        * @param \In2code\Powermail\Domain\Validator\CustomValidator $pObj
+        * @return void
+        */
+       function validate($mail, $pObj) {
+               if ( $this->getDiv()->isActivated($this->tsKey) ) {
+                       $availableValidators = 
+                               array(
+                                       'blacklistCheck',
+                                       'akismetCheck',
+                               );
+
+                       $tsValidators = $this->getDiv()->commaListToArray($this->tsConf['validators.'][$this->tsKey . '.']['enable']);
+
+                       $fields = array();
+                       foreach ($mail->getAnswers() as $answer) {
+                               if (is_array($answer->getValue())) {
+                                       continue;
+                               }
+
+                               $fields[$answer->getField()->getMarker()] = $answer->getValue();
+                       }
+
+                       $processor = $this->getDiv()->getProcessor();
+                       $processor->tsKey = $this->tsKey;
+                       $processor->fieldValues = $fields;
+                       $processor->additionalValues = $this->additionalValues;
+                       $processor->failureRate = intval($this->tsConf['validators.'][$this->tsKey . '.']['how_many_validators_can_fail']);
+                       $processor->methodes = array_intersect($tsValidators, $availableValidators);
+
+                       $error = $processor->validate();
+
+                       if (strlen($error) > 0) {
+                               $pObj->addError('spam_details', 50 . '%');
+                               $pObj->setIsValid(FALSE);
+                       }
+               }
+       }
+}
+
+?>
\ No newline at end of file
index 48ce5a0..54b6411 100644 (file)
@@ -4,7 +4,7 @@ namespace TYPO3\CMS\Form\Validation;
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2013 Ralf Zimmermann <Ralf.Zimmermann@tritum.de>
+*  (c) 2015 Ralf Zimmermann <Ralf.Zimmermann@tritum.de>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 674d14e..deff7c7 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2013 Ralf Zimmermann <Ralf.Zimmermann@tritum.de>
+*  (c) 2015 Ralf Zimmermann <Ralf.Zimmermann@tritum.de>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index bad3365..5666686 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2014 Ralf Zimmermann <ralf.zimmermann@tritum.de>
+*  (c) 2015 Ralf Zimmermann <ralf.zimmermann@tritum.de>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
old mode 100755 (executable)
new mode 100644 (file)
index 6eb29d1..7590960
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2014 Ralf Zimmermann <Ralf.Zimmermann@tritum.de>
+*  (c) 2015 Ralf Zimmermann <Ralf.Zimmermann@tritum.de>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 52828a0..1dd14c4 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2012 Bjoern Jacob <bjoern.jacob@tritum.de>
+*  (c) 2015 Bjoern Jacob <bjoern.jacob@tritum.de>
 *  based on Code of Alexander Kellner <Alexander.Kellner@einpraegsam.net>
 *  All rights reserved
 *
index 7466542..2649931 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2013 Ralf Zimmermann <ralf.zimmermann@tritum.de>
+*  (c) 2015 Ralf Zimmermann <ralf.zimmermann@tritum.de>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 3ea30f0..a9d84d5 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2009 Ralf Zimmermann <ralf.zimmermann@tritum.de>
+*  (c) 2015 Ralf Zimmermann <ralf.zimmermann@tritum.de>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 3a69958..4a57d2c 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2013 Ralf Zimmermann <ralf.zimmermann@tritum.de>
+*  (c) 2015 Ralf Zimmermann <ralf.zimmermann@tritum.de>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
diff --git a/Documentation/AdditionalLinks/Index.rst b/Documentation/AdditionalLinks/Index.rst
new file mode 100644 (file)
index 0000000..4eda837
--- /dev/null
@@ -0,0 +1,32 @@
+.. include:: Images.txt
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Additional links
+----------------
+
+**You can use one of the following links to get more information about
+this plugin:**
+
+- If you have found bugs or want to see new features please go to
+  `http://forge.typo3.org/projects/extension-wt\_spamshield.
+  <http://forge.typo3.org/projects/extension-wt_spamshield>`_
+
+- Companies which develop this extension:
+  
+  - `http:www.tritum.de <http://www.tritum.de/>`_
+  
+  - `http://www.in2code.de <http://www.in2code.de/>`_
\ No newline at end of file
diff --git a/Documentation/Changelog/Index.rst b/Documentation/Changelog/Index.rst
new file mode 100644 (file)
index 0000000..72af36c
--- /dev/null
@@ -0,0 +1,36 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+ChangeLog
+---------
+
+
+.. toctree::
+   :maxdepth: 5
+   :titlesonly:
+   :glob:
+
+   VersionMax12xStable/Index
+   VersionMax11xStable/Index
+   VersionMax10xStable/Index
+   VersionMax09xBeta/Index
+   VersionMax08xBeta/Index
+   Versionmax07xBeta/Index
+   VersionMax06xBeta/Index
+   VersionMax05xBeta/Index
+   VersionMax01xAlpha/Index
+
diff --git a/Documentation/Changelog/VersionMax01xAlpha/Index.rst b/Documentation/Changelog/VersionMax01xAlpha/Index.rst
new file mode 100644 (file)
index 0000000..c7b0c4a
--- /dev/null
@@ -0,0 +1,32 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Version max 0.1.x alpha
+^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Update on 26.01.2008 to version 0.1.6 alpha
+"""""""""""""""""""""""""""""""""""""""""""
+
+- Bugfix: Error in http check in use with powermail
+
+
+First release to TER on 18.01.2008 version 0.1.5 alpha
+""""""""""""""""""""""""""""""""""""""""""""""""""""""
+
+- wt\_spamshield for powermail or ve\_guestbook
+
diff --git a/Documentation/Changelog/VersionMax05xBeta/Index.rst b/Documentation/Changelog/VersionMax05xBeta/Index.rst
new file mode 100644 (file)
index 0000000..3604267
--- /dev/null
@@ -0,0 +1,71 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Version max. 0.5.x beta
+^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Update on 30.11.2009 to version 0.5.3 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Bugfix #5574: Don't send a mail to admin if spam in ve\_guestbook
+
+- Feature #3701: Add css class to honeypot field
+
+
+Update on 29.05.2009 to version 0.5.2 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Errormessage in own DIV
+
+- Code Cleaning
+
+
+Update on 05.03.2009 to version 0.5.1 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Improve http check with https and ftp
+
+
+Update on 13.01.2009 to version 0.5.0 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Using spamshield with the standard mailform enabled
+
+- Using spamshield with ve\_guestbook without changes in the guestbook
+  code
+
+- Honeypot method added
+
+- Some code improvements
+
+
+Update on 12.09.2008 to version 0.2.1 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Errormessages can be defined via typoscript (no more tsconfig)
+
+- Small changes in the code
+
+
+Update on 08.09.2008 to version 0.2.0 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Set your own error messages in tsconfig (see above)
+
+- Unique check added for powermail (e.g. firstname != lastname)
+
diff --git a/Documentation/Changelog/VersionMax06xBeta/Index.rst b/Documentation/Changelog/VersionMax06xBeta/Index.rst
new file mode 100644 (file)
index 0000000..9c1a206
--- /dev/null
@@ -0,0 +1,36 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Version max. 0.6.x beta
+^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Update on 09.03.2010 to version 0.6.1 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Feature #6739: Improved unique check
+
+
+Update on 06.03.2010 to version 0.6.0 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Shows errormessage if someone forgot to update the ext in the ext
+  manager
+
+- New function: Disable wt\_spamshield from your extension for X seconds
+  for the current PID
+
diff --git a/Documentation/Changelog/VersionMax08xBeta/Index.rst b/Documentation/Changelog/VersionMax08xBeta/Index.rst
new file mode 100644 (file)
index 0000000..d1b3d0c
--- /dev/null
@@ -0,0 +1,34 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Version max. 0.8.x beta
+^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Update on 2011-11-15 to version 0.8.0 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Feature #31821: Email Blacklist
+
+- Feature #9703: IP Blacklist
+
+- Feature #9945: Default TypoScript and Constants
+
+- Bugfix #27720: Oops an error occurred! Group name did not validate
+
+- Bugfix #9890: Plain text emails problem with return path
+
diff --git a/Documentation/Changelog/VersionMax09xBeta/Index.rst b/Documentation/Changelog/VersionMax09xBeta/Index.rst
new file mode 100644 (file)
index 0000000..16751c3
--- /dev/null
@@ -0,0 +1,43 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Version max. 0.9.x beta
+^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Update on 2012-12-26 to version 0.9.0 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Feature #44233: Make Akismet available for powermail 1.x
+
+- Feature #43994: t3\_blog integration
+
+- Feature #31962: ke\_userregister integration
+
+- Feature #12793: improved http-check
+
+- Bugfix #38288: compatibility with TYPO3 4.7
+
+- Bugfix #33545: Little error in static/settings/setup.txt
+
+- Bugfix #32538: tx\_wtspamshield\_log.pageid in DB always the same
+
+- Bugfix #32079: message definition on wrong template position
+
+- Bugfix #7005: superfluous tt\_news piVars appended when redirected to
+  "spam recognized page"
+
diff --git a/Documentation/Changelog/VersionMax10xStable/Index.rst b/Documentation/Changelog/VersionMax10xStable/Index.rst
new file mode 100644 (file)
index 0000000..07f0100
--- /dev/null
@@ -0,0 +1,41 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Version max. 1.0.x stable
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Update on 2013-05-27 to version 1.0.0 stable
+""""""""""""""""""""""""""""""""""""""""""""
+
+- Feature #48567: direct\_mail\_subscription integration
+
+- Feature #33620: Compatibility with new forms extension (core)
+
+- Feature #31932: User readable hint to leave honeypot field empty
+
+- Feature #11224: Explanation/Label for honeypod field
+
+- Feature #10335: Error messages in locallang.xml
+
+- Bugfix #48535: t3lib\_div::int\_from\_ver() not existent in T3 6.1
+
+- Bugfix: blacklist no reachable
+
+- Code cleanup, harmonize functions, new folder structure → ATTENTION:
+  Paths for xclasses have changed!
+
diff --git a/Documentation/Changelog/VersionMax11xStable/Index.rst b/Documentation/Changelog/VersionMax11xStable/Index.rst
new file mode 100644 (file)
index 0000000..3ff9b6a
--- /dev/null
@@ -0,0 +1,78 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Version max. 1.1.x stable
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Update on 2013-11-12 to version 1.1.1 stable
+""""""""""""""""""""""""""""""""""""""""""""
+
+- ADD feature #52840: Autofill covers honeypot field
+
+- FIX #52455: Redirect and log doesn't work in 6.1.4+
+
+- FIX #51281: Missing argument 1 for
+  tx\_wtspamshield\_method\_httpcheck::validate()
+
+- ADD feature #50903: Use wt\_spamshield old mailform on TYPO3 >= 4.6
+  (add static template)
+
+- UPD: update of manual
+
+
+Update on 2013-06-24 to version 1.1.0 stable
+""""""""""""""""""""""""""""""""""""""""""""
+
+- TASK: test all extension and all checks with TYPO3 4.5, 4.7, 6.0, 6.1
+  with Selenium 2
+
+- TASK: some more code cleanup
+
+- FIX: show error messages in email
+
+- FIX: error with direct\_mail\_subscription
+
+- FIX: ke\_userregister compatibility (TYPO3 6.1)
+
+- ADD feature #49392: Configurable spam rate for each extension
+
+- FIX: logging - useful title in the backend list view
+
+- FIX: strip tags in errormessage log
+
+- FIX: getDiv() calls
+
+- TASK: remove extensions abstract/ move functions to
+  tx\_wtspamshield\_div
+
+- TASK: add getExtConf to tx\_wtspamshield\_div
+
+- TASK: get TypoScript configuration from tx\_wtspamshield\_div
+
+- FIX #48622: Call to undefined method GeneralUtility::readLLXMLfile()
+
+- FIX #47454: wt\_spamshield and comments: No function?!
+
+- FIX #48740: Redirect for ve\_guestbook does not work under T3 6.1
+
+- ADD feature: logging - useful title in the backend list view
+
+- ADD feature: TYPO3 coding standards
+
+- TASK: code cleanup
+
diff --git a/Documentation/Changelog/VersionMax12xStable/Index.rst b/Documentation/Changelog/VersionMax12xStable/Index.rst
new file mode 100644 (file)
index 0000000..1f827dd
--- /dev/null
@@ -0,0 +1,45 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Version max. 1.2.x stable
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Update on 2014-04-01 to version 1.2.0 stable
+""""""""""""""""""""""""""""""""""""""""""""
+
+- ADD feature #57645: Compatibility with TYPO3 CMS 6.2
+
+- ADD feature #48612: Powermail 2.x support
+
+- ADD feature #57512: Include checks for pbsurvey
+
+- ADD feature #53574: Add garbage collection task
+
+- ADD feature #52840: Autofill covers honeypot field
+
+- ADD feature #57523: Remove fields from global settings in extension
+  manager
+
+- FIX #53920: Honeypot field validation
+
+- TASK #58302, 57944: code cleanup
+
+- UPD: update of manual
+
+- UPD #53618: Documentation on honeypot.inputname is misleading
+
diff --git a/Documentation/Changelog/Versionmax07xBeta/Index.rst b/Documentation/Changelog/Versionmax07xBeta/Index.rst
new file mode 100644 (file)
index 0000000..2144895
--- /dev/null
@@ -0,0 +1,38 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Versionmax. 0.7.x beta
+^^^^^^^^^^^^^^^^^^^^^^
+
+
+Update on 2010-12-21 to version 0.7.1 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Feature #9944: Save log entries on current page
+
+- Bugfix #9526: Honeypot is visible in standard mailform
+
+
+Update on 18.08.2010 to version 0.7.0 beta
+""""""""""""""""""""""""""""""""""""""""""
+
+- Feature #6987: Added wt\_spamshield check for tx\_comments
+
+- Bugfix #6989: Spam notify mail in plaintext now
+
+- Bugfix #7444: no\_cache for default mailform
+
diff --git a/Documentation/Compatibility/Index.rst b/Documentation/Compatibility/Index.rst
new file mode 100644 (file)
index 0000000..c203763
--- /dev/null
@@ -0,0 +1,184 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Compatibility
+-------------
+
+The following listing shows our  **test results**. We have tested the
+extensions and different spam checks with the recent TYPO3 versions.
+
+“n/i” means that there is no check implemented.
+
+- **comments**
+  
+  - blacklistCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - sessionCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - httpCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - uniqueCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - nameCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - honeypotCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - akismetCheck: 4.5 - 4.7 - 6.0 - 6.1
+
+- **default mailform (core, old)**
+  
+  - blacklistCheck: 4.5 - 4.7 - 6.0 - 6.2
+  
+  - sessionCheck: 6.2
+  
+  - httpCheck: 4.5 - 4.7 - 6.0 - 6.2
+  
+  - uniqueCheck: 4.5 - 4.7 - 6.0 - 6.2
+  
+  - nameCheck: n/i
+  
+  - honeypotCheck: 4.5 - 4.7 - 6.0 - 6.2
+  
+  - akismetCheck: n/i
+
+- **default mailform (sysext tx\_form)**
+  
+  - blacklistCheck: 4.7 - 6.0 - 6.2
+  
+  - sessionCheck: n/i
+  
+  - httpCheck: 4.7 - 6.0 - 6.2
+  
+  - uniqueCheck: n/i
+  
+  - nameCheck: n/i
+  
+  - honeypotCheck: 4.7 - 6.0 - 6.2
+  
+  - akismetCheck: n/i
+
+- **direct\_mail\_subscription**
+  
+  - blacklistCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - sessionCheck: n/i
+  
+  - httpCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - uniqueCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - nameCheck: n/i
+  
+  - honeypotCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - akismetCheck: n/i
+
+- **ke\_userregister**
+  
+  - blacklistCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - sessionCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - httpCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - uniqueCheck: n/i
+  
+  - nameCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - honeypotCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - akismetCheck: 4.5 - 4.7 - 6.0 - 6.1
+
+- **pbsurvey**
+  
+  - blacklistCheck: 4.7
+  
+  - sessionCheck: 4.7
+  
+  - httpCheck: 4.7
+  
+  - uniqueCheck: n/i
+  
+  - nameCheck: n/i
+  
+  - honeypotCheck: 4.7
+  
+  - akismetCheck: n/i
+
+- **powermail 1.x**
+  
+  - blacklistCheck: 4.5 - 4.7 - 6.0
+  
+  - sessionCheck: 4.5 - 4.7 - 6.0
+  
+  - httpCheck: 4.5 - 4.7 - 6.0
+  
+  - uniqueCheck: 4.5 - 4.7 - 6.0
+  
+  - nameCheck: n/i
+  
+  - honeypotCheck: 4.5 - 4.7 - 6.0
+  
+  - akismetCheck: 4.5 - 4.7 - 6.0
+
+- **powermail 2.x**
+  
+  - blacklistCheck: 6.2
+  
+  - sessionCheck: n/i
+  
+  - httpCheck: n/i
+  
+  - uniqueCheck: n/i
+  
+  - nameCheck: n/i
+  
+  - honeypotCheck: n/i
+  
+  - akismetCheck: 6.2
+
+- **ve\_guestbook**
+  
+  - blacklistCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - sessionCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - httpCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - uniqueCheck: n/i
+  
+  - nameCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - honeypotCheck: 4.5 - 4.7 - 6.0 - 6.1
+  
+  - akismetCheck: 4.5 - 4.7 - 6.0 - 6.1
+
+- **t3\_blog**
+  
+  - blacklistCheck: n/i
+  
+  - sessionCheck: n/i
+  
+  - httpCheck: 4.7
+  
+  - uniqueCheck: n/i
+  
+  - nameCheck: n/i
+  
+  - honeypotCheck: n/i
+  
+  - akismetCheck:4.7
\ No newline at end of file
diff --git a/Documentation/ConfigurationOfSpamshield/GeneralConfigurationAndConsiderations/Images.txt b/Documentation/ConfigurationOfSpamshield/GeneralConfigurationAndConsiderations/Images.txt
new file mode 100644 (file)
index 0000000..3daa1c1
--- /dev/null
@@ -0,0 +1,7 @@
+.. |img-6|      image:: ../../Images/constant_editor.png
+   :height: 707
+   :width: 669
+.. :align: left
+.. :border: 0
+.. :name: Constant Editor
+
diff --git a/Documentation/ConfigurationOfSpamshield/GeneralConfigurationAndConsiderations/Index.rst b/Documentation/ConfigurationOfSpamshield/GeneralConfigurationAndConsiderations/Index.rst
new file mode 100644 (file)
index 0000000..9e66884
--- /dev/null
@@ -0,0 +1,571 @@
+.. include:: Images.txt
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+General configuration and considerations
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+With the help of the TypoScript constants you can configure the
+following settings  **for each supported extension** :
+
+- Which spam checks should be applied? As you can see from
+  the listing above the different extensions do not support all of the
+  implemented checks.
+
+- How many positive spam checks are needed to mark the submitted entry
+  as spam? By default only 1 check has to fail.
+
+Furthermore you can configure some settings globally. Before
+wt\_spamshield 1.2.0 this was done within the extension manager (see
+settings below).
+
+
+**General configuration**
+"""""""""""""""""""""""""
+
+The following configuration can be set via TypoScript constants.
+
+.. ### BEGIN~OF~TABLE ###
+
+.. container:: table-row
+
+         **Title**
+
+         **Explanation**
+
+         **Default value**
+
+
+.. container:: table-row
+
+         logging.notificationAddress
+
+         Enter an email address if you would like to receive an email if spam
+         was recognized (e.g. email@domain.org).
+
+         
+
+.. container:: table-row
+
+         logging.pid
+
+         Enter a PID for saving spam log entries (-2 for current page, -1
+         deactivates logging, 0 for root page, 1 for PID 1 etc.).
+
+         0
+
+
+.. container:: table-row
+
+         comments
+
+         Enable spamshield for comments
+
+         0
+
+
+.. container:: table-row
+
+         mailform
+
+         Enable spamshield for default mailform
+
+         0
+
+
+.. container:: table-row
+
+         direct\_mail\_subscription
+
+         Enable spamshield for direct\_mail\_subscription
+
+         0
+
+
+.. container:: table-row
+
+         ke\_userregister
+
+         Enable spamshield for ke\_userregister
+
+         0
+
+
+.. container:: table-row
+
+         powermail
+
+         Enable spamshield for powermail (version 1.x)
+
+         0
+
+
+.. container:: table-row
+
+         powermail2
+
+         Enable spamshield for powermail (version 2.x)
+
+         0
+
+
+.. container:: table-row
+
+         t3\_blog
+
+         Enable spamshield for t3\_blog
+
+         0
+
+
+.. container:: table-row
+
+         ve\_guestbook
+
+         Enable spamshield for ve\_guestbook
+
+         0
+
+
+.. container:: table-row
+
+         pbsurvey
+
+         Enable spamshield for pbsurvey
+
+         0
+
+
+.. container:: table-row
+
+         formhandler
+
+         Enable spamshield for formhandler
+
+         0
+
+
+.. container:: table-row
+
+         validators.standardMailform\_new.enable
+
+         validators for standardMailform >= TYPO3 4.6:
+
+         blacklistCheck, httpCheck, honeypotCheck
+
+
+.. container:: table-row
+
+         validators.standardMailform\_new.how\_many\_validators\_can\_fail
+
+         failure rate for standardMailform >= TYPO3 4.6, i.e. how many
+         validators can fail
+
+         0
+
+
+.. container:: table-row
+
+         validators.standardMailform\_old.enable
+
+         validators for standardMailform <= TYPO3 4.5
+
+         blacklistCheck, httpCheck, uniqueCheck, sessionCheck, honeypotCheck
+
+
+.. container:: table-row
+
+         validators.standardMailform\_old.how\_many\_validators\_can\_fail
+
+         failure rate for standardMailform <= TYPO3 4.5, i.e. how many
+         validators can fail
+
+         0
+
+
+.. container:: table-row
+
+         validators.powermail.enable
+
+         validators for powermail
+
+         blacklistCheck, sessionCheck, httpCheck, uniqueCheck, honeypotCheck, AkismetCheck
+
+
+.. container:: table-row
+
+         validators.powermail.how\_many\_validators\_can\_fail
+
+         failure rate for powermail, i.e. how many validators can fail
+
+         0
+
+
+.. container:: table-row
+
+         validators.powermail2.enable
+
+         validators for powermail2
+
+         AkismetCheck, blacklistCheck
+
+
+.. container:: table-row
+
+         validators.powermail2.how\_many\_validators\_can\_fail
+
+         failure rate for powermail2, i.e. how many validators can fail
+
+         0
+
+
+.. container:: table-row
+
+         validators.ve\_guestbook.enable
+
+         validators for ve\_guestbook
+
+         blacklistCheck, nameCheck, sessionCheck, httpCheck, honeypotCheck, AkismetCheck
+
+
+.. container:: table-row
+
+         validators.ve\_guestbook.how\_many\_validators\_can\_fail
+
+         failure rate for ve\_guestbook, i.e. how many validators can fail
+
+         0
+
+
+.. container:: table-row
+
+         validators.comments.enable
+
+         validators for comments
+
+         blacklistCheck, nameCheck, httpCheck, sessionCheck, honeypotCheck, AkismetCheck
+
+
+.. container:: table-row
+
+         validators.comments.how\_many\_validators\_can\_fail
+
+         failure rate for comments, i.e. how many validators can fail
+
+         0
+
+
+.. container:: table-row
+
+         validators.t3\_blog.enable
+
+         validators for t3\_blog
+
+         httpCheck, akismetCheck
+
+
+.. container:: table-row
+
+         validators.t3\_blog.how\_many\_validators\_can\_fail
+
+         failure rate for comments, i.e. how many validators can fail
+
+         0
+
+
+.. container:: table-row
+
+         validators.direct\_mail\_subscription.enable
+
+         validators for direct\_mail\_subscription
+
+         blacklistCheck, httpCheck, uniqueCheck, honeypotCheck
+
+
+.. container:: table-row
+
+         validators.direct\_mail\_subscription.how\_many\_validators\_can\_fail
+
+         failure rate for comments, i.e. how many validators can fail
+
+         0
+
+
+.. container:: table-row
+
+         validators.ke\_userregister.enable
+
+         validators for ke\_userregister
+
+         blacklistCheck, nameCheck, httpCheck, sessionCheck, honeypotCheck, AkismetCheck
+
+
+.. container:: table-row
+
+         validators.ke\_userregister.how\_many\_validators\_can\_fail
+
+         failure rate for comments, i.e. how many validators can fail
+
+         0
+
+
+.. container:: table-row
+
+         validators.pbsurvey.enable
+
+         validators for pbsurvey
+
+         httpCheck, sessionCheck, honeypotCheck, blacklistCheck
+
+
+.. container:: table-row
+
+         validators.pbsurvey.how\_many\_validators\_can\_fail
+
+         failure rate for comments, i.e. how many validators can fail
+
+         0
+
+
+.. container:: table-row
+
+         validators.formhandler.enable
+
+         validators for formhandler
+
+         blacklistCheck, httpCheck, uniqueCheck, honeypotCheck, AkismetCheck
+
+
+.. container:: table-row
+
+         validators.formhandler.how\_many\_validators\_can\_fail
+
+         failure rate for comments, i.e. how many validators can fail
+
+         0
+
+
+.. container:: table-row
+
+         redirect\_mailform
+
+         Mailform Redirect: Redirect URL for default mailform
+
+         
+
+
+.. container:: table-row
+
+         redirect\_ve\_guestbook
+
+         ve\_guestbook Redirect: Redirect PID for ve\_guestbook
+
+         
+
+
+.. container:: table-row
+
+         httpCheck.maximumLinkAmount
+
+         Set the maximum number of links (http, https, ftp) within a message.
+         If you want to allow 3 links enter "3". If you want no links at all
+         enter "0".
+
+         3
+
+
+.. container:: table-row
+
+         uniqueCheck.fields
+
+         Enter different field names (separated by comma) which should not be
+         equal. Example for powermail: uid1 = first name and uid2 = last name
+         -> "uid1,uid2". You can add more than one condition by splitting them
+         with semicolons. Example for powermail: uid1 = first name, uid2 = last
+         name, uid3 = address, uid1 and uid3 should not be equal as well as
+         uid2 and uid3 should not be equal but uid1 and uid2 can be equal ->
+         "uid1,uid3[semicolon]uid2,uid3".
+
+
+.. container:: table-row
+
+         akismetCheck.akismetKey
+
+         Enter your Akismet key to activate Akismet check (signup at
+         https://akismet.com/signup/).
+
+
+.. container:: table-row
+
+         sessionCheck.sessionStartTime
+
+         Minimum time frame between entering the form page and submiting the
+         form. 0 for disable.
+
+         10
+
+
+.. container:: table-row
+
+         sessionCheck.sessionEndTime
+
+         Maximum time frame between entering the form page and submiting the
+         form. 0 for disable.
+
+         600
+
+
+.. container:: table-row
+
+         honeypot.css.inputStyle
+
+         CSS style for honeypot input field
+
+         style="position:absolute; margin:0 0 0 -999em;"
+
+
+.. container:: table-row
+
+         honeypot.css.inputClass
+
+         CSS class for honeypot input field
+
+         class="wt\_spamshield\_field wt\_spamshield\_honey"
+
+
+.. container:: table-row
+
+         honeypot.additionalParams.standard
+
+         additional tag params for honeypot input field
+
+         autocomplete="off"
+
+
+.. container:: table-row
+
+         honeypot.additionalParams.html5
+
+         additional tags params for honeypot input field when using HTML5 as doctype
+         
+         The standard additional params will always be rendered
+         (honeypot.additionalParams.standard). If you're using HTML5 as doctype
+         the value of honeypot.additionalParams.html5 is rendered as well. If
+         you are not using HTML5 as doctype you can easily add the tabindex
+         setting to honeypot.additionalParams.standard in your own constants.
+         Please consider that negative values for tabindex are only valid in
+         HTML5. Even if it does not validate in XHTML or HTML < 5 newer
+         browsers will understand it.
+
+         tabindex="-1"
+
+
+.. container:: table-row
+
+         honeypot.inputname.comments
+
+         Honeypot input name for comments
+
+         uid987651
+
+
+.. container:: table-row
+
+         honeypot.inputname.direct\_mail\_subscription
+
+         Honeypot input name for direct\_mail\_subscription
+
+         uid987651
+
+
+.. container:: table-row
+
+         honeypot.inputname.standardMailform
+
+         Honeypot input name for standardMailform
+
+         uid987651
+
+
+.. container:: table-row
+
+         honeypot.inputname.powermail
+
+         Honeypot input name for powermail
+
+         uid987651
+
+
+.. container:: table-row
+
+         honeypot.inputname.ve\_guestbook
+
+         Honeypot input name for ve\_guestbook
+
+         uid987651
+
+
+.. container:: table-row
+
+         honeypot.inputname.ke\_userregister
+
+         Honeypot input name for ke\_userregister
+
+         uid987651
+
+
+.. container:: table-row
+
+         honeypot.inputname.pbsurvey
+
+         Honeypot input name for pbsurvey
+
+         uid987651
+
+
+.. container:: table-row
+
+         honeypot.inputname.formhandler
+
+         Honeyput input name for formhandler
+
+         uid987651
+
+
+.. ###### END~OF~TABLE ######
+
+The following screenshot shows some settings of wt\_spamshield within
+the Constant Editor.
+
+|img-6|
+
+
+Example for powermail 1.x
+"""""""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield {
+     validators.powermail.enable = blacklistCheck, sessionCheck, httpCheck, honeypotCheck, akismetCheck
+     validators.powermail.how_many_validators_can_fail = 1
+   }
+
+The example above configures the integration of powermail 1.x. By
+default the following checks are available: blacklistCheck,
+sessionCheck, httpCheck, uniqueCheck, honeypotCheck, akismetCheck. In
+the example we have removed the uniqueCheck. Furthermore we have risen
+the number of positive spam checks (how\_many\_validators\_can\_fail).
+Now 2 checks have to fail in order to mark the entry as spam.
\ No newline at end of file
diff --git a/Documentation/ConfigurationOfSpamshield/Index.rst b/Documentation/ConfigurationOfSpamshield/Index.rst
new file mode 100644 (file)
index 0000000..c199632
--- /dev/null
@@ -0,0 +1,37 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Configuration of spamshield
+---------------------------
+
+
+.. toctree::
+   :maxdepth: 5
+   :titlesonly:
+   :glob:
+
+   GeneralConfigurationAndConsiderations/Index
+   UseSpamshieldWithComments/Index
+   UseWtSpamshieldWithDefault(typo3)Mailform/Index
+   UseWtSpamshieldWithDirectMailSubscription/Index
+   UseSpamshieldWithKeUserregister/Index
+   UseSpamshieldWithPbsurvey/Index
+   UseSpamshieldWithPowermail1x/Index
+   UseSpamshieldWithPowermail2x/Index
+   UseSpamshieldWithT3Blog/Index
+   UseSpamshieldWithVeGuestbook/Index
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithComments/Index.rst b/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithComments/Index.rst
new file mode 100644 (file)
index 0000000..8b7c7ac
--- /dev/null
@@ -0,0 +1,40 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Use spamshield with comments
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Add TypoScript Constants
+""""""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield.comments = 1
+
+
+TypoScript explanation
+""""""""""""""""""""""
+
+With the setting in the constants you can enable or disable the plugin
+on different pages.
+
+Normally, you don't have to configure anything else. Akismet
+integrates automatically. Nonetheless, it is possible to enter other
+names of the form fields in order to configure wt\_spamshield /
+Akismet for comments.
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithKeUserregister/Index.rst b/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithKeUserregister/Index.rst
new file mode 100644 (file)
index 0000000..0a84b56
--- /dev/null
@@ -0,0 +1,61 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Use spamshield with ke\_userregister
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Add TypoScript Constants
+""""""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield.ke_userregister = 1
+
+
+TypoScript explanation
+""""""""""""""""""""""
+
+With the setting in the constants you can enable or disable the plugin
+on different pages.
+
+
+Further settings
+""""""""""""""""
+
+To show an error message (in case of detecting spam) above all form
+fields you have to create a custom field via TypoScript and add it to
+your ke\_userregister HTML template. wt\_spamshield ships with a
+default TypoScript setup for ke\_userregister (you don't have to add
+this to your own TypoScript template):
+
+::
+
+   plugin.tx_keuserregister {
+     create.fields {
+       # create field for error messages
+       wt_spamshield {    
+         type = text
+         doNotSaveInDB = 1
+       }
+     }
+   }
+
+Create a copy of the ke\_userregister HTML template and add a marker
+###ERROR\_WT\_SPAMSHIELD### to the subpart<!--
+###REGISTRATION\_FORM### start →
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithPbsurvey/Index.rst b/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithPbsurvey/Index.rst
new file mode 100644 (file)
index 0000000..0ac6e9b
--- /dev/null
@@ -0,0 +1,44 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Use spamshield with pbsurvey
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+The support of this extension was introduced in version 1.2.0. In
+order to integrate wt\_spamshield with pbsurvey create a new
+Questionaire item called "Call User Defined Hook".
+
+The author of pbsurvey had to implement a new hook inside pbsurvey.
+When writing this document the new version was not available via TER.
+You can download the new version here:
+https://github.com/tritumRz/pbsurvey
+
+
+Add TypoScript Constants
+""""""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield.pbsurvey = 1
+
+
+TypoScript explanation
+""""""""""""""""""""""
+
+With the setting in the constants you can enable or disable the plugin
+on different pages.
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithPowermail1x/Index.rst b/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithPowermail1x/Index.rst
new file mode 100644 (file)
index 0000000..762fbe2
--- /dev/null
@@ -0,0 +1,57 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Use spamshield with powermail 1.x
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Add TypoScript Constants
+""""""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield.powermail = 1
+
+
+Add TypoScript Setup
+""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield {
+     # configure Akismet
+     fields {
+       powermail {
+         author = uid1
+         email = uid2
+         homepage = uid3
+         body = uid5
+       }
+     }
+   }
+
+
+TypoScript explanation
+""""""""""""""""""""""
+
+With the setting in the constants you can enable or disable the plugin
+on different pages.
+
+With the settings in the setup you can configure Akismet.  **You have
+to** define the powermail fields which represent the author name,
+email address, an URL (if necessary) and a message field.
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithPowermail2x/Index.rst b/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithPowermail2x/Index.rst
new file mode 100644 (file)
index 0000000..9e9bd72
--- /dev/null
@@ -0,0 +1,62 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Use spamshield with powermail 2.x
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+powermail 2.x comes with a built-in spamshield. This spamshield is
+quite good but does not have an Akismet or blacklist check.
+
+
+Add TypoScript Constants
+""""""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield.powermail2 = 1
+
+
+Add TypoScript Setup
+""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield {
+     # configure Akismet
+     fields {
+       powermail2 {
+         author = 1
+         email = 2
+         homepage = 3
+         body = 5
+       }
+     }
+   }
+
+
+TypoScript explanation
+""""""""""""""""""""""
+
+With the setting in the constants you can enable or disable the plugin
+on different pages.
+
+With the settings in the setup you can configure Akismet. **You have
+to** define the powermail fields which represent the author name,
+email address, an URL (if necessary) and a message field.In contrast
+to powermail 1.x you have to supply only integer values to identify
+the fields. You must not enter the prefix “uid”.
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithT3Blog/Index.rst b/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithT3Blog/Index.rst
new file mode 100644 (file)
index 0000000..576eaa5
--- /dev/null
@@ -0,0 +1,39 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Use spamshield with t3\_blog
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Unfortunately, the extension is not ready for TYPO3 6.x. Therefore we
+didn't put a lot of time into implementing all the possible spam
+checks. Nonetheless, it is quite a good blogging extension.
+
+
+Add TypoScript Constants
+""""""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield.t3_blog = 1
+
+
+TypoScript explanation
+""""""""""""""""""""""
+
+With the setting in the constants you can enable or disable the plugin
+on different pages.
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithVeGuestbook/Images.txt b/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithVeGuestbook/Images.txt
new file mode 100644 (file)
index 0000000..0b7c76e
--- /dev/null
@@ -0,0 +1,7 @@
+.. |img-10|     image:: ../../Images/manual_html_m1c35f4e1.jpg
+   :height: 49
+   :width: 159
+.. :align: left
+.. :border: 0
+.. :name: Grafik5
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithVeGuestbook/Index.rst b/Documentation/ConfigurationOfSpamshield/UseSpamshieldWithVeGuestbook/Index.rst
new file mode 100644 (file)
index 0000000..786107a
--- /dev/null
@@ -0,0 +1,48 @@
+.. include:: Images.txt
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Use spamshield with ve\_guestbook
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Add a new page
+""""""""""""""
+
+Create a new page (maybe hidden in the navigation) and enter a text
+which should be shown if spam was recognized.
+
+|img-10|
+
+
+Add TypoScript Constants
+""""""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield.ve_guestbook = 1
+   plugin.wt_spamshield.redirect_ve_guestbook = 17
+
+
+TypoScript explanation
+""""""""""""""""""""""
+
+With the first line you can enable or disable the plugin on different
+pages.
+
+With the second line you define where the user will be redirected if
+spam was recognized. Enter a PID only!
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDefault(typo3)Mailform/Images.txt b/Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDefault(typo3)Mailform/Images.txt
new file mode 100644 (file)
index 0000000..b64ba21
--- /dev/null
@@ -0,0 +1,14 @@
+.. |img-7|      image:: ../../Images/manual_html_m3727b6a6.jpg
+   :height: 49
+   :width: 159
+.. :align: left
+.. :border: 0
+.. :name: Grafik4
+
+.. |img-8|      image:: ../../Images/manual_html_m29e01b5e.png
+   :height: 209
+   :width: 665
+.. :align: left
+.. :border: 0
+.. :name: Grafik3
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDefault(typo3)Mailform/Index.rst b/Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDefault(typo3)Mailform/Index.rst
new file mode 100644 (file)
index 0000000..ce91b29
--- /dev/null
@@ -0,0 +1,150 @@
+.. include:: Images.txt
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Use wt\_spamshield with default (TYPO3) mailform
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Preface
+"""""""
+
+There are different settings regarding the TYPO3 version you are
+using. In TYPO3 4.6 the default mailform extension was
+completelyrewrittenin extbase. With the newextension calledtx\_form
+many things have changed and you have to configure wt\_spamshield
+differently. Regardless the TYPO3 version you are using - even in
+TYPO3 6.1 - it's possible to use the old default mailform (core)
+instead of the sysext tx\_form.
+
+
+Add a new page
+""""""""""""""
+
+Create a new page (maybe hidden in the navigation) and enter a text
+which should be shown if spam was recognized.
+
+|img-7|
+
+
+Add static template (tx\_form not installed)
+""""""""""""""""""""""""""""""""""""""""""""
+
+Add the static template “Default Mailform (wt\_spamshield)”. This step
+is only possible if you did  **NOT** install tx\_form. If you have
+installed tx\_form there will be no static template in the list.
+
+|img-8|
+
+
+Add TypoScript Constants
+""""""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield.mailform = 1
+   plugin.wt_spamshield.honeypot.inputname.standardMailform = uid987651
+   plugin.wt_spamshield.redirect_mailform = http://www.yourpage.com/index.php?id=14
+
+
+TypoScript explanation
+""""""""""""""""""""""
+
+With the first line you can enable or disable the plugin on different
+pages.
+
+The second line defines the name of the honeypot field. This name is
+especially important if you use tx\_form. If you are using the old
+mailform and you want to change the name of the field also keep in
+mind to adjust another TypoScript snippet. The file can be found under
+/wt\_spamshield/Configuration/TypoScript/Extensions/defaultmailform/se
+tup.txt. So if you want to change the name also change the innerWrap
+of the following snippet. For further information see the
+corresponding ticket on forge ( `http://forge.typo3.org/issues/53618
+<http://forge.typo3.org/issues/53618>`_ ).
+
+tt\_content.mailform.stdWrap {innerWrap = \| <input name="uid987651"
+type="text" autocomplete="off" style="position: absolute; margin: 0 0
+0 -9999px;" value="" />}
+
+With the third line you define to which URL the user will be
+redirected if spam was recognized.  **Enter a fully qualified URL** !
+
+
+Special field configuration (TYPO3 >= 4.6)
+""""""""""""""""""""""""""""""""""""""""""
+
+To use wt\_spamshield with tx\_form you have to configure your own
+validation rules. Open the content element which stores the
+configuration of the specific form. On the second tab “Form” you have
+to add rule sets like the following one:
+
+::
+
+   ...
+   30 = TEXTAREA
+   30 {
+     cols = 40
+     rows = 5
+     name = msg
+     label {
+       value = Message
+     }
+   }
+   40 = TEXTLINE
+   40 {
+     name = uid987651
+     label {
+       value = Sweet pot
+     }
+   }
+   ...
+   rules {
+     1 = wtspamshield
+     1 {
+       element = msg
+     }
+     2 = wtspamshield
+     2 {
+       element = uid987651
+     }
+   }
+
+The snippet configures two fields; one for a textarea (name=“msg”) and
+one for an input field (name=”uid987651”) used for the honeypot. In
+the second part of the snippet we create rules for each and every
+field we want to check with wt\_spamshield. Internally wt\_spamshields
+processes the whole validation chain for each field you define in this
+section (http check, honeypot check, Akismet etc.).
+
+If you want to use the honeypot check you have to create the
+corresponding field manually (see code snippet above) within your
+form. Please make sure that the field name is also configured in
+wt\_spamshield:
+
+::
+
+   plugin.wt_spamshield.honeypot.inputname.standardMailform = uid987651
+
+Furthermore you have to hide the field by using CSS (we assume the
+honeypot input field has the id=”field-5”). Please also keep in mind
+that tx\_form starts the field counter from 1 for each form/ content
+element.
+
+::
+
+   #field-5 { position:absolute; margin:0 0 0 -999em; }
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDirectMailSubscription/Images.txt b/Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDirectMailSubscription/Images.txt
new file mode 100644 (file)
index 0000000..d309ea4
--- /dev/null
@@ -0,0 +1,7 @@
+.. |img-9|      image:: ../../Images/manual_html_m30fa94a2.png
+   :height: 192
+   :width: 669
+.. :align: left
+.. :border: 0
+.. :name: Grafik9
+
diff --git a/Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDirectMailSubscription/Index.rst b/Documentation/ConfigurationOfSpamshield/UseWtSpamshieldWithDirectMailSubscription/Index.rst
new file mode 100644 (file)
index 0000000..a6589ee
--- /dev/null
@@ -0,0 +1,62 @@
+.. include:: Images.txt
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Use wt\_spamshield with direct\_mail\_subscription
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+
+Add static template
+"""""""""""""""""""
+
+Add the static template “direct\_mail\_subscription (wt\_spamshield)”.
+
+|img-9|
+
+
+Add TypoScript Constants
+""""""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield.direct_mail_subscription = 1
+
+
+Add TypoScript Setup
+""""""""""""""""""""
+
+::
+
+   plugin.wt_spamshield.fields.direct_mail_subscription {
+     author = last_name
+     email = email
+     homepage =
+     body =
+     permalink =
+   }
+
+
+TypoScript explanation
+""""""""""""""""""""""
+
+With the setting in the constants you can enable or disable the plugin
+on different pages.
+
+Normally, you don't have to configure anything else. Akismet
+integrates automatically. Nonetheless, it is possible to enter other
+or additional names of the form fields in order to configure
+wt\_spamshield / Akismet for direct\_mail\_subscription.
+
diff --git a/Documentation/Images.txt b/Documentation/Images.txt
new file mode 100644 (file)
index 0000000..e9d9132
--- /dev/null
@@ -0,0 +1,6 @@
+.. |img-1|      image:: Images/wt_spamshield_logo.png
+   :height: 122
+   :width: 124
+.. :align: left
+.. :border: 0
+.. :name: Logo wt_spamshield
\ No newline at end of file
diff --git a/Documentation/Images/constant_editor.png b/Documentation/Images/constant_editor.png
new file mode 100644 (file)
index 0000000..14c55d8
Binary files /dev/null and b/Documentation/Images/constant_editor.png differ
diff --git a/Documentation/Images/manual_html_m1c35f4e1.jpg b/Documentation/Images/manual_html_m1c35f4e1.jpg
new file mode 100644 (file)
index 0000000..4d1232d
Binary files /dev/null and b/Documentation/Images/manual_html_m1c35f4e1.jpg differ
diff --git a/Documentation/Images/manual_html_m29e01b5e.png b/Documentation/Images/manual_html_m29e01b5e.png
new file mode 100644 (file)
index 0000000..c5fdf75
Binary files /dev/null and b/Documentation/Images/manual_html_m29e01b5e.png differ
diff --git a/Documentation/Images/manual_html_m30fa94a2.png b/Documentation/Images/manual_html_m30fa94a2.png
new file mode 100644 (file)
index 0000000..684a952
Binary files /dev/null and b/Documentation/Images/manual_html_m30fa94a2.png differ
diff --git a/Documentation/Images/manual_html_m3727b6a6.jpg b/Documentation/Images/manual_html_m3727b6a6.jpg
new file mode 100644 (file)
index 0000000..ef25c68
Binary files /dev/null and b/Documentation/Images/manual_html_m3727b6a6.jpg differ
diff --git a/Documentation/Images/powermail_frontend_1x.gif b/Documentation/Images/powermail_frontend_1x.gif
new file mode 100644 (file)
index 0000000..f19c3ef
Binary files /dev/null and b/Documentation/Images/powermail_frontend_1x.gif differ
diff --git a/Documentation/Images/spam_log_backend.png b/Documentation/Images/spam_log_backend.png
new file mode 100644 (file)
index 0000000..4af45c1
Binary files /dev/null and b/Documentation/Images/spam_log_backend.png differ
diff --git a/Documentation/Images/spam_log_detail.png b/Documentation/Images/spam_log_detail.png
new file mode 100644 (file)
index 0000000..a41fe4a
Binary files /dev/null and b/Documentation/Images/spam_log_detail.png differ
diff --git a/Documentation/Images/t3_blog_frontend.png b/Documentation/Images/t3_blog_frontend.png
new file mode 100644 (file)
index 0000000..fec9766
Binary files /dev/null and b/Documentation/Images/t3_blog_frontend.png differ
diff --git a/Documentation/Images/ve_guestbook_frontend.gif b/Documentation/Images/ve_guestbook_frontend.gif
new file mode 100644 (file)
index 0000000..17f599c
Binary files /dev/null and b/Documentation/Images/ve_guestbook_frontend.gif differ
diff --git a/Documentation/Images/wt_spamshield_logo.png b/Documentation/Images/wt_spamshield_logo.png
new file mode 100644 (file)
index 0000000..21782ac
Binary files /dev/null and b/Documentation/Images/wt_spamshield_logo.png differ
diff --git a/Documentation/Index.rst b/Documentation/Index.rst
new file mode 100644 (file)
index 0000000..484c520
--- /dev/null
@@ -0,0 +1,75 @@
+.. include:: Images.txt
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+====================================
+EXT: wt\_spamshield
+====================================
+
+|img-1|
+
+:Created:
+      2002-11-01
+
+:Changed by:
+      Björn Jacob
+
+:Changed:
+      2014-10-22
+
+:Description:
+      Spam shield without captcha to avoid spam in the default TYPO3
+      mailform, powermail 1.x and 2.x, comments, ve\_guestbook, t3\_blog,
+      direct\_mail\_subscription, ke\_userregister and pb\_survey.
+      Session check, Link check, Time check, Akismet check, Name check,
+      Honeypot check (see manual for details).
+
+:Keywords:
+      spam, anti-spam, mail, form, service
+
+:Classification:
+      Spamshield class
+
+:Author:
+      Björn Jacob, Alexander Kellner
+
+:Email:
+      info@tritum.de
+
+:Language:
+      en
+
+Copyright: 2005-2014, TRITUM GmbH <info@tritum.de>
+
+This document is published under the Open Content License available
+from `http://www.opencontent.org/opl.shtml
+<http://www.opencontent.org/opl.shtml>`_.
+
+The content of this document is related to TYPO3- a GNU/GPL
+CMS/Framework available from `www.typo3.org <http://www.typo3.org/>`_.
+
+.. toctree::
+   :maxdepth: 5
+   :titlesonly:
+   :glob:
+
+   Introduction/Index
+   Screenshots/Index
+   UsersManual/Index
+   Compatibility/Index
+   ConfigurationOfSpamshield/Index
+   Todo/Index
+   Changelog/Index
+   AdditionalLinks/Index
\ No newline at end of file
diff --git a/Documentation/Introduction/Index.rst b/Documentation/Introduction/Index.rst
new file mode 100644 (file)
index 0000000..387f486
--- /dev/null
@@ -0,0 +1,30 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Introduction
+------------
+
+
+.. toctree::
+   :maxdepth: 5
+   :titlesonly:
+   :glob:
+
+   WhatDoesItDo/Index
+   WtSpamshieldDevelopmentTeam/Index
+   SupportersAndSponsors/Index
+
diff --git a/Documentation/Introduction/SupportersAndSponsors/Index.rst b/Documentation/Introduction/SupportersAndSponsors/Index.rst
new file mode 100644 (file)
index 0000000..0b2f746
--- /dev/null
@@ -0,0 +1,38 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Supporters and Sponsors
+^^^^^^^^^^^^^^^^^^^^^^^
+
+We would like to say thank you to our supporters and sponsors:
+
+- sitegeist media solutions ( `www.sitegeist.de
+  <http://www.sitegeist.de/>`_ ) sponsored the integration of pbsurvey
+
+- Stadtwerke Schweinfurt – and especially Daniel Kleinhenz – ( `www
+  .stadtwerke-sw.de <http://www.stadtwerke-sw.de/>`_ ) sponsored the
+  integration of powermail 2.x
+
+- Lina Wolf added the comments check
+
+- Edward Lenssen ( `www.beech.it <http://www.beech.it/>`_ ) sponsored
+  the integration of the new core extension tx\_form
+
+Furthermore we wantto thank all people who help to improve this
+extension ( `http://forge.typo3.org/projects/extension-wt\_spamshield
+<http://forge.typo3.org/projects/extension-wt_spamshield>`_ ). And a
+special thanks goes to everyone who helps to **fight spam** !
\ No newline at end of file
diff --git a/Documentation/Introduction/WhatDoesItDo/Index.rst b/Documentation/Introduction/WhatDoesItDo/Index.rst
new file mode 100644 (file)
index 0000000..7da20e9
--- /dev/null
@@ -0,0 +1,61 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+What does it do?
+^^^^^^^^^^^^^^^^
+
+- wt\_spamshield is a passive anti-spam extension for TYPO3 forms and
+  works without annoying captchas.
+
+- wt\_spamshield can be integrated in the default TYPO3 mailform,
+  powermail 1.x and 2.x, comments, ve\_guestbook, t3\_blog,
+  direct\_mail\_subscription, ke\_userregister and pbsurvey.
+
+- wt\_spamshield uses the following checks against spam (you can enable
+  or disable each check globally):
+
+  - **Name check:** Checks if last name == first name (easy but
+    effective).
+
+  - **Link check:** You can configure how many links are allowed within a
+    message.
+
+  - **Unique check:** Similar to the name check. All fields are checked
+    for duplicate entries.
+
+  - **Honeypot check:** A non-visible input field is added to your form.
+    If the field is filled the message is handled as spam.
+
+  - **Session check:** As soon as a form is generated a timestamp is
+    stored in the session. Only if this timestamp is available during the
+    submit process the database entry will follow.
+
+  - **Time (session) check:** You can define a time frame in which the
+    submit process is not handled as spam (default: min. 10 sec, max. 10
+    min).
+
+  - **Akismet check:** Akismet is a reliable and powerful online check to
+    determine if a message is spam.
+
+  - **Blacklist:** You can set up IP or email blacklists.
+
+- If wt\_spamshield detects spam a notification email can be send to the
+  admin; maybe to check if everything works as expected. wt\_spamshield
+  can also log each spam detection in the database.
+
+**IMPORTANT:** If you have ideas for extension improvements write an
+email and support fighting spam!
\ No newline at end of file
diff --git a/Documentation/Introduction/WtSpamshieldDevelopmentTeam/Index.rst b/Documentation/Introduction/WtSpamshieldDevelopmentTeam/Index.rst
new file mode 100644 (file)
index 0000000..c33eb3e
--- /dev/null
@@ -0,0 +1,26 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+wt\_spamshield Development Team
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+The following companies are part of the wt\_spamshield development
+team:
+
+- TRITUM ( `www.tritum.de <http://www.tritum.de/>`_ )
+
+- in2code ( `www.in2code.de <http://www.in2code.de/>`_ )
\ No newline at end of file
diff --git a/Documentation/Screenshots/ExampleSpamLogDetail/Images.txt b/Documentation/Screenshots/ExampleSpamLogDetail/Images.txt
new file mode 100644 (file)
index 0000000..5cbe5a0
--- /dev/null
@@ -0,0 +1,6 @@
+.. |img-5|      image:: ../../Images/spam_log_detail.png
+   :height: 500
+   :width: 599
+.. :align: left
+.. :border: 0
+.. :name: Example Spam log detail
\ No newline at end of file
diff --git a/Documentation/Screenshots/ExampleSpamLogDetail/Index.rst b/Documentation/Screenshots/ExampleSpamLogDetail/Index.rst
new file mode 100644 (file)
index 0000000..3f2c6ec
--- /dev/null
@@ -0,0 +1,21 @@
+.. include:: Images.txt
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Example Spam log detail
+^^^^^^^^^^^^^^^^^^^^^^^
+
+|img-5|
\ No newline at end of file
diff --git a/Documentation/Screenshots/FrontendPowermail1xExample/Images.txt b/Documentation/Screenshots/FrontendPowermail1xExample/Images.txt
new file mode 100644 (file)
index 0000000..902814a
--- /dev/null
@@ -0,0 +1,6 @@
+.. |img-1|      image:: ../../Images/powermail_frontend_1x.gif
+   :height: 448
+   :width: 643
+.. :align: left
+.. :border: 0
+.. :name: Frontend Powermail 1.x example
\ No newline at end of file
diff --git a/Documentation/Screenshots/FrontendPowermail1xExample/Index.rst b/Documentation/Screenshots/FrontendPowermail1xExample/Index.rst
new file mode 100644 (file)
index 0000000..e6dc894
--- /dev/null
@@ -0,0 +1,21 @@
+.. include:: Images.txt
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Frontend Powermail 1.x example
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+|img-1|
\ No newline at end of file
diff --git a/Documentation/Screenshots/FrontendT3BlogExample/Images.txt b/Documentation/Screenshots/FrontendT3BlogExample/Images.txt
new file mode 100644 (file)
index 0000000..5ab15e6
--- /dev/null
@@ -0,0 +1,6 @@
+.. |img-2|      image:: ../../Images/t3_blog_frontend.png
+   :height: 348
+   :width: 475
+.. :align: left
+.. :border: 0
+.. :name: Frontend t3\_blog example
\ No newline at end of file
diff --git a/Documentation/Screenshots/FrontendT3BlogExample/Index.rst b/Documentation/Screenshots/FrontendT3BlogExample/Index.rst
new file mode 100644 (file)
index 0000000..9ed439f
--- /dev/null
@@ -0,0 +1,21 @@
+.. include:: Images.txt
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Frontend t3\_blog example
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+|img-2|
\ No newline at end of file
diff --git a/Documentation/Screenshots/FrontendVeGuestbookExample/Images.txt b/Documentation/Screenshots/FrontendVeGuestbookExample/Images.txt
new file mode 100644 (file)
index 0000000..fd7e826
--- /dev/null
@@ -0,0 +1,6 @@
+.. |img-3|      image:: ../../Images/ve_guestbook_frontend.gif
+   :height: 361
+   :width: 651
+.. :align: left
+.. :border: 0
+.. :name: Frontend ve\_guestbook example
\ No newline at end of file
diff --git a/Documentation/Screenshots/FrontendVeGuestbookExample/Index.rst b/Documentation/Screenshots/FrontendVeGuestbookExample/Index.rst
new file mode 100644 (file)
index 0000000..68b8565
--- /dev/null
@@ -0,0 +1,21 @@
+.. include:: Images.txt
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Frontend ve\_guestbook example
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+|img-3|
\ No newline at end of file
diff --git a/Documentation/Screenshots/Index.rst b/Documentation/Screenshots/Index.rst
new file mode 100644 (file)
index 0000000..6f481df
--- /dev/null
@@ -0,0 +1,31 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Screenshots
+-----------
+
+
+.. toctree::
+   :maxdepth: 5
+   :titlesonly:
+   :glob:
+
+   FrontendPowermail1xExample/Index
+   FrontendT3BlogExample/Index
+   FrontendVeGuestbookExample/Index
+   SpamLogInTheBackend/Index
+   ExampleSpamLogDetail/Index
\ No newline at end of file
diff --git a/Documentation/Screenshots/SpamLogInTheBackend/Images.txt b/Documentation/Screenshots/SpamLogInTheBackend/Images.txt
new file mode 100644 (file)
index 0000000..da5c234
--- /dev/null
@@ -0,0 +1,6 @@
+.. |img-4|      image:: ../../Images/spam_log_backend.png
+   :height: 400
+   :width: 547
+.. :align: left
+.. :border: 0
+.. :name: Spam log in the backend
\ No newline at end of file
diff --git a/Documentation/Screenshots/SpamLogInTheBackend/Index.rst b/Documentation/Screenshots/SpamLogInTheBackend/Index.rst
new file mode 100644 (file)
index 0000000..47cd118
--- /dev/null
@@ -0,0 +1,21 @@
+.. include:: Images.txt
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Spam log in the backend
+^^^^^^^^^^^^^^^^^^^^^^^
+
+|img-4|
\ No newline at end of file
diff --git a/Documentation/Todo/Index.rst b/Documentation/Todo/Index.rst
new file mode 100644 (file)
index 0000000..035865b
--- /dev/null
@@ -0,0 +1,29 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+ToDo
+----
+
+- Some limitations of t3\_blog, see `http://forge.typo3.org/issues/42615
+  <http://forge.typo3.org/issues/42615>`_ .
+
+- Implement new techniques for preventing mail abuse/ spamming forms.
+
+Is there something to improve? Write us via `Forge
+<http://forge.typo3.org/projects/extension-wt_spamshield>`_ .
+
+
diff --git a/Documentation/UsersManual/ExistingInstallationUpgradeOfWtSpamshield/Index.rst b/Documentation/UsersManual/ExistingInstallationUpgradeOfWtSpamshield/Index.rst
new file mode 100644 (file)
index 0000000..b5d1181
--- /dev/null
@@ -0,0 +1,33 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Existing installation/ upgrade of wt\_spamshield
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+With version 1.1.0 we've introduced some new fields in the database
+(for spam logging). If you're upgrading from an earlier version of
+wt\_spamshield < 1.1.0 please make sure to compare the database
+fields. In TYPO3 version < 6.0 you can do this inside the extension
+manager. In TYPO3 Version >= 6.0 you can uninstall and install the
+extension again or open the install tool and run the database compare
+tool.
+
+In wt\_spamshield 1.2.0 we have removed the configuration which can be
+set within the extension manager. All the settings are now available
+via TypoScript (see below). We have built a fallback mechanism which
+also checks for configured values from the extension manager. This
+fallback will be removed in future versions.
\ No newline at end of file
diff --git a/Documentation/UsersManual/FreshAndCleanInstallation/Index.rst b/Documentation/UsersManual/FreshAndCleanInstallation/Index.rst
new file mode 100644 (file)
index 0000000..528a644
--- /dev/null
@@ -0,0 +1,30 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Fresh and clean installation
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Import from TYPO3 extension repository.
+
+- Include static templates.
+
+- Set constants.
+
+- Tune setup if needed (especially for changing error message wrapping
+  or Akismet mapping).
+
+- Done!
\ No newline at end of file
diff --git a/Documentation/UsersManual/Index.rst b/Documentation/UsersManual/Index.rst
new file mode 100644 (file)
index 0000000..3924a25
--- /dev/null
@@ -0,0 +1,28 @@
+
+
+.. ==================================================
+.. FOR YOUR INFORMATION
+.. --------------------------------------------------
+.. -*- coding: utf-8 -*- with BOM.
+
+.. ==================================================
+.. DEFINE SOME TEXTROLES
+.. --------------------------------------------------
+.. role::   underline
+.. role::   typoscript(code)
+.. role::   ts(typoscript)
+   :class:  typoscript
+.. role::   php(code)
+
+
+Users manual
+------------
+
+
+.. toctree::
+   :maxdepth: 5
+   :titlesonly:
+   :glob:
+
+   FreshAndCleanInstallation/Index
+   ExistingInstallationUpgradeOfWtSpamshield/Index
\ No newline at end of file
diff --git a/doc/manual.sxw b/doc/manual.sxw
deleted file mode 100644 (file)
index 5295fc5..0000000
Binary files a/doc/manual.sxw and /dev/null differ