2011-10-11 13:02:57 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<config>
|
2016-05-31 12:14:54 +00:00
|
|
|
|
|
|
|
<fieldset
|
2019-10-01 12:07:26 +00:00
|
|
|
name="repositories"
|
|
|
|
label="COM_PATCHTESTER_FIELDSET_REPOSITORIES_LABEL"
|
|
|
|
description="COM_PATCHTESTER_FIELDSET_REPOSITORIES_DESC"
|
2019-09-11 12:57:35 +00:00
|
|
|
>
|
2016-05-31 12:14:54 +00:00
|
|
|
|
2016-05-31 14:29:43 +00:00
|
|
|
<field
|
2019-10-01 12:07:26 +00:00
|
|
|
name="repository"
|
|
|
|
type="list"
|
|
|
|
label="COM_PATCHTESTER_FIELD_REPOSITORY_LABEL"
|
|
|
|
description="COM_PATCHTESTER_FIELD_REPOSITORY_DESC"
|
|
|
|
default="joomla:joomla-cms"
|
|
|
|
onchange="if (jQuery(this).val() != 'custom') { var parts = jQuery(this).val().split(':'); } else { var parts = ['', '']; } document.getElementById('jform_org').value = parts[0]; document.getElementById('jform_repo').value = parts[1];"
|
2019-09-11 12:57:35 +00:00
|
|
|
>
|
2016-05-31 14:29:43 +00:00
|
|
|
<option value="joomla:joomla-cms">COM_PATCHTESTER_FIELD_REPOSITORY_OPTION_JOOMLA_CMS</option>
|
|
|
|
<option value="joomla-extensions:patchtester">COM_PATCHTESTER_FIELD_REPOSITORY_OPTION_PATCHTESTER</option>
|
2019-09-30 10:13:48 +00:00
|
|
|
<option value="joomla-extensions:install-from-web-client">COM_PATCHTESTER_FIELD_REPOSITORY_OPTION_INSTALL_FROM_WEB</option>
|
2016-07-30 20:09:04 +00:00
|
|
|
<option value="joomla-extensions:weblinks">COM_PATCHTESTER_FIELD_REPOSITORY_OPTION_WEBLINKS</option>
|
2016-05-31 14:29:43 +00:00
|
|
|
<option value="custom">COM_PATCHTESTER_FIELD_REPOSITORY_CUSTOM</option>
|
|
|
|
</field>
|
|
|
|
|
2016-05-31 12:14:54 +00:00
|
|
|
<field
|
2019-10-01 12:07:26 +00:00
|
|
|
name="org"
|
|
|
|
type="text"
|
|
|
|
label="COM_PATCHTESTER_FIELD_ORG_LABEL"
|
|
|
|
description="COM_PATCHTESTER_FIELD_ORG_DESC"
|
|
|
|
default="joomla"
|
|
|
|
id="org"
|
|
|
|
showon="repository:custom"
|
2013-07-13 01:06:39 +00:00
|
|
|
/>
|
2011-10-11 13:02:57 +00:00
|
|
|
|
2016-05-31 12:14:54 +00:00
|
|
|
<field
|
2019-10-01 12:07:26 +00:00
|
|
|
name="repo"
|
|
|
|
type="text"
|
|
|
|
label="COM_PATCHTESTER_FIELD_REPO_LABEL"
|
|
|
|
description="COM_PATCHTESTER_FIELD_REPO_DESC"
|
|
|
|
default="joomla-cms"
|
|
|
|
id="repo"
|
|
|
|
showon="repository:custom"
|
2013-07-13 01:06:39 +00:00
|
|
|
/>
|
2011-10-11 13:02:57 +00:00
|
|
|
|
2016-05-31 14:29:43 +00:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset
|
2019-10-01 12:07:26 +00:00
|
|
|
name="authentication"
|
|
|
|
label="COM_PATCHTESTER_FIELDSET_AUTHENTICATION_LABEL"
|
|
|
|
description="COM_PATCHTESTER_FIELDSET_AUTHENTICATION_DESC"
|
2019-09-11 12:57:35 +00:00
|
|
|
>
|
2016-05-31 14:29:43 +00:00
|
|
|
|
|
|
|
<field
|
2019-10-01 12:07:26 +00:00
|
|
|
name="gh_auth"
|
|
|
|
type="list"
|
|
|
|
label="COM_PATCHTESTER_FIELD_GH_AUTH_LABEL"
|
|
|
|
description="COM_PATCHTESTER_FIELD_GH_AUTH_DESC"
|
2020-10-10 10:01:39 +00:00
|
|
|
default="token"
|
2019-10-01 12:07:26 +00:00
|
|
|
onchange="jQuery('#jform_gh_user, #jform_gh_password, #jform_gh_token').val('');"
|
2019-09-11 12:57:35 +00:00
|
|
|
>
|
2016-05-31 14:29:43 +00:00
|
|
|
<option value="">JNONE</option>
|
|
|
|
<option value="credentials">COM_PATCHTESTER_FIELD_GH_AUTH_OPTION_CREDENTIALS</option>
|
|
|
|
<option value="token">COM_PATCHTESTER_FIELD_GH_AUTH_OPTION_TOKEN</option>
|
|
|
|
</field>
|
|
|
|
|
2016-05-31 16:06:58 +00:00
|
|
|
<!-- Note: Default username is a space to avoid browser autocomplete. -->
|
2016-05-31 12:14:54 +00:00
|
|
|
<field
|
2019-10-01 12:07:26 +00:00
|
|
|
name="gh_user"
|
|
|
|
type="text"
|
|
|
|
label="COM_PATCHTESTER_FIELD_GH_USER_LABEL"
|
|
|
|
description="COM_PATCHTESTER_FIELD_GH_USER_DESC"
|
|
|
|
autocomplete="off"
|
|
|
|
default=" "
|
|
|
|
showon="gh_auth:credentials"
|
2013-07-13 01:06:39 +00:00
|
|
|
/>
|
2011-10-11 13:02:57 +00:00
|
|
|
|
2016-05-31 12:14:54 +00:00
|
|
|
<field
|
2019-10-01 12:07:26 +00:00
|
|
|
name="gh_password"
|
|
|
|
type="password"
|
|
|
|
label="COM_PATCHTESTER_FIELD_GH_PASSWORD_LABEL"
|
|
|
|
description="COM_PATCHTESTER_FIELD_GH_PASSWORD_DESC"
|
2020-10-25 10:04:16 +00:00
|
|
|
hiddenDescription="true"
|
2019-10-01 12:07:26 +00:00
|
|
|
autocomplete="off"
|
|
|
|
default=""
|
|
|
|
showon="gh_auth:credentials"
|
2013-07-13 01:06:39 +00:00
|
|
|
/>
|
2014-05-02 20:24:33 +00:00
|
|
|
|
2016-05-31 12:14:54 +00:00
|
|
|
<field
|
2019-10-01 12:07:26 +00:00
|
|
|
name="gh_token"
|
|
|
|
type="text"
|
|
|
|
label="COM_PATCHTESTER_FIELD_GH_TOKEN_LABEL"
|
|
|
|
description="COM_PATCHTESTER_FIELD_GH_TOKEN_DESC"
|
|
|
|
showon="gh_auth:token"
|
2014-05-02 20:24:33 +00:00
|
|
|
/>
|
2016-05-31 12:14:54 +00:00
|
|
|
|
2013-07-13 01:06:39 +00:00
|
|
|
</fieldset>
|
2011-10-11 13:02:57 +00:00
|
|
|
|
2016-05-31 12:14:54 +00:00
|
|
|
<fieldset
|
2019-10-01 12:07:26 +00:00
|
|
|
name="ci_settings"
|
|
|
|
label="COM_PATCHTESTER_FIELDSET_CI_SETTINGS"
|
|
|
|
description="COM_PATCHTESTER_FIELDSET_CI_SETTINGS_DESC"
|
2019-09-11 12:57:35 +00:00
|
|
|
>
|
|
|
|
|
|
|
|
<field
|
2019-10-01 12:07:26 +00:00
|
|
|
name="ci_server"
|
|
|
|
type="text"
|
|
|
|
label="COM_PATCHTESTER_FIELD_CI_SERVER_NAME"
|
|
|
|
description="COM_PATCHTESTER_FIELD_CI_SERVER_NAME_DESC"
|
|
|
|
autocomplete="off"
|
2020-04-04 12:04:47 +00:00
|
|
|
default="https://ci.joomla.org"
|
2019-09-11 12:57:35 +00:00
|
|
|
/>
|
2016-05-31 12:14:54 +00:00
|
|
|
|
|
|
|
<field
|
2019-10-01 12:07:26 +00:00
|
|
|
name="ci_switch"
|
|
|
|
type="list"
|
|
|
|
label="COM_PATCHTESTER_FIELD_CI_SERVER_SWITCH"
|
|
|
|
description="COM_PATCHTESTER_FIELD_CI_SERVER_SWITCH_DESC"
|
2020-04-04 12:04:47 +00:00
|
|
|
default="0"
|
2019-09-11 12:57:35 +00:00
|
|
|
>
|
|
|
|
<option value="1">COM_PATCHTESTER_FIELD_CI_SERVER_SWITCH_OPTION_ON</option>
|
|
|
|
<option value="0">COM_PATCHTESTER_FIELD_CI_SERVER_SWITCH_OPTION_OFF</option>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset
|
2019-10-01 12:07:26 +00:00
|
|
|
name="permissions"
|
|
|
|
label="JCONFIG_PERMISSIONS_LABEL"
|
|
|
|
description="JCONFIG_PERMISSIONS_DESC"
|
2019-09-11 12:57:35 +00:00
|
|
|
>
|
|
|
|
|
|
|
|
<field
|
2019-10-01 12:07:26 +00:00
|
|
|
name="rules"
|
|
|
|
type="rules"
|
|
|
|
label="JCONFIG_PERMISSIONS_LABEL"
|
|
|
|
component="com_patchtester"
|
|
|
|
filter="rules"
|
|
|
|
validate="rules"
|
|
|
|
section="component"
|
2013-07-13 01:06:39 +00:00
|
|
|
/>
|
2016-05-31 12:14:54 +00:00
|
|
|
|
2013-07-13 01:06:39 +00:00
|
|
|
</fieldset>
|
2016-05-31 12:14:54 +00:00
|
|
|
|
2011-10-11 13:02:57 +00:00
|
|
|
</config>
|