From 3bca4fe6098e05c04f8289c805518299e79be7e6 Mon Sep 17 00:00:00 2001 From: aB0t Date: Sat, 10 Feb 2024 13:39:52 +0200 Subject: [PATCH] Stable release of v3.0.2 Add the HTML class to the site default layout. --- CHANGELOG.md | 8 ++++++ README.md | 8 +++--- admin/README.txt | 8 +++--- admin/models/fields/localfiles.php | 2 +- admin/sql/updates/mysql/3.0.0.sql | 1 + admin/sql/updates/mysql/3.0.1.sql | 1 + script.php | 2 +- sermondistributor.xml | 4 +-- sermondistributor_update_server.xml | 36 ++++++++++++++++++++++++++ site/views/api/tmpl/default.php | 1 + site/views/categories/tmpl/default.php | 1 + site/views/category/tmpl/default.php | 1 + site/views/preacher/tmpl/default.php | 1 + site/views/preachers/tmpl/default.php | 1 + site/views/series/tmpl/default.php | 1 + site/views/serieslist/tmpl/default.php | 1 + site/views/sermon/tmpl/default.php | 1 + 17 files changed, 66 insertions(+), 12 deletions(-) create mode 100644 admin/sql/updates/mysql/3.0.0.sql create mode 100644 admin/sql/updates/mysql/3.0.1.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index c6894454..3a1941fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# v3.0.2 + +- Add the HTML class to the site default layout. + +# v3.0.1 + +- Fix missing ComponentHelper class in localfiles field type. + # v3.0.0 - Moved all classes to 'use' classes away from JText format. diff --git a/README.md b/README.md index 661980e7..0714487a 100644 --- a/README.md +++ b/README.md @@ -31,14 +31,14 @@ The best way to see all your options is to install this component on you Joomla ## Build Time :hourglass: -**242 Hours** or **30 Eight Hour Days** (actual time the author saved - +**243 Hours** or **30 Eight Hour Days** (actual time the author saved - due to [Automated Component Builder](https://www.joomlacomponentbuilder.com)) > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > never making one mistake or taking any coffee break.) -+ *Line count*: **86920** -+ *File count*: **592** ++ *Line count*: **86974** ++ *File count*: **594** + *Folder count*: **113** **160 Hours** or **20 Eight Hour Days** (the actual time the author spent) @@ -49,7 +49,7 @@ due to [Automated Component Builder](https://www.joomlacomponentbuilder.com)) > **mapping @24hours** = codingtime / 10; > **office @40hours** = codingtime / 6;) -**402 Hours** or **50 Eight Hour Days** +**403 Hours** or **50 Eight Hour Days** (a total of the realistic time frame for this project) > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, diff --git a/admin/README.txt b/admin/README.txt index 661980e7..0714487a 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -31,14 +31,14 @@ The best way to see all your options is to install this component on you Joomla ## Build Time :hourglass: -**242 Hours** or **30 Eight Hour Days** (actual time the author saved - +**243 Hours** or **30 Eight Hour Days** (actual time the author saved - due to [Automated Component Builder](https://www.joomlacomponentbuilder.com)) > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > never making one mistake or taking any coffee break.) -+ *Line count*: **86920** -+ *File count*: **592** ++ *Line count*: **86974** ++ *File count*: **594** + *Folder count*: **113** **160 Hours** or **20 Eight Hour Days** (the actual time the author spent) @@ -49,7 +49,7 @@ due to [Automated Component Builder](https://www.joomlacomponentbuilder.com)) > **mapping @24hours** = codingtime / 10; > **office @40hours** = codingtime / 6;) -**402 Hours** or **50 Eight Hour Days** +**403 Hours** or **50 Eight Hour Days** (a total of the realistic time frame for this project) > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, diff --git a/admin/models/fields/localfiles.php b/admin/models/fields/localfiles.php index ba2f2a1d..21890b5d 100644 --- a/admin/models/fields/localfiles.php +++ b/admin/models/fields/localfiles.php @@ -53,7 +53,7 @@ class JFormFieldLocalfiles extends JFormFieldList protected function getOptions() { // get local folder - $localfolder = ComponentHelper::getParams('com_sermondistributor')->get('localfolder', JPATH_ROOT.'/images'); + $localfolder = \Joomla\CMS\Component\ComponentHelper::getParams('com_sermondistributor')->get('localfolder', JPATH_ROOT.'/images'); // set the default $options[] = Html::_('select.option', '', Text::sprintf('COM_SERMONDISTRIBUTOR_PLEASE_ADD_FILES_TO_S', $localfolder)); // setup the folder if it does not exist diff --git a/admin/sql/updates/mysql/3.0.0.sql b/admin/sql/updates/mysql/3.0.0.sql new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/admin/sql/updates/mysql/3.0.0.sql @@ -0,0 +1 @@ + diff --git a/admin/sql/updates/mysql/3.0.1.sql b/admin/sql/updates/mysql/3.0.1.sql new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/admin/sql/updates/mysql/3.0.1.sql @@ -0,0 +1 @@ + diff --git a/script.php b/script.php index f988c3d0..bcc17568 100644 --- a/script.php +++ b/script.php @@ -1847,7 +1847,7 @@ class Com_SermondistributorInstallerScript echo '
-

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

'; +

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

