Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
GitLab
管理
动态
成员
标记
计划
议题
议题看板
里程碑
代码
合并请求
仓库
分支
提交
标签
仓库图
比较修订版本
代码片段
构建
流水线
作业
流水线计划
产物
部署
发布
Package registry
Container registry
模型注册表
运维
环境
Terraform 模块
监控
事件
服务台
分析
价值流分析
贡献者分析
CI/CD 分析
仓库分析
模型实验
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
杨林
GitLab
提交
38ac795d
提交
38ac795d
编辑于
1 year ago
作者:
路志远
提交者:
毛超
1 year ago
浏览文件
操作
下载
补丁
差异文件
Fix pipeline 2279435
上级
896dd389
No related branches found
分支 包含提交
No related tags found
加载中
变更
3
隐藏空白变更内容
行内
左右并排
显示
3 个更改的文件
jh/lib/jh/gitlab/omniauth_initializer.rb
+2
-0
2 个添加, 0 个删除
jh/lib/jh/gitlab/omniauth_initializer.rb
jh/spec/config/skip_specs.yml
+6
-0
6 个添加, 0 个删除
jh/spec/config/skip_specs.yml
jh/spec/support/helpers/jh/saas_registration_helpers.rb
+0
-8
0 个添加, 8 个删除
jh/spec/support/helpers/jh/saas_registration_helpers.rb
有
8 个添加
和
8 个删除
jh/lib/jh/gitlab/omniauth_initializer.rb
+
2
−
0
浏览文件 @
38ac795d
...
...
@@ -24,6 +24,8 @@ def default_arguments_for(provider_name)
{
authorize_params:
{
gl_auth_type:
'login'
}
}
when
->
(
provider_name
)
{
::
AuthHelper
.
saml_providers
.
include?
(
provider_name
.
to_sym
)
}
{
attribute_statements:
::
Gitlab
::
Auth
::
Saml
::
Config
.
default_attribute_statements
}
else
{}
end
...
...
此差异已折叠。
点击以展开。
jh/spec/config/skip_specs.yml
+
6
−
0
浏览文件 @
38ac795d
...
...
@@ -494,3 +494,9 @@
description
:
-
'
groups/billings/index
when
the
group
is
the
top
level
with
free
plan
renders
the
billing
page'
skip_reason
:
'
Due
to
marketing
requirement,
we
need
to
replace
some
text
on
the
page,
so
skip
this
for
avoiding
failures.'
-
file_path
:
'
spec/features/invites_spec.rb'
description
:
-
'
Group
or
Project
invitations
when
inviting
a
registered
user
when
signed
out
when
analyzing
the
redirects
and
forms
from
invite
link
click
shows
the
Email
to
be
the
invite_email
from
the
invite'
-
'
Group
or
Project
invitations
when
inviting
an
unregistered
user
when
registering
using
invitation
email
with
email
confirmation
enabled
when
user
is
not
valid
in
sign
up
form
fails
sign
up
and
redirects
back
to
sign
up'
-
'
Group
or
Project
invitations
when
inviting
an
unregistered
user
when
registering
using
invitation
email
when
the
email
is
already
taken
by
a
registered
user
shows
error
state
of
email
already
used'
skip_reason
:
'
Upstream
added
the
data-testid
"invite-email"
field
to
the
registration
page,
but
jihu
did
not.'
\ No newline at end of file
此差异已折叠。
点击以展开。
jh/spec/support/helpers/jh/saas_registration_helpers.rb
+
0
−
8
浏览文件 @
38ac795d
...
...
@@ -14,14 +14,6 @@ def user_signs_up_through_trial_with_sso(params = {}, provider: 'gitlab', name:
super
(
params
,
provider:
provider
,
name:
name
)
end
override
:fills_in_group_and_project_creation_form
def
fills_in_group_and_project_creation_form
allow
(
::
Gitlab
::
QueryLimiting
::
Transaction
).
to
receive
(
:threshold
).
and_return
(
170
)
fill_in
'group_name'
,
with:
'Test Group'
fill_in
'blank_project_name'
,
with:
'Test Project'
end
override
:fill_in_checkout_form
def
fill_in_checkout_form
if
user
.
setup_for_company
...
...
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录