mastodon/app/models
Matt Jankowski 3db8498903
Fix `Style/MutableConstant` cop ()
..
account Change Account::Field parsing to use HTML5::DocumentFragment ()
account_suggestions Fix in memoriam accounts appearing in follow recommendations ()
admin Add missing `NOT NULL` requirement to small, indexed, valid data tables ()
annual_report Fix performance of percentile calculation for annual reports ()
concerns Add `Status::Visibility` concern to hold visibility logic ()
form Extend custom CSS cache time with digest paths ()
terms_of_service Add terms of service ()
trends Fix issue with trending order when user has chosen languages ()
user_settings Fix `Lint/SymbolConversion` cop ()
web Add support for standard webpush ()
account.rb Treat non-null but blank account domain as local ()
account_alias.rb Add missing `NOT NULL` requirement to small, indexed, valid data tables ()
account_conversation.rb Add `NOT NULL` requirement to columns on `account_conversations` ()
account_deletion_request.rb Add missing `NOT NULL` requirement to small, indexed, valid data tables ()
account_domain_block.rb Add missing `NOT NULL` requirement to small, indexed, valid data tables ()
account_filter.rb Use hash arguments to `group` when possible ()
account_migration.rb Add `OpenSSL::SSL::SSLError` to http connection errors wrapper ()
account_moderation_note.rb Fix sort order of moderation notes on Reports and Accounts ()
account_note.rb Add missing `NOT NULL` on more columns from "large but valid" tables ()
account_pin.rb Add NOT NULL requirement to account columns on `AccountPin` ()
account_relationship_severance_event.rb Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately ()
account_stat.rb Add `AccountStat.by_recent_status`, use in `Account` ()
account_statuses_cleanup_policy.rb Add `Status.not_direct_visibility` scope ()
account_suggestions.rb Change `source` attribute of `Suggestion` entity in `/api/v2/suggestions` back to a string ()
account_summary.rb Use `in_order_of` with `filter: false` in `AccountSummary.localized` ()
account_warning.rb Add `AccountWarning#appeal_eligible?` method ()
account_warning_preset.rb Add titles to warning presets in admin UI ()
admin.rb Add logging of admin actions ()
announcement.rb Change `/api/v1/announcements` to return regular `Status` entities ()
announcement_filter.rb Fix error when passing unknown filter param in REST API ()
announcement_mute.rb Add missing `NOT NULL` requirement to small, indexed, valid data tables ()
announcement_reaction.rb Add missing `NOT NULL` requirement to small, indexed, valid data tables ()
appeal.rb Add `AccountWarning#appeal_eligible?` method ()
application_record.rb Rails 7+: primary_abstract_class recommendation ()
backup.rb Fix user archive takeout when using OpenStack Swift or S3 providers with no ACL support ()
block.rb Change algorithm of follow recommendations ()
bookmark.rb Autofix Rubocop remaining Layout rules ()
bulk_import.rb Add age/expiry duration constants to `BulkImport` class ()
bulk_import_row.rb Rewrite import feature ()
canonical_email_block.rb Revert "Allow unblocking email addresses from any matching account ()" ()
content_retention_policy.rb Add retention policy for cached content and media ()
context.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ()
conversation.rb Add explicit `dependent: nil` to associations ()
conversation_mute.rb Autofix Rubocop remaining Layout rules ()
custom_emoji.rb Add validation coverage for `CustomEmoji` shortcode value ()
custom_emoji_category.rb Add explicit `dependent: nil` to associations ()
custom_emoji_filter.rb Use Arel `nulls_first` method in ordering CustomEmojiFilter scope ()
custom_filter.rb Add missing `NOT NULL` requirement to small, indexed, valid data tables ()
custom_filter_keyword.rb Extract shared callback behaviour to `CustomFilterCache` concern ()
custom_filter_status.rb Extract shared callback behaviour to `CustomFilterCache` concern ()
domain_allow.rb Remove unused `matches_domain` scopes on Account, DomainAllow, DomainBlock ()
domain_block.rb Add enum validation to `DomainBlock#severity` ()
email_domain_block.rb Add `EmailDomainBlock.parents` scope ()
export.rb Extract `ExportSummary` class for account object counts ()
extended_description.rb Change about page to be mounted in the web UI ()
favourite.rb Autofix Rubocop remaining Layout rules ()
featured_tag.rb Fix error decrementing status count when `FeaturedTags#last_status_at` is `nil` ()
feed.rb Remove caching in `cache_collection` ()
follow.rb Change algorithm of follow recommendations ()
follow_recommendation.rb Fix follow recommendation suppressions not applying immediately ()
follow_recommendation_filter.rb Fix follow recommendation moderation page default language when using regional variant ()
follow_recommendation_mute.rb Change algorithm of follow recommendations ()
follow_recommendation_suppression.rb Change algorithm of follow recommendations ()
follow_request.rb Change lists to reflect added and removed users retroactively ()
generated_annual_report.rb Add annual reports for accounts ()
home_feed.rb Fix rubocop config and warnings ()
identity.rb Merge pull request from GHSA-vm39-j3vx-pch3
import.rb Update enum syntax to use the new Rails 7.0 style ()
instance.rb Extract scenic view model common methods to concern ()
instance_filter.rb Use hash arguments to `order` when possible (Rails 7.2) ()
invite.rb Fix `Invite#code` changing value on every save ()
invite_filter.rb Fix error when passing unknown filter param in REST API ()
ip_block.rb Fix HTTP 500 on `POST /api/v1/admin/ip_blocks` ()
link_feed.rb Fix that blocking was not working on link timeline ()
list.rb Fix list creation limit check ()
list_account.rb Fix list error messages ()
list_feed.rb Fix rubocop config and warnings ()
login_activity.rb Add `BrowserDetection` model concern ()
marker.rb Add missing `NOT NULL` on more columns from "large but valid" tables ()
media_attachment.rb Revert "Support animated PNGs in media attachments ()" ()
mention.rb Standardize uniqueness validation declaration on `Mention` ()
mute.rb Change algorithm of follow recommendations ()
notification.rb Extract `Notification::Groups` concern ()
notification_group.rb Fix last paginated notification group only including data on a single notification ()
notification_permission.rb Add notification policies and notification requests ()
notification_policy.rb Fix notification requests from suspended accounts still being listed ()
notification_request.rb Fix notification requests from suspended accounts still being listed ()
poll.rb Add `Account#remote?` query method ()
poll_vote.rb Add missing `NOT NULL` on more columns from "large but valid" tables ()
preview_card.rb Fix `fediverse:creator` metadata not showing up in REST API ()
preview_card_provider.rb Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern ()
preview_card_trend.rb Add `not_allowed` scope for `PreviewCardTrend` ()
preview_cards_status.rb Change algorithm of follow recommendations ()
privacy_policy.rb Move privacy policy into markdown file ()
public_feed.rb Remove caching in `cache_collection` ()
relationship_filter.rb Add `AccountStat.by_recent_status`, use in `Account` ()
relationship_severance_event.rb Update `enum` away from deprecated ()
relay.rb Always validate `inbox_url` presence on Relay ()
remote_follow.rb Extract wrapper constant for `HTTP::*` error classes ()
report.rb Add optional OAuth application to reports ()
report_filter.rb Add `relevant_params` to ReportFilter (matches account filter) ()
report_note.rb Fix sort order of moderation notes on Reports and Accounts ()
rule.rb Extract constants for column size length validation limits ()
scheduled_status.rb Add missing `NOT NULL` requirement to small, indexed, valid data tables ()
search.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ()
session_activation.rb Use existing arel scopes instead of string ordering ()
setting.rb Remove `thing_type` and `thing_id` columns from settings table ()
severed_relationship.rb Use existing `SeveredRelationship.about_local_account` scope in more places ()
site_upload.rb Drop favicon.ico generation ()
software_update.rb Add `urgent` scope and `by_version` method to `SoftwareUpdate` ()
status.rb Add `Status::Visibility` concern to hold visibility logic ()
status_edit.rb Limit attachments to `MEDIA_ATTACHMENTS_LIMIT` when returning posts through the API ()
status_pin.rb Enhance coverage for `StatusPin` model ()
status_stat.rb Use `likes` and `shares` totalItems on status creations and updates ()
status_trend.rb Add `RankedTrend` concern for trends classes ()
tag.rb Fix `Style/MutableConstant` cop ()
tag_feed.rb Remove caching in `cache_collection` ()
tag_follow.rb Fix pushing hashtag-followed posts to feeds of inactive users ()
tag_trend.rb Update schema/annotations after tag trend db/redis migrate ()
terms_of_service.rb Add terms of service ()
tombstone.rb Add missing `NOT NULL` on more columns from "large but valid" tables ()
translation.rb Translate CW, poll options and media descriptions ()
trends.rb Admin mailer parameterization ()
unavailable_domain.rb Autofix Rubocop remaining Layout rules ()
user.rb Use `touch_all` for time column updates ()
user_invite_request.rb Add missing `NOT NULL` requirement to small, indexed, valid data tables ()
user_ip.rb Add `InetContainer` with scopes of `containing` and `contained` ()
user_role.rb Extract `CSS_COLORS` constant for `UserRole` regex validation ()
user_settings.rb Provide option to force use of system scrollbar styling ()
web.rb Add extended about page stub
webauthn_credential.rb Extract `SIGN_COUNT_LIMIT` constant in `WebauthnCredential` class ()
webhook.rb Add coverage for `Webhook` validations ()