Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ae45f04e
Commit
ae45f04e
authored
Mar 01, 2021
by
Jason Goodman
Committed by
Dylan Griffith
Mar 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove buy_storage_link feature flag
Permanently enables purchase more storage button in usage quotas page
parent
bf99d5e3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
16 deletions
+9
-16
ee/app/helpers/ee/namespace_storage_limit_alert_helper.rb
ee/app/helpers/ee/namespace_storage_limit_alert_helper.rb
+1
-2
ee/changelogs/unreleased/remove-buy-storage-link-feature-flag.yml
...elogs/unreleased/remove-buy-storage-link-feature-flag.yml
+5
-0
ee/config/feature_flags/development/buy_storage_link.yml
ee/config/feature_flags/development/buy_storage_link.yml
+0
-8
ee/spec/helpers/ee/namespace_storage_limit_alert_helper_spec.rb
...c/helpers/ee/namespace_storage_limit_alert_helper_spec.rb
+3
-6
No files found.
ee/app/helpers/ee/namespace_storage_limit_alert_helper.rb
View file @
ae45f04e
...
...
@@ -47,7 +47,6 @@ module EE
end
def
purchase_storage_link_enabled?
(
namespace
)
::
Feature
.
enabled?
(
:buy_storage_link
)
&&
namespace
.
additional_repo_storage_by_namespace_enabled?
end
...
...
ee/changelogs/unreleased/remove-buy-storage-link-feature-flag.yml
0 → 100644
View file @
ae45f04e
---
title
:
Add purchase more storage button to storage usage quotas page
merge_request
:
55246
author
:
type
:
added
ee/config/feature_flags/development/buy_storage_link.yml
deleted
100644 → 0
View file @
bf99d5e3
---
name
:
buy_storage_link
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/35360
rollout_issue_url
:
milestone
:
'
13.2'
type
:
development
group
:
group::fulfillment
default_enabled
:
false
ee/spec/helpers/ee/namespace_storage_limit_alert_helper_spec.rb
View file @
ae45f04e
...
...
@@ -165,16 +165,13 @@ RSpec.describe EE::NamespaceStorageLimitAlertHelper do
let_it_be
(
:namespace
)
{
build
(
:namespace
)
}
where
(
:buy_storage_link_enabled
,
:additional_repo_storage_by_namespace_enabled
,
:result
)
do
false
|
false
|
false
false
|
true
|
false
true
|
false
|
false
true
|
true
|
true
where
(
:additional_repo_storage_by_namespace_enabled
,
:result
)
do
false
|
false
true
|
true
end
with_them
do
before
do
stub_feature_flags
(
buy_storage_link:
buy_storage_link_enabled
)
allow
(
namespace
).
to
receive
(
:additional_repo_storage_by_namespace_enabled?
)
.
and_return
(
additional_repo_storage_by_namespace_enabled
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment