XOOPSXOOPS 2.4.0 Beta 2发布

发布者:Mamba于2009/9/7 3:40:00 15720次阅读
Resized Image
在过去了五个月中,XOOPS 2.3.3版本下载量超过25,000次,XOOPS开发团队很高兴地宣布发布强
烈습니다义
新的 XOOPS 2.4.0 Beta 2

这个版本包括许多错误修复和用户体验改进,由XOOPS核心开发团队和XOOPS社区完成。

Beta 2新功能(除了错误修复之外)
-------------------------------------------
* 管理员GUI现在使用主题工厂,模块可以使用$xoTheme和$xoopsTpl(trabis)
* 预加载系统,模块现在可以响应用户事件(trabis)
* 支持 PHP 5.3(trabis)
*jQuery支持。如果你需要使用jQuery.js,请使用$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); (trabis/phppp)

beta 1中的新增/更改的区域
----------------------------------------
- prof<|user|>ile 和 pm模块由dhcst/wishcraft改进
- 安装程序由dugris和marco等人改进
- 主题由mamba、aph3x、kris和burning改进
- tinymce编辑器由dugris和luciorota改进
- snoopy类由julionc升级
- smarty由dhcst/trabis升级
- 由marco管理的bug跟踪器
- 新管理员主题“Oxygen”由Voltan

请注意:这个版本仅供测试!不要在生产网站上使用它。如果你是覆盖之前测试安装进行安装,请先备份!
请注意,一些为之前XOOPS版本完成的修改可能不适用于此版本:安装前进行测试始终是一个不错的选择


从这里 Sourceforge仓库 下载。

感谢kris_fr,你可以在这里看到这个版本的API文档,包括UML图,这里

请将与此发布相关的所有问题都发布并讨论在这个论坛

我们需要翻译的帮助

