You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/models
afontenot f17fc5742e
Clear voter count when poll is reset (#21700)
When a poll is edited, we reset the poll and remove all previous
votes. However, prior to this commit, the voter count on the poll
was not reset. This leads to incorrect percentages being shown in
poll results.

Fixes #21696
2 years ago
..
account Don't allow URLs that contain non-normalized paths to be verified (#20999) 2 years ago
account_suggestions Fix single Redis connection being used across all threads (#18135) 3 years ago
admin Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 2 years ago
concerns Fix error when invalid domain name is submitted (#19474) 2 years ago
form Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 2 years ago
trends Fix error when passing unknown filter param in REST API (#20626) 2 years ago
web Add `policy` param to `POST /api/v1/push/subscriptions` (#16040) 4 years ago
account.rb Fix trendable status without review (#20214) 2 years ago
account_alias.rb Micro-optimization: only split `acct` into two Strings (#19901) 2 years ago
account_conversation.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
account_deletion_request.rb Change account suspensions to be reversible by default (#14726) 4 years ago
account_domain_block.rb Fix crash when saving invalid domain name (#11528) 6 years ago
account_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
account_migration.rb Skip Webfinger cache during migrations as well (#19883) 2 years ago
account_moderation_note.rb Update dependencies for Ruby (2018-04-23) (#7237) 7 years ago
account_note.rb Fix AccountNote not having a maximum length (#16942) 3 years ago
account_pin.rb Add API endpoint to list featured accounts (fixes #8315) (#8317) 6 years ago
account_stat.rb Fix follower and other counters being able to go negative (#18517) 3 years ago
account_statuses_cleanup_policy.rb Micro-optimization: use `if`/`else` instead of `Array#compact` and `Array#min` (#19906) 2 years ago
account_statuses_filter.rb Fix performance of account timelines (#17709) 3 years ago
account_suggestions.rb Change auto-following admin-selected accounts, show in recommendations (#16078) 4 years ago
account_summary.rb Fix FollowRecommendationsScheduler failing because of unpopulated views (#16189) 4 years ago
account_warning.rb Add audit log entries for user roles (#19040) 2 years ago
account_warning_preset.rb Add titles to warning presets in admin UI (#13252) 5 years ago
admin.rb Add logging of admin actions (#5757) 7 years ago
announcement.rb Change admin announcement edition interface to use datetime-local (#18321) 2 years ago
announcement_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
announcement_mute.rb Add announcements (#12662) 5 years ago
announcement_reaction.rb Add announcements (#12662) 5 years ago
appeal.rb Add audit log entries for user roles (#19040) 2 years ago
application_record.rb Fix records not being indexed sometimes (#12024) 5 years ago
backup.rb Add announcements (#12662) 5 years ago
block.rb Store URIs of follows, follow requests and blocks for ActivityPub (#7160) 7 years ago
bookmark.rb Bump chewy from 5.2.0 to 7.2.3 (supports Elasticsearch 7.x) (#16915) 3 years ago
canonical_email_block.rb Add admin API for managing canonical e-mail blocks (#19067) 2 years ago
content_retention_policy.rb Add retention policy for cached content and media (#19232) 2 years ago
context.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 8 years ago
conversation.rb Revert "Remove conversation URI (#11423)" (#11424) 6 years ago
conversation_mute.rb Update dependencies for Ruby (2018-04-23) (#7237) 7 years ago
custom_emoji.rb Fix metadata scrubbing removing color profile from images (#20389) 2 years ago
custom_emoji_category.rb Add batch actions and categories to admin UI for custom emojis (#11793) 5 years ago
custom_emoji_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
custom_filter.rb Add ability to filter individual posts (#18945) 2 years ago
custom_filter_keyword.rb Change how hashtags are normalized (#18795) 3 years ago
custom_filter_status.rb Add ability to select all accounts matching search for batch actions (#19053) 2 years ago
device.rb Add E2EE API (#13820) 5 years ago
domain_allow.rb Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 2 years ago
domain_block.rb Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 2 years ago
email_domain_block.rb Add admin API for managing e-mail domain blocks (#19066) 2 years ago
encrypted_message.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
export.rb Add ability to filter followed accounts' posts by language (#19095) 2 years ago
extended_description.rb Change about page to be mounted in the web UI (#19345) 2 years ago
favourite.rb Bump chewy from 5.2.0 to 7.2.3 (supports Elasticsearch 7.x) (#16915) 3 years ago
featured_tag.rb Improve performance by avoiding regex construction (#20215) 2 years ago
feed.rb allow pagination by min_id and max_id (#14776) 4 years ago
follow.rb Add ability to filter followed accounts' posts by language (#19095) 2 years ago
follow_recommendation.rb Fix FollowRecommendationsScheduler failing because of unpopulated views (#16189) 4 years ago
follow_recommendation_filter.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
follow_recommendation_suppression.rb Add cold-start follow recommendations (#15945) 4 years ago
follow_request.rb Add ability to filter followed accounts' posts by language (#19095) 2 years ago
home_feed.rb Fix rubocop config and warnings (#15503) 4 years ago
identity.rb Change identities id column to a bigint (#9371) 6 years ago
import.rb Fix follow limit preventing re-following of a moved account (#14207) 4 years ago
instance.rb Add audit log entries for user roles (#19040) 2 years ago
instance_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
invite.rb Change account suspensions to be reversible by default (#14726) 4 years ago
invite_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
ip_block.rb Fix IP blocks not having a unique index (#19456) 2 years ago
list.rb Improve account deletion performances further (#15407) 4 years ago
list_account.rb Add abilityto add oneself to lists (#12271) 5 years ago
list_feed.rb Fix rubocop config and warnings (#15503) 4 years ago
login_activity.rb Add authentication history (#16408) 4 years ago
marker.rb Add timeline read markers API (#11762) 5 years ago
media_attachment.rb fix media uploads with ffmpeg 5 (#21191) 2 years ago
mention.rb Improve support for aspects/circles (#8950) 6 years ago
message_franking.rb Add E2EE API (#13820) 5 years ago
mute.rb Add duration parameter to muting. (#13831) 4 years ago
notification.rb Add notifications for new reports (#18697) 3 years ago
one_time_key.rb Add E2EE API (#13820) 5 years ago
poll.rb Clear voter count when poll is reset (#21700) 2 years ago
poll_vote.rb Add optimistic lock to avoid race conditions when handling votes (#10196) 6 years ago
preview_card.rb Fix metadata scrubbing removing color profile from images (#20389) 2 years ago
preview_card_provider.rb Fix metadata scrubbing removing color profile from images (#20389) 2 years ago
preview_card_trend.rb Add support for language preferences for trending statuses and links (#18288) 2 years ago
privacy_policy.rb Fix privacy policy being empty if custom setting exists but is empty (#19318) 2 years ago
public_feed.rb Revert filtering public timelines by locale by default (#20294) 2 years ago
relationship_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
relay.rb Fix enable/disable relay failures (#13535) 5 years ago
remote_follow.rb Remove dependency on goldfinger gem (#14919) 4 years ago
report.rb Fix notifications about deleted reports not being also deleted (#19475) 2 years ago
report_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
report_note.rb Fix scope latest of ReportNote (#9630) 6 years ago
rule.rb Fix rules with same priority being sorted non-deterministically (#20623) 2 years ago
scheduled_status.rb Fix deleting a scheduled status immediately deleting media attachments (#9728) 6 years ago
search.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 8 years ago
session_activation.rb Add Ruby 3.0 support (#16046) 4 years ago
setting.rb Use Rails' index_by where it makes sense (#15542) 4 years ago
site_upload.rb Fix metadata scrubbing removing color profile from images (#20389) 2 years ago
status.rb Fix reblogs being discarded after the reblogged status (#19731) 2 years ago
status_edit.rb Add ability to view previous edits of a status in admin UI (#19462) 2 years ago
status_pin.rb Add feature to automatically delete old toots (#16529) 3 years ago
status_stat.rb Fix follower and other counters being able to go negative (#18517) 3 years ago
status_trend.rb Fix trending statuses returning more than one post by the same author (#19349) 2 years ago
system_key.rb Add E2EE API (#13820) 5 years ago
tag.rb Improve performance by avoiding regex construction (#20215) 2 years ago
tag_feed.rb Revert filtering public timelines by locale by default (#20294) 2 years ago
tag_follow.rb Add ability to follow hashtags (#18809) 3 years ago
tombstone.rb Record deleted(by mod) status to prevent re-appear (#10732) 6 years ago
trends.rb Fix missing `skip_review?` (#19335) 2 years ago
unavailable_domain.rb Add audit log entries for user roles (#19040) 2 years ago
user.rb Change automatic post deletion configuration to be accessible to redirected users (#20774) 2 years ago
user_invite_request.rb Add "why do you want to join" field to invite requests (#10524) 6 years ago
user_ip.rb Remove IP tracking columns from users table (#16409) 3 years ago
user_role.rb Add audit log entries for user roles (#19040) 2 years ago
web.rb
webauthn_credential.rb Fix validates :sign_count of WebauthnCredential (#14806) 4 years ago
webhook.rb Add administrative webhooks (#18510) 3 years ago