Adds support for github enterprise auth methods in ui_next

This commit is contained in:
mabashian
2021-01-13 13:38:39 -05:00
committed by Egor Margineanu
parent 9ccee200f3
commit d461090415
16 changed files with 1454 additions and 6 deletions

View File

@@ -898,7 +898,7 @@ register(
field_class=fields.CharField,
allow_blank=True,
default='',
label=_('GitHub OAuth2 Secret'),
label=_('GitHub Enterprise OAuth2 Secret'),
help_text=_('The OAuth2 secret (Client Secret) from your GitHub Enterprise developer application.'),
category=_('GitHub OAuth2'),
category_slug='github-enterprise',
@@ -952,7 +952,7 @@ register(
field_class=fields.CharField,
allow_blank=False,
default='',
label=_('GitHub Enterprise URL'),
label=_('GitHub Enterprise Organization URL'),
help_text=_('The URL for your Github Enteprise.'),
category=_('GitHub Enterprise OAuth2'),
category_slug='github-enterprise-org',
@@ -963,7 +963,7 @@ register(
field_class=fields.CharField,
allow_blank=False,
default='',
label=_('GitHub Enterprise API URL'),
label=_('GitHub Enterprise Organization API URL'),
help_text=_('The API URL for your GitHub Enterprise.'),
category=_('GitHub Enterprise OAuth2'),
category_slug='github-enterprise-org',
@@ -1052,8 +1052,8 @@ register(
field_class=fields.CharField,
allow_blank=False,
default='',
label=_('GitHub Enterprise URL'),
help_text=_('The URL for your Github Enteprise.'),
label=_('GitHub Enterprise Team URL'),
help_text=_('The URL for your Github Enterprise.'),
category=_('GitHub Enterprise OAuth2'),
category_slug='github-enterprise-team',
)
@@ -1063,7 +1063,7 @@ register(
field_class=fields.CharField,
allow_blank=False,
default='',
label=_('GitHub Enterprise API URL'),
label=_('GitHub Enterprise Team API URL'),
help_text=_('The API URL for your GitHub Enterprise.'),
category=_('GitHub Enterprise OAuth2'),
category_slug='github-enterprise-team',