From 25650efa47837dc1c55738ce8719d96700222d7d Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Fri, 29 Jun 2018 04:19:50 +0200 Subject: [PATCH] Added Joomla volunteers banner. Fixed a syntax error in the custom admin view called get snippets. --- README.md | 8 ++++---- admin/README.txt | 8 ++++---- admin/language/en-GB/en-GB.com_componentbuilder.ini | 1 + admin/models/rules/code.php | 13 +++++++++++-- admin/views/compiler/tmpl/default.php | 11 +++++++---- admin/views/componentbuilder/tmpl/default.php | 7 +++++-- admin/views/get_snippets/tmpl/default.php | 2 +- componentbuilder.xml | 6 +++--- componentbuilder_update_server.xml | 4 ++-- script.php | 2 +- 10 files changed, 39 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 0d2b26532..21591790f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.8.0) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.8.1) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -125,11 +125,11 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 25th June, 2018 -+ *Version*: 2.8.0 ++ *Last Build*: 29th June, 2018 ++ *Version*: 2.8.1 + *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **186015** ++ *Line count*: **186028** + *Field count*: **1054** + *File count*: **1237** + *Folder count*: **197** diff --git a/admin/README.txt b/admin/README.txt index 0d2b26532..21591790f 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.8.0) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.8.1) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -125,11 +125,11 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 25th June, 2018 -+ *Version*: 2.8.0 ++ *Last Build*: 29th June, 2018 ++ *Version*: 2.8.1 + *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **186015** ++ *Line count*: **186028** + *Field count*: **1054** + *File count*: **1237** + *Folder count*: **197** diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini index 921e5fa14..b74544ce0 100644 --- a/admin/language/en-GB/en-GB.com_componentbuilder.ini +++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini @@ -5480,6 +5480,7 @@ COM_COMPONENTBUILDER_NEW_NOTICE="New Notice" COM_COMPONENTBUILDER_NO="No" COM_COMPONENTBUILDER_NONE_DB="None DB" COM_COMPONENTBUILDER_NONE_SELECTED="None selected" +COM_COMPONENTBUILDER_NOTICE_BOARD="Notice Board" COM_COMPONENTBUILDER_NOTRANSLATION="no-translation" COM_COMPONENTBUILDER_NOT_FOUND_OR_ACCESS_DENIED="Not found or access denied!" COM_COMPONENTBUILDER_NOT_SET="not set" diff --git a/admin/models/rules/code.php b/admin/models/rules/code.php index 37e04348c..21eb47dd9 100644 --- a/admin/models/rules/code.php +++ b/admin/models/rules/code.php @@ -33,12 +33,21 @@ class JFormRuleCode extends FormRule * @param Form $form The form object for which the field is being tested. * * @return boolean True if the value is valid, false otherwise. - * - * @since 11.1 */ public function test(\SimpleXMLElement $element, $value, $group = null, Registry $input = null, Form $form = null) { // This removes all validation (is dangerous) but needed to submit code via JCB return true; + + /** + * My idea is to add some kind of validation to improve JCB code (per/language) + * + * So at this time this code validation is used for JavaScript,CSS,HTML and PHP. + * We can see what language is being worked on with the syntax property in the $element. (in JCB) + * What complicates things is the placeholders, of both custom code, component, and view names. + * Ideally we could strip them and then validate the code to being syntactically correct. + * But since some of the placeholders form part of the class/function names and the more, it seems like we are pressed for a much more advance solution. + * If you have any ideas to how we can go about to do this, then please open an issue on github and lets begin. (this is a nice to have, so don't break a leg...) + */ } } diff --git a/admin/views/compiler/tmpl/default.php b/admin/views/compiler/tmpl/default.php index 5df5a87c6..05f9674fa 100644 --- a/admin/views/compiler/tmpl/default.php +++ b/admin/views/compiler/tmpl/default.php @@ -118,10 +118,13 @@ jQuery(document).ready(function($) {
-
- -
.
-
<<ewe>>yn
+
+
+ +
.
+ +
+
Joomla! Volunteers Portal
diff --git a/admin/views/componentbuilder/tmpl/default.php b/admin/views/componentbuilder/tmpl/default.php index d827a1692..a7ed1f119 100644 --- a/admin/views/componentbuilder/tmpl/default.php +++ b/admin/views/componentbuilder/tmpl/default.php @@ -77,15 +77,18 @@ JHtml::_('behavior.tooltip'); - +
-
+
'notice_board_one')); ?> loadTemplate('notice_board_vast_development_method');?>
+
+ Joomla! Volunteers Portal +
diff --git a/admin/views/get_snippets/tmpl/default.php b/admin/views/get_snippets/tmpl/default.php index 6739ecc9e..1e055f1e3 100644 --- a/admin/views/get_snippets/tmpl/default.php +++ b/admin/views/get_snippets/tmpl/default.php @@ -100,7 +100,7 @@ JHtml::_('behavior.keepalive'); - +
diff --git a/componentbuilder.xml b/componentbuilder.xml index c2f2223e3..9b44e58e2 100644 --- a/componentbuilder.xml +++ b/componentbuilder.xml @@ -1,15 +1,15 @@ COM_COMPONENTBUILDER - 25th June, 2018 + 29th June, 2018 Llewellyn van der Merwe llewellyn@joomlacomponentbuilder.com http://www.joomlacomponentbuilder.com Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt - 2.8.0 + 2.8.1 Component Builder (v.2.8.0) +

Component Builder (v.2.8.1)

The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time. diff --git a/componentbuilder_update_server.xml b/componentbuilder_update_server.xml index bd62c6e36..907912beb 100644 --- a/componentbuilder_update_server.xml +++ b/componentbuilder_update_server.xml @@ -395,10 +395,10 @@ Builds Complex Joomla Components com_componentbuilder component - 2.8.0 + 2.8.1 http://www.joomlacomponentbuilder.com - https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.8.0/JCB_v2.8.0.zip + https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.8.1/JCB_v2.8.1.zip stable diff --git a/script.php b/script.php index 971acc038..d45e6b5ee 100644 --- a/script.php +++ b/script.php @@ -4991,7 +4991,7 @@ class com_componentbuilderInstallerScript echo ' -

Upgrade to Version 2.8.0 Was Successful! Let us know if anything is not working as expected.

'; +

Upgrade to Version 2.8.1 Was Successful! Let us know if anything is not working as expected.

'; } }