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/db/migrate
santiagorodriguez96 e8d41bc2fe
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA

This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.

Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>

* feat: add request for WebAuthn as second factor at login if enabled

This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.

Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>

* feat: add possibility of deleting WebAuthn Credentials

Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>

* feat: disable WebAuthn when an Admin disables 2FA for a user

Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>

* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA

Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.

* We had to change a little the flow for setting up TOTP, given that now
  it's possible to setting up again if you already had TOTP, in order to
  let users modify their authenticator app – given that now it's not
  possible for them to disable TOTP and set it up again with another
  authenticator app.
  So, basically, now instead of storing the new `otp_secret` in the
  user, we store it in the session until the process of set up is
  finished.
  This was because, as it was before, when users clicked on 'Edit' in
  the new two-factor methods lists page, but then went back without
  finishing the flow, their `otp_secret` had been changed therefore
  invalidating their previous authenticator app, making them unable to
  log in again using TOTP.

Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>

* refactor: fix eslint errors

The PR build was failing given that linting returning some errors.
This commit attempts to fix them.

* refactor: normalize i18n translations

The build was failing given that i18n translations files were not
normalized.
This commits fixes that.

* refactor: avoid having the webauthn gem locked to a specific version

* refactor: use symbols for routes without '/'

* refactor: avoid sending webauthn disabled email when 2FA is disabled

When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.

* refactor: avoid creating new env variable for webauthn_origin config

