Release Notes for Cognifty-0017

Cognifty is the new PHP framework based on old ideas. Flexible enough to run other frameworks inside itself, Cognifty is the perfect choice for new integration or legacy development. This is a standard release.

Upgrade complexity level: High

  • Database changes required: yes
  • Changes to config file definitions: no
  • Breaking changes to custom code: yes

New Features

  • Add 'getPrimaryKey' to Data Model to pass through to Data Item library.
  • Changed data model's load to return whether or not the pkey == the supplied ID after loading.
  • Added paginated admin table view to library and content image viewer.
  • Added paginated next/prev links to the embedded content linker window.
  • Added checkbox column renderer to MVC table view.
  • Added ability to add completely cusotm javascript to admin toolbar buttons.
  • Added mass erasing of objects from the trash can.
  • Added option to hide submit button on forms with setShowSubmit().
  • Added setJsOnChange() to all form elements.
  • Added loadVisibleListAsArray method to data model list objects.
  • Updated admin ticket runner to handle ajax requests like the front-end runner.
  • Changed installation steps to read RAW sql files as well as ask for 2 DNS entries.
  • Added the ability to set a "Page" as the "Default Home Page" via the CGN Admin System. A new toolbar option "Set a Homepage" is available in "Pages". The idea was to create a simple visualization tool to manage the home page content. ONLY ONE PAGEshould be set as the default Home Page content. If more than one page is set, the last page found will be displayed.
  • Added security checks throughout entire install module.
  • Added "loadExisting" method to data items to attempt to load 1 row with all the set values of the object.
  • Added "setModel" method to data model list objects so they can wrap

the data items in data models if they choose.

  • Always force a new link in the mysqldriver, shared links are

already handled with the DSN concept higher up.

  • Changed Menu Item Maintenance - module & external url menu items

Added the ability to set a Parent Link to these types of menu items. This feature was missing for only these 2 items. Modified the type-local and the loadLocalForm function at the bottom of the file.

  • Added directory specifically for custom administration modules.
  • Altered admin service runner to check for overridden local admin modules.
  • Fixed login for admin system and added a slip-stream login service for admin just like front-end modules. (SILENT)
  • Added cleanMultiLine method to clean input and allow new-lines, tabs, and line feeds.
  • Added simple "isNew" method to the session object to test whether this is the first request

from a given session or not.

  • Completed basic functionality for front end and backend service cruds.
  • Added start of Identicon visualization library.
  • Added the cleanFloat method.
  • Adding identicon front-end service into mod 'webutil'
  • Added GUID based identicons to content browser for pages, articles, and files.
  • Added an 'access module' button for admin modules to the tool bar when viewing module details.
  • added the ability to supply an action to the cgn_form cancel button.
  • Added 3 signals to user registration module.
  • Added simple database backup system.
  • Use zip extension to compress database backups if it's built-in and safe_mode is on (i.e. no exec).
  • Shut off comments for posts older than 1 month.
  • Added tutorial page for migrating template themes to cognifty.

Download Cognifty 0017 from Sourceforge.net

Release Notes

Release 17 consists mainly of bug fixes. Two new features include an "identicon" library for generating unique graphics and a simple database backup tool. Over 200 individual changes are present in release 17, meaning that a lot of bugs were fixed and a lot of code was cleaned up. One big change was the addition of the "Cgn_Request::cleanMultiLine()" method. cleanString() will no longer allow new lines in the input. cleanMultiLine() does allow new line characters, but strips all ASCII control characters, like backspace and vertical tab.

All code which cleans input needs to differentiate between code which should accept new line characters and those which should not. If you are cleaning input which comes from a text area you need to switch to cleanMultiLine().