系统要求 ----------------------------------- PHP: 任何 PHP 版本 >= 4.3 (PHP 4.2.x 可能工作但不受官方支持,强烈推荐 PHP 5.0+) MySQL: MySQL 服务器 3.23+ (MySQL 5.0+ 强烈推荐) Web 服务器:兼容所需 PHP 版本的任何服务器(强烈推荐 Apache) 下载 XOOPS ----------------------------------- 您可以通过此 Sourceforge 文件库 获取此发行版本包。提供 .zip 和 .gz 归档。 安装 XOOPS ----------------------------------- 1. 将 htdocs/ 文件夹的内容复制到您的服务器可以访问的地方 2. 确保主要文件 mainfile.php 和 uploads/ 可写(可由 Web 服务器读写) 3. 为了安全考虑,建议您将目录 "/xoops_lib"(用于 XOOPS 库)和 "/xoops_data"(用于 XOOPS 数据)移出 文档根目录,甚至更改文件夹名称。 4. 使 xoops_data/ 目录可写;创建(如果尚未存在)并使 xoops_data/caches/、xoops_data/caches/xoops_cache/、xoops_data/caches/smarty_cache/、xoops_data/caches/smarty_compile/ 目录可写。 5. 使用您的 Web 浏览器访问您安装 htdocs/ 文件的文件夹,启动安装向导 从旧版本升级 ----------------------------------- 从 XOOPS 2.3.x 升级(简单方法) 1. 从源代码库获得适当的更新包 2. 使用新文件覆盖现有的文件 3. 将 "upgrade" 文件夹移动到本地机器上的 "htdocs" 文件夹内部(它被保存在外部,因为它对于完整安装不需要) 4. 使用浏览器访问 upgrade,并按照说明进行操作 5. 按照说明更新您的数据库 6. 从您的服务器上删除 upgrade 文件夹 7. 从模块管理界面更新 "系统" 模块,其他模块,特别是 "个人资料" 建议更新。 从高于 2.0.14 的 XOOPS 2.0.* 和 2.2.* 升级(使用完整包) 0. 将归档解压到您的本地机器(例如 PC)的临时目录中。 1. 将 "upgrade" 文件夹移动到本地 PC 上的 "htdocs" 文件夹内部(它被保存在外部,因为它对于完整安装不需要) 2. 在上传文件到您的服务器之前,从本地机器上的 "htdocs" 文件夹中删除 htdocs/mainfile.php、htdocs/install/、htdocs/cache/、htdocs/extras/、htdocs/template_c/、htdocs/themes/ 和 htdocs/uploads/ 3. 将您本地机器上的 htdocs/ 文件夹内容覆盖在服务器上的现有文件上 4. 为了安全考虑,建议您将目录 xoops_lib(用于 XOOPS 库)和 xoops_data(用于 XOOPS 数据)移出文档根目录,甚至更改文件夹名称。 5. 使 xoops_data/ 目录可写;创建并使 xoops_data/caches/、xoops_data/caches/xoops_cache/、xoops_data/caches/smarty_cache/、xoops_data/caches/smarty_compile/ 目录可写。 6. 确保服务器可以写入 mainfile.php(设置权限为 777) 7. 访问...使用浏览器打开/upgrade/,并按照说明进行操作 8. 按照说明更新您的数据库 9. 再次对mainfile.php进行写保护(设置属性为444) 10. 从您的服务器中删除升级文件夹 11. 从模块管理接口更新“system”模块,建议也更新其他模块 从任何2.0.7至2.0.13.2的XOOPS版本升级(使用完整包): 0. 将存档解压到您的本地机器(例如您的PC)的临时目录中。 1. 将本地机器上“htdocs”文件夹内的“upgrade”文件夹移动(由于它对于完整安装不必要,所以之前被移除) 2. 从本地机器上的“htdocs”文件夹中删除htdocs/mainfile.php、htdocs/install/、htdocs/cache/、htdocs/extras/、htdocs/template_c/、htdocs/themes/和htdocs/uploads/ 3. 将本地机器上“htdocs”文件夹的内容上传到您的服务器现有的文件上 4. 从您的服务器中删除以下文件夹和文件(它们属于旧版本): * class/smarty/core * class/smarty/plugins/resource.db.php 5. 确保服务器可以写入mainfile.php(设置属性为777) 6. 考虑到安全性,建议将xoops_lib(XOOPS库)和xoops_data(XOOPS数据)目录从文档根目录移出,或者甚至更改文件夹名称。 7. 使xoops_data/目录可写;创建并使xoops_data/caches/、xoops_data/caches/xoops_cache/、xoops_data/caches/smarty_cache/和xoops_data/caches/smarty_compile/可写。 8. 访问/upgrade/,并按照说明进行操作 9. 再次对mainfile.php进行写保护(设置属性为444) 10. 从您的服务器中删除升级文件夹 11. 从模块管理接口更新“system”模块,建议也更新其他模块 非UTF-8网站升级: UTF-8编码自XOOPS 2.3开始作为默认字符集引入。然而,将现有网站从非UTF-8字符集转换为UTF-8可能会出现问题。在找到足够的解决方案之前,如果您不是经验丰富的用户,在升级现有网站时以下设置是推荐的: - 在升级过程中“数据库字符集和校对”步骤中选择“不更改”选项 - 修改/languages/yourlanguage/global.php以使用现有的_CHARSET值,如果新global.php文件中它已被更改为UTF-8
define('_CHARSET''UTF-8');
Upgrading XoopsEditor package: In the XOOPS package, there are eight editors included: dhtmltextarea and textarea for plain text, fckeditor, tinymce, koivi, wymeditor, Xinha, and Spaw2 for WYSIWYG HTML. Since there are some directory structure changes in both fckeditor and tinymce editors, you are recommended to remove existent editors before uploading the new additors. And if you are using fckeditor for modules, please modify module specific configs following the files in /fckeditor/modules/, especially if you use "article" module. 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 A new debug information tools will be available for 2.4 using FireBug (see http://tinyurl.com/nmnjdp) 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 Sept. 6th, 2009 ================================ Change Log: 9/6/2009: Version 2.4.0 Beta 2 ================================ Updates from Sourceforge trackers: - Fixed bug #2586854: date format is hardcoded in form elements (dugris/marco) - Fixed bug #2835056: ldap / soap syntax error (frankblack/julionc) - Fixed bug #2723428: Search Results - SEO (arabxoops/julionc) - Fixed bug #2838534: Error in oxygen orange css file (tititou/julionc) - Fixed bug #2839949: Wrong display of mandatory fields in oxygen GUI theme (tititou) - Added patch #2838667 : HTML syntax error + various formating in oxygen GUI, and clean up! (tititou/julionc) - Added feature request #2816381: Images Manager Sorting(trabis/Slyss) Updates upon community: - Fixed : some php4 related bugs in installer and xoopslogger (trabis) - Removed : System key (trabis) - Changed : Admin GUI's are now using a theme factory, modules can make use of $xoTheme and $xoopsTpl (trabis) + Added : Preload system, modules can now respond to system events(trabis) + Added : Support to php5.3 (trabis) + Added : jquery support. If you need to use jquery.js, please use $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); (trabis/phppp) Modified Language files: /modules/system/class/gui/oxygen/language/english/admin.php _AD_XOOPSMODULES, _AD_LOCALSUPPORT Added Language defines: Removed language defines: /modules/system/language/english/admin/preferences.php _MD_AM_SYSTEMKEY /modules/system/language/english/admin/preferences.php _MD_AM_SYSTEMKEYDSC upgrade/upd-2.0.18-to-2-3-0/language/english.php LEGEND_XOOPS_MAINFILE_FORPROTECTOR upgrade/upd-2.0.18-to-2-3-0/language/english.php XOOPS_MAINFILE_LABEL_FORPROTECTOR Added Language File: /language/english/localsupport.php /class/calendar/JSCal2/JSCal2/src/js/lang/en.js /class/calendar/JSCal2/language/english.php Third-party updates: ============================ 2009/08/12: Version 2.4.0 Beta 1 ============================ Updates from Sourceforge trackers: - Fixed bug #2761876: Indexes issues/improvements (trabis/Instant-Zero) - Fixed bug #2788739: missing language definition _XOOPS_FORM_ALTYOUTUBE (trabis/voltan) - Added feature req #2414148 : removing harcoded 'administration' from cpanels (trabis/mowaffaq) - Fixed bug #2782360: Profile Module - Registration steps and user creation (trabis/instantzero) - Fixed bug #2730373: Removing content from homepage template (trabis/instantzero) - Fixed bug #2704179: CaritaFoto and Link to image with a space in the dir name (trabis) - Fixed bug #2624953: Can't save value of DATE and LONGDATE in profile module (trabis) - Fixed bug #2691957: Images not given in the image manager (trabis) - Fixed bug #2661850: Bug on [mp3] tags and update player.swf (trabis) Updates upon community: - Fixed bug: Updating countries list and moving harcoded names to language folder (trabis) - Fixed bug: Parsing issues with Oxigen(class mapper) (trabis/mamba) - Fixed bug: Blocksadmin - Cookies for remembering display list settings (trabis) - Fixed bug: Undefined 'OS' in logger/render.php (trabis) - Fixed bug: Inclusion of custom config file for text sanitizer (trabis) - Fixed bug: XoopsList.php (Timezone return is not true must be array) (wishcraft) - Fixed bug: Xoops Captcha Class This class would call third party Framewok Files. If the file was not found, this would either report no error or cause a WSOD. (Catzwolf) - Fixed bug: class/captcha/xoopscaptcha: Fixed many suppression errors that would lead to either WSOD or report no error. (Catzwolf) - Fixed bug: Can not delete notifications. Cache was being used and Token validation was failing. (trabis) - Fixed bug: Cookie Domain Dope now has constant set in common.php - XOOPS_COOKIE_DOMAIN (wishcraft) - Fixed bug: XoopsCache - XOOPS URL Include with Cache Filename (Cause issue with multiple domains) (wishcraft) - Fixed bug: XoopsTpl - XOOPS URL Include with Cache Filename (Cause issue with multiple domains) (wishcraft) - Fixed bug: XoopsObject - $this->vars[$key]['changed'] not set to true if value is the same and unchanged. (wishcraft) - Fixed bug: XoopsAuth - Some installs of xoops } would physically be missing from auth_ldap.php, xoops_ads.php [rep: brandonheyer] (wishcraft) - Changed: Xoops Captcha Config: Cleaned and Formatted code for consistency. (Catzwolf) - Changed: Xoops Captcha Image: Cleaned and Formatted code for consistency. (Catzwolf) - Changed: Xoops Captcha Text: Cleaned and Formatted code for consistency. (Catzwolf) - Chanded: XoopsDatabase: Cleaned and Formatted code for consistency. (Catzwolf) - Changed: XoopsDatabaseFactory: Cleaned and Formatted code for consistency. Added error checking on file inclusion with error reporting. (Catzwolf) - Changed: XoopsFormCheckBox: Added check to see if class has already been loaded and changed include to use xoops_load function. (Catzwolf) - Changed: XoopsFormDhtmlTextArea: Added check to see if class has already been loaded and changed include to use xoops_load function. (Catzwolf) - Changed: XoopsGroupPermForm: Added Check to see if form have been loaded ppreviously nad changed includes to use xoops_load function (Catzwolf) - Changed: XoopsLists: Cleaned and Formatted Code. (Catzwolf) - Changed: Xoops ThemeForm and TableForm: Fixed the tables td to a fixed width 40%. (catzwolf) - Changed: XoopsForm: ThemeForm and TableForm: Replaced htmlspecialchar to a preg_replace to remove any malious code rather than just changing it to a readable form. (Catzwolf) - Changed: Auth Classes: Cleaned and Formatted code for consistency. (Catzwolf) - Changed: Xoops Model Classes: Cleaned and Formatted code for consistency. (Catzwolf) - Changed: Xoops Cache Classes: Cleaned and Formatted code for consistency. (Catzwolf) - Changed: Xoops File Classes: Cleaned and Formatted code for consistency. (Catzwolf) - Changed: Xoops Logger: Cleaned and Formatted code for consistency. (Catzwolf) - Changed: Xoops MultiMailer: Cleaned and Formatted code for consistency. (Catzwolf) - Changed: Functions,php: Cleaned and Formatted code for consistency. (Catzwolf) - Changed: Moved xos_kernel_Xoops2 Class from common.php to its own class file in /class (Catzwolf) - Changed: Common.php: Moved Many items into xos_kernel_Xoops2. (Catzwolf) - Changed: Moved Defines into own file called defines.php in include directory. (Catzwolf) - Chanded: refactored xoops_loadLanguage in function.php This was due to the way that this classed used error suppression and now also checks for $xoopsOption and sanitizes it. (Catzwolf) - Changed: Removed extra globals from module.errorhandler.php (do we really need this class now). (Catzwolf) - Changed: Change class Xoopstree function. Added 'extra' to the selection to allow for onchange etc (Catzwolf) - Changed: Formatted code and headers to conform to the Xoops coding standards. (Catzwolf) - Changed: Changed global calls to the database ($GLOBALS['xoopsDB'] To &XoopsDatabaseFactory::getDatabaseConnection(); which is the correct method of calling the database. - Changed: Changed initVar calls to the XoopsObject class to support enumeration array for XOBJ_DTYPE_ENUM (wishcraft) - Changed: Default Control Panel Theme set to oxygen by voltan (tnx Iran) [wishcraft] - Changed: Profile Module (Support for new Object Types and Refactorised Authentication Library) + Added: SOAP Authenication Installation Variables - see: makedata.php (wishcraft) + Added: XOOPS System Key (XOOPS Server Key for Unique Identified Systems) - see: makedata.php (wishcraft) + Added: SOAP Factory - Simple Object Access Protocol [Notice: Php Soap is crashing apache] (wishcraft) + Added: SOAP Authentication and Provisionning - User Network Management (wishcraft) + Added: Database Factory - mSQL Supporting Class - see /class/database/msqldatabase.php (wishcraft) + Added: Database Factory - Microsoft SQL Server Supporting Class - see /class/database/mssqldatabase.php (wishcraft) + Added: Database Factory - MaxDB Supporting Class - see /class/database/maxdbdatabase.php (wishcraft) + Added: Database Factory - Ingres Supporting Class - see /class/database/ingresdatabase.php (wishcraft) + Added: Database Factory - Oracle OCI Supporting Class - see /class/database/ocidatabase.php (wishcraft) + Added: Database Factory - iBase Supporting Class - see /class/database/ibasedatabase.php (wishcraft) + Added: Database Factory - FBSql Supporting Class - see /class/database/fbsqldatabase.php (wishcraft) + Added: Database Factory - DB2 Supporting Class - see /class/database/db2database.php (wishcraft) + Added: Query timers to logger (trabis) + Added: Blocksadmin - groups selection to block forms (trabis) + Added: Deprecated methods on kernel/module.php (trabis) + Added: XOBJ_DTYPE_FLOAT - Object Type for Floating Points (php4) - see /class/object.php (wishcraft) + Added: XOBJ_DTYPE_DECIMAL - Object Type for Decimals/Doubles (php4) - see /class/object.php (wishcraft) + Added: XOBJ_DTYPE_ENUM - Object Type for Enumerators (Database Support) - see /class/object.php (wishcraft) + Added: XOBJ_DTYPE_UNICODE_TXTBOX - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) + Added: XOBJ_DTYPE_UNICODE_TXTAREA - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) + Added: XOBJ_DTYPE_UNICODE_URL - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) + Added: XOBJ_DTYPE_UNICODE_EMAIL - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) + Added: XOBJ_DTYPE_UNICODE_ARRAY - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) + Added: XOBJ_DTYPE_UNICODE_OTHER - Object Type for Unicode and Escaped Characters - see /class/object.php (wishcraft) + Added: xoops_base_domain - Function for retrieving TLD of domain of any URL - see /include/functions.php (wishcraft) + Added: xoops_convert_encode - Function for Converting Bit Strings Storage in any format database in a string - see /include/functions.php (wishcraft) + Added: xoops_convert_decode - Function for Converting Bit Strings Storage in any format database in a string - see /include/functions.php (wishcraft) + Added: xoops_hex2bin - Function for Unicode Storage in any format database with hex - see /include/functions.php (wishcraft) + Added: xoops_hex2bin - Function for Unicode Storage in any format database with hex - see /include/functions.php (wishcraft) + Added: xoops_ishexstr - Function for Checking for a hex string with length limiting - see /include/functions.php (wishcraft) + Added: xoops_aw_decode - Array Walking Function for Unicode Storage see func: xoops_bin2hex - see /include/functions.php (wishcraft) + Added: xoops_aw_encode - Array Walking Function for Unicode Storage see func: xoops_hex2bin - see /include/functions.php (wishcraft) + Added: WCAG 2.0 - Sight Impaired Assisted Forms (Disability Access - Form Objects) - see /class/xoopsforms/ (wishcraft) + Added: getTitle - WCAG 2.0 - Object HTML Title Tag (Text to Speach 4 Prompted Forms) - see /class/xoopsforms/formelement.php (wishcraft) + Added: WCAG 2.0 - Label Associations with WCAG1/2 - see form objects render (wishcraft) + Added: New Class to XoopsForms: XoopsFormTree Class. The ability to add XoopsTree directly into any form. (Catzwolf) + Added: New Class to XoopsForms: XoopsFormSelectCheckGroup. This class will allow developers to add Xoops Groups into forms for permissions. (Catwolf) + Added: Class XoopsMySQLDatabase: Added the ability to take items from the database as an object and cleaned and formatted code. (Catzwolf) + Added: New Admin Theme "Oxygen" (Voltan) Updates upon community: + Added: Added functionality where items in the Xoops Form Element can span over two columns rather than into one. This was done for items such as tinymce to prevent cramping into one little box (Catzwolf) + Added: XoopsLists: Added correct method to connect to database. Changed from using the $GLOBAL and added file check when including language file. Editors like tiny mce were not cramped into one little box. (Catzwolf) + Added: New XoopsForm Class: XoopsFormButtonTray: This will allow developers to quicker add Cancel, Reset and Submit (Delete is used with a Switch) buttons in form with just one line. (Catzwolf) + Added: Two new defines in common.php NWLINE to insert newlines and DS as a shortcut of DIRECTORY_SEPARATOR. We should be using this method with XOOPS_ROOT_PATH when dealing with paths correctly. (Catzwolf) + Added: Auth Class: Added some class and file checks with error_triggers to prevent white pages (Catwolf) + Added: Xoops File Classes: Added file and class inclusion checks and added error reporting. (Catzwolf) + Added: Xoops Logger: Added check to see if error number was 2048 and return true as this error is not required to be checked and helps speeds up the logger class (Catzwolf) + Added: Xoops MultiMailer: Added file check . (Catzwolf) + Added: Module Helper Function: In Functions called xoops_getModuleOption. This will allow module developers to quickly Access $xoopsModuleConfig across all modules. Based on News Module Version (Catzwolf, Herve) + Added: New Core function in functions.php xoops_getConfigOption. Allow to get $xoopsConfig() in a safer and static version. (Catzwolf) + Added: New Core function in functions.php xoops_setConfigOption. Allow to set $xoopsConfig() in a safer. (Catzwolf) + Added: New function to xos_kernel_Xoops2 called pathExists. When using $xoops->path($file), this call will check that the file exists or throw friendly error (Catzwolf) + Added: New Function: triggerError. To allow Core and modules to add errors with custom messages. (Catzwolf) Modified language files: /modules/profile/language/english/modinfo.php : Fixed typo in "PROFILE_MI_NEVER_LOGED_IN" - it should be "LOGGED_IN" (mamba) /upgrade/language/english/upgrade.php : "_NO_NEED_UPGRADE" (trabis) Added Language defines: /modules/system/language/english/cpanel.php : Added _MD_CPANEL_SITE_ADMINISTRATION (trabis/mowaffaq) /language/english/formdhtmltextarea.php : Added _XOOPS_FORM_ALTYOUTUBE (trabis/voltan) /language/english/banners.php : Added _BANNERS_CHANGE to defines (trabis) /language/english/global.php : Added _RESET /language/english/global.php : Added _XO_AD_USERBENNED_HEADER /language/english/global.php : Added _XO_AD_USERBENNED_TEXT /upgrade/language/english/upgrade.php : Added '_UPDATE_SYSTEM_MODULE' (trabis) Removed language defines: /language/english/admin.php : _AD_PRESSGEN Added Language File: /language/english/countries.php (trabis) /language/english/logger.php (trabis) /language/english/errors.php (Catzwolf) Third-party updates: - Added nuSoap - sourceforge (wishcraft) - Upgraded Smarty to 2.6.26 (trabis)