Stable release of v5.0.3

Fix canDelete to correctly use published. Add default 1 to version field to make sure the versioning feature works as expected.
This commit is contained in:
Robot 2024-02-10 10:50:40 +02:00
parent 9cc2d88f9e
commit 6acc130732
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
152 changed files with 1051 additions and 86 deletions

View File

@ -1,3 +1,8 @@
# v5.0.3
- Fix canDelete to correctly use published.
- Add default 1 to version field to make sure the versioning feature works as expected.
# v5.0.2
- Fix Daily Light Deprecated code.

View File

@ -346,7 +346,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/note.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","book_nr","access","verse","chapter"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"}]}'
'{"formFile": "administrator/components/com_getbible/forms/note.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","book_nr","access","verse","chapter"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"}]}'
);
// Install Tagged verse Content Types.
$this->setContentType(
@ -363,7 +363,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/tagged_verse.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","book_nr","access","verse","chapter"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"},{"sourceColumn": "tag","targetTable": "#__getbible_tag","targetColumn": "guid","displayColumn": "name"}]}'
'{"formFile": "administrator/components/com_getbible/forms/tagged_verse.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","book_nr","access","verse","chapter"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"},{"sourceColumn": "tag","targetTable": "#__getbible_tag","targetColumn": "guid","displayColumn": "name"}]}'
);
// Install Prompt Content Types.
$this->setContentType(
@ -380,7 +380,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/prompt.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","integration","cache_behaviour","n_override","cache_capacity","response_retrieval","frequency_penalty_override","n","max_tokens_override","token_override","max_tokens","ai_org_token_override","temperature_override","presence_penalty_override","top_p_override"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"}]}'
'{"formFile": "administrator/components/com_getbible/forms/prompt.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","integration","cache_behaviour","n_override","cache_capacity","response_retrieval","frequency_penalty_override","n","max_tokens_override","token_override","max_tokens","ai_org_token_override","temperature_override","presence_penalty_override","top_p_override"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"}]}'
);
// Install Open ai response Content Types.
$this->setContentType(
@ -397,7 +397,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/open_ai_response.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","total_tokens","n","chapter","completion_tokens","prompt_tokens","max_tokens","book"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "prompt","targetTable": "#__getbible_prompt","targetColumn": "guid","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"}]}'
'{"formFile": "administrator/components/com_getbible/forms/open_ai_response.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","total_tokens","n","chapter","completion_tokens","prompt_tokens","max_tokens","book"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "prompt","targetTable": "#__getbible_prompt","targetColumn": "guid","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"}]}'
);
// Install Open ai message Content Types.
$this->setContentType(
@ -414,7 +414,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/open_ai_message.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","source","index"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "open_ai_response","targetTable": "#__getbible_open_ai_response","targetColumn": "response_id","displayColumn": "response_id"},{"sourceColumn": "prompt","targetTable": "#__getbible_prompt","targetColumn": "guid","displayColumn": "name"}]}'
'{"formFile": "administrator/components/com_getbible/forms/open_ai_message.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","source","index"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "open_ai_response","targetTable": "#__getbible_open_ai_response","targetColumn": "response_id","displayColumn": "response_id"},{"sourceColumn": "prompt","targetTable": "#__getbible_prompt","targetColumn": "guid","displayColumn": "name"}]}'
);
// Install Tag Content Types.
$this->setContentType(
@ -431,7 +431,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/tag.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","access"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"}]}'
'{"formFile": "administrator/components/com_getbible/forms/tag.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","access"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"}]}'
);
@ -662,7 +662,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/note.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","book_nr","access","verse","chapter"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"}]}'
'{"formFile": "administrator/components/com_getbible/forms/note.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","book_nr","access","verse","chapter"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"}]}'
);
// Update Tagged verse Content Types.
$this->setContentType(
@ -679,7 +679,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/tagged_verse.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","book_nr","access","verse","chapter"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"},{"sourceColumn": "tag","targetTable": "#__getbible_tag","targetColumn": "guid","displayColumn": "name"}]}'
'{"formFile": "administrator/components/com_getbible/forms/tagged_verse.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","book_nr","access","verse","chapter"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"},{"sourceColumn": "tag","targetTable": "#__getbible_tag","targetColumn": "guid","displayColumn": "name"}]}'
);
// Update Prompt Content Types.
$this->setContentType(
@ -696,7 +696,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/prompt.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","integration","cache_behaviour","n_override","cache_capacity","response_retrieval","frequency_penalty_override","n","max_tokens_override","token_override","max_tokens","ai_org_token_override","temperature_override","presence_penalty_override","top_p_override"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"}]}'
'{"formFile": "administrator/components/com_getbible/forms/prompt.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","integration","cache_behaviour","n_override","cache_capacity","response_retrieval","frequency_penalty_override","n","max_tokens_override","token_override","max_tokens","ai_org_token_override","temperature_override","presence_penalty_override","top_p_override"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"}]}'
);
// Update Open ai response Content Types.
$this->setContentType(
@ -713,7 +713,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/open_ai_response.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","total_tokens","n","chapter","completion_tokens","prompt_tokens","max_tokens","book"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "prompt","targetTable": "#__getbible_prompt","targetColumn": "guid","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"}]}'
'{"formFile": "administrator/components/com_getbible/forms/open_ai_response.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","total_tokens","n","chapter","completion_tokens","prompt_tokens","max_tokens","book"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "prompt","targetTable": "#__getbible_prompt","targetColumn": "guid","displayColumn": "name"},{"sourceColumn": "abbreviation","targetTable": "#__getbible_translation","targetColumn": "abbreviation","displayColumn": "translation"}]}'
);
// Update Open ai message Content Types.
$this->setContentType(
@ -730,7 +730,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/open_ai_message.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","source","index"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "open_ai_response","targetTable": "#__getbible_open_ai_response","targetColumn": "response_id","displayColumn": "response_id"},{"sourceColumn": "prompt","targetTable": "#__getbible_prompt","targetColumn": "guid","displayColumn": "name"}]}'
'{"formFile": "administrator/components/com_getbible/forms/open_ai_message.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","source","index"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "open_ai_response","targetTable": "#__getbible_open_ai_response","targetColumn": "response_id","displayColumn": "response_id"},{"sourceColumn": "prompt","targetTable": "#__getbible_prompt","targetColumn": "guid","displayColumn": "name"}]}'
);
// Update Tag Content Types.
$this->setContentType(
@ -747,7 +747,7 @@ class Com_GetbibleInstallerScript implements InstallerScriptInterface
// router
'',
// contentHistoryOptions
'{"formFile": "administrator/components/com_getbible/forms/tag.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","access"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"}]}'
'{"formFile": "administrator/components/com_getbible/forms/tag.xml","hideFields": ["asset_id","checked_out","checked_out_time"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","version","hits","access"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "linker","targetTable": "#__getbible_linker","targetColumn": "guid","displayColumn": "name"}]}'
);
@ -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.2 Was Successful! Let us know if anything is not working as expected.</h3></div>';
<h3>Upgrade to Version 5.0.3 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.2)
# Get Bible (5.0.3)
![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/5.0/admin/assets/images/vdm-component.jpg "GetBible")
@ -18,38 +18,38 @@ 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)
+ *Name*: [Get Bible](https://getbible.net)
+ *First Build*: 3rd December, 2015
+ *Last Build*: 29th January, 2024
+ *Version*: 5.0.2
+ *Last Build*: 10th February, 2024
+ *Version*: 5.0.3
+ *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
**566 Hours** or **71 Eight Hour Days** (actual time the author saved -
**574 Hours** or **72 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*: **202824**
+ *File count*: **1715**
+ *Line count*: **205544**
+ *File count*: **1722**
+ *Folder count*: **189**
**373 Hours** or **46 Eight Hour Days** (the actual time the author spent)
**378 Hours** or **47 Eight Hour Days** (the actual time the author spent)
> (with the following break down:
> **debugging @142hours** = codingtime / 4;
> **planning @81hours** = codingtime / 7;
> **debugging @143hours** = codingtime / 4;
> **planning @82hours** = codingtime / 7;
> **mapping @57hours** = codingtime / 10;
> **office @94hours** = codingtime / 6;)
> **office @96hours** = codingtime / 6;)
**939 Hours** or **117 Eight Hour Days**
**952 Hours** or **119 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**,
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
Project duration: **23.4 weeks** or **4.9 months**
Project duration: **23.8 weeks** or **5 months**
> This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)