* refactor: improve flash error messages for webauthn pages

Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
4 years ago
..
20160220174730_create_accounts.rb Add migration versions (#3574) 8 years ago
20160220211917_create_statuses.rb Add migration versions (#3574) 8 years ago
20160221003140_create_users.rb Add migration versions (#3574) 8 years ago
20160221003621_create_follows.rb Add migration versions (#3574) 8 years ago
20160222122600_create_stream_entries.rb Add migration versions (#3574) 8 years ago
20160222143943_add_profile_fields_to_accounts.rb Add migration versions (#3574) 8 years ago
20160223162837_add_metadata_to_statuses.rb Add migration versions (#3574) 8 years ago
20160223164502_make_uris_nullable_in_statuses.rb Add migration versions (#3574) 8 years ago
20160223165723_add_url_to_statuses.rb Add migration versions (#3574) 8 years ago
20160223165855_add_url_to_accounts.rb Add migration versions (#3574) 8 years ago
20160223171800_create_favourites.rb Add migration versions (#3574) 8 years ago
20160224223247_create_mentions.rb Add migration versions (#3574) 8 years ago
20160227230233_add_attachment_avatar_to_accounts.rb Add migration versions (#3574) 8 years ago
20160305115639_add_devise_to_users.rb Add migration versions (#3574) 8 years ago
20160306172223_create_doorkeeper_tables.rb Lint pass (#8876) 6 years ago
20160312193225_add_attachment_header_to_accounts.rb Add migration versions (#3574) 8 years ago
20160314164231_add_owner_to_application.rb lint pass 2 (#8878) 6 years ago
20160316103650_add_missing_indices.rb Add migration versions (#3574) 8 years ago
20160322193748_add_avatar_remote_url_to_accounts.rb Add migration versions (#3574) 8 years ago
20160325130944_add_admin_to_users.rb Add migration versions (#3574) 8 years ago
20160826155805_add_superapp_to_oauth_applications.rb The frontend will now be an OAuth app, auto-authorized. The frontend will use an access token for API requests 8 years ago
20160905150353_create_media_attachments.rb Add API to upload media attachments 8 years ago
20160919221059_add_subscription_expires_at_to_accounts.rb Separate PuSH subscriptions from following, add mastodon:push:refresh task, 8 years ago
20160920003904_remove_verify_token_from_accounts.rb Upgrade to PubSubHubbub 0.4 (removing verify_token) 8 years ago
20160926213048_remove_owner_from_application.rb Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app 8 years ago
20161003142332_add_confirmable_to_users.rb Adding e-mail confirmations 8 years ago
20161003145426_create_blocks.rb Adding a block model and filter mentions from blocked users (fix #60) 8 years ago
20161006213403_rails_settings_migration.rb Lint pass (#8876) 6 years ago
20161009120834_create_domain_blocks.rb Adding domain blocks 8 years ago
20161027172456_add_silenced_to_accounts.rb Adding public timeline silencing 8 years ago
20161104173623_create_tags.rb Adding hashtag model 8 years ago
20161105130633_create_statuses_tags_join_table.rb Adding hashtags 8 years ago
20161116162355_add_locale_to_users.rb Add user locale setting 8 years ago
20161119211120_create_notifications.rb Adding notifications column 8 years ago
20161122163057_remove_unneeded_indexes.rb Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously 8 years ago
20161123093447_add_sensitive_to_statuses.rb Adding sensitive marker to statuses in API 8 years ago
20161128103007_create_subscriptions.rb Adding embedded PuSH server 8 years ago
20161130142058_add_last_successful_delivery_at_to_subscriptions.rb Track successful PuSH deliveries 8 years ago
20161130185319_add_visibility_to_statuses.rb Per-status control for unlisted mode, also federation for unlisted mode 8 years ago
20161202132159_add_in_reply_to_account_id_to_statuses.rb Fix older migrations not working due to new default scope (#11983) 5 years ago
20161203164520_add_from_account_id_to_notifications.rb Keep timelines in the UI trimmed when possible 8 years ago
20161205214545_add_suspended_to_accounts.rb Add account suspension 8 years ago
20161221152630_add_hidden_to_stream_entries.rb Private visibility on statuses prevents non-followers from seeing those 8 years ago
20161222201034_add_locked_to_accounts.rb Add "locked" flag to accounts, prevent blocked users from following, force-unfollow blocked users 8 years ago
20161222204147_create_follow_requests.rb Follow call on locked account creates follow request instead 8 years ago
20170105224407_add_shortcode_to_media_attachments.rb lint pass 2 (#8878) 6 years ago
20170109120109_create_web_settings.rb Persist UI settings, add missing localizations for German 8 years ago
20170112154826_migrate_settings.rb Add migration versions (#3574) 8 years ago
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 8 years ago
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 8 years ago
20170119214911_create_preview_cards.rb Fix #463 - Fetch and display previews of URLs using OpenGraph tags 8 years ago
20170123162658_add_severity_to_domain_blocks.rb Domain blocks now have varying severity - auto-suspend vs auto-silence 8 years ago
20170123203248_add_reject_media_to_domain_blocks.rb Optional domain block attribute that prevents media attachments from being downloaded 8 years ago
20170125145934_add_spoiler_text_to_statuses.rb Fix spoiler_text not having "not null" constraint 8 years ago
20170127165745_add_devise_two_factor_to_users.rb Added optional two-factor authentication 8 years ago
20170205175257_remove_devices.rb Add E2EE API (#13820) 5 years ago
20170209184350_add_reply_to_statuses.rb Fix older migrations not working due to new default scope (#11983) 5 years ago
20170214110202_create_reports.rb Adding POST /api/v1/reports API, and a UI for submitting reports 8 years ago
20170217012631_add_reblog_of_id_foreign_key_to_statuses.rb Add foreign key to prevent reblogs of non-existent (after race conditions) statuses from happening 8 years ago
20170301222600_create_mutes.rb Feature conversations muting (#3017) 8 years ago
20170303212857_add_last_emailed_at_to_users.rb Add digest e-mails 8 years ago
20170304202101_add_type_to_media_attachments.rb Fix #431 - convert gif to webm during upload. Web UI treats them like it did 8 years ago
20170317193015_add_search_index_to_accounts.rb Make account search blazing fast and rank followers/followees higher in the results 8 years ago
20170318214217_add_header_remote_url_to_accounts.rb Federate header images, fix open-uri http->https redirection error 8 years ago
20170322021028_add_lowercase_index_to_accounts.rb More efficient single account retrieval (0.9ms vs 50ms before) 8 years ago
20170322143850_change_primary_key_to_bigint_on_statuses.rb Upgrade status IDs to bigint 8 years ago
20170322162804_add_search_index_to_tags.rb Fix full-text search query quotation, improve tag search performance with an index, 8 years ago
20170330021336_add_counter_caches.rb Fix up null values on latest migration, add notes 8 years ago
20170330163835_create_imports.rb Import feature for following/blocking lists (addresses #62, #177, #201, #454) 8 years ago
20170330164118_add_attachment_data_to_imports.rb Add migration versions (#3574) 8 years ago
20170403172249_add_action_taken_by_account_id_to_reports.rb Add basic logging of who resolved report 8 years ago
20170405112956_add_index_on_mentions_status_id.rb Add index on mentions status_id 8 years ago
20170406215816_add_notifications_and_favourites_indices.rb Low-hanging fruit of query optimization, these indices were missing 8 years ago
20170409170753_add_last_webfingered_at_to_accounts.rb Refresh webfinger (#1323) 8 years ago
20170414080609_add_devise_two_factor_backupable_to_users.rb Add recovery code support for two-factor auth (#1773) 8 years ago
20170414132105_add_language_to_statuses.rb Add language detection (#1772) 8 years ago
20170418160728_add_indexes_to_reports_for_accounts.rb Admin reports with accounts (#2092) 8 years ago
20170423005413_add_allowed_languages_to_user.rb Filter on allowed user language preferences (#2361) 8 years ago
20170424003227_create_account_domain_blocks.rb Account domain blocks (#2381) 8 years ago
20170424112722_add_status_id_index_to_statuses_tags.rb Add index to statuses_tags#status_id (#2394) 8 years ago
20170425131920_add_media_attachment_meta.rb Add media dimensions (#2448) 8 years ago
20170425202925_add_oembed_to_preview_cards.rb OEmbed support for PreviewCard (#2337) 8 years ago
20170427011934_re_add_owner_to_application.rb Application prefs section (#2758) 7 years ago
20170506235850_create_conversations.rb Add conversation model, <ostatus:conversation /> (#3016) 8 years ago
20170507000211_add_conversation_id_to_statuses.rb Add conversation model, <ostatus:conversation /> (#3016) 8 years ago
20170507141759_optimize_index_subscriptions.rb Add effective index to subscriptions (#2885) 8 years ago
20170508230434_create_conversation_mutes.rb Feature conversations muting (#3017) 8 years ago
20170516072309_add_index_accounts_on_uri.rb Make faster ProcessFeedService (#3080) 8 years ago
20170520145338_change_language_filter_to_opt_out.rb Filter languages with opt out (#3175) 8 years ago
20170601210557_add_index_on_media_attachments_account_id.rb Add index to media_attachments.account_id (#3510) 8 years ago
20170604144747_add_foreign_keys_for_accounts.rb Fix #3550 - Add all missing foreign keys (#3562) 8 years ago
20170606113804_change_tag_search_index_to_btree.rb Lint pass (#8876) 6 years ago
20170609145826_remove_default_language_from_statuses.rb Language detection defaults to nil (#3666) 8 years ago
20170610000000_add_statuses_index_on_account_id_id.rb Add index statuses on account_id and id (#3895) 8 years ago
20170623152212_create_session_activations.rb Revocable sessions (#3616) 8 years ago
20170624134742_add_description_to_session_activations.rb Add overview of active sessions (#3929) 8 years ago
20170625140443_add_access_token_id_to_session_activations.rb Bind web UI access tokens to sessions (#3940) 8 years ago
20170711225116_fix_null_booleans.rb Fix old migrations failing because of strong_migrations update (#12692) 5 years ago
20170713112503_make_tag_search_case_insensitive.rb Make tag search case insensitive again (#4184) 8 years ago
20170713175513_create_web_push_subscriptions.rb Web Push Notifications (#3243) 8 years ago
20170713190709_add_web_push_subscription_to_session_activations.rb Web Push Notifications (#3243) 8 years ago
20170714184731_add_domain_to_subscriptions.rb Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205) 8 years ago
20170716191202_add_hide_notifications_to_mute.rb Lint pass (#8876) 6 years ago
20170718211102_add_activitypub_to_accounts.rb Add ActivityPub attributes to accounts (#4273) 8 years ago
20170720000000_add_index_favourites_on_account_id_and_id.rb Add index favourites on account_id and id (#4360) 8 years ago
20170823162448_create_status_pins.rb Pinned statuses (#4675) 7 years ago
20170824103029_add_timestamps_to_status_pins.rb Allow multiple pinned statuses to be shown and make them be ordered b… (#4690) 7 years ago
20170829215220_remove_status_pins_account_index.rb Remove unneccesary indices (#4738) 7 years ago
20170901141119_truncate_preview_cards.rb Make PreviewCard records reuseable between statuses (#4642) 7 years ago
20170901142658_create_join_table_preview_cards_statuses.rb Make PreviewCard records reuseable between statuses (#4642) 7 years ago
20170905044538_add_index_id_account_id_activity_type_on_notifications.rb add index_notifications_on_id_and_account_id_and_activity_type on notifications table (#4750) 7 years ago
20170905165803_add_local_to_statuses.rb Fix locking migration on statuses table. Nullable column and NO default value (#4825) 7 years ago
20170913000752_create_site_uploads.rb Uploads for admin site settings (#4913) 7 years ago
20170917153509_create_custom_emojis.rb Custom emoji (#4988) 7 years ago
20170918125918_ids_to_bigints.rb Fix interactive delays in database migrations with no TTY (#12969) 5 years ago
20170920024819_status_ids_to_timestamp_ids.rb Fix typo in a db:rollback script (#5422) 7 years ago
20170920032311_fix_reblogs_in_feeds.rb Lint pass (#8876) 6 years ago
20170924022025_ids_to_bigints2.rb Forgotten in #5039, change statuses_tags tag_id to bigint (#5070) 7 years ago
20170927215609_add_description_to_media_attachments.rb Add ability to specify alternative text for media attachments (#5123) 7 years ago
20170928082043_create_email_domain_blocks.rb Implement EmailBlackList (#5109) 7 years ago
20171005102658_create_account_moderation_notes.rb Fix old migrations failing because of new version of `strong_migrations` (#10904) 6 years ago
20171005171936_add_disabled_to_custom_emojis.rb Improve admin UI for custom emojis, add copy/disable/enable (#5231) 7 years ago
20171006142024_add_uri_to_custom_emojis.rb Encode custom emojis as resolveable objects in ActivityPub (#5243) 7 years ago
20171010023049_add_foreign_key_to_account_moderation_notes.rb Fix old migrations failing because of new version of `strong_migrations` (#10904) 6 years ago
20171010025614_change_accounts_nonnullable_in_account_moderation_notes.rb Fix old migrations failing because of strong_migrations update (#12692) 5 years ago
20171020084748_add_visible_in_picker_to_custom_emoji.rb Feature: Unlisted custom emojis (#5485) 7 years ago
20171028221157_add_reblogs_to_follows.rb Lint pass (#8876) 6 years ago
20171107143332_add_memorial_to_accounts.rb Add ability to disable login and mark accounts as memorial (#5615) 7 years ago
20171107143624_add_disabled_to_users.rb Add ability to disable login and mark accounts as memorial (#5615) 7 years ago
20171109012327_add_moderator_to_accounts.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
20171114080328_add_index_domain_to_email_domain_blocks.rb Add uniqueness to block email domains (#5692) 7 years ago
20171114231651_create_lists.rb Lists (#5703) 7 years ago
20171116161857_create_list_accounts.rb Lists (#5703) 7 years ago
20171118012443_add_moved_to_account_id_to_accounts.rb Fix old migrations failing because of new version of `strong_migrations` (#10904) 6 years ago
20171119172437_create_admin_action_logs.rb Add logging of admin actions (#5757) 7 years ago
20171122120436_add_index_account_and_reblog_of_id_to_statuses.rb Merge indexes for reblog on statuses table (#5831) 7 years ago
20171125024930_create_invites.rb Add consumable invites (#5814) 7 years ago
20171125031751_add_invite_id_to_users.rb Fix migrations failing due to strong-migrations update (#13680) 5 years ago
20171125185353_add_index_reblog_of_id_and_account_to_statuses.rb Merge indexes for reblog on statuses table (#5831) 7 years ago
20171125190735_remove_old_reblog_index_on_statuses.rb Merge indexes for reblog on statuses table (#5831) 7 years ago
20171129172043_add_index_on_stream_entries.rb Use disable_ddl_transaction! to prevent warnings on migration (#6183) 7 years ago
20171130000000_add_embed_url_to_preview_cards.rb Add embed_url to preview cards (#5775) 7 years ago
20171201000000_change_account_id_nonnullable_in_lists.rb Fix old migrations failing because of strong_migrations update (#12692) 5 years ago
20171212195226_remove_duplicate_indexes_in_lists.rb Remove duplicate indexes in lists (#5990) 7 years ago
20171226094803_more_faster_index_on_notifications.rb Use disable_ddl_transaction! to prevent warnings on migration (#6183) 7 years ago
20180106000232_add_index_on_statuses_for_api_v1_accounts_account_id_statuses.rb add index on statuses for /api/v1/accounts/:account_id/statuses (#6202) 7 years ago
20180109143959_add_remember_token_to_users.rb pam authentication (#5303) 7 years ago
20180204034416_create_identities.rb CAS + SAML authentication feature (#6425) 7 years ago
20180206000000_change_user_id_nonnullable.rb Fix old migrations failing because of strong_migrations update (#12787) 5 years ago
20180211015820_create_backups.rb Account archive download (#6460) 7 years ago
20180304013859_add_featured_collection_url_to_accounts.rb Federate pinned statuses over ActivityPub (#6610) 7 years ago
20180310000000_change_columns_in_notifications_nonnullable.rb Fix old migrations failing because of strong_migrations update (#12692) 5 years ago
20180402031200_add_assigned_account_id_to_reports.rb Fix migrations failing due to strong-migrations update (#13680) 5 years ago
20180402040909_create_report_notes.rb Fix old migrations failing because of new version of `strong_migrations` (#11018) 6 years ago
20180410204633_add_fields_to_accounts.rb Add bio fields (#6645) 7 years ago
20180416210259_add_uri_to_relationships.rb Store URIs of follows, follow requests and blocks for ActivityPub (#7160) 7 years ago
20180506221944_add_actor_type_to_accounts.rb Bot nameplates (#7391) 7 years ago
20180510214435_add_access_token_id_to_web_push_subscriptions.rb Fix migrations failing due to strong-migrations update (#13680) 5 years ago
20180510230049_migrate_web_push_subscriptions.rb Add REST API for Web Push Notifications subscriptions (#7445) 7 years ago
20180514130000_improve_index_on_statuses_for_api_v1_accounts_account_id_statuses.rb fix : Disable reverted index changes (#7871) 7 years ago
20180514140000_revert_index_change_on_statuses_for_api_v1_accounts_account_id_statuses.rb Fix index detection a migration to revert index change (#8026) 7 years ago
20180528141303_fix_accounts_unique_index.rb Fix interactive delays in database migrations with no TTY (#12969) 5 years ago
20180608213548_reject_following_blocked_users.rb Migration to cleanup blocked users that are still following (#7773) 7 years ago
20180609104432_migrate_web_push_subscriptions2.rb Migrate old web push subscriptions to ensure deliveries (#7764) 7 years ago
20180615122121_add_autofollow_to_invites.rb Add autofollow option to invites (#7805) 7 years ago
20180616192031_add_chosen_languages_to_users.rb Change language opt-out to language opt-in (#7823) 7 years ago
20180617162849_remove_unused_indexes.rb Remove unused indexes (#7829) 7 years ago
20180628181026_create_custom_filters.rb Keyword/phrase filtering (#7905) 7 years ago
20180707154237_add_whole_word_to_custom_filter.rb Add option to not consider word boundaries when processing keyword filtering (#7975) 7 years ago
20180711152640_create_relays.rb Add federation relay support (#7998) 7 years ago
20180808175627_create_account_pins.rb Public profile endorsements (accounts picked by profile owner) (#8146) 7 years ago
20180812123222_change_relays_enabled.rb Expect relays to answer with accept/reject (#8179) 7 years ago
20180812162710_create_status_stats.rb Move status counters to separate table, count replies (#8104) 6 years ago
20180812173710_copy_status_stats.rb Add fallback for PostgreSQL without upsert in CopyStatusStats (#8903) 6 years ago
20180814171349_add_confidential_to_doorkeeper_application.rb Upgrade Doorkeeper to 4.4.1 (#8197) 6 years ago
20180820232245_add_foreign_key_indices.rb Add missing indices for ON DELETE CASCADE constraints (#8332) 6 years ago
20180831171112_create_bookmarks.rb Add bookmarks (#7107) 5 years ago
20180929222014_create_account_conversations.rb Add conversations API (#8832) 6 years ago
20181007025445_create_pghero_space_stats.rb Track historical space stats in PgHero to determine PostgreSQL growth (#8906) 6 years ago
20181010141500_add_silent_to_mentions.rb Improve support for aspects/circles (#8950) 6 years ago
20181017170937_add_reject_reports_to_domain_blocks.rb Add option to block reports from domain (#8830) 6 years ago
20181018205649_add_unread_to_account_conversations.rb Add unread indicator to conversations (#9009) 6 years ago
20181024224956_migrate_account_conversations.rb Fix interactive delays in database migrations with no TTY (#12969) 5 years ago
20181026034033_remove_faux_remote_account_duplicates.rb Add locality check to ActivityPub::FetchRemoteAccountService (#9109) 6 years ago
20181116165755_create_account_stats.rb Extract counters from accounts table to account_stats table (#9295) 6 years ago
20181116173541_copy_account_stats.rb Fix slow fallback of CopyAccountStats migration setting stats to 0 (#9930) 6 years ago
20181127130500_identity_id_to_bigint.rb Change identities id column to a bigint (#9371) 6 years ago
20181203003808_create_accounts_tags_join_table.rb Add profile directory (#9427) 6 years ago
20181203021853_add_discoverable_to_accounts.rb Add profile directory (#9427) 6 years ago
20181204193439_add_last_status_at_to_account_stats.rb Add profile directory (#9427) 6 years ago
20181204215309_create_account_tag_stats.rb Add profile directory (#9427) 6 years ago
20181207011115_downcase_custom_emoji_domains.rb Fix regression in custom emoji migration (#9742) 6 years ago
20181213184704_create_account_warnings.rb Add moderation warnings (#9519) 6 years ago
20181213185533_create_account_warning_presets.rb Add moderation warnings (#9519) 6 years ago
20181219235220_add_created_by_application_id_to_users.rb Fix migrations failing due to strong-migrations update (#13680) 5 years ago
20181226021420_add_also_known_as_to_accounts.rb Add handler for Move activity (#9629) 6 years ago
20190103124649_create_scheduled_statuses.rb Add scheduled statuses (#9706) 6 years ago
20190103124754_add_scheduled_status_id_to_media_attachments.rb Fix migrations failing due to strong-migrations update (#13680) 5 years ago
20190117114553_create_tombstones.rb Add tombstones for remote statuses (#9830) 6 years ago
20190201012802_add_overwrite_to_imports.rb Add option to overwrite imported data (#9962) 6 years ago
20190203180359_create_featured_tags.rb Add featured hashtags to profiles (#9755) 6 years ago
20190225031541_create_polls.rb Add polls (#10111) 6 years ago
20190225031625_create_poll_votes.rb Add polls (#10111) 6 years ago
20190226003449_add_poll_id_to_statuses.rb Add polls (#10111) 6 years ago
20190304152020_add_uri_to_poll_votes.rb Store remote votes URI (#10158) 6 years ago
20190306145741_add_lock_version_to_polls.rb Fix AddLockVersionToPolls migration (#10200) 6 years ago
20190307234537_add_approved_to_users.rb Admission-based registrations mode (#10250) 6 years ago
20190314181829_migrate_open_registrations_setting.rb Migrate existing `open_registrations` setting to the new `registrations_mode` (#10269) 6 years ago
20190316190352_create_account_identity_proofs.rb Add Keybase integration (#10297) 6 years ago
20190317135723_add_uri_to_reports.rb Set and store report URIs (#10303) 6 years ago
20190403141604_add_comment_to_invites.rb Add invite comments (#10465) 5 years ago
20190409054914_create_user_invite_requests.rb Add "why do you want to join" field to invite requests (#10524) 6 years ago
20190420025523_add_blurhash_to_media_attachments.rb Add blurhash (#10630) 6 years ago
20190509164208_add_by_moderator_to_tombstone.rb Record deleted(by mod) status to prevent re-appear (#10732) 6 years ago
20190511134027_add_silenced_at_suspended_at_to_accounts.rb Record account suspend/silence time and keep track of domain blocks (#10660) 6 years ago
20190529143559_preserve_old_layout_for_existing_users.rb Change default to single column UI (#10847) 6 years ago
20190627222225_create_custom_emoji_categories.rb Add categories for custom emojis (#11196) 6 years ago
20190627222826_add_category_id_to_custom_emojis.rb Add categories for custom emojis (#11196) 6 years ago
20190701022101_add_trust_level_to_accounts.rb Add a spam check (#11217) 6 years ago
20190705002136_create_domain_allows.rb Add whitelist mode (#11291) 6 years ago
20190715164535_add_instance_actor.rb Add ActivityPub actor representing the entire server (#11321) 6 years ago
20190726175042_add_case_insensitive_index_to_tags.rb Fix tag normalization and migration not removing duplicate tags (#11441) 6 years ago
20190729185330_add_score_to_tags.rb Add hashtag score for better sorting of autosuggestions (#11427) 6 years ago
20190805123746_add_capabilities_to_tags.rb Change admin UI for hashtags and add back whitelisted trends (#11490) 6 years ago
20190807135426_add_comments_to_domain_blocks.rb Add domain block notes (#11515) 6 years ago
20190815225426_add_last_status_at_to_tags.rb Add more accurate hashtag search (#11579) 5 years ago
20190819134503_add_deleted_at_to_statuses.rb Add soft delete for statuses for instant deletes through API (#11623) 5 years ago
20190820003045_update_statuses_index.rb Add soft delete for statuses for instant deletes through API (#11623) 5 years ago
20190823221802_add_local_index_to_statuses.rb Fix slow local timeline query (#11648) 5 years ago
20190901035623_add_max_score_to_tags.rb Change trending hashtags to not disappear instantly after midnight (#11712) 5 years ago
20190904222339_create_markers.rb Add timeline read markers API (#11762) 5 years ago
20190914202517_create_account_migrations.rb Add account migration UI (#11846) 5 years ago
20190915194355_create_account_aliases.rb Add account migration UI (#11846) 5 years ago
20190917213523_add_remember_token_index.rb Add users remember_token index (#11881) 5 years ago
20190927232842_add_voters_count_to_polls.rb Add voters count support (#11917) 5 years ago
20191001213028_add_lock_version_to_account_stats.rb Fix account counters being overwritten by parallel writes (#12045) 5 years ago
20191007013357_update_pt_locales.rb Fix existing user records with now-renamed `pt` locale (#12092) 5 years ago
20191031163205_change_list_account_follow_nullable.rb Fix old migrations failing because of strong_migrations update (#12787) 5 years ago
20191212003415_increase_backup_size.rb Fix unsafe column type change in migration (#12653) 5 years ago
20191212163405_add_hide_collections_to_accounts.rb Add federation support for the "hide network" preference (#11673) 5 years ago
20191218153258_create_announcements.rb Add announcements (#12662) 5 years ago
20200113125135_create_announcement_mutes.rb Add announcements (#12662) 5 years ago
20200114113335_create_announcement_reactions.rb Add announcements (#12662) 5 years ago
20200119112504_add_public_index_to_statuses.rb Fix slow query of federated timeline (#12886) 5 years ago
20200126203551_add_published_at_to_announcements.rb Fix expired announcements being re-published (#12964) 5 years ago
20200306035625_add_processing_to_media_attachments.rb Change local media attachments to perform heavy processing asynchronously (#13210) 5 years ago
20200312144258_add_title_to_account_warning_presets.rb Add titles to warning presets in admin UI (#13252) 5 years ago
20200312162302_add_status_ids_to_announcements.rb Fix PostgreSQL load when linking in announcements (#13250) 5 years ago
20200312185443_add_parent_id_to_email_domain_blocks.rb Fix migrations failing due to strong-migrations update (#13680) 5 years ago
20200407201300_create_unavailable_domains.rb Change delivery failure tracking to work with hostnames instead of URLs (#13437) 5 years ago
20200407202420_migrate_unavailable_inboxes.rb Fix migration 20200407202420_migrate_unavailable_inboxes (#13481) 5 years ago
20200417125749_add_storage_schema_version.rb Add separate cache directory for non-local uploads (#12821) 5 years ago
20200508212852_reset_unique_jobs_locks.rb Fix old unique jobs digests not having been cleaned up (#13683) 5 years ago
20200510110808_reset_web_app_secret.rb Reset secret of web app that could have been exposed by Doorkeeper (#13688) 5 years ago
20200510181721_remove_duplicated_indexes_pghero.rb Fix RemoveDuplicatedIndexesPghero to check for the existence of the index (#14259) 5 years ago
20200516180352_create_devices.rb Add E2EE API (#13820) 5 years ago
20200516183822_create_one_time_keys.rb Add E2EE API (#13820) 5 years ago
20200518083523_create_encrypted_messages.rb Add E2EE API (#13820) 5 years ago
20200521180606_encrypted_message_ids_to_timestamp_ids.rb Add E2EE API (#13820) 5 years ago
20200529214050_add_devices_url_to_accounts.rb Add E2EE API (#13820) 5 years ago
20200601222558_create_system_keys.rb Add E2EE API (#13820) 5 years ago
20200605155027_add_blurhash_to_preview_cards.rb Add blurhash to preview cards (#13984) 5 years ago
20200608113046_add_sign_in_token_to_users.rb Add e-mail-based sign in challenge for users with disabled 2FA (#14013) 5 years ago
20200620164023_add_fixed_lowercase_index_to_accounts.rb Fix unique username constraint for local users not being enforced in database (#14099) 5 years ago
20200622213645_media_attachment_ids_to_timestamp_ids.rb Fix media attachments enumeration (#14254) 5 years ago
20200627125810_add_thumbnail_columns_to_media_attachments.rb Add customizable thumbnails for audio and video attachments (#14145) 5 years ago
20200628133322_create_account_notes.rb Add user notes on accounts (#14148) 5 years ago
20200630190240_create_webauthn_credentials.rb Add WebAuthn as an alternative 2FA method (#14466) 4 years ago
20200630190544_add_webauthn_id_to_users.rb Add WebAuthn as an alternative 2FA method (#14466) 4 years ago