Rename `audit_logs_params` -> `audit_events_params`
This is another commit related to [issue 292667][0] In this commit, I renaming some controller concerns and their usages This should be a fairly low-risk change Background on the Change ----------------------------- We are deprecating "Audit Log" terminology in favor of "Audit Event" terminology as described in the linked issue I have used the following regex to identify places in the code where the "Audit Log" terminology is used as opposed to "Audit Event" terminology: ```sh ag --color --hidden \ --ignore .git \ --ignore doc \ --ignore changelogs \ --ignore data \ --ignore locale \ --ignore "CHANGELOG*" \ '^.*(?<!features\(admin_|features\(|flags\(|features\()[aA]udit[_-]?\s?[Ll]ogs?' ``` The first half of the regex (`(?<!features\(admin_|features\(|flags\(|features\()`) is meant to exclude feature flag names as I will be ignoring those for the overall re-naming effort [0]:https://gitlab.com/gitlab-org/gitlab/-/issues/292667
Showing
- .rubocop_todo/layout/line_length.yml 1 addition, 1 deletion.rubocop_todo/layout/line_length.yml
- ee/app/controllers/admin/audit_logs_controller.rb 8 additions, 8 deletionsee/app/controllers/admin/audit_logs_controller.rb
- ee/app/controllers/concerns/audit_events/audit_events_params.rb 3 additions, 3 deletions.../controllers/concerns/audit_events/audit_events_params.rb
- ee/app/controllers/groups/audit_events_controller.rb 1 addition, 1 deletionee/app/controllers/groups/audit_events_controller.rb
- ee/app/controllers/projects/audit_events_controller.rb 1 addition, 1 deletionee/app/controllers/projects/audit_events_controller.rb
Please register or sign in to comment