mastodon/app/models
Eugen Rochko 27965ce5ed
Add trending statuses ()
* Add trending statuses

* Fix dangling items with stale scores in localized sets

* Various fixes and improvements

- Change approve_all/reject_all to approve_accounts/reject_accounts
- Change Trends::Query methods to not mutate the original query
- Change Trends::Query#skip to offset
- Change follow recommendations to be refreshed in a transaction

* Add tests for trending statuses filtering behaviour

* Fix not applying filtering scope in controller
..
account_suggestions Fix error in suggestions API due to typo ()
admin Add appeals ()
concerns Add notifications for statuses deleted by moderators ()
form Add trending statuses ()
trends Add trending statuses ()
web Add `policy` param to `POST /api/v1/push/subscriptions` ()
account.rb Add trending statuses ()
account_alias.rb Remove dependency on goldfinger gem ()
account_conversation.rb allow pagination by min_id and max_id ()
account_deletion_request.rb Change account suspensions to be reversible by default ()
account_domain_block.rb Fix crash when saving invalid domain name ()
account_filter.rb Add appeals ()
account_migration.rb Fix race conditions on account migration creation ()
account_moderation_note.rb Update dependencies for Ruby (2018-04-23) ()
account_note.rb Fix AccountNote not having a maximum length ()
account_pin.rb Add API endpoint to list featured accounts (fixes ) ()
account_stat.rb Bump chewy from 5.2.0 to 7.2.3 (supports Elasticsearch 7.x) ()
account_statuses_cleanup_policy.rb Add trending links ()
account_suggestions.rb Change auto-following admin-selected accounts, show in recommendations ()
account_summary.rb Fix FollowRecommendationsScheduler failing because of unpopulated views ()
account_warning.rb Add appeals ()
account_warning_preset.rb Add titles to warning presets in admin UI ()
admin.rb Add logging of admin actions ()
announcement.rb Change order of announcements in admin page to sort them newest-first ()
announcement_filter.rb Add announcements ()
announcement_mute.rb Add announcements ()
announcement_reaction.rb Add announcements ()
appeal.rb Fix issues when attempting to appeal an old strike ()
application_record.rb Fix records not being indexed sometimes ()
backup.rb Add announcements ()
block.rb Store URIs of follows, follow requests and blocks for ActivityPub ()
bookmark.rb Bump chewy from 5.2.0 to 7.2.3 (supports Elasticsearch 7.x) ()
canonical_email_block.rb Add ability for admins to delete canonical email blocks ()
context.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ()
conversation.rb Revert "Remove conversation URI ()" ()
conversation_mute.rb Update dependencies for Ruby (2018-04-23) ()
custom_emoji.rb Switch from unmaintained paperclip to kt-paperclip ()
custom_emoji_category.rb Add batch actions and categories to admin UI for custom emojis ()
custom_emoji_filter.rb Various fixes and improvements ()
custom_filter.rb Optimize map { ... }.compact calls ()
device.rb Add E2EE API ()
domain_allow.rb Fix performance on instances list in admin UI ()
domain_block.rb Add option to obfuscate domain name in public list of domain blocks ()
email_domain_block.rb Change e-mail domain blocks to block IPs dynamically ()
encrypted_message.rb Change Redis#exists calls to Redis#exists? to avoid deprecation warning ()
export.rb Add import/export feature for bookmarks ()
favourite.rb Bump chewy from 5.2.0 to 7.2.3 (supports Elasticsearch 7.x) ()
featured_tag.rb Fix featured tags not finding the right tag on save ()
feed.rb allow pagination by min_id and max_id ()
follow.rb Fix being able to import more than allowed number of follows ()
follow_recommendation.rb Fix FollowRecommendationsScheduler failing because of unpopulated views ()
follow_recommendation_filter.rb Add cold-start follow recommendations ()
follow_recommendation_suppression.rb Add cold-start follow recommendations ()
follow_request.rb Fix edge case where accepted follow cannot be processed because of follow limit ()
home_feed.rb Fix rubocop config and warnings ()
identity.rb Change identities id column to a bigint ()
import.rb Fix follow limit preventing re-following of a moved account ()
instance.rb Add management of delivery availability in Federation settings ()
instance_filter.rb Add management of delivery availability in Federation settings ()
invite.rb Change account suspensions to be reversible by default ()
invite_filter.rb Various fixes and improvements ()
ip_block.rb Add IP-based rules ()
list.rb Improve account deletion performances further ()
list_account.rb Add abilityto add oneself to lists ()
list_feed.rb Fix rubocop config and warnings ()
login_activity.rb Add authentication history ()
marker.rb Add timeline read markers API ()
media_attachment.rb Fix some media attachments being converted with too high framerates ()
mention.rb Improve support for aspects/circles ()
message_franking.rb Add E2EE API ()
mute.rb Add duration parameter to muting. ()
notification.rb Add notifications for new sign-ups ()
one_time_key.rb Add E2EE API ()
poll.rb Fix poll votes not being properly reset on poll change ()
poll_vote.rb Add optimistic lock to avoid race conditions when handling votes ()
preview_card.rb Fix error on trending hashtags/links pages in admin UI due to missing constant ()
preview_card_provider.rb Add trending links ()
public_feed.rb Fix rubocop config and warnings ()
relationship_filter.rb Fix followings list order | Issue ()
relay.rb Fix enable/disable relay failures ()
remote_follow.rb Remove dependency on goldfinger gem ()
report.rb Add `category` and `rule_ids` params to `POST /api/v1/reports` ()
report_filter.rb Add notifications for statuses deleted by moderators ()
report_note.rb Fix scope latest of ReportNote ()
rule.rb Add server rules ()
scheduled_status.rb Fix deleting a scheduled status immediately deleting media attachments ()
search.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ()
session_activation.rb Add Ruby 3.0 support ()
setting.rb Use Rails' index_by where it makes sense ()
site_upload.rb Improvements to image upload validation and creation ()
status.rb Add trending statuses ()
status_edit.rb Add edit history to web UI ()
status_pin.rb Add feature to automatically delete old toots ()
status_stat.rb Reset status cache when status_stat or media_attachment updates ()
system_key.rb Add E2EE API ()
tag.rb Fix error on trending hashtags/links pages in admin UI due to missing constant ()
tag_feed.rb Fix rubocop config and warnings ()
tombstone.rb Record deleted(by mod) status to prevent re-appear ()
trends.rb Add trending statuses ()
unavailable_domain.rb Fix performance on instances list in admin UI ()
user.rb Add trending statuses ()
user_invite_request.rb Add "why do you want to join" field to invite requests ()
user_ip.rb Remove IP tracking columns from users table ()
web.rb
webauthn_credential.rb Fix validates :sign_count of WebauthnCredential ()