• Bob Van Landuyt's avatar
    Hide confidential events in ruby · 28acd2b0
    Bob Van Landuyt authored
    We're filtering the events using `Event#visible_to_user?`.
    
    At most we're loading 100 events at once.
    
    Pagination is also dealt with in the finder, but the resulting array
    is wrapped in a `Kaminari.paginate_array` so the API's pagination
    helpers keep working. We're passing the total count into that
    paginatable array, which would include confidential events. But we're
    not disclosing anything.
    28acd2b0
Name
Last commit
Last update
..
admin Loading commit data...
autocomplete Loading commit data...
concerns Loading commit data...
projects/serverless Loading commit data...
README.md Loading commit data...
access_requests_finder.rb Loading commit data...
applications_finder.rb Loading commit data...
awarded_emoji_finder.rb Loading commit data...
branches_finder.rb Loading commit data...
cluster_ancestors_finder.rb Loading commit data...
clusters_finder.rb Loading commit data...
contributed_projects_finder.rb Loading commit data...
environments_finder.rb Loading commit data...
events_finder.rb Loading commit data...
fork_projects_finder.rb Loading commit data...
group_descendants_finder.rb Loading commit data...
group_finder.rb Loading commit data...
group_labels_finder.rb Loading commit data...
group_members_finder.rb Loading commit data...
group_projects_finder.rb Loading commit data...
groups_finder.rb Loading commit data...
issuable_finder.rb Loading commit data...
issues_finder.rb Loading commit data...
joined_groups_finder.rb Loading commit data...
labels_finder.rb Loading commit data...
license_template_finder.rb Loading commit data...
members_finder.rb Loading commit data...
merge_request_target_project_finder.rb Loading commit data...
merge_requests_finder.rb Loading commit data...
milestones_finder.rb Loading commit data...
notes_finder.rb Loading commit data...
pending_todos_finder.rb Loading commit data...
personal_access_tokens_finder.rb Loading commit data...
personal_projects_finder.rb Loading commit data...
pipeline_schedules_finder.rb Loading commit data...
pipelines_finder.rb Loading commit data...
projects_finder.rb Loading commit data...
remote_mirror_finder.rb Loading commit data...
runner_jobs_finder.rb Loading commit data...
snippets_finder.rb Loading commit data...
tags_finder.rb Loading commit data...
template_finder.rb Loading commit data...
todos_finder.rb Loading commit data...
union_finder.rb Loading commit data...
user_finder.rb Loading commit data...
user_recent_events_finder.rb Loading commit data...
users_finder.rb Loading commit data...
users_with_pending_todos_finder.rb Loading commit data...