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
015f424c
Commit
015f424c
authored
Oct 02, 2020
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add feature categories to controllers beginning with U
parent
ae916476
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
1 deletion
+14
-1
app/controllers/uploads_controller.rb
app/controllers/uploads_controller.rb
+2
-0
app/controllers/user_callouts_controller.rb
app/controllers/user_callouts_controller.rb
+2
-0
app/controllers/users/terms_controller.rb
app/controllers/users/terms_controller.rb
+2
-0
app/controllers/users_controller.rb
app/controllers/users_controller.rb
+2
-0
ee/app/controllers/unsubscribes_controller.rb
ee/app/controllers/unsubscribes_controller.rb
+2
-0
ee/app/controllers/usernames_controller.rb
ee/app/controllers/usernames_controller.rb
+2
-0
spec/controllers/every_controller_spec.rb
spec/controllers/every_controller_spec.rb
+2
-1
No files found.
app/controllers/uploads_controller.rb
View file @
015f424c
...
...
@@ -25,6 +25,8 @@ class UploadsController < ApplicationController
before_action
:authorize_create_access!
,
only:
[
:create
,
:authorize
]
before_action
:verify_workhorse_api!
,
only:
[
:authorize
]
feature_category
:not_owned
def
uploader_class
PersonalFileUploader
end
...
...
app/controllers/user_callouts_controller.rb
View file @
015f424c
# frozen_string_literal: true
class
UserCalloutsController
<
ApplicationController
feature_category
:navigation
def
create
callout
=
ensure_callout
...
...
app/controllers/users/terms_controller.rb
View file @
015f424c
...
...
@@ -14,6 +14,8 @@ module Users
layout
'terms'
feature_category
:users
def
index
@redirect
=
redirect_path
...
...
app/controllers/users_controller.rb
View file @
015f424c
...
...
@@ -21,6 +21,8 @@ class UsersController < ApplicationController
before_action
:authorize_read_user_profile!
,
only:
[
:calendar
,
:calendar_activities
,
:groups
,
:projects
,
:contributed_projects
,
:starred_projects
,
:snippets
]
feature_category
:users
def
show
respond_to
do
|
format
|
format
.
html
...
...
ee/app/controllers/unsubscribes_controller.rb
View file @
015f424c
...
...
@@ -3,6 +3,8 @@
class
UnsubscribesController
<
ApplicationController
skip_before_action
:authenticate_user!
feature_category
:users
def
show
@user
=
get_user
end
...
...
ee/app/controllers/usernames_controller.rb
View file @
015f424c
...
...
@@ -3,6 +3,8 @@
class
UsernamesController
<
ApplicationController
skip_before_action
:authenticate_user!
,
only:
[
:suggest
]
feature_category
:users
def
suggest
if
validate_params
username
=
::
User
.
username_suggestion
(
params
[
:name
])
...
...
spec/controllers/every_controller_spec.rb
View file @
015f424c
...
...
@@ -28,7 +28,8 @@ RSpec.describe "Every controller" do
next
unless
controller
.
to_s
.
start_with?
(
'B'
,
'C'
,
'D'
,
'E'
,
'F'
,
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'S'
,
'T'
,
'U'
,
'W'
,
'X'
,
'Y'
,
'Z'
,
'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