From: <tr...@us...> - 2012-12-02 15:45:03
|
Revision: 10298 http://sourceforge.net/p/xoops/svn/10298 Author: trabis Date: 2012-12-02 15:44:57 +0000 (Sun, 02 Dec 2012) Log Message: ----------- Updating cache engines and moving new classes to xoops_lib Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt XoopsCore/branches/2.6.x/2.6.0/htdocs/Frameworks/art/functions.cache.php XoopsCore/branches/2.6.x/2.6.0/htdocs/Frameworks/art/functions.config.php XoopsCore/branches/2.6.x/2.6.0/htdocs/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/auth/auth.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/auth/auth_ads.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/auth/auth_ldap.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/auth/auth_provisionning.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/auth/auth_xoops.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/auth/authfactory.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/cache/apc.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/cache/file.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/cache/memcache.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/cache/model.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/cache/xcache.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/cache/xoopscache.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/captcha/image/scripts/image.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/preload.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/theme.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/theme_blocks.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopseditor/xoopseditor.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsload.php XoopsCore/branches/2.6.x/2.6.0/htdocs/include/checklogin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/object.php XoopsCore/branches/2.6.x/2.6.0/upgrade/login.php Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Auth/ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Auth/Ads.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Auth/Factory.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Auth/Ldap.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Auth/Provisioning.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Auth/Xoops.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Auth.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Cache/ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Cache/Abstract.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Cache/Apc.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Cache/File.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Cache/Memcache.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Cache/Model.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Cache/Redis.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Cache/Wincache.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Cache/Xcache.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Cache/index.html XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Cache.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops.php Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php Property Changed: ---------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/Frameworks/ XoopsCore/branches/2.6.x/2.6.0/htdocs/uploads/ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_data/data/ Modified: XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt 2012-12-01 22:36:45 UTC (rev 10297) +++ XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt 2012-12-02 15:44:57 UTC (rev 10298) @@ -1,6 +1,11 @@ XOOPS 2.6 Changelog =============================== +2012/12: Version 2.6.0 Alpha 2 +=============================== +Updating cache engines (trabis) + +=============================== 2012/08: Version 2.6.0 Alpha 1 =============================== @@ -46,7 +51,7 @@ 9570 change userrank.html to help.html in userrank plugin (mage) 9569 Changing _SEND to _SUBMIT in Maintenance (mamba) 9567 Update insertBreak in themform.php and modification in the system module (mage) -9566 Change in the plugin maintenance. For the part dump modules and plugins are displayed if they have a sql table. (mage) +9566 Change in the plugin maintenance. For the part dump modules and plugins are displayed if they have a sql table. (mage) 9565 change constant language error (mage) 9562 update userrank with new form (mage) 9561 The description is no longer displayed with the title to the preferences of modules / plugins (mage) @@ -162,7 +167,7 @@ 8491 Update module logo (formuss) 8487 Smilies and userrank final (mage) 8486 Updating to jQuery 1.71 (mamba) -8483 Adding back the modules admin template. +8483 Adding back the modules admin template. 8482 Refactor module class (formuss) 8472 Fix an error when user log out (formuss) 8471 Updated banners (draft 1) (mage) @@ -243,7 +248,7 @@ 8235 Renaming reource from blocks to block to match tplfile type in database (trabis) 8234 adding new resources to replace db:template.html. (trabis) You can now use module:dirname|template.html You can now use block:dirname|template.html You can now use admin:dirname|template.html (trabis) -All resources look for override templates in theme dir +All resources look for override templates in theme dir You can use this new resources inside templates: <{includeq file="module:system|system_header.html"}> Or on any template object: Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/Frameworks ___________________________________________________________________ Modified: svn:ignore - PEAR art captcha fpdf graphs readme.schinese.txt textsanitizer transfer xoops22 xoops_version.php + PEAR art captcha fpdf graphs readme.schinese.txt textsanitizer transfer xoops22 xoops_version.php moduleclasses Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/Frameworks/art/functions.cache.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/Frameworks/art/functions.cache.php 2012-12-01 22:36:45 UTC (rev 10297) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/Frameworks/art/functions.cache.php 2012-12-02 15:44:57 UTC (rev 10298) @@ -60,7 +60,7 @@ $dirname = ($dirname) ? $dirname : $xoops->moduleDirname; $key = "{$dirname}_{$name}"; - return XoopsCache::write($key, $data); + return Xoops_Cache::write($key, $data); } /** @@ -105,7 +105,7 @@ $dirname = ($dirname) ? $dirname : $xoops->moduleDirname; $key = "{$dirname}_{$name}"; - return XoopsCache::read($key); + return Xoops_Cache::read($key); } /** Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/Frameworks/art/functions.config.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/Frameworks/art/functions.config.php 2012-12-01 22:36:45 UTC (rev 10297) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/Frameworks/art/functions.config.php 2012-12-02 15:44:57 UTC (rev 10298) @@ -36,9 +36,9 @@ } } else { - if (!$moduleConfig = XoopsCache::read("{$dirname}_config")) { + if (!$moduleConfig = Xoops_Cache::read("{$dirname}_config")) { $moduleConfig = mod_fetchConfig($dirname); - XoopsCache::write("{$dirname}_config", $moduleConfig); + Xoops_Cache::write("{$dirname}_config", $moduleConfig); } } if ($customConfig = @include XOOPS_ROOT_PATH . "/modules/{$dirname}/include/plugin.php") { @@ -105,7 +105,7 @@ } - return XoopsCache::delete("{$dirname}_config"); + return Xoops_Cache::delete("{$dirname}_config"); } function mod_clearConfg($dirname = "") Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/admin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/admin.php 2012-12-01 22:36:45 UTC (rev 10297) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/admin.php 2012-12-02 15:44:57 UTC (rev 10298) @@ -87,7 +87,7 @@ $rssfile = 'adminnews-' . $xoops->getConfig('language'); $items = array(); - if (!$items = XoopsCache::read($rssfile)) { + if (!$items = Xoops_Cache::read($rssfile)) { $snoopy = new Snoopy(); $cnt = 0; foreach ($rssurl as $url) { @@ -108, |