mirror of https://github.com/mastodon/mastodon
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.
02a87431cf
* Fix error when suspending user with an already-existing canonical email block Fixes #17033 While attempting to create a `CanonicalEmailBlock` with an existing hash would raise an `ActiveRecord::RecordNotUnique` error, this being done within a transaction would cancel the whole transaction. For this reason, checking for uniqueness in Rails would query the database within the transaction and avoid invalidating the whole transaction for this reason. A race condition is still possible, where multiple accounts sharing a canonical email would be blocked in concurrent transactions, in which only one would succeed, but that is way less likely to happen that the current issue, and can always be retried after the first failure, unlike the current situation. * Add tests |
3 years ago | |
---|---|---|
.. | ||
account_suggestions | 4 years ago | |
admin | 3 years ago | |
concerns | 3 years ago | |
form | 3 years ago | |
web | 4 years ago | |
account.rb | 3 years ago | |
account_alias.rb | 4 years ago | |
account_conversation.rb | 4 years ago | |
account_deletion_request.rb | 4 years ago | |
account_domain_block.rb | 6 years ago | |
account_filter.rb | 4 years ago | |
account_identity_proof.rb | 6 years ago | |
account_migration.rb | 4 years ago | |
account_moderation_note.rb | ||
account_note.rb | 3 years ago | |
account_pin.rb | ||
account_stat.rb | 3 years ago | |
account_statuses_cleanup_policy.rb | 3 years ago | |
account_suggestions.rb | 4 years ago | |
account_summary.rb | 4 years ago | |
account_warning.rb | 4 years ago | |
account_warning_preset.rb | 5 years ago | |
admin.rb | ||
announcement.rb | 4 years ago | |
announcement_filter.rb | 5 years ago | |
announcement_mute.rb | 5 years ago | |
announcement_reaction.rb | 5 years ago | |
application_record.rb | 5 years ago | |
backup.rb | 5 years ago | |
block.rb | ||
bookmark.rb | 3 years ago | |
canonical_email_block.rb | 3 years ago | |
context.rb | ||
conversation.rb | 6 years ago | |
conversation_mute.rb | ||
custom_emoji.rb | 3 years ago | |
custom_emoji_category.rb | 5 years ago | |
custom_emoji_filter.rb | 5 years ago | |
custom_filter.rb | 4 years ago | |
device.rb | 5 years ago | |
domain_allow.rb | 4 years ago | |
domain_block.rb | 4 years ago | |
email_domain_block.rb | 5 years ago | |
encrypted_message.rb | 5 years ago | |
export.rb | 4 years ago | |
favourite.rb | 3 years ago | |
featured_tag.rb | 6 years ago | |
feed.rb | 4 years ago | |
follow.rb | 4 years ago | |
follow_recommendation.rb | 4 years ago | |
follow_recommendation_filter.rb | 4 years ago | |
follow_recommendation_suppression.rb | 4 years ago | |
follow_request.rb | 4 years ago | |
home_feed.rb | 4 years ago | |
identity.rb | 6 years ago | |
import.rb | 4 years ago | |
instance.rb | 4 years ago | |
instance_filter.rb | 4 years ago | |
invite.rb | 4 years ago | |
invite_filter.rb | 5 years ago | |
ip_block.rb | 4 years ago | |
list.rb | 4 years ago | |
list_account.rb | 5 years ago | |
list_feed.rb | 4 years ago | |
login_activity.rb | 4 years ago | |
marker.rb | 5 years ago | |
media_attachment.rb | 3 years ago | |
mention.rb | 6 years ago | |
message_franking.rb | 5 years ago | |
mute.rb | 4 years ago | |
notification.rb | 4 years ago | |
one_time_key.rb | 5 years ago | |
poll.rb | 4 years ago | |
poll_vote.rb | 6 years ago | |
preview_card.rb | 3 years ago | |
public_feed.rb | 4 years ago | |
relationship_filter.rb | 5 years ago | |
relay.rb | 5 years ago | |
remote_follow.rb | 4 years ago | |
report.rb | 4 years ago | |
report_filter.rb | 4 years ago | |
report_note.rb | 6 years ago | |
rule.rb | 4 years ago | |
scheduled_status.rb | 6 years ago | |
search.rb | ||
session_activation.rb | 4 years ago | |
setting.rb | 4 years ago | |
site_upload.rb | 6 years ago | |
status.rb | 3 years ago | |
status_pin.rb | 3 years ago | |
status_stat.rb | 6 years ago | |
system_key.rb | 5 years ago | |
tag.rb | 3 years ago | |
tag_feed.rb | 4 years ago | |
tag_filter.rb | 4 years ago | |
tombstone.rb | 6 years ago | |
trending_tags.rb | 4 years ago | |
unavailable_domain.rb | 4 years ago | |
user.rb | 3 years ago | |
user_invite_request.rb | 6 years ago | |
web.rb | ||
webauthn_credential.rb | 4 years ago |