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
c07f525f
Commit
c07f525f
authored
May 14, 2021
by
Tan Le
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect attributions of audit events
The `#activity` action is fetching Events, not AuditEvents.
parent
09f5face
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
app/controllers/dashboard_controller.rb
app/controllers/dashboard_controller.rb
+1
-1
app/controllers/groups_controller.rb
app/controllers/groups_controller.rb
+1
-2
app/controllers/projects_controller.rb
app/controllers/projects_controller.rb
+1
-2
No files found.
app/controllers/dashboard_controller.rb
View file @
c07f525f
...
...
@@ -14,7 +14,7 @@ class DashboardController < Dashboard::ApplicationController
respond_to
:html
feature_category
:
audit_event
s
,
[
:activity
]
feature_category
:
user
s
,
[
:activity
]
feature_category
:issue_tracking
,
[
:issues
,
:issues_calendar
]
feature_category
:code_review
,
[
:merge_requests
]
...
...
app/controllers/groups_controller.rb
View file @
c07f525f
...
...
@@ -49,10 +49,9 @@ class GroupsController < Groups::ApplicationController
feature_category
:subgroups
,
[
:index
,
:new
,
:create
,
:show
,
:edit
,
:update
,
:destroy
,
:details
,
:transfer
:destroy
,
:details
,
:transfer
,
:activity
]
feature_category
:audit_events
,
[
:activity
]
feature_category
:issue_tracking
,
[
:issues
,
:issues_calendar
,
:preview_markdown
]
feature_category
:code_review
,
[
:merge_requests
,
:unfoldered_environment_names
]
feature_category
:projects
,
[
:projects
]
...
...
app/controllers/projects_controller.rb
View file @
c07f525f
...
...
@@ -43,13 +43,12 @@ class ProjectsController < Projects::ApplicationController
feature_category
:projects
,
[
:index
,
:show
,
:new
,
:create
,
:edit
,
:update
,
:transfer
,
:destroy
,
:resolve
,
:archive
,
:unarchive
,
:toggle_star
:destroy
,
:resolve
,
:archive
,
:unarchive
,
:toggle_star
,
:activity
]
feature_category
:source_code_management
,
[
:remove_fork
,
:housekeeping
,
:refs
]
feature_category
:issue_tracking
,
[
:preview_markdown
,
:new_issuable_address
]
feature_category
:importers
,
[
:export
,
:remove_export
,
:generate_new_export
,
:download_export
]
feature_category
:audit_events
,
[
:activity
]
feature_category
:code_review
,
[
:unfoldered_environment_names
]
def
index
...
...
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