New platform features to be backported:
Platform fixes to be backported:
Patches to improve forward compatibility with Joomla 3.0:
Other:
| #!/usr/bin/php | |
| <?php | |
| if (php_sapi_name() != "cli") { | |
| echo "Error: phptidy has to be run on command line with CLI SAPI\n"; | |
| exit(1); | |
| } | |
| function getDirectory($path = '.', $level = 0) { | |
| // Directories to ignore when listing output. |
| -All classes have to start with a J to be considered by the autoloader | |
| -Class names have to be camel cased | |
| -Every uppercase letter marks a new folder | |
| -If there's only one part it is repetead | |
| Examples: | |
| -JDatabase would have to be in database/database.php | |
| -JDatabaseExporter would have to be in database/exporter.php | |
| -JDatabaseExporterCvs would have to be in database/exporter/cvs.php |
New platform features to be backported:
Platform fixes to be backported:
Patches to improve forward compatibility with Joomla 3.0:
Other:
This is mostly thinking based on MySQL, we'll have to change the MS SQL version accordingly.
Drop the following fields:
Change the following tables to InnoDB:
| # Drop deprecated columns | |
| ALTER TABLE `#__content` DROP `title_alias`; | |
| ALTER TABLE `#__content` DROP `sectionid`; | |
| ALTER TABLE `#__users` DROP `usertype`; | |
| ALTER TABLE `#__session` DROP `usertype`; | |
| ALTER TABLE `#__users` DROP KEY `whosonline`; | |
| # Change tables for which we want to support foreign keys or transactions to InnoDB |
| abstract class JAccessHelper | |
| { | |
| public static function getActionsForAsset($asset, $section = 'component') | |
| { | |
| $user = JFactory::getUser(); | |
| $result = new JObject; | |
| $actions = JAccess::getActions($asset, $section); | |
| foreach ($actions as $action) |
| -JGithub API | |
| -plg_authentican_gmail | |
| -plg_content_geshi | |
| -plg_user_profile | |
| -com_banners | |
| -com_newsfeeds | |
| -com_weblinks | |
| -mod_version (inline into the templates again) | |
| -mod_stats | |
| -mod_feed (both) |
| <?php | |
| /** | |
| * @package Joomla.UnitTest | |
| * @subpackage HTML | |
| * | |
| * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. | |
| * @license GNU General Public License version 2 or later; see LICENSE | |
| */ | |
| require_once JPATH_PLATFORM . '/legacy/html/batch.php'; |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <checkstyle version="1.3.4"> | |
| <file name="/Users/rouven/Sites/joomla-cms/administrator/components/com_admin/views/profile/tmpl/edit.php"> | |
| <error line="36" column="1" severity="error" message="Tabs must be used to indent lines; spaces are not allowed" source="Joomla.WhiteSpace.DisallowSpaceIndent.SpaceUsed"/> | |
| <error line="37" column="1" severity="error" message="Tabs must be used to indent lines; spaces are not allowed" source="Joomla.WhiteSpace.DisallowSpaceIndent.SpaceUsed"/> | |
| <error line="38" column="1" severity="error" message="Tabs must be used to indent lines; spaces are not allowed" source="Joomla.WhiteSpace.DisallowSpaceIndent.SpaceUsed"/> | |
| <error line="39" column="1" severity="error" message="Tabs must be used to indent lines; spaces are not allowed" source="Joomla.WhiteSpace.DisallowSpaceIndent.SpaceUsed"/> | |
| <error line="40" column="1" severity="error" message="Tabs must be used to indent lines; spaces are not allowed" source="Joomla.WhiteSpace.DisallowSp |
| $zip = new ZipArchive; | |
| $return = $zip->open($archive); | |
| if ($return === true) | |
| { | |
| // Make sure the destination folder exists | |
| if (!JFolder::create($destination)) | |
| { | |
| if (class_exists('JError')) | |
| { | |
| return JError::raiseWarning(100, 'Unable to create destination'); |