Stable release of v2.0.16

Fixed JavaScript Database Manager.
This commit is contained in:
Robot 2023-08-07 10:43:27 +02:00
parent 38c1287100
commit cfd386a9b1
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
8 changed files with 43 additions and 21 deletions

View File

@ -78,6 +78,9 @@
# v2.0.15
- Fixed JavaScript Database Manager
- Adds new session option
- Adds make public switches to back-end
# v2.0.16
- Fixed JavaScript Database Manager

View File

@ -1,4 +1,4 @@
# Get Bible (2.0.15)
# Get Bible (2.0.16)
![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/master/admin/assets/images/vdm-component.jpg "GetBible")
@ -19,27 +19,27 @@ 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*: 7th August, 2023
+ *Version*: 2.0.15
+ *Version*: 2.0.16
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
## Build Time
**549 Hours** or **69 Eight Hour Days** (actual time the author saved -
**550 Hours** or **69 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*: **196866**
+ *File count*: **1710**
+ *Line count*: **196888**
+ *File count*: **1711**
+ *Folder count*: **163**
**363 Hours** or **45 Eight Hour Days** (the actual time the author spent)
**362 Hours** or **45 Eight Hour Days** (the actual time the author spent)
> (with the following break down:
> **debugging @137hours** = codingtime / 4;
> **planning @78hours** = codingtime / 7;
> **planning @79hours** = codingtime / 7;
> **mapping @55hours** = codingtime / 10;
> **office @92hours** = codingtime / 6;)

View File

@ -1,4 +1,4 @@
# Get Bible (2.0.15)
# Get Bible (2.0.16)
![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/master/admin/assets/images/vdm-component.jpg "GetBible")
@ -19,27 +19,27 @@ 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*: 7th August, 2023
+ *Version*: 2.0.15
+ *Version*: 2.0.16
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
## Build Time
**549 Hours** or **69 Eight Hour Days** (actual time the author saved -
**550 Hours** or **69 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*: **196866**
+ *File count*: **1710**
+ *Line count*: **196888**
+ *File count*: **1711**
+ *Folder count*: **163**
**363 Hours** or **45 Eight Hour Days** (the actual time the author spent)
**362 Hours** or **45 Eight Hour Days** (the actual time the author spent)
> (with the following break down:
> **debugging @137hours** = codingtime / 4;
> **planning @78hours** = codingtime / 7;
> **planning @79hours** = codingtime / 7;
> **mapping @55hours** = codingtime / 10;
> **office @92hours** = codingtime / 6;)

View File

@ -0,0 +1 @@

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>2.0.15</version>
<version>2.0.16</version>
<description><![CDATA[
<h1>Get Bible (v.2.0.15)</h1>
<h1>Get Bible (v.2.0.16)</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

@ -1539,7 +1539,7 @@ class com_getbibleInstallerScript
echo '<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 2.0.15 Was Successful! Let us know if anything is not working as expected.</h3>';
<h3>Upgrade to Version 2.0.16 Was Successful! Let us know if anything is not working as expected.</h3>';
// Set db if not set already.
if (!isset($db))

View File

@ -125,13 +125,13 @@ class DatabaseManager {
#uniqueFields;
#isReady = false;
#readyPromise = null;
#data = JSON.parse(localStorage.getItem(this.#storeName)) || [];
#data;
constructor(dbName, storeName, fields) {
this.#dbName = dbName;
this.#storeName = storeName;
this.#fields = fields;
this.#uniqueFields = fields.filter((field) => field[1]).map((field) => field[0]);
this.#data = JSON.parse(localStorage.getItem(this.#storeName)) || [];
if (window.indexedDB) {
this.#readyPromise = this.#openDB().then(() => {
this.#isReady = true;

View File

@ -251,4 +251,22 @@
<maintainerurl>https://getbible.net</maintainerurl>
<targetplatform name="joomla" version="3.*"/>
</update>
<update>
<name>Get Bible</name>
<description>The Bible for Joomla</description>
<element>pkg_getbible</element>
<type>package</type>
<client>site</client>
<version>2.0.16</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/v2.0.16.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Llewellyn van der Merwe</maintainer>
<maintainerurl>https://getbible.net</maintainerurl>
<targetplatform name="joomla" version="3.*"/>
</update>
</updates>