Your self-hosted, globally interconnected microblogging community
497 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | app/mailers/user_mailer.rb | 21 | def confirmation_instructions(user, token, *, **) |
| LOW | app/mailers/user_mailer.rb | 34 | def reset_password_instructions(user, token, *, **) |
| LOW | app/mailers/user_mailer.rb | 85 | def two_factor_recovery_codes_changed(user, *, **) |
| LOW | app/mailers/user_mailer.rb | 115 | def webauthn_credential_added(user, webauthn_credential) |
| LOW | app/mailers/user_mailer.rb | 126 | def webauthn_credential_deleted(user, webauthn_credential) |
| LOW | app/models/announcement.rb | 108 | def value_for_reaction_me_column(account) |
| LOW | app/models/account_statuses_cleanup_policy.rb | 101 | def invalidate_last_inspected(status, action) |
| LOW | app/models/account_statuses_cleanup_policy.rb | 186 | def self_status_reference_exists(model) |
| LOW | app/models/notification.rb | 193 | def preload_cache_collection_target_statuses(notifications, &_block) |
| LOW | app/models/user.rb | 418 | def render_and_send_devise_message(notification, *, **) |
| LOW | app/models/admin/account_action.rb | 30 | def disabled_types_for_account(account) |
| LOW | app/models/account_suggestions/fasp_source.rb | 14 | def fasp_follow_recommendations_for(account) |
| LOW | app/models/concerns/cacheable.rb | 17 | def preload_cacheable_associations(records) |
| LOW | app/models/concerns/notification/groups.rb | 102 | def paginate_groups_by_max_id(limit, max_id: nil, since_id: nil, grouped_types: nil) |
| LOW | app/models/concerns/notification/groups.rb | 112 | def paginate_groups_by_min_id(limit, max_id: nil, min_id: nil, grouped_types: nil) |
| LOW | app/models/concerns/notification/groups.rb | 119 | def to_a_grouped_paginated_by_id(limit, options = {}) |
| LOW | app/models/concerns/status/threading_concern.rb | 7 | def permitted_statuses_from_ids(ids, account, stable: false) |
| LOW | app/models/concerns/status/threading_concern.rb | 96 | def find_statuses_from_tree_path(ids, account, promote: false) |
| LOW | app/models/concerns/account/mappings.rb | 79 | def domain_blocking_map_by_domain(target_domains, account_id) |
| LOW | app/models/concerns/account/search.rb | 143 | def generate_query_for_search(unsanitized_terms) |
| LOW | …/models/concerns/account/interaction_policy_concern.rb | 19 | def feature_policy_for_account(other_account) |
| LOW | app/lib/delivery_failure_tracker.rb | 91 | def exhausted_deliveries_key_by(host) |
| LOW | app/lib/hashtag_normalizer.rb | 10 | def remove_invalid_characters(str) |
| LOW | app/lib/request.rb | 154 | def normalize_preserving_url_encodings(url, preserved_chars = SAFE_PRESERVED_CHARS, *flags) |
| LOW | app/lib/status_reach_finder.rb | 114 | def inboxes_without_suspended_for(scope) |
| LOW | app/lib/content_security_policy.rb | 87 | def uri_from_configuration_and_string(host_string) |
| LOW | app/lib/extractor.rb | 10 | def extract_entities_with_indices(text, options = {}, &block) |
| LOW | app/lib/extractor.rb | 23 | def extract_mentions_or_lists_with_indices(text) |
| LOW | app/lib/extractor.rb | 56 | def extract_hashtags_with_indices(text, _options = {}) |
| LOW | app/lib/extractor.rb | 89 | def extract_extra_uris_with_indices(text) |
| LOW | app/lib/feed_manager.rb | 654 | def crutches_exclusive_list_users(recipient_id, statuses) |
| LOW | app/lib/status_cache_hydrator.rb | 29 | def hydrate_non_reblog_payload(empty_payload, account, nested: false) |
| LOW | app/lib/status_cache_hydrator.rb | 132 | def mapped_applied_custom_filter(account, status) |
| LOW | app/lib/connection_pool/shared_timed_stack.rb | 82 | def fetch_preferred_connection(preferred_tag) |
| LOW | app/lib/admin/metrics/measure/base_measure.rb | 53 | def read_attribute_for_serialization(key) |
| LOW | app/lib/admin/metrics/dimension/base_dimension.rb | 38 | def read_attribute_for_serialization(key) |
| LOW | app/lib/activitypub/tag_manager.rb | 275 | def uri_to_local_conversation(uri) |
| LOW | app/lib/activitypub/tag_manager.rb | 308 | def uri_to_local_account_params(uri) |
| LOW | app/lib/activitypub/activity/feature_request.rb | 51 | def collection_item_attributes(state = :accepted) |
| LOW | app/lib/activitypub/activity/create.rb | 286 | def process_tagged_collection(tag) |
| LOW | app/lib/activitypub/activity/create.rb | 380 | def resolve_unresolved_mentions(status) |
| LOW | app/lib/activitypub/activity/create.rb | 386 | def resolve_unresolved_collections(status) |
| LOW | app/validators/vote_validator.rb | 50 | def account_votes_on_same_poll(vote) |
| LOW | app/javascript/mastodon/features/emoji/locale.ts | 15 | export function toSupportedLocaleOrCustom(locale: string): LocaleOrCustom { |
| LOW | app/javascript/mastodon/features/emoji/database.ts | 281 | export async function loadCustomEmojiByShortcode(shortcode: string) { |
| LOW | app/javascript/mastodon/features/emoji/database.ts | 286 | export async function searchCustomEmojisByShortcodes(shortcodes: string[]) { |
| LOW | app/javascript/mastodon/features/emoji/database.ts | 305 | export async function loadLegacyShortcodesByShortcode(shortcode: string) { |
| LOW | app/javascript/mastodon/features/emoji/normalize.ts | 176 | export function emojiToInversionClassName(emoji: string): string | null { |
| LOW | …ascript/mastodon/features/collections/detail/index.tsx | 249 | function useRevealSensitiveContent({ |
| LOW | app/javascript/mastodon/models/account.ts | 123 | export function createAccountFromServerJSON(serverJSON: ApiAccountJSON) { |
| LOW | app/javascript/mastodon/models/poll.ts | 19 | export function createPollOptionTranslationFromServerJSON(translation: { |
| LOW | app/javascript/mastodon/models/notification_request.ts | 11 | export function createNotificationRequestFromJSON( |
| LOW | app/javascript/mastodon/models/notification_group.ts | 128 | function createAccountWarningFromJSON( |
| LOW | app/javascript/mastodon/models/notification_group.ts | 138 | function createAccountRelationshipSeveranceEventFromJSON( |
| LOW | app/javascript/mastodon/models/notification_group.ts | 144 | function createAnnualReportEventFromJSON( |
| LOW | app/javascript/mastodon/models/notification_group.ts | 150 | export function createNotificationGroupFromJSON( |
| LOW | app/javascript/mastodon/models/notification_group.ts | 215 | export function createNotificationGroupFromNotificationJSON( |
| LOW | app/javascript/mastodon/components/hashtag_bar.tsx | 50 | function uniqueHashtagsWithCaseHandling(hashtags: string[]) { |
| LOW | app/javascript/mastodon/components/hashtag_bar.tsx | 91 | export function computeHashtagBarForStatus(status: StatusLike): { |
| LOW | …p/javascript/mastodon/actions/notification_requests.ts | 23 | function dispatchAssociatedRecords( |
| 122 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .rubocop_todo.yml | 1 | # This configuration was generated by |
| LOW | docker-compose.yml | 21 | networks: |
| LOW | docker-compose.yml | 41 | # - "thread_pool.write.queue_size=1000" |
| LOW | docker-compose.yml | 121 | ## http_hidden_proxy=http://privoxy:8118 |
| LOW | app/models/announcement.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/preview_card_trend.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/conversation_mute.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/report.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/generated_annual_report.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/identity.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/account_conversation.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/account_alias.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/instance_moderation_note.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/account.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/account.rb | 21 | # domain :string |
| LOW | app/models/account.rb | 41 | # note :text default(""), not null |
| LOW | app/models/tag.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/preview_card_provider.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/relationship_severance_event.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/status.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/status.rb | 21 | # url :string |
| LOW | app/models/account_migration.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/block.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/poll.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/announcement_mute.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/custom_emoji_category.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/severed_relationship.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/featured_tag.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/rule_translation.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/ip_block.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/mention.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/list_account.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/account_warning_preset.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/status_pin.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/bulk_import.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/account_statuses_cleanup_policy.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/appeal.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/tag_feed.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/software_update.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/status_stat.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/collection.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/follow_recommendation_mute.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/bookmark.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/custom_emoji.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/account_domain_block.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/marker.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/email_subscription.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/preview_cards_status.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/rule.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/relay.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/media_attachment.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/media_attachment.rb | 21 | # thumbnail_file_size :integer |
| LOW | app/models/keypair.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/favourite.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/email_domain_block.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/tag_trend.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/public_feed.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/poll_vote.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/preview_card.rb | 1 | # frozen_string_literal: true |
| LOW | app/models/preview_card.rb | 21 | # language :string |
| 128 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | app/javascript/mastodon/utils/__tests__/html-test.ts | 17 | const input = '<p>lorem ipsum</p>'; |
| LOW | app/javascript/mastodon/utils/__tests__/html-test.ts | 48 | const input = '<p>lorem ipsum</p>'; |
| LOW | app/javascript/mastodon/utils/__tests__/html-test.ts | 51 | expect(onText).toHaveBeenCalledExactlyOnceWith('lorem ipsum', {}); |
| LOW | app/javascript/mastodon/utils/__tests__/html-test.ts | 55 | const input = '<p>lorem ipsum</p>'; |
| LOW | app/javascript/mastodon/utils/__tests__/html-test.ts | 69 | expect.arrayContaining(['lorem ipsum']), |
| LOW | app/javascript/mastodon/utils/__tests__/html-test.ts | 75 | const input = '<p>lorem ipsum</p>'; |
| LOW | app/javascript/mastodon/utils/__tests__/html-test.ts | 82 | expect.arrayContaining(['lorem ipsum']), |
| LOW | …pt/mastodon/components/mini_card/mini_card.stories.tsx | 46 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore |
| LOW | …pt/mastodon/components/mini_card/mini_card.stories.tsx | 46 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore |
| LOW | spec/mailers/previews/user_mailer_preview.rb | 14 | user.unconfirmed_email = 'foo@bar.com' |
| LOW | spec/mailers/previews/user_mailer_preview.rb | 63 | user.unconfirmed_email = 'foo@bar.com' |
| LOW | spec/models/canonical_email_block_spec.rb | 69 | before { Fabricate(:canonical_email_block, email: 'foo@bar.com') } |
| LOW | spec/models/canonical_email_block_spec.rb | 72 | expect(described_class.block?('foo@bar.com')).to be true |
| LOW | spec/models/form/import_spec.rb | 270 | { 'acct' => 'user@example.com', 'show_reblogs' => true, 'notify' => false, 'languages' => nil }, |
| LOW | spec/models/form/import_spec.rb | 275 | { 'acct' => 'user@example.com', 'hide_notifications' => true }, |
| LOW | spec/presenters/instance_presenter_spec.rb | 24 | Setting.site_contact_email = 'admin@example.com' |
| LOW | spec/presenters/instance_presenter_spec.rb | 25 | expect(instance_presenter.contact.email).to eq 'admin@example.com' |
| LOW | spec/requests/api/v1/media_spec.rb | 161 | let(:params) { { description: 'Lorem ipsum!!!' } } |
| LOW | spec/requests/api/v1/media_spec.rb | 174 | let(:params) { { description: 'Lorem ipsum!!!' } } |
| LOW | spec/requests/api/v1/media_spec.rb | 177 | expect { subject }.to change { media.reload.description }.from('old').to('Lorem ipsum!!!') |
| LOW | spec/requests/api/v1/emails/confirmations_spec.rb | 52 | user.update(email: 'foo@bar.com') |
| LOW | spec/requests/api/v1/emails/confirmations_spec.rb | 76 | let(:params) { { email: 'foo@bar.com' } } |
| LOW | spec/requests/api/v1/emails/confirmations_spec.rb | 84 | expect(user.reload.unconfirmed_email).to eq('foo@bar.com') |
| LOW | spec/system/report_interface_spec.rb | 8 | let(:email) { 'admin@example.com' } |
| LOW | spec/system/admin/terms_of_service/generates_spec.rb | 25 | fill_in 'terms_of_service_generator_arbitration_address', with: '123 Main Street' |
| LOW | spec/fabricators/status_fabricator.rb | 5 | text 'Lorem ipsum dolor sit amet' |
| LOW | spec/fabricators/status_fabricator.rb | 5 | text 'Lorem ipsum dolor sit amet' |
| LOW | spec/lib/plain_text_formatter_spec.rb | 24 | expect(subject).to eq 'Lorem ipsum' |
| LOW | spec/lib/plain_text_formatter_spec.rb | 64 | expect(subject).to eq 'Lorem ipsum' |
| LOW | spec/lib/plain_text_formatter_spec.rb | 72 | expect(subject).to eq 'Lorem ipsum' |
| LOW | spec/lib/request_spec.rb | 62 | before { stub_request(:get, 'http://example.com').to_return(body: 'lorem ipsum') } |
| LOW | spec/lib/request_spec.rb | 96 | expect(response.body_with_limit).to eq 'lorem ipsum' |
| LOW | spec/lib/request_spec.rb | 106 | stub_request(:get, 'http://redirected.example.com/foo').to_return(body: 'lorem ipsum') |
| LOW | spec/lib/mastodon/cli/canonical_email_blocks_spec.rb | 17 | let(:arguments) { ['user@example.com'] } |
| LOW | spec/lib/mastodon/cli/canonical_email_blocks_spec.rb | 20 | before { Fabricate(:canonical_email_block, email: 'user@example.com') } |
| LOW | spec/lib/mastodon/cli/canonical_email_blocks_spec.rb | 38 | let(:arguments) { ['user@example.com'] } |
| LOW | spec/lib/mastodon/cli/canonical_email_blocks_spec.rb | 41 | before { Fabricate(:canonical_email_block, email: 'user@example.com') } |
| LOW | spec/lib/mastodon/cli/canonical_email_blocks_spec.rb | 47 | expect(CanonicalEmailBlock.matching_email('user@example.com')).to be_empty |
| LOW | spec/lib/activitypub/activity/announce_spec.rb | 68 | content: 'Lorem ipsum', |
| LOW | spec/lib/activitypub/activity/announce_spec.rb | 84 | content: 'Lorem ipsum', |
| LOW | spec/lib/activitypub/activity/announce_spec.rb | 163 | content: 'Lorem ipsum', |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 45 | content: '@bob lorem ipsum', |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 70 | content: '@bob lorem ipsum', |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 88 | content: '@bob lorem ipsum', |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 201 | expect(status.text).to eq 'Lorem ipsum' |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 220 | expect(status.text).to eq 'Lorem ipsum' |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 240 | expect(status.text).to eq 'Lorem ipsum' |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 263 | expect(status.text).to eq 'Lorem ipsum' |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 289 | expect(status.text).to eq 'Lorem ipsum' |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 817 | content: 'Lorem ipsum :tinking:', |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 843 | content: 'Lorem ipsum :tinkong:', |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 869 | content: 'Lorem ipsum :tinking:', |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 892 | content: 'Lorem ipsum :tinking:', |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 1274 | text: 'Lorem ipsum' |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 1293 | expect(status.text).to eq 'Lorem ipsum' |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 1315 | expect(status.text).to eq 'Lorem ipsum' |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 1338 | expect(status.text).to eq 'Lorem ipsum' |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 1360 | expect(status.text).to eq 'Lorem ipsum' |
| LOW | spec/lib/activitypub/activity/create_spec.rb | 1382 | content: 'Lorem ipsum', |
| LOW | spec/lib/activitypub/parser/status_parser_spec.rb | 30 | content: '@bob lorem ipsum', |
| 28 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | docker-compose.yml | 1 | # This file is designed for production server deployment, not local development work |
| MEDIUM | app/models/setting.rb | 14 | # This file is derived from a fork of the `rails-settings-cached` gem available at |
| MEDIUM | app/models/concerns/user/omniauthable.rb | 67 | # Create a user for the given auth params. If no email was provided, |
| MEDIUM | …/services/activitypub/process_status_update_service.rb | 327 | # This method is only concerned with approval and skips other meaningful changes, |
| MEDIUM | config/settings.yml | 1 | # This file contains default values, and does not need to be edited. All |
| MEDIUM | config/initializers/wrap_parameters.rb | 5 | # This file contains settings for ActionController::ParamsWrapper which |
| MEDIUM | config/initializers/permissions_policy.rb | 5 | # Define an application-wide HTTP permissions policy. For further |
| MEDIUM | config/initializers/content_security_policy.rb | 5 | # Define an application-wide content security policy. |
| MEDIUM | config/initializers/simple_form.rb | 124 | # Define the way to render check boxes / radio buttons with labels. |
| MEDIUM | config/initializers/simple_form.rb | 223 | # Define the default class of the input wrapper of the boolean input. |
| MEDIUM | spec/requests/api/v1/annual_reports_spec.rb | 110 | # Define the ID manually as it is otherwise handled by the database, which is not affected by `travel_to` |
| MEDIUM | spec/requests/api/v1/annual_reports_spec.rb | 133 | # Define the ID manually as it is otherwise handled by the database, which is not affected by `travel_to` |
| MEDIUM | spec/system/admin/email_subscriptions_spec.rb | 12 | Fabricate.create :email_subscription # Create a sub show that purge is shown |
| MEDIUM | spec/support/streaming_client.rb | 79 | # Create a synthetic close event: |
| MEDIUM | …/scheduler/accounts_statuses_cleanup_scheduler_spec.rb | 91 | # Create a bunch of old statuses |
| MEDIUM | …/scheduler/accounts_statuses_cleanup_scheduler_spec.rb | 101 | # Create a bunch of newer statuses |
| MEDIUM | lib/mastodon/migration_helpers.rb | 3 | # This file is copied almost entirely from GitLab, which has done a large |
| MEDIUM | lib/mastodon/database.rb | 3 | # This file is entirely lifted from GitLab. |
| MEDIUM | db/schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead |
| MEDIUM | db/schema.rb | 5 | # This file is the source Rails uses to define your schema when running `bin/rails |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | spec/requests/api/v2/media_spec.rb | 15 | expect(File.exist?(user.account.media_attachments.first.file.path(:small))) |
| CRITICAL | spec/requests/api/v2/media_spec.rb | 51 | expect(File.exist?(user.account.media_attachments.first.file.path(:small))) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | app/lib/feed_manager.rb | 62 | # Check if the status should not be added to a feed |
| LOW | app/lib/feed_manager.rb | 426 | # Check if there is a streaming API client connected |
| LOW | app/lib/feed_manager.rb | 434 | # Check if the account is blocking or muting any of the given accounts |
| LOW | app/lib/feed_manager.rb | 443 | # Check if status should not be added to the home feed |
| LOW | app/lib/feed_manager.rb | 481 | # Check if status should not be added to the mentions feed |
| LOW | app/lib/feed_manager.rb | 498 | # Check if status should not be added to the list feed |
| LOW | app/lib/feed_manager.rb | 514 | # Check if a status should not be added to the home feed when it comes |
| LOW | app/lib/admin/system_check/media_privacy_check.rb | 32 | # Check if we can list the uploaded file. If true, that's an error |
| LOW | app/services/software_update_check_service.rb | 45 | # Check if any of the notices is new, and issue notifications |
| LOW | spec/rails_helper.rb | 70 | # Set type to `cli` for all CLI specs |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | app/lib/feed_manager.rb | 553 | # can just add it to the feed (and note that we're reblogging it). |
| MEDIUM | spec/system/auth/passwords_spec.rb | 15 | allow(Devise).to receive(:pam_authentication).and_return(false) # Avoid the "seamless external" path |
| LOW | db/migrate/20170920032311_fix_reblogs_in_feeds.rb | 77 | # just use the data in Redis to reverse this transition. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | config/initializers/simple_form.rb | 61 | # extensions by default, you can change `b.optional` to `b.use`. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | app/javascript/mastodon/components/hotkeys/index.tsx | 247 | * ### How to use |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | app/services/resolve_account_service.rb | 37 | # we already checked, we need to check if we've already got |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .storybook/static/mockServiceWorker.js | 124 | async function handleRequest(event, requestId, requestInterceptedAt) { |