mastodon/db/migrate
Claire 02851848e9
Revamp post filtering system (#18058)
* Add model for custom filter keywords

* Use CustomFilterKeyword internally

Does not change the API

* Fix /filters/edit and /filters/new

* Add migration tests

* Remove whole_word column from custom_filters (covered by custom_filter_keywords)

* Redesign /filters

Instead of a list, present a card that displays more information and handles
multiple keywords per filter.

* Redesign /filters/new and /filters/edit to add and remove keywords

This adds a new gem dependency: cocoon, as well as a npm dependency:
cocoon-js-vanilla. Those are used to easily populate and remove form fields
from the user interface when manipulating multiple keyword filters at once.

* Add /api/v2/filters to edit filter with multiple keywords

Entities:
- `Filter`: `id`, `title`, `filter_action` (either `hide` or `warn`), `context`
  `keywords`
- `FilterKeyword`: `id`, `keyword`, `whole_word`

API endpoits:
- `GET /api/v2/filters` to list filters (including keywords)
- `POST /api/v2/filters` to create a new filter
  `keywords_attributes` can also be passed to create keywords in one request
- `GET /api/v2/filters/:id` to read a particular filter
- `PUT /api/v2/filters/:id` to update a new filter
  `keywords_attributes` can also be passed to edit, delete or add keywords in
   one request
- `DELETE /api/v2/filters/:id` to delete a particular filter
- `GET /api/v2/filters/:id/keywords` to list keywords for a filter
- `POST /api/v2/filters/:filter_id/keywords/:id` to add a new keyword to a
   filter
- `GET /api/v2/filter_keywords/:id` to read a particular keyword
- `PUT /api/v2/filter_keywords/:id` to edit a particular keyword
- `DELETE /api/v2/filter_keywords/:id` to delete a particular keyword

* Change from `irreversible` boolean to `action` enum

* Remove irrelevent `irreversible_must_be_within_context` check

* Fix /filters/new and /filters/edit with update for filter_action

* Fix Rubocop/Codeclimate complaining about task names

* Refactor FeedManager#phrase_filtered?

This moves regexp building and filter caching to the `CustomFilter` class.

This does not change the functional behavior yet, but this changes how the
cache is built, doing per-custom_filter regexps so that filters can be matched
independently, while still offering caching.

* Perform server-side filtering and output result in REST API

* Fix numerous filters_changed events being sent when editing multiple keywords at once

* Add some tests

* Use the new API in the WebUI

- use client-side logic for filters we have fetched rules for.
  This is so that filter changes can be retroactively applied without
  reloading the UI.
- use server-side logic for filters we haven't fetched rules for yet
  (e.g. network error, or initial timeline loading)

* Minor optimizations and refactoring

* Perform server-side filtering on the streaming server

* Change the wording of filter action labels

* Fix issues pointed out by linter

* Change design of “Show anyway” link in accordence to review comments

* Drop “irreversible” filtering behavior

* Move /api/v2/filter_keywords to /api/v1/filters/keywords

* Rename `filter_results` attribute to `filtered`

* Rename REST::LegacyFilterSerializer to REST::V1::FilterSerializer

* Fix systemChannelId value in streaming server

* Simplify code by removing client-side filtering code

The simplifcation comes at a cost though: filters aren't retroactively
applied anymore.
2022-06-28 09:42:13 +02:00
..
20160220174730_create_accounts.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160220211917_create_statuses.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160221003140_create_users.rb
20160221003621_create_follows.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160222122600_create_stream_entries.rb
20160222143943_add_profile_fields_to_accounts.rb
20160223162837_add_metadata_to_statuses.rb
20160223164502_make_uris_nullable_in_statuses.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160223165723_add_url_to_statuses.rb
20160223165855_add_url_to_accounts.rb Prepare Mastodon for zeitwerk autoloader (#15917) 2021-03-19 02:42:43 +01:00
20160223171800_create_favourites.rb
20160224223247_create_mentions.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160227230233_add_attachment_avatar_to_accounts.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160305115639_add_devise_to_users.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160306172223_create_doorkeeper_tables.rb
20160312193225_add_attachment_header_to_accounts.rb
20160314164231_add_owner_to_application.rb
20160316103650_add_missing_indices.rb
20160322193748_add_avatar_remote_url_to_accounts.rb
20160325130944_add_admin_to_users.rb
20160826155805_add_superapp_to_oauth_applications.rb
20160905150353_create_media_attachments.rb
20160919221059_add_subscription_expires_at_to_accounts.rb Separate PuSH subscriptions from following, add mastodon:push:refresh task, 2016-09-20 00:43:36 +02:00
20160920003904_remove_verify_token_from_accounts.rb Upgrade to PubSubHubbub 0.4 (removing verify_token) 2016-09-20 02:43:20 +02:00
20160926213048_remove_owner_from_application.rb
20161003142332_add_confirmable_to_users.rb Adding e-mail confirmations 2016-10-03 16:51:00 +02:00
20161003145426_create_blocks.rb Adding a block model and filter mentions from blocked users (fix #60) 2016-10-03 17:12:13 +02:00
20161006213403_rails_settings_migration.rb Further preparation for Rails 6 (#15916) 2021-03-19 02:45:34 +01:00
20161009120834_create_domain_blocks.rb
20161027172456_add_silenced_to_accounts.rb
20161104173623_create_tags.rb Adding hashtag model 2016-11-04 19:12:59 +01:00
20161105130633_create_statuses_tags_join_table.rb
20161116162355_add_locale_to_users.rb
20161119211120_create_notifications.rb Adding notifications column 2016-11-20 19:39:58 +01:00
20161122163057_remove_unneeded_indexes.rb
20161123093447_add_sensitive_to_statuses.rb Adding sensitive marker to statuses in API 2016-11-23 10:46:48 +01:00
20161128103007_create_subscriptions.rb Adding embedded PuSH server 2016-11-28 13:36:47 +01:00
20161130142058_add_last_successful_delivery_at_to_subscriptions.rb
20161130185319_add_visibility_to_statuses.rb Per-status control for unlisted mode, also federation for unlisted mode 2016-11-30 21:34:59 +01:00
20161202132159_add_in_reply_to_account_id_to_statuses.rb
20161203164520_add_from_account_id_to_notifications.rb Keep timelines in the UI trimmed when possible 2016-12-03 21:04:57 +01:00
20161205214545_add_suspended_to_accounts.rb
20161221152630_add_hidden_to_stream_entries.rb
20161222201034_add_locked_to_accounts.rb Add "locked" flag to accounts, prevent blocked users from following, force-unfollow blocked users 2016-12-22 21:34:19 +01:00
20161222204147_create_follow_requests.rb
20170105224407_add_shortcode_to_media_attachments.rb lint pass 2 (#8878) 2018-10-04 17:38:04 +02:00
20170109120109_create_web_settings.rb
20170112154826_migrate_settings.rb
20170114194937_add_application_to_statuses.rb Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves #11 2017-01-15 08:58:50 +11:00
20170114203041_add_website_to_oauth_application.rb Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves #11 2017-01-15 08:58:50 +11:00
20170119214911_create_preview_cards.rb
20170123162658_add_severity_to_domain_blocks.rb Domain blocks now have varying severity - auto-suspend vs auto-silence 2017-01-23 17:38:38 +01:00
20170123203248_add_reject_media_to_domain_blocks.rb
20170125145934_add_spoiler_text_to_statuses.rb
20170127165745_add_devise_two_factor_to_users.rb Added optional two-factor authentication 2017-01-27 20:35:16 +01:00
20170205175257_remove_devices.rb Add E2EE API (#13820) 2020-06-02 19:24:53 +02:00
20170209184350_add_reply_to_statuses.rb Fix older migrations not working due to new default scope (#11983) 2019-09-28 01:05:26 +02:00
20170214110202_create_reports.rb Adding POST /api/v1/reports API, and a UI for submitting reports 2017-02-14 20:59:26 +01:00
20170217012631_add_reblog_of_id_foreign_key_to_statuses.rb
20170301222600_create_mutes.rb
20170303212857_add_last_emailed_at_to_users.rb Add digest e-mails 2017-03-04 00:00:48 +01:00
20170304202101_add_type_to_media_attachments.rb Fix #431 - convert gif to webm during upload. Web UI treats them like it did 2017-03-04 23:02:24 +01:00
20170317193015_add_search_index_to_accounts.rb Make account search blazing fast and rank followers/followees higher in the results 2017-03-17 20:48:14 +01:00
20170318214217_add_header_remote_url_to_accounts.rb Prepare Mastodon for zeitwerk autoloader (#15917) 2021-03-19 02:42:43 +01:00
20170322021028_add_lowercase_index_to_accounts.rb
20170322143850_change_primary_key_to_bigint_on_statuses.rb Upgrade status IDs to bigint 2017-03-22 15:46:58 +01:00
20170322162804_add_search_index_to_tags.rb Fix full-text search query quotation, improve tag search performance with an index, 2017-03-22 17:36:34 +01:00
20170330021336_add_counter_caches.rb
20170330163835_create_imports.rb
20170330164118_add_attachment_data_to_imports.rb
20170403172249_add_action_taken_by_account_id_to_reports.rb
20170405112956_add_index_on_mentions_status_id.rb
20170406215816_add_notifications_and_favourites_indices.rb Low-hanging fruit of query optimization, these indices were missing 2017-04-07 00:04:38 +02:00
20170409170753_add_last_webfingered_at_to_accounts.rb
20170414080609_add_devise_two_factor_backupable_to_users.rb
20170414132105_add_language_to_statuses.rb
20170418160728_add_indexes_to_reports_for_accounts.rb Admin reports with accounts (#2092) 2017-04-18 19:36:18 +02:00
20170423005413_add_allowed_languages_to_user.rb
20170424003227_create_account_domain_blocks.rb Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
20170424112722_add_status_id_index_to_statuses_tags.rb
20170425131920_add_media_attachment_meta.rb Add media dimensions (#2448) 2017-04-26 03:48:12 +02:00
20170425202925_add_oembed_to_preview_cards.rb
20170427011934_re_add_owner_to_application.rb
20170506235850_create_conversations.rb
20170507000211_add_conversation_id_to_statuses.rb Add conversation model, <ostatus:conversation /> (#3016) 2017-05-12 19:09:21 +02:00
20170507141759_optimize_index_subscriptions.rb
20170508230434_create_conversation_mutes.rb
20170516072309_add_index_accounts_on_uri.rb Make faster ProcessFeedService (#3080) 2017-05-16 12:12:29 +02:00
20170520145338_change_language_filter_to_opt_out.rb
20170601210557_add_index_on_media_attachments_account_id.rb Add index to media_attachments.account_id (#3510) 2017-06-02 16:18:54 +02:00
20170604144747_add_foreign_keys_for_accounts.rb
20170606113804_change_tag_search_index_to_btree.rb Lint pass (#8876) 2018-10-04 12:36:53 +02:00
20170609145826_remove_default_language_from_statuses.rb
20170610000000_add_statuses_index_on_account_id_id.rb Add index statuses on account_id and id (#3895) 2017-06-23 17:46:00 +02:00
20170623152212_create_session_activations.rb
20170624134742_add_description_to_session_activations.rb Add overview of active sessions (#3929) 2017-06-25 16:54:30 +02:00
20170625140443_add_access_token_id_to_session_activations.rb
20170711225116_fix_null_booleans.rb
20170713112503_make_tag_search_case_insensitive.rb
20170713175513_create_web_push_subscriptions.rb
20170713190709_add_web_push_subscription_to_session_activations.rb Web Push Notifications (#3243) 2017-07-13 22:15:32 +02:00
20170714184731_add_domain_to_subscriptions.rb
20170716191202_add_hide_notifications_to_mute.rb
20170718211102_add_activitypub_to_accounts.rb
20170720000000_add_index_favourites_on_account_id_and_id.rb
20170823162448_create_status_pins.rb Pinned statuses (#4675) 2017-08-25 01:41:18 +02:00
20170824103029_add_timestamps_to_status_pins.rb Allow multiple pinned statuses to be shown and make them be ordered b… (#4690) 2017-08-25 18:50:52 +02:00
20170829215220_remove_status_pins_account_index.rb Remove unneccesary indices (#4738) 2017-08-30 05:04:20 +02:00
20170901141119_truncate_preview_cards.rb
20170901142658_create_join_table_preview_cards_statuses.rb Make PreviewCard records reuseable between statuses (#4642) 2017-09-01 16:20:16 +02:00
20170905044538_add_index_id_account_id_activity_type_on_notifications.rb
20170905165803_add_local_to_statuses.rb
20170913000752_create_site_uploads.rb
20170917153509_create_custom_emojis.rb
20170918125918_ids_to_bigints.rb
20170920024819_status_ids_to_timestamp_ids.rb Use more robust hook for loading timestamp_id function into database (#15919) 2021-03-19 02:43:13 +01:00
20170920032311_fix_reblogs_in_feeds.rb Spelling (#17705) 2022-03-06 22:51:40 +01:00
20170924022025_ids_to_bigints2.rb Forgotten in #5039, change statuses_tags tag_id to bigint (#5070) 2017-09-24 05:58:07 +02:00
20170927215609_add_description_to_media_attachments.rb
20170928082043_create_email_domain_blocks.rb Implement EmailBlackList (#5109) 2017-10-04 15:16:10 +02:00
20171005102658_create_account_moderation_notes.rb
20171005171936_add_disabled_to_custom_emojis.rb
20171006142024_add_uri_to_custom_emojis.rb
20171010023049_add_foreign_key_to_account_moderation_notes.rb
20171010025614_change_accounts_nonnullable_in_account_moderation_notes.rb
20171020084748_add_visible_in_picker_to_custom_emoji.rb
20171028221157_add_reblogs_to_follows.rb
20171107143332_add_memorial_to_accounts.rb
20171107143624_add_disabled_to_users.rb
20171109012327_add_moderator_to_accounts.rb Add moderator role and add pundit policies for admin actions (#5635) 2017-11-11 20:23:33 +01:00
20171114080328_add_index_domain_to_email_domain_blocks.rb Add uniqueness to block email domains (#5692) 2017-11-14 20:37:17 +01:00
20171114231651_create_lists.rb Lists (#5703) 2017-11-18 00:16:48 +01:00
20171116161857_create_list_accounts.rb
20171118012443_add_moved_to_account_id_to_accounts.rb
20171119172437_create_admin_action_logs.rb
20171122120436_add_index_account_and_reblog_of_id_to_statuses.rb
20171125024930_create_invites.rb
20171125031751_add_invite_id_to_users.rb Fix migrations failing due to strong-migrations update (#13680) 2020-05-08 20:23:16 +02:00
20171125185353_add_index_reblog_of_id_and_account_to_statuses.rb
20171125190735_remove_old_reblog_index_on_statuses.rb
20171129172043_add_index_on_stream_entries.rb
20171130000000_add_embed_url_to_preview_cards.rb
20171201000000_change_account_id_nonnullable_in_lists.rb
20171212195226_remove_duplicate_indexes_in_lists.rb Remove duplicate indexes in lists (#5990) 2017-12-12 17:38:42 +01:00
20171226094803_more_faster_index_on_notifications.rb Use disable_ddl_transaction! to prevent warnings on migration (#6183) 2018-01-04 19:38:29 +01:00
20180106000232_add_index_on_statuses_for_api_v1_accounts_account_id_statuses.rb
20180109143959_add_remember_token_to_users.rb
20180204034416_create_identities.rb CAS + SAML authentication feature (#6425) 2018-02-04 05:42:13 +01:00
20180206000000_change_user_id_nonnullable.rb
20180211015820_create_backups.rb Account archive download (#6460) 2018-02-21 23:21:32 +01:00
20180304013859_add_featured_collection_url_to_accounts.rb Prepare Mastodon for zeitwerk autoloader (#15917) 2021-03-19 02:42:43 +01:00
20180310000000_change_columns_in_notifications_nonnullable.rb
20180402031200_add_assigned_account_id_to_reports.rb
20180402040909_create_report_notes.rb
20180410204633_add_fields_to_accounts.rb Add bio fields (#6645) 2018-04-14 12:41:08 +02:00
20180416210259_add_uri_to_relationships.rb
20180506221944_add_actor_type_to_accounts.rb
20180510214435_add_access_token_id_to_web_push_subscriptions.rb Fix migrations failing due to strong-migrations update (#13680) 2020-05-08 20:23:16 +02:00
20180510230049_migrate_web_push_subscriptions.rb
20180514130000_improve_index_on_statuses_for_api_v1_accounts_account_id_statuses.rb
20180514140000_revert_index_change_on_statuses_for_api_v1_accounts_account_id_statuses.rb
20180528141303_fix_accounts_unique_index.rb Fix some old database migrations (#17379) 2022-01-27 18:13:41 +01:00
20180608213548_reject_following_blocked_users.rb
20180609104432_migrate_web_push_subscriptions2.rb
20180615122121_add_autofollow_to_invites.rb
20180616192031_add_chosen_languages_to_users.rb Change language opt-out to language opt-in (#7823) 2018-06-17 13:54:02 +02:00
20180617162849_remove_unused_indexes.rb Remove unused indexes (#7829) 2018-06-17 18:49:35 +02:00
20180628181026_create_custom_filters.rb
20180707154237_add_whole_word_to_custom_filter.rb Add option to not consider word boundaries when processing keyword filtering (#7975) 2018-07-09 02:22:09 +02:00
20180711152640_create_relays.rb Add federation relay support (#7998) 2018-07-13 02:16:06 +02:00
20180808175627_create_account_pins.rb Public profile endorsements (accounts picked by profile owner) (#8146) 2018-08-09 09:56:53 +02:00
20180812123222_change_relays_enabled.rb
20180812162710_create_status_stats.rb Move status counters to separate table, count replies (#8104) 2018-08-14 19:19:32 +02:00
20180812173710_copy_status_stats.rb
20180814171349_add_confidential_to_doorkeeper_application.rb
20180820232245_add_foreign_key_indices.rb
20180831171112_create_bookmarks.rb
20180929222014_create_account_conversations.rb
20181007025445_create_pghero_space_stats.rb
20181010141500_add_silent_to_mentions.rb
20181017170937_add_reject_reports_to_domain_blocks.rb
20181018205649_add_unread_to_account_conversations.rb
20181024224956_migrate_account_conversations.rb Further preparation for Rails 6 (#15916) 2021-03-19 02:45:34 +01:00
20181026034033_remove_faux_remote_account_duplicates.rb Fix some old migration scripts (#17394) 2022-01-30 21:38:54 +01:00
20181116165755_create_account_stats.rb
20181116173541_copy_account_stats.rb
20181127130500_identity_id_to_bigint.rb
20181127165847_add_show_replies_to_lists.rb Add configuration option to filter replies in lists (#9205) 2020-09-01 13:31:28 +02:00
20181203003808_create_accounts_tags_join_table.rb
20181203021853_add_discoverable_to_accounts.rb
20181204193439_add_last_status_at_to_account_stats.rb
20181204215309_create_account_tag_stats.rb
20181207011115_downcase_custom_emoji_domains.rb Further preparation for Rails 6 (#15916) 2021-03-19 02:45:34 +01:00
20181213184704_create_account_warnings.rb
20181213185533_create_account_warning_presets.rb Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
20181219235220_add_created_by_application_id_to_users.rb
20181226021420_add_also_known_as_to_accounts.rb Add handler for Move activity (#9629) 2018-12-29 02:24:36 +01:00
20190103124649_create_scheduled_statuses.rb
20190103124754_add_scheduled_status_id_to_media_attachments.rb
20190117114553_create_tombstones.rb Add tombstones for remote statuses (#9830) 2019-01-18 15:56:55 +01:00
20190201012802_add_overwrite_to_imports.rb Add option to overwrite imported data (#9962) 2019-02-03 03:59:51 +01:00
20190203180359_create_featured_tags.rb Add featured hashtags to profiles (#9755) 2019-02-04 04:25:59 +01:00
20190225031541_create_polls.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
20190225031625_create_poll_votes.rb
20190226003449_add_poll_id_to_statuses.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
20190304152020_add_uri_to_poll_votes.rb Store remote votes URI (#10158) 2019-03-04 22:51:23 +01:00
20190306145741_add_lock_version_to_polls.rb
20190307234537_add_approved_to_users.rb Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
20190314181829_migrate_open_registrations_setting.rb Migrate existing open_registrations setting to the new registrations_mode (#10269) 2019-03-14 20:10:43 +01:00
20190316190352_create_account_identity_proofs.rb
20190317135723_add_uri_to_reports.rb
20190403141604_add_comment_to_invites.rb Add invite comments (#10465) 2019-08-19 11:40:42 +02:00
20190409054914_create_user_invite_requests.rb Add "why do you want to join" field to invite requests (#10524) 2019-04-09 23:06:30 +09:00
20190420025523_add_blurhash_to_media_attachments.rb
20190509164208_add_by_moderator_to_tombstone.rb
20190511134027_add_silenced_at_suspended_at_to_accounts.rb
20190529143559_preserve_old_layout_for_existing_users.rb
20190627222225_create_custom_emoji_categories.rb
20190627222826_add_category_id_to_custom_emojis.rb
20190701022101_add_trust_level_to_accounts.rb Add a spam check (#11217) 2019-07-13 16:45:50 +02:00
20190705002136_create_domain_allows.rb Add whitelist mode (#11291) 2019-07-30 11:10:46 +02:00
20190715164535_add_instance_actor.rb Fix instance actor being incorrectly created when running migrations (#18109) 2022-04-26 21:22:09 +02:00
20190726175042_add_case_insensitive_index_to_tags.rb
20190729185330_add_score_to_tags.rb
20190805123746_add_capabilities_to_tags.rb Change admin UI for hashtags and add back whitelisted trends (#11490) 2019-08-05 19:54:29 +02:00
20190807135426_add_comments_to_domain_blocks.rb
20190815225426_add_last_status_at_to_tags.rb Add more accurate hashtag search (#11579) 2019-08-18 03:45:51 +02:00
20190819134503_add_deleted_at_to_statuses.rb
20190820003045_update_statuses_index.rb Add soft delete for statuses for instant deletes through API (#11623) 2019-08-22 21:55:56 +02:00
20190823221802_add_local_index_to_statuses.rb
20190901035623_add_max_score_to_tags.rb
20190904222339_create_markers.rb Add timeline read markers API (#11762) 2019-09-06 13:55:51 +02:00
20190914202517_create_account_migrations.rb
20190915194355_create_account_aliases.rb
20190917213523_add_remember_token_index.rb Add users remember_token index (#11881) 2019-09-18 10:58:08 +02:00
20190927232842_add_voters_count_to_polls.rb
20191001213028_add_lock_version_to_account_stats.rb Fix account counters being overwritten by parallel writes (#12045) 2019-10-02 04:59:37 +02:00
20191007013357_update_pt_locales.rb
20191031163205_change_list_account_follow_nullable.rb
20191212003415_increase_backup_size.rb Fix unsafe column type change in migration (#12653) 2019-12-18 19:04:43 +01:00
20191212163405_add_hide_collections_to_accounts.rb
20191218153258_create_announcements.rb
20200113125135_create_announcement_mutes.rb
20200114113335_create_announcement_reactions.rb
20200119112504_add_public_index_to_statuses.rb
20200126203551_add_published_at_to_announcements.rb Fix expired announcements being re-published (#12964) 2020-01-26 22:43:18 +01:00
20200306035625_add_processing_to_media_attachments.rb
20200309150742_add_forwarded_to_reports.rb Add indication to admin UI of whether a report has been forwarded (#13237) 2020-12-15 04:30:15 +01:00
20200312144258_add_title_to_account_warning_presets.rb
20200312162302_add_status_ids_to_announcements.rb
20200312185443_add_parent_id_to_email_domain_blocks.rb
20200317021758_add_expires_at_to_mutes.rb
20200407201300_create_unavailable_domains.rb Change delivery failure tracking to work with hostnames instead of URLs (#13437) 2020-04-15 20:33:24 +02:00
20200407202420_migrate_unavailable_inboxes.rb
20200417125749_add_storage_schema_version.rb
20200508212852_reset_unique_jobs_locks.rb
20200510110808_reset_web_app_secret.rb
20200510181721_remove_duplicated_indexes_pghero.rb
20200516180352_create_devices.rb Add E2EE API (#13820) 2020-06-02 19:24:53 +02:00
20200516183822_create_one_time_keys.rb
20200518083523_create_encrypted_messages.rb Add E2EE API (#13820) 2020-06-02 19:24:53 +02:00
20200521180606_encrypted_message_ids_to_timestamp_ids.rb Add E2EE API (#13820) 2020-06-02 19:24:53 +02:00
20200529214050_add_devices_url_to_accounts.rb
20200601222558_create_system_keys.rb Add E2EE API (#13820) 2020-06-02 19:24:53 +02:00
20200605155027_add_blurhash_to_preview_cards.rb
20200608113046_add_sign_in_token_to_users.rb Add e-mail-based sign in challenge for users with disabled 2FA (#14013) 2020-06-09 10:23:06 +02:00
20200614002136_add_sensitized_to_accounts.rb
20200620164023_add_fixed_lowercase_index_to_accounts.rb
20200622213645_media_attachment_ids_to_timestamp_ids.rb Fix media attachments enumeration (#14254) 2020-07-07 15:26:51 +02:00
20200627125810_add_thumbnail_columns_to_media_attachments.rb
20200628133322_create_account_notes.rb
20200630190240_create_webauthn_credentials.rb
20200630190544_add_webauthn_id_to_users.rb
20200908193330_create_account_deletion_requests.rb
20200917192924_add_notify_to_follows.rb
20200917193034_add_type_to_notifications.rb
20200917222316_add_index_notifications_on_type.rb
20201008202037_create_ip_blocks.rb
20201008220312_add_sign_up_ip_to_users.rb
20201017233919_add_suspension_origin_to_accounts.rb
20201206004238_create_instances.rb
20201218054746_add_obfuscate_to_domain_blocks.rb
20210221045109_create_rules.rb
20210306164523_account_ids_to_timestamp_ids.rb
20210322164601_create_account_summaries.rb
20210323114347_create_follow_recommendations.rb Add cold-start follow recommendations (#15945) 2021-04-12 12:37:14 +02:00
20210324171613_create_follow_recommendation_suppressions.rb
20210416200740_create_canonical_email_blocks.rb
20210421121431_add_case_insensitive_btree_index_to_tags.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20210425135952_add_index_on_media_attachments_account_id_status_id.rb
20210505174616_update_follow_recommendations_to_version_2.rb Do not populate AccountSummaries and FollowRecommendation views on migration (#16173) 2021-05-07 18:14:29 +02:00
20210609202149_create_login_activities.rb
20210616214526_create_user_ips.rb Remove IP tracking columns from users table (#16409) 2022-01-16 13:23:50 +01:00
20210621221010_add_skip_sign_in_token_to_users.rb
20210630000137_fix_canonical_email_blocks_foreign_key.rb Fix missing on_delete: :cascade for canonical_email_blocks foreign key (#16448) 2021-06-30 06:13:55 +02:00
20210722120340_create_account_statuses_cleanup_policies.rb
20210904215403_add_edited_at_to_statuses.rb Add support for editing for published statuses (#16697) 2022-01-19 22:37:27 +01:00
20210908220918_create_status_edits.rb Add support for editing for published statuses (#16697) 2022-01-19 22:37:27 +01:00
20211031031021_create_preview_card_providers.rb
20211112011713_add_language_to_preview_cards.rb
20211115032527_add_trendable_to_preview_cards.rb
20211123212714_add_link_type_to_preview_cards.rb
20211213040746_update_account_summaries_to_version_2.rb Fix follow recommendation biased towards older accounts (#17126) 2021-12-13 23:21:14 +01:00
20211231080958_add_category_to_reports.rb Add notifications for statuses deleted by moderators (#17204) 2022-01-17 09:41:33 +01:00
20220105163928_remove_mentions_status_id_index.rb Remove old duplicate index (#17245) 2022-01-23 13:53:58 +01:00
20220115125126_add_report_id_to_account_warnings.rb
20220115125341_fix_account_warning_actions.rb
20220116202951_add_deleted_at_index_on_statuses.rb Add notifications for statuses deleted by moderators (#17204) 2022-01-17 09:41:33 +01:00
20220124141035_create_appeals.rb Add appeals (#17364) 2022-02-14 21:27:53 +01:00
20220202200743_add_trendable_to_accounts.rb
20220202200926_add_trendable_to_statuses.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
20220210153119_add_overruled_at_to_account_warnings.rb Add appeals (#17364) 2022-02-14 21:27:53 +01:00
20220224010024_add_ips_to_email_domain_blocks.rb Change e-mail domain blocks to block IPs dynamically (#17635) 2022-02-24 17:28:23 +01:00
20220227041951_add_last_used_at_to_oauth_access_tokens.rb Change authorized applications page (#17656) 2022-03-01 16:48:58 +01:00
20220302232632_add_ordered_media_attachment_ids_to_statuses.rb
20220303000827_add_ordered_media_attachment_ids_to_status_edits.rb
20220304195405_migrate_hide_network_preference.rb Add /api/v1/accounts/familiar_followers to REST API (#17700) 2022-03-07 09:36:47 +01:00
20220307094650_fix_featured_tags_constraints.rb Fix data integrity of featured tags (#17712) 2022-03-09 08:51:12 +01:00
20220309213005_fix_reblog_deleted_at.rb
20220316233212_update_kurdish_locales.rb
20220428112511_add_index_statuses_on_account_id.rb Add some missing indexes on foreign keys (#18157) 2022-04-28 17:15:11 +02:00
20220428112727_add_index_statuses_pins_on_status_id.rb
20220428114454_add_index_reports_on_assigned_account_id.rb
20220428114902_add_index_reports_on_action_taken_by_account_id.rb
20220606044941_create_webhooks.rb
20220613110628_create_custom_filter_keywords.rb Revamp post filtering system (#18058) 2022-06-28 09:42:13 +02:00
20220613110711_migrate_custom_filters.rb
20220613110834_add_action_to_custom_filters.rb Revamp post filtering system (#18058) 2022-06-28 09:42:13 +02:00