'; // Set db if not set already. if (!isset($db)) diff --git a/sermondistributor.xml b/sermondistributor.xml index 551ed30d..4000b4d8 100644 --- a/sermondistributor.xml +++ b/sermondistributor.xml @@ -7,9 +7,9 @@ https://www.vdm.io/ Copyright (C) 2015. All Rights Reserved GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - 3.0.0 + 3.0.2 Sermon Distributor (v.3.0.0) +

Sermon Distributor (v.3.0.2)

Distributor is a highly advanced sermon distributor that runs on the [Joomla 3.x](http://www.joomla.org) framework. You can link a shared folder from Dropbox to the component and use Dropbox as your file host, not to mention the advanced auto builder that gives you the ability to simply load sermons to your website by only adding them to Dropbox.

Created by Llewellyn van der Merwe
Development started 22nd October, 2015

diff --git a/sermondistributor_update_server.xml b/sermondistributor_update_server.xml index c88a2512..f8edac84 100644 --- a/sermondistributor_update_server.xml +++ b/sermondistributor_update_server.xml @@ -103,4 +103,40 @@ https://www.vdm.io/ + + Sermon Distributor + A sermon distributor that links to Dropbox. + pkg_sermondistributor + package + site + 3.0.1 + https://www.vdm.io/ + + https://git.vdm.dev/api/v1/repos/christian/pkg-sermondistributor/archive/v3.0.1.zip + + + stable + + Llewellyn van der Merwe + https://www.vdm.io/ + + + + Sermon Distributor + A sermon distributor that links to Dropbox. + pkg_sermondistributor + package + site + 3.0.2 + https://www.vdm.io/ + + https://git.vdm.dev/api/v1/repos/christian/pkg-sermondistributor/archive/v3.0.2.zip + + + stable + + Llewellyn van der Merwe + https://www.vdm.io/ + + \ No newline at end of file diff --git a/site/views/api/tmpl/default.php b/site/views/api/tmpl/default.php index a8c0c4f2..63820192 100644 --- a/site/views/api/tmpl/default.php +++ b/site/views/api/tmpl/default.php @@ -28,6 +28,7 @@ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; +use Joomla\CMS\HTML\HTMLHelper as Html; ?>
diff --git a/site/views/categories/tmpl/default.php b/site/views/categories/tmpl/default.php index 428f2c9b..5d9c8905 100644 --- a/site/views/categories/tmpl/default.php +++ b/site/views/categories/tmpl/default.php @@ -28,6 +28,7 @@ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; +use Joomla\CMS\HTML\HTMLHelper as Html; // Set the heading of the page $heading = ($this->params->get('page_heading')) ? $this->params->get('page_heading') : ((isset($this->menu->title)) ? $this->menu->title : ''); diff --git a/site/views/category/tmpl/default.php b/site/views/category/tmpl/default.php index 819a4a5d..ab73e0b3 100644 --- a/site/views/category/tmpl/default.php +++ b/site/views/category/tmpl/default.php @@ -28,6 +28,7 @@ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; +use Joomla\CMS\HTML\HTMLHelper as Html; ?>
category): ?> diff --git a/site/views/preacher/tmpl/default.php b/site/views/preacher/tmpl/default.php index 3f9c0c4c..54928edb 100644 --- a/site/views/preacher/tmpl/default.php +++ b/site/views/preacher/tmpl/default.php @@ -28,6 +28,7 @@ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; +use Joomla\CMS\HTML\HTMLHelper as Html; ?> preacher): ?> diff --git a/site/views/preachers/tmpl/default.php b/site/views/preachers/tmpl/default.php index dba10043..453ad6c3 100644 --- a/site/views/preachers/tmpl/default.php +++ b/site/views/preachers/tmpl/default.php @@ -28,6 +28,7 @@ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; +use Joomla\CMS\HTML\HTMLHelper as Html; // Set the heading of the page $heading = ($this->params->get('page_heading')) ? $this->params->get('page_heading') : ((isset($this->menu->title)) ? $this->menu->title : ''); diff --git a/site/views/series/tmpl/default.php b/site/views/series/tmpl/default.php index 86eb0993..d39c77b2 100644 --- a/site/views/series/tmpl/default.php +++ b/site/views/series/tmpl/default.php @@ -28,6 +28,7 @@ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; +use Joomla\CMS\HTML\HTMLHelper as Html; ?> series): ?> diff --git a/site/views/serieslist/tmpl/default.php b/site/views/serieslist/tmpl/default.php index 11739747..67b687c8 100644 --- a/site/views/serieslist/tmpl/default.php +++ b/site/views/serieslist/tmpl/default.php @@ -28,6 +28,7 @@ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; +use Joomla\CMS\HTML\HTMLHelper as Html; // Set the heading of the page $heading = ($this->params->get('page_heading')) ? $this->params->get('page_heading') : ((isset($this->menu->title)) ? $this->menu->title : ''); diff --git a/site/views/sermon/tmpl/default.php b/site/views/sermon/tmpl/default.php index 7c4a797c..20607120 100644 --- a/site/views/sermon/tmpl/default.php +++ b/site/views/sermon/tmpl/default.php @@ -28,6 +28,7 @@ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; +use Joomla\CMS\HTML\HTMLHelper as Html; use VDM\Joomla\Utilities\StringHelper; ?>