-
- Downloads
Update last_activity_on for Users on some main GET endpoints
In order to have an accurate date about the last activity of a User we need to update the last_activity_on field when the User is visiting some basic pages of GitLab like pages related to Dashboards, Projects, Issues and Merge Requests
Showing
- app/controllers/concerns/record_user_last_activity.rb 28 additions, 0 deletionsapp/controllers/concerns/record_user_last_activity.rb
- app/controllers/dashboard/application_controller.rb 1 addition, 0 deletionsapp/controllers/dashboard/application_controller.rb
- app/controllers/groups/boards_controller.rb 1 addition, 0 deletionsapp/controllers/groups/boards_controller.rb
- app/controllers/groups_controller.rb 1 addition, 0 deletionsapp/controllers/groups_controller.rb
- app/controllers/projects/issues_controller.rb 1 addition, 0 deletionsapp/controllers/projects/issues_controller.rb
- app/controllers/projects/merge_requests_controller.rb 1 addition, 0 deletionsapp/controllers/projects/merge_requests_controller.rb
- app/controllers/projects_controller.rb 1 addition, 0 deletionsapp/controllers/projects_controller.rb
- changelogs/unreleased/rd-update-last_activity_on-on-logins-and-browsing-activity-54947.yml 5 additions, 0 deletions...ast_activity_on-on-logins-and-browsing-activity-54947.yml
- doc/api/users.md 1 addition, 0 deletionsdoc/api/users.md
- doc/user/instance_statistics/user_cohorts.md 1 addition, 0 deletionsdoc/user/instance_statistics/user_cohorts.md
- spec/requests/user_activity_spec.rb 114 additions, 0 deletionsspec/requests/user_activity_spec.rb
spec/requests/user_activity_spec.rb
0 → 100644
Please register or sign in to comment