View File

@ -1,4 +1,4 @@
# Get Bible (5.0.2)
# Get Bible (5.0.3)
![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/5.0/admin/assets/images/vdm-component.jpg "GetBible")
@ -18,38 +18,38 @@ 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)
+ *Name*: [Get Bible](https://getbible.net)
+ *First Build*: 3rd December, 2015
+ *Last Build*: 29th January, 2024
+ *Version*: 5.0.2
+ *Last Build*: 10th February, 2024
+ *Version*: 5.0.3
+ *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
**566 Hours** or **71 Eight Hour Days** (actual time the author saved -
**574 Hours** or **72 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*: **202824**
+ *File count*: **1715**
+ *Line count*: **205544**
+ *File count*: **1722**
+ *Folder count*: **189**
**373 Hours** or **46 Eight Hour Days** (the actual time the author spent)
**378 Hours** or **47 Eight Hour Days** (the actual time the author spent)
> (with the following break down:
> **debugging @142hours** = codingtime / 4;
> **planning @81hours** = codingtime / 7;
> **debugging @143hours** = codingtime / 4;
> **planning @82hours** = codingtime / 7;
> **mapping @57hours** = codingtime / 10;
> **office @94hours** = codingtime / 6;)
> **office @96hours** = codingtime / 6;)
**939 Hours** or **117 Eight Hour Days**
**952 Hours** or **119 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**,
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
Project duration: **23.4 weeks** or **4.9 months**
Project duration: **23.8 weeks** or **5 months**
> This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)

