From 907e9b8d8f31bbe2323bb6046e57b3753e787390 Mon Sep 17 00:00:00 2001 From: aB0t Date: Thu, 7 Mar 2024 19:23:52 +0200 Subject: [PATCH] Update on v5.0.0-beta1 (beta for next version) Here's an update on the current version, which includes changes towards the next release still in beta. --- CHANGELOG.md | 2 +- README.md | 2 +- admin/README.txt | 2 +- admin/src/Model/AjaxModel.php | 4 ++-- admin/tmpl/manual_updater/default.php | 2 +- .../VDM.Joomla/src/Utilities/Component/Helper.php | 10 +++++----- sermondistributor.xml | 6 +++--- site/src/Controller/ApiController.php | 2 +- site/tmpl/sermon/default.php | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6258b86b..e5844549 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # v5.0.0-beta1 -- First release of [[[Component]]] towards Joomla 5 +- First release of Sermon Distributor towards Joomla 5 # v3.0.3 diff --git a/README.md b/README.md index 37fc3d72..515982f9 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ The best way to see all your options is to install this component on you Joomla + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Name*: [Sermon Distributor](https://www.vdm.io/) + *First Build*: 22nd October, 2015 -+ *Last Build*: 2nd March, 2024 ++ *Last Build*: 7th March, 2024 + *Version*: 5.0.x + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html diff --git a/admin/README.txt b/admin/README.txt index 37fc3d72..515982f9 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -24,7 +24,7 @@ The best way to see all your options is to install this component on you Joomla + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Name*: [Sermon Distributor](https://www.vdm.io/) + *First Build*: 22nd October, 2015 -+ *Last Build*: 2nd March, 2024 ++ *Last Build*: 7th March, 2024 + *Version*: 5.0.x + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html diff --git a/admin/src/Model/AjaxModel.php b/admin/src/Model/AjaxModel.php index f0a1f37e..c79e34e7 100644 --- a/admin/src/Model/AjaxModel.php +++ b/admin/src/Model/AjaxModel.php @@ -282,11 +282,11 @@ class AjaxModel extends ListModel $result['error'] = '' . Text::sprintf('COM_SERMONDISTRIBUTOR_NO_CRONJOB_PATH_FOUND_FOR_S', $type) . ''; if ($this->hasCurl()) { - $path = '*/15 * * * * curl -s "' .JURI::root() . 'index.php?option=com_sermondistributor&task=api.externalUpdate" >/dev/null 2>&1'; + $path = '*/15 * * * * curl -s "' .\JUri::root() . 'index.php?option=com_sermondistributor&task=api.externalUpdate" >/dev/null 2>&1'; } else { - $path = '*/15 * * * * wget "' .JURI::root() . 'index.php?option=com_sermondistributor&task=api.externalUpdate" >/dev/null 2>&1'; + $path = '*/15 * * * * wget "' .\JUri::root() . 'index.php?option=com_sermondistributor&task=api.externalUpdate" >/dev/null 2>&1'; } $result['path'] = '' . $path . ''; } diff --git a/admin/tmpl/manual_updater/default.php b/admin/tmpl/manual_updater/default.php index 4c6c5bf5..d1a8f3a9 100644 --- a/admin/tmpl/manual_updater/default.php +++ b/admin/tmpl/manual_updater/default.php @@ -130,7 +130,7 @@ jQuery(document).ready(function($) {