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).

AutoLogin Version Logs

Package: Component: Persistent User Login
Category: CakePHP

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

Version: 3.5.1
Requires: PHP 5.2, CakePHP 2
Tested On: PHP 5.3, CakePHP 2.0.5
Released: Sun, Apr 22nd 2012, 15:23

  • Fixed base64 encode problem with usernames

Version: 3.5
Requires: PHP 5.2, CakePHP 2
Tested On: PHP 5.3, CakePHP 2.0.5
Released: Sun, Apr 22nd 2012, 15:22

  • Updated to use the Cake structure and setup for component settings
  • Added base64 encoding and decoding to username's
  • Minor bug fixes

Version: 3.4
Requires: PHP 5.2, CakePHP 2.0
Tested On: PHP 5.3, CakePHP 2.0.5
Released: Tue, Feb 7th 2012, 23:22

  • A boolean setting "active" can be toggled to force an early exit of the script
  • A boolean setting "redirect" can force a redirect after a successful login
  • A boolean setting "requirePrompt" allows you to determine whether a form checkbox is needed
  • Fixed a bug where AutoLogin shouldn't be triggered for POST or PUT requests
  • Moved $cookieName and $expires properties to $settings (backwards compatible support)
  • Updated debug() to log to file if no debug email was defined
  • Settings can now be defined dynamically via Configure::write('AutoLogin')
  • Test cases have been added

Version: 3.3
Requires: PHP 5.2, CakePHP 2.0
Tested On: PHP 5.3, CakePHP 2.0.5
Released: Wed, Feb 1st 2012, 22:28

  • Fixed a problem where Auth would redirect before startup() has happened
  • Fixed a bug with plugin name inflection (Issue #14)
  • Updated code to support dynamic User and AutoLogin configuration

Version: 3.2
Requires: PHP 5.2, CakePHP 2.0
Tested On: PHP 5.3, CakePHP 2.0.3
Released: Tue, Dec 20th 2011, 22:02

  • Added a model setting to the $settings property
  • Fixed a bug where Auth::user() would not return the full row data
  • Fixed a bug where the action would be empty (defaults to login)
  • Merged the username and password values from $fields into $settings
  • Removed the $fields property
  • Removed model detection via Auth::$authenticate in favor of the $settings model value
  • Updated the readme with information regarding Suhosin

Version: 3.1
Requires: PHP 5.2, CakePHP 2.0
Tested On: PHP 5.3, CakePHP 2.0.3
Released: Tue, Nov 29th 2011, 22:45

  • Fixed a bug with the old Auth::$userModel, now looks in Auth::$authenticate
  • Adding support for localhost cookies

Version: 3.0
Requires: PHP 5.2, CakePHP 2.0
Tested On: PHP 5.3, CakePHP 2.0.3
Released: Mon, Nov 21st 2011, 23:45

  • Updated to CakePHP 2.0 (not backwards compatible with 1.3)
  • Updated to new Controller/Component path
  • Updated to use CakeRequest
  • Updated to attempt to use the correct Controller name
  • Added a $fields property to replace the Auth::$fields setup
  • Added a plugin value check from Auth::$loginAction
  • Removed unnecessary $_hasInitialized ans $_hasStartup

Version: 2.2
Requires: PHP 5.2, CakePHP 1.3
Tested On: PHP 5.3, CakePHP 1.3.4
Released: Sat, Apr 23rd 2011, 22:40

  • Added initialized and startup checking mechanisms
  • Refactored the debug system to support certain scopes

Version: 2.1
Requires: PHP 5.2, CakePHP 1.3
Tested On: PHP 5.3, CakePHP 1.3.4
Released: Mon, Apr 11th 2011, 22:38

  • Adding a $components property since Cake now uses the same instanced component
  • Removed references to the Controllers components
  • Fixed a bug where AutoLogin failed to work in plugins

Version: 2.0
Requires: PHP 5.2, CakePHP 1.3
Tested On: PHP 5.3, CakePHP 1.3.4
Released: Wed, Oct 6th 2010, 22:37

  • Added a debug system to debug live problems
  • Removing PHP 4 argument references
  • Fixed a bug where the user wasn't recognized

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

  • Removed PHP 4 argument references

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

  • Converted to Cake 1.3
  • Reworked how the Controller was passed around

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

  • Upgraded to PHP 5 only
  • Added logic to use the Controllers cookie component in place of the components stand alone component

Version: 1.5
Requires: PHP 4, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.5
Released: Sun, Sep 20th 2009, 20:59

  • Added support for plugins, can be set within the settings
  • Added a check for the "auto_login" index within the data array

Version: 1.4
Requires: PHP 4, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.3.8166
Released: Wed, Jun 3rd 2009, 22:01

  • Added a $settings property so that you may name what controller and actions your login takes place (for automatic saving)
  • Remove Auth from the components, in turn used the $Controllers Auth
  • Fixed some problems with dynamic controller name being incorrect

Version: 1.3
Requires: PHP 4, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.3.8166
Released: Tue, Jun 2nd 2009, 00:04

  • Rewrote the beforeRedirect() method so that the controller is dynamic (instead of static Users) depending on certain variables
  • Renamed the $Controller variables

Version: 1.2
Requires: PHP 4, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.3.8166
Released: Sun, May 31st 2009, 01:37

  • First initial release of AutoLogin