Release of v4.0.0-beta4

Add fallback option to ensure that all JCB tables and fields exist. Move the powers autoloader to its own file.
This commit is contained in:
2024-04-22 01:07:22 +02:00
parent e146195159
commit 5e52db0d54
95 changed files with 11151 additions and 6749 deletions

View File

@ -889,7 +889,7 @@
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_HINT"
required="true"
showon="add_sql:1"
/>
<!-- Note_category_menu_switch Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_category_menu_switch" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_CATEGORY_MENU_SWITCH_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_CATEGORY_MENU_SWITCH_DESCRIPTION" heading="h4" class="alert alert-info note_category_menu_switch" />

File diff suppressed because it is too large Load Diff

View File

@ -201,7 +201,8 @@
name="addreadme"
label="COM_COMPONENTBUILDER_JOOMLA_MODULE_ADDREADME_LABEL"
class="btn-group btn-group-yesno"
default="0">
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_JOOMLA_MODULE_YES</option>
@ -360,6 +361,7 @@
class="list_class"
multiple="false"
default="0"
showon="add_sales_server:1"
button="true"
/>
<!-- Custom_get Field. Type: Customgets. (custom) -->
@ -386,6 +388,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_preflight_update:1"
/>
<!-- Note_mod_file_options Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_mod_file_options" label="COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_MOD_FILE_OPTIONS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_MOD_FILE_OPTIONS_DESCRIPTION" heading="h4" class="alert alert-info note_mod_file_options" />
@ -404,6 +407,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_preflight_uninstall:1"
/>
<!-- Mod_code Field. Type: Editor. (joomla) -->
<field
@ -437,6 +441,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_postflight_install:1"
/>
<!-- Add_class_helper Field. Type: List. (joomla) -->
<field
@ -471,6 +476,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_postflight_update:1"
/>
<!-- Add_class_helper_header Field. Type: Radio. (joomla) -->
<field
@ -501,6 +507,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_method_uninstall:1"
/>
<!-- Class_helper_header Field. Type: Editor. (joomla) -->
<field
@ -530,7 +537,7 @@
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_JOOMLA_MODULE_SQL_HINT"
required="true"
showon="add_sql:1"
/>
<!-- Class_helper_code Field. Type: Editor. (joomla) -->
<field
@ -559,7 +566,7 @@
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_JOOMLA_MODULE_SQL_UNINSTALL_HINT"
required="true"
showon="add_sql_uninstall:1"
/>
<!-- Fields Field. Type: Subform. (joomla) -->
<field
@ -764,6 +771,7 @@
buttons="false"
editor="none"
filter="raw"
showon="addreadme:1"
/>
<!-- Add_php_script_construct Field. Type: Radio. (joomla) -->
<field
@ -786,13 +794,13 @@
label="COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_URL_LABEL"
size="60"
maxlength="150"
default=""
description="COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_URL_DESCRIPTION"
class="text_area span12"
filter="url"
validated="url"
message="COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_URL_MESSAGE"
hint="COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_URL_HINT"
showon="add_update_server:1"
/>
<!-- Php_script_construct Field. Type: Editor. (joomla) -->
<field
@ -809,6 +817,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_script_construct:1"
/>
<!-- Note_update_server_note_ftp Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_update_server_note_ftp" label="COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_FTP_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_FTP_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_ftp" />
@ -843,6 +852,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_preflight_install:1"
/>
<!-- Add_sales_server Field. Type: Radio. (joomla) -->
<field

View File

@ -198,6 +198,7 @@
class="list_class"
multiple="false"
default="0"
showon="add_sales_server:1"
button="true"
/>
<!-- Note_update_server_note_zip Field. Type: Note. A None Database Field. (joomla) -->
@ -304,7 +305,8 @@
name="addreadme"
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADDREADME_LABEL"
class="btn-group btn-group-yesno"
default="0">
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
@ -407,6 +409,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_postflight_install:1"
/>
<!-- Plugin_version Field. Type: Text. (joomla) -->
<field
@ -438,6 +441,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_postflight_update:1"
/>
<!-- Fields Field. Type: Subform. (joomla) -->
<field
@ -646,6 +650,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_method_uninstall:1"
/>
<!-- Add_php_script_construct Field. Type: Radio. (joomla) -->
<field
@ -672,7 +677,7 @@
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_HINT"
required="true"
showon="add_sql:1"
/>
<!-- Php_script_construct Field. Type: Editor. (joomla) -->
<field
@ -689,6 +694,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_script_construct:1"
/>
<!-- Sql_uninstall Field. Type: Textarea. (joomla) -->
<field
@ -701,7 +707,7 @@
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_UNINSTALL_HINT"
required="true"
showon="add_sql_uninstall:1"
/>
<!-- Add_php_preflight_install Field. Type: Radio. (joomla) -->
<field
@ -728,6 +734,7 @@
buttons="false"
editor="none"
filter="raw"
showon="addreadme:1"
/>
<!-- Php_preflight_install Field. Type: Editor. (joomla) -->
<field
@ -744,6 +751,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_preflight_install:1"
/>
<!-- Update_server_url Field. Type: Url. (joomla) -->
<field
@ -752,13 +760,13 @@
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_LABEL"
size="60"
maxlength="150"
default=""
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_DESCRIPTION"
class="text_area span12"
filter="url"
validated="url"
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_MESSAGE"
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_HINT"
showon="add_update_server:1"
/>
<!-- Add_php_preflight_update Field. Type: Radio. (joomla) -->
<field
@ -791,6 +799,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_preflight_update:1"
/>
<!-- Note_update_server_note_other Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_update_server_note_other" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_OTHER_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_OTHER_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_other" />
@ -837,6 +846,7 @@
editor="codemirror|none"
filter="raw"
validate="code"
showon="add_php_preflight_uninstall:1"
/>
<!-- Guid Field. Type: Text. (joomla) -->
<field