Stable release of v5.0.6

Fix an Ajax input typo.
This commit is contained in:
Robot 2024-02-19 00:26:05 +02:00
parent 01f3548e69
commit 338b14c0bd
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
9 changed files with 43 additions and 20 deletions

View File

@ -1,3 +1,7 @@
# v5.0.6
- Fix an Ajax input typo.
# v5.0.5
- Add option to target MySQL 8+ with the search regex.
@ -24,6 +28,6 @@
- Moved to Joomla 4 and 5
# v3.0.3
# v3.0.4
- Add option to target mysql 8+ with the search regex.
- Fix an Ajax input typo.

View File

@ -755,7 +755,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://getbible.net" title="Get Bible">
<img src="components/com_getbible/assets/images/vdm-component.jpg"/>
</a>
<h3>Upgrade to Version 5.0.5 Was Successful! Let us know if anything is not working as expected.</h3></div>';
<h3>Upgrade to Version 5.0.6 Was Successful! Let us know if anything is not working as expected.</h3></div>';
// Add/Update component in the action logs extensions table.
$this->setActionLogsExtensions();

View File

@ -1,4 +1,4 @@
# Get Bible (5.0.5)
# Get Bible (5.0.6)
![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/5.0/admin/assets/images/vdm-component.jpg "GetBible")
@ -19,7 +19,7 @@ In essence, The Bible for Joomla is designed to transform how the Word of God is
+ *Name*: [Get Bible](https://getbible.net)
+ *First Build*: 3rd December, 2015
+ *Last Build*: 18th February, 2024
+ *Version*: 5.0.5
+ *Version*: 5.0.6
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -31,8 +31,8 @@ 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*: **205513**
+ *File count*: **1723**
+ *Line count*: **205536**
+ *File count*: **1724**
+ *Folder count*: **189**
**378 Hours** or **47 Eight Hour Days** (the actual time the author spent)

View File

@ -1,4 +1,4 @@
# Get Bible (5.0.5)
# Get Bible (5.0.6)
![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/5.0/admin/assets/images/vdm-component.jpg "GetBible")
@ -19,7 +19,7 @@ In essence, The Bible for Joomla is designed to transform how the Word of God is
+ *Name*: [Get Bible](https://getbible.net)
+ *First Build*: 3rd December, 2015
+ *Last Build*: 18th February, 2024
+ *Version*: 5.0.5
+ *Version*: 5.0.6
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
@ -31,8 +31,8 @@ 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*: **205513**
+ *File count*: **1723**
+ *Line count*: **205536**
+ *File count*: **1724**
+ *Folder count*: **189**
**378 Hours** or **47 Eight Hour Days** (the actual time the author spent)

View File

@ -0,0 +1 @@

View File

@ -71,15 +71,15 @@ class AjaxController extends BaseController
// get the user for later use
$user = $this->app->getIdentity();
// get the input values
$input = $this->input ?? $this->app->input;
$jinput = $this->input ?? $this->app->input;
// check if we should return raw (DEFAULT TRUE SINCE J4)
$returnRaw = $input->get('raw', true, 'BOOLEAN');
$returnRaw = $jinput->get('raw', true, 'BOOLEAN');
// return to a callback function
$callback = $input->get('callback', null, 'CMD');
$callback = $jinput->get('callback', null, 'CMD');
// Check Token!
$token = Session::getFormToken();
$call_token = $input->get('token', 0, 'ALNUM');
if($input->get($token, 0, 'ALNUM') || $token === $call_token)
$call_token = $jinput->get('token', 0, 'ALNUM');
if($jinput->get($token, 0, 'ALNUM') || $token === $call_token)
{
// get the task
$task = $this->getTask();

View File

@ -7,9 +7,9 @@
<authorUrl>https://getbible.net</authorUrl>
<copyright>Copyright (C) 2015. All Rights Reserved</copyright>
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
<version>5.0.5</version>
<version>5.0.6</version>
<description><![CDATA[
<h1>Get Bible (v.5.0.5)</h1>
<h1>Get Bible (v.5.0.6)</h1>
<div style="clear: both;"></div>
<p>Welcome to the next level of scripture engagement - The Bible for Joomla! Our purpose is to bring the Word of God to every person, in their native language, entirely free. This isn't just a typical extension; it's a groundbreaking tool developed to span language divides and deliver a rich, customizable Bible study experience to users worldwide.

View File

@ -5,10 +5,10 @@
<element>pkg_getbible</element>
<type>package</type>
<client>site</client>
<version>3.0.3</version>
<version>3.0.4</version>
<infourl title="Get Bible!">https://getbible.net</infourl>
<downloads>
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/getBible/joomla-pkg/archive/v3.0.3.zip</downloadurl>
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/getBible/joomla-pkg/archive/v3.0.4.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
@ -125,4 +125,22 @@
<maintainerurl>https://getbible.net</maintainerurl>
<targetplatform name="joomla" version="4\.[01234]|5\.0"/>
</update>
<update>
<name>Get Bible</name>
<description>The Bible for Joomla</description>
<element>pkg_getbible</element>
<type>package</type>
<client>site</client>
<version>5.0.6</version>
<infourl title="Get Bible!">https://getbible.net</infourl>
<downloads>
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/getBible/joomla-pkg/archive/v5.0.6.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Llewellyn van der Merwe</maintainer>
<maintainerurl>https://getbible.net</maintainerurl>
<targetplatform name="joomla" version="4\.[01234]|5\.0"/>
</update>
</updates>