Stable release of v4.0.9
Correct the url encoding to json_encode for none Latin languages. Fix type cast validation on search page.
This commit is contained in:
parent
239d3a0040
commit
cf73a3c71c
10
CHANGELOG.md
10
CHANGELOG.md
@ -1,3 +1,8 @@
|
|||||||
|
# v4.0.9
|
||||||
|
|
||||||
|
- Correct the url encoding to json_encode for none Latin languages.
|
||||||
|
- Fix type cast validation on search page.
|
||||||
|
|
||||||
# v4.0.8
|
# v4.0.8
|
||||||
|
|
||||||
- Restore router functions.
|
- Restore router functions.
|
||||||
@ -36,6 +41,7 @@
|
|||||||
|
|
||||||
- Moved to Joomla 4
|
- Moved to Joomla 4
|
||||||
|
|
||||||
# v3.0.5
|
# v3.0.6
|
||||||
|
|
||||||
- Fix missing token variable in ajax call
|
- Correct the url encoding to json_encode for none Latin languages.
|
||||||
|
- Fix type cast validation on search page.
|
@ -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">
|
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"/>
|
<img src="components/com_getbible/assets/images/vdm-component.jpg"/>
|
||||||
</a>
|
</a>
|
||||||
<h3>Upgrade to Version 4.0.8 Was Successful! Let us know if anything is not working as expected.</h3></div>';
|
<h3>Upgrade to Version 4.0.9 Was Successful! Let us know if anything is not working as expected.</h3></div>';
|
||||||
|
|
||||||
// Add/Update component in the action logs extensions table.
|
// Add/Update component in the action logs extensions table.
|
||||||
$this->setActionLogsExtensions();
|
$this->setActionLogsExtensions();
|
||||||
|
10
README.md
10
README.md
@ -1,4 +1,4 @@
|
|||||||
# Get Bible (4.0.8)
|
# Get Bible (4.0.9)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -18,8 +18,8 @@ In essence, The Bible for Joomla is designed to transform how the Word of God is
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [Get Bible](https://getbible.net)
|
+ *Name*: [Get Bible](https://getbible.net)
|
||||||
+ *First Build*: 3rd December, 2015
|
+ *First Build*: 3rd December, 2015
|
||||||
+ *Last Build*: 7th March, 2024
|
+ *Last Build*: 8th March, 2024
|
||||||
+ *Version*: 4.0.8
|
+ *Version*: 4.0.9
|
||||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
+ *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**,
|
> (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.)
|
> never making one mistake or taking any coffee break.)
|
||||||
|
|
||||||
+ *Line count*: **205303**
|
+ *Line count*: **205330**
|
||||||
+ *File count*: **1695**
|
+ *File count*: **1696**
|
||||||
+ *Folder count*: **174**
|
+ *Folder count*: **174**
|
||||||
|
|
||||||
**378 Hours** or **47 Eight Hour Days** (the actual time the author spent)
|
**378 Hours** or **47 Eight Hour Days** (the actual time the author spent)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Get Bible (4.0.8)
|
# Get Bible (4.0.9)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -18,8 +18,8 @@ In essence, The Bible for Joomla is designed to transform how the Word of God is
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [Get Bible](https://getbible.net)
|
+ *Name*: [Get Bible](https://getbible.net)
|
||||||
+ *First Build*: 3rd December, 2015
|
+ *First Build*: 3rd December, 2015
|
||||||
+ *Last Build*: 7th March, 2024
|
+ *Last Build*: 8th March, 2024
|
||||||
+ *Version*: 4.0.8
|
+ *Version*: 4.0.9
|
||||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
+ *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**,
|
> (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.)
|
> never making one mistake or taking any coffee break.)
|
||||||
|
|
||||||
+ *Line count*: **205303**
|
+ *Line count*: **205330**
|
||||||
+ *File count*: **1695**
|
+ *File count*: **1696**
|
||||||
+ *Folder count*: **174**
|
+ *Folder count*: **174**
|
||||||
|
|
||||||
**378 Hours** or **47 Eight Hour Days** (the actual time the author spent)
|
**378 Hours** or **47 Eight Hour Days** (the actual time the author spent)
|
||||||
|
1
admin/sql/updates/mysql/4.0.8.sql
Normal file
1
admin/sql/updates/mysql/4.0.8.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
@ -1,15 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<extension type="component" version="4.0" method="upgrade">
|
<extension type="component" version="4.0" method="upgrade">
|
||||||
<name>COM_GETBIBLE</name>
|
<name>COM_GETBIBLE</name>
|
||||||
<creationDate>7th March, 2024</creationDate>
|
<creationDate>8th March, 2024</creationDate>
|
||||||
<author>Llewellyn van der Merwe</author>
|
<author>Llewellyn van der Merwe</author>
|
||||||
<authorEmail>joomla@vdm.io</authorEmail>
|
<authorEmail>joomla@vdm.io</authorEmail>
|
||||||
<authorUrl>https://getbible.net</authorUrl>
|
<authorUrl>https://getbible.net</authorUrl>
|
||||||
<copyright>Copyright (C) 2015. All Rights Reserved</copyright>
|
<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>
|
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
|
||||||
<version>4.0.8</version>
|
<version>4.0.9</version>
|
||||||
<description><![CDATA[
|
<description><![CDATA[
|
||||||
<h1>Get Bible (v.4.0.8)</h1>
|
<h1>Get Bible (v.4.0.9)</h1>
|
||||||
<div style="clear: both;"></div>
|
<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.
|
<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.
|
||||||
|
|
||||||
|
@ -306,12 +306,13 @@ class HtmlView extends BaseHtmlView
|
|||||||
*/
|
*/
|
||||||
public function getReturnUrlBook(): int
|
public function getReturnUrlBook(): int
|
||||||
{
|
{
|
||||||
if (empty($this->url_return_query))
|
if (empty($this->url_return_query) || !is_array($this->url_return_query))
|
||||||
{
|
{
|
||||||
$this->setReturnUrl();
|
$this->setReturnUrl();
|
||||||
}
|
}
|
||||||
|
|
||||||
return (int) $this->url_return_query['book'] ?? 0;
|
$book = $this->url_return_query['book'] ?? 0;
|
||||||
|
return (int) $book;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -322,12 +323,13 @@ class HtmlView extends BaseHtmlView
|
|||||||
*/
|
*/
|
||||||
public function getReturnUrlChapter(): int
|
public function getReturnUrlChapter(): int
|
||||||
{
|
{
|
||||||
if (empty($this->url_return_query))
|
if (empty($this->url_return_query) || !is_array($this->url_return_query))
|
||||||
{
|
{
|
||||||
$this->setReturnUrl();
|
$this->setReturnUrl();
|
||||||
}
|
}
|
||||||
|
|
||||||
return (int) $this->url_return_query['chapter'] ?? 0;
|
$chapter = $this->url_return_query['chapter'] ?? 0;
|
||||||
|
return (int) $chapter;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -25,11 +25,11 @@ defined('_JEXEC') or die;
|
|||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// set global values
|
// set global values
|
||||||
const getbible_active_translation = '<?php echo $this->chapter->abbreviation; ?>';
|
const getbible_active_translation = <?php echo json_encode($this->chapter->abbreviation); ?>;
|
||||||
const getbible_verses = <?php echo json_encode($this->chapter->verses); ?>;
|
const getbible_verses = <?php echo json_encode($this->chapter->verses); ?>;
|
||||||
const getbible_book_nr = <?php echo $this->chapter->book_nr; ?>;
|
const getbible_book_nr = <?php echo (int) $this->chapter->book_nr; ?>;
|
||||||
const getbible_chapter_nr = <?php echo $this->chapter->chapter; ?>;
|
const getbible_chapter_nr = <?php echo (int) $this->chapter->chapter; ?>;
|
||||||
const getbible_page_url = '<?php echo $this->getBaseUrl(); ?>/';
|
const getbible_page_url = <?php echo json_encode($this->getBaseUrl() . '/'); ?>;
|
||||||
var triggerGetBibleReload = false;
|
var triggerGetBibleReload = false;
|
||||||
</script>
|
</script>
|
||||||
<div class="uk-section-default uk-section">
|
<div class="uk-section-default uk-section">
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
<element>pkg_getbible</element>
|
<element>pkg_getbible</element>
|
||||||
<type>package</type>
|
<type>package</type>
|
||||||
<client>site</client>
|
<client>site</client>
|
||||||
<version>3.0.5</version>
|
<version>3.0.6</version>
|
||||||
<infourl title="Get Bible!">https://getbible.net</infourl>
|
<infourl title="Get Bible!">https://getbible.net</infourl>
|
||||||
<downloads>
|
<downloads>
|
||||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/getBible/joomla-pkg/archive/v3.0.5.zip</downloadurl>
|
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/getBible/joomla-pkg/archive/v3.0.6.zip</downloadurl>
|
||||||
</downloads>
|
</downloads>
|
||||||
<tags>
|
<tags>
|
||||||
<tag>stable</tag>
|
<tag>stable</tag>
|
||||||
@ -179,4 +179,22 @@
|
|||||||
<maintainerurl>https://getbible.net</maintainerurl>
|
<maintainerurl>https://getbible.net</maintainerurl>
|
||||||
<targetplatform name="joomla" version="4\.[01234]"/>
|
<targetplatform name="joomla" version="4\.[01234]"/>
|
||||||
</update>
|
</update>
|
||||||
|
<update>
|
||||||
|
<name>Get Bible</name>
|
||||||
|
<description>The Bible for Joomla</description>
|
||||||
|
<element>pkg_getbible</element>
|
||||||
|
<type>package</type>
|
||||||
|
<client>site</client>
|
||||||
|
<version>4.0.9</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/v4.0.9.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]"/>
|
||||||
|
</update>
|
||||||
</updates>
|
</updates>
|
Loading…
x
Reference in New Issue
Block a user