Release Notes


Version 2.0

Default authentication module is now the SQL Database module.
Update to Smarty-2.5.0. See http://smarty.php.net/RELEASE_NOTES.
Improved checking for CLI interface.
Automatically select database when we read spec files.
Properly support unix timestamps in $input->date().
Add $db->get_error(), returns the error for the last executed query.
Removed $input->sqlline() and $input->unsqlline() in favour of $input->sqltext().
Return all user details to the session variables (with the exception of the password) instead of selected ones.
Removed $access->logged_in() in favour of $access->user().
We allow full stops in usernames now.
Add Onyx constructor/destructor functions.
Unified support of ACL's.
Improved error checking and handling.
Improved execution speed across Onyx.
Added error plugins.
Added configuration variable $onyx->set_location.
Major rewrite to the location code.
Added $onyx->config to the Array smarty variable.
Added global ACL configuration variable: $onyx->access.
Added $input->email(), which uses getmxrr() for advanced email address checking.


Version 2.0RC2

Added ability to configure the name of the smarty object variable.
Added ability to configure the smarty properties before you start onyx.
Update to Smarty-2.4.0. See http://smarty.php.net/misc/RELEASE_NOTES.
If there are no GET/POST variables, we now completely dump the $_GET/$_POST arrays for security reasons (conforms to the feature list now).
Can select locations based on $_GET variables now, conforms to the features list. (Untested)
Let the variable filter routines have the first stab before everything else starts.
We now allow internal specified filesystem locations (such as cache) to have a leading slash, but all incoming variables with type "filename" still have them removed.
Add ability to store optional filename icon in sql databases. (if its not there its ignored)
$onyx->trim_html is now turned off by default.
We no longer put expiry headers into cache files using the website generation option.
Changed order of plugin directory seaches, check location "as is", then with ONYX_DIR prepended if that fails.
Allow website generation to work, conforms to feature list.
Minor bug fix, forgot to move a reference to a variable.


Version 2.0RC1

Added new input function: htmlnlsafe() same as htmlsafe() but will convert newlines to line breaks.
Added ability to use {access} ... {accesselse} ... {/access}.
Added MySQL database abstraction support. (untested)
Added mSQL database abstraction support. (untested)
Added MSSQL database abstraction support. (untested)
Added Sybase database abstraction support. (untested)
We default to using arrays instead of objects when using $db->fetch().
Update to Smarty-2.3.1. See http://smarty.php.net/misc/RELEASE_NOTES.
Added input smarty modifier, extra parameter is the input type to strip to.
Trust the cache location now, fixed bug introduced in 2.0b4.
HEH, we allow spaces and newlines in a text input now, stupid 2.0b4.
Added new input function regexp() makes any string convert wildcards to a proper regexp (pcre).
Redirect input functions username,password to safetext,text respectively.
Sessions can now live forever if the session lifetime is set to 0.
Added configuration variable to determine whether to use persistent database connections.


Version 2.0b4

Added the {access} function to the smarty templates.
Added ability to store cache in a database.
Seperated variables for cache_lifetime and cache_expire.
Moved to a single cache directory structure.
Store expiry dates in files, its just as quick and makes room for expansion.
Configuration option allowing you to turn on/off persistant database connections.
Added return of Content-Length headers.
Cache files can now never expire.
Cache files no longer go wandering.


Version 2.0b3

Moved $_SESSION acl variables to $_SESSION['auth']
Allow for infinite recursion of array variable types.
Removed capitialisation of variable names in {html_select_date}.
Properly preserve variables in configuration files if no match is found.
Fixed display of errors when using the CLI.
Add variable containing URL to redirect to upon logout.


Version 2.0b2

Added variable support via {$variables} to configurationf files.
Introduced support for $db->spec() style configuration files.
Added support for boolean variables, as well as filenames, safetext (alphanum + _, -, spaces), date variables types, and html variables types.
Added array support to automated filtering.
Changed ordering of fields in {html_select_date} to day, month, year.
Added Command-Line Interface options.
Store browser, expiry time and subnet to the session checking array.
Added definition of SCRIPT_DIR.
Automatic variable filtering was made configurable.
Database configuration options added.
Authentication configuration options were added.
Added the input_modified array, allowing you to determine if the variable was modified by the automatic filter.
Made smarty use the Onyx specified plugin directories.
Page configuration options are automatically supplied to Smarty via a special {$onyx} variable.
Added return-style plugins that return the object instead of globaling it.
$argv can now be automatically filtered if called from the command line.
Added $onyx_parent to be used by plugins in case users don't use $onyx as the object.
Multiple singular bix fixes.
Included Smarty-2.3.
Don't use a database class when the load_plugin() function can handle it.


Website is Copyright © Odynia.org 2000-2005 - Xnyo is released under a BSD license.