Changelogs: Uploader v3.5

A new version of Uploader has been released, version 3.5. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.

Version: 3.5
Tested On: PHP 5.3, CakePHP 2.0.5
Requires: PHP 5.2, CakePHP 2
Commit Hash: b91bd81415a50f69d589a77d9dbe7a576e1c5744
Changes:

  • Added file overwrite settings for transform methods [Issue #50] (overwrite settings are set to false by default)
  • Fixed weirdness with append and prepend [Issue #46]
  • Fixed a bug with uppercase file extensions
  • Rewrote Uploader::crop() to maintain aspect ratio and fix wrong calculations [Issue #51]

Changelogs: Forum v3.0

A new version of Forum has been released, version 3.0. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.

Version: 3.0
Tested On: PHP 5.3, CakePHP 2.0.3
Requires: PHP 5.2, CakePHP 2
Commit Hash: 29a069931bc3dfd5f6ec88e69cf870b34aa3ce0d
Changes:

  • Updated to CakePHP 2.0 (not backwards compatible with 1.3)
  • Updated Decoda to 3.3
  • Updated AjaxHandlerComponent to 2.0.1
  • Added a way to load custom configuration outside of config.php by creating a custom.php file
  • Changed ToolbarComponent to ForumToolbarComponent to not conflict with DebugKit
  • Removed cakeError() usages and used the standard HTTP exceptions

Changelogs: Uploader v3.3

A new version of Uploader has been released, version 3.3. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.

Version: 3.3
Tested On: PHP 5.3, CakePHP 2.0.5
Requires: PHP 5.2, CakePHP 2.0
Commit Hash: a7f98d51909a1ba74ca9cdd6a15366f19a383b8c
Changes:

  • Added a saveAsFilename option to AttachmentBehavior to save an upload without the relative path [Issue #41]
  • Added more mime type support [Issue #42]
  • Added mode orientation support to Uploader::resize()
  • Added tons more test cases
  • Fixed an undefined offset error when uploading without a model
  • Fixed a bug where a custom name wasn't being used in chained transforms
  • Refactored Uploader::resize() so that aspect and expand work in unison

Changelogs: Uploader v3.2

A new version of Uploader has been released, version 3.2. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.

Version: 3.2
Tested On: PHP 5.3, CakePHP 2.0.5
Requires: PHP 5.2, CakePHP 2.0
Commit Hash: f061776a146919f3d5305bd9573c466eac24e2ee
Changes:

  • Fixed a Linux upload issue regarding multiple transforms
  • Fixed Uploader::addMimeType() to not overwrite existing values
  • Fixed Uploader::crop() when both height and width are equal
  • Fixed strict errors
  • Fixed issue with transforms not inheriting custom name [Issue #36]
  • Fixed a bug with multiple model uploading with AttachmentBehavior
  • Recursively delete files if transforming overwrites the original
  • Can now accept a model method for file name formatting [Issue #35]
  • Added an aspect setting to Uploader::resize() [Issue #40]
  • Added an allowEmpty setting to AttachmentBehavior to allow empty file uploads to continue [Issue #38]

Changelogs: AutoLogin v3.4

A new version of AutoLogin has been released, version 3.4. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.

Version: 3.4
Tested On: PHP 5.3, CakePHP 2.0.5
Requires: PHP 5.2, CakePHP 2.0
Commit Hash: 29d38c3970644239cdf7dfa560dca466aa57fd61
Changes:

  • 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

Thanks to dereuromark for the new features and test cases! Be sure to also check out his blog post on the AutoLogin changes.

Changelogs: AutoLogin v3.3

A new version of AutoLogin has been released, version 3.3. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.

Version: 3.3
Tested On: PHP 5.3, CakePHP 2.0.5
Requires: PHP 5.2, CakePHP 2.0
Commit Hash: a9a4c11e3055f3ec569af77b3899f7dd4d485632
Changes:

  • 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

Changelogs: SpamBlocker v2.1

A new version of SpamBlocker has been released, version 2.1. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.

Version: 2.1
Tested On: PHP 5.3, CakePHP 2.0.3
Requires: PHP 5.2, CakePHP 2.0
Commit Hash: c585ec82816355e444fe302b2e0b3378ce8af906
Changes:

  • Updated beforeSave() to check blacklisted words within the author, website and content

Changelogs: Forum v2.3

A new version of Forum has been released, version 2.3. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.

Version: 2.3
Tested On: PHP 5.3, CakePHP 1.3.8
Requires: PHP 5.2, CakePHP 1.3
Commit Hash: 443daf4c4cb6dbad60ef997b067fb0b6f4a88889
Changes:

  • Added status to the admin users list
  • Added statusMap as a type for CommonHelper::options()
  • Added a way to quickly activate/ban a user from the admin panel
  • Changed it so topic count is always increased regardless of settingPostCount
  • Fixed a bug where topic creation won't auto subscribe
  • Fixed instances where Forum.userMap wasn't being used
  • Fixed user list to only display active users
  • Removed join date from topic viewing
  • Removed the login() and logout() methods from UsersController
  • Updated the Forum.routes config
  • Updated ToolbarComponent to use the Forum.routes.login route

Changelogs: AutoLogin v3.2

A new version of AutoLogin has been released, version 3.2. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.

Version: 3.2
Tested On: PHP 5.3, CakePHP 2.0.3
Requires: PHP 5.2, CakePHP 2.0
Commit Hash: e0cedb439ee7e5789242cae8ecc04d07b0397a3f
Changes:

  • 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

Codebase Upgrades: Upgrading Forum v2.x to v2.2

In the newest 2.2 version of the Forum plugin, a subscription system was added. This system allows for users to subscribe to topics and forums and then receive email notifications at specific intervals. This feature required minor database changes so a new upgrade shell was added to handle this. You will only need to run the upgrade shell if you are upgrading from 2.0 or 2.1. If you are doing a fresh install, you can ignore this post and the upgrade shell.

Begin by downloading the latest 2.2 tag and uploading and overwriting the older version. Your forum will be broken until you run the upgrade shell and the following command. Once the command is executed, simply follow the on-screen instructions.

cake -app /path/to/app upgrade
Setting up the subscription notification cron

For the subscription emails to be sent out, the subscription shell will need to be triggered. The best way to accomplish this is to setup a cron job to be triggered every 24 hours (or another time of your liking). If you are unable to setup a cron job, you will need to disable the subscription system via the forum admin settings.

0 0 * * * /path/to/cake/console/cake -app /path/to/app subscription

By default the shell will find all new activity within the past 24 hours via the database timestamp (which is separate from the cron interval time). You can change this using the timeframe parameter. For example, if you want to send emails every hour instead of every 24 hours (quotes are required).

0 * * * * /path/to/cake/console/cake -app /path/to/app subscription -timeframe "1 hour" 

Hopefully this small guide helps you upgrade to 2.2, enjoy!