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
95e14061
Commit
95e14061
authored
Oct 05, 2020
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add feature categories to controllers beginning with G
parent
f9cb0bf9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
app/controllers/google_api/authorizations_controller.rb
app/controllers/google_api/authorizations_controller.rb
+2
-0
app/controllers/graphql_controller.rb
app/controllers/graphql_controller.rb
+2
-0
spec/controllers/every_controller_spec.rb
spec/controllers/every_controller_spec.rb
+1
-1
No files found.
app/controllers/google_api/authorizations_controller.rb
View file @
95e14061
...
...
@@ -6,6 +6,8 @@ module GoogleApi
before_action
:validate_session_key!
feature_category
:kubernetes_management
def
callback
token
,
expires_at
=
GoogleApi
::
CloudPlatform
::
Client
.
new
(
nil
,
callback_google_api_auth_url
)
...
...
app/controllers/graphql_controller.rb
View file @
95e14061
...
...
@@ -26,6 +26,8 @@ class GraphqlController < ApplicationController
# callback execution order here
around_action
:sessionless_bypass_admin_mode!
,
if: :sessionless_user?
feature_category
:not_owned
def
execute
result
=
multiplex?
?
execute_multiplex
:
execute_query
...
...
spec/controllers/every_controller_spec.rb
View file @
95e14061
...
...
@@ -29,7 +29,7 @@ RSpec.describe "Every controller" do
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'U'
,
'V'
,
'W'
,
'X'
,
'Y'
,
'Z'
,
'A'
,
'X'
,
'Y'
,
'Z'
,
'A'
,
'G'
,
'Projects::MergeRequestsController'
)
"
#{
controller
}
#
#{
action
}
"
...
...
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