mastodon/db/migrate
Eugen Rochko ed7dc1704d Bind web UI access tokens to sessions (#3940)
* Add overview of active sessions

* Better display of browser/platform name

* Improve how browser information is stored and displayed for sessions overview

* Fix test

* Fix #2347 - Bind web UI access token to session

When you logout, session also destroys the access token, so it's no longer
valid. If access token is destroyed some other way, the session is also
destroyed, requiring a re-login.

Fix #1681 - Add scheduler to remove revoked access tokens and grants

* Fix test
2017-06-25 23:51:32 +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 Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160221003621_create_follows.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160222122600_create_stream_entries.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160222143943_add_profile_fields_to_accounts.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160223162837_add_metadata_to_statuses.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
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 Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160223165855_add_url_to_accounts.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160223171800_create_favourites.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
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 Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160312193225_add_attachment_header_to_accounts.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160314164231_add_owner_to_application.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160316103650_add_missing_indices.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160322193748_add_avatar_remote_url_to_accounts.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160325130944_add_admin_to_users.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20160826155805_add_superapp_to_oauth_applications.rb
20160905150353_create_media_attachments.rb Add API to upload media attachments 2016-09-05 17:46:36 +02:00
20160919221059_add_subscription_expires_at_to_accounts.rb
20160920003904_remove_verify_token_from_accounts.rb
20160926213048_remove_owner_from_application.rb
20161003142332_add_confirmable_to_users.rb
20161003145426_create_blocks.rb
20161006213403_rails_settings_migration.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20161009120834_create_domain_blocks.rb
20161027172456_add_silenced_to_accounts.rb
20161104173623_create_tags.rb
20161105130633_create_statuses_tags_join_table.rb
20161116162355_add_locale_to_users.rb
20161119211120_create_notifications.rb
20161122163057_remove_unneeded_indexes.rb
20161123093447_add_sensitive_to_statuses.rb
20161128103007_create_subscriptions.rb
20161130142058_add_last_successful_delivery_at_to_subscriptions.rb
20161130185319_add_visibility_to_statuses.rb
20161202132159_add_in_reply_to_account_id_to_statuses.rb
20161203164520_add_from_account_id_to_notifications.rb
20161205214545_add_suspended_to_accounts.rb
20161221152630_add_hidden_to_stream_entries.rb
20161222201034_add_locked_to_accounts.rb
20161222204147_create_follow_requests.rb
20170105224407_add_shortcode_to_media_attachments.rb
20170109120109_create_web_settings.rb
20170112154826_migrate_settings.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
20170114194937_add_application_to_statuses.rb
20170114203041_add_website_to_oauth_application.rb
20170119214911_create_preview_cards.rb
20170123162658_add_severity_to_domain_blocks.rb
20170123203248_add_reject_media_to_domain_blocks.rb
20170125145934_add_spoiler_text_to_statuses.rb
20170127165745_add_devise_two_factor_to_users.rb
20170129000348_create_devices.rb
20170205175257_remove_devices.rb
20170209184350_add_reply_to_statuses.rb
20170214110202_create_reports.rb
20170217012631_add_reblog_of_id_foreign_key_to_statuses.rb
20170301222600_create_mutes.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
20170303212857_add_last_emailed_at_to_users.rb
20170304202101_add_type_to_media_attachments.rb
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
20170322021028_add_lowercase_index_to_accounts.rb More efficient single account retrieval (0.9ms vs 50ms before) 2017-03-22 03:21:38 +01:00
20170322143850_change_primary_key_to_bigint_on_statuses.rb
20170322162804_add_search_index_to_tags.rb
20170330021336_add_counter_caches.rb
20170330163835_create_imports.rb
20170330164118_add_attachment_data_to_imports.rb Add migration versions (#3574) 2017-06-05 02:43:02 +02:00
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
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
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
20170425202925_add_oembed_to_preview_cards.rb
20170506235850_create_conversations.rb Add conversation model, <ostatus:conversation /> (#3016) 2017-05-12 19:09:21 +02:00
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 Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
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 Filter languages with opt out (#3175) 2017-05-20 17:32:44 +02:00
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 Fix #3550 - Add all missing foreign keys (#3562) 2017-06-05 13:24:00 +02:00
20170606113804_change_tag_search_index_to_btree.rb Fix tag search order and not to use tsvector (#3611) 2017-06-06 16:07:06 +02:00
20170609145826_remove_default_language_from_statuses.rb Language detection defaults to nil (#3666) 2017-06-09 18:09:37 +02:00
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 Revocable sessions (#3616) 2017-06-23 18:50:53 +02:00
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 Bind web UI access tokens to sessions (#3940) 2017-06-25 23:51:32 +02:00