|
From: Verdon V. <ve...@us...> - 2008-01-06 00:35:12
|
Update of /cvsroot/phpwebsite-comm/modules/podcaster/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4231/boost Modified Files: boost.php dependency.xml update.php Log Message: getting ready for 1.0.4 and release Index: dependency.xml =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/podcaster/boost/dependency.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** dependency.xml 2 Jan 2008 04:28:36 -0000 1.1 --- dependency.xml 6 Jan 2008 00:34:42 -0000 1.2 *************** *** 4,8 **** <title>core</title> <properName>phpWebSite Core</properName> ! <version>1.7.0</version> <url>http://phpwebsite.appstate.edu/downloads/modules/base/</url> </module> --- 4,8 ---- <title>core</title> <properName>phpWebSite Core</properName> ! <version>1.7.2</version> <url>http://phpwebsite.appstate.edu/downloads/modules/base/</url> </module> *************** *** 10,14 **** <title>filecabinet</title> <properName>File Cabinet</properName> ! <version>1.4.0</version> <url>http://phpwebsite.appstate.edu/downloads/modules/filecabinet/</url> </module> --- 10,14 ---- <title>filecabinet</title> <properName>File Cabinet</properName> ! <version>1.4.2</version> <url>http://phpwebsite.appstate.edu/downloads/modules/filecabinet/</url> </module> Index: boost.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/podcaster/boost/boost.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** boost.php 2 Jan 2008 04:28:36 -0000 1.1 --- boost.php 6 Jan 2008 00:34:42 -0000 1.2 *************** *** 24,28 **** $proper_name = 'Podcaster'; ! $version = '1.0.3'; $import_sql = true; $version_http = 'http://verdon.ca/downloads/modules/podcaster/check.xml'; --- 24,28 ---- $proper_name = 'Podcaster'; ! $version = '1.0.4'; $import_sql = true; $version_http = 'http://verdon.ca/downloads/modules/podcaster/check.xml'; Index: update.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/podcaster/boost/update.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** update.php 2 Jan 2008 05:29:48 -0000 1.5 --- update.php 6 Jan 2008 00:34:42 -0000 1.6 *************** *** 25,28 **** --- 25,29 ---- function podcaster_update(&$content, $currentVersion) { + $home_dir = PHPWS_Boost::getHomeDir(); switch ($currentVersion) { *************** *** 73,76 **** --- 74,114 ---- + case version_compare($currentVersion, '1.0.4', '<'): + $content[] = '<pre>'; + + $new_icon = PHPWS_SOURCE_DIR . 'mod/podcaster/img/rss_sm.png'; + $destination_directory = $home_dir . 'images/mod/podcaster/'; + $icon_name = 'rss_sm.png'; + if (PHPWS_File::fileCopy($file_origin, $destination_directory, $file_destination, 1, 1)) { + $content[] = "--- Successfully copied $icon_name to $destination_directory"; + } else { + $content[] = "--- Failed to copy $icon_name to $destination_directory</pre>"; + return false; + } + + $files = array('templates/edit_settings.tpl', + 'templates/edit_channel.tpl', + 'templates/edit_episode.tpl', + 'templates/block_home.tpl', + 'templates/view_rss.tpl', + 'templates/info.tpl', + 'conf/config.php' + ); + podcasterUpdateFiles($files, $content); + + $content[] = '1.0.4 changes + ---------------- + + Updated documentation + + Got channel rss caching working (needs updated /core/class/cache.php) + + Added empty message and create link, in empty channel list + + Fixed default for approved flag for new episode by unrestricted users + + Added podcaster block and related settings + + Made RSS cache timeout configurable in settings tab + + Added an info tab and a few notes on media files and iTunes categories + + General code tidying and review to prepare for release + + </pre>'; + + |