View File

@ -94,6 +94,7 @@
label="COM_GETBIBLE_BOOK_VERSION_LABEL"
description="COM_GETBIBLE_BOOK_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -94,6 +94,7 @@
label="COM_GETBIBLE_CHAPTER_VERSION_LABEL"
description="COM_GETBIBLE_CHAPTER_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -84,6 +84,7 @@
label="COM_GETBIBLE_LINKER_VERSION_LABEL"
description="COM_GETBIBLE_LINKER_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -76,6 +76,7 @@
label="COM_GETBIBLE_NOTE_VERSION_LABEL"
description="COM_GETBIBLE_NOTE_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -84,6 +84,7 @@
label="COM_GETBIBLE_OPEN_AI_MESSAGE_VERSION_LABEL"
description="COM_GETBIBLE_OPEN_AI_MESSAGE_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -84,6 +84,7 @@
label="COM_GETBIBLE_OPEN_AI_RESPONSE_VERSION_LABEL"
description="COM_GETBIBLE_OPEN_AI_RESPONSE_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -84,6 +84,7 @@
label="COM_GETBIBLE_PASSWORD_VERSION_LABEL"
description="COM_GETBIBLE_PASSWORD_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -84,6 +84,7 @@
label="COM_GETBIBLE_PROMPT_VERSION_LABEL"
description="COM_GETBIBLE_PROMPT_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -76,6 +76,7 @@
label="COM_GETBIBLE_TAG_VERSION_LABEL"
description="COM_GETBIBLE_TAG_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -76,6 +76,7 @@
label="COM_GETBIBLE_TAGGED_VERSE_VERSION_LABEL"
description="COM_GETBIBLE_TAGGED_VERSE_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -94,6 +94,7 @@
label="COM_GETBIBLE_TRANSLATION_VERSION_LABEL"
description="COM_GETBIBLE_TRANSLATION_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -94,6 +94,7 @@
label="COM_GETBIBLE_VERSE_VERSION_LABEL"
description="COM_GETBIBLE_VERSE_VERSION_DESC"
size="6"
default="1"
readonly="true"
filter="unset"
/>

