Zestoi release 1.2.0

3/1/2011

Upgrade Notes

  1. Unzip/Copy the files over your current install
  2. Go to Settings > Site Settings and click Save
  3. Go to Settings > Webcams > Edit Defaults and click Save (if you have the Webcams plugin)

Updates

  • template anti-tamper code
  • new videos/tube module
  • added new site settings: rpc_key, template_key, maintenance_redirect_url, tmpl_checksums_enabled
  • add videos as urlconfig type
  • add date picker jquery lib to admin header and add template checksums menu options
  • add template checksum status to template list
  • add videos overview status to overview admin page
  • calculate all matched rows in search() by using SQL_CALC_FOUND_ROWS and store in $this->total_matches = $total_matches
  • append default sort of 'id DESC' to search() after 'publishedon DESC'
  • changed error message to 'unable to find document' in extract()
  • in add() add default values for any required key if not present
  • new arg to sql functions to optionally disable caching
  • add calls to Zestoi::check_template_checksum() to template rendering functions
  • new funcs display_syndication(), array2url() and remove_diacritics()
  • print same format to stdout as log file in syslog()
  • get_urlconfig() will now display syndication feed and terminate if a matching url is requested
  • new function get_urlconfig_rule()
  • don't list dotfiles in list_templates() and list_theme_templates()
  • getopt() now dies if a needed param is missing
  • new template checksum functions
  • new smarty modifier {remove_diacritics}
  • new smarty function {url_encode}
  • new zestoi public func zestoi_url_encode()
  • new defines ZLIBM, ZTHEMES, ZTENMPLATES
  • new templates for outbound syndication feeds
  • new htaccess files to prevent direct file access to themes/templates
  • allow skip param to be passed directly into feed instead of page param
  • functional change: webcams cron no longer run as part of main cron
  • prevent call_user_func from being called when the plugin is not loaded
  • added needed urlconfig video entries
  • added VAL_NOMATCH_ADD_KEYVAL option for theme settings files
  • urlconfig keys are reindexed on save
  • new videos zestoi call {videos_related} and new id_list parameter to 'videos'
  • ZestoiMeta::set() can now also accept an array()
  • new smarty function {template}
  • replaced call to ZestoiRender::transform_smarty_template() with new zestoi_template() in smarty2php.pl
  • the get-from-title button floated down to the next line in the article editor
  • log file pruner to keep log files at no more than 100 entries
  • new function zestoi_time_ago() and smarty plugin called {time_ago} to create strings from a timestamp like "3 minutes ago"
  • dont try and call webcams and videos overview pages if they are not installed
  • custom fields not being saved by the article editor
  • custom fields not being rendered for articles
  • display current server time in logs pages
  • decode new tags field from xlovecam into the kinky_attribs field
  • initial checkin of new webcams_tube theme
  • also check for a theme file called MODULE_index.* or MODULE_single.* based on how many we find
  • bug in videos rendering causing sub templates in smarty nuking vals in the higher level one
  • only list non-empty channels in list channels
  • allow a url-type set of args to be passed to url_encode as well as a php array
  • call zestoi_setvals() from within zestoi to set vals instead of doing so directly
  • prepend 'empty' channel name for use in the admin menus due to change to list_channels()
  • don't allow install.php or zestoi.php to be run via a web browser
  • add code to search for config.php from install.php
  • added videos_tag urlconfig type to install code
  • decode_url() now calls urldecode() instead of htmlspecialchars()
  • output meaningful message if unable to locate php template
  • add check for webcams_single into themes functions.php file (if exists) but leave webcams_profile check in
  • update theme settings files to rename webcams_profile to webcams_single
  • fixed bug in livejasmin webcams feed where fewer models were found in 'lite' mode
  • function zestoi_config() now only ever returns a single item, use zestoi_configs() to return more than one
  • dont allow spaces in channel names - rssfeeder
  • new webcams and videos option to not use table code for grid layouts
  • new code to remove non-printable characters from webcam feeds to prevent xml parsing errors
  • return empty array, not die(), if attempting to extract a doc that doesn't exist
  • use internal http request function where file_get_contents() had been used, so we can attempt various methods (curl etc) to get a page over http