SpamBlocker

Spam Blocker is a CakePHP Behavior that automatically before after a comment is made. Each comment is tested upon a point system to determine if it should be approved, set to pending (high points), or marked as spam / deleted (low points).

AjaxHandler Version Logs

Package: Component: AJAX Request and Response Handler
Category: CakePHP

Below is a list of all files and every available version for the AjaxHandler script.
Each file is accompanied by a change log. Be cautious in using older versions, they may buggy.

Version: 2.0
Requires: PHP 5.2, CakePHP 2.0
Tested On: PHP 5.3, CakePHP 2.0.3
Released: Sun, Nov 20th 2011, 23:53

  • Updated to CakePHP 2.0 (not backwards compatible with 1.3)
  • Used the Controller CakeRequest object in place of RequestHandler
  • Renamed $__handledActions to $_handled and made protected
  • Removed $__responseTypes in favor of CakeResponse
  • Removed the data gathering from startup() in favor of CakeRequest
  • Removed valid() as that should be done externally

Version: 1.6
Requires: PHP 5.2, CakePHP 1.3
Tested On: PHP 5.3, CakePHP 1.3.4
Released: Tue, Apr 19th 2011, 22:54

  • Made operation comparisons strict
  • Removed the 2nd argument of respond()
  • Re-added the $this->Controller references

Version: 1.5
Requires: PHP 5.2, CakePHP 1.3
Tested On: PHP 5.3, CakePHP 1.3.4
Released: Tue, Apr 12th 2011, 22:52

  • Changed $allowRemoteRequests to $allowRemote
  • Removed $this->Controller references
  • response() now takes an array as the 3rd argument
  • Updated TypeConverter

Version: 1.4
Requires: PHP 5.2, CakePHP 1.3
Tested On: PHP 5.3, CakePHP 1.3.4
Released: Tue, Sep 28th 2010, 22:50

  • JSON encoding now uses TypeConverter
  • Updated TypeConverter version
  • Removed PHP 4 argument references

Version: 1.3
Requires: PHP 5.2, CakePHP 1.3
Tested On: PHP 5.3, CakePHP 1.3.4
Released: Thu, Aug 19th 2010, 22:49

  • Updated to CakePHP 1.3
  • Added the TypeConverter class to handle the XML to array (and vice versa) conversion process
  • Removed the response "message" key

Version: 1.2
Requires: PHP 5, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.5
Released: Thu, Nov 5th 2009, 20:37

  • Added an $allowRemoteRequests property to determine if remote AJAX calls should be allowed
  • Moved the debug configuration to only apply for AJAX calls
  • Added logic that will add a "messages" parameter to the response if a Flash message is set

Version: 1.1
Requires: PHP 5, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.5
Released: Sat, Oct 3rd 2009, 16:02

  • Upgraded to PHP 5 only
  • Added more security checking to make sure the AJAX call comes from the same domain
  • Added functionality for objects within __format()

Version: 1.0
Requires: PHP 4, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.5
Released: Sat, Sep 26th 2009, 17:16

  • First initial release of the Ajax Handler component