33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-23 13:17:42 +00:00
Joomla extension to check components, modules or plugins for possible problems for submission to the JED
Go to file
2017-04-04 22:38:07 +01:00
administrator/components/com_jedchecker Removal of build tools 2017-02-14 14:34:35 +00:00
media/com_jedchecker Removal of build tools 2017-02-14 14:34:35 +00:00
.gitignore Add hidden Eclipse files to .gitignore. 2013-01-01 20:36:15 +10:00
access.xml Removal of build tools 2017-02-14 14:34:35 +00:00
CHANGELOG Update CHANGELOG 2017-04-02 23:01:43 +01:00
config.xml Removal of build tools 2017-02-14 14:34:35 +00:00
jedchecker.xml Update version number 2017-04-02 22:59:19 +01:00
README.md typo 2017-04-04 17:16:54 +01:00
script.php Removal of build tools 2017-02-14 14:34:35 +00:00

JED Checker

This extension is able to check your components, modules or plugins for common errors that will prevent you from publishing your extension on the JED (Joomla! Extensions Directory).

If you are a developer and want to contribute to this extension you can fork this repo.

Uploading your package

After installing this extension in your Joomla! backend, you can use it by uploading a Joomla! extension-package using the upload-button. Once uploaded, the contents of the package (your files) will be checked against JED-rules.

Adding rules

If you want to write a rule have a look a the administrator/components/com_jedchecker/library/rules folder.

You just need to add a new file with your rule, for example yourrule.php.

The file yourrule.php needs to have a class jedcheckerRulesYourrule and that class needs to have a function that accepts the basedir as parameter. This is all - the component will automatically call your rule check function.

If you are going to contribute your rule to the project, then make sure that it follows the joomla coding conventions and that it passes the code sniffer: http://docs.joomla.org/Joomla_CodeSniffer

Checking on existing files and folders

The extension also supports a scan of a pre-defined set of existing files and folders. For this to work, add a list of folders to a textfile tmp/jed_checker/local.txt. There should be a folder on each line. Once the file exists, a "Check" button becomes visible in the jedchecker-toolbar. Just hit it.

Example tmp/jed_checker/local.txt file:

    components/com_weblinks
    administrator/components/com_weblinks
    plugins/system

Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

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. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

This extension was previously maintained by Compojoom.