From: <be...@us...> - 2011-12-26 03:27:03
|
Revision: 8553 http://xoops.svn.sourceforge.net/xoops/?rev=8553&view=rev Author: beckmi Date: 2011-12-26 03:26:56 +0000 (Mon, 26 Dec 2011) Log Message: ----------- Updating Trunk to XOOPS 2.5.3 Final Modified Paths: -------------- XoopsCore/trunk/docs/changelog.250.txt XoopsCore/trunk/htdocs/include/version.php XoopsCore/trunk/htdocs/install/page_dbsettings.php XoopsCore/trunk/htdocs/mainfile.php XoopsCore/trunk/htdocs/modules/system/themes/default/default.php XoopsCore/trunk/htdocs/modules/system/themes/default/xotpl/xo_globalnav.html Added Paths: ----------- XoopsCore/trunk/docs/README.txt XoopsCore/trunk/htdocs/install/img/xoops_2.5.3.png Removed Paths: ------------- XoopsCore/trunk/docs/README.txt XoopsCore/trunk/docs/release_notes.txt XoopsCore/trunk/htdocs/install/img/xoops_2.5.2.png XoopsCore/trunk/htdocs/xoops_data/data/secure.php Property Changed: ---------------- XoopsCore/trunk/ XoopsCore/trunk/htdocs/modules/ Property changes on: XoopsCore/trunk ___________________________________________________________________ Modified: svn:mergeinfo - /XoopsCore/branches/2.4.x/2.4.4:4083-4170 /XoopsCore/branches/2.4.x/2.4.5:4294-4943 /XoopsCore/branches/2.5.x/2.5.0:5408-5536 /XoopsCore/branches/2.5.x/2.5.1:6339-6621 /XoopsCore/branches/2.5.x/2.5.2:6625-7754 /XoopsCore/branches/tasks/2.5.0-formuss-trabis:4945-6327 /XoopsCore/releases/2.5.0:5727-8546 /XoopsCore/releases/2.5.0-beta:5409-8543 /XoopsCore/releases/2.5.0-rc:5537-8544 /XoopsCore/releases/2.5.0-rc2:5597-8545 /XoopsCore/releases/2.5.1:6526-8548 /XoopsCore/releases/2.5.1-rc:6408-8547 /XoopsCore/releases/2.5.1a:6706-8549 /XoopsCore/releases/2.5.2:7759-8551 /XoopsCore/releases/2.5.2-rc:7711-8550 + /XoopsCore/branches/2.4.x/2.4.4:4083-4170 /XoopsCore/branches/2.4.x/2.4.5:4294-4943 /XoopsCore/branches/2.5.x/2.5.0:5408-5536 /XoopsCore/branches/2.5.x/2.5.1:6339-6621 /XoopsCore/branches/2.5.x/2.5.2:6625-7754 /XoopsCore/branches/2.5.x/2.5.3:7758-7771 /XoopsCore/branches/tasks/2.5.0-formuss-trabis:4945-6327 /XoopsCore/releases/2.5.0:5727-8546 /XoopsCore/releases/2.5.0-beta:5409-8543 /XoopsCore/releases/2.5.0-rc:5537-8544 /XoopsCore/releases/2.5.0-rc2:5597-8545 /XoopsCore/releases/2.5.1:6526-8548 /XoopsCore/releases/2.5.1-rc:6408-8547 /XoopsCore/releases/2.5.1a:6706-8549 /XoopsCore/releases/2.5.2:7759-8551 /XoopsCore/releases/2.5.2-rc:7711-8550 /XoopsCore/releases/2.5.3:7774-8552 Deleted: XoopsCore/trunk/docs/README.txt =================================================================== --- XoopsCore/trunk/docs/README.txt 2011-12-26 03:23:47 UTC (rev 8552) +++ XoopsCore/trunk/docs/README.txt 2011-12-26 03:26:56 UTC (rev 8553) @@ -1,17 +0,0 @@ -XOOPS 2.5.2 Final - -The XOOPS Development Team is pleased to announce the release of XOOPS 2.5.2 Final. - -This release is focused on fixing bugs from previous versions and security enhancements based on report from High-Tech Bridge Security Research Lab. - -Download XOOPS 2.5.2 Final from [url=http://sourceforge.net/projects/xoops/files/XOOPS%20Core%20%28stable%20releases%29/XOOPS%202.5.2/]Sourceforge repository[/url]. - -How to contribute ------------------------------------ -Bug report: http://sourceforge.net/tracker/?group_id=41586&atid=430840 -Patch and enhancement: http://sourceforge.net/tracker/?group_id=41586&atid=430842 -Feature design: http://sourceforge.net/tracker/?group_id=41586&atid=430843 -Release announcement: https://lists.sourceforge.net/lists/listinfo/xoops-announcement - -XOOPS Development Team -October 2nd, 2011 \ No newline at end of file Copied: XoopsCore/trunk/docs/README.txt (from rev 8552, XoopsCore/releases/2.5.3/docs/README.txt) =================================================================== --- XoopsCore/trunk/docs/README.txt (rev 0) +++ XoopsCore/trunk/docs/README.txt 2011-12-26 03:26:56 UTC (rev 8553) @@ -0,0 +1,20 @@ +XOOPS 2.5.2 Release Candidate + +The XOOPS Development Team is pleased to announce the release of XOOPS 2.5.2 RC. Several bugs have been fixed as well as security enhancement based on report from High-Tech Bridge Security Research Lab. + +This 2.5 series builds on the XOOPS 2.4.x series with objectives of usability improvements instead of architecture or API changes. +The system module is updated with a major redesign with jQuery based AJAX, done mainly by ForMusS, kraven_30, Mage with contributions from trabis, voltan, Kris_fr, onokazu etc. +Besides usability, some proof-of-concept experiments have also been proven for module and theme development. Unavoidably there are bugs and incompatibility introduced. + +Download XOOPS 2.5.2 from [url=https://sourceforge.net/projects/xoops/files/XOOPS%20Core%20%28stable%20releases%29/XOOPS%202.5.2/]Sourceforge repository[/url]. + + +How to contribute +----------------------------------- +Bug report: http://sourceforge.net/tracker/?group_id=41586&atid=430840 +Patch and enhancement: http://sourceforge.net/tracker/?group_id=41586&atid=430842 +Feature design: http://sourceforge.net/tracker/?group_id=41586&atid=430843 +Release announcement: https://lists.sourceforge.net/lists/listinfo/xoops-announcement + +XOOPS Development Team +September 15th, 2011 \ No newline at end of file Modified: XoopsCore/trunk/docs/changelog.250.txt =================================================================== --- XoopsCore/trunk/docs/changelog.250.txt 2011-12-26 03:23:47 UTC (rev 8552) +++ XoopsCore/trunk/docs/changelog.250.txt 2011-12-26 03:26:56 UTC (rev 8553) @@ -1,5 +1,11 @@ XOOPS 2.5 Changelog =============================== +2011/10/03: Version 2.5.3 Beta +=============================== +Bugfixes: +Style switcher does not work on default admin GUI(trabis) +Reverting fix for bug ID: 2672723 Changed the code in Install to omits the SQL command: "ALTER DATABASE ... CHARACTER SET ..." (trabis) + 2011/09/29: Version 2.5.2 Final =============================== Bugfixes: @@ -84,7 +90,6 @@ - "admin_warnings_enable" option in xoops_data/configs/xoopsconfig.php (trabis) - Preload event 'checkcache' on header.php to allow disable caching on specific conditions (trabis) - XoopsObject::getVar() case 'n' for XOBJ_DTYPE_ARRAY/XOBJ_DTYPE_UNICODE_ARRAY to allow getting raw value (trabis) - - ModuleAdmin class to /Frameworks (mage,mamba) Improved: - Changed "debugLevel" default option to 2(admins only) in xoops_data/configs/xoopsconfig.php(trabis) - XoopsGroupPermHandler::getRight() as new parameter $trueifadmin to allow modules to set admin permissions (trabis) Deleted: XoopsCore/trunk/docs/release_notes.txt =================================================================== --- XoopsCore/trunk/docs/release_notes.txt 2011-12-26 03:23:47 UTC (rev 8552) +++ XoopsCore/trunk/docs/release_notes.txt 2011-12-26 03:26:56 UTC (rev 8553) @@ -1,113 +0,0 @@ -XOOPS 2.5.2 Release Candidate (RC) - -The XOOPS Development Team is pleased to announce the release of XOOPS 2.5.2 RC. Several bugs have been fixed as well as security enhancement based on report from High-Tech Bridge Security Research Lab.. -Please be aware that the bugfix is not complete and 2.5 series will be following small but frequent release rule so that users can take advantage of quick fixes. - -This 2.5 series builds on the XOOPS 2.4.x series with objectives of usability improvements instead of architecture or API changes. -The system module is updated with a major redesign with jQuery based AJAX, done mainly by ForMusS, kraven_30, Mage with contributions from trabis, voltan, Kris_fr, onokazu etc. -Besides usability, some proof-of-concept experiments have also been proven for module and theme development. Unavoidably there are bugs and incompatibility introduced. - -Download XOOPS 2.5.2 from [url=https://sourceforge.net/projects/xoops/files/XOOPS%20Core%20%28stable%20releases%29/XOOPS%202.5.2/]Sourceforge repository[/url]. - -System requirements ------------------------------------ - -PHP: -Any PHP version >= 5.2 (PHP 5.3+ is strongly recommended) - -MySQL: -MySQL server 5.0+ - -Web server: -Any server supporting the required PHP version (Apache highly recommended) - - -Downloading XOOPS ------------------------------------ - -Your can get this release package from the sourceforge.net file repository. -There are .zip and .gz archives provided. - - -Installing XOOPS ------------------------------------ - - 1. Copy the content of the htdocs/ folder where it can be accessed by your server - 2. Ensure mainfile.php and uploads/ are writable by the web server - 3. For security considerations, you are encouraged to move directories "/xoops_lib" (for XOOPS libraries) and "/xoops_data" (for XOOPS data) out of Document Root, and change the folder names. - 4. Make the directory xoops_data/ writable; Create (if not already present) and make the directories xoops_data/caches/, xoops_data/caches/xoops_cache/, xoops_data/caches/smarty_cache/ and xoops_data/caches/smarty_compile/ writable. - 5. Access the folder where you installed the htdocs/ files using your web browser to launch the installation wizard - - -Installing Protector in XOOPS ------------------------------------ -We also highly recommend the installation of the PROTECTOR module which will bring additional security protection and logging capabilities to your site. - - -Upgrading from a previous version ------------------------------------ - -Upgrading from 2.5.0 to 2.5.2: - 1. Get the right update package from the sourceforge file repository - 2. Overwrite files in XOOPS directory on your server with the content of /htdocs - * make sure that you copy the content of /xoops_lib to whatever directory you keep it on the server now (it should be your current XOOPS_TRUST_PATH directory), then delete the /xoops_lib directory. There can NOT be two directories with the content of /xoops_lib - 3. Update the "system" module from the modules administration interface. Other modules, especially "Profile" and "Protector" are recommended to update as well - -Upgrading from previous versions older than 2.5.0: - The upgrade scripts from older versions to 2.5.0 are not complete, however it won't affect your XOOPS site. The scripts will be improved in next release. - Following is an instruction for upgrading from XOOPS 2.4.5 to 2.5 provided by John Healy: - 0. Verify the system requirements, in particular the version of PHP. Backup your XOOPS database and site directory. (There are several ways to do these actions, which are discussed elsewhere.) Turning your site off is optional. - Change the permissions on mainfile.php and /include/license.php to be writable, for example: - File Normal For upgrade - mainfile.php 400 700 - /include/license.php 444 777 - Get the correct update package from the SourceForge file repository. - 1. In the upgrade package folder, move the "upgrade" folder inside the "htdocs" folder, if it's not already there. Remove the install folder from the "htdocs" folder, if it's there. Remove the mainfile.php file from the "htdocs" folder, if it's there. - If you've moved the xoops_data and xoops_lib folders outside your site's root directory, move these folders out of the "htdocs" folder in the upgrade package folder. - 2. Delete the /modules/system directory on your current XOOPS site (to get rid of any old unnecessary files). - 3. Overwrite the files in the XOOPS directory on your current XOOPS site with the content of "htdocs" folder of the upgrade package. (There are several ways to do this action, which are discussed elsewhere.) - As noted above, if relocated, overwrite the files in your current xoops_data and xoops_lib with the content of those in the upgrade package. - 4. If you have Protector previously installed, open the "mainfile.php" file , and remove the Pre-check and Post-check lines (if they exist): - include XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ; - include XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ; - 5. At your site's address (URL), login as administrator. Access <your.site.url>/upgrade/ with a browser, and follow the instructions (and any for updating your XOOPS database). After all updates have been applied (green checkmarks), note the link in the Updater to update the "system" module, and do so. - 6. Delete the "upgrade" folder from your site's "htdocs" directory. - 7. Update (reload) other modules, especially "Profile" and "Protector," if necessary. - 8. Change permissions on the files noted above back to their normal state. - 9. Turn your site back on, if you turned it off earlier. - - -Debug information display level ------------------------------------ - -Since XOOPS 2.3.1 debug information display level is enabled as a temporary solution for 2.3* to show debug information to different level of users: to all users, to members or to admins only. -The configuration can be set in /xoops_data/configs/xoopsconfig.php - - -Files integrity check ------------------------------------ - -The full XOOPS package is released with a script able to check if all the system files have been correctly uploaded to the server. To use it, follow these instructions: - - 1. Upload the checksum.php and checksum.md5 files located in the XOOPS package root to your XOOPS server folder (putting them next to mainfile.php). - 2. Execute checksum.php with your browser - 3. If necessary, re-upload the missing or corrupted system files - 4. Remove checksum.php and checksum.md5 from your server - - -Modules ------------------------------------ - -This release contains only the "system-related modules". You are invited to browse the XOOPS modules repository to if you need additional functionality. Note: as a new repository is being built, the current repository is not up-to-date, PLEASE VISIT INDIVIDUAL DEVELOPERS' WEBSITES TO MAKE SURE YOU ARE USING LATEST VERSION OF MODULES. - - -How to contribute ------------------------------------ -Bug report: http://sourceforge.net/tracker/?group_id=41586&atid=430840 -Patch and enhancement: http://sourceforge.net/tracker/?group_id=41586&atid=430842 -Feature design: http://sourceforge.net/tracker/?group_id=41586&atid=430843 -Release announcement: https://lists.sourceforge.net/lists/listinfo/xoops-announcement - - -XOOPS Development Team -September 15th, 2011 \ No newline at end of file Modified: XoopsCore/trunk/htdocs/include/version.php =================================================================== --- XoopsCore/trunk/htdocs/include/version.php 2011-12-26 03:23:47 UTC (rev 8552) +++ XoopsCore/trunk/htdocs/include/version.php 2011-12-26 03:26:56 UTC (rev 8553) @@ -30,6 +30,6 @@ /** * Define XOOPS version */ -define('XOOPS_VERSION', 'XOOPS 2.5.2'); +define('XOOPS_VERSION', 'XOOPS 2.5.3'); ?> \ No newline at end of file Deleted: XoopsCore/trunk/htdocs/install/img/xoops_2.5.2.png =================================================================== (Binary files differ) Copied: XoopsCore/trunk/htdocs/install/img/xoops_2.5.3.png (from rev 8552, XoopsCore/releases/2.5.3/htdocs/install/img/xoops_2.5.3.png) =================================================================== (Binary files differ) Modified: XoopsCore/trunk/htdocs/install/page_dbsettings.php =================================================================== --- XoopsCore/trunk/htdocs/install/page_dbsettings.php 2011-12-26 03:23:47 UTC (rev 8552) +++ XoopsCore/trunk/htdocs/install/page_dbsettings.php 2011-12-26 03:26:56 UTC (rev 8553) @@ -54,30 +54,28 @@ } $error = ''; -if ( $_SERVER['REQUEST_METHOD'] == 'POST' && !empty( $vars['DB_NAME'] ) ) { +if ($_SERVER['REQUEST_METHOD'] == 'POST' && !empty($vars['DB_NAME'])) { + $error = validateDbCharset($link, $vars['DB_CHARSET'], $vars['DB_COLLATION']); $db_exist = true; - if ( ! @mysql_select_db( $vars['DB_NAME'], $link ) ) { - // Database not here: try to create it - $result = mysql_query( "CREATE DATABASE `" . $vars['DB_NAME'] . '`' ); - if ( !$result ) { - $error = ERR_NO_DATABASE; - $db_exist = false; + if (empty($error)) { + if (!@mysql_select_db( $vars['DB_NAME'], $link)) { + // Database not here: try to create it + $result = mysql_query( "CREATE DATABASE `" . $vars['DB_NAME'] . '`' ); + if (!$result) { + $error = ERR_NO_DATABASE; + $db_exist = false; + } } - } - if ( empty($error) ) { - $error = validateDbCharset($link, $vars['DB_CHARSET'], $vars['DB_COLLATION']); - if ( !empty($error) ) { - if ($db_exist && $vars['DB_CHARSET']) { - $sql = "ALTER DATABASE `" . $vars['DB_NAME'] . "` DEFAULT CHARACTER SET " . mysql_real_escape_string($vars['DB_CHARSET']) . - ( $vars['DB_COLLATION'] ? " COLLATE " . mysql_real_escape_string($vars['DB_COLLATION']) : ""); - if ( !mysql_query($sql) ) { - $error = ERR_CHARSET_NOT_SET . $sql; - } - } + if ($db_exist && $vars['DB_CHARSET']) { + $sql = "ALTER DATABASE `" . $vars['DB_NAME'] . "` DEFAULT CHARACTER SET " . mysql_real_escape_string($vars['DB_CHARSET']) . + ($vars['DB_COLLATION'] ? " COLLATE " . mysql_real_escape_string($vars['DB_COLLATION']) : ""); + if (!mysql_query($sql)) { + $error = ERR_CHARSET_NOT_SET . $sql; + } } } - if ( empty( $error ) ) { - $wizard->redirectToPage( '+1' ); + if (empty($error)) { + $wizard->redirectToPage('+1'); exit(); } } Modified: XoopsCore/trunk/htdocs/mainfile.php =================================================================== --- XoopsCore/trunk/htdocs/mainfile.php 2011-12-26 03:23:47 UTC (rev 8552) +++ XoopsCore/trunk/htdocs/mainfile.php 2011-12-26 03:26:56 UTC (rev 8553) @@ -3,7 +3,7 @@ * XOOPS main configuration file * * You may not change or alter any portion of this comment or credits - * of supporting developers from this source code or any supporting source code + * of supporting developers from this source code or any supporting source code * which is considered copyrighted (c) material of the original comment or credit authors. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of Property changes on: XoopsCore/trunk/htdocs/modules ___________________________________________________________________ Modified: svn:mergeinfo - /XoopsCore/branches/2.5.x/2.5.1/htdocs/modules:6339-6621 /XoopsCore/branches/2.5.x/2.5.2/htdocs/modules:6625-7754 /XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/modules:5405-6327 /XoopsCore/releases/2.5.0/htdocs/modules:5727-8546 /XoopsCore/releases/2.5.0-rc2/htdocs/modules:5597-8545 /XoopsCore/releases/2.5.1/htdocs/modules:6526-8548 /XoopsCore/releases/2.5.1-rc/htdocs/modules:6408-8547 /XoopsCore/releases/2.5.1a/htdocs/modules:6706-8549 /XoopsCore/releases/2.5.2/htdocs/modules:7759-8551 /XoopsCore/releases/2.5.2-rc/htdocs/modules:7711-8550 /XoopsModules/protector/releases/3.40/modules:4782-5620 + /XoopsCore/branches/2.5.x/2.5.1/htdocs/modules:6339-6621 /XoopsCore/branches/2.5.x/2.5.2/htdocs/modules:6625-7754 /XoopsCore/branches/2.5.x/2.5.3/htdocs/modules:7758-7771 /XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/modules:5405-6327 /XoopsCore/releases/2.5.0/htdocs/modules:5727-8546 /XoopsCore/releases/2.5.0-rc2/htdocs/modules:5597-8545 /XoopsCore/releases/2.5.1/htdocs/modules:6526-8548 /XoopsCore/releases/2.5.1-rc/htdocs/modules:6408-8547 /XoopsCore/releases/2.5.1a/htdocs/modules:6706-8549 /XoopsCore/releases/2.5.2/htdocs/modules:7759-8551 /XoopsCore/releases/2.5.2-rc/htdocs/modules:7711-8550 /XoopsCore/releases/2.5.3/htdocs/modules:7774-8552 /XoopsModules/protector/releases/3.40/modules:4782-5620 Modified: XoopsCore/trunk/htdocs/modules/system/themes/default/default.php =================================================================== --- XoopsCore/trunk/htdocs/modules/system/themes/default/default.php 2011-12-26 03:23:47 UTC (rev 8552) +++ XoopsCore/trunk/htdocs/modules/system/themes/default/default.php 2011-12-26 03:26:56 UTC (rev 8553) @@ -60,10 +60,10 @@ $xoTheme->addScript(XOOPS_ADMINTHEME_URL . '/default/js/tooltip.js'); $xoTheme->addScript(XOOPS_ADMINTHEME_URL . '/default/js/tabs.jquery.tools.min.js'); + $xoTheme->addStylesheet(XOOPS_ADMINTHEME_URL . '/default/css/style.css' ); $xoTheme->addStylesheet(XOOPS_ADMINTHEME_URL . '/default/css/dark.css', array('title' => 'dark', 'media' => 'screen')); $xoTheme->addStylesheet(XOOPS_ADMINTHEME_URL . '/default/css/silver.css', array('title' => 'silver', 'media' => 'screen')); $xoTheme->addStylesheet(XOOPS_ADMINTHEME_URL . '/default/css/orange.css', array('title' => 'orange', 'media' => 'screen')); - $xoTheme->addStylesheet(XOOPS_ADMINTHEME_URL . '/default/css/style.css' ); $tpl->assign('lang_cp', _CPHOME); //start system overview Modified: XoopsCore/trunk/htdocs/modules/system/themes/default/xotpl/xo_globalnav.html =================================================================== --- XoopsCore/trunk/htdocs/modules/system/themes/default/xotpl/xo_globalnav.html 2011-12-26 03:23:47 UTC (rev 8552) +++ XoopsCore/trunk/htdocs/modules/system/themes/default/xotpl/xo_globalnav.html 2011-12-26 03:26:56 UTC (rev 8553) @@ -25,8 +25,9 @@ </ul> <!-- start style choose --> <div id="choosestyle"> - <a href="<{$theme_css}>/index.html?style=dark" rel="dark" class="styleswitch"><{$smarty.const._OXYGEN_DARK}></a> + <a href="<{$theme_css}>/index.html?style=dark" rel="dark" class="styleswitch"><{$smarty.const._OXYGEN_DARK}></a> <a href="<{$theme_css}>/index.html?style=silver" rel="silver" class="styleswitch"><{$smarty.const._OXYGEN_SILVER}></a> + <a href="<{$theme_css}>/index.html?style=orange" rel="orange" class="styleswitch"><{$smarty.const._OXYGEN_ORANGE}></a> </div> </div> Deleted: XoopsCore/trunk/htdocs/xoops_data/data/secure.php =================================================================== --- XoopsCore/trunk/htdocs/xoops_data/data/secure.php 2011-12-26 03:23:47 UTC (rev 8552) +++ XoopsCore/trunk/htdocs/xoops_data/data/secure.php 2011-12-26 03:26:56 UTC (rev 8553) @@ -1,17 +0,0 @@ -<?php -/** - * XOOPS secure file - * - * You may not change or alter any portion of this comment or credits - * of supporting developers from this source code or any supporting source code - * which is considered copyrighted (c) material of the original comment or credit authors. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) - * @version $Id$ - */ - -?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |