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
81fc14a0
Commit
81fc14a0
authored
Sep 28, 2021
by
Ash McKenzie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move RateLimiter include into API::API
parent
c4ae00b8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 addition
and
7 deletions
+1
-7
lib/api/api.rb
lib/api/api.rb
+1
-0
lib/api/group_export.rb
lib/api/group_export.rb
+0
-2
lib/api/issues.rb
lib/api/issues.rb
+0
-1
lib/api/notes.rb
lib/api/notes.rb
+0
-1
lib/api/project_export.rb
lib/api/project_export.rb
+0
-2
lib/api/project_import.rb
lib/api/project_import.rb
+0
-1
No files found.
lib/api/api.rb
View file @
81fc14a0
...
...
@@ -132,6 +132,7 @@ module API
helpers
::
API
::
Helpers
helpers
::
API
::
Helpers
::
CommonHelpers
helpers
::
API
::
Helpers
::
PerformanceBarHelpers
helpers
::
API
::
Helpers
::
RateLimiter
namespace
do
after
do
...
...
lib/api/group_export.rb
View file @
81fc14a0
...
...
@@ -2,8 +2,6 @@
module
API
class
GroupExport
<
::
API
::
Base
helpers
Helpers
::
RateLimiter
before
do
not_found!
unless
Feature
.
enabled?
(
:group_import_export
,
user_group
,
default_enabled:
true
)
...
...
lib/api/issues.rb
View file @
81fc14a0
...
...
@@ -4,7 +4,6 @@ module API
class
Issues
<
::
API
::
Base
include
PaginationParams
helpers
Helpers
::
IssuesHelpers
helpers
Helpers
::
RateLimiter
before
{
authenticate_non_get!
}
...
...
lib/api/notes.rb
View file @
81fc14a0
...
...
@@ -4,7 +4,6 @@ module API
class
Notes
<
::
API
::
Base
include
PaginationParams
helpers
::
API
::
Helpers
::
NotesHelpers
helpers
Helpers
::
RateLimiter
before
{
authenticate!
}
...
...
lib/api/project_export.rb
View file @
81fc14a0
...
...
@@ -2,8 +2,6 @@
module
API
class
ProjectExport
<
::
API
::
Base
helpers
Helpers
::
RateLimiter
feature_category
:importers
before
do
...
...
lib/api/project_import.rb
View file @
81fc14a0
...
...
@@ -6,7 +6,6 @@ module API
helpers
Helpers
::
ProjectsHelpers
helpers
Helpers
::
FileUploadHelpers
helpers
Helpers
::
RateLimiter
feature_category
:importers
...
...
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