Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
00e19736
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
00e19736
编写于
7月 19, 2019
作者:
D
Dmitriy Zaporozhets
提交者:
Peter Leitzen
9月 10, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove ignore_column occurence in CE code
Signed-off-by:
N
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
上级
7e8453fe
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
1 addition
and
20 deletion
+1
-20
app/models/application_setting.rb
app/models/application_setting.rb
+0
-9
app/models/note.rb
app/models/note.rb
+0
-2
app/models/notification_setting.rb
app/models/notification_setting.rb
+0
-2
app/models/user.rb
app/models/user.rb
+0
-6
spec/services/ci/retry_build_service_spec.rb
spec/services/ci/retry_build_service_spec.rb
+1
-1
未找到文件。
app/models/application_setting.rb
浏览文件 @
00e19736
...
...
@@ -31,15 +31,6 @@ class ApplicationSetting < ApplicationRecord
serialize
:repository_storages
# rubocop:disable Cop/ActiveRecordSerialize
serialize
:asset_proxy_whitelist
,
Array
# rubocop:disable Cop/ActiveRecordSerialize
self
.
ignored_columns
+=
%i[
clientside_sentry_dsn
clientside_sentry_enabled
koding_enabled
koding_url
sentry_dsn
sentry_enabled
]
cache_markdown_field
:sign_in_text
cache_markdown_field
:help_page_text
cache_markdown_field
:shared_runners_text
,
pipeline: :plain_markdown
...
...
app/models/note.rb
浏览文件 @
00e19736
...
...
@@ -33,8 +33,6 @@ class Note < ApplicationRecord
end
end
self
.
ignored_columns
+=
%i[original_discussion_id]
cache_markdown_field
:note
,
pipeline: :note
,
issuable_state_filter_enabled:
true
redact_field
:note
...
...
app/models/notification_setting.rb
浏览文件 @
00e19736
# frozen_string_literal: true
class
NotificationSetting
<
ApplicationRecord
self
.
ignored_columns
+=
%i[events]
enum
level:
{
global:
3
,
watch:
2
,
participating:
1
,
mention:
4
,
disabled:
0
,
custom:
5
}
default_value_for
:level
,
NotificationSetting
.
levels
[
:global
]
...
...
app/models/user.rb
浏览文件 @
00e19736
...
...
@@ -23,12 +23,6 @@ class User < ApplicationRecord
DEFAULT_NOTIFICATION_LEVEL
=
:participating
self
.
ignored_columns
+=
%i[
authentication_token
email_provider
external_email
]
add_authentication_token_field
:incoming_email_token
,
token_generator:
->
{
SecureRandom
.
hex
.
to_i
(
16
).
to_s
(
36
)
}
add_authentication_token_field
:feed_token
...
...
spec/services/ci/retry_build_service_spec.rb
浏览文件 @
00e19736
...
...
@@ -40,7 +40,7 @@ describe Ci::RetryBuildService do
user_id auto_canceled_by_id retried failure_reason
sourced_pipelines artifacts_file_store artifacts_metadata_store
metadata runner_session trace_chunks upstream_pipeline_id
artifacts_file artifacts_metadata artifacts_size]
.
freeze
artifacts_file artifacts_metadata artifacts_size
commands
]
.
freeze
shared_examples
'build duplication'
do
let
(
:another_pipeline
)
{
create
(
:ci_empty_pipeline
,
project:
project
)
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录