View File

@ -21,9 +21,6 @@
\spl_autoload_register(function ($class) {
// project-specific base directories and namespace prefix
$search = [
'libraries/jcb_powers/VDM.Joomla.GetBible' => 'VDM\\Joomla\\GetBible',
'libraries/jcb_powers/VDM.Joomla.Openai' => 'VDM\\Joomla\\Openai',
'libraries/jcb_powers/VDM.Joomla.Gitea' => 'VDM\\Joomla\\Gitea',
'libraries/jcb_powers/VDM.Joomla' => 'VDM\\Joomla'
];
// Start the search and load if found

View File

@ -0,0 +1 @@

View File

@ -29,6 +29,8 @@ use Joomla\Utilities\ArrayHelper;
/**
* Getbible Ajax Base Controller
*
* @since 1.6
*/
class AjaxController extends BaseController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Book Form Controller
*
* @since 1.6
*/
class BookController extends FormController
{

View File

@ -31,6 +31,8 @@ use VDM\Joomla\GetBible\Factory as GetBibleFactory;
/**
* Books Admin Controller
*
* @since 1.6
*/
class BooksController extends AdminController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Chapter Form Controller
*
* @since 1.6
*/
class ChapterController extends FormController
{

View File

@ -29,6 +29,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Chapters Admin Controller
*
* @since 1.6
*/
class ChaptersController extends AdminController
{

View File

@ -27,7 +27,7 @@ use Joomla\CMS\Router\Route;
/**
* Getbible master admin display controller.
*
* @since 4.0
* @since 4.0
*/
class DisplayController extends BaseController
{

View File

@ -29,6 +29,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Getbible Admin Controller
*
* @since 1.6
*/
class GetbibleController extends AdminController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Linker Form Controller
*
* @since 1.6
*/
class LinkerController extends FormController
{

View File

@ -29,6 +29,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Linkers Admin Controller
*
* @since 1.6
*/
class LinkersController extends AdminController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Note Form Controller
*
* @since 1.6
*/
class NoteController extends FormController
{

View File

@ -29,6 +29,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Notes Admin Controller
*
* @since 1.6
*/
class NotesController extends AdminController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Open_ai_message Form Controller
*
* @since 1.6
*/
class Open_ai_messageController extends FormController
{

View File

@ -29,6 +29,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Open_ai_messages Admin Controller
*
* @since 1.6
*/
class Open_ai_messagesController extends AdminController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Open_ai_response Form Controller
*
* @since 1.6
*/
class Open_ai_responseController extends FormController
{

View File

@ -29,6 +29,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Open_ai_responses Admin Controller
*
* @since 1.6
*/
class Open_ai_responsesController extends AdminController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Password Form Controller
*
* @since 1.6
*/
class PasswordController extends FormController
{

View File

@ -29,6 +29,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Passwords Admin Controller
*
* @since 1.6
*/
class PasswordsController extends AdminController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Prompt Form Controller
*
* @since 1.6
*/
class PromptController extends FormController
{

View File

@ -29,6 +29,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Prompts Admin Controller
*
* @since 1.6
*/
class PromptsController extends AdminController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Tag Form Controller
*
* @since 1.6
*/
class TagController extends FormController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Tagged_verse Form Controller
*
* @since 1.6
*/
class Tagged_verseController extends FormController
{

View File

@ -29,6 +29,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Tagged_verses Admin Controller
*
* @since 1.6
*/
class Tagged_versesController extends AdminController
{

View File

@ -29,6 +29,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Tags Admin Controller
*
* @since 1.6
*/
class TagsController extends AdminController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Translation Form Controller
*
* @since 1.6
*/
class TranslationController extends FormController
{

View File

@ -31,6 +31,8 @@ use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
/**
* Translations Admin Controller
*
* @since 1.6
*/
class TranslationsController extends AdminController
{

View File

@ -36,6 +36,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Verse Form Controller
*
* @since 1.6
*/
class VerseController extends FormController
{

View File

@ -29,6 +29,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Verses Admin Controller
*
* @since 1.6
*/
class VersesController extends AdminController
{

View File

@ -41,7 +41,7 @@ use Psr\Container\ContainerInterface;
/**
* Component class for com_getbible
*
* @since 4.0.0
* @since 4.0
*/
class GetbibleComponent extends MVCComponent implements
BootableExtensionInterface,

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Booksfiltername Form Field class for the Getbible component
*
* @since 1.6
*/
class BooksfilternameField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Booksfilternr Form Field class for the Getbible component
*
* @since 1.6
*/
class BooksfilternrField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Chaptersfilterbooknr Form Field class for the Getbible component
*
* @since 1.6
*/
class ChaptersfilterbooknrField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Chaptersfilterchapter Form Field class for the Getbible component
*
* @since 1.6
*/
class ChaptersfilterchapterField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Linkers Form Field class for the Getbible component
*
* @since 1.6
*/
class LinkersField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Linkersfiltername Form Field class for the Getbible component
*
* @since 1.6
*/
class LinkersfilternameField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Linkersfilterpublicnotes Form Field class for the Getbible component
*
* @since 1.6
*/
class LinkersfilterpublicnotesField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Linkersfilterpublictaggedverses Form Field class for the Getbible component
*
* @since 1.6
*/
class LinkersfilterpublictaggedversesField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Notesfilteraccess Form Field class for the Getbible component
*
* @since 1.6
*/
class NotesfilteraccessField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Notesfilterbooknr Form Field class for the Getbible component
*
* @since 1.6
*/
class NotesfilterbooknrField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Notesfilterchapter Form Field class for the Getbible component
*
* @since 1.6
*/
class NotesfilterchapterField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Notesfilterverse Form Field class for the Getbible component
*
* @since 1.6
*/
class NotesfilterverseField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Openaimessagesfilterrole Form Field class for the Getbible component
*
* @since 1.6
*/
class OpenaimessagesfilterroleField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Openaimessagesfiltersource Form Field class for the Getbible component
*
* @since 1.6
*/
class OpenaimessagesfiltersourceField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Openairesponses Form Field class for the Getbible component
*
* @since 1.6
*/
class OpenairesponsesField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Openairesponsesfilterresponseid Form Field class for the Getbible component
*
* @since 1.6
*/
class OpenairesponsesfilterresponseidField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Openairesponsesfilterresponsemodel Form Field class for the Getbible component
*
* @since 1.6
*/
class OpenairesponsesfilterresponsemodelField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Passwordsfiltername Form Field class for the Getbible component
*
* @since 1.6
*/
class PasswordsfilternameField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Prompts Form Field class for the Getbible component
*
* @since 1.6
*/
class PromptsField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Promptsfiltercachebehaviour Form Field class for the Getbible component
*
* @since 1.6
*/
class PromptsfiltercachebehaviourField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Promptsfiltermodel Form Field class for the Getbible component
*
* @since 1.6
*/
class PromptsfiltermodelField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Promptsfiltername Form Field class for the Getbible component
*
* @since 1.6
*/
class PromptsfilternameField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Tagers Form Field class for the Getbible component
*
* @since 1.6
*/
class TagersField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Taggedversesfilteraccess Form Field class for the Getbible component
*
* @since 1.6
*/
class TaggedversesfilteraccessField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Taggedversesfilterbooknr Form Field class for the Getbible component
*
* @since 1.6
*/
class TaggedversesfilterbooknrField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Taggedversesfilterchapter Form Field class for the Getbible component
*
* @since 1.6
*/
class TaggedversesfilterchapterField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Taggedversesfilterverse Form Field class for the Getbible component
*
* @since 1.6
*/
class TaggedversesfilterverseField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Tagsfilteraccess Form Field class for the Getbible component
*
* @since 1.6
*/
class TagsfilteraccessField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Targettranslations Form Field class for the Getbible component
*
* @since 1.6
*/
class TargettranslationsField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Translations Form Field class for the Getbible component
*
* @since 1.6
*/
class TranslationsField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Translationsfilterdirection Form Field class for the Getbible component
*
* @since 1.6
*/
class TranslationsfilterdirectionField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Versesfilterbooknr Form Field class for the Getbible component
*
* @since 1.6
*/
class VersesfilterbooknrField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Versesfilterchapter Form Field class for the Getbible component
*
* @since 1.6
*/
class VersesfilterchapterField extends ListField
{

View File

@ -28,6 +28,8 @@ use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
/**
* Versesfilterverse Form Field class for the Getbible component
*
* @since 1.6
*/
class VersesfilterverseField extends ListField
{

View File

@ -22,9 +22,6 @@ namespace TrueChristianChurch\Component\Getbible\Administrator\Helper;
\spl_autoload_register(function ($class) {
// project-specific base directories and namespace prefix
$search = [
'libraries/jcb_powers/VDM.Joomla.GetBible' => 'VDM\\Joomla\\GetBible',
'libraries/jcb_powers/VDM.Joomla.Openai' => 'VDM\\Joomla\\Openai',
'libraries/jcb_powers/VDM.Joomla.Gitea' => 'VDM\\Joomla\\Gitea',
'libraries/jcb_powers/VDM.Joomla' => 'VDM\\Joomla'
];
// Start the search and load if found
@ -94,6 +91,8 @@ use VDM\Joomla\Utilities\FormHelper;
/**
* Getbible component helper.
*
* @since 3.0
*/
abstract class GetbibleHelper
{

View File

@ -41,6 +41,8 @@ use VDM\Joomla\Gitea\Factory as GiteaFactory;
/**
* Getbible Ajax List Model
*
* @since 1.6
*/
class AjaxModel extends ListModel
{

View File

@ -43,6 +43,8 @@ use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
/**
* Getbible Book Admin Model
*
* @since 1.6
*/
class BookModel extends AdminModel
{
@ -331,7 +333,7 @@ class BookModel extends AdminModel
*/
protected function canDelete($record)
{
if (empty($record->id) || ($record->state != -2))
if (empty($record->id) || ($record->published != -2))
{
return false;
}

View File

@ -37,6 +37,8 @@ use VDM\Joomla\Utilities\StringHelper;
/**
* Books List Model
*
* @since 1.6
*/
class BooksModel extends ListModel
{

View File

@ -43,6 +43,8 @@ use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
/**
* Getbible Chapter Admin Model
*
* @since 1.6
*/
class ChapterModel extends AdminModel
{
@ -349,7 +351,7 @@ class ChapterModel extends AdminModel
*/
protected function canDelete($record)
{
if (empty($record->id) || ($record->state != -2))
if (empty($record->id) || ($record->published != -2))
{
return false;
}

View File

@ -37,6 +37,8 @@ use VDM\Joomla\Utilities\StringHelper;
/**
* Chapters List Model
*
* @since 1.6
*/
class ChaptersModel extends ListModel
{

View File

@ -39,6 +39,8 @@ use VDM\Joomla\Utilities\StringHelper;
/**
* Getbible List Model
*
* @since 1.6
*/
class GetbibleModel extends ListModel
{

View File

@ -46,6 +46,8 @@ use VDM\Joomla\Utilities\GetHelper;
/**
* Getbible Linker Admin Model
*
* @since 1.6
*/
class LinkerModel extends AdminModel
{
@ -692,7 +694,7 @@ class LinkerModel extends AdminModel
*/
protected function canDelete($record)
{
if (empty($record->id) || ($record->state != -2))
if (empty($record->id) || ($record->published != -2))
{
return false;
}

View File

@ -37,6 +37,8 @@ use VDM\Joomla\Utilities\StringHelper;
/**
* Linkers List Model
*
* @since 1.6
*/
class LinkersModel extends ListModel
{

View File

@ -44,6 +44,8 @@ use VDM\Joomla\Utilities\GetHelper;
/**
* Getbible Note Admin Model
*
* @since 1.6
*/
class NoteModel extends AdminModel
{
@ -384,7 +386,7 @@ class NoteModel extends AdminModel
*/
protected function canDelete($record)
{
if (empty($record->id) || ($record->state != -2))
if (empty($record->id) || ($record->published != -2))
{
return false;
}

View File

@ -37,6 +37,8 @@ use VDM\Joomla\Utilities\StringHelper;
/**
* Notes List Model
*
* @since 1.6
*/
class NotesModel extends ListModel
{

View File

@ -43,6 +43,8 @@ use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
/**
* Getbible Open_ai_message Admin Model
*
* @since 1.6
*/
class Open_ai_messageModel extends AdminModel
{
@ -390,7 +392,7 @@ class Open_ai_messageModel extends AdminModel
*/
protected function canDelete($record)
{
if (empty($record->id) || ($record->state != -2))
if (empty($record->id) || ($record->published != -2))
{
return false;
}

View File

@ -37,6 +37,8 @@ use VDM\Joomla\Utilities\StringHelper;
/**
* Open_ai_messages List Model
*
* @since 1.6
*/
class Open_ai_messagesModel extends ListModel
{

View File

@ -44,6 +44,8 @@ use VDM\Joomla\Utilities\StringHelper as UtilitiesStringHelper;
/**
* Getbible Open_ai_response Admin Model
*
* @since 1.6
*/
class Open_ai_responseModel extends AdminModel
{
@ -839,7 +841,7 @@ class Open_ai_responseModel extends AdminModel
*/
protected function canDelete($record)
{
if (empty($record->id) || ($record->state != -2))
if (empty($record->id) || ($record->published != -2))
{
return false;
}

View File

@ -37,6 +37,8 @@ use VDM\Joomla\Utilities\StringHelper;
/**
* Open_ai_responses List Model
*
* @since 1.6
*/
class Open_ai_responsesModel extends ListModel
{

View File

@ -45,6 +45,8 @@ use VDM\Joomla\Utilities\GetHelper;
/**
* Getbible Password Admin Model
*
* @since 1.6
*/
class PasswordModel extends AdminModel
{
@ -370,7 +372,7 @@ class PasswordModel extends AdminModel
*/
protected function canDelete($record)
{
if (empty($record->id) || ($record->state != -2))
if (empty($record->id) || ($record->published != -2))
{
return false;
}

View File

@ -37,6 +37,8 @@ use VDM\Joomla\Utilities\StringHelper;
/**
* Passwords List Model
*
* @since 1.6
*/
class PasswordsModel extends ListModel
{

View File

@ -45,6 +45,8 @@ use VDM\Joomla\Utilities\GetHelper;
/**
* Getbible Prompt Admin Model
*
* @since 1.6
*/
class PromptModel extends AdminModel
{
@ -746,7 +748,7 @@ class PromptModel extends AdminModel
*/
protected function canDelete($record)
{
if (empty($record->id) || ($record->state != -2))
if (empty($record->id) || ($record->published != -2))
{
return false;
}

View File

@ -37,6 +37,8 @@ use VDM\Joomla\Utilities\StringHelper;
/**
* Prompts List Model
*
* @since 1.6
*/
class PromptsModel extends ListModel
{

View File

@ -45,6 +45,8 @@ use VDM\Joomla\Utilities\GetHelper;
/**
* Getbible Tag Admin Model
*
* @since 1.6
*/
class TagModel extends AdminModel
{
@ -349,7 +351,7 @@ class TagModel extends AdminModel
*/
protected function canDelete($record)
{
if (empty($record->id) || ($record->state != -2))
if (empty($record->id) || ($record->published != -2))
{
return false;
}

Some files were not shown because too many files have changed in this diff Show More